Avoid undefined behavior with huge regexp interval counts.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
01633a17
EZ
12013-12-12 Eli Zaretskii <eliz@gnu.org>
2
3 * term/w32-win.el (w32-handle-dropped-file):
4 * startup.el (normal-top-level):
5 * net/browse-url.el (browse-url-file-url):
6 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7 decode file names using 'utf-8' rather than
8 file-name-coding-system.
9
09faee72
FEG
102013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11
12 * progmodes/python.el (python-indent-context)
13 (python-indent-calculate-indentation): Fix auto-identation
14 behavior for comment blocks. (Bug#15916)
15
f4f84024 162013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e
NT
17
18 * progmodes/python.el (python-indent-calculate-indentation): When
19 determining indentation, don't treat "return", "pass", etc., as
20 operators when they are just string constituents. (Bug#15812)
21
d5ccb7be
JL
222013-12-12 Juri Linkov <juri@jurta.org>
23
24 * uniquify.el (uniquify-buffer-name-style): Change default to
25 `post-forward-angle-brackets'.
26
27 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
28 `uniquify'. Change default to `post-forward-angle-brackets'.
29
7b3f5679
GM
302013-12-11 Glenn Morris <rgm@gnu.org>
31
32 * emacs-lisp/package.el (finder-list-matches):
33 Autoload rather than falsely declaring.
34
f4fe8fdd
TZ
352013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
36
37 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
38 (eww-mode-map): Use them.
39
3c29190f
MR
402013-12-11 Martin Rudalics <rudalics@gmx.at>
41
42 * window.el (display-buffer-in-side-window): Fix doc-string
43 (Bug#16115).
44
0cd616a2
JB
452013-12-11 Juanma Barranquero <lekktu@gmail.com>
46
47 * vc/vc-git.el: Silence byte-compiler warnings.
48 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
49 (log-edit-set-header): Declare.
50
3ef8e0d1
EZ
512013-12-11 Eli Zaretskii <eliz@gnu.org>
52
53 * Makefile.in (custom-deps, finder-data): Run output file names
54 through unmsys--file-name. (Bug#16099)
55
afdadaf7
SM
562013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
57
7ae3ae39
SM
58 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
59 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
60
5b4f37ab
SM
61 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
62 instead of deleting the selection "by hand" (bug#16098).
63 Rely on insert-for-yank to yank rectangles.
64 (cua-highlight-region-shift-only): Mark obsolete.
65 (cua-mode): Don't enable/disable transient-mark-mode,
66 shift-select-mode (cua-mode works both with and without them), and
67 pc-selection-mode (obsolete).
68 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
69 (cua--deactivate-rectangle): Deactivate it.
70
4b72c12b
SM
71 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
72 (delete-selection-helper): Make sure yank starts at the top of the
73 deleted region.
74 (minibuffer-keyboard-quit): Use region-active-p.
75
e82af72d
SM
76 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
77
afdadaf7
SM
78 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
79 to `delete' (bug#16109).
80
ed4bc201
RS
812013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
82
83 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
84 info manual and show keybindings and set `:group' keyword.
85
bb8097b9
JL
862013-12-11 Juri Linkov <juri@jurta.org>
87
88 * delsel.el (delete-active-region): Let-bind `this-command'
89 to prevent `kill-region' from changing its original value.
90 (delete-selection-helper): Handle `overwrite-mode' for the type
91 `kill' exactly the same way as for the type `t'.
92 (insert-char, quoted-insert, reindent-then-newline-and-indent):
93 Support more commands. (Bug#13312)
94
c1916ff5
JL
952013-12-11 Juri Linkov <juri@jurta.org>
96
97 * bindings.el: Map kp keys to non-kp keys systematically
98 with basic modifiers control, meta and shift. (Bug#14397)
99
b68cf43c
KN
1002013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
101
102 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
103 "Close browser" menu items. Fix wrong function of "List
104 bookmarks".
105
4cc51eaf
JL
1062013-12-11 Juri Linkov <juri@jurta.org>
107
108 * misearch.el (multi-isearch-buffers): Set the value of
109 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
110 arg of isearch-forward to t.
111 (multi-isearch-buffers-regexp): Set the value of
112 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
113 arg of isearch-forward-regexp to t.
114 (multi-isearch-files): Set the value of
115 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
116 arg of isearch-forward to t.
117 (multi-isearch-files-regexp): Set the value of
118 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
119 arg of isearch-forward-regexp to t. (Bug#16035)
120
121 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
122 arg of isearch-forward to t.
123 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
124 arg of isearch-forward-regexp to t.
125 (dired-isearch-filter-filenames): Remove unnecessary check for
126 `dired-isearch-filenames'.
127
128 * comint.el (comint-history-isearch-backward):
129 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
130 (comint-history-isearch-backward-regexp):
131 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
132
ceac12b7
EZ
1332013-12-10 Eli Zaretskii <eliz@gnu.org>
134
135 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
136 unmsys--file-name. (Bug#16099)
137
5a565782
TZ
1382013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
139
140 * emacs-lisp/package.el (package-keyword-button-action): Remove
141 finder.el require dependency.
142
a81fc7ba
TZ
1432013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
144
145 * emacs-lisp/package.el: Require finder.el.
146 (describe-package-1): Add keyword buttons.
147 (package-make-button): New convenience function.
148 (package-keyword-button-action): Keyword button action using
149 `finder-list-matches'
150
6aaca951
EZ
1512013-12-09 Eli Zaretskii <eliz@gnu.org>
152
153 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
154 last commit.
155
a1099a91
MA
1562013-12-09 Michael Albinus <michael.albinus@gmx.de>
157
158 * autorevert.el (auto-revert-notify-add-watch): Do not handle
159 symlinked files.
160
8212d9c0
DG
1612013-12-09 Dmitry Gutov <dgutov@yandex.ru>
162
163 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
164 after the end of a percent literal.
165
8f48d131
CD
1662013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
167
168 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
169 caret-delimited strings (Bug#16079).
170
ff8c9764
DG
1712013-12-09 Dmitry Gutov <dgutov@yandex.ru>
172
173 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
174 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
175 `ruby-parse-partial' (Bug#16078).
176
d64643b4
LL
1772013-12-09 Leo Liu <sdl.web@gmail.com>
178
179 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
180
47e59c66
DG
1812013-12-08 Dmitry Gutov <dgutov@yandex.ru>
182
183 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
184 (js-switch-indent-offset): New option.
185 (js--proper-indentation): Use it. And handle the case when
186 "default" is actually a key in an object literal.
187 (js--same-line): New function.
188 (js--multi-line-declaration-indentation): Use it.
189 (js--indent-in-array-comp, js--array-comp-indentation): New
190 functions.
191 (js--proper-indentation): Use them, to handle array comprehension
192 continuations.
193
974ebc9c
LL
1942013-12-08 Leo Liu <sdl.web@gmail.com>
195
196 * progmodes/flymake.el (flymake-highlight-line): Re-write.
197 (flymake-make-overlay): Remove arg MOUSE-FACE.
198 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
199
27262e39
SM
2002013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
203 New function.
204 (redisplay-highlight-region-function): Use it.
205
206 * emulation/cua-base.el (cua--explicit-region-start)
207 (cua--last-region-shifted): Remove.
208 (cua--deactivate): Use deactivate-mark.
209 (cua--pre-command-handler-1): Don't handle shift-selection.
210 (cua--post-command-handler-1): Don't change transient-mark-mode.
211 (cua--select-keymaps): Use region-active-p rather than
212 cua--explicit-region-start or cua--last-region-shifted.
213 (cua-mode): Enable shift-select-mode.
214
6407822c
LL
2152013-12-08 Leo Liu <sdl.web@gmail.com>
216
27262e39
SM
217 * progmodes/flymake.el (flymake-popup-current-error-menu):
218 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
219 (flymake-posn-at-point-as-event, flymake-popup-menu)
220 (flymake-make-emacs-menu): Remove. (Bug#16077)
221
00a2b823
SM
2222013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
223
02033d49
SM
224 * rect.el (rectangle-mark-mode): Activate mark even if
225 transient-mark-mode is off (bug#16066).
226 (rectangle--highlight-for-redisplay): Fix boundary condition when point
227 is > mark and at bolp.
228
6f8dfccf
SM
229 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
230 (region-extract-function): Use it.
231 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
232 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
233 Delete functions.
234 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
235 kill-ring-save, kill-region, delete-char, delete-forward-char.
236 Ignore self-insert-iso.
237
238 * emulation/cua-gmrk.el (cua--init-global-mark):
239 Ignore `self-insert-iso'.
240
241 * emulation/cua-base.el (cua--prefix-copy-handler)
242 (cua--prefix-cut-handler): Rely on region-extract-function rather than
243 checking cua--rectangle.
244 (cua-delete-region): Use region-extract-function.
245 (cua-replace-region): Delete function.
246 (cua-copy-region, cua-cut-region): Obey region-extract-function.
247 (cua--pre-command-handler-1): Don't do the delete-selection thing.
248 (cua--self-insert-char-p): Ignore `self-insert-iso'.
249 (cua--init-keymaps): Don't remap delete-selection commands.
250 (cua-mode): Use delete-selection-mode instead of rolling our own
251 (bug#16085).
252
253 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
254 Obey region-extract-function.
255
00a2b823
SM
256 Make registers and delete-selection-mode work on rectangles.
257 * register.el (describe-register-1): Don't modify the register's value.
258 (copy-to-register): Obey region-extract-function.
259 * delsel.el (delete-active-region): Obey region-extract-function.
260
a92fa5f1
LL
2612013-12-08 Leo Liu <sdl.web@gmail.com>
262
263 * progmodes/flymake.el (flymake, flymake-error-bitmap)
264 (flymake-warning-bitmap, flymake-fringe-indicator-position)
265 (flymake-compilation-prevents-syntax-check)
266 (flymake-start-syntax-check-on-newline)
267 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
268 (flymake-start-syntax-check-on-find-file, flymake-log-level)
269 (flymake-xml-program, flymake-master-file-dirs)
270 (flymake-master-file-count-limit)
271 (flymake-allowed-file-name-masks): Relocate.
272 (flymake-makehash, flymake-float-time)
273 (flymake-replace-regexp-in-string, flymake-split-string)
274 (flymake-get-temp-dir): Remove.
275 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
276 (flymake-current-row, flymake-selected-frame)
277 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
278 related functions. (Bug#16077)
279
73c8ceea
BB
2802013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
281
282 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
283
faec28d9
TH
2842013-12-07 Tassilo Horn <tsdh@gnu.org>
285
286 * help-fns.el (describe-function-1): Use new advice-* functions
287 rather than old ad-* functions. Fix function type description and
288 source links for advised functions and subrs.
289
e330b646
LMI
2902013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
291
00a2b823 292 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 293
4803595d
MA
2942013-12-06 Michael Albinus <michael.albinus@gmx.de>
295
296 * progmodes/compile.el (compilation-start):
297 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
298
299 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
300 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
301
fa834a93
DG
3022013-12-06 Dmitry Gutov <dgutov@yandex.ru>
303
00a2b823
SM
304 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
305 Touch up the last change.
fa834a93 306
b2856a6f
LL
3072013-12-06 Leo Liu <sdl.web@gmail.com>
308
309 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
310 (inferior-octave-startup): Always use "octave> " for prompt.
311 (octave-goto-function-definition)
312 (octave-sync-function-file-names)
313 (octave-find-definition-default-filename): Remove redundant backquotes.
314
af67e79a
DG
3152013-12-06 Dmitry Gutov <dgutov@yandex.ru>
316
317 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
318 syntax for `?'.
319 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
320 where appropriate already.
321 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
322 end of method names (Bug#15874).
323
bf093209
JL
3242013-12-06 Juri Linkov <juri@jurta.org>
325
326 * isearch.el (isearch--saved-overriding-local-map):
327 New internal variable.
328 (isearch-mode): Set it to the initial value of
329 `overriding-terminal-local-map'.
330 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
331 with `isearch--saved-overriding-local-map'. (Bug#16035)
332
16588fad
DG
3332013-12-06 Dmitry Gutov <dgutov@yandex.ru>
334
00a2b823
SM
335 * progmodes/octave.el (inferior-octave-completion-table):
336 Turn back into function, use `completion-table-with-cache'
16588fad
DG
337 (Bug#11906). Update all references.
338
339 * minibuffer.el (completion-table-with-cache): New function.
340
bf4906d7
CD
3412013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
342
343 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
344
ff69c18f
TZ
3452013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
346
347 * net/eww.el (eww-current-source): New variable to store page
348 source.
349 (eww-display-html, eww-mode, eww-save-history)
350 (eww-restore-history): Use it.
351 (eww-view-source): New command to view page source.
352 Opportunistically uses `html-mode' to highlight the buffer.
353 (eww-mode-map): Install it.
354
b85eff45
MA
3552013-12-05 Michael Albinus <michael.albinus@gmx.de>
356
357 * net/dbus.el (dbus-unregister-service)
358 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
359 Fix docstring.
360 (dbus-unregister-service): Skip :serial entries in
361 `dbus-registered-objects-table'.
362 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
363
39eb0899
TZ
3642013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
365
366 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
367 around keywords with extra `split-string' argument.
368
456760a5
MR
3692013-12-04 Martin Rudalics <rudalics@gmx.at>
370
371 * windmove.el (windmove-other-window-loc): Handle navigation
372 between windows (excluding the minibuffer window - Bug#16017).
373
81961e4c
MA
3742013-12-04 Michael Albinus <michael.albinus@gmx.de>
375
376 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
377 in D-Bus type syntax.
378 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
379 preserve unibyte strings. (Bug#16048)
380
8497f938
SM
3812013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
384 Call force-mode-line-update is the proper buffer (bug#16042).
385
dda61916
DG
3862013-12-04 Dmitry Gutov <dgutov@yandex.ru>
387
388 * vc/log-edit.el (log-edit-add-new-comment): Rename to
389 `log-edit-remember-comment', make argument optional. Adjust all
390 callers.
391 (log-edit-mode): Add `log-edit-remember-comment' to
392 `kill-buffer-hook' locally.
393 (log-edit-kill-buffer): Don't remember comment explicitly since
394 the buffer is killed anyway.
395
c085e5b9
JL
3962013-12-04 Juri Linkov <juri@jurta.org>
397
398 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
399 add-hook and remove-hook for multi-buffer search. (Bug#16035)
400
d6f2380e
TR
4012013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
402
403 * notifications.el (notifications-close-notification): Call the
81961e4c 404 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 405
39fa32d6
KY
4062013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
407
408 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
409
9139632a
JL
4102013-12-03 Juri Linkov <juri@jurta.org>
411
412 * progmodes/compile.el (compilation-start): Rename window alist
413 entry `no-display-ok' to `allow-no-window'.
414
415 * simple.el (shell-command): Add window alist entry
416 `allow-no-window' to `display-buffer'.
417 (async-shell-command): Doc fix.
418
419 * window.el (display-buffer-no-window): New action function.
420 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
421
0f457a37
DG
4222013-12-02 Dmitry Gutov <dgutov@yandex.ru>
423
424 * vc/log-edit.el (log-edit-set-header): Extract from
425 `log-edit-toggle-header'.
426 (log-edit-extract-headers): Separate the summary, when extracted
427 from header, from the rest of the message with an empty line.
428
429 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
430 line, if present, to the Summary header.
431
0962f376
SM
4322013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
435 in current-buffer (bug#16029).
436
f345395c
HE
4372013-12-02 Helmut Eller <eller.helmut@gmail.com>
438
439 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
440 (debugger-mode-map): Bind it.
441 (debugger--backtrace-base): New function.
442 (debugger-eval-expression): Use it.
443 (debugger-frame-number): Skip local vars when present.
444 (debugger--locals-visible-p, debugger--insert-locals)
445 (debugger--show-locals, debugger--hide-locals): New functions.
446
a8a15d9d
MA
4472013-12-02 Michael Albinus <michael.albinus@gmx.de>
448
449 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
450 "LC_ALL".
451 (tramp-get-remote-locale): New defun.
452 (tramp-open-connection-setup-interactive-shell): Use it.
453
0518b057
LL
4542013-12-02 Leo Liu <sdl.web@gmail.com>
455
456 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
457
458 * progmodes/sh-script.el (sh-shell-process):
459 * progmodes/octave.el (inferior-octave-process-live-p):
460 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
461 (gdb-inferior-io-sentinel):
462 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
463
3adc9c6d
DG
4642013-12-02 Dmitry Gutov <dgutov@yandex.ru>
465
466 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
467 `save-selected-window' to `log-edit-hide-buf'. This makes
468 `log-edit-show-files' idempotent.
469 (log-edit-show-files): Mark the new window as dedicated.
470
47e8b74e
DG
4712013-12-02 Dmitry Gutov <dgutov@yandex.ru>
472
473 * vc/log-edit.el (log-edit-mode-map): Add binding for
474 `log-edit-kill-biffer'.
475 (log-edit-hide-buf): Add a FIXME comment.
476 (log-edit-add-new-comment): New function, extracted from
477 `log-edit-done'.
478 (log-edit-done, log-edit-add-to-changelog): Use it.
479 (log-edit-kill-buffer): New command.
480
1f6e1bb0
LMI
4812013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
482
483 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
484 instead of killing the buffer.
485
fb651d15
SM
4862013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
489
8feacce0
RS
4902013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
491
fb651d15 492 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 493 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
494 (eww-form-checkbox, eww-toggle-checkbox):
495 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
496
497 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
498 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
499 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
500 no :src tag was specified.
501
fb651d15 502 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
503 (eww-render): Handle `eww-use-external-browser-for-content-type'.
504 Use \\` to match beginning of string instead of ^.
505 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 506 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 507
177948a5
RS
508 * net/shr.el (shr-tag-video): Display content for video if no
509 poster is available.
eb2dd24d 510 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
511
512 * net/eww.el (eww-text-input-types): : New const.
513 (eww-process-text-input): Treat input types in
514 `eww-text-input-types' as text.
515
8feacce0
RS
516 * net/shr.el (shr-tag-table): Fix comment typo.
517
513562a1
LMI
5182013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
519
520 * net/eww.el (eww-follow-link): New command to avoid reloading
521 pages when we follow #target links (bug#15243).
de8a5633 522 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 523
9dd99753
KN
5242013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
525
526 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
527 forms.
528
3e9876de
LMI
5292013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
530
531 * net/eww.el (eww-restore-history): Update the window title after
532 moving in the history.
ab6dea82 533 (eww-current-dom): New variable used to save the current DOM.
3e9876de 534
52789f7f
DG
5352013-12-01 Dmitry Gutov <dgutov@yandex.ru>
536
537 * vc/log-edit.el (log-edit-mode-map): Add binding for
538 `log-edit-beginning-of-line'.
539 (log-edit-setup-add-author): New user option.
540 (log-edit-beginning-of-line): New command.
541 (log-edit): Move major mode call above the contents setup so that
542 the local variable values are already applied.
543 (log-edit): Only insert "Author: " when
544 `log-edit-setup-add-author' is non-nil.
545 (log-edit): When SETUP is non-nil, position point after ": "
546 instead of point-min.
547
2e6710c3
GM
5482013-12-01 Glenn Morris <rgm@gnu.org>
549
550 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
551
fadec31f
EZ
5522013-11-30 Eli Zaretskii <eliz@gnu.org>
553
554 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 555 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
556 visible. (Bug#16014)
557
10634b40 5582013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
559
560 Support resizing frames and windows pixelwise.
561 * cus-start.el (frame-resize-pixelwise)
562 (window-resize-pixelwise): New entries.
563 * emacs-lisp/debug.el (debug): Use window-total-height instead
564 of window-total-size.
565 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
566 * help.el (describe-bindings-internal): Call help-buffer
567 (temp-buffer-max-width): New option.
568 (resize-temp-buffer-window, help-window-setup)
569 (with-help-window): Rewrite.
570 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
571 dragging dividers.
572 * window.el (frame-char-size, window-min-pixel-height)
573 (window-safe-min-pixel-height, window-safe-min-pixel-width)
574 (window-min-pixel-width, window-safe-min-pixel-size)
575 (window-combination-p, window-safe-min-size)
576 (window-resizable-p, window--size-to-pixel)
577 (window--pixel-to-size, window--resize-apply-p): New functions.
578 (window-safe-min-height): Fix doc-string.
579 (window-size, window-min-size, window--min-size-1)
580 (window-sizable, window-sizable-p, window--min-delta-1)
581 (window-min-delta, window--max-delta-1, window-max-delta)
582 (window--resizable, window--resizable-p, window-resizable)
583 (window-full-height-p, window-full-width-p, window-at-side-p)
584 (window--in-direction-2, window-in-direction)
585 (window--resize-reset-1, window--resize-mini-window)
586 (window-resize, window-resize-no-error)
587 (window--resize-child-windows-normal)
588 (window--resize-child-windows, window--resize-siblings)
589 (window--resize-this-window, window--resize-root-window)
590 (window--resize-root-window-vertically)
591 (adjust-window-trailing-edge, enlarge-window, shrink-window)
592 (maximize-window, minimize-window, delete-window)
593 (quit-restore-window, window-split-min-size, split-window)
594 (balance-windows-2, balance-windows)
595 (balance-windows-area-adjust, balance-windows-area)
596 (window--state-get-1, window-state-get, window--state-put-1)
597 (window--state-put-2, window-state-put)
fb651d15
SM
598 (display-buffer-record-window, window--display-buffer):
599 Make functions handle pixelwise sizing of windows.
880e6158 600 (display-buffer--action-function-custom-type)
fb651d15
SM
601 (display-buffer-fallback-action):
602 Add display-buffer-in-previous-window.
880e6158
MR
603 (display-buffer-use-some-window): Resize window to height it had
604 before.
605 (fit-window-to-buffer-horizontally): New option.
606 (fit-frame-to-buffer): Describe new values.
607 (fit-frame-to-buffer-bottom-margin): Replace with
608 fit-frame-to-buffer-margins.
609 (window--sanitize-margin): New function.
610 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
611 using window-text-pixel-size.
612
f9b697dd
GM
6132013-11-30 Glenn Morris <rgm@gnu.org>
614
3e2fb4db
GM
615 * emacs-lisp/bytecomp.el (byte-compile-form):
616 Make the `interactive-only' warning like the `obsolete' one.
617 * comint.el (comint-run):
618 * files.el (insert-file-literally, insert-file):
619 * replace.el (replace-string, replace-regexp):
620 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
621 (goto-line, insert-buffer, next-line, previous-line):
622 Tweak `interactive-only' spec.
623
f9b697dd
GM
624 Stop keeping (most) generated cedet grammar files in the repository.
625 * Makefile.in (semantic): New.
626 (compile-main): Depend on semantic.
627
da048127
SM
6282013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
629
7784b779
SM
630 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
631 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
632
4e36a6a6
SM
633 * uniquify.el (uniquify-buffer-name-style): Change default.
634
635 * loadup.el: Preload "uniquify".
636
e0ba1308
SM
637 * time.el (display-time-update): Update all mode lines (bug#15999).
638
da048127
SM
639 * electric.el (electric-indent-mode): Enable by default.
640 * loadup.el: Preload "electric".
641
015b3b3e
BB
6422013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
643
644 * emacs-lisp/helpers.el (string-empty-p): New function.
645 (string-blank-p): New function.
646
7efb806d
AP
6472013-11-29 Andreas Politz <politza@hochschule-trier.de>
648
649 * imenu.el (imenu--index-alist): Add missing dot to the docstring
650 (Bug#14029).
651
c8f0efc2
AP
6522013-11-29 Andreas Politz <politza@fh-trier.de>
653 * imenu.el (imenu--subalist-p): Don't error on non-conses and
654 allow non-lambda lists as functions.
655 (imenu--in-alist): Don't recurse into non-subalists.
656 (imenu): Don't pass function itself as an argument (Bug#14029).
657
bd15d9d1
SM
6582013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * progmodes/python.el (python-mode-map): Remove binding for ":".
661 (python-indent-electric-colon): Remove command.
662 (python-indent-post-self-insert-function): Integrate the previous code
663 of python-indent-electric-colon. Make it conditional on
664 electric-indent-mode.
665 (python-mode): Add ?: to electric-indent-chars.
666 Move python-indent-post-self-insert-function to the end of
667 post-self-insert-hook.
668
1b10adb6
SM
6692013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
670
655ab9a3
SM
671 * doc-view.el (doc-view-goto-page): Update mode-line.
672
1b10adb6
SM
673 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
674
7e3bf78c
GM
6752013-11-27 Glenn Morris <rgm@gnu.org>
676
677 * international/charprop.el, international/uni-bidi.el:
678 * international/uni-category.el, international/uni-combining.el:
679 * international/uni-comment.el, international/uni-decimal.el:
680 * international/uni-decomposition.el, international/uni-digit.el:
681 * international/uni-lowercase.el, international/uni-mirrored.el:
682 * international/uni-name.el, international/uni-numeric.el:
683 * international/uni-old-name.el, international/uni-titlecase.el:
684 * international/uni-uppercase.el:
685 Remove generated files from VCS repository.
686
fb6a5d68
EZ
6872013-11-27 Eli Zaretskii <eliz@gnu.org>
688
689 * filenotify.el (file-notify-add-watch): Don't special-case
690 w32notify when computing the directory to watch.
691
cb6c95a3
GM
6922013-11-27 Glenn Morris <rgm@gnu.org>
693
20372d0c
GM
694 Make bootstrap without generated uni-*.el files possible again.
695 * loadup.el: Update command-line-args checking for unidata-gen.
696 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
697 * composite.el, international/characters.el:
698 Handle unicode tables being undefined.
699
52d6635f 700 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
701 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
702 (compile-main): Depend on leim rule.
703 (leim): New rule.
704 * loadup.el: Move leim-list.el to leim/ subdirectory.
705 * startup.el (normal-top-level): No more leim directory.
706 * international/ja-dic-cnv.el (skkdic-convert):
707 Disable version-control and autoloads in output files.
708 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
709 Disable version-control and autoloads in output files.
710 * leim/quail: Move here from ../leim.
711 * leim/quail/hangul.el (hangul-input-method-activate):
712 Add autoload cookie.
713 (generated-autoload-load-name): Set file-local value.
714 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
715 (generated-autoload-load-name): Set file-local value.
716
0449d6cd 7172013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
718
719 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
720 (eww-add-bookmark): ask confirmation when add to bookmarks
721 (eww-quit): ask confirmation before quitting eww
722
0e2c793f
EZ
7232013-11-26 Eli Zaretskii <eliz@gnu.org>
724
725 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
726 reading output from Diff on MS-Windows and MS-DOS.
727
447bdcb8
BB
7282013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
729
730 * emacs-lisp/helpers.el (string-reverse): New function.
731
5fbf6856
MA
7322013-11-26 Michael Albinus <michael.albinus@gmx.de>
733
734 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
735 names on MS Windows, like "/[::1]:".
736
737 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
738 SWITCHES.
739
624780f0
GM
7402013-11-26 Glenn Morris <rgm@gnu.org>
741
0bf3f0fa
GM
742 * progmodes/python.el (python-indent-guess-indent-offset):
743 Avoid corner-case error. (Bug#15975)
744
624780f0
GM
745 Preload leim-list.el. (Bug#4789)
746 * loadup.el: Load leim-list.el when found.
747 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
748
4301875e 7492013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
750
751 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
752
4301875e
BB
753 * emacs-lisp/helpers.el (string-join): New function.
754
1633a815 7552013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
756
757 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
758 Mark as obsolete and replace it with a symbol property.
759 (byte-compile-form): Use new 'interactive-only property.
760 * comint.el, files.el, replace.el, simple.el:
761 Apply new 'interactive-only properly.
762
00139435
MR
7632013-11-25 Martin Rudalics <rudalics@gmx.at>
764
765 * window.el (display-buffer-at-bottom): Make sure that
766 split-window-sensibly creates the new window on bottom
767 (Bug#15961).
768
5f5b128d
DK
7692013-11-23 David Kastrup <dak@gnu.org>
770
771 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
772 on the conflict markers when available.
773 (smerge--get-marker): New function.
774 (smerge-end-re, smerge-base-re): Add subgroup.
775
623891e5
SM
7762013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * frame.el (handle-focus-in, handle-focus-out): Add missing
779 interactive spec.
780
05ca27d8
MA
7812013-11-25 Michael Albinus <michael.albinus@gmx.de>
782
783 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
784 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
785
511fa0d3
SM
7862013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
787
e82ad66c
SM
788 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
789 (gomoku--last-pos): New var.
790 (gomoku--intangible-chars): New const.
791 (gomoku--intangible): New function.
792 (gomoku-mode): Use it. Derive from special-mode.
793 (gomoku-move-up): Adjust line count.
794 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
795 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
796 Simplify accordingly.
797
511fa0d3
SM
798 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
799 Remove blink-cursor code.
800 (blink-cursor-timer-function, blink-cursor-suspend):
801 Don't special-case GUIs.
802 (blink-cursor-mode): Use focus-in/out-hook.
803
6f20dd03
DG
8042013-11-25 Dmitry Gutov <dgutov@yandex.ru>
805
806 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
807 work when annotation is invisible (Bug#13886).
808
431dec31 8092013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
810
811 * json.el (json-alist-p): Only return non-nil if the alist has
812 simple keys (Bug#13518).
813
431dec31 8142013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
815
816 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
817 when control-statement is the first statement in a buffer (Bug#15956).
818
ee4f0261
DG
8192013-11-24 Dmitry Gutov <dgutov@yandex.ru>
820
821 * imenu.el (imenu-generic-skip-comments-and-strings):
822 New option (Bug#15560).
823 (imenu--generic-function): Use it.
824
c484f866
JS
8252013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
826
827 * minibuffer.el (completion--in-region-1): Scroll the correct
828 window. (Bug#13898)
829
41ce6f70
BB
8302013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
831
b55aea38
BB
832 * emacs-lisp/helpers.el: Add some string helpers.
833 (string-trim-left): Removes leading whitespace.
834 (string-trim-right): Removes trailing whitespace.
835 (string-trim): Removes leading and trailing whitespace.
836
41ce6f70
BB
837 * subr.el (string-suffix-p): New function.
838
3cfb6af3
GM
8392013-11-23 Glenn Morris <rgm@gnu.org>
840
841 * progmodes/python.el (python-shell-send-file):
842 Add option to delete file when done. (Bug#15647)
843 (python-shell-send-string, python-shell-send-region): Use it.
844
c27924b7
IS
8452013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
846
e1b01c7f
IS
847 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
848 to set buffer-read-only to t, never to nil. (Bug#15938)
849
c27924b7
IS
850 * textmodes/tex-mode.el (latex-noindent-environments):
851 Add safe-local-variable property. (Bug#15936)
852
17e0445b
GM
8532013-11-23 Glenn Morris <rgm@gnu.org>
854
92f78ea3
GM
855 * textmodes/enriched.el (enriched-mode): Doc fix.
856 * emacs-lisp/authors.el (authors-renamed-files-alist):
857 Add enriched.doc -> enriched.txt.
858
17e0445b
GM
859 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
860
965bb23a
LL
8612013-11-22 Leo Liu <sdl.web@gmail.com>
862
863 * progmodes/octave.el (inferior-octave-startup): Spit out error
864 message.
865
d19ffd64
BB
8662013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
867
868 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
869 Improve docstring.
15ba2182
BB
870 Add :version.
871 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 872
7a7567d2
LL
8732013-11-22 Leo Liu <sdl.web@gmail.com>
874
875 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
876 (Bug#15076)
8c09f64b
LL
877 (octave-help-mode): Adapt to change to help-mode-finish to use
878 derived-mode-p on 2013-09-17.
879 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 880 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 881
724bc265
LL
8822013-11-22 Leo Liu <sdl.web@gmail.com>
883
884 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
885 (inferior-octave-startup, inferior-octave-check-process)
886 (inferior-octave-track-window-width-change)
887 (octave-completion-at-point, octave-eldoc-function): Use it.
888 (octave-kill-process): Provide confirmation. (Bug#10564)
889
38637cca
LL
8902013-11-21 Leo Liu <sdl.web@gmail.com>
891
511fa0d3
SM
892 * progmodes/octave.el (octave-mode, inferior-octave-mode):
893 Fix obsolete variable comment-use-global-state.
38637cca 894
06e752b4
RS
8952013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
896
511fa0d3
SM
897 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
898 Add `octave-source-file'.
06e752b4
RS
899 (octave-source-file): New function. (Bug#15935)
900
0449d6cd 9012013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
902
903 * net/eww.el (eww-local-regex): New variable.
904 (eww): Use it to detect localhost and similar.
905
b6ffa04a
LL
9062013-11-21 Leo Liu <sdl.web@gmail.com>
907
908 Add completion for command `ag'.
2021a200
LL
909 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
910 (pcomplete/ag): New function.
911 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 912
d1a6bccc
SM
9132013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
916 (bug#14646).
917 (make-obsolete): Remove interactive spec.
918
2df10228
GM
9192013-11-21 Glenn Morris <rgm@gnu.org>
920
921 * startup.el (command-line-1): Use path-separator with -L.
922
86fd16b6
TZ
9232013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
924
925 * emacs-lisp/package.el (describe-package-1): Add package archive
926 to shown fields.
927
0449d6cd 9282013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
929
930 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
931 Change default to "# encoding: %s" to differentiate it from the
932 default Ruby encoding comment template.
933
dc7e8c17 9342013-11-20 era eriksson <era+emacsbugs@iki.fi>
935
936 * ses.el (ses-mode): Doc fix. (Bug#14748)
937
f0cfa5fe
LL
9382013-11-20 Leo Liu <sdl.web@gmail.com>
939
940 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
941
826dc7b6
DN
9422013-11-19 Dan Nicolaescu <dann@gnu.org>
943
944 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
945 when rebase or bisect are in progress.
946
a6e3a5d5
XF
9472013-11-19 Xue Fuqiao <xfq.free@gmail.com>
948
949 * filenotify.el (file-notify-add-watch): Doc fix.
950
f130cb76
LL
9512013-11-19 Leo Liu <sdl.web@gmail.com>
952
e0855d7d
LL
953 * obsolete/rcompile.el: Mark obsolete.
954
f130cb76 955 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
956 (compilation-goto-locus, compilation-find-file):
957 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
958 (Bug#13594)
959
960 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
961 new parameter no-display-ok. Return either a window or nil
962 but never a non-window value.
f130cb76 963
1f35d401
SM
9642013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
965
25158c76
SM
966 * electric.el (electric-indent-mode-map): Remove.
967 (electric-indent-mode): Change the global-map instead (bug#15915).
968
969 * textmodes/text-mode.el (paragraph-indent-minor-mode):
970 Use add-function.
1f35d401 971
9bc67baa
SM
9722013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
973
986545b5
SM
974 * emacs-lisp/nadvice.el (remove-function): Align with
975 add-function's behavior.
976
9bc67baa
SM
977 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
978 (gdb--string-regexp): New constant.
979 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
980 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
981 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
982 submatch 1.
983 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
984 Adjust use accordingly.
985 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
986
56cd894e
AS
9872013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
988
989 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
990 interpolation curlies (Bug#15914).
991
014690de
JB
9922013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
993
994 * calc/calc.el (calc-context-sensitive-enter): New variable.
995 (calc-enter): Use `calc-context-sensitive-enter'.
996
7e26a6c3
TZ
9972013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
998
999 * progmodes/cfengine.el: Version bump.
1000 (cfengine-cf-promises): New defcustom to locate cf-promises.
1001 (cfengine3-vartypes): Add new "data" type.
1002 (cfengine3--current-word): New function to get current name-like
1003 word or its bounds.
1004 (cfengine3--current-function): New function to look up a CFEngine
1005 function's definition.
1006 (cfengine3-format-function-docstring): New function.
1007 (cfengine3-make-syntax-cache): New function.
1008 (cfengine3-documentation-function): New function: ElDoc glue.
1009 (cfengine3-completion-function): New function: completion glue.
1010 (cfengine3-mode): Set `compile-command',
1011 `eldoc-documentation-function', and add to
1012 `completion-at-point-functions'.
1013
355204dd
MA
10142013-11-16 Michael Albinus <michael.albinus@gmx.de>
1015
1016 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1017 `tramp-current-connection'.
1018
43cebc23
DG
10192013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1022 nil/self/true/false with "end of symbol".
1023
a3fed6ff
BB
10242013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1025
1026 * subr.el (version-regexp-alist): Fix a typo.
1027
e675b3e4
MA
10282013-11-15 Michael Albinus <michael.albinus@gmx.de>
1029
1030 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1031 "en_US.utf8" and "LC_CTYPE" to "".
1032 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1033 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1034
a1f03e89
LL
10352013-11-15 Leo Liu <sdl.web@gmail.com>
1036
1037 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1038
5d9d9451
SM
10392013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1040
58362662
CS
1041 * progmodes/gud.el (ctl-x-map):
1042 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1043 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1044
6c1bf086
BB
10452013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1046
0d5363c4
BB
1047 * subr.el (version-regexp-alist):
1048 Recognize hg, svn and darcs versions as snapshot versions.
1049
4e9fc48c
BB
1050 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1051 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1052 (ruby--encoding-comment-required-p): Extract from
1053 `ruby-mode-set-encoding'.
1054 (ruby-mode-set-encoding): Add the ability to always insert an
1055 utf-8 encoding comment. Fix and simplify coding comment update
1056 logic.
6c1bf086 1057
2f7e72f8
MA
10582013-11-14 Michael Albinus <michael.albinus@gmx.de>
1059
1060 * net/tramp-gvfs.el (top): Run init code only when
1061 `tramp-gvfs-enabled' is not nil.
1062 (tramp-gvfs-enabled): Check also :system bus.
1063
0f137a73
SM
10642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 Sync with upstream verilog-mode revision 78e66ba.
1067 * progmodes/verilog-mode.el (verilog-end-of-defun)
1068 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1069 (verilog-get-end-of-defun): Remove unused argument.
1070 (verilog-comment-depth): Remove unused local `e'.
1071 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1072 Don't pass arg to verilog-get-end-of-defun.
1073
1c276bdd
GM
10742013-11-14 Glenn Morris <rgm@gnu.org>
1075
1076 * obsolete/assoc.el (aget): Prefix dynamic variable.
1077
1078 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1079
ff6ec81d
SM
10802013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * widget.el, hfy-cmap.el: Remove bogus package version number.
1083
75f777b6
GM
10842013-11-13 Glenn Morris <rgm@gnu.org>
1085
1d43dba1
GM
1086 * replace.el (replace-eval-replacement):
1087 Try to give more helpful error message. (Bug#15836)
1088
ff4b7bd5
GM
1089 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1090 (archive-7z-update): Avoid custom type mismatches.
1091
75f777b6
GM
1092 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1093
11151a06
MA
10942013-11-13 Michael Albinus <michael.albinus@gmx.de>
1095
e675b3e4 1096 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1097 address can be empty.
1098
1099 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1100 Accept nil SWITCHES.
1101 (tramp-gvfs-handle-write-region): Implement APPEND.
1102
7b08f97e
DG
11032013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1104
1105 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1106 binary "|" operator and closing block args delimiter.
1107 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1108 (ruby-smie--implicit-semi-p): Not after "|" operator.
1109 (ruby-smie--closing-pipe-p): New function.
1110 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1111 (ruby-smie-rules): Indent after "|".
1112
f201cf3a
GM
11132013-11-12 Glenn Morris <rgm@gnu.org>
1114
1115 * ps-print.el (ps-face-attribute-list):
1116 Handle anonymous faces. (Bug#15827)
1117
e6f759f9
MR
11182013-11-12 Martin Rudalics <rudalics@gmx.at>
1119
1120 * window.el (display-buffer-other-frame): Fix doc-string.
1121 (Bug#15868)
1122
ecda65d4
SM
11232013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1126
7ce8fcc3
MA
11272013-11-11 Michael Albinus <michael.albinus@gmx.de>
1128
1129 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1130 (tramp-sh-handle-file-local-copy): Don't write a message when
1131 saving temporary files.
1132
1133 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1134 both directories are remote.
1135 (tramp-smb-handle-directory-files): Do not return double entries.
1136 Do not expand full file names.
1137 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1138 (tramp-smb-handle-write-region): Implement APPEND.
1139 (tramp-smb-get-stat-capability): Fix a stupid bug.
1140
7818df11
SM
11412013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1144
608c2085
NT
11452013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1146
1147 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1148 throwing error over malformed let/let* (bug#15814).
1149
122a7e46
SM
11502013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * iswitchb.el (iswitchb-mode): Mark obsolete.
1153
766284d9
GM
11542013-11-11 Glenn Morris <rgm@gnu.org>
1155
1156 * international/uni-bidi.el, international/uni-category.el:
1157 * international/uni-name.el, international/uni-numeric.el:
1158 Regenerate for Unicode 6.3.0.
1159
7072a4e9
MA
11602013-11-10 Michael Albinus <michael.albinus@gmx.de>
1161
1162 * net/tramp.el (tramp-methods):
1163 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1164 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1165
c9df215b
AS
11662013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1167
608c2085
NT
1168 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1169 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1170
fa47d796
DG
11712013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1174 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1175 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1176 (ispell-complete-word): Call `ispell-lookup-words' with the value
1177 independent of `ispell-look-p'.
1178
1629a329
DG
11792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1182 Not after "||".
1183 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1184 their parent.
1185
ad16897c
SM
11862013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1189 (ruby-font-lock-keywords): Use backquote.
1190
ffa2df72
DG
11912013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1192
1193 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1194 (ruby-smie--backward-token): Only consider full-string matches.
1195
5b97b4c0
JD
11962013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1197
1198 * faces.el (describe-face): Add distant-foreground.
1199
71731c03
BB
12002013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1201
4e9fc48c
BB
1202 * progmodes/ruby-mode.el: Improve encoding comment handling.
1203 (ruby-encoding-magic-comment-style): New option.
1204 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1205 (ruby--insert-coding-comment, ruby--detect-encoding):
1206 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1207 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1208 to control the style of the auto-inserted encoding comment.
71731c03 1209
da3b328d
DG
12102013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1211
ad16897c
SM
1212 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1213 Use `smie-backward-sexp' with token argument.
da3b328d 1214
1606c2d3
MA
12152013-11-08 Michael Albinus <michael.albinus@gmx.de>
1216
1217 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1218 Remove instrumentation code.
1219
b0f4c320
GM
12202013-11-08 Glenn Morris <rgm@gnu.org>
1221
1222 * progmodes/autoconf.el (autoconf-mode):
1223 Tweak comment-start-skip. (Bug#15822)
1224
43668fb1
SM
12252013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1228 at bobp (bug#15826).
1229 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1230
daddb3fd
DH
12312013-11-08 Darren Hoo <darren.hoo@gmail.com>
1232
1233 * man.el (Man-start-calling): New macro, extracted from
1234 Man-getpage-in-background.
1235 (Man-getpage-in-background): Use it.
1236 (Man-update-manpage): New command.
1237 (Man-mode-map): Bind it.
1238
1f923923
DG
12392013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1242 of "and", "or", "&&" and "||".
1243 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1244 argument. Prohibit opening curly brace because it could only be a
1245 block opener in that position.
daddb3fd
DH
1246 (ruby-smie--forward-token, ruby-smie--backward-token):
1247 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1248 arguments.
1249 (ruby-smie--indent-to-stmt): New function, seeks the end of
1250 previous statement or beginning of buffer.
1251 (ruby-smie-rules): Use it.
1252 (ruby-smie-rules): Check if there's a ":" before a curly block
1253 opener candidate; if there is, it's a hash.
1254
3220d527
SM
12552013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1258 (cl--block-wrapper): Fix last accidental change.
1259
1eb1f9e0
MA
12602013-11-07 Michael Albinus <michael.albinus@gmx.de>
1261
1262 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1263 Instrument, in order to hunt failure on hydra.
1264
e6e4db3c
NT
12652013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1266
1267 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1268 malformed bindings form (bug#15814).
1269
b420ccfc
DG
12702013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1271
1272 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1273 "." compared to " @ ". This incidentally fixes some indentation
1274 examples with "do".
e6e4db3c 1275 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1276 (ruby-smie-grammar): New tokens: "and" and "or".
1277 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1278 Exclude "and" and "or". Remove "do" in order to work around token
1279 priorities.
1280 (ruby-smie-rules): Add all infix tokens. Handle the case of
1281 beginning-of-buffer.
b420ccfc 1282
6b4ac03e
GM
12832013-11-06 Glenn Morris <rgm@gnu.org>
1284
1285 * Makefile.in (setwins_almost, setwins_for_subdirs):
1286 Avoid accidental matches.
1287
5ca114d1
SM
12882013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * menu-bar.el (popup-menu): Use key-binding.
1291
f72552bd
EZ
12922013-11-06 Eli Zaretskii <eliz@gnu.org>
1293
1294 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1295 menus, support also the menus produced by minor modes.
1296 (Bug#15817)
1297
5d5c701e
LL
12982013-11-06 Leo Liu <sdl.web@gmail.com>
1299
1300 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1301 DISTANCE to bound the search. All uses changed. (Bug#15808)
1302
0a8b75e2
GM
13032013-11-06 Glenn Morris <rgm@gnu.org>
1304
1305 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1306 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1307 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1308
a35287ea
SM
13092013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1310
feca4e2d
SM
1311 * electric.el (electric-indent-just-newline): New command.
1312 (electric-indent-mode-map): New keymap.
1313 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1314 Re-add :group which weren't redundant.
1315
a35287ea
SM
1316 * electric.el (electric-indent-local-mode): New minor mode.
1317 (electric-indent-functions-without-reindent): New var.
1318 (electric-indent-post-self-insert-function): Use it.
1319 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1320
375761b2
EZ
13212013-11-05 Eli Zaretskii <eliz@gnu.org>
1322
9a6ad735
EZ
1323 * international/quail.el (quail-help): Be more explicit about the
1324 meaning of the labels shown on the keys. (Bug#15800)
1325
375761b2
EZ
1326 * startup.el (normal-top-level): Load the subdirs.el files before
1327 setting the locale environment. (Bug#15805)
1328
520a6e4a
SM
13292013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1330
0acfafef
SM
1331 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1332 via arguments so as to get the right ones (bug#15418).
1333
520a6e4a
SM
1334 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1335
15826261
MA
13362013-11-05 Michael Albinus <michael.albinus@gmx.de>
1337
1338 Fix problems found while writing a test suite.
1339
1340 * net/tramp-compat.el (tramp-compat-load): New defun.
1341 * net/tramp.el (tramp-handle-load): Use it.
1342
1343 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1344 "(numberp ok-if-already-exists)" correctly.
1345
d35f31a4
XF
13462013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1347
1348 * international/characters.el (glyphless-char-display-control):
1349 Add usage note.
1350
ae93bc74
BB
13512013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1352
520a6e4a
SM
1353 * progmodes/python.el (python-mode):
1354 * progmodes/scheme.el (scheme-mode):
1355 * progmodes/prolog.el (prolog-mode):
1356 * progmodes/ruby-mode.el (ruby-mode):
1357 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1358 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1359
0ade65b5
SM
13602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1361
a0d5f7a4
SM
1362 * rect.el (rectangle--highlight-for-redisplay):
1363 * emacs-lisp/smie.el (smie--next-indent-change):
1364 Use buffer-chars-modified-tick.
1365
c93f3f5c
SM
1366 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1367
0ade65b5
SM
1368 * electric.el (electric-indent-post-self-insert-function):
1369 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1370
ef9dd188
HE
13712013-11-04 Helmut Eller <eller.helmut@gmail.com>
1372
1373 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1374
306e7308
NT
13752013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1376
1377 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1378 (bug#15786).
1379
e5afbcac
SM
13802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1d01ad41
SM
1382 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1383
e5afbcac
SM
1384 * progmodes/python.el: Fix up last change.
1385 (python-shell--save-temp-file): New function.
1386 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1387 `string' comes from the current buffer.
1388 (python-shell-send-string-no-output): Remove `msg' arg.
1389 (python--use-fake-loc): New var.
1390 (python-shell-buffer-substring): Obey it. Try to compensate for the
1391 extra coding line added by python-shell--save-temp-file.
1392 (python-shell-send-region): Use python-shell--save-temp-file and
1393 python-shell-send-file directly. Add `nomain' argument.
1394 (python-shell-send-buffer): Use python-shell-send-region.
1395 (python-electric-pair-string-delimiter): New function.
1396 (python-mode): Use it.
1397
d0065ff1
EZ
13982013-11-04 Eli Zaretskii <eliz@gnu.org>
1399
1400 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1401 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1402 environment and decoding all of the default-directory's to here
1403 from command-line.
1404 (command-line): Decode also argv[0].
1405
1406 * loadup.el: Error out if default-directory is a multibyte string
1407 when we are dumping.
1408
1409 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1410
7397c587
TZ
14112013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1412
1413 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1414 (package-menu--print-info, package-menu--archive-predicate):
1415 Add Archive column to package list.
7397c587 1416
b27cc9fc
MA
14172013-11-04 Michael Albinus <michael.albinus@gmx.de>
1418
1419 Fix problems found while writing a test suite.
1420
1421 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1422 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1423 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1424 to nil when running original file name handler. Otherwise,
1425 there are problems with constructs like "$$FOO".
1426
1427 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1428 for `localname'.
1429
d8c4f18a
BB
14302013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1431
7b530552
BB
1432 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1433
1434 * subr.el (version<, version<=, version=):
1435 Update docstrings with information for snapshot versions.
1436
d8c4f18a
BB
1437 * helpers.el: New library for misc helper functions.
1438 (hash-table-keys): New function returning a list of hash keys.
1439 (hash-table-values): New function returning a list of hash values.
1440
dca01b09
DG
14412013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1442
1443 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1444 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1445
0a749fa0
MN
14462013-11-04 Michal Nazarewicz <mina86@mina86.com>
1447
1448 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1449 checking whether point is after a 1-letter word.
1450
14512013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1452
1453 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1454 Don't infloop when expanding region over `multiline' syntax-type that
1455 begins a line (bug#15778).
1456
4aca7145
SM
14572013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1460 Make it into a proper minor mode.
1461 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1462 (rectangle-mark-mode-map): New keymap.
1463 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1464
a0833f62
GM
14652013-11-04 Glenn Morris <rgm@gnu.org>
1466
1467 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1468
e61845c1
SM
14692013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1472 (ruby-smie-rules): Use smie-rule-parent instead.
1473
1474 * emacs-lisp/smie.el (smie-rule-parent): Always call
1475 smie-indent-virtual rather than only for hanging tokens.
1476 (smie--next-indent-change): New helper command.
1477
62942f89
GM
14782013-11-03 Glenn Morris <rgm@gnu.org>
1479
1480 * Makefile.in (abs_srcdir): Remove.
1481 (emacs): Unset EMACSLOADPATH.
1482
b0b9e592
GM
14832013-11-02 Glenn Morris <rgm@gnu.org>
1484
18ba6a33 1485 * Makefile.in (EMACS): Use a relative filename.
8061810d 1486 (abs_top_builddir): Remove.
18ba6a33
GM
1487 (custom-deps, finder-data, autoloads): Use --chdir.
1488
6a8b929e
GM
1489 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1490
c617f3d0
GM
1491 Use relative filenames in TAGS files.
1492 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1493 (lisptagsfiles4, TAGS): Use relative file names.
1494 (TAGS-LISP): Remove.
1495 (maintainer-clean): No more TAGS-LISP file.
1496
b0b9e592
GM
1497 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1498 (lisptagsfiles4): Use absolute filenames again.
1499 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1500 Remove all *loaddefs files, not just the first. Remove esh-groups.
1501 (maintainer-clean): Delete TAGS, TAGS-LISP.
1502
d1c0ea6a
BB
15032013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1504
e61845c1
SM
1505 * emacs-lisp/package.el (package-version-join):
1506 Recognize snapshot versions.
d1c0ea6a 1507
684d71c6
BB
15082013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1509
1510 * subr.el (version-regexp-alist): Add support for snapshot versions.
1511
3d42b968
DG
15122013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1513
e61845c1
SM
1514 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1515 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1516 skip over our direct parent if it's an assignment token..
1517 (ruby-smie-rules): Use it.
1518
7ffd3721
DG
15192013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1520
1521 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1522 unconditionally. Remove now unnecessary forward declarations.
1523 Remove XEmacs-specific setup.
1524 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1525 (ruby-font-lock-syntactic-keywords)
1526 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1527 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1528 (ruby-here-doc-end-syntax): Remove.
1529 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1530 defined as function.
1531
a3996a2e
BB
15322013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1533
1534 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1535
6f9260e8
BB
15362013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1537
1538 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1539 table and abbrev table, `define-derived-mode' does that for us
1540 anyway.
1541
6014de84
GM
15422013-11-01 Glenn Morris <rgm@gnu.org>
1543
1544 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1545 files is atomic for some time, so no parallel compilation issues).
1546
3c334c14
JD
15472013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1548
1549 * faces.el (face-x-resources): Add :distant-foreground.
1550 (region): Use :distant-foreground for gtk and ns.
1551
9bc236c8
TH
15522013-11-01 Tassilo Horn <tsdh@gnu.org>
1553
5246583b 1554 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1555 BibTeX.
1556 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1557 (reftex-locate-bibliography-files): Us it.
1558
d14c81ee
CB
15592013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1560
0e7690de
CB
1561 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1562 allow comments in pbm files.
1563
d14c81ee
CB
1564 * term/w32-win.el (dynamic-library-alist): Support newer versions
1565 of libjpeg starting with v7: look only for the DLL from the
1566 version against which Emacs was built.
ac1bf374 1567 Support versions of libpng beyond 1.4.x.
019c8218 1568 Support libtiff v4.x.
d14c81ee 1569
983d0df5
BB
15702013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1571
1572 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1573 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1574 Add property :safe.
1575 (ruby-deep-arglist): Add property :type.
1576
47f58d85
GM
15772013-10-31 Glenn Morris <rgm@gnu.org>
1578
1579 * Makefile.in (custom-deps, finder-data): No need to setq the target
1580 variables, we are in the right directory and the defaults work fine.
1581
4f85b479
GM
15822013-10-30 Glenn Morris <rgm@gnu.org>
1583
ca7dd4cd
GM
1584 * Makefile.in (autoloads): Do not use abs_lisp.
1585
4f85b479
GM
1586 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1587 `newline' does not respect `standard-output', so use `princ'.
1588
cf59e41c
AA
15892013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1590
1591 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1592 * buff-menu.el (Buffer-menu--unmark): New function.
1593 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1594
74cf04fb
GM
15952013-10-30 Glenn Morris <rgm@gnu.org>
1596
b040b60e
GM
1597 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1598
f53d3815
GM
1599 * emacs-lisp/package.el (lm-homepage): Declare.
1600
5413d873
GM
1601 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1602 Fix doc typos.
1603
cecedb36
GM
1604 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1605
74cf04fb
GM
1606 * Makefile.in (finder-data, autoloads, update-subdirs)
1607 (compile-main, compile-clean, compile-always, bootstrap-clean):
1608 Check return value of cd.
1609 (compile-calc): Remove.
1610
195ee2f0
SM
16112013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1612
ae4002ce
SM
1613 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1614
1615 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1616 (byte-compile-and-folded): New function.
1617 (=, <, >, <=, >=): Use it.
1618
1619 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1620 (path-separator, null-device, buffer-file-coding-system)
1621 (lpr-headers-switches): Check system-type before modifying them.
1622 (find-buffer-file-type-coding-system): Mark obsolete.
1623 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1624 find-file-not-found-set-buffer-file-coding-system.
1625 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1626 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1627 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1628 (w32-direct-print-region-helper, w32-direct-print-region-function)
1629 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1630 * startup.el (normal-top-level-add-subdirs-to-load-path):
1631 * ps-print.el (ps-print-region-function):
1632 * lpr.el (print-region-function): Use new name.
1633
53b39e89
SM
1634 * subr.el (custom-declare-variable-early): Remove function.
1635 (custom-declare-variable-list): Remove var.
1636 (error, user-error): Remove `while' loop.
1637 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1638 (user-emacs-directory-warning, locate-user-emacs-file):
1639 Move to files.el.
1640 * simple.el (read-quoted-char-radix, read-quoted-char):
1641 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1642 Move from subr.el.
1643 * custom.el (custom-declare-variable-list): Don't process
1644 custom-declare-variable-list.
1645
195ee2f0
SM
1646 * progmodes/python.el (python-shell-get-buffer): New function.
1647 (python-shell-get-process): Use it.
1648 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1649 Python which encoding was used. Don't split-string since we only care
1650 about the first line. Return the temp-file, if applicable.
1651 (python-shell-send-region): Tell compile.el how to turn locations in
1652 the temp-file into locations in the source buffer.
1653
7e3561ee
SM
16542013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1655
4c9797cb
SM
1656 * subr.el (undefined): Add missing behavior from the C code for
1657 unbound keys.
1658
3472b6c6
SM
1659 * rect.el: Use lexical-binding. Add new rectangular region support.
1660 (rectangle-mark): New command.
1661 (rectangle--region): New var.
1662 (deactivate-mark-hook): Reset rectangle--region.
1663 (rectangle--extract-region, rectangle--insert-for-yank)
1664 (rectangle--highlight-for-redisplay)
1665 (rectangle--unhighlight-for-redisplay): New functions.
1666 (region-extract-function, redisplay-unhighlight-region-function)
1667 (redisplay-highlight-region-function): Use them to handle
1668 rectangular region.
1669 * simple.el (region-extract-function): New var.
1670 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1671 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1672 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1673 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1674 (redisplay-unhighlight-region-function)
1675 (redisplay-highlight-region-function): New vars.
1676 (redisplay--update-region-highlight): New function.
1677 (pre-redisplay-function): Use it.
1678 (exchange-point-and-mark): Don't deactivate the mark before
1679 reactivate-it anyway.
1680 * comint.el (comint-kill-region): Remove yank-handler argument.
1681 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1682 (delete-char): Remove property, since it's now part of their
1683 default behavior.
1684 (self-insert-iso): Remove property since this command doesn't exist.
1685
7e3561ee
SM
1686 * emacs-lisp/package.el (package--download-one-archive)
1687 (describe-package-1): Don't query the user about final newline.
1688
b9bef71f
DC
16892013-10-29 Daniel Colascione <dancol@dancol.org>
1690
1691 * net/tramp.el (tramp-methods): Document new functionality.
1692 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1693 tramp-hostname-checker if method provides one instead of scanning
1694 argument list for "%h" to decide hostname acceptability.
1695
4efc33f0
MA
16962013-10-28 Michael Albinus <michael.albinus@gmx.de>
1697
1698 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1699 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1700 Handle COPY-CONTENTS. (Bug#15737)
1701
ed42a877
DU
17022013-10-28 Daiki Ueno <ueno@gnu.org>
1703
1704 * epa-file.el
7e3561ee
SM
1705 (epa-file-cache-passphrase-for-symmetric-encryption):
1706 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1707
18c9f8a2
XF
17082013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1709
7a4bc7be
XF
1710 * image.el (defimage):
1711 (image-load-path): Doc fixes.
18c9f8a2 1712
b1e8e010
AM
17132013-10-27 Alan Mackenzie <acm@muc.de>
1714
1715 Indent statements in macros following "##" correctly.
7e3561ee
SM
1716 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1717 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1718
73d40d1e 17192013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1720
1721 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1722
c8c605ac
DG
17232013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1726 after `=' is probably a new expression.
1727
ca7e59d4
RS
17282013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1729
1730 * man.el (man-imenu-title): New option.
1731 (Man-mode-map): Add menu. (Bug#15722)
1732 (Man-mode): Add imenu to menu.
1733
bae91342
DG
17342013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1735
1736 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1737 specific in what the first arg can be: a non-keyword word,
1738 string/regexp/percent literal opener, opening paren, or unary
1739 operator followed directly by word.
1740
eb89dc14
SM
17412013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1744 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1745 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1746 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1747 Remove vars, they do not apply any more.
1748 (prolog-mode-abbrev-table): Remove redundant declaration.
1749 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1750 (prolog-use-smie): Remove.
1751 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1752 supported by prolog-electric-if-then-else-flag.
1753 (prolog-mode-variables, prolog-menu): Use setq-local.
1754 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1755 Remove binding to `Backspace' since this key doesn't exist anyway.
1756 Remove bindings for electric self-inserting keys.
1757 (prog-mode): Assume it's defined.
1758 (prolog-post-self-insert): New function.
1759 (prolog-mode): Use it.
1760 (prolog-indent-line, prolog-indent-level)
1761 (prolog-find-indent-of-matching-paren)
1762 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1763 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1764 (prolog-goto-next-paren, prolog-in-string-or-comment)
1765 (prolog-tokenize, prolog-inside-mline-comment)
1766 (prolog-find-start-of-mline-comment): Remove functions.
1767 (prolog-find-unmatched-paren, prolog-clause-end)
1768 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1769 (prolog-electric--if-then-else): Rename from
1770 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1771 (prolog-tokenize-searchkey): Remove const.
1772 (prolog-clause-info): Use forward-sexp.
1773 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1774 (prolog-electric-if-then-else): Remove commands.
1775 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1776 for use in post-self-insert-hook.
1777 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1778 for use in post-self-insert-hook.
1779 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1780 for use in post-self-insert-hook.
1781 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1782 adapt it for use in post-self-insert-hook.
1783
3dab0a83
MA
17842013-10-25 Michael Albinus <michael.albinus@gmx.de>
1785
1786 * emacs-lisp/ert.el (ert-run-tests-interactively):
1787 Use `completing-read'. (Bug#9756)
1788
fbfd0e1d
EZ
17892013-10-25 Eli Zaretskii <eliz@gnu.org>
1790
1791 * simple.el (line-move): Call line-move-1 instead of
1792 line-move-visual when the current window hscroll is zero, but
1793 temporary-goal-column indicates we will need to hscroll as result
1794 of the movement. (Bug#15712)
1795
963ce636
DG
17962013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1797
1798 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1799 capitalization. Use :visible instead of :active.
1800 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1801 commands that are used with SMIE.
1802 (ruby-do-end-to-brace): Insert space after `{'.
1803
a0be396a
JA
18042013-10-25 John Anthony <john@jo.hnanthony.com>
1805
f73754c9
JA
1806 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1807
1808 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1809
f5bf77df
GM
18102013-10-25 Glenn Morris <rgm@gnu.org>
1811
1812 * vc/vc.el (vc-print-log): Don't use a working revision unless
1813 one was explicitly specified. (Bug#15322)
1814
37241f62
SM
18152013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * subr.el (add-to-list): Preserve return value in compiler-macro
1818 (bug#15692).
1819
6408a65d
RS
18202013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1821
1822 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1823 result. Ask user to retry using '-all' flag. (Bug#15701)
1824
71e3276b
SM
18252013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * emacs-lisp/smie.el: New smie-config system.
1828 (smie-config): New defcustom.
1829 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1830 (smie-config-guess, smie-config-save): New commands.
1831 (smie-config--mode-local, smie-config--buffer-local)
1832 (smie-config--trace, smie-config--modefuns): New vars.
1833 (smie-config--advice, smie-config--mode-hook)
1834 (smie-config--setter, smie-config-local, smie-config--get-trace)
1835 (smie-config--guess-value, smie-config--guess): New functions.
1836 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1837 text properties. Treat "string fence" syntax like string syntax.
1838
1839 * progmodes/sh-script.el (sh-use-smie): Change default.
1840 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1841 (sh-var-value): Simplify by CSE.
1842 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1843 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1844 is used.
1845 (sh-guess-basic-offset): Use cl-incf.
1846 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1847
60db713e
HE
18482013-10-24 Helmut Eller <eller.helmut@gmail.com>
1849
1850 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1851 (bug#15699).
1852
8b251df6
GM
18532013-10-24 Glenn Morris <rgm@gnu.org>
1854
1855 * Makefile.in (abs_top_srcdir): Remove.
1856 (update-subdirs): Use relative path to update-subdirs.
1857
6be0e22b
EZ
18582013-10-24 Eli Zaretskii <eliz@gnu.org>
1859
1860 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1861 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1862 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1863 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1864
50b5b857
MA
18652013-10-24 Michael Albinus <michael.albinus@gmx.de>
1866
1867 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1868 (ert-test-skipped): New error.
1869 (ert-skip, ert-stats-skipped): New defuns.
1870 (ert--skip-unless): New macro.
1871 (ert-test-skipped): New struct.
1872 (ert--run-test-debugger, ert-test-result-type-p)
1873 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1874 (ert--stats-set-test-and-result, ert-char-for-test-result)
1875 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1876 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1877 Handle skipped tests. (Bug#9803)
50b5b857 1878
6f317c2f
GM
18792013-10-24 Glenn Morris <rgm@gnu.org>
1880
e43817c1
GM
1881 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1882
6f317c2f
GM
1883 * Makefile.in (abs_top_srcdir): New, set by configure.
1884 (update-subdirs): Correct build-aux location.
1885
369bbf71
DG
18862013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1887
8297b2cf
DG
1888 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1889 value, whether we could auto-deduce `backend', or not.
1890
369bbf71
DG
1891 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1892 with parameters" example. Simplify the "is it block or is it
1893 hash" check, but also make it more thorough.
1894
d5f1282f
MF
18952013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1896
1897 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1898
bc4aaa31
SM
18992013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1900
03d44565
SM
1901 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1902 { if it is hanging.
1903
bc4aaa31
SM
1904 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1905 :before ";".
1906
f493ff19
JB
19072013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1908
1909 * progmodes/compile.el (compilation-directory-matcher)
1910 (compilation-page-delimiter):
1911 Support GNU Make-4.0 directory quoting. (Bug#15678)
1912
c744a3b9
LL
19132013-10-23 Leo Liu <sdl.web@gmail.com>
1914
1915 * ido.el (ido-tidy): Handle read-only text.
1916
b8e3b0a9
GM
19172013-10-23 Glenn Morris <rgm@gnu.org>
1918
1919 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1920 (emacs, compile, compile-always):
1921 Quote entities that might contain whitespace.
1922 (custom-deps, finder-data, autoloads): Use abs_lisp.
1923 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1924 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1925 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1926
ee4282cd
DG
19272013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1928
bc4aaa31
SM
1929 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1930 Use `following-char'.
7790a270 1931
ee4282cd 19322013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1933
1934 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1935 * progmodes/ruby-mode.el (ruby-smie-rules):
1936 Remove corresponding workaround. Fix indentation rule of ";" so it
1937 also applies when ";" is the parent.
1938
d40a46d7
XF
19392013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1940
1941 * frame.el (display-screens, display-pixel-height)
1942 (display-pixel-width, display-mm-width, display-backing-store)
1943 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1944 (display-visual-class, display-monitor-attributes-list):
1945 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1946
a0f143c9
MG
19472013-10-22 Michael Gauland <mikelygee@amuri.net>
1948
1949 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1950 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1951
18cacc39
DG
19522013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1953
1954 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1955 TODO. Add "." after " @ ".
1956 (ruby-smie--at-dot-call): New function. Checks if point at method
1957 call with explicit target.
1958 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1959 to the method name tokens when it precedes them.
1960 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1961 (ruby-smie-rules): Add rule for indentation before and after "."
1962 token.
1963
df74c4be
SM
19642013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1965
c6dab55f
SM
1966 * textmodes/remember.el (remember-diary-extract-entries):
1967 Avoid add-to-list.
1968
df74c4be
SM
1969 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1970 an instruction.
1971
8c1ae481
DG
19722013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1973
cfef16c0
DG
1974 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1975 (ruby-smie--implicit-semi-p): Add new operator chars.
1976
8c1ae481
DG
1977 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1978 `smie-down-list'.
1979 (ruby-smie--args-separator-p): Check that there's no newline
1980 between method call and its arguments.
1981
87756ca9
AM
19822013-10-20 Alan Mackenzie <acm@muc.de>
1983
1984 Allow comma separated lists after Java "implements".
1985
df74c4be
SM
1986 * progmodes/cc-engine.el (c-backward-over-enum-header):
1987 Parse commas.
87756ca9
AM
1988 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1989 from a "disallowed" list in enum fontification.
1990
c25f8957
JB
19912013-10-20 Johan Bockgård <bojohan@gnu.org>
1992
df74c4be 1993 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1994
c25f8957
JB
1995 * progmodes/verilog-mode.el (verilog-mode): Don't set
1996 comment-indent-function globally.
1997
aca5fcdc
JD
19982013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1999
5f161884
JD
2000 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2001 Move Info menu item creation to ns-win.el.
2002
2003 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2004 in menu bar.
2005
aca5fcdc
JD
2006 * menu-bar.el: Move GNUStep specific menus...
2007
2008 * term/ns-win.el (ns-initialize-window-system): ... to here.
2009
914b7f98
SM
20102013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * simple.el (newline): Only run post-self-insert-hook when
2013 called interactively.
2014
846ffe77
JB
20152013-10-19 Johan Bockgård <bojohan@gnu.org>
2016
2017 * icomplete.el (icomplete-with-completion-tables): Add :version.
2018
033f22dd
AM
20192013-10-19 Alan Mackenzie <acm@muc.de>
2020
2021 Fix fontification bugs with constructors and const.
2022
2023 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2024 CASE 2) Remove the check for the absence of a suffix construct
2025 after a function declaration with only types (no identifiers) in
2026 the parentheses. Also, accept a function declaration with just a
2027 type inside the parentheses, if this type can be positively
2028 recognised as such, or if a prefix keyword like "explicit" nails
2029 down the construct as a declaration.
2030
58ce0cfc
EZ
20312013-10-19 Eli Zaretskii <eliz@gnu.org>
2032
2033 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2034 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2035 the problem whereby selecting a menu item that leads to a
2036 minibuffer prompt moves the cursor out of the minibuffer window,
2037 making it hard to type at the prompt. Suggested by Stefan Monnier
2038 <monnier@iro.umontreal.ca>.
2039
50e28e7d
JD
20402013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2041
2042 * menu-bar.el: Don't make Services menu.
2043
7deed4bf
RS
20442013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2045
2046 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2047 (ffap-alist): Use ffap-c++-mode for c++-mode.
2048 (ffap-c++-path): New variable.
2049 (ffap-c++-mode): New function.
2050
7bcb455b
JVJ
20512013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2052
2053 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2054
f0ff1cd5
MA
20552013-10-18 Michael Albinus <michael.albinus@gmx.de>
2056
2057 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2058 introduced on 2013-09-08, which results in an infinite loop
2059 requesting a password.
2060
d64da4b7
GM
20612013-10-18 Glenn Morris <rgm@gnu.org>
2062
2063 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2064
ea89ff08
WS
20652013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2066
2067 Sync with upstream verilog-mode revision 1a6ecec7.
2068 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2069 (verilog-mode-release-date): Remove.
2070 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2071 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2072 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2073 (verilog-auto-tieoff-ignore-regexp)
2074 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2075 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2076 (verilog-signals-with, verilog-dir-cache-preserving)
2077 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2078 Doc fixes.
2079 (verilog-case-fold): New option, to control case folding in
2080 regexp searches, bug597.
2081 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2082 (verilog-string-match-fold, verilog-in-paren-count)
2083 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2084 (verilog-at-close-struct-p): New functions.
2085 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2086 (verilog-forward-sexp, verilog-set-auto-endcomments):
2087 (verilog-leap-to-case-head): Handle "unique0" case.
2088 (verilog-in-constraint-re): New constant.
2089 (verilog-keywords, verilog-type-font-keywords):
2090 Add some SystemVerilog 1800-2012 keywords.
2091 (verilog-label-be): Remove unimplemented argument, bug669.
2092 (verilog-batch-execute-func): When batch expanding clear
2093 create-lockfiles to prevent spurious user locks when a file ends
2094 up not changing.
2095 (verilog-calculate-indent, verilog-calc-1)
2096 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2097 (verilog-do-indent): Fix indentation of nested constraints
2098 and structures.
2099 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2100 (verilog-auto-inst-param): Use verilog-string-match-fold.
2101 (verilog-read-inst-module-matcher):
2102 Fix AUTOINST on gate primitives with #1.
2103 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2104 Reads all user-defined typed variables.
2105 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2106 (verilog-signals-matching-regexp)
2107 (verilog-signals-not-matching-regexp, verilog-auto):
2108 Respect verilog-case-fold.
2109 (verilog-diff-report): Fix line count.
2110 (verilog-auto-assign-modport): Remove unused local `modi'.
2111 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2112 better handle multidimensional arrays.
2113 Fix packed array ports misadding bit index in AUTOINST, bug637.
2114 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2115 to not double-declare existing outputs and inputs, respectively.
2116 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2117 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2118 (verilog-sk-uvm-component): New skeleton.
2119 (verilog-submit-bug-report): Add verilog-case-fold,
2120 remove verilog-mode-release-date.
2121
ef566920
BR
21222013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2123
2124 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2125 as before.
2126
29df8a0b
RT
21272013-10-18 Reuben Thomas <rrt@sc3d.org>
2128
2129 * textmodes/remember.el (remember): set buffer-offer-save in
2130 remember buffers (bug#13566).
2131
04a19a79
DC
21322013-10-18 Daniel Colascione <dancol@dancol.org>
2133
2134 When evaluating forms in ielm, direct standard output to ielm
2135 buffer. Add new ielm-return-for-effect command. Remove trailing
2136 whitespace throughout.
2137
2138 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2139 (ielm-return-for-effect): New command.
2140 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2141 (ielm-eval-input): Accept optional `for-effect' parameter.
2142 Bind `standard-output' to stream we create using
04a19a79
DC
2143 `ielm-standard-output-impl'. Suppress printing result when
2144 `for-effect'.
2145 (ielm-standard-output-impl): New function.
2146 (inferior-emacs-lisp-mode): Explain new features in documentation.
2147
4c1f03ef
MA
21482013-10-17 Michael Albinus <michael.albinus@gmx.de>
2149
2150 Code cleanup.
2151
2152 * net/tramp.el (tramp-debug-message): Do not check for connection
2153 buffer.
2154 (tramp-message): Use "vector" connection property.
2155
2156 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2157 (tramp-equal-remote, tramp-eshell-directory-change)
2158 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2159 (tramp-adb-handle-rename-file)
2160 * net/tramp-cmds.el (tramp-list-remote-buffers)
2161 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2162 * net/tramp-compat.el (tramp-compat-process-running-p)
2163 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2164 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2165 (tramp-gvfs-handle-rename-file)
2166 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2167 (tramp-set-file-uid-gid)
2168 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2169 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2170 of `file-remote-p'.
2171
2172 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2173 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2174 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2175 (tramp-gw-open-network-stream): Suppress unrelated traces.
2176
2177 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2178 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2180 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2181 connection property.
2182
2183 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2184 persistency file.
4c1f03ef
MA
2185
2186 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2187 Refactor common code. Improve debug message.
2188 (tramp-maybe-open-connection)
2189 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2190 connection buffer too early.
2191
2192 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2193 from `tramp-smb-actions-with-acl'.
2194 (tramp-smb-actions-set-acl): New defconst.
2195 (tramp-smb-handle-copy-directory)
2196 (tramp-smb-action-get-acl): New defun, renamed from
2197 `tramp-smb-action-with-acl'.
2198 (tramp-smb-action-set-acl): New defun.
2199 (tramp-smb-handle-set-file-acl): Rewrite.
2200
642eb8b6
GM
22012013-10-17 Glenn Morris <rgm@gnu.org>
2202
2203 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2204
85527ff3
SM
22052013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2206
921c1d62
SM
2207 * skeleton.el (skeleton-newline): Remove.
2208 (skeleton-internal-1): Use (insert "\n") instead.
2209
e333fb10
SM
2210 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2211 let-bindings.
2212
85527ff3
SM
2213 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2214 forward-sexp-function while we redo its job (bug#15613).
2215
c8722a97
JB
22162013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2217
2218 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2219 represented by lists.
2220
7a550bbb
GM
22212013-10-16 Glenn Morris <rgm@gnu.org>
2222
2223 * tmm.el (tmm--history): New dynamic variable.
2224 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2225
f19da8ad
MA
22262013-10-16 Michael Albinus <michael.albinus@gmx.de>
2227
2228 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2229 (tramp-smb-errors): Add error messages.
2230 (tramp-smb-actions-with-acl): New defconst.
2231 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2232 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2233 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2234 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2235 (tramp-smb-get-stat-capability): Fix tests.
2236
a24b9961
DK
22372013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2238
2239 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2240 (bug#15580).
2241
62ad85e6
GM
22422013-10-16 Glenn Morris <rgm@gnu.org>
2243
0283d6b0
GM
2244 * ansi-color.el (ansi-color-drop-regexp):
2245 Add 1J, 1K, 2K. (Bug#15617)
2246
012e2f9f
GM
2247 * files.el (hack-local-variables--warned-lexical): New.
2248 (hack-local-variables):
2249 Warn about misplaced lexical-binding. (Bug#15616)
2250
62ad85e6
GM
2251 * net/eww.el (eww-render): Always set eww-current-url,
2252 and update header line. (Bug#15622)
2253 (eww-display-html): ... Rather than just doing it here.
2254
6456c0ea
EZ
22552013-10-15 Eli Zaretskii <eliz@gnu.org>
2256
2257 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2258 menu navigations commands.
2259
c2de5588
DK
22602013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2261
2262 * progmodes/subword.el (subword-capitalize): Be careful when
2263 the search for [[:alpha:]] fails (bug#15580).
2264
ccd4a783
EZ
22652013-10-14 Eli Zaretskii <eliz@gnu.org>
2266
2267 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2268 to commands that scroll the menu.
2269
1eda1d8d
DG
22702013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2271
c2de5588
DK
2272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2273 Handle methods ending with `?' and `!'.
1eda1d8d 2274
e70181b8
AM
22752013-10-14 Akinori MUSHA <knu@iDaemons.org>
2276
2277 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2278 `japanese-cp932' to `cp932' to fix the problem where saving a
2279 source file written in Shift_JIS twice would end up having
2280 `coding: japanese-cp932' which Ruby could not recognize.
2281 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2282 in `ruby-encoding-map'.
2283 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2284 doesn't need to be explicitly declared in magic comment.
2285 (ruby-encoding-map): Add type declaration for better customize UI.
2286
9148ee92
GM
22872013-10-13 Glenn Morris <rgm@gnu.org>
2288
a5d38e34
GM
2289 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2290 Occur buffers are read-only. http://bugs.debian.org/720775
2291
9148ee92
GM
2292 * emacs-lisp/authors.el (authors-fixed-entries):
2293 Comment out old alpha stuff.
2294
a9ba094b
DG
22952013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2296
2297 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2298 to `after-save-hook' instead of `before-save-hook'.
2299 (ruby-mode-set-encoding): Use the value of coding system used to
2300 write the file. Call `basic-save-buffer-1' after modifying the
2301 buffer.
2302
7a068717
AM
23032013-10-13 Alan Mackenzie <acm@muc.de>
2304
2305 Fix indentation/fontification of Java enum with
2306 "implements"/generic.
2307
c2de5588
DK
2308 * progmodes/cc-engine.el (c-backward-over-enum-header):
2309 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2310 (c-inside-bracelist-p): Uses new function above.
2311 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2312 function above.
2313 (c-font-lock-enum-tail): Uses new function above.
2314
85b64f02
KH
23152013-10-13 Kenichi Handa <handa@gnu.org>
2316
2317 * international/mule-cmds.el (select-safe-coding-system): Remove a
2318 superfluous condition in chekcing whether a coding system is safe
2319 or not.
2320
fc7f501b
OK
23212013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2322
2323 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2324
fdcb2049
AP
23252013-10-13 Andreas Politz <politza@hochschule-trier.de>
2326
2327 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2328
8c106d17
GM
23292013-10-13 Glenn Morris <rgm@gnu.org>
2330
feab892d
GM
2331 * menu-bar.el (menu-bar-update-buffers):
2332 Unify Buffers menu prompt string. (Bug#15576)
2333
b22d0686
GM
2334 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2335
8c106d17
GM
2336 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2337 Add some entries.
2338 (authors-fixed-entries): Use accented form of name.
2339
1b12c797
SM
23402013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2341
650fa7bf 2342 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2343 method calls (bug#15594).
650fa7bf
SM
2344 (ruby-smie--args-separator-p): New function.
2345 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2346 recognize paren-free method calls.
2347
1b12c797
SM
2348 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2349 internals of universal-argument.
2350
029619c8
EZ
23512013-10-11 Eli Zaretskii <eliz@gnu.org>
2352
2353 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2354 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2355 dropped menu on second mouse click on the menu bar.
029619c8 2356
dd070019
SM
23572013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2360 (explicit-shell-file-name): Declare.
2361 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2362 (sh-completion-at-point-function): New function.
2363 (sh-mode): Use it.
2364 (sh-smie--keyword-p): Remove unused argument.
2365 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2366 vars.
2367 (sh-set-shell): Always setup SMIE, even if we use the
2368 old indentation code.
2369
0922b826
DG
23702013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2371
b68e2926
DG
2372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2373 cases of ? and =.
2374 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2375 predicate would return nil are almost non-existent.
2376 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2377
0922b826
DG
2378 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2379 cache also after commands that modify the buffer but don't move
2380 point.
2381
ee041f2d
SM
23822013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * env.el (substitute-env-in-file-name): New function.
2385 (substitute-env-vars): Extend the meaning of the optional arg.
2386
a5dab159
EZ
23872013-10-10 Eli Zaretskii <eliz@gnu.org>
2388
2389 * term/w32-win.el (dynamic-library-alist): Define separate lists
2390 of GIF DLLs for versions before and after 5.0.0 of giflib.
2391 (Bug#15531)
2392
0449d6cd 23932013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2394
2395 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2396 not locked, use last revision and current source as
2397 defaults. (Bug#15569)
2398
2f6e161e
MY
23992013-10-10 Masatake YAMATO <yamato@redhat.com>
2400
2401 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2402 menu-bar is hidden.
2403
6c8413fc
MR
24042013-10-10 Martin Rudalics <rudalics@gmx.at>
2405
2406 * window.el (pop-to-buffer-same-window): Fix doc-string.
2407 (Bug#15492)
2408
20832de0
SM
24092013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2412
c6e8ae77
AC
24132013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2414
2415 * calendar/icalendar.el (icalendar-import-file):
2416 Fix interactive spec. (Bug#15482)
2417
9db13baf
GM
24182013-10-10 Glenn Morris <rgm@gnu.org>
2419
9271e90e
GM
2420 * desktop.el (desktop-save): Default to saving in .emacs.d,
2421 since PWD is no longer in desktop-path by default. (Bug#15319)
2422
9db13baf
GM
2423 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2424 now that text mode has a menu with the same entry.
2425 (menu-bar-text-mode-auto-fill): Remove now unused func.
2426 * textmodes/text-mode.el (text-mode-map):
2427 Use auto-fill help text from menu-bar.el.
2428
a0be396a 24292013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2430
2431 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2432
2edcd3c7
JL
24332013-10-09 Juri Linkov <juri@jurta.org>
2434
2435 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2436 instead of this-command-keys. Add universal-argument-more and
2437 universal-argument-minus to the list of prefix commands. (Bug#15568)
2438
574411d0
GM
24392013-10-09 Glenn Morris <rgm@gnu.org>
2440
14afa541
GM
2441 * vc/vc-svn.el (vc-svn-create-repo):
2442 Expand paths in file://... url. (Bug#15446)
2443
574411d0
GM
2444 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2445 Add some entries.
2446 (authors): Remove unused local variables.
2447
79804536
SM
24482013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * profiler.el: Create a more coherent calltree from partial backtraces.
2451 (profiler-format): Hide the tail with `invisible' so that C-s can still
2452 find the hidden elements.
2453 (profiler-calltree-depth): Don't recurse so enthusiastically.
2454 (profiler-function-equal): New hash-table-test.
2455 (profiler-calltree-build-unified): New function.
2456 (profiler-calltree-build): Use it.
2457 (profiler-report-make-name-part): Indent the calltree less.
2458 (profiler-report-mode): Add visibility specs for profiler-format.
2459 (profiler-report-expand-entry, profiler-report-toggle-entry):
2460 Expand the whole subtree when provided with a prefix arg.
2461
238150c8
DG
24622013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2463
2464 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2465 iuwu-mod token.
2466 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2467 hanging iuwu-mod token.
2468 (ruby-smie--forward-token): Do not include a dot after a token in
2469 that token.
2470 (ruby-smie--backward-token): Likewise.
2471
b0949cc4
JL
24722013-10-08 Juri Linkov <juri@jurta.org>
2473
2474 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2475 to isearch-other-control-char.
2476 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2477 and isearch-post-command-hook to post-command-hook.
2478 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2479 and isearch-post-command-hook from post-command-hook.
2480 (isearch-unread-key-sequence)
2481 (isearch-reread-key-sequence-naturally)
2482 (isearch-lookup-scroll-key, isearch-other-control-char)
2483 (isearch-other-meta-char): Remove functions.
2484 (isearch-pre-command-hook, isearch-post-command-hook):
2485 New functions based on isearch-other-meta-char rewritten
2486 relying on the new behavior of overriding-terminal-local-map
2487 that does not replace the local keymaps any more. (Bug#15200)
2488
4ed77415
EZ
24892013-10-08 Eli Zaretskii <eliz@gnu.org>
2490
2491 Support menus on text-mode terminals.
2492 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2493 functionality.
2494
2495 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2496
c2de5588
DK
2497 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2498 Move here from mouse.el.
4ed77415
EZ
2499 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2500 and arrow keys.
2501 (tty-menu-navigation-map): New map for TTY menu navigation.
2502
2503 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2504
2505 * frame.el (display-mouse-p): Report text-mode mouse as available
2506 on w32.
2507 (display-popup-menus-p): Report availability if mouse is
2508 available; don't condition on window-system.
2509
2510 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2511 (tty-menu-selected-face): New faces.
2512
b7d5bd82
TL
25132013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2514
06286513
SM
2515 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2516 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2517 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2518 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2519 New constants.
2520 (lisp-mode-variables): New `elisp' argument.
2521 (emacs-lisp-mode): Use it.
2522 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2523 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2524
b7d5bd82
TL
2525 * indent.el: Use lexical-binding.
2526 (indent-region): Add progress reporter.
2527 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2528 last step.
2529 (indent--next-tab-stop): New function to implement this behavior.
2530 (tab-to-tab-stop, move-to-tab-stop): Use it.
2531
25322013-10-08 Teemu Likonen <tlikonen@iki.fi>
2533
2534 * indent.el (indent-rigidly--current-indentation): New function.
2535 (indent-rigidly-map): New var.
2536 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2537
5ea75d23
BG
25382013-10-08 Bastien Guerry <bzg@gnu.org>
2539
2540 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2541
cc5da1ec
SM
25422013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2543
8ffa1a0b
SM
2544 * progmodes/perl-mode.el: Use lexical-binding.
2545 Remove redundant :group args.
2546 (perl-nochange): Change default to be closer to other major modes's
2547 standard behavior.
2548 (perl-indent-line): Don't consider text on current line as a
2549 valid beginning of function from which to indent.
2550
f2223371
SM
2551 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2552 with more than one argument (bug#15538).
2553
44256060
SM
2554 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2555
cc5da1ec
SM
2556 * vc/pcvs.el: Use lexical-binding.
2557 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2558 environment of `eval'.
2559 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2560 than a list of expressions. Adjust callers.
2561 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2562
0ea1599d
DG
25632013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2564
2565 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2566 case of the dot in a chained method call being on the following line.
0ea1599d 2567
da3e5ebb
SM
25682013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2abb4e65
SM
2570 * electric.el (electric-indent-inhibit): New var.
2571 (electric-indent-post-self-insert-function): Use it.
2572 * progmodes/python.el (python-mode): Set it.
2573
d2e0e795
SM
2574 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2575 open braces.
2576
2577 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2578
bdc6b4c8
SM
2579 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2580 (css-mode): Use electric-indent-chars.
2581
da3e5ebb
SM
2582 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2583 (font-lock-beg, font-lock-end): Move before first use.
2584 (nxml-mode): Use syntax-propertize-function.
2585 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2586 (nxml-extend-after-change-region): Remove.
2587 * nxml/xmltok.el: Use lexical-binding.
2588 (xmltok-save): Use `declare'.
2589 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2590 * nxml/nxml-util.el: Use lexical-binding.
2591 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2592 Use `declare'.
2593 * nxml/nxml-ns.el: Use lexical-binding.
2594 (nxml-ns-save): Use `declare'.
2595 (nxml-ns-prefixes-for): Avoid add-to-list.
2596 * nxml/rng-match.el: Use lexical-binding.
2597 (rng--ipattern): Use cl-defstruct.
2598 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2599 (rng-cons-group-after, rng-subst-group-after)
2600 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2601 Use closures instead of `(lambda...).
2602
f8f91d5d
MA
26032013-10-07 Michael Albinus <michael.albinus@gmx.de>
2604
2605 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2606 of BEG and END.
2607
da3e5ebb
SM
2608 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2609 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2610 (tramp-gvfs-handle-insert-file-contents): Remove function.
2611
da3e5ebb
SM
2612 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2613 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2614
2615 * net/trampver.el: Update release number.
2616
7ccae3b1
SM
26172013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2618
55ca2c0d
SM
2619 * progmodes/compile.el (compilation-parse-errors):
2620 Use compilation--put-prop.
2621 (compilation--ensure-parse): Check compilation-multiline.
2622
731fc3ae
SM
2623 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2624
da3e5ebb
SM
2625 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2626 lexical-binding.
a5833280 2627
2e7ba2c2
SM
2628 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2629
7ccae3b1
SM
2630 * progmodes/ruby-mode.el: Fix recently added tests.
2631 (ruby-smie-grammar): Add - and +.
2632 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2633 (ruby-smie--backward-id): New functions.
2634 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2635 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2636 any more.
2637
85698d63
LL
26382013-10-07 Leo Liu <sdl.web@gmail.com>
2639
2640 * register.el (register-preview-delay)
2641 (register-preview-functions): New variables.
2642 (register-read-with-preview, register-preview)
2643 (register-describe-oneline): New functions.
2644 (point-to-register, window-configuration-to-register)
2645 (frame-configuration-to-register, jump-to-register)
2646 (number-to-register, view-register, insert-register)
2647 (copy-to-register, append-to-register, prepend-to-register)
2648 (copy-rectangle-to-register): Use register-read-with-preview to
2649 read register. (Bug#15525)
2650
3986af6c
DS
26512013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2652
2653 * net/network-stream.el (network-stream-open-starttls): Don't add
2654 --insecure if it's already present, because that gnutls-cli
2655 rejects getting that parameter twice.
2656
5cd9cda9
DG
26572013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2658
2659 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2660 keyword, too.
2661
da9ea6d9
DG
26622013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2663
2664 * newcomment.el (comment-use-global-state): Change default value
2665 to t, mark obsolete (Bug#15251).
2666 (comment-beginning): In addition to `comment-to-syntax', check the
2667 value of `comment-use-global-state'.
2668
34d1a133
SM
26692013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2672 (ruby-comment-column): Follow the global default, by default.
2673 (ruby-smie-grammar): Add assignment syntax.
2674 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2675 open-paren, a comma, or a \.
2676 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2677 and line continuations.
2678 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2679 followed by implicit semi-colons. Add rule for string concatenation
2680 and for indentation at BOB.
2681 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2682
2683 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2684 calling next-sexp, since next-token may have skipped chars which
2685 next-sexp doesn't know should be skipped!
2686
6f6ab820
LL
26872013-10-05 Leo Liu <sdl.web@gmail.com>
2688
34d1a133
SM
2689 * progmodes/octave.el (octave-send-region):
2690 Call compilation-forget-errors.
6f6ab820 2691
34ca0f4c
XF
26922013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2693
2694 * vc/vc-svn.el (vc-svn-find-admin-dir):
2695 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2696 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2697 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2698 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2699
a27c1b72
SM
27002013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2703
258ab3bc
SM
27042013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2705
2706 * subr.el (read-passwd): Hide chars even when called within a context
2707 where after-change-functions is disabled (bug#15501).
2708 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2709 until we removed ourself from overriding-terminal-local-map.
2710
939fb29c
LL
27112013-10-04 Leo Liu <sdl.web@gmail.com>
2712
258ab3bc
SM
2713 * progmodes/octave.el (inferior-octave-mode):
2714 Call compilation-forget-errors.
939fb29c 2715
63bd7f35
XF
27162013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2717
2718 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2719
9e6229fa
MA
27202013-10-04 Michael Albinus <michael.albinus@gmx.de>
2721
2722 * net/secrets.el (secrets-create-collection): Add optional
2723 argument ALIAS. Use proper Label keyword. Append ALIAS as
2724 dbus-call-method argument. (Bug#15516)
2725
1dab32a3
LL
27262013-10-04 Leo Liu <sdl.web@gmail.com>
2727
2728 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2729 (inferior-octave-compilation-font-lock-keywords): New variables.
2730 (compilation-error-regexp-alist)
2731 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2732 (inferior-octave-mode): Use compilation-shell-minor-mode.
2733
6cad7ba3
JS
27342013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2735
2736 * minibuffer.el (completion--replace): Be careful that `end' might be
2737 a marker.
2738
acbadd00
DU
27392013-10-03 Daiki Ueno <ueno@gnu.org>
2740
2741 Add support for package signature checking.
2742 * emacs-lisp/package.el (url-http-file-exists-p)
2743 (epg-make-context, epg-context-set-home-directory)
2744 (epg-verify-string, epg-context-result-for)
2745 (epg-signature-status, epg-signature-to-string)
2746 (epg-check-configuration, epg-configuration)
2747 (epg-import-keys-from-file): Declare.
2748 (package-check-signature): New user option.
2749 (package-unsigned-archives): New user option.
2750 (package-desc): Add `signed' field.
2751 (package-load-descriptor): Set `signed' field if .signed file exists.
2752 (package--archive-file-exists-p): New function.
2753 (package--check-signature): New function.
2754 (package-install-from-archive): Check package signature.
2755 (package--download-one-archive): Check archive signature.
2756 (package-delete): Remove .signed file.
2757 (package-import-keyring): New command.
2758 (package-refresh-contents): Import default keyring.
2759 (package-desc-status): Add "unsigned" status.
2760 (describe-package-1, package-menu--print-info)
2761 (package-menu-mark-delete, package-menu--find-upgrades)
2762 (package-menu--status-predicate): Support "unsigned" status.
2763
adf2aa61
SM
27642013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2767 the new compilation scheme using the new byte-codes.
2768
2769 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2770 (byte-pophandler): New byte codes.
2771 (byte-goto-ops): Adjust accordingly.
2772 (byte-compile--use-old-handlers): New var.
2773 (byte-compile-catch): Use new byte codes depending on
2774 byte-compile--use-old-handlers.
2775 (byte-compile-condition-case--old): Rename from
2776 byte-compile-condition-case.
2777 (byte-compile-condition-case--new): New function.
2778 (byte-compile-condition-case): New function that dispatches depending
2779 on byte-compile--use-old-handlers.
2780 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2781 when we can.
2782
2783 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2784 Optimize under `condition-case' and `catch' if
2785 byte-compile--use-old-handlers is nil.
2786 (disassemble-offset): Handle new bytecodes.
2787
328a8179
SM
27882013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * subr.el (error): Use `declare'.
2791 (decode-char, encode-char): Use advertised-calling-convention instead
2792 of the docstring to discourage use of the `restriction' arg.
2793
15a1e936
DU
27942013-10-03 Daiki Ueno <ueno@gnu.org>
2795
2796 * epg.el (epg-verify-file): Add a comment saying that it does not
2797 notify verification error as a return value nor a signal.
2798 (epg-verify-string): Ditto.
2799
376f862a
KR
28002013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2801
2802 * progmodes/compile.el (compilation-start): Try globbing the arg to
2803 `cd' (bug#15417).
2804
a2f93a5f
MA
28052013-10-02 Michael Albinus <michael.albinus@gmx.de>
2806
2807 Sync with Tramp 2.2.8.
2808
2809 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2810 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2811 * net/trampver.el: Update release number.
2812
0daa0804
JD
28132013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2814
2815 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2816 and default-process-coding-system for darwin only.
2817
abd1ae34
SM
28182013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2821
be4e325d
MH
28222013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2823
2824 * vc/vc-git.el (vc-git-grep): Disable pager.
2825
e9155c4a
DG
28262013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2827
494e898b
DG
2828 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2829 Use :url instead of :homepage, as per
2830 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2831
e9155c4a
DG
2832 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2833 non-nil, use `syntax-ppss' (Bug#15251).
2834
481a8e0f
RS
28352013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2836
be4e325d
MH
2837 * progmodes/octave.el (inferior-octave-startup-file):
2838 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2839
056453c6
DG
28402013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2841
be4e325d
MH
2842 * emacs-lisp/package.el (package-desc-from-define):
2843 Accept additional arguments as plist, convert them to an alist and store
2844 them in the `extras' slot.
056453c6
DG
2845 (package-generate-description-file): Convert extras alist back to
2846 plist and append to the `define-package' form arguments.
2847 (package--alist-to-plist): New function.
2848 (package--ac-desc): Add `extras' slot.
2849 (package--add-to-archive-contents): Check if the archive-contents
2850 vector is long enough, and if it is, pass its `extras' slot value
2851 to `package-desc-create'.
2852 (package-buffer-info): Call `lm-homepage', pass the returned value
2853 to `package-desc-from-define'.
2854 (describe-package-1): Render the homepage button (Bug#13291).
2855
be4e325d
MH
2856 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2857 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2858
832966e5
JD
28592013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2860
2861 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2862 and default-process-coding-system to utf-8-unix (Bug#15402).
2863
6cfe977d
XF
28642013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2865
2866 * subr.el (looking-back): Do not recommend using looking-back.
2867
38de11bd
AM
28682013-09-28 Alan Mackenzie <acm@muc.de>
2869
2870 Fix indentation/fontification of Java enum with "implements".
2871
2872 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2873 regexp which matches "implements", etc., in Java.
2874 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2875 specifier clauses coming after "enum".
2876 * progmodes/cc-fonts.el (c-font-lock-declarations)
2877 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2878 after "enum".
2879
1610938f
JD
28802013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2881
2882 * faces.el (region): Change ns_selection_color to
2883 ns_selection_fg_color, add ns_selection_bg_color.
2884
e090f499
LL
28852013-09-28 Leo Liu <sdl.web@gmail.com>
2886
4d2e94d1
LL
2887 * progmodes/octave.el (inferior-octave-completion-table)
2888 (inferior-octave-completion-at-point): Minor tweaks.
2889
e090f499
LL
2890 * textmodes/ispell.el (ispell-lookup-words): Rename from
2891 lookup-words. (Bug#15460)
2892 (lookup-words): Obsolete.
2893 (ispell-complete-word, ispell-command-loop): All uses changed.
2894
7e138a62
RS
28952013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2896
2897 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2898 (octave-mode-menu): Add octave-send-buffer.
2899 (octave-send-buffer): New function.
2900
5af5ed08
RS
29012013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2902
2903 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2904 octave-lookfor.
2905 (octave-mode-menu): Add octave-lookfor.
2906 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2907 octave-lookfor.
2908 (octave-lookfor): New function.
2909
3b7b2692
SM
29102013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * emacs-lisp/cl-macs.el:
2913 (cl--loop-destr-temps): Remove.
2914 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2915 its convention.
2916 (cl--loop-set-iterator-function): New function.
2917 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2918 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2919 Bind `it' with `let' instead of substituting it with `cl-subst'.
2920 (cl--unused-var-p): New function.
2921 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2922 Eliminate some unused variable warnings (bug#15326).
2923
529fb53f
TH
29242013-09-27 Tassilo Horn <tsdh@gnu.org>
2925
2926 * doc-view.el (doc-view-scale-reset): Rename from
2927 `doc-view-reset-zoom-level'.
2928 (doc-view-scale-adjust): New command.
2929 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2930 `doc-view-scale-adjust'.
2931
0550c95a
TH
29322013-09-26 Tassilo Horn <tsdh@gnu.org>
2933
2934 * doc-view.el (doc-view-reset-zoom-level): New command.
2935 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2936 zoom commands (bug#15466).
2937
6950f152
KH
29382013-09-26 Kenichi Handa <handa@gnu.org>
2939
2940 * international/quail.el (quail-help): Make it not a command.
2941
39587580
LL
29422013-09-26 Leo Liu <sdl.web@gmail.com>
2943
2944 * minibuffer.el (completion-all-sorted-completions): Make args
2945 optional as they are.
2946
00578659
DC
29472013-09-25 Daniel Colascione <dancol@dancol.org>
2948
2949 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2950 specs are and that they're not evaluated.
2951
0c173878
SS
29522013-09-24 Sam Steingold <sds@gnu.org>
2953
2954 * midnight.el (clean-buffer-list-kill-regexps)
2955 (clean-buffer-list-kill-buffer-names): Update for the new Man
2956 buffer naming which includes the object name.
2957
84998447
SM
29582013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2961 (eshell-parse-command, eshell-parse-pipeline): Use it since
2962 eshell-separate-commands requires a dynamic scoped var.
2963 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2964
33215353
LL
29652013-09-23 Leo Liu <sdl.web@gmail.com>
2966
2967 * autoinsert.el (auto-insert-alist): Make the value of
2968 lexical-binding match its file setting.
2969
57b16162
JB
29702013-09-23 Juanma Barranquero <lekktu@gmail.com>
2971
c8af4e67
JB
2972 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2973
57b16162
JB
2974 * autoarg.el (autoarg-kp-digit-argument):
2975 * electric.el (Electric-command-loop):
2976 * kmacro.el (kmacro-step-edit-insert):
2977 Do not set universal-argument-num-events.
2978
7186ba60
LL
29792013-09-22 Leo Liu <sdl.web@gmail.com>
2980
2981 * files.el (interpreter-mode-alist): Add octave.
2982
ece15004
AM
29832013-09-21 Alan Mackenzie <acm@muc.de>
2984
2985 C++: fontify identifier in declaration following "public:" correctly.
2986 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2987 to match "public", etc.
2988 (c-decl-prefix-re): Add ":" into the C++ value.
2989 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2990 bit. Add a check for a ":" preceded by "public", etc.
2991
75d83e22
EZ
29922013-09-21 Eli Zaretskii <eliz@gnu.org>
2993
2994 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2995 recognized by GDB 7.5 and later.
2996
d052d3bd
XF
29972013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2998
2999 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3000
31dca772
R
30012013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * subr.el (internal--call-interactively): New const.
3004 (called-interactively-p): Use it (bug#3984).
3005
98ccf24e
XF
30062013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3007
3008 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3009 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3010 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3011
c39cc7d1
SM
30122013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3015 (eshell-ls-orig-insert-directory): Remove.
3016 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3017 (eshell-ls-use-in-dired): Use advice-add/remove.
3018 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3019 Add `orig-fun' arg for use in :around advice.
3020 Make it check (redundantly) eshell-ls-use-in-dired.
3021
9a0289a2
GM
30222013-09-19 Glenn Morris <rgm@gnu.org>
3023
a2c501b8
GM
3024 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3025
c440407a
GM
3026 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3027
9a0289a2
GM
3028 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3029
85e05915
MA
30302013-09-19 Michael Albinus <michael.albinus@gmx.de>
3031
3032 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3033 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3034 (tramp-get-remote-python): New defuns.
3035 (tramp-get-remote-uid-with-perl)
3036 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3037 contributed by yary <not.com@gmail.com> (tiny change).
3038 (tramp-get-remote-uid-with-python)
3039 (tramp-get-remote-gid-with-python): New defuns. Python code
3040 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3041 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3042
ce503312
GM
30432013-09-19 Glenn Morris <rgm@gnu.org>
3044
f7544773
GM
3045 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3046
72fd2877
GM
3047 * eshell/em-unix.el (eshell-remove-entries):
3048 Rename argument to avoid name-clash with global `top-level'.
3049
336b5a56
GM
3050 * eshell/esh-proc.el (eshell-kill-process-function):
3051 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3052 (eshell-reset-after-proc): Remove unused arg `proc'.
3053
57a3a53d
GM
3054 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3055 (directory-files-and-attributes): Mark unused arg.
3056
3261d4af
GM
3057 * eshell/em-unix.el (eshell-remove-entries):
3058 Remove unused arg `path'. Update callers.
3059
8e51b5d0
GM
3060 * eshell/em-hist.el (eshell-hist-parse-arguments):
3061 Remove unused arg `silent'. Update callers.
3062
ce503312
GM
3063 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3064 Fix (f)boundp mix-up.
3065
3066 * eshell/em-smart.el (eshell-smart-scroll-window)
3067 (eshell-disable-after-change):
336b5a56 3068 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3069
ee3ce8a7
AM
30702013-09-18 Alan Mackenzie <acm@muc.de>
3071
3072 Fix fontification of type when followed by "const".
3073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3074 "known" types from fontification.
3075
ec9177ba
GM
30762013-09-18 Glenn Morris <rgm@gnu.org>
3077
7bb3e768
GM
3078 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3079 (chart-face-list): Drop Emacsen without display-color-p.
3080
5148da15
GM
3081 * net/eww.el (libxml-parse-html-region): Declare.
3082 (eww-display-html): Explicit error if no libxml2 support.
3083
2f68e157
GM
3084 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3085
9019d095
GM
3086 * image.el (image-type-from-buffer, image-multi-frame-p):
3087 Remove --without-x warning/error.
67645389 3088
5f30349b 3089 * mouse.el (mouse-yank-primary):
45069b2e 3090 * term.el (term-mouse-paste):
5f30349b
GM
3091 Reorder to silence --without-x compilation.
3092
cd8edbbe
GM
3093 * mpc.el (doc-view-mode): Silence --without-x compilation.
3094
8a78544e
GM
3095 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3096 Silence --without-x compilation.
3097
12679bfd
GM
3098 * progmodes/gud.el (gud-find-file, gud-mode):
3099 Silence --without-x compilation.
3100 (tooltip-mode): Declare.
30810a05 3101
f0047cb9
GM
3102 * wdired.el (dired-backup-overwrite): Remove declaration.
3103 (wdired-mode-map): Add doc string.
3104
e740f9d2
GM
3105 * custom.el (x-get-resource): Declare.
3106
92d77c89
GM
3107 * eshell/em-glob.el (ange-cache):
3108 * eshell/em-unix.el (ange-cache): Declare.
3109
76e69577
GM
3110 * faces.el (x-display-list, x-open-connection, x-get-resource):
3111 Declare.
7e58af4b
GM
3112
3113 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3114 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3115 Declare.
76e69577 3116
4bd4c0af 3117 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3118
ffb82dbd
GM
3119 * net/gnutls.el (gnutls-log-level): Declare.
3120
986ed135
GM
3121 * net/shr.el (image-size, image-animate): Declare.
3122
e740f9d2
GM
3123 * simple.el (font-info): Declare.
3124
d2f3e9f8
GM
3125 * subr.el (x-popup-dialog): Declare.
3126
047a1a4c
GM
3127 * term/common-win.el (x-select-enable-primary)
3128 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3129 Declare.
3130
f4a1d572
GM
3131 * term/ns-win.el (x-handle-args): Declare.
3132
e843de77
GM
3133 * term/x-win.el (x-select-enable-clipboard): Declare.
3134
5fa89513
GM
3135 * term/w32-win.el (create-default-fontset): Declare.
3136
38702b5b
GM
3137 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3138 Declare.
3139
e740f9d2
GM
3140 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3141 (fit-frame-to-buffer): Explicit error if --without-x.
3142 (mouse-autoselect-window-select): Silence compiler.
3143
49a053fc
GM
3144 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3145
3146 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3147 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3148 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3149 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3150 Remove unused local variables.
3151
3152 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3153
ec9177ba
GM
3154 * textmodes/two-column.el: Make 2C-split work for --without-x.
3155 (scroll-bar-columns): Autoload.
3156 (top-level): Require fringe when compiling.
3157
9f25cb77
LL
31582013-09-18 Leo Liu <sdl.web@gmail.com>
3159
3160 * subr.el (add-hook): Robustify to handle closure as well.
3161
2b42da98
GM
31622013-09-17 Glenn Morris <rgm@gnu.org>
3163
3164 * simple.el (messages-buffer-mode-map): Unbind "g".
3165
e8b66a6a
SM
31662013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3167
9c0ad4f7
SM
3168 * help-mode.el (help-mode-finish): Use derived-mode-p.
3169 Remove obsolete highlighting.
3170
7a806dfb
SM
3171 * play/life.el (life-mode): Use define-derived-mode. Derive from
3172 special-mode.
3173 (life): Let-bind inhibit-read-only.
3174 (life-setup): Avoid `setq'. Use `life-mode'.
3175
96dbf5a8
SM
3176 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3177 which should not be needed any more.
3178 (package-menu-refresh, package-menu-describe-package): Use user-error.
3179
e8b66a6a
SM
3180 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3181 (eshell-post-rewrite-command-hook): Make obsolete.
3182 (eshell-parse-command): Simplify.
3183 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3184 (eshell--cmd): Declare.
3185 (eshell-parse-pipeline): Remove unused var `final-p'.
3186 Pass a dynvar to eshell-post-rewrite-command-hook.
3187 Implement the new eshell-post-rewrite-command-function.
3188 (eshell-invoke-directly): Remove unused arg `input'.
3189 * eshell/esh-io.el (eshell-io-initialize):
3190 Use eshell-post-rewrite-command-function (bug#15399).
3191 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3192 adjust to new calling convention.
3193 (eshell-create-handles): Rename args to avoid clashing with dynvar
3194 `standard-output'.
3195
90582f05
GM
31962013-09-17 Glenn Morris <rgm@gnu.org>
3197
3198 * simple.el (messages-buffer-mode): New major mode.
3199 (messages-buffer): New function.
3200 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3201 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3202 (ert-run-test): Use `messages-buffer' function.
90582f05 3203 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3204 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3205 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3206
39eb0cb5 32072013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3208
3209 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3210
1f1e06e2
SM
3211 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3212
70568a90
SM
32132013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3214
504a0381
SM
3215 * icomplete.el (icomplete-in-buffer): New var.
3216 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3217 vars and replace them with functions.
3218 (icomplete-minibuffer-setup): Adjust accordingly.
3219 (icomplete--completion-table, icomplete--completion-predicate)
3220 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3221 New functions.
3222 (icomplete-forward-completions, icomplete-backward-completions)
3223 (icomplete-simple-completing-p, icomplete-exhibit)
3224 (icomplete-completions): Use them.
3225 (icomplete--in-region-buffer): New var.
3226 (icomplete--in-region-setup): New function.
3227 (icomplete-mode): Use it.
3228
70568a90
SM
3229 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3230 (bug#15379).
3231 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3232 return args and options.
3233 (eshell-eval-using-options): Use the new return value of
3234 eshell--do-opts to set the options's vars in their scope.
3235 (eshell--set-option): Rename from eshell-set-option.
3236 Add arg `opt-vals'.
3237 (eshell--process-option): Rename from eshell-process-option.
3238 Add arg `opt-vals'.
3239 (eshell--process-args): Use an `opt-vals' alist to store the options's
3240 values during their processing and return them additionally to the
3241 remaining args.
3242
578c21bc
DG
32432013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3244
3245 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3246 continuation character an operator, as far as indentation is
3247 concerned (Bug#15369).
3248
c089653d
MR
32492013-09-15 Martin Rudalics <rudalics@gmx.at>
3250
3251 * window.el (window--state-put-2): Don't process buffer state
3252 when buffer doesn't exist any more (Bug#15382).
3253
1e53bb4b
GM
32542013-09-15 Glenn Morris <rgm@gnu.org>
3255
30753242
GM
3256 * eshell/em-unix.el (eshell/rm):
3257 Make -f ignore missing files. (Bug#15373)
3258
1e53bb4b
GM
3259 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3260 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3261 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3262
0d8863b3
GM
32632013-09-14 Glenn Morris <rgm@gnu.org>
3264
3265 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3266
d3fc6549
GM
32672013-09-13 Glenn Morris <rgm@gnu.org>
3268
3269 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3270 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3271
fcd42c11
DA
32722013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3273
3274 * frame.el (x-focus-frame): Mark as declared in frame.c.
3275
7830899f
SM
32762013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * ls-lisp.el: Use advice-add.
3279 (original-insert-directory): Remove.
3280 (ls-lisp--insert-directory): Rename from insert-directory; add
3281 `orig-fun' argument.
3282 (insert-directory): Advise.
3283
84387cd2
EZ
32842013-09-13 Eli Zaretskii <eliz@gnu.org>
3285
3286 * term.el (term-emulate-terminal): Decode the command string
3287 before passing it to term-command-hook. (Bug#15337)
3288
35ffc6ba
GM
32892013-09-13 Glenn Morris <rgm@gnu.org>
3290
5c3f9bcc
GM
3291 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3292
2ada368a
GM
3293 * eshell/esh-ext.el (eshell-search-path): Declare.
3294
fcef2e13
GM
3295 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3296 Otherwise an error occurs if eshell-dirs module not loaded.
3297
35ffc6ba
GM
3298 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3299
35c3d36e
MA
33002013-09-13 Michael Albinus <michael.albinus@gmx.de>
3301
3302 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3303 `tramp-check-proper-host'. Check for a valid method name.
3304
3305 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3306 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3307 * net/tramp-sh.el (tramp-maybe-open-connection):
3308 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3309
3310 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3311 also for hash values.
3312
ae5e4c48
SM
33132013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3314
379add74
SM
3315 * term/ns-win.el (parameters): Don't declare as dynamic.
3316 (before-make-frame-hook): Don't add ineffective function.
3317
ae5e4c48
SM
3318 * eshell/*.el: Use lexical-binding (bug#15231).
3319
b5623270
KH
33202013-09-12 Kenichi Handa <handa@gnu.org>
3321
ae5e4c48 3322 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3323
30213927
GM
33242013-09-12 Glenn Morris <rgm@gnu.org>
3325
be94d713 3326 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3327 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3328
44915370
GM
3329 * subr.el (do-after-load-evaluation): Also give compiler warnings
3330 when obsolete files are used (except by obsolete files).
3331
a6ae021f
GM
3332 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3333 in the status output, assume `filename' is the first. (Bug#15322)
3334
40e64f0c
GM
3335 * vc/vc.el (vc-deduce-fileset): Doc fix.
3336
16d9f896
GM
3337 * calc/calc-help.el (Info-goto-node):
3338 * progmodes/cperl-mode.el (Info-find-node):
3339 * vc/ediff.el (Info-goto-node): Update declarations.
3340
dea01c6e
GM
3341 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3342
759880bf 3343 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3344 (vc-bzr-pull): Require vc-dispatcher.
3345 * vc/vc-git.el (vc-compilation-mode): Declare.
3346 (vc-git-pull): Require vc-dispatcher.
3347
08d66420
GM
3348 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3349
30b626e9
GM
3350 * progmodes/octave.el (help-button-action): Declare.
3351
8c05cb10
GM
3352 * shell.el (shell-directory-tracker): Output error as a message
3353 rather than just returning it as a string.
3354 (shell-process-pushd): Remove useless use of message.
3355
30213927
GM
3356 * dframe.el (dframe-timer-fn):
3357 * files.el (dir-locals-read-from-file):
3358 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3359 (mpc-format):
3360 * reveal.el (reveal-post-command):
3361 * saveplace.el (load-save-place-alist-from-file):
3362 * shell.el (shell-resync-dirs):
3363 * w32-common-fns.el (x-get-selection-value):
3364 * emacs-lisp/copyright.el (copyright-find-copyright):
3365 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3366 * emulation/tpu-edt.el (tpu-copy-keyfile):
3367 * play/bubbles.el (bubbles--mark-neighbourhood):
3368 * progmodes/executable.el
3369 (executable-make-buffer-file-executable-if-script-p):
3370 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3371
d3b049e6
SM
33722013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3373
170266d0
SM
3374 Cleanup Eshell to rely less on dynamic scoping.
3375 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3376 last-value, and ext-command here. Bind `args' closer to `body'.
3377 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3378 (eshell--args): Declare new dynamic var.
3379 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3380 last-value, and ext-command. Pass `args' to `body'.
3381 (eshell-process-args): Bind eshell--args.
3382 (eshell-set-option): Use eshell--args.
3383 * eshell/eshell.el (eshell): Use derived-mode-p.
3384 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3385 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3386 (eshell-glob-function): Declare.
3387 * eshell/esh-util.el: Require cl-lib.
3388 (eshell-read-hosts-file): Avoid add-to-list.
3389 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3390 `err'.
3391 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3392 Declare.
3393 (eshell/diff): Remove unused var `err'.
3394 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3395 `killflag'.
3396 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3397 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3398 first use.
3399 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3400 Move declaration before first use.
3401 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3402 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3403 rely on cl-return.
3404
56834f3b
GM
34052013-09-12 Glenn Morris <rgm@gnu.org>
3406
3407 * term/ns-win.el (global-map): Remove binding for ispell-next,
3408 deleted 1999-05-29. (Bug#15357)
3409
5c91a2b8
GM
34102013-09-11 Glenn Morris <rgm@gnu.org>
3411
da712f22
GM
3412 * echistory.el (electric-command-history): Remove call to deleted func.
3413
512e4cdc
GM
3414 * play/landmark.el (landmark-mode): Fix typos.
3415
d3506ca5
GM
3416 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3417 Check cvs-sort-ignore-file is bound.
3418
5c91a2b8
GM
3419 * savehist.el: No need for cl when compiling on Emacs.
3420
feeff482
SM
34212013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3422
656bd483
SM
3423 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3424 (bug#15338).
d3b049e6
SM
3425 (eshell-self-insert-command, eshell-send-invisible):
3426 Remove unused argument.
656bd483
SM
3427 (eshell-handle-control-codes): Remove unused var `orig'.
3428 Avoid delete-backward-char.
3429
feeff482
SM
3430 * files.el (set-auto-mode): Simplify a bit further.
3431
2a08047a
GM
34322013-09-11 Glenn Morris <rgm@gnu.org>
3433
3434 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3435 (set-auto-mode): Don't regexp-quote elements.
3436 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3437 * progmodes/cc-mode.el (interpreter-mode-alist):
3438 * progmodes/ruby-mode.el (interpreter-mode-alist):
3439 Revert previous change.
3440
34675540
SM
34412013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3442
1b3b87df
SM
3443 * play/snake.el (snake-mode):
3444 * play/mpuz.el (mpuz-mode):
3445 * play/landmark.el (lm-mode):
3446 * play/blackbox.el (blackbox-mode):
3447 * play/5x5.el (5x5-mode):
3448 * obsolete/options.el (Edit-options-mode):
3449 * net/quickurl.el (quickurl-list-mode):
3450 * net/newst-treeview.el (newsticker-treeview-mode):
3451 * mail/rmailsum.el (rmail-summary-mode):
3452 * mail/mspools.el (mspools-mode):
3453 * locate.el (locate-mode):
3454 * ibuffer.el (ibuffer-mode):
3455 * emulation/ws-mode.el (wordstar-mode):
3456 * emacs-lisp/debug.el (debugger-mode):
3457 * array.el (array-mode):
3458 * net/eudc.el (eudc-mode): Use define-derived-mode.
3459 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3460 Move initialization into declaration.
3461 (mairix-searches-mode): Use define-derived-mode.
3462 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3463 (eudc-edit-hotlist): Use dolist.
3464 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3465 (Man-mode): Use define-derived-mode.
3466 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3467 (Info-edit-mode): Use define-derived-mode.
3468 (Info-cease-edit): Use Info-mode.
3469 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3470 into declaration.
3471 (eshell-mode): Use define-derived-mode.
3472 * chistory.el (command-history-mode-map): Rename from
3473 command-history-map.
3474 (command-history-mode): Use define-derived-mode.
da712f22 3475 (Command-history-setup): Remove function.
1b3b87df
SM
3476 * calc/calc.el (calc-trail-mode-map): New var.
3477 (calc-trail-mode): Use define-derived-mode.
3478 (calc-trail-buffer): Set calc-main-buffer manually.
3479 * bookmark.el (bookmark-insert-annotation): New function.
3480 (bookmark-edit-annotation): Use it.
3481 (bookmark-edit-annotation-mode): Make it a proper major mode.
3482 (bookmark-send-edited-annotation): Use derived-mode-p.
3483 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3484 closer to its ideal place. Use \' to match EOS.
3485
34675540
SM
3486 * profiler.el (profiler-calltree-find): Use function-equal.
3487
6a5c15d9
GM
34882013-09-10 Glenn Morris <rgm@gnu.org>
3489
1af4c220
GM
3490 * files.el (interpreter-mode-alist): Convert to regexps.
3491 (set-auto-mode): Adapt for this. (Bug#15306)
3492 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3493 Comment out unused variable.
3494 * progmodes/cc-mode.el (interpreter-mode-alist):
3495 * progmodes/python.el (interpreter-mode-alist):
3496 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3497 * progmodes/sh-script.el (sh-set-shell):
3498 No longer use interpreter-mode-alist to get list of shells.
3499
6a5c15d9
GM
3500 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3501
8c27f5ff
SM
35022013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3503
02ef6c1a 3504 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3505 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3506 Bind switch-frame explicitly. Replace universal-argument-minus with
3507 a conditional binding.
3508 (universal-argument-num-events, saved-overriding-map): Remove.
3509 (restore-overriding-map): Remove.
3510 (universal-argument--mode): Rename from save&set-overriding-map,
3511 and rewrite.
3512 (universal-argument, universal-argument-more, negative-argument)
3513 (digit-argument): Adjust accordingly.
3514 (universal-argument-minus): Remove.
3515 (universal-argument-other-key): Remove.
3516
8c27f5ff
SM
3517 * subr.el (with-demoted-errors): Add `format' argument.
3518
6480194c
MA
35192013-09-10 Michael Albinus <michael.albinus@gmx.de>
3520
3521 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3522 `tramp-cleanup-connection'.
3523
3524 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3525 parameters KEEP-DEBUG and KEEP-PASSWORD.
3526
3527 * net/tramp.el (tramp-file-name-handler):
3528 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3529 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3530 (tramp-maybe-open-connection):
8c27f5ff
SM
3531 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3532 Use `tramp-cleanup-connection'.
6480194c 3533
8c27f5ff
SM
3534 * net/tramp-sh.el (tramp-maybe-open-connection):
3535 Catch 'uname-changed inside the progress reporter.
6480194c 3536
e5e916d8
GM
35372013-09-10 Glenn Morris <rgm@gnu.org>
3538
9a2c9b47
GM
3539 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3540
e5e916d8
GM
3541 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3542 returns "alternate access method" in mode (eg "-rw-r--r--.").
3543
144e38fe
GM
35442013-09-08 Glenn Morris <rgm@gnu.org>
3545
3546 * saveplace.el (load-save-place-alist-from-file):
3547 Demote errors. (Bug#15305)
3548
af9ff9e8
MA
35492013-09-08 Michael Albinus <michael.albinus@gmx.de>
3550
3551 Improve compatibility with older Emacsen, and XEmacs.
3552
3553 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3554 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3555 (with-tramp-progress-reporter): Do not let-bind `result'.
3556 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3557 (tramp-handle-make-auto-save-file-name): New function, moved from
3558 tramp-sh.el.
3559
3560 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3561 for `make-auto-save-file-name'.
8c27f5ff
SM
3562 (tramp-adb--gnu-switches-to-ash):
3563 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3564
3565 * net/tramp-cache.el (tramp-cache-print): Call
3566 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3567
3568 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3569 bound. It isn't for XEmacs.
3570
8c27f5ff
SM
3571 * net/tramp-compat.el (tramp-compat-copy-file):
3572 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3573 (tramp-compat-replace-regexp-in-string): New defun.
3574
3575 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3576 for `make-auto-save-file-name'.
3577 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3578 `copy-file'.
3579 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3580 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3581 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3582
8c27f5ff
SM
3583 * net/tramp-gw.el (tramp-gw-open-network-stream):
3584 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3585
8c27f5ff
SM
3586 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3587 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3588 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3589 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3590 (tramp-sh-file-inotifywait-process-filter):
3591 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3592 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3593
3594 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3595 for `make-auto-save-file-name'.
8c27f5ff
SM
3596 (tramp-smb-handle-copy-directory):
3597 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3598 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3599 (tramp-smb-handle-copy-file): Improve error message.
3600 (tramp-smb-handle-rename-file): Rename directly only in case
3601 `newname' does not exist yet. This is a restriction of smbclient.
3602 (tramp-smb-maybe-open-connection): Rerun the function only when
3603 `auth-sources' is non-nil.
3604
0ca754d0
KH
36052013-09-08 Kenichi Handa <handa@gnu.org>
3606
3607 * international/characters.el: Set category "^" (Combining) for
3608 more characters.
3609
e8dd0787
AM
36102013-09-07 Alan Mackenzie <acm@muc.de>
3611
3612 Correctly fontify Java class constructors.
3613 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3614 in Java Mode.
3615 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3616 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3617 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3618 "typeless" declaration there.
3619
f2f248e7
RW
36202013-09-07 Roland Winkler <winkler@gnu.org>
3621
3622 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3623 field subtitle for entry type book.
3624
67982e2b
SM
36252013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * minibuffer.el: Make minibuffer-complete call completion-in-region
3628 rather than other way around.
3629 (completion--some, completion-pcm--find-all-completions):
3630 Don't delay signals when debugging.
3631 (minibuffer-completion-contents): Beware fields within the
3632 minibuffer contents.
3633 (completion-all-sorted-completions): Use defvar-local.
3634 (completion--do-completion, completion--cache-all-sorted-completions)
3635 (completion-all-sorted-completions, minibuffer-force-complete):
3636 Add args `beg' and `end'.
3637 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3638 (minibuffer-complete): Use completion-in-region.
3639 (completion-complete-and-exit): New fun, extracted from
3640 minibuffer-complete-and-exit.
3641 (minibuffer-complete-and-exit): Use it.
3642 (completion--complete-and-exit): Rename from
3643 minibuffer--complete-and-exit.
3644 (completion-in-region--single-word): New function, extracted from
3645 minibuffer-complete-word.
3646 (minibuffer-complete-word): Use it.
3647 (display-completion-list): Make `common-substring' argument obsolete.
3648 (completion--in-region): Call completion--in-region-1 instead of
3649 minibuffer-complete.
3650 (completion-help-at-point): Pass boundaries to
3651 minibuffer-completion-help as args rather than via an overlay.
3652 (completion-pcm--string->pattern): Use `any-delim'.
3653 (completion-pcm--optimize-pattern): New function.
3654 (completion-pcm--pattern->regex): Handle `any-delim'.
3655 * icomplete.el (icomplete-forward-completions)
3656 (icomplete-backward-completions, icomplete-completions):
3657 Adjust calls to completion-all-sorted-completions and
3658 completion--cache-all-sorted-completions.
3659 (icomplete-with-completion-tables): Default to t.
3660 * emacs-lisp/crm.el (crm--current-element): Rename from
3661 crm--select-current-element. Don't put an overlay but return the
3662 boundaries instead.
3663 (crm--completion-command): Take two new args to bind to the boundaries.
3664 (crm-completion-help): Adjust accordingly.
3665 (crm-complete): Use completion-in-region.
3666 (crm-complete-word): Use completion-in-region--single-word.
3667 (crm-complete-and-exit): Use completion-complete-and-exit.
3668
e17d94a5
SM
36692013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3672 than dynamically.
3673
96727100
JL
36742013-09-06 Juri Linkov <juri@jurta.org>
3675
3676 * info.el (Info-display-images-node): When image file doesn't exist
3677 display text version of the image if it's provided in the Info file.
3678 Otherwise, display the location of missing image from SRC attribute.
3679 Add help-echo text property from ALT attribute. (Bug#15279)
3680
86cf7329
SM
36812013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3684 (edit-abbrevs-mode): Use define-derived-mode.
3685
3686 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3687 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3688 that it's defined.
3689 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3690 Use define-derived-mode.
3691
3692 * epg.el (epg-start-encrypt): Minor CSE simplification.
3693
816244a2
WX
36942013-09-06 William Xu <william.xwl@gmail.com>
3695
3696 * arc-mode.el: Add support for 7za (bug#15264).
3697 (archive-7z-program): New var.
3698 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3699 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3700 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3701
1486fa31
MA
37022013-09-06 Michael Albinus <michael.albinus@gmx.de>
3703
3704 Remove URL syntax.
3705
3706 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3707 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3708 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3709 (tramp-postfix-host-format, tramp-file-name-regexp)
3710 (tramp-completion-file-name-regexp)
3711 (tramp-completion-dissect-file-name)
3712 (tramp-handle-substitute-in-file-name): Remove 'url case.
3713 (tramp-file-name-regexp-url)
3714 (tramp-completion-file-name-regexp-url): Remove constants.
3715
39785324
GM
37162013-09-06 Glenn Morris <rgm@gnu.org>
3717
3718 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3719
1f896cb7
DG
37202013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3721
3722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3723 keywords" below "here-doc beginnings" (Bug#15270).
3724
c0458e0b
SM
37252013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * subr.el (pop): Use `car-safe'.
3728 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3729 to detect unused `pop' return value.
3730
3731 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3732 var `block-regexp'.
3733 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3734 (python-fill-string): Remove unused var `marker'.
3735 (python-skeleton-add-menu-items): Remove unused var `items'.
3736
3737 * international/mule-cmds.el: Require CL.
3738 (find-coding-systems-for-charsets): Avoid add-to-list.
3739 (sanitize-coding-system-list): New function, extracted from
3740 select-safe-coding-system-interactively.
3741 (select-safe-coding-system-interactively): Use it.
3742 (read-input-method-name): Accept symbols for `default'.
3743
3744 * emacs-lisp/advice.el (defadvice): Add indent rule.
3745
6c42fc3e
DH
37462013-09-05 Daniel Hackney <dan@haxney.org>
3747
3748 * dired-x.el:
3749 * net/ange-ftp.el:
3750 * net/browse-url.el:
3751 * net/dbus.el:
3752 * net/eudc.el:
3753 * net/eudcb-ldap.el:
3754 * net/eww.el:
3755 * net/imap.el:
3756 * printing.el:
3757 * vc/ediff-diff.el:
3758 * vc/ediff-init.el:
3759 * vc/ediff-merg.el:
3760 * vc/ediff-mult.el:
3761 * vc/ediff-util.el:
3762 * vc/ediff-wind.el:
3763 * vc/ediff.el:
3764 * vc/emerge.el:
3765 * vc/pcvs.el:
3766 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3767 byte compiler. Remove some unused let-bound variables.
3768
4c528aab
SM
37692013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3772 a "ref-cell", since it gets better optimized (bug#14883).
3773
bd15c390
GM
37742013-09-05 Glenn Morris <rgm@gnu.org>
3775
3776 * progmodes/cc-awk.el (c-forward-sws): Declare.
3777
1c3ac2e5
GM
37782013-09-04 Glenn Morris <rgm@gnu.org>
3779
3780 * generic-x.el [rul-generic-mode]: Require cc-mode.
3781 (c++-mode-syntax-table): Declare.
3782 (rul-generic-mode-syntax-table): Init in the defvar.
3783
52b1cc79
SM
37842013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3785
c828af56
SM
3786 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3787 (vc-do-command, vc-set-async-update):
3788 * vc/vc-mtn.el (vc-mtn-dir-status):
3789 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3790 (vc-hg-pull, vc-hg-merge-branch):
3791 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3792 (vc-git-merge-branch):
3793 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3794 (vc-cvs-dir-status-files):
3795 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3796 (vc-bzr-dir-status-files):
3797 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3798 * vc/vc-annotate.el: Use lexical-binding.
3799 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3800 (vc-sentinel-movepoint): Declare.
3801 (vc-annotate): Don't use `goto-line'.
3802 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3803 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3804 (vc-sentinel-movepoint): Declare.
3805 * vc/vc-svn.el: Use lexical-binding.
3806 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3807 * vc/vc-sccs.el:
3808 * vc/vc-rcs.el: Use lexical-binding.
3809
abae272c
SM
3810 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3811 `deleted'. Don't drop errors silently.
3812
52b1cc79
SM
3813 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3814
63191d9f
XF
38152013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3816
3817 * vc/vc.el (vc-ignore): Rewrite.
3818 (vc-default-ignore): New function.
3819 (vc-default-ignore-completion-table): Use find-ignore-file.
3820
3821 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3822 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3823 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3824 Remove. Most code moved to vc.el.
3825
9d3f707c
SM
38262013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3827
abae272c 3828 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3829 * net/tramp-smb.el (tramp-smb-get-file-entries):
3830 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3831 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3832
fde38d49
SM
3833 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3834 Update call to it.
3835 (eww-change-select): Remove unused var `properties'.
3836 (eww-make-unique-file-name): Remove unused var `base'.
3837
3838 * finder.el (finder-compile-keywords): Don't mess with windows.
3839
84032db7
SM
3840 * calculator.el (calculator-funcall): Fix typo in last change.
3841
724f5e41
SM
3842 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3843
14b511d4
SM
3844 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3845 <pkg>-autoloads.el file stop us.
3846
9d3f707c 3847 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3848 warnings, and factor out common code.
9d3f707c 3849
88527bc0
DG
38502013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3851
3852 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3853 two-character operators and whether the character preceding them
3854 changes their meaning (Bug#15208).
3855
96edb677
FEG
38562013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3857
3858 Format code sent to Python shell for robustness.
9d3f707c
SM
3859 * progmodes/python.el (python-shell-buffer-substring):
3860 New function.
96edb677
FEG
3861 (python-shell-send-region, python-shell-send-buffer): Use it.
3862
95beaef3
MA
38632013-09-02 Michael Albinus <michael.albinus@gmx.de>
3864
3865 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3866 * net/tramp.el (tramp-user-error): ... here.
3867 (tramp-find-method, tramp-check-proper-host)
3868 (tramp-dissect-file-name, tramp-debug-message)
3869 (tramp-handle-shell-command):
3870 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3871 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3872
3873 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3874
f167c27b
MR
38752013-09-02 Martin Rudalics <rudalics@gmx.at>
3876
3877 * avoid.el (mouse-avoidance-point-position)
3878 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3879 returns nil.
3880
cd16c5f1
FEG
38812013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3882
3883 * progmodes/python.el (python-shell-completion-get-completions):
3884 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3885 (python-nav-if-name-main): New command.
cd16c5f1 3886
e73c3a0d
GM
38872013-09-01 Glenn Morris <rgm@gnu.org>
3888
f8ccce03
GM
3889 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3890 Avoid leading space in $wins. Otherwise the sed command used by
3891 eg compile-main ends up containing "/*.el". (Bug#15170)
3892
e73c3a0d
GM
3893 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3894
415f808e
GM
38952013-08-30 Glenn Morris <rgm@gnu.org>
3896
3897 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3898 Fix is-this-a-directory logic. (Bug#15220)
3899
f069bba8
SM
39002013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3901
112798c1
SM
3902 * textmodes/css-mode.el: Use SMIE.
3903 (css-smie-grammar): New var.
3904 (css-smie--forward-token, css-smie--backward-token)
3905 (css-smie-rules): New functions.
3906 (css-mode): Use them.
3907 (css-navigation-syntax-table): Remove var.
3908 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3909 (css-indent-calculate, css-indent-line): Remove functions.
3910
3911 Misc changes to reduce use of `(lambda...); and other cleanups.
3912 * cus-edit.el: Use lexical-binding.
3913 (customize-push-and-save, customize-apropos)
3914 (custom-buffer-create-internal): Use closures.
3915 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3916 * progmodes/ada-xref.el: Use setq.
3917 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3918 * dframe.el: Use lexical-binding.
3919 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3920 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3921 * descr-text.el: Use lexical-binding.
3922 (describe-text-widget, describe-text-sexp, describe-property-list):
3923 Use closures.
3924 * comint.el (comint-history-isearch-push-state): Use a closure.
3925 * calculator.el: Use lexical-binding.
3926 (calculator-number-to-string): Make it work with lexical-binding.
3927 (calculator-funcall): Same and use cl-letf.
3928
2da4c3ab
SM
3929 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3930 (lisp--company-doc-string, lisp--company-location): New functions.
3931 (lisp-completion-at-point): Use them to improve Company support.
3932
f069bba8
SM
3933 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3934 params of lambda expressions.
3935 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3936 (ruby-smie--opening-pipe-p): New function.
3937 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3938 symbols and matched |...| for formal params.
3939 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3940 from being treated as hanging. Handle "rescue".
3941
6758b6a8
GM
39422013-08-29 Glenn Morris <rgm@gnu.org>
3943
3944 * progmodes/cc-engine.el (c-pull-open-brace):
3945 Move definition before use.
3946
e8dfd197
SM
39472013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3950 are immutable. Don't use `unsafe' any more.
3951 (cl--defsubst-expand): Don't substitute at the same time as keeping
3952 a residual unused let-binding. Don't use `unsafe' any more.
3953
cc585c96
GM
39542013-08-29 Glenn Morris <rgm@gnu.org>
3955
ba579ea6
GM
3956 * calendar/cal-china.el (calendar-chinese-year-cache):
3957 Recenter on 2015.
3958
8201a87e
GM
3959 * nxml/nxml-util.el (nxml-debug-clear-inside):
3960 Use cl-loop rather than loop.
3961
6ee877c7
GM
3962 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3963
cc585c96
GM
3964 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3965
27be8d39
GM
39662013-08-28 Glenn Morris <rgm@gnu.org>
3967
397440a1
GM
3968 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3969
2bb762d4
GM
3970 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3971
27be8d39
GM
3972 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3973
2d69b99e
SM
39742013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3975
f663baa7
SM
3976 * simple.el (repeat-complex-command--called-interactively-skip):
3977 New function.
3978 (repeat-complex-command): Use it (bug#14136).
3979
dd4f8b74
SM
3980 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3981 (c-define-abbrev-table): Add `doc' argument.
3982 (c-mode-abbrev-table, c++-mode-abbrev-table)
3983 (objc-mode-abbrev-table, java-mode-abbrev-table)
3984 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3985 (awk-mode-abbrev-table): Use it.
3986 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3987 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3988 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3989 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3990 Move initialization into the declaration; and remove any
3991 autoload cookie.
3992
b58969f7
SM
3993 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3994 and dynamic let binding.
3995
4021d6a6
SM
3996 * vc/smerge-mode.el: Remove redundant :group args.
3997
2d69b99e
SM
3998 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3999 to load-path.
4000
274919fd
JL
40012013-08-28 Juri Linkov <juri@jurta.org>
4002
4003 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4004 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4005 (isearch-other-meta-char): Handle an undefined shifted printing
4006 character by downshifting it. (Bug#15200)
4007
121f8c95
JL
40082013-08-28 Juri Linkov <juri@jurta.org>
4009
4010 * isearch.el (isearch-search): Change regexp error message for
4011 non-regexp searches. (Bug#15166)
4012
50b13cde
PE
40132013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4014
4015 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4016 for portability to hosts where /bin/sh has problems.
4017
95888bca
SM
40182013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4021
bbe558f1
JL
40222013-08-27 Juri Linkov <juri@jurta.org>
4023
4024 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4025 in the keyboard macro. (Bug#15126)
4026
26f98a7d
JL
40272013-08-27 Juri Linkov <juri@jurta.org>
4028
4029 * isearch.el (isearch-quote-char): Comment out converting unibyte
4030 to multibyte, thus syncing with its `quoted-insert' counterpart.
4031 (Bug#15166)
4032
7c97d35e
MR
40332013-08-27 Martin Rudalics <rudalics@gmx.at>
4034
4035 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4036 argument in call of get-largest-window (Bug#15185).
4037 Reported by Stephen Leake.
7c97d35e 4038
a0b5606e 40392013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4040
4041 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4042
9e89d835
SM
40432013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4046 from a matcher-function unless there's no more matches (bug#15161).
4047
78fc2530
MA
40482013-08-26 Michael Albinus <michael.albinus@gmx.de>
4049
4050 * minibuffer.el: Revert change from 2013-08-20.
4051
4052 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4053 with text property `tramp-default', if appropriate.
4054 (tramp-check-proper-host): New defun.
4055 (tramp-dissect-file-name): Do not check hostname. Revert change
4056 of 2013-03-18.
4057 (tramp-backtrace): Make VEC-OR-PROC optional.
4058
4059 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4060 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4061 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4062 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4063 Apply `tramp-check-proper-host'.
78fc2530 4064
edca97cd
TH
40652013-08-26 Tassilo Horn <tsdh@gnu.org>
4066
4067 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4068 lambda expression in order to have `describe-variable' display it.
4069
df54bcbd
MA
40702013-08-26 Michael Albinus <michael.albinus@gmx.de>
4071
4072 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4073 BUF can be optional. (Bug#15186)
4074
eed99101
XF
40752013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4076
4077 * progmodes/flymake.el (flymake-get-real-file-name-function):
4078 Fix broken customization. (Bug#15184)
4079
b5eb9035
AM
40802013-08-25 Alan Mackenzie <acm@muc.de>
4081
8a51e842
AM
4082 Improve indentation of bracelists defined by macros (without "=").
4083
4084 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4085 expansion begins with "{", regard it as bracelist when it doesn't
4086 contain a ";".
4087
869455d4
AM
4088 Parse C++ inher-intro when there's a template split over 2 lines.
4089
4090 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4091 rigorously the search for "class" etc. followed by ":".
4092
4093 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4094 random languages a regexp which never matches rather than nil.
4095
b5eb9035
AM
4096 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4097
4098 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4099 (c-awk-regexp-one-line-possibly-open-char-list-re)
4100 (c-awk-one-line-possibly-open-regexp-re)
4101 (c-awk-one-line-non-syn-ws*-re): Remove.
4102 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4103 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4104 (c-awk-space*-unclosed-regexp-/-re): New constants.
4105 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4106 aren't regexp delimiters.
4107
4108 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4109 handling for a rare situation in AWK Mode involving unterminated
4110 strings/regexps.
4111
61611d54
GM
41122013-08-23 Glenn Morris <rgm@gnu.org>
4113
2d85dc34
GM
4114 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4115
cb8d2612
GM
4116 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4117
bb35f42f
GM
4118 * files.el (create-file-buffer): If the result would begin with
4119 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4120
b9808e77
SM
41212013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4122
e3a66363
SM
4123 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4124 text-properties (bug#15155).
4125
b9808e77
SM
4126 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4127 exist any more.
4128 (calc-keypad-redraw): Remove unused var `pad'.
4129 (calc-keypad-press): Remove unused var `menu'.
4130
7fd5f65e
MR
41312013-08-23 Martin Rudalics <rudalics@gmx.at>
4132
b9808e77
SM
4133 * window.el (display-buffer-pop-up-frame):
4134 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4135 use it as the new frame's buffer (Bug#15133).
4136
8352b530
SM
41372013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * calendar/timeclock.el: Minor cleanups.
4140 (timeclock-ask-before-exiting, timeclock-use-display-time):
4141 Use `symbol'.
4142 (timeclock-modeline-display): Define as alias before the
4143 actual definition.
4144 (timeclock-mode-line-display): Use define-minor-mode.
4145 (timeclock-day-list-template): Make it a function, add an argument.
4146 (timeclock-day-list-required, timeclock-day-list-length)
4147 (timeclock-day-list-debt, timeclock-day-list-span)
4148 (timeclock-day-list-break): Adjust calls accordingly.
4149
9f7b1925
SM
41502013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4153 Use read--expression so that completion works again.
4154
6e50e983
SS
41552013-08-21 Sam Steingold <sds@gnu.org>
4156
4157 Add rudimentary inferior shell interaction
4158 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4159 (sh-set-shell): Reset it.
9f7b1925
SM
4160 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4161 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4162
dbb0d350
SM
41632013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * align.el: Use lexical-binding.
4166 (align-region): Simplify accordingly.
4167
c88586a9
MA
41682013-08-20 Michael Albinus <michael.albinus@gmx.de>
4169
4170 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4171
4172 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4173 `non-essential' up.
4174
f95527c8
MA
41752013-08-17 Michael Albinus <michael.albinus@gmx.de>
4176
4177 * net/tramp.el:
4178 * net/tramp-adb.el:
4179 * net/tramp-cmds.el:
4180 * net/tramp-ftp.el:
4181 * net/tramp-gvfs.el:
4182 * net/tramp-gw.el:
4183 * net/tramp-sh.el: Don't wrap external variable declarations by
4184 `eval-when-compile'.
4185
4b5fe4ee
LMI
41862013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4187
4188 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4189 now that Emacs supports ImageMagick animations.
4190
13c366c9
MA
41912013-08-16 Michael Albinus <michael.albinus@gmx.de>
4192
4193 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4194 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4195
3dfc5cd6
MR
41962013-08-16 Martin Rudalics <rudalics@gmx.at>
4197
4198 * window.el (mouse-autoselect-window-select): Do autoselect when
4199 mouse pointer is on margin.
4200
4bbb4381
WP
42012013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4202
4203 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4204
3a2ddc2d
GM
42052013-08-16 Glenn Morris <rgm@gnu.org>
4206
e8bedf5a
GM
4207 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4208 Handle "Remote Directory" response of some clients. (Bug#15058)
4209
58c4682f
GM
4210 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4211 Tweak warning. (Bug#14926)
4212
57953f49
GM
4213 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4214 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4215
3a2ddc2d
GM
4216 * image-mode.el (image-mode-map): Add menu items to reverse,
4217 increase, decrease, reset animation speed.
4218 (image--set-speed, image-increase-speed, image-decrease-speed)
4219 (image-reverse-speed, image-reset-speed): New functions.
4220 (image-mode-map): Add bindings for speed commands.
4221
4222 * image.el (image-animate-get-speed, image-animate-set-speed):
4223 New functions.
4224 (image-animate-timeout): Respect image :speed property.
4225
10fa0ed3
SM
42262013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4229 previous line (bug#15101).
4230 (debugger-eval-expression, debugger-record-expression):
4231 Use read--expression (bug#15102).
4232
5d89d9d2
MA
42332013-08-15 Michael Albinus <michael.albinus@gmx.de>
4234
4235 Remove byte compiler warnings, visible when compiling with
4236 `byte-compile-force-lexical-warnings' set to t.
4237
4238 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4239 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4240 (tramp-handle-unhandled-file-name-directory)
4241 (tramp-handle-file-notify-add-watch, tramp-action-login)
4242 (tramp-action-succeed, tramp-action-permission-denied)
4243 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4244 arguments with "_".
4245
4246 * net/tramp-adb.el (tramp-adb-parse-device-names)
4247 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4248 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4249 (tramp-adb-handle-file-truename): Remove unused arguments.
4250
4251 * net/tramp-cache.el (tramp-flush-directory-property)
4252 (tramp-flush-connection-property, tramp-list-connections)
4253 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4254
10fa0ed3
SM
4255 * net/tramp-compat.el (tramp-compat-make-temp-file):
4256 Rename FILENAME to F.
5d89d9d2
MA
4257
4258 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4259 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4260 (tramp-zeroconf-parse-workstation-device-names)
4261 (tramp-zeroconf-parse-webdav-device-names)
4262 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4263
4264 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4265 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4266
4267 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4268 arguments.
4269 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4270 (tramp-sh-handle-insert-file-contents-literally)
4271 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4272 with "_".
4273 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4274 Remove unused variables.
4275
4276 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4277 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4278 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4279
4280 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4281 Make them a defconst.
4282 (tramp-uuencode-region): Remove unused variable.
4283
62f33bae
JB
42842013-08-14 Juanma Barranquero <lekktu@gmail.com>
4285
4286 * frameset.el (frameset--prop-setter): New function.
4287 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4288 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4289 parameter was already set in FILTERED. Doc fix.
4290 (frameset--record-minibuffer-relationships): Allow saving a
4291 minibufferless frame without its corresponding minibuffer frame.
4292 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4293 frame, if the frame id matches.
4294 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4295 frames before orphaned ones.
4296 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4297
c660a885
MR
42982013-08-14 Martin Rudalics <rudalics@gmx.at>
4299
4300 * window.el (window-make-atom): Don't overwrite parameter
4301 already present.
4302 (display-buffer-in-atom-window): Handle special case where we
4303 split an already atomic window.
4304 (window--major-non-side-window, display-buffer-in-side-window)
4305 (window--side-check): Ignore minibuffer window when walking
4306 window tree.
4307 (window-deletable-p): Return 'frame only if no other frame uses
4308 our minibuffer window.
4309 (record-window-buffer): Run buffer-list-update-hook.
4310 (split-window): Make sure window--check-frame won't destroy an
4311 existing atomic window in case the new window gets nested
4312 inside.
4313 (display-buffer-at-bottom): Ignore minibuffer window when
4314 walking window tree. Don't split a side window.
4315 (pop-to-buffer): Don't set-buffer here, the select-window call
4316 should do that.
4317 (mouse-autoselect-window-select): Autoselect only if we are in the
4318 text portion of the window.
4319
8259030d
LMI
43202013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4321
21c58ae2
LMI
4322 * net/shr.el (shr-parse-image-data): New function to grab both the
4323 data itself and the Content-Type.
4324 (shr-put-image): Use it.
4325
4326 * net/eww.el (eww-display-image): Ditto.
4327
8259030d
LMI
4328 * image.el (image-content-type-suffixes): New variable.
4329
ad756449
FEG
43302013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4331
4332 * progmodes/python.el (python-imenu--build-tree)
4333 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4334
f73f4ce6
XF
43352013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4336
4337 * simple.el (backward-word): Mention the optional argument.
4338
1f585e65
SM
43392013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * frameset.el (frameset--make): Rename constructor from make-frameset.
4342 (frameset-p, frameset-valid-p): Don't autoload.
4343 (frameset-valid-p): Use normal accessors.
4344
af1c6c84
GM
43452013-08-13 Glenn Morris <rgm@gnu.org>
4346
55e47f95
GM
4347 * progmodes/compile.el (compile-command): Tweak example in doc.
4348 * obsolete/scribe.el (scribe-mode):
4349 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4350
f0024d8c
GM
4351 * mail/feedmail.el (feedmail-confirm-outgoing)
4352 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4353
4354 * cus-start.el (truncate-partial-width-windows): Fix type.
4355
4356 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4357
af1c6c84
GM
4358 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4359
5514cc4c
SM
43602013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * emacs-lisp/timer.el (timer--time-setter): New function.
4363 (timer--time): Use it as gv-setter.
4364
4365 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4366 setter is not a symbol.
4367
7997a2f1
GJ
43682013-08-12 Grégoire Jadi <daimrod@gmail.com>
4369
4370 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4371 if sending fails. This makes debugging easier.
4372
01f1a9ab
JB
43732013-08-12 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4376 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4377 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4378
594a4307
EZ
43792013-08-12 Eli Zaretskii <eliz@gnu.org>
4380
4381 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4382
7a22490f 43832013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4384
4385 * format.el (format-annotate-function):
4386 Handle read-only text properties in the source. (Bug#14887)
4387
3e41a054
LMI
43882013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4389
5514cc4c
SM
4390 * net/eww.el (eww-display-html): Ignore coding system errors.
4391 One web site uses "utf-8lias" as the coding system.
3e41a054 4392
7ec326db
JB
43932013-08-11 Juanma Barranquero <lekktu@gmail.com>
4394
4395 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4396
5660113b
JB
43972013-08-10 Juanma Barranquero <lekktu@gmail.com>
4398
9a4ebc74
JB
4399 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4400 (tutorial--detailed-help): Remove unused local variables.
4401 (tutorial--save-tutorial-to): Use ignore-errors.
4402 (help-with-tutorial): Use looking-at-p.
4403
4404 * view.el (view-buffer-other-window, view-buffer-other-frame):
4405 Mark unused arguments.
4406
4407 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4408 (woman-select-symbol-fonts, woman, woman-find-file)
4409 (woman-insert-file-contents, woman-non-underline-faces):
4410 Use string-match-p.
4411 (woman1-unquote): Move declaration.
4412
4413 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4414 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4415 argument. Remove unused local variable.
4416 (xml-parse-elem-type): Use string-match-p.
4417 (xml-substitute-numeric-entities): Use ignore-errors.
4418
45fdb482
JB
4419 * calculator.el (calculator): Mark unused argument.
4420 (calculator-paste, calculator-quit, calculator-integer-p):
4421 Use ignore-errors.
4422 (calculator-string-to-number, calculator-decimal, calculator-exp)
4423 (calculator-op-or-exp): Use string-match-p.
4424
4425 * dired.el (dired-buffer-more-recently-used-p): Declare.
4426 (dired-insert-set-properties, dired-insert-old-subdirs):
4427 Use ignore-errors.
4428
4429 * dired-aux.el (dired-compress): Use ignore-errors.
4430 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4431 (dired-do-async-shell-command, dired-do-shell-command)
4432 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4433 (dired-insert-subdir-validate): Use string-match-p.
4434 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4435 (dired-add-entry): Use string-match-p, looking-at-p.
4436 (dired-insert-subdir-newpos): Remove unused local variable.
4437
4438 * filenotify.el (file-notify-callback): Remove unused local variable.
4439
4440 * filesets.el (filesets-error): Mark unused argument.
4441 (filesets-which-command-p, filesets-filter-dir-names)
4442 (filesets-directory-files, filesets-get-external-viewer)
4443 (filesets-ingroup-get-data): Use string-match-p.
4444
4445 * find-file.el (ff-other-file-name, ff-other-file-name)
4446 (ff-find-the-other-file, ff-cc-hh-converter):
4447 Remove unused local variables.
4448 (ff-get-file-name): Use string-match-p.
4449 (ff-all-dirs-under): Use ignore-errors.
4450
4451 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4452 (follow-select-if-visible): Remove unused local variable.
4453
4454 * forms.el (read-file-filter): Move declaration.
4455 (forms--make-format, forms--make-parser, forms-insert-record):
4456 Quote function with #'.
4457 (forms--update): Use string-match-p. Quote function with #'.
4458
4459 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4460 (help-make-xrefs): Use looking-at-p.
4461 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4462
4463 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4464 (ibuffer-confirm-operation-on): Use string-match-p.
4465
4466 * msb.el (msb-item-handler, msb-dired-item-handler):
4467 Mark unused arguments.
4468
4469 * ses.el (ses-decode-cell-symbol)
4470 (ses-kill-override): Remove unused local variable.
4471 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4472 (ses-load): Use ignore-errors, looking-at-p.
4473 (ses-jump-safe): Use ignore-errors.
4474 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4475
4476 * tabify.el (untabify, tabify): Mark unused arguments.
4477
4478 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4479 Mark unused argument.
4480 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4481 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4482
c880af52
JB
4483 * emacs-lisp/timer.el (timer--time): Define setter with
4484 gv-define-setter to avoid deprecation warning.
4485
5660113b 4486 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4487 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4488 (cmpl-statistics-block): Remove (body was commented out).
4489 All callers changed.
4490 (add-completions-from-buffer, load-completions-from-file):
4491 Remove unused variables.
4492
156aab80
JB
44932013-08-09 Juanma Barranquero <lekktu@gmail.com>
4494
5c5dee78
JB
4495 * filecache.el (file-cache-delete-file-list):
4496 Print message only when told so.
4497 (file-cache-files-matching): Use #' in mapconcat argument.
4498
156aab80
JB
4499 * ffap.el (ffap-url-at-point): Fix reference to variable
4500 thing-at-point-default-mail-uri-scheme.
4501
ad9dcd70
SM
45022013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4503
54bd972f
SM
4504 * subr.el (define-error): New function.
4505 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4506 error-file-not-found and define with define-error.
4507 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4508 and define with define-error.
4509 * userlock.el (file-locked, file-supersession):
4510 * simple.el (mark-inactive):
4511 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4512 * progmodes/ada-mode.el (ada-mode-errors):
4513 * play/life.el (life-extinct):
4514 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4515 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4516 * nxml/rng-util.el (rng-error):
4517 * nxml/rng-uri.el (rng-uri-error):
4518 * nxml/rng-match.el (rng-compile-error):
4519 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4520 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4521 * nxml/nxml-rap.el (nxml-scan-error):
4522 * nxml/nxml-outln.el (nxml-outline-error):
4523 * net/soap-client.el (soap-error):
4524 * net/gnutls.el (gnutls-error):
4525 * net/ange-ftp.el (ftp-error):
4526 * mpc.el (mpc-proc-error):
4527 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4528 (json-number-format, json-string-escape, json-string-format)
4529 (json-key-format, json-object-format):
4530 * jka-compr.el (compression-error):
4531 * international/quail.el (quail-error):
4532 * international/kkc.el (kkc-error):
4533 * emacs-lisp/ert.el (ert-test-failed):
4534 * calc/calc.el (calc-error, inexact-result, math-overflow)
4535 (math-underflow):
4536 * bookmark.el (bookmark-error-no-filename):
4537 * epg.el (epg-error): Define with define-error.
4538
0ea9e53a
SM
4539 * time.el (display-time-event-handler)
4540 (display-time-next-load-average): Don't call sit-for since it seems
4541 unnecessary (bug#15045).
4542
b0429158
SM
4543 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4544 Use #' instead of ' to quote functions.
4545 (checkdoc-output-mode): Use setq-local.
4546 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4547 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4548 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4549 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4550 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4551 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4552 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4553 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4554
ad9dcd70
SM
4555 * ido.el (ido-completion-help): Fix up compiler warning.
4556
77187e6f
JB
45572013-08-09 Juanma Barranquero <lekktu@gmail.com>
4558
4559 * frameset.el (frameset-p): Add autoload cookie.
4560 (frameset--jump-to-register): New function, based on code moved from
4561 register.el.
4562 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4563
4564 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4565 (frameset-restore, frameset-save, frameset-session-filter-alist):
4566 Remove declarations.
4567 (register-alist): Doc fix.
4568 (frameset-to-register): Move to frameset.el.
4569 (jump-to-register, describe-register-1): Remove frameset-specific code.
4570
9d3aa82c
JB
45712013-08-08 Juanma Barranquero <lekktu@gmail.com>
4572
4573 * allout-widgets.el (allout-widgets-pre-command-business)
4574 (allout-widgets-post-command-business)
4575 (allout-widgets-after-change-handler)
4576 (allout-decorate-item-and-context, allout-set-boundary-marker)
4577 (allout-body-modification-handler)
4578 (allout-graphics-modification-handler): Mark ignored arguments.
4579 (allout-widgets-post-command-business)
4580 (allout-widgets-exposure-change-processor)
4581 (allout-widgets-exposure-undo-processor)
4582 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4583 (allout-parse-item-at-point, allout-decorate-item-guides)
4584 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4585 * allout.el (epa-passphrase-callback-function): Declare.
4586 (allout-overlay-insert-in-front-handler)
4587 (allout-overlay-interior-modification-handler)
4588 (allout-isearch-end-handler, allout-chart-siblings)
4589 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4590 (allout-yank-processing, allout-process-exposed)
4591 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4592 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4593 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4594 (lisp-indent-defform): Mark ignored arguments.
4595 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4596 (calculate-lisp-indent): Remove unused variables.
4597 * international/characters.el (indian-2-column, arabic-2-column)
4598 (tibetan): Mark ignored arguments.
4599 (use-cjk-char-width-table): Mark ignored arguments.
4600 Remove unused variables.
4601 * international/fontset.el (build-default-fontset-data)
4602 (x-compose-font-name, create-fontset-from-fontset-spec):
4603 Mark ignored arguments.
4604 (fontset-plain-name): Remove unused variables.
4605 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4606 (keyboard-coding-system): Mark ignored arguments.
4607 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4608 * help.el (resize-temp-buffer-window):
4609 * window.el (display-buffer-in-major-side-window)
4610 (display-buffer-in-side-window, display-buffer-in-previous-window):
4611 Remove unused variables.
4612 * isearch.el (isearch-forward-symbol):
4613 * version.el (emacs-bzr-version-bzr):
4614 * international/mule-cmds.el (current-language-environment):
4615 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4616 (x-handle-display):
4617 * term/pc-win.el (x-list-fonts, x-display-planes)
4618 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4619 (x-server-version, x-display-screens, x-display-mm-height)
4620 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4621 (x-selection-owner-p, x-own-selection-internal)
4622 (x-disown-selection-internal, x-get-selection-internal)
4623 (msdos-initialize-window-system):
4624 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4625 * term/x-win.el (x-handle-no-bitmap-icon):
4626 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4627 (vc-default-find-file-hook, vc-default-extra-menu):
4628 Mark ignored arguments.
4629
0ca3f70e
SM
46302013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4633 break-condition in the context of the debugged code (bug#12685).
4634
74c5d24c
CS
46352013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4636
4637 * comint.el:
4638 Do not use an overlay to highlight the last prompt. (Bug#14744)
4639 (comint-mode): Make comint-last-prompt buffer local.
4640 (comint-last-prompt): New variable.
4641 (comint-last-prompt-overlay): Remove. Superseded by
4642 comint-last-prompt.
0ca3f70e
SM
4643 (comint-snapshot-last-prompt, comint-output-filter):
4644 Use comint-last-prompt.
74c5d24c 4645
c03c02ee
JB
46462013-08-08 Juanma Barranquero <lekktu@gmail.com>
4647
a3738d20 4648 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4649 (frameset-save): Check validity of the resulting frameset.
4650
04263d23
XF
46512013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4652
4653 * ido.el (ido-record-command): Add doc string.
4654
76c5e5ab
JB
46552013-08-08 Juanma Barranquero <lekktu@gmail.com>
4656
4657 * frameset.el (frameset): Do not disable creation of the default
4658 frameset-p predicate. Doc fix.
4659 (frameset-valid-p): New function, copied from the old predicate-p.
4660 Add additional checks.
4661 (frameset-restore): Check with frameset-valid-p.
4662 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4663 (frameset-name, frameset-description, frameset-properties)
4664 (frameset-states): Add docstring.
f9dbf1cb
JB
4665 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4666 (frameset-filter-alist): Doc fixes.
76c5e5ab 4667
bd0c3c0b
JB
46682013-08-08 Juanma Barranquero <lekktu@gmail.com>
4669
4670 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4671
c735544c
SM
46722013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4675 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4676 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4677 (byte-compile-normal-call): Remove obsolescence check.
4678
2805a651
JB
46792013-08-08 Juanma Barranquero <lekktu@gmail.com>
4680
3677ffeb
JB
4681 * frameset.el (frameset-restore): Doc fix.
4682
2805a651
JB
4683 * register.el (frameset-frame-id, frameset-frame-with-id)
4684 (frameset-p, frameset-restore, frameset-save): Declare.
4685 (register-alist): Document framesets.
4686 (frameset-session-filter-alist): Declare.
4687 (frameset-to-register): New function.
4688 (jump-to-register): Implement jumping to framesets. Doc fix.
4689 (describe-register-1): Describe framesets.
4690
4691 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4692
a912c016
JB
46932013-08-07 Juanma Barranquero <lekktu@gmail.com>
4694
4695 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4696 Use lexical-binding.
4697
4698 * frameset.el (frameset): Use type vector, not list (incompatible
4699 change). Do not declare a new constructor, use the default one.
4700 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4701 `name' and `description', respectively, and add read-only slot
4702 `timestamp'. Doc fixes.
4703 (frameset-copy, frameset-persistent-filter-alist)
4704 (frameset-filter-alist, frameset-switch-to-gui-p)
4705 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4706 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4707 (frameset-filter-iconified, frameset-keep-original-display-p):
4708 Doc fixes.
4709 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4710 Rename from frameset-filter-(save|restore)-param. All callers changed.
4711 Doc fix.
4712 (frameset-p): Adapt to change to vector and be more thorough.
4713 Change arg name to OBJECT. Doc fix.
4714 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4715 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4716 All callers changed.
4717 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4718 All callers changed.
4719 (frameset--record-minibuffer-relationships): Rename from
4720 frameset--process-minibuffer-frames. All callers changed.
4721 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4722 Use new default constructor (again). Doc fix.
4723 (frameset--find-frame-if): Rename from `frameset--find-frame.
4724 All callers changed.
4725 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4726 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4727 Doc fix.
4728 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4729 PARAMETERS and WINDOW-STATE, respectively.
4730 (frameset-restore): Add new keyword argument PREDICATE.
4731 Reset frameset--target-display to nil. Doc fix.
4732
bb41480a
SM
47332013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4734
f001e98e
SM
4735 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4736 (bat-mode): Use it.
4737 (bat-mode-syntax-table): Mark \n as end-of-comment.
4738 (bat-font-lock-keywords): Remove comment rule.
4739
7679edb1
SM
4740 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4741 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4742
bb41480a
SM
4743 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4744 (byte-compile-callargs-warn): Use `push'.
4745 (byte-compile-arglist-warn): Ignore higher-order "calls".
4746 (byte-compile-file-form-autoload): Use `pcase'.
4747 (byte-compile-function-form): If quoting a symbol, check that it exists.
4748
cdc1ebb9
EZ
47492013-08-07 Eli Zaretskii <eliz@gnu.org>
4750
4751 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4752 and add a few popular commands found in batch files.
4753 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4754 (dos-mode): Doc fixes.
4755
312b1740
SM
47562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4759 (dos-mode): Use setq-local. Add space after "rem".
4760 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4761 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4762
400a3178
AM
47632013-08-07 Arni Magnusson <arnima@hafro.is>
4764
4765 * progmodes/dos.el: New file.
4766 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4767 dos-mode.
4768
3b5c03d3
GM
47692013-08-06 Glenn Morris <rgm@gnu.org>
4770
4771 * calendar/calendar.el: Add new faces, and day-header-array.
4772 (calendar-weekday-header, calendar-weekend-header)
4773 (calendar-month-header): New faces.
4774 (calendar-day-header-construct): New function.
4775 (calendar-day-header-width): Also :set calendar-day-header-array.
4776 (calendar-american-month-header, calendar-european-month-header)
4777 (calendar-iso-month-header): Use calendar- faces.
4778 (calendar-generate-month):
4779 Use calendar-day-header-array for day headers; apply faces to them.
4780 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4781 (calendar-abbrev-construct): Add optional maxlen argument.
4782 (calendar-day-name-array): Doc fix.
4783 (calendar-day-name-array, calendar-abbrev-length)
4784 (calendar-day-abbrev-array):
4785 Also :set calendar-day-header-array, and maybe redraw.
4786 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4787 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4788 (calendar-day-name): Add option to use header array.
4789
ec6a2d7a
LMI
47902013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791
4792 * net/shr.el (shr-render-td): Remove debugging.
4793 (shr-render-td): Make width computation consistent by defaulting
4794 all zero-width columns to 10 characters. This may not be optimal,
4795 but it's at least consistent.
2122cb6d
LMI
4796 (shr-make-table-1): Redo last change to fix the real problem in
4797 colspan handling.
ec6a2d7a 4798
ed4fd9c5
DA
47992013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4800
0ca3f70e
SM
4801 * files.el (cache-long-line-scans):
4802 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4803
64e22afe
JB
48042013-08-06 Juanma Barranquero <lekktu@gmail.com>
4805
024b38fc
JB
4806 * frameset.el (frameset, frameset-filter-alist)
4807 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4808 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4809 (frameset-compute-pos): Rename from frameset--compute-pos,
4810 and add docstring.
4811 (frameset-move-onscreen): Use frameset-compute-pos.
4812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4813
64e22afe
JB
4814 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4815 Fix typos in docstrings.
4816
c8c2aca8
DA
48172013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4818
4819 * frame.el (get-other-frame): Tiny cleanup.
4820
1d237bba
JB
48212013-08-06 Juanma Barranquero <lekktu@gmail.com>
4822
8951efef
JB
4823 * vc/vc.el (vc-default-ignore-completion-table):
4824 Silence byte-compiler warning.
4825
307764cc
JB
4826 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4827 slot , which can indeed be nil.
4828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4829 Move entry for `left' from persistent to live filter alist.
4830 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4831 Doc fixes.
4832 (frameset-filter-params): When restoring a frame, copy items added to
4833 `filtered', to avoid unwittingly modifying the original parameters.
4834 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4835 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4836
1d237bba
JB
4837 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4838 to use looking-at-p instead of looking-at. (Bug#15028)
4839
dc6c0eda
SM
48402013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 Revert introduction of isearch-filter-predicates (bug#14714).
4843 Rely on add-function instead.
4844 * isearch.el (isearch-filter-predicates): Rename it back to
4845 isearch-filter-predicate.
4846 (isearch-message-prefix): Use advice-function-mapc and advice
4847 properties to get the isearch-message-prefix.
4848 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4849 instead of run-hook-with-args-until-failure.
4850 (isearch-filter-visible): Not obsolete any more.
4851 * loadup.el: Preload nadvice.
4852 * replace.el (perform-replace): Revert to funcall
4853 instead of run-hook-with-args-until-failure.
4854 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4855 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4856 dired-isearch-filenames-toggle; make it into a proper minor mode.
4857 Use add/remove-function.
4858 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4859 Call the minor-mode rather than add/remove-hook.
4860 (dired-isearch-filter-filenames):
4861 Remove isearch-message-prefix property.
4862 * info.el (Info--search-loop): New function, extracted from Info-search.
4863 Funcall isearch-filter-predicate instead of
4864 run-hook-with-args-until-failure isearch-filter-predicates.
4865 (Info-search): Use it.
4866 (Info-mode): Use isearch-filter-predicate instead of
4867 isearch-filter-predicates.
4868
290d5b58
DA
48692013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4870
4871 Do not call to `selected-window' where it is assumed by default.
4872 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4873 `window-hscroll', `window-width', `window-height', `window-buffer',
4874 `window-frame', `window-start', `window-point', `next-window'
4875 and `window-display-table'.
4876 * abbrev.el (abbrev--default-expand):
4877 * bs.el (bs--show-with-configuration):
4878 * buff-menu.el (Buffer-menu-mouse-select):
4879 * calc/calc.el (calc):
4880 * calendar/calendar.el (calendar-generate-window):
4881 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4882 (diary-make-entry):
4883 * comint.el (send-invisible, comint-dynamic-complete-filename)
4884 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4885 * completion.el (complete):
4886 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4887 * disp-table.el (describe-current-display-table):
4888 * doc-view.el (doc-view-insert-image):
4889 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4890 * ehelp.el (with-electric-help):
4891 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4892 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4893 * emacs-lisp/helper.el (Helper-help-scroller):
4894 * emulation/cua-base.el (cua--post-command-handler-1):
4895 * eshell/esh-mode.el (eshell-output-filter):
4896 * ffap.el (ffap-gnus-wrapper):
4897 * help-macro.el (make-help-screen):
4898 * hilit-chg.el (highlight-compare-buffers):
4899 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4900 * hl-line.el (global-hl-line-highlight):
4901 * icomplete.el (icomplete-simple-completing-p):
4902 * isearch.el (isearch-done):
4903 * jit-lock.el (jit-lock-stealth-fontify):
4904 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4905 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4906 * mpc.el (mpc-tagbrowser, mpc):
4907 * net/rcirc.el (rcirc-any-buffer):
4908 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4909 * play/landmark.el (landmark-max-width, landmark-max-height):
4910 * play/zone.el (zone):
4911 * progmodes/compile.el (compilation-goto-locus):
4912 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4913 * progmodes/etags.el (find-tag-other-window):
4914 * progmodes/fortran.el (fortran-column-ruler):
4915 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4916 * progmodes/verilog-mode.el (verilog-point-text):
4917 * reposition.el (reposition-window):
4918 * rot13.el (toggle-rot13-mode):
4919 * server.el (server-switch-buffer):
4920 * shell.el (shell-dynamic-complete-command)
4921 (shell-dynamic-complete-environment-variable):
4922 * simple.el (insert-buffer, set-selective-display)
4923 (delete-completion-window):
4924 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4925 (speedbar-recenter):
4926 * startup.el (fancy-splash-head):
4927 * textmodes/ispell.el (ispell-command-loop):
4928 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4929 * tutorial.el (help-with-tutorial):
4930 * vc/add-log.el (add-change-log-entry):
4931 * vc/compare-w.el (compare-windows):
4932 * vc/ediff-help.el (ediff-indent-help-message):
4933 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4934 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4935 (ediff-setup-control-frame):
4936 * vc/emerge.el (emerge-position-region):
4937 * vc/pcvs-util.el (cvs-bury-buffer):
4938 * window.el (walk-windows, mouse-autoselect-window-select):
4939 * winner.el (winner-set-conf, winner-undo): Related users changed.
4940
38276e01
JB
49412013-08-05 Juanma Barranquero <lekktu@gmail.com>
4942
4943 * frameset.el (frameset--set-id): Doc fix.
4944 (frameset-frame-id, frameset-frame-id-equal-p)
4945 (frameset-locate-frame-id): New functions.
4946 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4947 (frameset-restore): Use them.
4948
12b4c0ea
DA
49492013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4950
4951 Do not call to `selected-frame' where it is assumed by default.
4952 Affected functions are `raise-frame', `redraw-frame',
4953 `frame-first-window', `frame-terminal' and `delete-frame'.
4954 * calendar/appt.el (appt-disp-window):
4955 * epg.el (epg-wait-for-completion):
4956 * follow.el (follow-delete-other-windows-and-split)
4957 (follow-avoid-tail-recenter):
4958 * international/mule.el (set-terminal-coding-system):
4959 * mail/rmail.el (rmail-mail-return):
4960 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4961 * progmodes/f90.el (f90-add-imenu-menu):
4962 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4963 * server.el (server-switch-buffer):
4964 * simple.el (delete-completion-window):
4965 * talk.el (talk):
4966 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4967 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4968 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4969 * vc/ediff.el (ediff-documentation): Related users changed.
4970 * frame.el (selected-terminal): Remove the leftover.
4971
17f25e76
GM
49722013-08-05 Glenn Morris <rgm@gnu.org>
4973
4974 * calendar/calendar.el (calendar-generate-month):
4975 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4976 (calendar-generate-month, calendar-font-lock-keywords):
4977 Fix for calendar-day-header-width > length of any day name.
17f25e76 4978
063233c3
JB
49792013-08-05 Juanma Barranquero <lekktu@gmail.com>
4980
4981 * desktop.el (desktop-clear): Use new name of sort predicate.
4982
4983 * frameset.el (frameset): Add docstring. Move :version property to its
4984 own `version' slot.
4985 (frameset-copy): Rename from copy-frameset.
4986 (frameset-p): Check more thoroughly.
4987 (frameset-prop): Do not check for :version, which is no longer a prop.
4988 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4989 Use new :never value instead of t.
4990 (frameset-filter-alist): Expand and clarify docstring.
4991 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4992 (frameset-filter-minibuffer, frameset-filter-save-param)
4993 (frameset-filter-restore-param, frameset-filter-iconified):
4994 Add pointer to docstring of frameset-filter-alist.
4995 (frameset-filter-params): Rename filter values to be more meaningful:
4996 :never instead of t, and reverse the meanings of :save and :restore.
4997 (frameset--process-minibuffer-frames): Clarify error message.
4998 (frameset-save): Avoid unnecessary and confusing call to framep.
4999 Use new BOA constructor for framesets.
5000 (frameset--reuse-list): Doc fix.
5001 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5002 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5003 (frameset-minibufferless-first-p): Doc fix.
5004 Rename from frameset-sort-frames-for-deletion.
5005 (frameset-restore): Doc fixes. Use new function names.
5006 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5007
d5671a82
JB
50082013-08-04 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * desktop.el (desktop-restore-forces-onscreen)
5011 (desktop-restore-reuses-frames): Document :keyword constant values.
5012 (desktop-filter-parameters-alist): Remove, now identical to
5013 frameset-filter-alist.
5014 (desktop--filter-tty*): Remove, moved to frameset.el.
5015 (desktop-save-frameset, desktop-restore-frameset):
5016 Do not pass :filters argument.
5017
5018 * frameset.el (frameset-live-filter-alist)
5019 (frameset-persistent-filter-alist): New variables.
5020 (frameset-filter-alist): Use them. Add autoload cookie.
5021 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5022 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5023 `frameset--id' (it's supposed to be internal to frameset.el).
5024 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5025 (frameset--initial-params): New function.
5026 (frameset--get-frame): Use it. Doc fix.
5027 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5028 Accept :all, not 'all.
5029 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5030 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5031 with fbound symbols. Fix frame id matching, and remove matching ids if
5032 the frame being restored is deleted. Obey :delete.
5033
671d5c16
SM
50342013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * subr.el (macrop): New function.
5037 (text-clone--maintaining): New var.
5038 (text-clone--maintain): Rename from text-clone-maintain. Use it
5039 instead of inhibit-modification-hooks.
5040
5041 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5042 a proxy, so as handle autoloads and redefinitions of the target.
5043 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5044
5045 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5046 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5047 (pcase--mutually-exclusive-p): New function.
5048 (pcase--split-consp): Use it.
5049 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5050 mutually exclusive with the current predicate.
5051
5052 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5053 (edebug-macrop): Remove. Use `macrop' instead.
5054 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5055 (ad-macro-p):
5056 * eshell/esh-cmd.el (eshell-macrop):
5057 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5058
1d44e9dc
SM
50592013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5062 (advice-mapc): New function, using it.
5063 (advice-function-member-p): New function.
5064 (advice--normalize): Store the cdr in advice--saved-rewrite since
5065 that's the part that will be changed.
5066 (advice--symbol-function): New function.
5067 (advice-remove): Handle removal before the function is defined.
5068 Adjust to new advice--saved-rewrite.
5069 (advice-member-p): Use advice-function-member-p and
5070 advice--symbol-function.
5071
5414a283
JB
50722013-08-04 Juanma Barranquero <lekktu@gmail.com>
5073
51d30f2c
JB
5074 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5075 (frameset-filter-minibuffer): Doc fix.
5076 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5077 (frameset--set-id, frameset--process-minibuffer-frames)
5078 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5079 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5080
5414a283
JB
5081 * desktop.el (desktop-clear): Only delete frames when called
5082 interactively and desktop-restore-frames is non-nil. Doc fix.
5083 (desktop-read): Set desktop-saved-frameset to nil.
5084
ab419665
XF
50852013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5086
5087 * vc/vc.el (vc-ignore): Rewrite.
5088 (vc-default-ignore-completion-table):
5089 (vc--read-lines):
5090 (vc--add-line, vc--remove-regexp): New functions.
5091
5092 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5093 (vc-svn-ignore-completion-table): New function.
5094
5095 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5096 (vc-hg-ignore-completion-table):
5097 (vc-hg-find-ignore-file): New functions.
5098
5099 * vc/vc-git.el (vc-git-ignore): Rewrite.
5100 (vc-git-ignore-completion-table):
5101 (vc-git-find-ignore-file): New functions.
5102
5103 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5104
5105 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5106 (vc-bzr-ignore-completion-table):
5107 (vc-bzr-find-ignore-file): New functions.
5108
2613dea2
JB
51092013-08-03 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * frameset.el (frameset-prop): New function and setter.
5112 (frameset-save): Do not modify frame list passed by the caller.
5113
9c959872
SM
51142013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5117
a104f656
SM
51182013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5119
70122acf
SM
5120 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5121 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5122
a104f656
SM
5123 * custom.el (custom-initialize-default, custom-initialize-set)
5124 (custom-initialize-reset, custom-initialize-changed): Affect the
5125 toplevel-default-value (bug#6275, bug#14586).
5126 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5127 for bug#6275.
5128
f078d570
JB
51292013-08-02 Juanma Barranquero <lekktu@gmail.com>
5130
185e3b5a
JB
5131 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5132 Add cl-def* expressions.
5133
f078d570
JB
5134 * frameset.el (frameset-filter-params): Fix order of arguments.
5135
9421876d
JB
51362013-08-02 Juanma Barranquero <lekktu@gmail.com>
5137
5138 Move code related to saving frames to frameset.el.
5139 * desktop.el: Require frameset.
5140 (desktop-restore-frames): Doc fix.
5141 (desktop-restore-reuses-frames): Rename from
5142 desktop-restoring-reuses-frames.
5143 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5144 (desktop-clear): Clear frames too.
5145 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5146 (desktop--filter-tty*, desktop-save, desktop-read):
5147 Use frameset functions.
5148 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5149 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5150 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5151 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5152 (desktop--process-minibuffer-frames, desktop-save-frames)
5153 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5154 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5155 (desktop--sort-states, desktop-restoring-frames-p)
5156 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5157 (desktop-restoring-frameset-p, desktop-restore-frameset)
5158 (desktop--check-dont-save, desktop-save-frameset): New functions.
5159 (desktop--app-id): New constant.
5160 (desktop-first-buffer, desktop-buffer-ok-count)
5161 (desktop-buffer-fail-count): Move before first use.
5162 * frameset.el: New file.
5163
76dc5996
SM
51642013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * files.el: Use lexical-binding.
5167 (dir-locals-read-from-file): Remove unused `err' variable.
5168 (hack-dir-local-variables--warned-coding): New var.
5169 (hack-dir-local-variables): Use it to avoid repeated warnings.
5170 (make-backup-file-name--default-function): New function.
5171 (make-backup-file-name-function): Use it as default.
5172 (buffer-stale--default-function): New function.
5173 (buffer-stale-function): Use it as default.
5174 (revert-buffer-insert-file-contents--default-function): New function.
5175 (revert-buffer-insert-file-contents-function): Use it as default.
5176 (insert-directory): Avoid add-to-list.
5177
5178 * autorevert.el (auto-revert-handler): Simplify.
5179 Use buffer-stale--default-function.
5180
06d36e2b
TH
51812013-08-01 Tassilo Horn <tsdh@gnu.org>
5182
5f648ab4
TH
5183 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5184
06d36e2b
TH
5185 * whitespace.el (whitespace-ensure-local-variables): New function.
5186 (whitespace-cleanup-region): Call it.
5187 (whitespace-turn-on): Call it.
5188
a43dc424
MA
51892013-08-01 Michael Albinus <michael.albinus@gmx.de>
5190
5191 Complete file name handlers.
5192
5193 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5194 (tramp-handle-verify-visited-file-modtime)
5195 (tramp-handle-file-notify-rm-watch): New functions.
5196 (tramp-call-process): Do not bind `default-directory'.
5197
44e18199
JB
5198 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5199 Order alphabetically.
a43dc424
MA
5200 [access-file, add-name-to-file, dired-call-process]:
5201 [dired-compress-file, file-acl, file-notify-rm-watch]:
5202 [file-ownership-preserved-p, file-selinux-context]:
5203 [make-directory-internal, make-symbolic-link, set-file-acl]:
5204 [set-file-selinux-context, set-visited-file-modtime]:
5205 [verify-visited-file-modtime]: Add handler.
5206 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5207
5208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5209 [file-notify-add-watch, file-notify-rm-watch]:
5210 [set-file-times, set-visited-file-modtime]:
5211 [verify-visited-file-modtime]: Add handler.
5212 (with-tramp-gvfs-error-message)
5213 (tramp-gvfs-handle-set-visited-file-modtime)
5214 (tramp-gvfs-fuse-file-name): Remove.
5215 (tramp-gvfs-handle-file-notify-add-watch)
5216 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5217 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5218
44e18199
JB
5219 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5220 Order alphabetically.
a43dc424
MA
5221 [file-notify-rm-watch ]: Use default Tramp handler.
5222 [executable-find]: Remove private handler.
5223 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5224 `default-directory'.
5225 (tramp-sh-handle-executable-find)
5226 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5227 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5228 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5229 Do not use `format' in `tramp-message'.
5230
5231 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5232 [file-notify-rm-watch, set-visited-file-modtime]:
5233 [verify-visited-file-modtime]: Add handler.
5234 (tramp-smb-call-winexe): Do not bind `default-directory'.
5235
7188b515
XF
52362013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5237
5238 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5239
2412ee1a
DG
52402013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5241
5242 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5243 use it.
5244 (log-view-diff-changeset): Same.
5245 (log-view-diff-common): Call backend command `previous-revision'
5246 to find out the previous revision, in both cases. Swap the
5247 variables `to' and `fr', so that `fr' usually refers to the
5248 earlier revision (Bug#14989).
5249
5002a754
KRC
52502013-07-31 Kan-Ru Chen <kanru@kanru.info>
5251
5252 * ibuf-ext.el (ibuffer-filter-by-filename):
5253 Make it work with dired buffers too.
5254
44e18199 52552013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5256
5257 * emacs-lisp/re-builder.el (reb-color-display-p):
5258 * files.el (save-buffers-kill-terminal):
5259 * net/browse-url.el (browse-url):
5260 * server.el (server-save-buffers-kill-terminal):
5261 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5262 Prefer nil to selected-frame for the first arg of frame-parameter.
5263
aeca3fbb
XF
52642013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5265
5266 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5267
158bc55c
SB
52682013-07-30 Stephen Berman <stephen.berman@gmx.net>
5269
5270 * minibuffer.el (completion--twq-all): Try and preserve each
5271 completion's case choice (bug#14907).
5272
d50fceab
LMI
52732013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5274
ac38e731
LMI
5275 * net/network-stream.el (open-network-stream): Mention the new
5276 :nogreeting parameter.
5277 (network-stream-open-starttls): Use the :nogreeting parameter
5278 (bug#14938).
5279
1211de50
LMI
5280 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5281
997798bf
LMI
5282 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5283 more natural than popping.
5284
d50fceab 5285 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5286 (shr-urlify): Highlight under mouse.
d50fceab 5287
5c09de04
XF
52882013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5289
207d1d04
XF
5290 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5291
5292 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5293
5c09de04
XF
5294 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5295 buffer for output.
5296
3cd51eaa
XF
5297 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5298 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5299
44e18199 5300 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5301 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5302
5303 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5304
5305 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5306 buffer for output.
5307
35a89bdd
EZ
53082013-07-29 Eli Zaretskii <eliz@gnu.org>
5309
5310 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5311 initial frame is minibuffer-less. (Bug#14841)
5312
78822e94
MA
53132013-07-29 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5316 option.
5317
5318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5319 (tramp-maybe-open-connection): Use it.
5320
9503c190
JB
53212013-07-28 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5324 minimal set of parameters passed when creating a frame, because
5325 the minibuffer status of a frame cannot be changed later.
5326
d5a845b4
SB
53272013-07-28 Stephen Berman <stephen.berman@gmx.net>
5328
5329 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5330 replace-regexp-in-string and inadvertent omissions in previous change.
5331 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5332 name of filtered items buffer.
d5a845b4 5333
ddeffb17
JB
53342013-07-28 Juanma Barranquero <lekktu@gmail.com>
5335
5336 * desktop.el: Optionally force offscreen frames back onscreen.
5337 (desktop-restoring-reuses-frames): New option.
5338 (desktop--compute-pos, desktop--move-onscreen): New functions.
5339 (desktop--make-frame): Use desktop--move-onscreen.
5340
f5950f7a
AM
53412013-07-27 Alan Mackenzie <acm@muc.de>
5342
5343 Fontify a Java generic method as a function.
5344 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5345 value to t.
5346
ae43b66a
SB
53472013-07-27 Stephen Berman <stephen.berman@gmx.net>
5348
5349 * calendar/todo-mode.el: Add command to rename todo files.
5350 (todo-rename-file): New command.
5351 (todo-key-bindings-t): Add key binding for it. Change the
5352 bindings of todo-filter-regexp-items(-multifile) to use `x'
5353 instead of `r', since the latter is better suited to the new
5354 renaming command.
5355
5ab78d3d
AM
53562013-07-27 Alan Mackenzie <acm@muc.de>
5357
5358 Make Java try-with-resources statement parse properly.
5359 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5360 (c-block-stmt-1-2-key): New language constants/variables.
5361 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5362 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5363 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5364 with c-block-stmt-1-2-key.
5ab78d3d 5365
d85c4d50
JB
53662013-07-27 Juanma Barranquero <lekktu@gmail.com>
5367
5368 * desktop.el (desktop--make-frame): Apply most frame parameters after
5369 creating the frame to force (partially or totally) offscreen frames to
5370 be restored as such.
5371
e4c467f9
XF
53722013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5373
5374 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5375 (Bug#14948)
e4c467f9 5376
7ced0d04
SM
53772013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5380 `base' arg of backtrace-frame.
5381
fec92060
EZ
53822013-07-26 Eli Zaretskii <eliz@gnu.org>
5383
5384 * simple.el (list-processes): Doc fix.
5385
d58d31fb
JB
53862013-07-26 Juanma Barranquero <lekktu@gmail.com>
5387
5388 * desktop.el (desktop--select-frame):
d85c4d50 5389 Try harder to reuse existing frames.
d58d31fb 5390
53ff3e77
SM
53912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5394 (edebug-eval): Use backtrace-eval.
5395 (edebug--display, edebug--recursive-edit): Don't let-bind the
5396 edebug-outer-* vars that keep track of variables we locally let-bind.
5397 (edebug-outside-excursion): Don't restore outside values of locally
5398 let-bound vars.
5399 (edebug--display): Use user-error.
5400 (cl-lexical-debug, cl-debug-env): Remove.
5401
045f7a53
JB
54022013-07-26 Juanma Barranquero <lekktu@gmail.com>
5403
5404 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5405 are restored to be sure that they are visible before deleting any
5406 remaining ones.
5407
59070b32
MM
54082013-07-26 Matthias Meulien <orontee@gmail.com>
5409
742a3501
XF
5410 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5411 vc-print-root-log. (Bug#14948)
59070b32 5412
b1fb3596
RS
54132013-07-26 Richard Stallman <rms@gnu.org>
5414
5415 Add aliases for encrypting mail.
5416 * epa.el (epa-mail-aliases): New option.
5417 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5418 Bind inhibit-read-only so read-only text doesn't ruin everything.
5419 (epa-mail-default-recipients): New subroutine broken out.
5420 Handle epa-mail-aliases.
5421
56ea7291
SM
54222013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 Add support for lexical variables to the debugger's `e' command.
5425 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5426 vars, except for debugger-outer-match-data.
5427 (debugger-frame-number): Move check for "on a function call" from
5428 callers into it. Add `skip-base' argument.
5429 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5430 (debugger-env-macro): Only reset the state stored in non-variables,
5431 i.e. current-buffer and match-data.
5432 (debugger-eval-expression): Rewrite using backtrace-eval.
5433 * subr.el (internal--called-interactively-p--get-frame): Remove.
5434 (called-interactively-p):
5435 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5436 `base' arg of backtrace-frame instead.
5437
15ac32d5
GM
54382013-07-26 Glenn Morris <rgm@gnu.org>
5439
8358a09d
GM
5440 * align.el (align-regexp): Doc fix. (Bug#14857)
5441 (align-region): Explicit error if subexpression missing/does not match.
5442
15ac32d5
GM
5443 * simple.el (global-visual-line-mode):
5444 Do not duplicate the mode lighter. (Bug#14858)
5445
f47ad11b
MR
54462013-07-25 Martin Rudalics <rudalics@gmx.at>
5447
5448 * window.el (display-buffer): In display-buffer bind
5449 split-window-keep-point to t, bug#14829.
5450
02530987
JB
54512013-07-25 Juanma Barranquero <lekktu@gmail.com>
5452
5453 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5454 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5455 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5456 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5457 Change accordingly.
f63ebeb5
JB
5458 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5459 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5460
6ccb9cab 54612013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5462
6ccb9cab 5463 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5464
cb3a56d2
JB
54652013-07-25 Juanma Barranquero <lekktu@gmail.com>
5466
5467 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5468 parameter to modify-frame-parameters if the value has not changed;
5469 this is a workaround for bug#14949.
5470 (desktop--make-frame): On cl-delete-if call, check parameter name,
5471 not full parameter.
5472
7aa7fff0
XF
54732013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5474
5475 * vc/vc.el (vc-ignore): New function.
5476
5477 * vc/vc-svn.el (vc-svn-ignore): New function.
5478
5479 * vc/vc-hg.el (vc-hg-ignore): New function.
5480
5481 * vc/vc-git.el (vc-git-ignore): New function.
5482
5483 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5484 (vc-dir-ignore): New function.
5485
5486 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5487 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5488
5489 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5490
5491 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5492
889acc5c
JB
54932013-07-24 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5496 (desktop-restore-frames): Warn when deleting an existing frame failed.
5497
86c40970
GM
54982013-07-24 Glenn Morris <rgm@gnu.org>
5499
5500 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5501
d5d3c58a
MA
55022013-07-24 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * filenotify.el (file-notify-supported-p):
5505 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5506 Remove functions.
5507
5508 * autorevert.el (auto-revert-use-notify):
5509 (auto-revert-notify-add-watch):
5510 * net/tramp.el (tramp-file-name-for-operation):
5511 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5512 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5513 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5514 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5515 Remove `file-notify-supported-p' entry.
5516
d100084b
GM
55172013-07-24 Glenn Morris <rgm@gnu.org>
5518
5519 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5520 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5521
ac93e56b
SM
55222013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5523
249eea30
SM
5524 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5525 checked with memq (bug#14935).
5526
ac93e56b
SM
5527 * files.el (revert-buffer-function): Use a non-nil default.
5528 (revert-buffer-preserve-modes): Declare var to
5529 provide access to the `preserve-modes' argument.
5530 (revert-buffer): Let-bind it.
5531 (revert-buffer--default): New function, extracted from revert-buffer.
5532
2cdeb903
SM
55332013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * lpr.el: Signal print errors more prominently.
5536 (print-region-function): Don't default to nil.
5537 (lpr-print-region): New function, extracted from print-region-1.
5538 Check lpr's return value and signal an error in case of problem.
5539 (print-region-1): Use it.
5540 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5541 versions instead.
5542 (ps-printer-name): Default to nil.
5543 (ps-printer-name-option): Default to lpr-printer-switch.
5544 (ps-print-region-function): Don't default to nil.
5545 (ps-postscript-code-directory): Simplify default.
5546 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5547 (ps-string-list, ps-eval-switch, ps-flatten-list)
5548 (ps-flatten-list-1): Remove.
5549 (ps-multibyte-buffer): Avoid setq.
5550 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5551 (print-region-function, ps-print-region-function): Don't set them here.
5552
73600831
XF
55532013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5554
0e55c076
XF
5555 * ido.el (ido-fractionp):
5556 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5557 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5558 (ido-max-directory-size, ido-max-dir-file-cache)
5559 (ido-decorations): Doc fix.
5560
73600831
XF
5561 * ansi-color.el: Fix old URL.
5562
3d012865
MM
55632013-07-23 Michael R. Mauger <michael@mauger.com>
5564
e903c210 5565 * progmodes/sql.el: Version 3.3
3d012865
MM
5566 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5567 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5568 (sql-interactive-remove-continuation-prompt): Rewrite, use
5569 functions above. Fix continuation prompt and complete output line
5570 handling.
5571 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5572 redirected output buffer.
5573 (sql-mode): Restore deleted code (Bug#13591).
5574
da77a2e2
JB
55752013-07-23 Juanma Barranquero <lekktu@gmail.com>
5576
5577 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5578
80ff0c71
MA
55792013-07-23 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5582
5583 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5585 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5586
b61d71e4
JB
55872013-07-23 Juanma Barranquero <lekktu@gmail.com>
5588
5589 * desktop.el (desktop-clear): Simplify; remove useless checks
5590 against invalid buffer names.
5591 (desktop-list*): Use cl-list*.
5592 (desktop-buffer-info, desktop-create-buffer): Simplify.
5593
c3512092
LL
55942013-07-23 Leo Liu <sdl.web@gmail.com>
5595
5596 * bookmark.el (bookmark-make-record): Restore NAME as a default
5597 value. (Bug#14933)
5598
0ac26976
SM
55992013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5600
7d22ce18
SM
5601 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5602 extracted from autoload--insert-text.
5603 (autoload--insert-text): Remove.
5604 (autoload--print-cookie-text): New function, extracted from
5605 autoload--insert-cookie-text.
5606 (autoload--insert-cookie-text): Remove.
5607 (autoload-generate-file-autoloads): Adjust calls accordingly.
5608
9b2607e8
SM
5609 * winner.el (winner-hook-installed-p): Remove.
5610 (winner-mode): Simplify accordingly.
5611
c43a8618
SM
5612 * subr.el (add-to-list): Fix compiler-macro when `append' is
5613 not constant. Don't use `cl-member' for the base case.
5614
0ac26976
SM
5615 * progmodes/subword.el: Fix boundary case (bug#13758).
5616 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5617 own group.
5618 (subword-backward-regexp): Make it a constant.
5619 (subword-forward-internal): Don't treat a trailing capital as the
5620 beginning of a word.
5621
6874724a
AR
56222013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5623
5624 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5625 global value of tabulated-list-revert-hook (bug#14930).
5626
70f1b5e8
JB
56272013-07-22 Juanma Barranquero <lekktu@gmail.com>
5628
a1c80d9d
JB
5629 * desktop.el: Require 'cl-lib.
5630 (desktop-before-saving-frames-functions): New hook.
5631 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5632 for frames being saved. Rename from desktop--save-minibuffer-frames.
5633 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5634 Do not save frames with non-nil `desktop-dont-save' parameter.
5635 Filter out deleted frames.
a1c80d9d
JB
5636 (desktop--find-frame): Use cl-find-if.
5637 (desktop--select-frame): Use cl-(first|second|third) to access values
5638 of desktop-mini.
5639 (desktop--make-frame): Use cl-delete-if.
5640 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5641 (desktop-restore-frames): Use cl-(first|second|third) to access values
5642 of desktop-mini. Look for visible frame at the end, not while
5643 restoring frames.
5644
70f1b5e8
JB
5645 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5646 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5647 Use string-match-p, looking-at-p (bug#14927).
5648
728dc3cc
JB
56492013-07-21 Juanma Barranquero <lekktu@gmail.com>
5650
56bc453c
JB
5651 * desktop.el (desktop-saved-frame-states):
5652 Rename from desktop--saved-states; all users changed.
5653 (desktop-save-frames): Rename from desktop--save-frames.
5654 Do not save state to desktop file.
5655 (desktop-save): Save desktop-saved-frame-states to desktop file
5656 and reset to nil.
5657 (desktop-restoring-frames-p): New function.
5658 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5659 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5660 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5661
728dc3cc
JB
5662 * desktop.el: Correctly restore iconified frames.
5663 (desktop--filter-iconified-position): New function.
5664 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5665
862f1c9c
GM
56662013-07-20 Glenn Morris <rgm@gnu.org>
5667
c4074c9f
GM
5668 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5669 Let `message' do the formatting.
5670 (def-gdb-preempt-display-buffer): Add explicit format.
5671
d828e5f9
GM
5672 * image-dired.el (image-dired-track-original-file):
5673 Use with-current-buffer.
5674 (image-dired-track-thumbnail): Use with-current-buffer.
5675 Avoid changing point of wrong window.
5676
862f1c9c
GM
5677 * image-dired.el (image-dired-track-original-file):
5678 Avoid changing point of wrong window. (Bug#14909)
5679
f0398ec1 56802013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5681
5682 * progmodes/gdb-mi.el (gdb-done-or-error):
5683 Guard against "%" in gdb output. (Bug#14127)
5684
1451928f
AS
56852013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5686
763a086d
JB
5687 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5688 (Bug#14826)
f7a03897 5689
1451928f
AS
5690 * international/mule.el (coding-system-iso-2022-flags): Fix last
5691 change.
5692
99107004
KH
56932013-07-20 Kenichi Handa <handa@gnu.org>
5694
763a086d
JB
5695 * international/mule.el (coding-system-iso-2022-flags):
5696 Add `8-bit-level-4'. (Bug#8522)
99107004 5697
48494e06
LMI
56982013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5699
8ba8eec5
LMI
5700 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5701 (bug#14815).
5702
dfbc66e3
LMI
5703 * net/eww.el (eww-process-text-input): Allow inputting when the
5704 point is at the start of the line, as the properties aren't
5705 front-sticky.
5706
48494e06
LMI
5707 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5708 degenerate widths.
5709
77c92cb9
RS
57102013-07-19 Richard Stallman <rms@gnu.org>
5711
aec7da77
RS
5712 * epa.el (epa-popup-info-window): Doc fix.
5713
77c92cb9
RS
5714 * subr.el (split-string): New arg TRIM.
5715
945c5bb1
JB
57162013-07-18 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5719 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5720
e06ec67f
MA
57212013-07-18 Michael Albinus <michael.albinus@gmx.de>
5722
c7064f05 5723 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5724 `file-notify-support'. Do not autoload. Adapt all uses.
5725 (file-notify-supported-p): New defun.
5726
c7064f05
JB
5727 * autorevert.el (auto-revert-use-notify):
5728 Use `file-notify-supported-p' instead of `file-notify-support'.
5729 Adapt docstring.
e06ec67f
MA
5730 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5731
5732 * net/tramp.el (tramp-file-name-for-operation):
5733 Add `file-notify-supported-p'.
5734
5735 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5736 New defun.
5737 (tramp-sh-file-name-handler-alist): Add it as handler for
5738 `file-notify-supported-p '.
5739
5740 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5742 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5743 Add `ignore' as handler for `file-notify-*' functions.
5744
5dc8a629
EZ
57452013-07-17 Eli Zaretskii <eliz@gnu.org>
5746
5747 * simple.el (line-move-partial, line-move): Don't start vscroll or
5748 scroll-up if the current line is not taller than the window.
5749 (Bug#14881)
5750
77aea2fb
DG
57512013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5752
5753 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5754 highlight question marks in the method names as strings.
ac72c08d
DG
5755 (ruby-block-beg-keywords): Inline.
5756 (ruby-font-lock-keyword-beg-re): Extract from
5757 `ruby-font-lock-keywords'.
77aea2fb 5758
18c26d81
JD
57592013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5760
5761 * frame.el (blink-cursor-blinks): New defcustom.
5762 (blink-cursor-blinks-done): New defvar.
5763 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5764 (blink-cursor-timer-function): Check if number of blinks has been
5765 done on X and NS.
5766 (blink-cursor-suspend, blink-cursor-check): New defuns.
5767
da48522e
GM
57682013-07-15 Glenn Morris <rgm@gnu.org>
5769
5770 * edmacro.el (edmacro-format-keys): Fix previous change.
5771
0463c1ef
PE
57722013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5773
5774 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5775 The hack didn't work outside English locales anyway.
5776
b43f6451
JB
57772013-07-15 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * simple.el (define-alternatives): Rename from alternatives-define,
5780 per RMS' suggestion.
5781
b958c0ad
JB
57822013-07-14 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * desktop.el (desktop-restore-frames): Change default to t.
5785 (desktop-restore-in-current-display): Now offer more options.
5786 (desktop-restoring-reuses-frames): New customization option.
5787 (desktop--saved-states): Doc fix.
5788 (desktop-filter-parameters-alist): New variable, renamed and expanded
5789 from desktop--excluded-frame-parameters.
5790 (desktop--target-display): New variable.
5791 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5792 (desktop--filter-tty*, desktop--filter-*-color)
5793 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5794 (desktop--filter-save-desktop-parm)
5795 (desktop-restore-in-original-display-p): New functions.
5796 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5797 (desktop--save-minibuffer-frames): New function, inspired by a similar
5798 function from Martin Rudalics.
5799 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5800 (desktop--restore-in-this-display-p): Remove.
5801 (desktop--find-frame): Rename from desktop--find-frame-in-display
5802 and add predicate argument.
5803 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5804 (desktop--reuse-list): New variable.
5805 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5806 New functions.
5807 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5808
f6dd8b36
MA
58092013-07-14 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5812
2ce3c565
DG
58132013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5814
763a086d
JB
5815 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5816 Highlight conversion methods on Kernel.
2ce3c565 5817
2cdb7698
AM
58182013-07-13 Alan Mackenzie <acm@muc.de>
5819
5820 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5821 and comment it out. This out-commenting enables certain C++
5822 declarations to be parsed correctly.
5823
1a67b811
EZ
58242013-07-13 Eli Zaretskii <eliz@gnu.org>
5825
1b796d6b
EZ
5826 * international/mule.el (define-coding-system): Doc fix.
5827
1a67b811
EZ
5828 * simple.el (default-font-height): Don't call font-info if the
5829 frame's default font didn't change since the frame was created.
5830 (Bug#14838)
5831
58fbe886
LL
58322013-07-13 Leo Liu <sdl.web@gmail.com>
5833
5834 * ido.el (ido-read-file-name): Guard against non-symbol value.
5835
1f0480d4
FEG
58362013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5837
5838 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5839 in nested defuns.
5840
97ead0e5
LL
58412013-07-13 Leo Liu <sdl.web@gmail.com>
5842
5843 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5844 ido-set-matches call. (Bug#6852)
5845
0880a952
DG
58462013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5847
5848 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5849 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5850 Ruby 2.0.
5851 (ruby-font-lock-keywords): Distinguish calls to functions with
5852 module-like names from module references. Highlight character
5853 literals.
5854
a7d8babb
SDJ
58552013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5856
5857 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5858 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5859
acfcc8c5
JB
58602013-07-12 Juanma Barranquero <lekktu@gmail.com>
5861
5862 * desktop.el (desktop--v2s): Remove unused local variable.
5863 (desktop-save-buffer): Make defvar-local; adjust docstring.
5864 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5865 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5866
051f2775
AS
58672013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5868
5869 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5870
f24e7572
GM
58712013-07-12 Eli Zaretskii <eliz@gnu.org>
5872
5873 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5874 (Bug#14842)
5875
539a920c
GM
58762013-07-12 Glenn Morris <rgm@gnu.org>
5877
5878 * doc-view.el: Require cl-lib at runtime too.
5879 (doc-view-remove-if): Remove.
5880 (doc-view-search-next-match, doc-view-search-previous-match):
5881 Use cl-remove-if.
5882
5883 * edmacro.el: Require cl-lib at runtime too.
5884 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5885 (edmacro-mismatch, edmacro-subseq): Remove.
5886
5887 * shadowfile.el: Require cl-lib.
5888 (shadow-remove-if): Remove.
5889 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5890 Use cl-remove-if.
5891
5892 * wid-edit.el: Require cl-lib.
5893 (widget-choose): Use cl-remove-if.
5894 (widget-remove-if): Remove.
5895
5896 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5897 (ebrowse-delete-if-not): Remove.
5898 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5899 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5900 Use cl-delete-if-not.
5901
1048af7c
JB
59022013-07-12 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5905 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5906
6c0674ee
LL
59072013-07-12 Leo Liu <sdl.web@gmail.com>
5908
5909 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5910
a19b3c2d
GM
59112013-07-11 Glenn Morris <rgm@gnu.org>
5912
4582a01c
GM
5913 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5914 (edebug-gensym-index, edebug-gensym):
5915 Remove reimplementation of cl-gensym.
5916 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5917
5918 * thumbs.el: Require cl-lib at run-time too.
5919 (thumbs-gensym-counter, thumbs-gensym):
5920 Remove reimplementation of cl-gensym.
5921 (thumbs-temp-file): Use cl-gensym.
5922
a19b3c2d
GM
5923 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5924 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5925 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5926 (ert--union, ert--gensym-counter, ert--gensym-counter)
5927 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5928 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5929 (ert-make-test-unbound, ert--expand-should-1)
5930 (ert--expand-should, ert--should-error-handle-error)
5931 (should-error, ert--explain-equal-rec)
5932 (ert--plist-difference-explanation, ert-select-tests)
5933 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5934 Use cl-lib functions rather than reimplementations.
5935
88f6a933
MA
59362013-07-11 Michael Albinus <michael.albinus@gmx.de>
5937
5938 * net/tramp.el (tramp-methods): Extend docstring.
5939 (tramp-connection-timeout): New defcustom.
5940 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5941 (with-tramp-progress-reporter): Simplify.
5942 (tramp-process-actions): Improve messages.
5943
5944 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5945 * net/tramp-sh.el (tramp-maybe-open-connection):
5946 Use `tramp-connection-timeout'.
5947 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5948 (Bug#14808)
5949
a43d577e
LL
59502013-07-11 Leo Liu <sdl.web@gmail.com>
5951
5952 * ido.el (ido-read-file-name): Conform to the requirements of
5953 read-file-name. (Bug#11861)
5954 (ido-read-directory-name): Conform to the requirements of
5955 read-directory-name.
5956
d77974bf
JB
59572013-07-11 Juanma Barranquero <lekktu@gmail.com>
5958
5959 * subr.el (delay-warning): New function.
5960
35cb8a3e
EZ
59612013-07-10 Eli Zaretskii <eliz@gnu.org>
5962
5963 * simple.el (default-line-height): New function.
5964 (line-move-partial, line-move): Use it instead of computing the
5965 line height inline.
5966 (line-move-partial): Always compute ROWH. If the last line is
5967 partially-visible, but its text is completely visible, allow
5968 cursor to enter such a partially-visible line.
5969
525c5c77
MA
59702013-07-10 Michael Albinus <michael.albinus@gmx.de>
5971
5972 Improve error messages. (Bug#14808)
5973
5974 * net/tramp.el (tramp-current-connection): New defvar, moved from
5975 tramp-sh.el.
0ac26976 5976 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5977 needed anymore.
0ac26976
SM
5978 (tramp-error-with-buffer): Show message in minibuffer.
5979 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5980 (with-tramp-progress-reporter): Improve messages.
5981 (tramp-process-actions): Use progress reporter. Delete process in
5982 case of error. Improve messages.
5983
763a086d
JB
5984 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5985 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5986 (tramp-current-connection): Remove.
525c5c77
MA
5987 (tramp-maybe-open-connection): The car of
5988 `tramp-current-connection' are the first 3 slots of the vector.
5989
c7a4d368
TZ
59902013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5991
5992 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5993 inside continued strings.
5994
954b166e
PE
59952013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5996
5997 Timestamp fixes for undo (Bug#14824).
5998 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5999
56973319
LL
60002013-07-10 Leo Liu <sdl.web@gmail.com>
6001
6002 * files.el (require-final-newline): Allow safe local value.
6003 (Bug#14834)
6004
5550a72c
LL
60052013-07-09 Leo Liu <sdl.web@gmail.com>
6006
6007 * ido.el (ido-read-directory-name): Handle fallback.
6008 (ido-read-file-name): Update DIR to ido-current-directory.
6009 (Bug#1516)
c28b9050 6010 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6011
70c46b28
DG
60122013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6013
6014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6015 "autoload". Remove "warn lower camel case" section, previously
6016 commented out. Highlight negation char. Do not highlight the
6017 target in singleton method definitions.
6018
0b64b838
SM
60192013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6020
7fd72e2c
SM
6021 * faces.el (tty-setup-hook): Declare the hook.
6022
0b64b838
SM
6023 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6024 and detect when a guard/pred depends on local vars (bug#14773).
6025 (pcase--u1): Adjust caller.
6026
ab49d60b
EZ
60272013-07-08 Eli Zaretskii <eliz@gnu.org>
6028
6029 * simple.el (line-move-partial, line-move): Account for
6030 line-spacing.
701d79aa
EZ
6031 (line-move-partial): Avoid setting vscroll when the last
6032 partially-visible line in window is of default height.
ab49d60b 6033
2d756ae0
LMI
60342013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6035
6036 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6037 been used a while.
6038
ed095bd7
JB
60392013-07-07 Juanma Barranquero <lekktu@gmail.com>
6040
6041 * subr.el (read-quoted-char): Remove unused local variable `char'.
6042
f1e6674b
MK
60432013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6044
584ee3fc
GM
6045 * ediff.el (ediff-version): Version update.
6046 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6047 (ediff-merge-with-ancestor-command, ediff-directories-command)
6048 (ediff-directories3-command, ediff-merge-directories-command)
6049 (ediff-merge-directories-with-ancestor-command): New functions.
6050 All are command-line interfaces to ediff: to facilitate calling
6051 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6052
6053 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6054 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6055
584ee3fc
GM
6056 * viper.el (viper-version): Version update.
6057 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6058
584ee3fc
GM
60592013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6062 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6063 (viper-intercept-ESC-key): Simplify.
6064 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6065 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6066 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6067 (viper-setup-ESC-to-escape): New functions.
6068 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6069 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6070
9aff9b38
EZ
60712013-07-07 Eli Zaretskii <eliz@gnu.org>
6072
5165d44a
JB
6073 * simple.el (default-font-height, window-screen-lines):
6074 New functions.
9aff9b38
EZ
6075 (line-move, line-move-partial): Use them instead of
6076 frame-char-height and window-text-height. This makes scrolling
6077 text smoother when the buffer's default face uses a font that is
6078 different from the frame's default font.
6079
1afb1d07
JD
60802013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6081
6082 * files.el (write-file): Do not display confirm dialog for NS,
6083 it does its own dialog, which can't be cancelled (Bug#14578).
6084
23de972a
EZ
60852013-07-06 Eli Zaretskii <eliz@gnu.org>
6086
6087 * simple.el (line-move-partial): Adjust the row returned by
6088 posn-at-point for the current window-vscroll. (Bug#14567)
6089
54a42486
MA
60902013-07-06 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6093 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6094 spaces.
6095
34ada5f4
MR
60962013-07-06 Martin Rudalics <rudalics@gmx.at>
6097
6098 * window.el (window-state-put-stale-windows): New variable.
6099 (window--state-put-2): Save list of windows without matching buffer.
6100 (window-state-put): Remove "bufferless" windows if possible.
6101
11e03d89
JB
61022013-07-06 Juanma Barranquero <lekktu@gmail.com>
6103
6104 * simple.el (alternatives-define): Remove leftover :group keyword.
6105 Tweak docstring.
6106
3504a4be
LL
61072013-07-06 Leo Liu <sdl.web@gmail.com>
6108
6109 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6110 (ido-enable-virtual-buffers): New variable.
6111 (ido-buffer-internal, ido-toggle-virtual-buffers)
6112 (ido-make-buffer-list): Use it.
6113 (ido-exhibit): Support turning on and off virtual buffers
6114 automatically.
6115
61e56e2c
JB
61162013-07-06 Juanma Barranquero <lekktu@gmail.com>
6117
6118 * simple.el (alternatives-define): New macro.
6119
321e1a9c
SM
61202013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * subr.el (read-quoted-char): Use read-key.
6123 (sit-for): Let read-event decode tty input (bug#14782).
6124
d610f6dd
SB
61252013-07-05 Stephen Berman <stephen.berman@gmx.net>
6126
6127 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6128 mode command and externally. Fix various related bugs.
6129 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6130 (todo-delete-file): New command.
6131 (todo-check-file): New function.
6132 (todo-show): Handle external deletion of the file we're trying to
6133 show (bug#14688). Replace called-interactively-p by an optional
6134 prefix argument to avoid problematic interaction with catch form
6135 when byte compiled (bug#14702).
6136 (todo-quit): Handle external deletion of the archive's todo file.
6137 Make sure the buffer that was visiting the archive file is still
6138 live before trying to bury it.
6139 (todo-category-completions): Handle external deletion of any
6140 category completion files.
6141 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6142 of todo files, in case of external deletion.
6143 (todo-add-file): Replace unnecessary setq by let-binding.
6144 (todo-find-archive): Check whether there are any archives.
6145 Replace unnecessary setq by let-binding.
6146 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6147 archive buffer whether or not the archive already exists.
6148 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6149 check if the archive is new; if it is, update list of archives.
6150 (todo-default-todo-file): Allow nil to be a valid value for when
6151 there are no todo files.
6152 (todo-reevaluate-default-file-defcustom): Use corrected definition
6153 of todo-default-todo-file.
6154 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6155 (todo-delete-category, todo-show-categories-table)
6156 (todo-category-number): Clarify comment.
6157 (todo-filter-items): Clarify documentation string.
6158 (todo-show-current-file, todo-display-as-todo-file)
6159 (todo-reset-and-enable-done-separator): Tweak documentation string.
6160 (todo-done-separator): Make separator length window-width, since
6161 bug#2749 is now fixed.
6162
ddbdfd6f
MA
61632013-07-05 Michael Albinus <michael.albinus@gmx.de>
6164
321e1a9c
SM
6165 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6166 Support both "gvfs-monitor-dir" and "inotifywait".
6167 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6168 `tramp-sh-file-notify-process-filter'.
6169 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6170 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6171
96eb829a
LL
61722013-07-05 Leo Liu <sdl.web@gmail.com>
6173
6174 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6175
cf13177e
YM
61762013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6177
6178 * frame.el (display-pixel-height, display-pixel-width)
6179 (display-mm-height, display-mm-width): Mention behavior on
6180 multi-monitor setups in docstrings.
6181 (w32-display-monitor-attributes-list): Declare function.
6182 (display-monitor-attributes-list): Use it.
6183
864c58ca
MA
61842013-07-04 Michael Albinus <michael.albinus@gmx.de>
6185
6186 * filenotify.el: New package.
6187
6188 * autorevert.el (top): Require filenotify.el.
6189 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6190 instead.
6191 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6192 (auto-revert-notify-handler): Use `file-notify-*' functions.
6193
6194 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6195
321e1a9c
SM
6196 * net/tramp.el (tramp-file-name-for-operation):
6197 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6198
6199 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6200 for `file-notify-add-watch' and `file-notify-rm-watch'.
6201 (tramp-process-sentinel): Improve trace.
6202 (tramp-sh-handle-file-notify-add-watch)
6203 (tramp-sh-file-notify-process-filter)
6204 (tramp-sh-handle-file-notify-rm-watch)
6205 (tramp-get-remote-inotifywait): New defuns.
6206
96673afe
JL
62072013-07-03 Juri Linkov <juri@jurta.org>
6208
6209 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6210 call of `occur-read-primary-args' to interactive spec.
6211
6212 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6213 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6214
924494f4
MM
62152013-07-03 Matthias Meulien <orontee@gmail.com>
6216
6217 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6218 `Buffer-menu-multi-occur'. Add it to the menu.
6219 (Buffer-menu-mode): Document it in docstring.
6220 (Buffer-menu-multi-occur): New command. (Bug#14673)
6221
56f75efc
DG
62222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6223
6224 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6225 keywords and built-ins.
6226
9b057d61
GM
62272013-07-03 Glenn Morris <rgm@gnu.org>
6228
208dee4d
GM
6229 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6230
9b057d61
GM
6231 Make info-xref checks case-sensitive by default
6232 * info.el (Info-find-node, Info-find-in-tag-table)
6233 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6234 Add option for exact case matching of nodes.
6235 * info-xref.el (info-xref): New custom group.
6236 (info-xref-case-fold): New option.
6237 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6238
e01aa29c
LL
62392013-07-03 Leo Liu <sdl.web@gmail.com>
6240
6241 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6242
3086ca2e
DG
62432013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6244
6245 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6246 middle of block statement initially, lower the depth. Remove
6247 FIXME comment, not longer valid. Remove middle of block statement
6248 detection, no need to do that anymore since we've been using
6249 `ruby-parse-region' here.
6250
a3b49114
JD
62512013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6252
6253 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6254
08e5c823 62552013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6256
6257 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6258
2addf922
JB
62592013-07-01 Juanma Barranquero <lekktu@gmail.com>
6260
6261 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6262 (desktop-restore-in-current-display): New customization option.
6263 (desktop--excluded-frame-parameters): Add `font'.
6264 (desktop--save-frames): Rename from desktop--save-windows.
6265 (desktop--restore-in-this-display-p): New function.
6266 (desktop--make-full-frame): Remove unwanted width/height from
6267 full(width|height) frames.
6268 (desktop--restore-frames): Rename from desktop--restore-windows.
6269 Obey desktop-restore-current-display. Do not delete old frames or
6270 select a new frame unless we were able to restore at least one frame.
6271
ef099a94
MN
62722013-06-30 Michal Nazarewicz <mina86@mina86.com>
6273
6274 * files.el (find-file-noselect): Simplify conditional expression.
6275
6276 * remember.el (remember-append-to-file):
6277 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6278
6279 Add `remember-notes' function to store random notes across Emacs
6280 restarts.
6281 * remember.el (remember-data-file): Add :set callback to affect
6282 notes buffer (if any).
6283 (remember-notes): New command.
6284 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6285 New defcustoms for the `remember-notes' function.
6286 (remember-notes-save-and-bury-buffer): New command.
6287 (remember-notes-mode-map): New variable.
6288 (remember-mode): New minor mode.
6289 (remember-notes--kill-buffer-query): New function.
6290 * startup.el (initial-buffer-choice): Add notes to custom type.
6291
0865d506
EZ
62922013-06-30 Eli Zaretskii <eliz@gnu.org>
6293
0ba54312
EZ
6294 * bindings.el (right-char, left-char): Don't call sit-for, this is
6295 no longer needed. Use arithmetic comparison only for numerical
6296 arguments.
6297
ef099a94
MN
6298 * international/mule-cmds.el (select-safe-coding-system):
6299 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6300
2fae38e5
LMI
63012013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6302
6303 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6304 progression on degenerate tables.
ef099a94 6305 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6306
a47cbd64
JB
63072013-06-30 Juanma Barranquero <lekktu@gmail.com>
6308
6309 Some fixes and improvements for desktop frame restoration.
6310 It is still experimental and disabled by default.
6311 * desktop.el (desktop--save-windows): Put the selected frame at
6312 the head of the list.
6313 (desktop--make-full-frame): New function.
6314 (desktop--restore-windows): Try to re-select the frame that was
6315 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6316 just show an error message and continue. Set up maximized frames
6317 so they have default non-maximized dimensions.
a47cbd64 6318
6dbafa30
DG
63192013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6320
ef099a94
MN
6321 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6322 Don't start heredoc inside a string or comment.
6dbafa30 6323
4c672a0f
EZ
63242013-06-29 Eli Zaretskii <eliz@gnu.org>
6325
6326 * bindings.el (visual-order-cursor-movement): New defcustom.
6327 (right-char, left-char): Provide visual-order cursor motion by
6328 calling move-point-visually. Update the doc strings.
6329
50960f36
KH
63302013-06-28 Kenichi Handa <handa@gnu.org>
6331
6332 * international/mule.el (define-coding-system): New coding system
6333 properties :inhibit-null-byte-detection,
6334 :inhibit-iso-escape-detection, and :prefer-utf-8.
6335 (set-buffer-file-coding-system): If :charset-list property of
6336 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6337 appropriate for setting.
6338
c1ea3abf
JB
6339 * international/mule-cmds.el (select-safe-coding-system):
6340 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6341 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6342
6343 * international/mule-conf.el (prefer-utf-8): New coding system.
6344 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6345 files.
6346
75dbaf9d
IK
63472013-06-28 Ivan Kanis <ivan@kanis.fr>
6348
eadb6068
IK
6349 * net/shr.el (shr-render-region): New function.
6350
75dbaf9d
IK
6351 * net/eww.el: Autoload `eww-browse-url'.
6352
9ea5cf9f
DG
63532013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6354
c1ea3abf
JB
6355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6356 Adapt to `package-desc-version' being a list.
6357 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6358 archive element.
6359
39c0e36f
JB
63602013-06-27 Juanma Barranquero <lekktu@gmail.com>
6361
6362 New experimental feature to save&restore window and frame setup.
6363 * desktop.el (desktop-save-windows): New defcustom.
6364 (desktop--saved-states): New var.
6365 (desktop--excluded-frame-parameters): New defconst.
6366 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6367 (desktop--restore-windows, desktop--save-windows): New functions.
6368 (desktop-save): Call `desktop--save-windows'.
6369 (desktop-read): Call `desktop--restore-windows'.
6370
7f13406b
LMI
63712013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372
ef099a94 6373 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6374
1e072639
SB
63752013-06-27 Stephen Berman <stephen.berman@gmx.net>
6376
6377 * info.el (Info-try-follow-nearest-node): Move search for footnote
6378 above search for node name to prevent missing a footnote (bug#14717).
6379
f3e2cbde
SB
63802013-06-27 Stephen Berman <stephen.berman@gmx.net>
6381
6382 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6383
99906aa0
LL
63842013-06-27 Leo Liu <sdl.web@gmail.com>
6385
6386 * net/eww.el (eww-read-bookmarks): Check file size.
6387
539f75f4
SM
63882013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6391 advice--pending if newdef is nil or an autoload (bug#13820).
6392 (advice-mapc): New function.
6393
843571cb
LMI
63942013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6395
6396 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6397 probably.
23a75d7f 6398 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6399 (eww-add-bookmark): New command.
6400 (eww-bookmark-mode): New mode and commands.
a285ce99 6401 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6402 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6403
f2136e1e
GM
64042013-06-26 Glenn Morris <rgm@gnu.org>
6405
eab35f39
GM
6406 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6407 (hfy-size): Handle ttys. (Bug#14668)
6408
f2136e1e
GM
6409 * info-xref.el: Update for Texinfo 5 change in *note format.
6410 (info-xref-node-re, info-xref-note-re): New constants.
6411 (info-xref-check-buffer): Use info-xref-note-re.
6412
a49ff80c
SM
64132013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6414
a343d218
SM
6415 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6416
a49ff80c
SM
6417 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6418 nil terminate the loop (bug#14718).
6419
8308f184
LMI
64202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421
6422 * net/eww.el: Rework history traversal. When going forward/back,
6423 put these actions into the history, too, so that they can be
6424 replayed.
26bf2b82 6425 (eww-render): Move the history reset to the correct buffer.
8308f184 6426
ec64c273
JL
64272013-06-25 Juri Linkov <juri@jurta.org>
6428
6429 * files-x.el (modify-dir-local-variable): Change the header comment
6430 in the file with directory local variables. (Bug#14692)
6431
e080a9d7
JL
6432 * files-x.el (read-file-local-variable-value): Add `default'.
6433 (Bug#14710)
6434
bfbc93a1
IK
64352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6436
6437 * net/eww.el (eww-make-unique-file-name): Create a unique file
6438 name before saving to entering `y' accidentally asynchronously.
6439
64402013-06-25 Ivan Kanis <ivan@kanis.fr>
6441
6442 * net/eww.el (eww-download): New command and keystroke.
6443
16f74f10
LMI
64442013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6445
a49ff80c 6446 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6447
6448 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6449 be more consistent with Info and dired.
6450
6451 * net/eww.el (eww-mode-map): Ditto.
6452
12059709
SM
64532013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6456 packages from archives.
6457 (package-archive-contents): Change format; include obsolete packages.
6458 (package-desc): Use `dir' to mark builtin packages.
6459 (package--from-builtin): Set the `dir' field to `builtin'.
6460 (generated-autoload-file, version-control): Declare.
6461 (package-compute-transaction): Change first arg and return value to be
6462 lists of package-descs. Adjust to new package-archive-contents format.
6463 (package--add-to-archive-contents): Adjust to new
6464 package-archive-contents format.
6465 (package-download-transaction): Arg is now a list of package-descs.
6466 (package-install): If `pkg' is a package name, pass it as
6467 a requirement, so it is subject to the usual (e.g. disabled) checks.
6468 (describe-package): Accept package-desc as well.
6469 (describe-package-1): Describe a specific package-desc. Add links to
6470 other package-descs for the same package name.
6471 (package-menu-describe-package): Pass the actual package-desc.
6472 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6473 works correctly.
6474 (package-desc-status): New function.
6475 (package-menu--refresh): New function, extracted
6476 from package-menu--generate.
6477 (package-menu--generate): Use it.
6478 (package-delete): Update package-alist.
6479 (package-menu-execute): Don't call package-initialize.
6480
6481 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6482 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6483 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6484 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6485 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6486 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6487
8bbdea0f
MR
64882013-06-25 Martin Rudalics <rudalics@gmx.at>
6489
6490 * window.el (window--state-get-1): Workaround for bug#14527.
6491 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6492
e82b0991
LMI
64932013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6494
6495 * net/eww.el (eww-back-url): Implement the history by stashing all
6496 the data into a list.
d3f0f918 6497 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6498
c763842b
SM
64992013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6502 for values and use read--expression for expressions (bug#14710).
6503 (read-file-local-variable): Avoid setq.
6504 (read-file-local-variable-mode): Use minor-mode-list.
6505
bceff189
RW
65062013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6507
864c58ca 6508 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6509 for DOI URLs.
6510
45f431c6
RW
65112013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6512
864c58ca 6513 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6514 Update imenu-support when dialect changes.
6515
f42d8237
LL
65162013-06-25 Leo Liu <sdl.web@gmail.com>
6517
6518 * ido.el (ido-read-internal): Allow forward slash on windows.
6519
be549ce6
LMI
65202013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521
6522 * net/eww.el (eww): Start of strings is \\`, not ^.
6523
71d4c19d
IK
65242013-06-24 Ivan Kanis <ivan@kanis.fr>
6525
5196f88a
IK
6526 * net/shr.el (shr-browse-url): Fix interactive spec.
6527
71d4c19d
IK
6528 * net/eww.el (eww): Add a trailing slash to domain names.
6529
ae36ca55
JB
65302013-06-24 Juanma Barranquero <lekktu@gmail.com>
6531
6532 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6533
0ebd92a3
LMI
65342013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535
bdaa086b
LMI
6536 * net/shr.el (shr-browse-url): Use an external browser if given a
6537 prefix.
6538
c763842b 6539 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6540
b89fc156
IK
65412013-06-24 Ivan Kanis <ivan@kanis.fr>
6542
6543 * net/eww.el (eww): Work more correctly for file: URLs.
6544 (eww-detect-charset): Allow quoted charsets.
6545 (eww-yank-page-url): New command and keystroke.
6546
18eb4bca
DU
65472013-06-24 Daiki Ueno <ueno@gnu.org>
6548
6549 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6550 file name of gpg executable.
6551 (epg-context-program): New function.
6552 (epg-context-home-directory): New function.
6553 (epg-context-set-program): New function.
6554 (epg-context-set-home-directory): New function.
6555 (epg--start): Use `epg-context-program' instead of
6556 'epg-gpg-program'.
6557 (epg--list-keys-1): Likewise.
6558
6c6268c8
LL
65592013-06-24 Leo Liu <sdl.web@gmail.com>
6560
6561 * ido.el (ido-read-internal): Fix bug#14620.
6562
5e400cb3
JB
65632013-06-23 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * faces.el (face-documentation): Simplify.
6566 (read-face-attribute, tty-find-type, x-resolve-font-name):
6567 Use `string-match-p'.
6568 (list-faces-display): Use `string-match-p'. Simplify.
6569 (face-spec-recalc): Check face to avoid face alias loops.
6570 (read-color): Use `string-match-p' and non-capturing parenthesis.
6571
f3f9606c
LMI
65722013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6573
6574 * net/shr.el (shr-rescale-image): Use the new
6575 :max-width/:max-height functionality.
6576
a3ca09b9
IK
65772013-06-23 Ivan Kanis <ivan@kanis.fr>
6578
6579 * net/eww.el (eww-search-prefix): New variable.
6580 (eww): Use it.
f865b474
IK
6581 (eww-external-browser): New variable.
6582 (eww-mode-map): New keystroke.
6583 (eww-browse-with-external-browser): New command.
a3ca09b9 6584
e854cfc7
IK
6585 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6586
18bb9e21
JB
65872013-06-23 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6590 Don't skip aligning the next header field when padding is 0;
6591 otherwise, field width is not respected unless the title is as
6592 wide as the field.
6593
5b165ade
SM
65942013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/package.el (package-el-version): Remove.
6597 (package-process-define-package): Fix inf-loop.
6598 (package-install): Allow symbols as arguments again.
6599
12adebe9
DG
66002013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6601
6602 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6603 add some more keyword-like methods.
6604 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6605
388573ee
JB
66062013-06-22 Juanma Barranquero <lekktu@gmail.com>
6607
6608 * bs.el (bs-buffer-show-mark): Make defvar-local.
6609 (bs-mode): Use setq-local.
6610
6611 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6612 (emacs-lock--try-unlocking): Make defvar-local.
6613
4582a01c 66142013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6615
2663dd23
GM
6616 * play/cookie1.el (cookie-apropos): Minor simplification.
6617
3d94f3ad
GM
6618 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6619
f72e2fdb
DG
66202013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6621
6622 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6623 `regexp-opt', it breaks the build during dumping.
6624
73eab938
DG
66252013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6626
c763842b
SM
6627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6628 Highlight keyword-like methods on Kernel and Module with
73eab938 6629 font-lock-builtin-face.
5cf8176d
DG
6630 (auto-mode-alist): Consolidate different entries into one regexp
6631 and add more *file-s.
73eab938 6632
d26255f6
SB
66332013-06-21 Stephen Berman <stephen.berman@gmx.net>
6634
6635 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6636
6637 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6638 (diary-entry): Use it in the action of this button type instead of
6639 diary-goto-entry.
6640
6641 * calendar/todo-mode.el: New version.
6642 (todo-add-category): Append new category to end of file and give
6643 it the highest number, instead of putting it at the beginning and
6644 giving it 0. Incorporate noninteractive functionality.
6645 (todo-forward-category): Adapt to 1-based category numbering.
6646 Allow skipping over archived categories.
6647 (todo-backward-category): Derive from todo-forward-category.
6648 (todo-backward-item, todo-forward-item): Make noninteractive and
6649 delegate interactive part to new commands. Make sensitive to done items.
6650 (todo-categories): Make value an alist of category names and
6651 vectors of item counts.
6652 (todo-category-beg): Make a defconst.
6653 (todo-category-number): Use 1 instead of 0 as initial value.
6654 (todo-category-select): Make sensitive to overlays, optional item
6655 highlighting and done items.
6656 (todo-delete-item): Make sensitive to overlays and marked and done items.
6657 (todo-edit-item): Make sensitive to overlays and editing of
6658 date/time header optional. Add format checks.
6659 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6660 no-op if point is not on an item. Advertise using todo-edit-quit.
6661 (todo-edit-mode): Make sensitive to new format, font-locking, and
6662 multiple todo files.
6663 (todo-insert-item, todo-insert-item-here): Derive from
6664 todo-basic-insert-item and extend functionality.
6665 (todo-item-end, todo-item-start): Make sensitive to done items.
6666 (todo-item-string): Don't return text properties. Restore point.
6667 (todo-jump-to-category): Make sensitive to multiple todo files and
6668 todo archives. Use extended category completion.
6669 (todo-lower-item, todo-raise-item): Rename to *-priority and
6670 derive from todo-set-item-priority.
6671 (todo-mode): Derive from special-mode. Make sensitive to new
6672 format, font-locking and multiple todo files. Make read-only.
6673 (todo-mode-map): Don't suppress digit keys, so they can supply
6674 prefix arguments. Add many new key bindings.
6675 (todo-prefix): Insert as an overlay instead of file text.
6676 Change semantics from diary date expression to purely visual mark.
6677 (todo-print): Rename to todo-print-buffer. Make buffer display
6678 features printable. Remove option to restrict number of items
6679 printed. Add option to print to file.
6680 (todo-print-function): Rename to todo-print-buffer-function.
6681 (todo-quit): Extend to handle exiting new todo modes.
6682 (todo-remove-item): Make sensitive to overlays.
6683 (todo-save): Extend to buffers of filtered items.
6684 (todo-show): Make sensitive to done items, multiple todo files and
6685 new todo modes. Offer to convert legacy todo file before creating
6686 first new todo file.
6687 (todo-show-priorities): Rename to todo-top-priorities.
6688 Change semantics of value 0.
6689 (todo-top-priorities): Rename to todo-filter-top-priorities,
6690 derive from todo-filter-items and extend functionality.
6691 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6692 and extend functionality to other types of filtered items.
6693 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6694 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6695 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6696 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6697 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6698 (todo-edit-mode-hook, todo-entry-prefix-function)
6699 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6700 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6701 (todo-initials, todo-insert-threshold, todo-item-string-start)
6702 (todo-line-string, todo-menu, todo-mode-hook)
6703 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6704 (todo-print-priorities, todo-remove-separator)
6705 (todo-save-top-priorities-too, todo-string-count-lines)
6706 (todo-string-multiline-p, todo-time-string-format)
6707 (todo-tmp-buffer-name): Remove.
6708 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6709 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6710 (todo-edit-category-diary-inclusion)
6711 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6712 (todo-edit-file, todo-edit-item-date-day)
6713 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6714 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6715 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6716 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6717 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6718 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6719 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6720 (todo-filter-top-priorities-multifile, todo-find-archive)
6721 (todo-find-filtered-items-file, todo-go-to-source-item)
6722 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6723 (todo-jump-to-archive-category, todo-lower-category)
6724 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6725 (todo-move-category, todo-move-item, todo-next-button)
6726 (todo-next-item, todo-padded-string, todo-powerset)
6727 (todo-previous-button, todo-previous-item)
6728 (todo-print-buffer-to-file, todo-raise-category)
6729 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6730 (todo-set-category-number, todo-set-item-priority)
6731 (todo-set-top-priorities-in-category)
6732 (todo-set-top-priorities-in-file, todo-show-categories-table)
6733 (todo-sort-categories-alphabetically-or-numerically)
6734 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6735 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6736 (todo-toggle-item-header, todo-toggle-item-highlighting)
6737 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6738 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6739 (todo-unarchive-items, todo-unmark-category): New commands.
6740 (todo-absolute-file-name, todo-add-to-buffer-list)
6741 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6742 (todo-basic-insert-item, todo-category-completions)
6743 (todo-category-number, todo-category-string-matcher-1)
6744 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6745 (todo-check-format, todo-clear-matches)
6746 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6747 (todo-current-category, todo-date-string-matcher)
6748 (todo-define-insertion-command, todo-diary-expired-matcher)
6749 (todo-diary-goto-entry, todo-diary-item-p)
6750 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6751 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6752 (todo-done-item-section-p, todo-done-separator)
6753 (todo-done-string-matcher, todo-files, todo-filter-items)
6754 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6755 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6756 (todo-insert-category-line, todo-insert-item-from-calendar)
6757 (todo-insert-sort-button, todo-insert-with-overlays)
6758 (todo-insertion-command-name, todo-insertion-key-bindings)
6759 (todo-label-to-key, todo-longest-category-name-length)
6760 (todo-make-categories-list, todo-mode-external-set)
6761 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6762 (todo-modes-set-3, todo-multiple-filter-files)
6763 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6764 (todo-read-category, todo-read-date, todo-read-dayname)
6765 (todo-read-file-name, todo-read-time)
6766 (todo-reevaluate-category-completions-files-defcustom)
6767 (todo-reevaluate-default-file-defcustom)
6768 (todo-reevaluate-filelist-defcustoms)
6769 (todo-reevaluate-filter-files-defcustom)
6770 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6771 (todo-reset-done-separator, todo-reset-done-separator-string)
6772 (todo-reset-done-string, todo-reset-global-current-todo-file)
6773 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6774 (todo-reset-prefix, todo-set-categories)
6775 (todo-set-date-from-calendar, todo-set-show-current-file)
6776 (todo-set-top-priorities, todo-short-file-name)
6777 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6778 (todo-total-item-counts, todo-update-buffer-list)
6779 (todo-update-categories-display, todo-update-categories-sexp)
6780 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6781 New functions.
6782 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6783 New major modes.
6784 (todo-categories, todo-display, todo-edit, todo-faces)
6785 (todo-filtered): New defgroups.
6786 (todo-archived-only, todo-button, todo-category-string, todo-date)
6787 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6788 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6789 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6790 (todo-add-item-if-new-category, todo-always-add-time-string)
6791 (todo-categories-align, todo-categories-archived-label)
6792 (todo-categories-category-label, todo-categories-diary-label)
6793 (todo-categories-done-label, todo-categories-number-separator)
6794 (todo-categories-todo-label, todo-categories-totals-label)
6795 (todo-category-completions-files, todo-completion-ignore-case)
6796 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6797 (todo-done-separator-string, todo-done-string)
6798 (todo-files-function, todo-filter-done-items, todo-filter-files)
6799 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6800 (todo-initial-category, todo-initial-file, todo-item-mark)
6801 (todo-legacy-date-time-regexp, todo-mode-line-function)
6802 (todo-nondiary-marker, todo-number-prefix)
6803 (todo-print-buffer-function, todo-show-current-file)
6804 (todo-show-done-only, todo-show-first, todo-show-with-done)
6805 (todo-skip-archived-categories, todo-top-priorities-overrides)
6806 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6807 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6808 New defcustoms.
6809 (todo-category-done, todo-date-pattern, todo-date-string-start)
6810 (todo-diary-items-buffer, todo-done-string-start)
6811 (todo-filtered-items-buffer, todo-item-start)
6812 (todo-month-abbrev-array, todo-month-name-array)
6813 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6814 (todo-top-priorities-buffer): New defconsts.
6815 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6816 (todo-categories-with-marks, todo-category-string-face)
6817 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6818 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6819 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6820 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6821 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6822 (todo-font-lock-keywords, todo-global-current-todo-file)
6823 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6824 (todo-insertion-commands-args)
6825 (todo-insertion-commands-args-genlist)
6826 (todo-insertion-commands-names, todo-insertion-map)
6827 (todo-key-bindings-t, todo-key-bindings-t+a)
6828 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6829 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6830 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6831 (todo-visited): New variables.
6832
cad5d1cb
GM
68332013-06-21 Glenn Morris <rgm@gnu.org>
6834
6835 * play/cookie1.el (cookie-apropos): Add optional display argument.
6836 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6837 (psychoanalyze-pinhead): Use cookie-doctor.
6838
9e277302
JB
68392013-06-21 Juanma Barranquero <lekktu@gmail.com>
6840
6841 * emacs-lisp/package.el (tar-get-file-descriptor)
6842 (tar--extract): Declare.
6843
c5b0993e
EW
68442013-06-21 Eduard Wiebe <usenet@pusto.de>
6845
6846 Extend flymake's warning predicate to be a function (bug#14217).
6847 * progmodes/flymake.el (flymake-warning-predicate): New.
6848 (flymake-parse-line): Use it.
6849 (flymake-warning-re): Make obsolete alias to
6850 `flymake-warning-predicate'.
6851
a7d2d465
SM
68522013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6855 (package-obsolete-list): Remove.
6856 (package-activate): Remove min-version argument. Add `force' argument.
6857 Adjust to new package-alist format.
6858 (package-mark-obsolete): Remove.
6859 (package-unpack): Force reload of the package's autoloads.
6860 (package-installed-p): Check builtins if the installed package is not
6861 recent enough.
6862 (package-initialize): Don't reset package-obsolete-list.
6863 Don't specify which package version to activate.
6864 (package-process-define-package, describe-package-1)
6865 (package-menu--generate): Adjust to new package-alist format.
6866
cedf5c9d
JB
68672013-06-21 Juanma Barranquero <lekktu@gmail.com>
6868
6869 * allout-widgets.el (allout-widgets-mode-off)
6870 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6871 (allout-widgets-post-command-business)
6872 (allout-widgets-after-copy-or-kill-function)
6873 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6874 (allout-decorate-item-and-context)
6875 (allout-graphics-modification-handler): Fix typos in docstrings.
6876 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6877
6878 * cmuscheme.el (scheme-start-file): Doc fix.
6879 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6880 (scheme-input-filter): Use `string-match-p'.
6881
6882 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6883
6884 * dired-x.el: Use Dired consistently in docstrings.
6885
6886 * dired.el: Use Dired consistently in docstrings.
6887 (dired-readin, dired-mode): Use `setq-local'.
6888 (dired-switches-alist): Make defvar-local.
6889 (dired-buffers-for-dir): Use `zerop'.
6890 (dired-safe-switches-p, dired-switches-escape-p)
6891 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6892 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6893 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6894 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6895 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6896 (dired-toggle-marks, dired-mark-files-containing-regexp)
6897 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6898 (dired-flag-auto-save-files, dired-flag-backup-files):
6899 Use `looking-at-p'.
6900 (dired-mark-files-regexp, dired-build-subdir-alist):
6901 Use `string-match-p', `looking-at-p'.
6902
6903 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6904 (direct-print-region-helper): Use `string-match-p'.
6905
aed838b5
LL
69062013-06-21 Leo Liu <sdl.web@gmail.com>
6907
cedf5c9d
JB
6908 * comint.el (comint-redirect-results-list-from-process):
6909 Fix infinite loop.
aed838b5 6910
d80a808f
LMI
69112013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6912
6913 * net/eww.el (eww-update-header-line-format): Quote % characters.
6914
e7a526e3
GM
69152013-06-21 Glenn Morris <rgm@gnu.org>
6916
6917 * play/cookie1.el (cookie): New custom group.
6918 (cookie-file): New option.
6919 (cookie-check-file): New function.
6920 (cookie): Make it interactive. Make start and end messages optional.
6921 Interactively, display the result. Default to cookie-file.
6922 (cookie-insert): Default to cookie-file.
6923 (cookie-snarf): Make start and end messages optional.
6924 Default to cookie-file. Use with-temp-buffer.
6925 (cookie-read): Rename from read-cookie.
6926 Make start and end messages optional. Default to cookie-file.
6927 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6928 Do not autoload it.
e7a526e3
GM
6929 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6930 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6931
62efb35e
LL
69322013-06-21 Leo Liu <sdl.web@gmail.com>
6933
6934 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6935
21e3f963
GM
69362013-06-21 Glenn Morris <rgm@gnu.org>
6937
6938 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6939
fd846ab4
SM
69402013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6941 Daniel Hackney <dan@haxney.org>
6942
6943 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6944 Consolidate the single-file vs tarball code.
6945 (package-desc-suffix): New function.
6946 (package-desc-full-name): Don't bother inlining it.
6947 (package-load-descriptor): Return the new package-desc.
6948 (package-mark-obsolete): Remove unused arg `package'.
6949 (package-unpack): Make it work for single files as well.
6950 Make it update package-alist.
6951 (package--make-autoloads-and-stuff): Rename from
6952 package--make-autoloads-and-compile. Don't compile any more.
6953 (package--compile): New function.
6954 (package-generate-description-file): New function, extracted from
6955 package-unpack-single.
6956 (package-unpack-single): Remove.
6957 (package--with-work-buffer): Add indentation and debugging info.
6958 (package-download-single): Remove.
6959 (package-install-from-archive): Rename from package-download-tar, make
6960 it take a pkg-desc, and make it work for single files as well.
6961 (package-download-transaction): Simplify.
6962 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6963 external tar program.
6964 (package-install-from-buffer): Remove `pkg-desc' argument.
6965 Use package-tar-file-info for tar-mode buffers.
6966 (package-install-file): Simplify accordingly.
6967 (package-archive-base): Change to take a pkg-desc.
6968 * tar-mode.el (tar--check-descriptor): New function, extracted from
6969 tar-get-descriptor.
6970 (tar-get-descriptor): Use it.
6971 (tar-get-file-descriptor): New function.
6972 (tar--extract): New function, extracted from tar-extract.
6973 (tar--extract): Use it.
6974 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6975 case the summary uses non-ascii. Adjust to new calling convention of
6976 package-tar-file-info.
6977
b7deae5e
LL
69782013-06-21 Leo Liu <sdl.web@gmail.com>
6979
fd846ab4
SM
6980 * comint.el (comint-redirect-results-list-from-process):
6981 Fix random delay. (Bug#14681)
b7deae5e 6982
7a65a0b2
JB
69832013-06-21 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * profiler.el (profiler-format-number): Use log, not log10.
6986
1493c2af
JB
69872013-06-20 Juanma Barranquero <lekktu@gmail.com>
6988
6989 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6990
aff6371e
SM
69912013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6994 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6995 yet available.
6996 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6997 (AUTOGENEL): ... here.
6998 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6999 (cl--defsubst-expand): Use it.
7000
89561f72
PE
70012013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7002
7003 * subr.el (log10): Move here from C code, and declare as obsolete.
7004 All uses of (log10 X) replaced with (log X 10).
7005
47199123
JB
70062013-06-20 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7009 Declare with `defvar-local'.
7010 (tabulated-list-use-header-line, tabulated-list-entries)
7011 (tabulated-list-padding, tabulated-list-printer)
7012 (tabulated-list-sort-key): Declare with `defvar-local'.
7013 (tabulated-list-init-header, tabulated-list-print-fake-header):
7014 Use `setq-local'.
7015
4a172eab
MA
70162013-06-20 Michael Albinus <michael.albinus@gmx.de>
7017
47199123
JB
7018 * arc-mode.el (archive-mode): Add `archive-write-file' to
7019 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7020
5fc0acc0
JB
70212013-06-20 Juanma Barranquero <lekktu@gmail.com>
7022
d5b27848
JB
7023 * cus-edit.el (custom-commands): Fix typos.
7024 (custom-display): Fix tooltip text.
7025 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7026 Fix typos in docstrings.
7027 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7028 (custom-unlispify-menu-entry, custom-magic-value-create)
7029 (custom-add-see-also, custom-group-value-create): Use ?\s.
7030 (custom-guess-type, customize-apropos, editable-field)
7031 (custom-face-value-create): Use `string-match-p'.
7032 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7033
7034 * custom.el (custom-load-symbol): Use `string-match-p'.
7035
a5c581d8
JB
7036 * ansi-color.el: Convert to lexical binding.
7037 (ansi-colors): Fix URL.
7038 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7039 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7040 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7041
970ad972
G
70422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7043
7044 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7045
7046 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7047
70482013-06-19 Tom Tromey <tromey@redhat.com>
7049
7050 * net/eww.el (eww-top-url): Remove.
7051 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7052 (eww-render): Set new variables. Don't set eww-top-url.
7053 (eww-handle-link): Handle "prev", "home", and "contents".
7054 Downcase the rel text.
7055 (eww-top-url): Choose best top URL.
7056
70572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7058
7059 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7060 relying in widget.el. Using widget.el leads to too many
7061 user interface inconsistencies.
7062 (eww-self-insert): Implement entering commands in text fields.
7063 (eww-process-text-input): New function to make text input field editing
7064 work.
7065 (eww-submit): Rewrite to use the new-style form methods.
7066 (eww-select-display): Display the correct selected item.
7067 (eww-change-select): Implement changing the select value.
7068 (eww-toggle-checkbox): Implement radio/checkboxes.
7069 (eww-update-field): Fix compilation error.
7070 (eww-tag-textarea): Implement <textarea>.
7071
7072 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7073 we don't shadow mode-specific bindings.
7074
7075 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7076 nothing to push.
7077
7078 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7079
4582a01c 70802013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7081
7082 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7083
15b263dc
MA
70842013-06-19 Michael Albinus <michael.albinus@gmx.de>
7085
7086 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7087 not needed.
7088
7089 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7090
8f5297f7
LMI
70912013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7092
7093 * net/browse-url.el (browse-url-browser-function):
7094 `eww-browse-url' has the right calling signature, `eww' does not.
7095
011c4552
GM
70962013-06-19 Glenn Morris <rgm@gnu.org>
7097
2285bd27
GM
7098 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7099 Only eval autoloaded macros.
7100 (byte-compile-autoload): Only give the macro warning for macros.
7101
1d653303
GM
7102 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7103 (ps-underlined-faces): Declare.
7104
bdd779ec
GM
7105 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7106 (speedbar-add-supported-extension): Declare.
7107
011c4552
GM
7108 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7109 Don't include a date stamp in the header of the generated file;
7110 it leads to needless differences between output files.
7111
e59dfb0e
MA
71122013-06-19 Michael Albinus <michael.albinus@gmx.de>
7113
c763842b
SM
7114 * net/secrets.el (secrets-struct-secret-content-type):
7115 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7116 Some servers do not offer introspection.
e59dfb0e 7117
102626e2
SM
71182013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * electric.el (electric-pair-mode): Improve interaction with
7121 electric-layout-mode.
7122 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7123 (electric-pair-syntax): Use text-mode-syntax-table in comments
7124 and strings.
7125 (electric-pair--insert): New function.
7126 (electric-pair-post-self-insert-function): Use it and
7127 electric--after-char-pos.
7128
ad528125
LL
71292013-06-19 Leo Liu <sdl.web@gmail.com>
7130
7131 * progmodes/octave.el (octave-help): Fix regexp.
7132
924d6997
G
71332013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7134
7135 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7136 (shr-table-horizontal-line): Allow nil as a value, and change the
7137 default.
7138 (shr-insert-table-ruler): Respect the nil value.
7139
71402013-06-18 Tom Tromey <tromey@barimba>
7141
7142 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7143 New defvars.
7144 (eww-open-file): New defun.
7145 (eww-render): Initialize new variables.
7146 (eww-display-html): Handle "link" and "a".
7147 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7148 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7149 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7150 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7151 New defuns.
924d6997 7152
d1bbba4f
DG
71532013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7154
7155 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7156 Distinguish ternary operator tokens from slash symbol and slash
7157 char literal.
7158
14dd22d2
JB
71592013-06-18 Juanma Barranquero <lekktu@gmail.com>
7160
7161 Convert symbol prettification into minor mode and global minor mode.
7162
7163 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7164 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7165 (prettify-symbols--keywords): Rename from
7166 `prog-prettify-symbols-alist' and make a local defvar.
7167 (prettify-symbols--compose-symbol): Rename from
7168 `prog--prettify-font-lock-compose-symbol'.
7169 (prettify-symbols--make-keywords): Rename from
7170 `prog-prettify-font-lock-symbols-keywords' and simplify.
7171 (prog-prettify-install): Remove.
7172 (prettify-symbols-mode): New minor mode, based on
7173 `prog-prettify-install'.
7174 (turn-on-prettify-symbols-mode): New function.
7175 (global-prettify-symbols-mode): New globalized minor mode.
7176
7177 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7178 * progmodes/cfengine.el (cfengine3-mode):
7179 * progmodes/perl-mode.el (perl-mode): Don't call
7180 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7181
292c880c
JL
71822013-06-18 Juri Linkov <juri@jurta.org>
7183
7184 * files-x.el (modify-file-local-variable-message): New function.
7185 (modify-file-local-variable)
7186 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7187 and call `modify-file-local-variable-message' when it's non-nil.
7188 (add-file-local-variable, delete-file-local-variable)
7189 (add-file-local-variable-prop-line)
7190 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7191 and use it. (Bug#9820)
7192
0950aa27
JL
71932013-06-18 Juri Linkov <juri@jurta.org>
7194
7195 * emulation/vi.el (vi-shell-op):
7196 * emulation/vip.el (vip-execute-com, ex-command):
7197 * emulation/viper-cmd.el (viper-exec-bang):
7198 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7199 the call of `shell-command-on-region'. (Bug#14637)
7200
7201 * simple.el (shell-command-on-region): Doc fix.
7202
8fbcca16
SM
72032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7206 (bug#14633).
7207
dd7426ea
GM
72082013-06-18 Glenn Morris <rgm@gnu.org>
7209
4ba54f7d
GM
7210 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7211
dd7426ea
GM
7212 * newcomment.el (comment-search-forward, comment-search-backward):
7213 Doc fix. (Bug#14376)
7214
58aa805b
JB
72152013-06-18 Juanma Barranquero <lekktu@gmail.com>
7216
7217 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7218 (buffer-face-mode-invoke): Doc fix.
7219
9a08a617
MM
72202013-06-18 Matthias Meulien <orontee@gmail.com>
7221
7222 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7223 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7224
f2f426ca
GM
72252013-06-18 Glenn Morris <rgm@gnu.org>
7226
9445f99b
GM
7227 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7228 Replace obsolete function generic-make-keywords with its expansion.
7229
e0df2d14
GM
7230 * progmodes/python.el (ffap-alist): Declare.
7231
f2f426ca
GM
7232 * textmodes/reftex.el (bibtex-mode-map): Declare.
7233
f7f9a720
SM
72342013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7237 (package-unpack, package-unpack-single): Return the pkg-dir.
7238 (package-download-transaction): Use it to update package-alist.
7239
57ff04e0
LMI
72402013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
7242 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7243 possible choice.
7244
c048c022
JL
72452013-06-17 Juri Linkov <juri@jurta.org>
7246
7247 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7248
b5bcaee5
DG
72492013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7250
a020afb9
JB
7251 * emacs-lisp/package.el (package-load-descriptor):
7252 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7253 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7254
551e07e5
JB
72552013-06-17 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * startup.el (command-line): Expand package name returned by
7258 `package--description-file' (bug#14639).
7259
d363bffb
DG
72602013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7261
7262 * emacs-lisp/package.el (package-load-descriptor): Do not call
7263 `emacs-lisp-mode', just use its syntax table.
7264
f612933b
JB
72652013-06-17 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7268 `font-lock-extra-managed-props' if any prettifying keyword is added.
7269 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7270 (prog-mode): Use `setq-local'.
7271
db3b7db5
SM
72722013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * international/characters.el (standard-case-table): Set syntax of ?»
7275 and ?« to punctuation.
7276
f3d674df
JB
72772013-06-16 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7280 Save relevant match data before calling `syntax-ppss' (bug#14595).
7281
31489a32
JL
72822013-06-15 Juri Linkov <juri@jurta.org>
7283
7284 * files-x.el (modify-file-local-variable-prop-line): Add local
7285 variables to the end of the existing comment on the first line.
7286 Use `file-auto-mode-skip' to skip interpreter magic line,
7287 and also skip XML declaration.
7288
66bd25ab
SM
72892013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * startup.el (package--builtin-versions): New var.
7292 (package-subdirectory-regexp): Remove.
7293 (package--description-file): Hard code its value instead.
7294
7295 * emacs-lisp/package.el: Don't activate packages older than builtin.
7296 (package-obsolete-list): Rename from package-obsolete-alist, and make
7297 it into a simple list of package-desc.
7298 (package-strip-version): Remove.
7299 (package-built-in-p): Use package--builtin-versions.
7300 (package-mark-obsolete): Simplify.
7301 (package-process-define-package): Mark it obsolete if older than the
7302 builtin version.
7303 (package-handle-response): Use line-end-position.
7304 (package-read-archive-contents, package--download-one-archive):
7305 Simplify.
7306 (package--add-to-archive-contents): Skip if older than the builtin or
7307 installed version.
7308 (package-menu-describe-package): Fix last change.
7309 (package-list-unversioned): New var.
7310 (package-menu--generate): Use it.
7311
7312 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7313 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7314 (autoload-builtin-package-versions): New variable.
7315 (autoload-generate-file-autoloads): Use them.
7316 Remove the list of autoloaded functions/macros from the
7317 (autoload...) comments.
7318
7319 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7320
9583ec36
EZ
73212013-06-15 Eli Zaretskii <eliz@gnu.org>
7322
7323 * simple.el (line-move-partial): Don't jump to the next screen
7324 line as soon as it becomes visible. Instead, continue enlarging
7325 the vscroll until the portion of a tall screen line that's left on
7326 display is about the height of the frame's default font.
7327 (Bug#14567)
7328
f0100d8a
GM
73292013-06-15 Glenn Morris <rgm@gnu.org>
7330
b86a85ca
GM
7331 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7332 compilation-error-regexp-alist void, or local while let-bound.
7333
f0100d8a
GM
7334 * progmodes/make-mode.el (makefile-mode-syntax-table):
7335 Treat "=" as punctuation. (Bug#14614)
7336
05e7ce90
JB
73372013-06-15 Juanma Barranquero <lekktu@gmail.com>
7338
7339 * help-fns.el (describe-variable):
7340 Add extra line for permanent-local variables.
7341
12e5e86e
SH
73422013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7343
7344 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7345 Add export, import, library. (Bug#9164)
7346 (library): Set indent function.
7347
230dcbaf
GM
73482013-06-14 Glenn Morris <rgm@gnu.org>
7349
7350 * term/xterm.el (xterm--query):
7351 Stop after first matching handler. (Bug#14615)
7352
e36b2d20 73532013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7354
7355 Add support for dired in saveplace.
7356 * dired.el (dired-initial-position-hook): New variable.
7357 (dired-initial-position): Call hook to place cursor position.
7358 * saveplace.el (save-place-to-alist): Add dired position.
7359 (save-place-dired-hook): New function.
7360
0b31660d
SM
73612013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7362
bf1e6ae8
SM
7363 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7364 through a symbol rather than letrec.
7365
1b8dff23
SM
7366 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7367 (package-desc): Add `dir' field.
7368 (package-desc-full-name): New function.
7369 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7370 (package-maybe-load-descriptor): Remove.
7371 (package-load-all-descriptors): Just call package-load-descriptor.
7372 (package--disabled-p): New function.
7373 (package-desc-vers, package-desc-doc): Remove aliases.
7374 (package--dir): Remove function.
7375 (package-activate): Check if a package is disabled.
7376 (package-process-define-package): New function, extracted from
7377 define-package.
7378 (define-package): Turn into a place holder.
7379 (package-unpack-single, package-tar-file-info):
7380 Use package--description-file.
7381 (package-compute-transaction): Use package--disabled-p.
7382 (package-download-transaction): Don't call
7383 package-maybe-load-descriptor since they're all loaded anyway.
7384 (package-install): Change argument to be a pkg-desc.
7385 (package-delete): Use a single pkg-desc argument.
7386 (describe-package-1): Use package-desc-dir instead of package--dir.
7387 Use package-desc property instead of package-symbol.
7388 (package-install-button-action): Adjust accordingly.
7389 (package--push): Rewrite.
7390 (package-menu--print-info): Adjust accordingly. Change the ID format
7391 to be a pkg-desc.
7392 (package-menu-describe-package, package-menu-get-status)
7393 (package-menu--find-upgrades, package-menu-mark-upgrades)
7394 (package-menu-execute, package-menu--name-predicate):
7395 Adjust accordingly.
7396 * startup.el (package--description-file): New function.
7397 (command-line): Use it.
7398 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7399 Use package-desc-version.
7400
0b31660d
SM
7401 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7402 (byte-compile-preprocess): Use it.
7403 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7404 can't quite recognize.
7405 (byte-compile-add-to-list): Remove.
7406 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7407 (cconv-closure-convert): Add assertion.
7408
7409 * emacs-lisp/map-ynp.el: Use lexical-binding.
7410 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7411 Factor out some repeated code.
7412
de0503df
SM
74132013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * subr.el (with-eval-after-load): New macro.
7416 (eval-after-load): Allow form to be a function.
7417 take advantage of lexical-binding.
7418 (do-after-load-evaluation): Use dolist and adjust to new format.
7419 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7420
bc5c8c5a
JL
74212013-06-13 Juri Linkov <juri@jurta.org>
7422
7423 * replace.el (perform-replace): Display "symbol " and other search
7424 modes from `isearch-message-prefix' in the *Help* buffer.
7425
7426 * isearch.el (isearch-query-replace): Add " symbol" and other
7427 possible search modes from `isearch-message-prefix' to the prompt.
7428 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7429 when reading a regexp to collect.
7430
a22289f7
JL
74312013-06-13 Juri Linkov <juri@jurta.org>
7432
7433 * isearch.el (word-search-regexp): Match whitespace if the search
7434 string begins or ends in whitespace. The LAX arg is applied to
7435 both ends of the search string. Use `regexp-quote' and explicit
7436 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7437 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7438 boundaries are replaced with symbol boundaries, and characters
7439 between symbols match non-word non-symbol syntax. (Bug#14602)
7440
cb89acab
JL
74412013-06-13 Juri Linkov <juri@jurta.org>
7442
7443 * isearch.el (isearch-del-char): Don't exceed the length of
7444 `isearch-string' by the prefix arg. (Bug#14563)
7445
6e8cfc81
JL
74462013-06-13 Juri Linkov <juri@jurta.org>
7447
7448 * isearch.el (isearch-yank-word, isearch-yank-line)
7449 (isearch-char-by-name, isearch-quote-char)
7450 (isearch-printing-char, isearch-process-search-char):
7451 Add optional count prefix arg. (Bug#14563)
7452
7453 * international/isearch-x.el
7454 (isearch-process-search-multibyte-characters):
7455 Add optional count prefix arg.
7456
c23d55f4
VS
74572013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7460 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7461 lexical-binding.
7462
74632013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7464
7465 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7466
ba947bc4
GM
74672013-06-13 Glenn Morris <rgm@gnu.org>
7468
8baeb37a
GM
7469 * startup.el (tty-handle-args):
7470 Don't just discard "--" and anything after. (Bug#14608)
7471
ba947bc4
GM
7472 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7473
9abefce4
MA
74742013-06-13 Michael Albinus <michael.albinus@gmx.de>
7475
7476 Implement changes in Secret Service API. Make it backward compatible.
7477 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7478 (secrets-create-item): Use it. Prefix properties with interface.
7479
5755011f
MH
74802013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7481
7482 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7483 (term-emulate-terminal): Respect term-suppress-hard-newline.
7484
1261d2da
S
74852013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7486
7487 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7488 Only remove a `thumb-file' overlay. (Bug#14548)
7489
868490bb
GJ
74902013-06-12 Grégoire Jadi <daimrod@gmail.com>
7491
7492 * mail/reporter.el (reporter-submit-bug-report):
7493 Handle missing package-name. (Bug#14600)
7494
79d7167f
TH
74952013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7496
7497 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7498 (reftex-citation-prompt, reftex-default-bibliography)
7499 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7500 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7501 (reftex-bib-sort-author, reftex-bib-sort-year)
7502 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7503 (reftex-extract-bib-entries-from-thebibliography)
7504 (reftex-get-bibkey-default, reftex-get-bib-names)
7505 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7506 (reftex-format-bib-entry, reftex-parse-bibitem)
7507 (reftex-format-bibitem, reftex-do-citation)
7508 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7509 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7510 (reftex-insert-bib-matches, reftex-format-citation)
7511 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7512 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7513 existing comments into docstrings.
7514
5f9dbd7a
XF
75152013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7516
7517 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7518
94df41ab
AS
75192013-06-12 Andreas Schwab <schwab@suse.de>
7520
7521 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7522 for auto-save files.
7523
a7f3fecc
GM
75242013-06-12 Glenn Morris <rgm@gnu.org>
7525
001809f6
GM
7526 * ido.el (ido-delete-ignored-files): Remove.
7527 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7528 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7529
834b5ded
EL
75302013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7531
08c73ed2
EL
7532 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7533
834b5ded
EL
7534 * ido.el (ido-delete-ignored-files): New function,
7535 split from ido-make-file-list-1.
7536 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7537 (ido-make-file-list-1): Use ido-delete-ignored-files.
7538
daabf15a
LL
75392013-06-12 Leo Liu <sdl.web@gmail.com>
7540
7541 * progmodes/octave.el (inferior-octave-startup)
7542 (inferior-octave-completion-table)
7543 (inferior-octave-track-window-width-change)
7544 (octave-eldoc-function-signatures, octave-help)
7545 (octave-find-definition): Use single quoted strings.
7546 (inferior-octave-startup-args): Change default value.
7547 (inferior-octave-startup): Do not hard code "-i" and
7548 "--no-line-editing".
7549 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7550 (inferior-octave-directory-tracker): Use it.
7551 (octave-goto-function-definition): Robustify.
7552 (octave-help): Support highlighting operators in 'See also'.
7553 (octave-find-definition): Find subfunctions only in Octave mode.
7554
cf4e5178
SM
75552013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * help-fns.el (help-fns--compiler-macro): If the handler function is
7558 named, then put a link to it.
7559 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7560 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7561 (cl-typep): Use it.
7562 (cl-eval-when): Simplify debug spec.
7563 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7564 compiler-macro function instead of setting `compiler-macro-file'.
7565
99c81280 75662013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7567
7568 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7569 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7570
f56be016
SM
75712013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7572 Daniel Hackney <dan@haxney.org>
7573
7574 First part of Daniel Hackney's patch to package.el.
7575 * emacs-lisp/package.el: Use defstruct.
7576 (package-desc): New, main struct.
7577 (package--bi-desc, package--ac-desc): New structs, used to describe the
7578 format in external files.
7579 (package-desc-vers): Replace with package-desc-version accessor.
7580 (package-desc-doc): Replace with package-desc-summary accessor.
7581 (package-activate-1): Remove `package' arg since the pkg-vec now
7582 includes the name.
7583 (define-package): Use package-desc-from-define.
7584 (package-unpack-single): Change file-name arg to be a symbol.
7585 (package--add-to-archive-contents): Use package-desc-create and new
7586 accessor functions to package--ac-desc.
7587 (package-buffer-info, package-tar-file-info): Return a package-desc.
7588 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7589 arg to be a package-desc.
7590 (package-install-file): Adjust accordingly. Use \' to match EOS.
7591 (package--from-builtin): New function.
7592 (describe-package-1, package-menu--generate): Use it.
7593 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7594 (package-generate-autoloads): Idem and return the name of the file.
7595 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7596 Change pkg-info arg to be a package-desc.
7597 Use package-make-ac-desc.
7598 (package-upload-file): Use \' to match EOS.
7599 * finder.el (finder-compile-keywords): Use package-make-builtin.
7600
31119d63
SM
76012013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7602
931a2762
SM
7603 * vc/vc.el (vc-deduce-fileset): Change error message.
7604 (vc-read-backend): New function.
7605 (vc-next-action): Use it.
7606
5a3eb0c6
SM
7607 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7608
e3eb1bb7
SM
7609 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7610 (prolog-font-lock-keywords): Use regexp-opt instead.
7611 Don't manually highlight strings.
7612 (prolog-mode-variables): Simplify comment-start-skip.
7613 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7614
31119d63
SM
7615 * emacs-lisp/generic.el (generic--normalise-comments)
7616 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7617 (generic-mode-set-comments): Use them.
7618 (generic-bracket-support): Use setq-local.
7619 (generic-make-keywords-list): Declare obsolete.
7620
7de135d0
GM
76212013-06-11 Glenn Morris <rgm@gnu.org>
7622
7623 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7624 Prettify after setting font-lock-defaults. (Bug#14574)
7625
fa6bc6fd
JB
76262013-06-11 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * replace.el (query-replace, occur-read-regexp-defaults-function)
7629 (replace-search):
7630 * subr.el (declare-function, number-sequence, local-set-key)
7631 (substitute-key-definition, locate-user-emacs-file)
7632 (with-silent-modifications, split-string, eval-after-load):
7633 Fix typos, remove unneeded backslashes and reflow some docstrings.
7634
cf1f9b9a
SM
76352013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7636
7637 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7638 default for Elisp files.
7639
56602a4b
GM
76402013-06-11 Glenn Morris <rgm@gnu.org>
7641
7642 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7643 although define-derived-mode was doing this anyway. (Bug#14583)
7644
30ae0b2c
JB
76452013-06-10 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7648 Fix make-variable-buffer-local call to refer to the correct variable.
7649
fa472906
AG
76502013-06-10 Aidan Gauland <aidalgol@amuri.net>
7651
7652 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7653 (eshell-visual-subcommands, eshell-visual-options):
7654 Add summary line to docstrings. Add cross-references.
fa472906 7655
ff4871b9
GM
76562013-06-10 Glenn Morris <rgm@gnu.org>
7657
7658 * epa.el (epa-read-file-name): New function. (Bug#14510)
7659 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7660
04fcf1b0
AG
76612013-06-09 Aidan Gauland <aidalgol@amuri.net>
7662
7663 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7664 output redirection to be ignored with visual commands.
7665
88b00caa
AG
76662013-06-09 Aidan Gauland <aidalgol@amuri.net>
7667
7668 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7669 (eshell-term-initialize): Move long lambda to separate function
7670 eshell-visual-command-p.
e7b41c4c
JB
7671 * eshell/em-dirs.el (eshell-dirs-initialise):
7672 * eshell/em-script.el (eshell-script-initialize):
7673 Add missing #' to lambda.
88b00caa 7674
fda74125
LL
76752013-06-08 Leo Liu <sdl.web@gmail.com>
7676
7677 * progmodes/octave.el (octave-add-log-current-defun): New function.
7678 (octave-mode): Set add-log-current-defun-function.
7679 (octave-goto-function-definition): Do not move point if not found.
7680 (octave-find-definition): Enhance to try subfunctions first.
7681
467f3b33
GM
76822013-06-08 Glenn Morris <rgm@gnu.org>
7683
7684 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7685 (byte-compile-backward-char, byte-compile-backward-word):
7686 Improve previous change, to handle non-explicit nil.
7687
544badc3
SM
76882013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7691 (smie--opener/closer-at-point): New function.
7692 (smie--matching-block-data): Use it. Don't match from right after an
7693 opener or right before a closer. Obey smie-blink-matching-inners.
7694 Don't signal a mismatch for repeated inners like "switch..case..case".
7695
a175bf33
LL
76962013-06-07 Leo Liu <sdl.web@gmail.com>
7697
7698 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7699 to t. (Bug#14303)
ce8209d4
LL
7700 (octave-function-header-regexp): Fix. (Bug#14570)
7701 (octave-help-mode-finish-hook, octave-help-mode-finish):
7702 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7703
7704 * newcomment.el (comment-search-backward): Revert last change.
7705 (Bug#14434)
7706
7707 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7708
a822acff
EZ
77092013-06-07 Eli Zaretskii <eliz@gnu.org>
7710
7711 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7712 through xargs, to avoid failure due to MS-Windows limitations on
7713 command-line length.
7714
961166f5
GM
77152013-06-06 Glenn Morris <rgm@gnu.org>
7716
d0341459
GM
7717 * font-lock.el (lisp-font-lock-keywords-2):
7718 Treat user-error like error.
7719
961166f5
GM
7720 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7721 (byte-compile-backward-char, byte-compile-backward-word):
7722 Handle explicit nil arguments. (Bug#14565)
7723
80fa505f
AM
77242013-06-05 Alan Mackenzie <acm@muc.de>
7725
7726 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7727 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7728 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7729 (Bug#9706)
80fa505f 7730
fccdc796
SM
77312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * autorevert.el (auto-revert-notify-handler): Use memq.
7734 Hide assertion failure.
7735
7736 * skeleton.el: Use cl-lib.
7737 (skeleton-further-elements): Use defvar-local.
7738 (skeleton-insert): Use cl-progv.
7739
9bfff84b
TZ
77402013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7741
7742 * progmodes/prog-mode.el (prog-prettify-symbols)
7743 (prog-prettify-install): Update docstrings.
7744
55577e7c
SM
77452013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * simple.el: Move all the prog-mode code to prog-mode.el.
7748 * progmodes/prog-mode.el: New file.
7749 * loadup.el: Add prog-mode.el.
7750
8fc57765
TZ
77512013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7752
7753 * simple.el (prog-prettify-symbols): Add version.
7754 (prog-prettify-install): Add convenience function to prettify symbols.
7755
7756 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7757 (perl--augmented-font-lock-keywords-1)
7758 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7759 variables and use it.
7760
7761 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7762 (cfengine3-mode): Remove unneeded variable and use it.
7763
7764 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7765 (lisp--augmented-font-lock-keywords-1)
7766 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7767 Remove unneeded variables and use it.
7768
650645d5 77692013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7770
7771 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7772 to point when opening the connection. (Bug#14380)
28f5da6d 7773
781b4af6
SM
77742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * subr.el (load-history-regexp, load-history-filename-element)
7777 (eval-after-load, after-load-functions, do-after-load-evaluation)
7778 (eval-next-after-load, display-delayed-warnings)
7779 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7780 definition of save-match-data.
7781 (overriding-local-map): Remove accidental obsolescence declaration.
7782
7783 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7784
3ca0d0b4
TZ
77852013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7786
7787 Generalize symbol prettify support to prog-mode and implement it
7788 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7789 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7790 (prog--prettify-font-lock-compose-symbol)
7791 (prog-prettify-font-lock-symbols-keywords): New variables and
7792 functions to support symbol prettification.
7793 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7794 (lisp--augmented-font-lock-keywords-1)
7795 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7796 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7797 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7798 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7799 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7800 * progmodes/perl-mode.el (perl-prettify-symbols)
7801 (perl--font-lock-compose-symbol)
7802 (perl--font-lock-symbols-keywords): Move to prog-mode.
7803 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7804 (perl-font-lock-keywords-1)
7805 (perl-font-lock-keywords-2): Remove explicit prettify support.
7806 (perl--augmented-font-lock-keywords)
7807 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7808 (perl--augmented-font-lock-keywords-2, perl-mode):
7809 Implement prettify support.
3ca0d0b4 7810
976cb066
LL
78112013-06-05 Leo Liu <sdl.web@gmail.com>
7812
7813 Re-implement smie matching block highlight using
7814 show-paren-data-function. (Bug#14395)
7815 * emacs-lisp/smie.el (smie-matching-block-highlight)
7816 (smie--highlight-matching-block-overlay)
7817 (smie--highlight-matching-block-lastpos)
7818 (smie-highlight-matching-block)
7819 (smie-highlight-matching-block-mode): Remove.
7820 (smie--matching-block-data-cache): New variable.
7821 (smie--matching-block-data): New function.
7822 (smie-setup): Use smie--matching-block-data for
7823 show-paren-data-function.
7824
7825 * progmodes/octave.el (octave-mode-menu): Fix.
7826 (octave-find-definition): Skip garbage lines.
7827
208d0342
SM
78282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 Fix compilation error with simultaneous dynamic+lexical scoping.
7831 Add warning when a defvar appears after the first let-binding.
7832 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7833 (byte-compile-close-variables): Initialize it.
7834 (byte-compile--declare-var): New function.
7835 (byte-compile-file-form-defvar)
7836 (byte-compile-file-form-define-abbrev-table)
7837 (byte-compile-file-form-custom-declare-variable): Use it.
7838 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7839 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7840 (byte-compile-bind): Handle dynamic bindings that shadow
7841 lexical bindings.
7842 (byte-compile-unbind): Make arg non-optional.
7843 (byte-compile-let): Simplify.
7844 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7845 (cconv--analyse-function, cconv-analyse-form): Populate it.
7846 Protect byte-compile-bound-variables to limit the scope of defvars.
7847 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7848 Remove unneeded rule for `declare'.
7849
7850 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7851 so as to avoid depending on cl-adjoin at run-time.
7852 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7853
7854 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7855 (macroexp--warn-and-return): Use it.
7856
1ac2891e
GM
78572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * lisp/subr.el: Convert to lexical binding.
7860 (overriding-local-map): Make obsolete.
7861 (add-to-list): Doc fix. Add compiler macro.
7862 (read-key): Swap values of local maps.
7863
2587b005
LL
78642013-06-05 Leo Liu <sdl.web@gmail.com>
7865
7866 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7867
f1da3c88
LL
78682013-06-04 Leo Liu <sdl.web@gmail.com>
7869
7870 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7871 (compilation-auto-jump): Suppress the "Mark set" message to give
7872 way to exit message.
7873
3caa391f
AM
78742013-06-04 Alan Mackenzie <acm@muc.de>
7875
7876 Remove faulty optimisation from indentation calculation.
7877 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7878 search limit based on 2000 characters back from indent-point.
7879
068922a2
TH
78802013-06-03 Tassilo Horn <tsdh@gnu.org>
7881
7882 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7883
1f8fdd53
SM
78842013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7885
bbcc4d97
SM
7886 * emacs-lisp/lisp.el: Use lexical-binding.
7887 (lisp--local-variables-1, lisp--local-variables): New functions.
7888 (lisp--local-variables-completion-table): New var.
208d0342 7889 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7890
1f8fdd53
SM
7891 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7892 eagerly (bug#14422).
7893
c9628c79
MA
78942013-06-03 Michael Albinus <michael.albinus@gmx.de>
7895
7896 * autorevert.el (auto-revert-notify-enabled)
7897 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7898 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7899 (auto-revert-notify-handler): Handle also gfilenotify.
7900
e7b41c4c 7901 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7902 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7903 Remove.
c9628c79 7904
e5e4a942
JL
79052013-06-03 Juri Linkov <juri@jurta.org>
7906
7907 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7908 `M-s h .'. (Bug#14427)
7909
7910 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7911 command `hi-lock-face-symbol-at-point'.
7912 (hi-lock-face-symbol-at-point): New command.
7913 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7914 (hi-lock-menu): Add `highlight-symbol-at-point'.
7915 (hi-lock-mode): Doc fix.
7916
7917 * isearch.el (isearch-forward-symbol-at-point): New command.
7918 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7919 (isearch-highlight-regexp): Add a regexp which matches
7920 words/symbols for word/symbol mode.
7921
7922 * subr.el (find-tag-default-bounds): New function with the body
7923 mostly moved from `find-tag-default'.
7924 (find-tag-default): Move most code to `find-tag-default-bounds',
7925 call it and apply `buffer-substring-no-properties' afterwards.
7926
26b3353a
TH
79272013-06-03 Tassilo Horn <tsdh@gnu.org>
7928
781b4af6
SM
7929 * eshell/em-term.el (eshell-term-initialize):
7930 Use `cl-intersection' rather than `intersection'.
26b3353a 7931
51b60f53
XF
79322013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7933
fe054b63 7934 * vc/log-view.el: Doc fix.
d3ffe17c 7935 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7936
a0eb10b3 79372013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7938
7939 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7940 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7941 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7942 (eieio-unbound, eieio-default-superclass)
7943 (eieio--define-field-accessors, method-static, method-before)
7944 (method-primary, method-after, method-num-lists)
7945 (method-generic-before, method-generic-primary)
7946 (method-generic-after, method-num-slots)
7947 (eieio-specialized-key-to-generic-key)
7948 (eieio--check-type, class-v, class-p)
7949 (eieio-class-name, define-obsolete-function-alias)
7950 (eieio-class-parents-fast, eieio-class-children-fast)
7951 (same-class-fast-p, class-constructor, generic-p)
7952 (generic-primary-only-p, generic-primary-only-one-p)
7953 (class-option-assoc, class-option, eieio-object-p)
7954 (class-abstract-p, class-method-invocation-order)
7955 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7956 (eieio-class-un-autoload, eieio-defclass)
7957 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7958 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7959 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7960 (eieio-defgeneric-reset-generic-form)
7961 (eieio-defgeneric-form-primary-only)
7962 (eieio-defgeneric-reset-generic-form-primary-only)
7963 (eieio-defgeneric-form-primary-only-one)
7964 (eieio-defgeneric-reset-generic-form-primary-only-one)
7965 (eieio-unbind-method-implementations)
7966 (eieio--defmethod, eieio--typep)
7967 (eieio-perform-slot-validation, eieio-validate-slot-value)
7968 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7969 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7970 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7971 (eieio-slot-name-index, eieio-class-slot-name-index)
7972 (eieio-set-defaults, eieio-initarg-to-attribute)
7973 (eieio-attribute-to-initarg, eieio-c3-candidate)
7974 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7975 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7976 (eieio-class-precedence-list, eieio-generic-call-methodname)
7977 (eieio-generic-call-arglst, eieio-generic-call-key)
7978 (eieio-generic-call-next-method-list)
7979 (eieio-pre-method-execution-functions, eieio-generic-call)
7980 (eieio-generic-call-primary-only, eieiomt-method-list)
7981 (eieiomt-optimizing-obarray, eieiomt-install)
7982 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7983 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7984 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7985 (defclass): Remove `eval-and-compile' from macro.
7986 (call-next-method, shared-initialize): Instead of using
7987 `scoped-class' variable, use new eieio--scoped-class, and
7988 eieio--with-scoped-class.
7989 (initialize-instance): Rename local variable 'scoped-class' to
7990 'this-class' to remove ambiguitity from old global.
7991
7992 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7993 eieio.el.
4f405069
JB
7994 (eieio--scoped-class-stack): New variable.
7995 (eieio--scoped-class): New fcn.
890f7890
DE
7996 (eieio--with-scoped-class): New scoping macro.
7997 (eieio-defclass): Use pushnew instead of add-to-list.
7998 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7999 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8000 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8001 `scoped-class' variable, use new eieio--scoped-class, and
8002 eieio--with-scoped-class.
8003
8004 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8005
d105b0e2
TH
80062013-06-02 Tassilo Horn <tsdh@gnu.org>
8007
8008 * eshell/esh-ext.el (eshell-external-command): Pass args to
8009 `eshell-find-interpreter'.
8010 (eshell-find-interpreter): Add new second parameter ARGS.
8011
8012 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8013 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8014
8015 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8016 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8017
8018 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8019 (eshell-visual-options): New defcustom.
8020 (eshell-escape-control-x): Adapt docstring.
8021 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8022 `eshell-visual-options' in addition to `eshell-visual-commands'.
8023 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8024
f46305c8 80252013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8026
8027 * progmodes/python.el (python-indent-block-enders): Add break,
8028 continue and raise keywords.
8029
d870df21
GM
80302013-06-01 Glenn Morris <rgm@gnu.org>
8031
9133b82e
GM
8032 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8033
02c992ec 8034 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8035 * progmodes/cc-cmds.el (delete-forward-p):
8036 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8037 * progmodes/cc-engine.el (buffer-syntactic-context):
8038 * progmodes/cc-fonts.el (face-property-instance):
8039 * progmodes/cc-mode.el (set-keymap-parents):
8040 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8041 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8042 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8043 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8044 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8045
31e7b090
GM
8046 * progmodes/cc-vars.el (other): Emacs has this widget since
8047 at least 21.1, so don't (re)define it.
8048
d870df21
GM
8049 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8050 Replace the obsolete alias pcomplete-arg-quote-list.
8051
c75c93c7
LL
80522013-06-01 Leo Liu <sdl.web@gmail.com>
8053
8054 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8055 punctuation syntax.
8056 (inferior-octave-minimal-columns)
8057 (inferior-octave-last-column-width): New variables.
8058 (inferior-octave-track-window-width-change): New function.
8059 (inferior-octave-mode): Adjust column width so that Octave output,
8060 for example from 'ls', can fit into the window nicely.
8061
973d1e12
DG
80622013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8063
8064 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8065 Highlight expansions inside regexp literals.
8066
0888c286
GM
80672013-05-31 Glenn Morris <rgm@gnu.org>
8068
e26aac1f
GM
8069 * obsolete/sym-comp.el (symbol-complete):
8070 Replace obsolete completion-annotate-function.
8071
0888c286
GM
8072 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8073
19bb8e62
DG
80742013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8075
781b4af6
SM
8076 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8077 New function, checks if point is inside a literal that allows
19bb8e62
DG
8078 expression expansion.
8079 (ruby-syntax-propertize-expansion): Use it.
8080 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8081 around the body.
8082
01dea85f
JL
80832013-05-30 Juri Linkov <juri@jurta.org>
8084
8085 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8086 to "\M-si".
8087 (isearch-invisible): New variable.
8088 (isearch-forward): Doc fix.
8089 (isearch-mode): Set `isearch-invisible'
8090 to the value of `search-invisible'.
8091 (isearch-toggle-case-fold): Doc fix.
8092 (isearch-toggle-invisible): New command.
8093 (isearch-query-replace): Let-bind `search-invisible'
8094 to the value of `isearch-invisible'.
8095 (isearch-search): Use `isearch-invisible' instead of
8096 `search-invisible'. Let-bind `search-invisible'
8097 to the value of `isearch-invisible'. (Bug#11378)
8098
ab1bdce5
JL
80992013-05-30 Juri Linkov <juri@jurta.org>
8100
8101 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8102 call when `query-flag' is nil and `search-invisible' is non-nil.
8103 (Bug#11746)
8104
d6d236e2
GM
81052013-05-30 Glenn Morris <rgm@gnu.org>
8106
8accd027
GM
8107 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8108
2a8bed1c
GM
8109 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8110 (cc-require): Suppress spurious "noruntime" warnings.
8111 (cc-require-when-compile): Use fboundp, for sake of compiler.
8112
d6d236e2
GM
8113 * progmodes/cc-mode.el: Move load of cc-vars before that of
8114 cc-langs (which in turn loads cc-vars), to quieten compiler.
8115
9190b35b
SM
81162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * paren.el: Simplify the code.
8119 (show-paren-mode): Always start the timer.
8120 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8121 (show-paren--overlay, show-paren--overlay-1): Rename from
8122 show-paren-overlay and show-paren-overlay-1, and initialize to an
8123 overlay rather than to nil.
8124 (show-paren-function): Misc cleanup and simplifications.
8125
4f8d1cf6
SM
81262013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * paren.el (show-paren-data-function): New hook.
8129 (show-paren--default): New function, extracted from show-paren-function.
8130 (show-paren-function): Use show-paren-data-function.
8131
02d844b5
GM
81322013-05-30 Glenn Morris <rgm@gnu.org>
8133
d209d4a9
GM
8134 * ielm.el (ielm-map, ielm-complete-symbol):
8135 Use completion-at-point rather than obsolete functions.
8136 (inferior-emacs-lisp-mode): Doc fix.
8137 Set completion-at-point-functions, rather than
8138 comint-dynamic-complete-functions.
8139
2082faa6
GM
8140 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8141 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8142 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8143
dd8620de
GM
8144 * image.el (image-animated-p): Tweak definition.
8145
ceca95b1
GM
8146 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8147 (rlogin-process-connection-type): Tweak default. Add set-after.
8148 (rlogin-host): Doc fix.
8149 (rlogin): Tweak prompt.
8150 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8151
ee9f1acc
GM
8152 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8153 * progmodes/tcl.el (inferior-tcl-mode-map):
8154 Use completion-at-point rather than obsolete alias.
8155
45ce222e
GM
8156 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8157
02d844b5
GM
8158 * minibuffer.el (read-file-name-completion-ignore-case):
8159 Move before completion--in-region, for eager macro expansion.
8160
ac44d6c1
JL
81612013-05-29 Juri Linkov <juri@jurta.org>
8162
8163 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8164 for total count of matching lines. Add `global-matches' for total
8165 count of matches. Rename `matches' to `lines' for count of
8166 matching lines. Add `matches' for count of matches.
8167 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8168 to `prev-line' for line number of prev match endpt.
8169 Increment `matches' for every match. Print the number of
8170 matching lines in the header.
8171 (occur-context-lines): Rename `lines' to `curr-line'.
8172 Rename `prev-lines' to `prev-line'. (Bug#14017)
8173
3c9c9d38
JL
81742013-05-29 Juri Linkov <juri@jurta.org>
8175
8176 * replace.el (perform-replace): Add `skip-read-only-count',
8177 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8178 Increment them for corresponding conditions and report the number
8179 of skipped occurrences in the final message. (Bug#11746)
8180 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8181 (replace-string, replace-regexp): Doc fix.
8182
33e249a2
SM
81832013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8e399682
SM
8185 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8186
33e249a2 8187 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8188 prog-mode-map (bug#14504).
33e249a2 8189
f236dd84
LL
81902013-05-29 Leo Liu <sdl.web@gmail.com>
8191
8192 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8193 (octave-help): Small simplification.
8194
8195 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8196 off the highlight first.
8197
3694d13f
GM
81982013-05-29 Glenn Morris <rgm@gnu.org>
8199
03983bdc
GM
8200 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8201 Handle idlwave-last-system-routine-info-cons-cell being nil.
8202
bc74a74a
GM
8203 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8204 (idlwave-write-paths): Simplify via with-temp-buffer.
8205
8b394200
GM
8206 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8207 * emulation/cua-rect.el: Also load cua-base at run time.
8208
3694d13f
GM
8209 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8210 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8211 (cperl-imenu-on-info): Require imenu.
8212
336d7284
AM
82132013-05-28 Alan Mackenzie <acm@muc.de>
8214
8215 Handle "capitalised keywords" correctly.
33e249a2 8216 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8217
cb29c582
AG
82182013-05-28 Aidan Gauland <aidalgol@amuri.net>
8219
781b4af6 8220 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8221
690e44b2
GM
82222013-05-28 Glenn Morris <rgm@gnu.org>
8223
e658d75c
GM
8224 * vc/vc-arch.el (vc-exec-after): Declare.
8225 (vc-switches): Autoload.
8226 * vc/vc-bzr.el: No need to require vc when compiling.
8227 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8228 (vc-resynch-buffer, vc-dir-refresh): Declare.
8229 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8230 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8231 (vc-resynch-buffer): Declare.
8232 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8233 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8234 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8235 (grep-read-regexp, grep-read-files, grep-expand-template)
8236 (vc-dir-refresh): Declare.
8237 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8238 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8239 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8240 * vc/vc-mtn.el (vc-exec-after): Declare.
8241 (vc-switches): Autoload.
8242 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8243 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8244 (vc-file-tree-walk): Declare.
712b9732
GM
8245 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8246 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8247 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8248 * vc/vc-svn.el (vc-exec-after): Declare.
8249 (vc-switches, vc-setup-buffer): Autoload.
8250 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8251 Autoload.
8252 (vc-resynch-buffer): Declare.
8253
98e87fb3
GM
8254 * obsolete/fast-lock.el (byte-compile-warnings):
8255 Don't warn about obsolete features in this obsolete file.
8256
f5379553
GM
8257 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8258 Move definition before use.
8259
7a20ef83
GM
8260 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8261 (dun-unix-verbs): Remove dun-zippy.
8262 (dun-zippy): Remove function.
8263
690e44b2
GM
8264 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8265
3a52ccf7
JL
82662013-05-27 Juri Linkov <juri@jurta.org>
8267
8268 * replace.el (replace-search): New function with code moved out
8269 from `perform-replace'.
8270 (replace-highlight, replace-dehighlight): Move function definitions
8271 up closer to `replace-search'. (Bug#11746)
8272
d289938a
JL
82732013-05-27 Juri Linkov <juri@jurta.org>
8274
8275 * replace.el (perform-replace): Ignore invisible matches.
8276 In addition to checking `query-replace-skip-read-only', also
8277 filter out matches by calling `run-hook-with-args-until-failure'
8278 on `isearch-filter-predicates', and also check `search-invisible'
8279 for t or call `isearch-range-invisible'.
8280 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8281
66fc57e3
JL
82822013-05-27 Juri Linkov <juri@jurta.org>
8283
8284 * isearch.el (isearch-filter-predicates): Rename from
8285 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8286 (isearch-message-prefix): Display text from the property
8287 `isearch-message-prefix' of the currently active filters.
8288 (isearch-search): Don't compare `isearch-filter-predicate' with
8289 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8290 on `isearch-filter-predicates'. Also check `search-invisible' for t
8291 or call `isearch-range-invisible'.
8292 (isearch-filter-visible): Make obsolete.
8293 (isearch-lazy-highlight-search):
8294 Call `run-hook-with-args-until-failure' on
8295 `isearch-filter-predicates' and use `isearch-range-invisible'.
8296
8297 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8298 `isearch-filter-predicates' instead of `funcall'ing
8299 `isearch-filter-predicate'.
8300 (Info-mode): Set `Info-isearch-filter' to
8301 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8302
8303 * dired-aux.el (dired-isearch-filter-predicate-orig):
8304 Remove variable.
8305 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8306 (dired-isearch-filenames-end): Add and remove
8307 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8308 instead of changing the value of `isearch-filter-predicate'.
8309 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8310 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8311 Put property `isearch-message-prefix' to "filename " on
8312 `dired-isearch-filter-filenames'.
8313
8314 * wdired.el (wdired-change-to-wdired-mode):
8315 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8316 locally instead of changing `isearch-filter-predicate'.
8317 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8318
f1a60a0f
DG
83192013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8320
8321 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8322 return the commit hash (Bug#14459). Also set the
8323 `vc-git-detached' property.
8324 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8325 (vc-git-mode-line-string): Use the same help-echo format whether
8326 in detached mode or not, because we know the actual revision now.
8327 When in detached mode, shorten the revision to 7 chars.
8328
7f17cc40
SM
83292013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 * emacs-lisp/easy-mmode.el (define-minor-mode):
8332 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8333 mode hook and provide a docstring.
8334
25c8401c
AM
83352013-05-27 Alan Mackenzie <acm@muc.de>
8336
8337 Remove spurious syntax-table text properties inserted by C-y.
8338 * progmodes/cc-mode.el (c-after-change): Also clear hard
8339 syntax-table property with value nil.
8340
dde84790
MA
83412013-05-27 Michael Albinus <michael.albinus@gmx.de>
8342
8343 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8344 when reading the events; the buffer layout shall not be changed.
8345
837fd9af
LL
83462013-05-27 Leo Liu <sdl.web@gmail.com>
8347
8348 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8349 New variable.
8350 (inferior-octave-directory-tracker): Automatically re-sync
8351 default-directory.
8352 (octave-help): Improve handling of 'See also'.
8353
4fd996b3
SM
83542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8355
416f1802
SM
8356 * doc-view.el: Minor naming convention tweaks.
8357 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8358
4fd996b3
SM
8359 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8360 even if there's no `display' property yet (bug#14435).
8361
a052ef3b
EZ
83622013-05-25 Eli Zaretskii <eliz@gnu.org>
8363
4fd996b3 8364 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8365
8366 * Makefile.in (custom-deps, finder-data, autoloads)
8367 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8368 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8369 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8370
c9023370
SM
83712013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8374 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8375 Don't burp at EOB.
c9023370 8376
24d699fa
LL
83772013-05-25 Leo Liu <sdl.web@gmail.com>
8378
8379 * comint.el (comint-previous-matching-input): Do not flood the
8380 *Messages* buffer with trivial messages.
8381
17e5c0cc
SM
83822013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * progmodes/flymake.el (flymake-nop): Don't return a string.
8385 (flymake-set-at): Fix typo.
8386
8387 * simple.el (read--expression): New function, extracted from
8388 eval-expression. Set completion-at-point-functions (bug#14465).
8389 (eval-expression, eval-minibuffer): Use it.
8390
5d028165
XF
83912013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8392
8393 * progmodes/flymake.el (flymake-save-buffer-in-file)
8394 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8395 (flymake-selected-frame, flymake-log, flymake-ins-after)
8396 (flymake-set-at, flymake-get-buildfile-from-cache)
8397 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8398 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8399 Refine the doc string.
8400 (flymake-get-file-name-mode-and-masks): Reformat.
8401 (flymake-get-real-file-name-function): Fix a minor bug.
8402
7a1d7ba7
JL
84032013-05-24 Juri Linkov <juri@jurta.org>
8404
8405 * progmodes/grep.el (grep-mode-font-lock-keywords):
8406 Support =linenumber= format used by git-grep for lines with
8407 function names. (Bug#13549)
8408
650cff3d
SM
84092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8412 0 after a semi-colon; it works better for smie-auto-fill.
8413 (octave--indent-new-comment-line): New function.
8414 (octave-indent-new-comment-line): Use it (indirectly).
8415 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8416 modify comment-line-break-function.
8417
8418 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8419 (smie-setup): Use add-function to set it.
8420
9631677d
SS
84212013-05-24 Sam Steingold <sds@gnu.org>
8422
8423 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8424 argument (before the `interactive' argument).
8425
50105835
SM
84262013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * image-mode.el (image-mode-winprops): Add winprops to
8429 image-mode-winprops-alist before running
8430 image-mode-new-window-functions.
8431 * doc-view.el (doc-view-new-window-function): Don't delay
8432 doc-view-goto-page via timers (bug#14435).
8433
57b9823e
TH
84342013-05-24 Tassilo Horn <tsdh@gnu.org>
8435
8436 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8437 (doc-view-desktop-save-buffer): New function.
8438 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8439 (desktop-buffer-mode-handlers):
8440 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8441 handler.
8442 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8443 `desktop-save-buffer' function.
8444
91aafa16
MA
84452013-05-24 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8448 (tramp-gvfs-file-name-handler): Raise a user error when
8449 `tramp-gvfs-enabled' is nil.
8450 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8451 Do not raise a user error when loading package. (Bug#14447)
8452
ec076379
MA
8453 * net/xesam.el: Move to obsolete/.
8454
db785726
GM
84552013-05-24 Glenn Morris <rgm@gnu.org>
8456
af5c7606
GM
8457 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8458
e5d1916a
GM
8459 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8460
ded62b08
GM
8461 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8462 (Info-find-node, Man-getpage-in-background): Declare.
8463
9e614a3f
GM
8464 * mail/unrmail.el (unrmail):
8465 Replace obsolete detect-coding-with-priority.
8466
892f8ca3
GM
8467 * net/socks.el (socks-split-string): Use this rather than split-string.
8468 (socks-nslookup-host): Update for above change.
8469 (dynamic-choice, s5-dynamic-choice-match)
8470 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8471 Comment out unused code.
8472
3c291973
GM
8473 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8474 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8475 (gud-tooltip-echo-area): Make obsolete.
8476 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8477
43cc956b
GM
8478 * progmodes/js.el (js--optimize-arglist): Declare.
8479
dab49a3b
GM
8480 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8481
36b9d085
GM
8482 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8483 (ediff-window-C): Declare.
8484
e354ae76
GM
8485 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8486 Tweak requires to silence compiler.
8487
b8e57bf4
GM
8488 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8489 (he-search-string, he-tried-table, he-expand-list)
8490 (he-init-string, he-string-member, he-substitute-string)
8491 (he-reset-string): Declare.
8492
db785726
GM
8493 * obsolete/options.el (list-options): Use custom-variable-p,
8494 rather than obsolete alias.
8495
b3531901
SS
84962013-05-23 Sam Steingold <sds@gnu.org>
8497
8498 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8499 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8500 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8501
bdda4c66
SM
85022013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * emacs-lisp/smie.el (smie-indent-forward-token)
8505 (smie-indent-backward-token): Handle string tokens (bug#14381).
8506
c43d45f9
TH
85072013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8508
fe1eb856
RS
8509 * ielm.el (ielm-menu): New menu.
8510 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8511
fe1eb856
RS
85122013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8513
8514 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8515 Fix deactivate action.
8516
8517 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8518 Add cleveref macros.
074dd971 8519
c43d45f9
TH
8520 * lisp/textmodes/reftex-parse.el
8521 (reftex-locate-bibliography-files): Accept options for
8522 bibliography commands.
8523 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8524 Add addbibresource. Basic Biblatex support.
8525
7764286e
MA
85262013-05-23 Michael Albinus <michael.albinus@gmx.de>
8527
8528 * net/tramp-gvfs.el (top):
8529 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8530 when loading package. (Bug#14447)
8531
d361bc10
GM
85322013-05-23 Glenn Morris <rgm@gnu.org>
8533
8fa23984
GM
8534 * progmodes/js.el: No need to load comint when compiling.
8535 (ring-insert, comint-send-string, comint-send-input)
8536 (comint-last-input-end, ido-chop): Declare.
8537
a5c7df1a
GM
8538 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8539 * vc/ediff-mult.el: Adjust requires.
8540 (ediff-directories-internal, ediff-directory-revisions-internal)
8541 (ediff-patch-file-internal): Declare.
8542 * vc/ediff-ptch.el: Adjust requires.
8543 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8544 (ediff-find-file): Autoload.
8545 * vc/ediff-util.el: No need to load ediff when compiling.
8546 (ediff-regions-internal): Declare.
8547 * vc/ediff-wind.el: Adjust requires.
8548 (ediff-compute-toolbar-width): Define when compiling.
8549 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8550 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8551 (dired-get-filename, dired-get-marked-files)
8552 (ediff-last-dir-patch, ediff-patch-default-directory)
8553 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8554 (ediff-patch-buffer-internal): Declare.
8555
e2aec513
GM
8556 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8557 (ispell-process, ispell-buffer-local-words, lm-summary)
8558 (lm-section-start, lm-section-end): Declare.
8559 (checkdoc-ispell-init): Simplify.
8560
e68bbd7c
GM
8561 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8562 (he-string-member, he-reset-string, he-substitute-string): Declare.
8563
7efe0991
GM
8564 * eshell/em-ls.el: Adjust requires.
8565 (eshell-glob-regexp): Declare.
f87b1284
GM
8566 * eshell/em-tramp.el: Adjust requires.
8567 (eshell-parse-command): Autoload.
8568 * eshell/em-xtra.el: Adjust requires.
8569 (eshell-parse-command): Autoload.
8570 * eshell/esh-ext.el: Adjust requires.
8571 (eshell-parse-command, eshell-close-handles): Autoload.
8572 * eshell/esh-io.el: Adjust requires.
8573 (eshell-output-filter): Autoload.
8574 * eshell/esh-util.el: No need to load tramp when compiling.
8575 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8576 Declare.
8577 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8578 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8579 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8580 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8581 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8582 * eshell/esh-opt.el, eshell/esh-proc.el:
8583 * eshell/esh-var.el: Adjust requires.
8584 * eshell/eshell.el: Do not require esh-util twice.
8585 (eshell-add-input-to-history): Declare.
8586 (eshell-command): Check history module is active before using it.
8587
d361bc10
GM
8588 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8589
85d090a9
LL
85902013-05-22 Leo Liu <sdl.web@gmail.com>
8591
8592 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8593
5d0acd9d
MA
85942013-05-22 Michael Albinus <michael.albinus@gmx.de>
8595
8596 * autorevert.el (auto-revert-notify-add-watch)
8597 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8598 it indicates changes in file modification time.
8599
0cdffd7d
GM
86002013-05-22 Glenn Morris <rgm@gnu.org>
8601
ca5995ec
GM
8602 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8603 Always delete the autoloaded function from the noruntime and
8604 unresolved functions lists.
8605
6450907e
GM
8606 * allout.el: No need to load epa, epg, overlay when compiling.
8607 (epg-context-set-passphrase-callback, epg-list-keys)
8608 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8609 (epg-key-user-id-list): Declare.
8610
9c6906f6
GM
8611 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8612 (viper-set-parsing-style-toggling-macro)
8613 (viper-set-emacs-state-searchstyle-macros):
8614 Use called-interactively-p on Emacs.
8615 (viper-looking-back): Make it an obsolete alias. Update callers.
8616 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8617 Use looking-back rather than viper-looking-back.
8618 (viper-tmp-insert-at-eob, viper-enlarge-region)
8619 (viper-read-string-with-history, viper-register-to-point)
8620 (viper-append-to-register, viper-change-state-to-vi)
8621 (viper-backward-char-carefully, viper-forward-char-carefully)
8622 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8623 (viper-change-state-to-emacs): Declare.
8624 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8625 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8626 * emulation/viper-mous.el: Do not load viper-cmd.
8627 (viper-backward-char-carefully, viper-forward-char-carefully)
8628 (viper-forward-word, viper-adjust-window): Declare.
8629
5f70c169
GM
8630 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8631
b1b7f300
GM
8632 * progmodes/idlw-help.el (idlwave-help-fontify):
8633 Use called-interactively-p.
8634
f6ebbb46
GM
8635 * term/w32console.el (w32-get-console-codepage)
8636 (w32-get-console-output-codepage): Declare.
8637
0cdffd7d
GM
8638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8639 Remove unnecessary declarations.
8640 (dframe-message): Doc fix.
8641
8642 * info.el (dframe-select-attached-frame, dframe-current-frame):
8643 Declare.
8644
8645 * speedbar.el (speedbar-message): Make it an obsolete alias.
8646 Update all callers.
8647 (speedbar-with-attached-buffer)
8648 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8649 (speedbar-with-writable): Use backquote.
8650 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8651 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8652 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8653 rather than speedbar- aliases.
8654 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8655 (speedbar-make-specialized-keymap, speedbar-insert-button)
8656 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8657 (speedbar-do-function-pointer): Declare.
8658 (rmail-speedbar-button, rmail-speedbar-find-file)
8659 (rmail-speedbar-move-message):
8660 Use dframe-with-attached-buffer rather than speedbar- alias.
8661 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8662 (dframe-message, speedbar-make-specialized-keymap)
8663 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8664 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8665 (speedbar-insert-button, dframe-select-attached-frame)
8666 (dframe-maybee-jump-to-attached-frame)
8667 (speedbar-change-initial-expansion-list)
8668 (speedbar-previously-used-expansion-list-name): Declare.
8669 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8670 Use dframe-message, dframe-with-attached-buffer rather than
8671 speedbar- aliases.
8672 (gud-sentinel): Silence compiler.
8673 * progmodes/vhdl-mode.el (speedbar-refresh)
8674 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8675 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8676 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8677 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8678 (speedbar-file-lists, speedbar-make-tag-line)
8679 (speedbar-line-directory, speedbar-goto-this-file)
8680 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8681 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8682 (speedbar-make-button, speedbar-reset-scanners)
8683 (speedbar-files-item-info, speedbar-line-text)
8684 (speedbar-find-file-in-frame, speedbar-set-timer)
8685 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8686 (speedbar-with-writable): Do not (re)define it.
8687 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8688 rather than speedbar- alias.
8689
ee44b62a
LL
86902013-05-21 Leo Liu <sdl.web@gmail.com>
8691
8692 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8693 menu items.
8694 (octave-mode): Tweak fill-nobreak-predicate.
8695 (inferior-octave-startup): Check process to avoid infinite loop.
8696 (inferior-octave): Pop to buffer first to show abornmal process
8697 exit information.
8698
640f050f
GM
86992013-05-21 Glenn Morris <rgm@gnu.org>
8700
79458038
GM
8701 * printing.el (pr-menu-bar): Define when compiling.
8702
9cc3e83f
LL
87032013-05-21 Leo Liu <sdl.web@gmail.com>
8704
8705 * progmodes/octave.el (octave-auto-fill): Remove.
8706 (octave-indent-new-comment-line): Improve.
8707 (octave-mode): Use auto fill mode through
4f405069 8708 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8709 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8710 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8711 (octave-help): Show parent directory.
8712
f440830d
GM
87132013-05-21 Glenn Morris <rgm@gnu.org>
8714
8715 * files.el (dired-unmark):
8716 * progmodes/gud.el (gdb-input): Update declarations.
8717
8718 * calculator.el (electric, ehelp): No need to load when compiling.
8719 (Electric-command-loop, electric-describe-mode): Declare.
8720
8721 * doc-view.el (doc-view-current-converter-processes): Move before use.
8722
8723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8724 Move MODE-set-explicitly definition before use.
8725
8726 * international/mule-diag.el (mule-diag):
8727 Don't use obsolete window-system-version.
8728
8729 * mail/feedmail.el (smtpmail): No need to load when compiling.
8730 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8731
8732 * mail/mail-utils.el (rfc822): No need to load when compiling.
8733 (rfc822-addresses): Autoload it.
8734 (mail-strip-quoted-names): Trivial simplification.
8735
8736 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8737 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8738
8739 * net/snmp-mode.el (tempo): Don't duplicate requires.
8740
8741 * progmodes/prolog.el (info): No need to load when compiling.
8742 (comint): Require before shell requires it.
8743 (Info-goto-node): Autoload it.
8744 (Info-follow-nearest-node): Declare.
8745 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8746
8747 * textmodes/artist.el (picture-mode-exit): Declare.
8748
8749 * textmodes/reftex-parse.el (reftex-parse-from-file):
8750 Trivial rewrite so the compiler can parse it better.
8751
b4da2cbb
LL
87522013-05-20 Leo Liu <sdl.web@gmail.com>
8753
8754 * progmodes/octave.el (octave-help-mode-map)
8755 (octave-help-mode-finish-hook): New variables.
8756 (octave-help-mode, octave-help-mode-finish): New functions.
8757 (octave-help): Use octave-help-mode.
8758
33c0f65b
GM
87592013-05-20 Glenn Morris <rgm@gnu.org>
8760
8761 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8762
1a0a0a8a
DG
87632013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8764
8765 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8766 start at point, so that expansion starting right after opening
8767 slash in a regexp is recognized.
8768 (ruby-syntax-before-regexp-re): New defvar, extracted from
8769 ruby-syntax-propertize-function. Since the value of this regexp
8770 is looked up at runtime now, we should be able to turn
8771 `ruby-syntax-methods-before-regexp' into a defcustom later.
8772 (ruby-syntax-propertize-function): Split regexp matching into two
8773 parts, for opening and closing slashes. That allows us to skip
8774 over string interpolations and support multiline regexps.
8775 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8776 for them, which calls `ruby-syntax-propertize-expansion'.
8777 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8778 call to `ruby-syntax-propertize-function'.
8779 (ruby-syntax-propertize-expansion): Extracted from
8780 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8781 (ruby-syntax-propertize-percent-literal): Leave point right after
8782 the percent symbol, so that the expression expansion rule can
8783 propertize the contents.
462388b6
DG
8784 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8785 heredoc openers.
8786 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8787
c1a6c0a4
JL
87882013-05-18 Juri Linkov <juri@jurta.org>
8789
8790 * man.el (Man-default-man-entry): Remove `-' from the end
8791 of the default value. (Bug#14400)
8792
8051fccd
GM
87932013-05-18 Glenn Morris <rgm@gnu.org>
8794
8795 * comint.el (comint-password-prompt-regexp):
8796 Allow "password for XXX" where XXX contains colons (eg https://...).
8797
5e80b74f
LL
87982013-05-18 Leo Liu <sdl.web@gmail.com>
8799
8800 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8801 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8802 (octave-source-directories): Don't check process.
8803 (octave-source-directories, octave-find-definition): Doc fix.
8804
521a54c5
GM
88052013-05-18 Glenn Morris <rgm@gnu.org>
8806
86a94b05
GM
8807 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8808 Remove backspace/delete bindings. (Bug#14392)
8809
521a54c5
GM
8810 * cus-dep.el (custom-make-dependencies): Sort the output.
8811 (custom-versions-load-alist): Convert comment to doc.
8812
42caeb89
LL
88132013-05-17 Leo Liu <sdl.web@gmail.com>
8814
8815 * newcomment.el (comment-search-backward): Stricter in finding
8816 comment start. (Bug#14303)
8817
8818 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8819 (octave-comment-start-skip): Properly anchored.
8820
e219dd97
LL
88212013-05-17 Leo Liu <sdl.web@gmail.com>
8822
fe1eb856
RS
8823 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8824 Clean up when turned off. (Bug#14395)
e219dd97
LL
8825 (smie--highlight-matching-block-overlay): No longer buffer-local.
8826 (smie-highlight-matching-block): Adjust.
8827
dc5dcb4b
PE
88282013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8829
8830 Doc string fix for "nanoseconds" (Bug#14406).
8831 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8832 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8833
1db165f0
JB
88342013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8835
8836 * calc/calc-units.el (math-extract-units): Preserve powers
8837 of units.
8838
c7a8fcac
LL
88392013-05-17 Leo Liu <sdl.web@gmail.com>
8840
8841 * subr.el (delete-consecutive-dups): New function.
8842 * ido.el (ido-set-matches-1): Use it.
8843 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8844 * ido.el (ido-remove-consecutive-dups): Remove.
8845
f678b18a
SM
88462013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8849 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8850 regexp-opt's `words'.
8851
ebfe68e8
LL
88522013-05-16 Leo Liu <sdl.web@gmail.com>
8853
8854 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8855 (smie--highlight-matching-block-overlay)
8856 (smie--highlight-matching-block-lastpos)
8857 (smie--highlight-matching-block-timer): New variables.
8858 (smie-highlight-matching-block): New function.
8859 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8860 (smie-setup): Conditionally enable smie-blink-matching-open.
8861
bc8bc17d
WS
88622013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8863
8864 Sync with upstream verilog-mode r840.
8865 * progmodes/verilog-mode.el (verilog-mode-version)
8866 (verilog-mode-release-date): Update.
8867 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8868 (verilog-sig-tieoff): Fix string error on
8869 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8870 (verilog-read-decls): Fix parameters confusing
8871 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8872
df065a0b
EZ
88732013-05-16 Eli Zaretskii <eliz@gnu.org>
8874
8875 * subr.el (reveal-filename): New function.
8876
8877 * loadup.el: Compute Emacs executable versions on MS-Windows,
8878 where executables have the .exe extension. Add a hard link
8879 emacs-XX.YY.ZZ.exe on MS-Windows.
8880
8881 * Makefile.in (XARGS_LIMIT): New variable.
8882 (custom-deps, finder-data, autoloads)
8883 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8884 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8885 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8886 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8887
2d4bf34b
LL
88882013-05-16 Leo Liu <sdl.web@gmail.com>
8889
8890 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8891 (octave-mode-menu, octave-mode-map): Remove its uses.
8892
6b9c2d85
RZ
88932013-05-16 Reto Zimmermann <reto@gnu.org>
8894
8895 Sync with upstream vhdl mode v3.34.2.
8896 * progmodes/vhdl-mode.el: Use `push' throughout.
8897 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8898 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8899 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8900 (vhdl-actual-generic-name): New option to derive actual generic name.
8901 (vhdl-port-paste-signals): Replace formal by actual generics.
8902 (vhdl-beautify): New name for old group vhdl-align. Update users.
8903 (vhdl-beautify-options): New option.
8904 (vhdl-last-input-event): New compat alias. Use throughout.
8905 (vhdl-goto-line): Replace user level function `goto-line'.
8906 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8907 vhdl-fix-statement-buffer.
8908 (vhdl-create-mode-menu): Add some entries.
8909 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8910 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8911 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8912 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8913 to force statements on one line.
8914 (vhdl-remove-trailing-spaces-region):
8915 New, split from vhdl-remove-trailing-spaces.
8916 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8917 Respect vhdl-beautify-options.
8918 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8919 (vhdl-update-sensitivity-list): Not add with index if exists without.
8920 Not include array index with signal. Ignore keywords in comments.
8921 (vhdl-get-visible-signals): Regexp tweaks.
8922 (vhdl-template-component-inst): Handle empty library.
8923 (vhdl-template-type): Add template for 'enum' type.
8924 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8925 Use vhdl-replace-string.
8926 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8927 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8928 (vhdl-speedbar-initialize): Update for above name change.
8929 (vhdl-compose-wire-components): Fix in handling of constants.
8930 (vhdl-error-regexp-emacs-alist): New variable.
8931 (vhdl-error-regexp-add-emacs): New function;
8932 adds support for new compile.el (Emacs 22+)
8933 (vhdl-generate-makefile-1): Change target order for single lib. units.
8934 Allow use of absolute file names.
8935
9df4ec5e
LL
89362013-05-16 Leo Liu <sdl.web@gmail.com>
8937
8938 * simple.el (prog-indent-sexp): Indent enclosing defun.
8939
f5ba00a6
GM
89402013-05-15 Glenn Morris <rgm@gnu.org>
8941
ed8be7ff
GM
8942 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8943 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8944 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8945 (whitespace-highlight): Move to whitespace group.
8946
8947 * comint.el (comint-source):
8948 * pcmpl-linux.el (pcmpl-linux):
8949 * shell.el (shell-faces):
8950 * eshell/esh-opt.el (eshell-opt):
8951 * international/ccl.el (ccl): Remove empty custom groups.
8952
8953 * completion.el (dynamic-completion-mode):
8954 * jit-lock.el (jit-lock-debug-mode):
8955 * minibuffer.el (completion-in-region-mode):
8956 * type-break.el (type-break-mode-line-message-mode)
8957 (type-break-query-mode):
8958 * emulation/tpu-edt.el (tpu-edt-mode):
8959 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8960 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8961 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8962
8963 * term/xterm.el (xterm): Change parent group to terminals.
8964
8965 * master.el (master): Remove empty custom group.
8966 (master-mode): Remove unused :group argument.
8967 * textmodes/refill.el (refill): Remove empty custom group.
8968 (refill-mode): Remove unused :group argument.
8969
8970 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8971
82a7c41b
GM
8972 * cus-dep.el: Provide a feature.
8973 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8974 Don't mistakenly ignore files whose basenames match a basename
8975 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8976 Add a fallback method for getting :group.
f5ba00a6 8977
6d65486d
JL
89782013-05-15 Juri Linkov <juri@jurta.org>
8979
da547b32
JL
8980 * isearch.el (isearch-char-by-name): Rename from
8981 `isearch-insert-char-by-name'. Doc fix.
8982 (isearch-forward): Mention `isearch-char-by-name' in
8983 the docstring. (Bug#13348)
8984
6d65486d
JL
8985 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8986 `exit-minibuffer' instead of
8987 `isearch-nonincremental-exit-minibuffer'.
8988 (isearch-edit-string): Remove mention of
8989 `isearch-nonincremental-exit-minibuffer' from docstring.
8990 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8991 (isearch-forward-exit-minibuffer)
8992 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8993
c9990474
SM
89942013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8995
6e911150
SM
8996 * loadup.el: Just use unversioned DOC.
8997
c9990474
SM
8998 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8999 literals as extending to EOB.
9000 (nxml-last-fontify-end): Remove unused variable.
9001 (nxml-after-change1): Use with-silent-modifications.
9002 (nxml-extend-after-change-region): Simplify.
9003 (nxml-extend-after-change-region1): Remove function.
9004 (nxml-after-change1): Don't adjust for dependent regions.
9005 (nxml-fontify-matcher): Simplify.
9006 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9007 (xmltok-add-dependent): Remove function.
9008 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9009 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9010 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9011 unclosed <[[, <?, comment, and other literals as extending to EOB.
9012 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9013 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9014 Remove functions.
9015 (rng-do-some-validation-1): Don't mark dependent regions.
9016 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9017 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9018 (nxml-clear-dependent-regions): Remove functions.
9019 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9020 (nxml-ensure-scan-up-to-date):
9021 Don't clear&mark dependent regions.
9022
e3772e98
LL
90232013-05-15 Leo Liu <sdl.web@gmail.com>
9024
c9990474
SM
9025 * progmodes/octave.el (octave-goto-function-definition):
9026 Improve and fix callers.
e3772e98 9027
5ac2eb34
SM
90282013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9029
c46c57b0
SM
9030 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9031 the setter (bug#14387).
9032
5ac2eb34
SM
9033 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9034 surrounding group (bug#14402).
9035
180ed218
JL
90362013-05-14 Juri Linkov <juri@jurta.org>
9037
9038 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9039 (Bug#14390)
9040
0ac0fecb
GM
90412013-05-14 Glenn Morris <rgm@gnu.org>
9042
9043 * progmodes/f90.el (f90-imenu-generic-expression):
9044 Fix typo in 2013-05-08 change. (Bug#14402)
9045
2e78e6a7
JPG
90462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9047
5ac2eb34
SM
9048 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9049 Remove signals for which replies are never received.
2e78e6a7 9050
53267cca
JPG
90512013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9052
9053 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9054 (gdb-handler-alist, gdb-handler-number): Remove variables.
9055 (gdb-handler-list): New variable.
9056 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9057 (gdb-pending-handler-p, gdb-handle-reply)
9058 (gdb-remove-all-pending-triggers): New functions.
9059 (gdb-discard-unordered-replies): New defcustom.
9060 (gdb-handler): New defstruct.
9061 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9062 instead of gdb-pending-triggers. Update docstring.
9063 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9064 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9065 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9066 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9067 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9068 (gdb-frame-handler): Pending triggers are now automatically managed.
9069 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9070 Remove argument.
9071 (gdb-input): Automatically handles pending triggers. Update docstring.
9072 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9073 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9074 Update comments.
9075 (gdb-done-or-error): Now use gdb-handle-reply.
9076
d04ce803
JPG
90772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9078
9079 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9080 gdb-debug-log.
9081
0114073a
GM
90822013-05-14 Glenn Morris <rgm@gnu.org>
9083
9084 * subr.el (user-emacs-directory-warning): New option.
9085 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9086
4d25fd7e
LL
90872013-05-14 Leo Liu <sdl.web@gmail.com>
9088
9089 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9090 during redisplay.
9091 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9092 (octave-font-lock-texinfo-comment): Fix invalid search bound
9093 error: wrong side of point.
4d25fd7e 9094
27c8b6eb
GM
90952013-05-14 Glenn Morris <rgm@gnu.org>
9096
61aaeb01
GM
9097 * progmodes/flymake.el (flymake-xml-program): New option.
9098 (flymake-xml-init): Use it.
9099
5bf90bc5
GM
9100 * term/xterm.el: Provide a feature.
9101
9102 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9103
f4c7dfd2
GM
91042013-05-13 Glenn Morris <rgm@gnu.org>
9105
9106 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9107 Add compat aliases as a hack workaround. (Bug#14384)
9108
2aeb3a1d
LL
91092013-05-13 Leo Liu <sdl.web@gmail.com>
9110
b0e069c2
LL
9111 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9112 ###, and %!.
f5a9432f
LL
9113 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9114 C-M-q.
b0e069c2
LL
9115 (octave-comment-start-skip): Include %!.
9116 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9117
30ea8374
LL
91182013-05-12 Leo Liu <sdl.web@gmail.com>
9119
9120 * progmodes/octave.el (inferior-octave-startup): Store the value
9121 of __octave_srcdir__ for octave-source-directories.
9122 (inferior-octave-check-process): New function refactored out of
9123 inferior-octave-send-list-and-digest.
9124 (octave-source-directories)
9125 (octave-find-definition-filename-function): New variables.
9126 (octave-source-directories)
9127 (octave-find-definition-default-filename): New functions.
9128 (octave-find-definition): Improve to find functions implemented in C++.
9129
472a3834
GM
91302013-05-12 Glenn Morris <rgm@gnu.org>
9131
9132 * calendar/diary-lib.el (diary-outlook-format-1):
9133 Don't include dayname in the output. (Bug#14349)
9134
3191b52f
GM
91352013-05-11 Glenn Morris <rgm@gnu.org>
9136
0060ac73
GM
9137 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9138
3191b52f
GM
9139 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9140 Treat cc-provide like provide.
9141
e065ba74
KR
91422013-05-11 Kevin Ryde <user42@zip.com.au>
9143
9144 * cus-dep.el (custom-make-dependencies):
9145 Use generated-autoload-load-name for the sake of files such
9146 such cedet/semantic/bovine/c.el, where the base file name
9147 is not in load-path. (Bug#5277)
9148
36f84c37
GM
91492013-05-11 Glenn Morris <rgm@gnu.org>
9150
9151 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9152 Provide features.
9153
c8730c3a
LL
91542013-05-11 Leo Liu <sdl.web@gmail.com>
9155
9156 * progmodes/octave.el (octave-indent-comment): Improve.
9157 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9158 (octave-eldoc-function-signatures, octave-eldoc-function):
9159 New functions.
c8730c3a
LL
9160 (octave-mode, inferior-octave-mode): Add eldoc support.
9161
212e29f2
RS
91622013-05-11 Richard Stallman <rms@gnu.org>
9163
9164 * epa.el (epa-decrypt-file): Take output file name as argument
9165 and read it using `interactive'.
9166
083fe0d7
LL
91672013-05-11 Leo Liu <sdl.web@gmail.com>
9168
9169 * progmodes/octave.el (octave-beginning-of-line)
9170 (octave-end-of-line): Check before using up-list because it jumps
9171 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9172 (octave-indent-comment): New function.
9173 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9174 (octave-begin-keywords, octave-end-keywords)
9175 (octave-reserved-words, octave-smie-bnf-table)
9176 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9177
8582e4c4
GM
91782013-05-11 Glenn Morris <rgm@gnu.org>
9179
f20def1f
GM
9180 * faces.el (internal-face-x-get-resource):
9181 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9182 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9183 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9184 Fix declarations.
f20def1f 9185
445f95e2
GM
9186 * calc/calc-menu.el: Make it loadable in isolation.
9187
9188 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9189 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9190 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9191 (eudc-bbdb-query-internal): Require 'bbdb.
9192
99fb2756
GM
9193 * lpr.el (lpr-headers-switches):
9194 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9195
9196 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9197
0da7ad96
GM
9198 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9199
8582e4c4
GM
9200 * term.el (term-set-escape-char): Make it idempotent.
9201
f71c50d0
LL
92022013-05-10 Leo Liu <sdl.web@gmail.com>
9203
5ac2eb34
SM
9204 * progmodes/octave.el (inferior-octave-completion-table):
9205 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9206 completion due to bug#11906.
9207 (octave-beginning-of-defun): Re-write to be more general.
9208
d5837773
GM
92092013-05-10 Glenn Morris <rgm@gnu.org>
9210
9211 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9212
027c0f75
SM
92132013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * comint.el (comint-redirect-send-command-to-process): Use :around
9216 rather than :override for comint-redirect-filter.
9217 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9218 Call it instead of comint-redirect-original-filter-function (which
9219 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9220
4465bfb4
JD
92212013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9222
9223 * frame.el (display-monitor-attributes-list): Add NS case.
9224 (ns-display-monitor-attributes-list): Declare.
9225
2d809ffa 92262013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9227
9228 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9229
e54eeb9b
GM
92302013-05-09 Glenn Morris <rgm@gnu.org>
9231
56cd351d
GM
9232 * international/fontset.el (vertical-centering-font-regexp):
9233 Set standard-value.
9234
d84b6108
GM
9235 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9236
a931698a
GM
9237 * bookmark.el (bookmark-search-delay):
9238 * cus-start.el (vertical-centering-font-regexp):
9239 * ps-mule.el (ps-mule-font-info-database-default):
9240 * ps-print.el (ps-default-fg, ps-default-bg):
9241 * type-break.el (type-break-good-break-interval):
9242 * whitespace.el (whitespace-indentation-regexp)
9243 (whitespace-space-after-tab-regexp):
9244 * emacs-lisp/testcover.el (testcover-1value-functions)
9245 (testcover-noreturn-functions, testcover-progn-functions)
9246 (testcover-prog1-functions):
9247 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9248 * eshell/em-glob.el (eshell-glob-translate-alist):
9249 * play/tetris.el (tetris-tty-colors):
9250 * progmodes/cpp.el (cpp-face-default-list):
9251 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9252 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9253 (idlwave-help-browser-generic-args):
9254 * progmodes/make-mode.el (makefile-special-targets-list):
9255 * progmodes/python.el (python-shell-virtualenv-path):
9256 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9257 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9258 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9259 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9260 * textmodes/reftex-vars.el (reftex-format-label-function):
9261 * textmodes/remember.el (remember-diary-file): Fix custom types.
9262
e54eeb9b
GM
9263 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9264 Add :version.
9265
455851dd
LL
92662013-05-09 Leo Liu <sdl.web@gmail.com>
9267
9268 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9269 Restore file completion. (Bug#14300)
455851dd
LL
9270 (inferior-octave-startup): Fix incorrect highlighting for the
9271 first prompt.
9272
a9e4425b
SM
92732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * progmodes/ruby-mode.el: First cut at SMIE support.
9276 (ruby-use-smie): New var.
9277 (ruby-smie-grammar): New constant.
9278 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9279 (ruby-smie--forward-token, ruby-smie--backward-token)
9280 (ruby-smie-rules): New functions.
9281 (ruby-mode-variables): Setup SMIE if applicable.
9282
060ca408
EZ
92832013-05-08 Eli Zaretskii <eliz@gnu.org>
9284
9285 * simple.el (line-move-visual): Signal beginning/end of buffer
9286 only if vertical-motion moved less than it was requested. Avoids
9287 silly incorrect error messages when there are display strings with
9288 multiple newlines at EOL.
9289
1d5963cc
SM
92902013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9293 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9294 (prolog-char-quote-workaround):
9295 * progmodes/cperl-mode.el (cperl-under-as-char):
9296 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9297 Mark as obsolete.
9298 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9299 their declaration.
9300 (vhdl-mode-syntax-table-init): Remove.
9301
c9990474
SM
9302 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9303 last change.
1d5963cc
SM
9304
9305 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9306 syntax for "_".
9307 (ld-script-font-lock-keywords):
9308 Change regexps to use things like \_< and \_>.
9309
9310 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9311 Change all regexps to use things like \_< and \_>.
9312
9313 * progmodes/autoconf.el (autoconf-definition-regexp)
9314 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9315 Handle a _ with symbol syntax.
9316 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9317
c9990474
SM
9318 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9319 Consolidate declaration.
1d5963cc
SM
9320 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9321 the declaration.
9322 (ada-create-syntax-table): Remove.
9323 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9324 already has the right syntax nowadays.
9325 (ada-goto-next-word): Don't change the syntax of "_".
9326
9327 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9328 with-wrapper-hook.
9329
72d3cfca
SS
93302013-05-08 Sam Steingold <sds@gnu.org>
9331
9332 * thingatpt.el (thing-at-point): Accept optional second argument
9333 NO-PROPERTIES to strip the text properties from the return value.
9334 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9335 to `thing-at-point' instead of stripping the properties ourselves.
9336 Also, when `thing-at-point' fails to find a url, prepend "http://"
9337 to the filename at point on the assumption that the user is
9338 pointing at something like gnu.org/gnu.
9339
5cb15713
JB
93402013-05-08 Juanma Barranquero <lekktu@gmail.com>
9341
9342 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9343 * faces.el (crm-separator):
9344 Silence byte-compiler.
9345
9346 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9347 (tool-bar-map): Remove unneeded defvars.
9348
ea78b95b
LL
93492013-05-08 Leo Liu <sdl.web@gmail.com>
9350
9351 Re-work a fix for bug#10994 based on Le Wang's patch.
9352 * ido.el (ido-remove-consecutive-dups): New helper.
9353 (ido-completing-read): Use it.
9354 (ido-chop): Revert fix for bug#10994.
9355
dc7466df
AS
93562013-05-08 Adam Spiers <emacs@adamspiers.org>
9357
9358 * cus-edit.el (custom-save-variables):
9359 Pretty-print long values. (Bug#14187)
9360
9ecf672a
GM
93612013-05-08 Glenn Morris <rgm@gnu.org>
9362
9363 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9364 (m4-mode-syntax-table): Init in the defvar.
9365 (m4-mode-abbrev-table): Let define-derived-mode define it.
9366
3f555be8
TT
93672013-05-08 Tom Tromey <tromey@redhat.com>
9368
9369 * progmodes/m4-mode.el (m4-mode-syntax-table):
9370 Do not treat "_" as word constituent. (Bug#14167)
9371
7cc8ae06
GM
93722013-05-07 Glenn Morris <rgm@gnu.org>
9373
4f58bc06
GM
9374 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9375 Remove explicit eshell-isearch-cancel-map.
9376
7cc8ae06
GM
9377 * progmodes/f90.el (f90-smart-end-names): New option.
9378 (f90-smart-end): Doc fix.
9379 (f90-end-block-optional-name): New constant.
9380 (f90-block-match): Respect f90-smart-end-names.
9381
ceb57e59
SM
93822013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9385 about implicit semi-colons (bug#14218).
9386
4e3f9230
YM
93872013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9388
9389 * frame.el (display-monitor-attributes-list)
9390 (frame-monitor-attributes): New functions.
9391
203a5572
LL
93922013-05-06 Leo Liu <sdl.web@gmail.com>
9393
9394 * progmodes/octave.el (octave-syntax-propertize-function): Change
9395 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9396 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9397 (octave-completion-at-point): Rename from
203a5572
LL
9398 octave-completion-at-point-function.
9399 (inferior-octave-directory-tracker): Robustify.
9400 (octave-text-functions): Remove and fix its uses. No such things
9401 any more.
9402
ee6cff99
SM
94032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * emacs-lisp/trace.el (trace--display-buffer): New function.
9406 (trace-make-advice): Use it.
9407
32985194
JL
94082013-05-06 Juri Linkov <juri@jurta.org>
9409
9410 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9411 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9412 Doc fix.
9413 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9414 in the help string. (Bug#12985)
9415
a1c700de
KD
94162013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9417
9418 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9419
c67c0839
SM
94202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9421
323885fd
SM
9422 * progmodes/perl-mode.el: Add support for here documents.
9423 (perl-syntax-propertize-function): Match here-doc markers.
9424 (perl-syntax-propertize-special-constructs): Find their end.
9425 (perl-imenu-generic-expression): Use [:alnum:].
9426
c67c0839
SM
9427 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9428 (advice--add-function): Refresh the advice if already present
9429 (bug#14317).
9430
d491e7a8
IA
94312013-05-06 Ivan Andrus <darthandrus@gmail.com>
9432
9433 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9434
ddf9925e
GM
94352013-05-06 Glenn Morris <rgm@gnu.org>
9436
7cc3af27
GM
9437 * w32-fns.el (w32-charset-info-alist): Declare.
9438
16e343d6
GM
9439 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9440 of its defcustom properties.
9441 (eshell-cmpl-initialize): No need to load pcomplete.
9442
7d889a47
GM
9443 * generic-x.el: No need to require comint when compiling.
9444
ddf9925e
GM
9445 * net/eudc-export.el: Make it loadable without bbdb.
9446 (top-level): Use require rather than load-library.
9447 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9448 (eudc-batch-export-records-to-bbdb)
9449 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9450 Require bbdb.
9451
1e2c18df
SM
94522013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9455 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9456 some tweaks, instead.
9457
02502a5f
LL
94582013-05-05 Leo Liu <sdl.web@gmail.com>
9459
9460 * progmodes/octave.el (octave-font-lock-keywords)
9461 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9462 (inferior-octave-send-list-and-digest): Improve error message.
9463 (octave-mode, inferior-octave-mode): Use setq-local.
9464 (octave-help): Set info-lookup-mode.
9465
0dc04f42
RS
94662013-05-05 Richard Stallman <rms@gnu.org>
9467
6c54491c
RS
9468 * vc/compare-w.el (compare-windows-whitespace):
9469 Treat no-break space as whitespace.
9470
0dc04f42
RS
9471 * mail/rmailsum.el (rmail-summary-rmail-update):
9472 Detect empty summary and don't change selected message.
9473 (rmail-summary-goto-msg): Likewise.
9474
df8f35df
RS
9475 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9476 Doc fixes, rename args.
9477
5356e1a3
AM
94782013-05-05 Alan Mackenzie <acm@muc.de>
9479
9480 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9481
d44014cb
JL
94822013-05-05 Juri Linkov <juri@jurta.org>
9483
9484 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9485 to not add the length of the summary segment to the return value.
9486 (Bug#14125)
9487
c129b51f
LL
94882013-05-05 Leo Liu <sdl.web@gmail.com>
9489
9490 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9491 (inferior-octave-output-filter): Remove.
9492 (octave-send-region, inferior-octave-startup): Fix callers.
9493 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9494 (octave-binary-file-extensions): New user variable.
9495 (octave-find-definition): Confirm if opening binary files.
9496 (octave-help-file): Use octave-find-definition to get the binary
9497 confirmation.
9498 (octave-help): Adjust for octave-help-file change.
9499
aa7dab97
SM
95002013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9503 Merge the two entries that handle function definitions.
9504 (pascal--syntax-propertize): New const.
9505 (pascal-mode): Use it. Use setq-local.
9506
fd3a9a6b
GM
95072013-05-04 Glenn Morris <rgm@gnu.org>
9508
9509 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9510 (diary-from-outlook): Respect diary-from-outlook-function.
9511
30c7e542
SM
95122013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9515 Move the declaration from C.
9516 (read-minibuffer, eval-minibuffer): Move from C.
9517 (completion-setup-function): Avoid minibuffer-completion-contents.
9518
b54f978b
LL
95192013-05-03 Leo Liu <sdl.web@gmail.com>
9520
9521 * progmodes/octave.el (octave-font-lock-keywords): Do not
9522 dehighlight 'end' in comments or strings.
30c7e542
SM
9523 (octave-completing-read, octave-goto-function-definition):
9524 New helpers.
d4d0f9b3
LL
9525 (octave-help-buffer): New user variable.
9526 (octave-help-file, octave-help-function): New button types.
9527 (octave-help): New command and bind it to C-h ;.
9528 (octave-find-definition): New command and bind it to M-.
d74a1581 9529 (user-error): Alias to error if not defined.
b54f978b 9530
27135018
LL
95312013-05-02 Leo Liu <sdl.web@gmail.com>
9532
9533 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9534 for \. (bug#14332)
9535 (octave-font-lock-keywords): Include [ and {.
9536
0d634d3a
LL
95372013-05-02 Leo Liu <sdl.web@gmail.com>
9538
9539 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9540 (inferior-octave): Remove calling comint-mode and return the buffer.
9541 (inferior-octave-startup): Cosmetic changes.
9542
b4c8295e
LL
95432013-05-02 Leo Liu <sdl.web@gmail.com>
9544
30c7e542
SM
9545 * progmodes/octave.el (octave-syntax-propertize-function):
9546 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9547
f12ad6ec
GM
95482013-05-02 Glenn Morris <rgm@gnu.org>
9549
9550 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9551 * desktop.el (vc-dir-mode): Just autoload it here.
9552
30cac1e0
AM
95532013-05-02 Alan Mackenzie <acm@muc.de>
9554
9555 Eliminate variable c-standard-font-lock-fontify-region-function.
9556 * progmodes/cc-mode.el
9557 (c-standard-font-lock-fontify-region-function): Remove.
9558 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9559
d8ef28b1
LL
95602013-05-01 Leo Liu <sdl.web@gmail.com>
9561
2640d52e 9562 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9563 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9564 variables were removed from Octave in 2007.
d8ef28b1
LL
9565 (inferior-octave-startup): Fix uses.
9566 (comint-line-beginning-position): Remove compatibility code for
9567 emacs 21.
9568
ac63ec89
JL
95692013-05-01 Juri Linkov <juri@jurta.org>
9570
9571 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9572
9e9be37c
JL
95732013-05-01 Juri Linkov <juri@jurta.org>
9574
9575 * comint.el (comint-previous-matching-input): Don't print message
9576 "History item: %d" when `isearch-mode' is active.
9577 (comint-history-isearch-message): Print message "History item: %d"
9578 when `comint-input-ring-index' is not empty and this function is
9579 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9580
9b92c13b
LL
95812013-05-01 Leo Liu <sdl.web@gmail.com>
9582
9583 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9584 definitions. Use completion-at-point to insert keywords.
9585 (octave-abbrev-start): Remove.
9586 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9587
b12d33d7
LL
95882013-04-30 Leo Liu <sdl.web@gmail.com>
9589
9590 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9591 change.
9592
3d1c39fa
AM
95932013-04-30 Alan Mackenzie <acm@muc.de>
9594
9595 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9596 * progmodes/cc-engine.el (c-back-over-member-initializers):
9597 new function.
3d1c39fa
AM
9598 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9599 (most) member init lists.
9600
5147fc17
RS
96012013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9602
9603 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9604 variable.
9605
5b78d7fc
LL
96062013-04-30 Leo Liu <sdl.web@gmail.com>
9607
9608 * progmodes/octave.el (octave-variables): Remove. No builtin
9609 variables any more. All converted to functions.
9610 (octave-font-lock-keywords, octave-completion-at-point-function):
9611 Fix uses.
9612 (octave-font-lock-texinfo-comment): New user variable.
9613 (octave-texinfo-font-lock-keywords): New variable for texinfo
9614 comment block.
9615 (octave-function-comment-block): New face.
9616 (octave-font-lock-texinfo-comment): New function.
9617 (octave-mode): Font lock texinfo comment block.
9618
38d8527b
LL
96192013-04-29 Leo Liu <sdl.web@gmail.com>
9620
9621 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9622 indexing expression.
9623 (octave-continuation-string): Do not use \.
9624 (inferior-octave-complete-impossible): Remove.
9625 (inferior-octave-completion-table)
9626 (inferior-octave-completion-at-point): Remove its uses.
9627 (inferior-octave-startup): completion_matches was introduced to
9628 Octave in 1996 so safe to assume it.
9629 (octave-function-file-comment): Improve to follow how Octave does it.
9630 (octave-update-function-file-comment): Tweak.
9631
2ec12cb0
LL
96322013-04-29 Leo Liu <sdl.web@gmail.com>
9633
9634 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9635 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9636 (octave-function-file-comment): Fix typo.
9637 (octave-sync-function-file-names): Use read-char-choice.
9638
6eaed048
JB
96392013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9640
9641 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9642 to t for the less important warnings.
9643
3ffa2d4f
DH
96442013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9645
9646 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9647
685c9501
GM
96482013-04-27 Glenn Morris <rgm@gnu.org>
9649
9650 * vc/log-view.el (log-view-current-entry):
9651 Treat "---" separator lines as part of the following rev. (Bug#14169)
9652
0208ede7
JL
96532013-04-27 Juri Linkov <juri@jurta.org>
9654
9655 * subr.el (read-number): Doc fix about using it by interactive
9656 code letter `n'. (Bug#14254)
9657
5db9dace
JL
96582013-04-27 Juri Linkov <juri@jurta.org>
9659
9660 * desktop.el (desktop-auto-save-timeout): New option.
9661 (desktop-file-checksum): New variable.
9662 (desktop-save): Add optional arg `auto-save' and don't auto-save
9663 if nothing changed.
9664 (desktop-auto-save-timer): New variable.
9665 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9666 (after-init-hook): Call `desktop-auto-save-set-timer'.
9667 Suggested by Reuben Thomas <rrt@sc3d.org> in
9668 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9669
b7260dd4
LL
96702013-04-27 Leo Liu <sdl.web@gmail.com>
9671
9672 * progmodes/octave.el (octave-function-file-p)
9673 (octave-skip-comment-forward, octave-function-file-comment)
9674 (octave-update-function-file-comment): New functions.
9675 (octave-mode-map): Bind C-c ; to
9676 octave-update-function-file-comment.
9677 (octave-mode-menu): Add octave-update-function-file-comment.
9678 (octave-mode, inferior-octave-mode): Fix doc-string.
9679 (octave-insert-defun): Conform to Octave's coding convention.
9680 (Bug#14285)
9681
9682 * files.el (basic-save-buffer): Don't let errors in
9683 before-save-hook prevent saving buffer.
9684
c46da669
RW
96852013-04-20 Roland Winkler <winkler@gnu.org>
9686
9687 * faces.el (read-face-name): Use completing-read if arg multiple
9688 is nil.
9689
a81ee1eb
IL
96902013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9691
9692 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9693 displayed, move point to after the totals line.
9694 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9695 for the details.
9696
4fac34ce
SM
96972013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9700 Add current dir to the load-path.
9701 (package-generate-autoloads): Don't rely on
9702 autoload-ensure-default-file.
9703
f6bfc063
RT
97042013-04-26 Reuben Thomas <rrt@sc3d.org>
9705
d40ab5cf
BG
9706 * textmodes/remember.el (remember-store-in-files): Document that
9707 the file name format is passed to `format-time-string'.
f6bfc063 9708
e55d3b04
LL
97092013-04-26 Leo Liu <sdl.web@gmail.com>
9710
9711 * progmodes/octave.el (octave-sync-function-file-names): New function.
9712 (octave-mode): Use it in before-save-hook.
9713
e53052d3
SM
97142013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9715
140ef50c
SM
9716 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9717 (bug#14274).
9718
e53052d3
SM
9719 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9720 \n and comment, even if it's not an implicit ; (bug#14218).
9721
af80458d 97222013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9723
9724 * subr.el (read-number): Once more use `read' rather than
9725 `string-to-number', to trap non-numeric input. (Bug#14254)
9726
af80458d 97272013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9728
9729 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9730 Use `syntax-multiline' text property consistently instead of
8a621d53 9731 `font-lock-multiline'. (Bug#14237)
70203c2e 9732
e6ea1f6c
GM
97332013-04-26 Glenn Morris <rgm@gnu.org>
9734
9735 * emacs-lisp/shadow.el (list-load-path-shadows):
9736 No longer necessary to check for duplicate simple.el, since
9737 2012-07-07 change to init_lread to not include installation lisp
9738 directories in load-path when running uninstalled. (Bug#14270)
9739
070ccca4
LL
97402013-04-26 Leo Liu <sdl.web@gmail.com>
9741
9742 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9743 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9744 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9745 octave-in-string-or-comment-p.
9746 (octave-in-comment-p, octave-in-string-p)
9747 (octave-in-string-or-comment-p): Replace defsubst with defun.
9748
9d1c5fb6
PE
97492013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9750
9751 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9752
c034abda
BG
97532013-04-25 Bastien Guerry <bzg@gnu.org>
9754
9755 * textmodes/remember.el (remember-data-directory)
9756 (remember-directory-file-name-format): Fix custom types.
9757
584ea277
LL
97582013-04-25 Leo Liu <sdl.web@gmail.com>
9759
e53052d3
SM
9760 * progmodes/octave.el (octave-completion-at-point-function):
9761 Make use of inferior octave process.
584ea277
LL
9762 (octave-initialize-completions): Remove.
9763 (inferior-octave-completion-table): New function.
9764 (inferior-octave-completion-at-point): Use it.
9765 (octave-completion-alist): Remove.
9766
1693b06a
SM
97672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9770 (opascal-mode-syntax-table): New var.
9771 (opascal-literal-kind, opascal-is-literal-end)
9772 (opascal-literal-token-at): Rewrite.
9773 (opascal--literal-start-re, opascal-font-lock-keywords)
9774 (opascal--syntax-propertize): New constants.
9775 (opascal-font-lock-defaults): Adjust.
9776 (opascal-mode): Use them. Set comment-<foo> variables as well.
9777 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9778 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9779 (delphi-other-face, opascal-other-face): Remove face variables.
9780 (opascal-save-state): Remove macro.
9781 (opascal-fontifying-progress-step): Remove constant.
9782 (opascal--ignore-changes): Remove var.
9783 (opascal-set-token-property, opascal-parse-next-literal)
9784 (opascal-is-stable-literal, opascal-complete-literal)
9785 (opascal-is-literal-start, opascal-face-of)
9786 (opascal-parse-region, opascal-parse-region-until-stable)
9787 (opascal-fontify-region, opascal-after-change)
9788 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9789 (opascal-debug-parse-region, opascal-debug-parse-window)
9790 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9791 (opascal-debug-fontify-buffer): Remove.
9792 (opascal-debug-mode-map): Adjust accordingly.
9793
be64c05d
LL
97942013-04-25 Leo Liu <sdl.web@gmail.com>
9795
9796 Merge octave-mod.el and octave-inf.el into octave.el with some
9797 cleanups.
9798 * progmodes/octave.el: New file renamed from octave-mod.el.
9799 * progmodes/octave-inf.el: Merged into octave.el.
9800 * progmodes/octave-mod.el: Renamed to octave.el.
9801
d79d37bd
TH
98022013-04-25 Tassilo Horn <tsdh@gnu.org>
9803
9804 * textmodes/reftex-vars.el
9805 (reftex-label-ignored-macros-and-environments): New defcustom.
9806
9807 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9808
ced3fc5d
SM
98092013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9812 (smie-indent-keyword): Improve the check to ensure that the next
9813 comment is really on the same line.
9814 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9815
9816 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9817 semi-colons if the line is not otherwise empty (bug#14218).
9818
1c141dad
GM
98192013-04-25 Glenn Morris <rgm@gnu.org>
9820
9821 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9822
5058062a
SM
98232013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * progmodes/opascal.el (opascal-set-token-property): Rename from
9826 opascal-set-text-properties and only set `token' (bug#14134).
9827 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9828 (opascal-literal-text-properties): Remove.
9829 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9830 Adjust callers.
9831
5db9dace 98322013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9833
9834 * textmodes/remember.el (remember-handler-functions): Add an
9835 option for a new handler `remember-store-in-files'.
9836 (remember-data-directory, remember-directory-file-name-format):
9837 New options.
9838 (remember-store-in-files): New function to store remember notes
9839 as separate files within a directory.
9840
4391916c
MH
98412013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9842
9843 * progmodes/compile.el (compilation-next-error-function):
9844 Pass "formats" to compilation-find-file (bug#11777).
9845
bb7cdf58
GM
98462013-04-24 Glenn Morris <rgm@gnu.org>
9847
3b8fe752 9848 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9849 * vc/vc-hg.el (vc-hg-print-log):
9850 * vc/vc-svn.el (vc-svn-print-log):
9851 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9852
bb7cdf58
GM
9853 * vc/vc-bzr.el (vc-bzr-print-log):
9854 * vc/vc-cvs.el (vc-cvs-print-log):
9855 * vc/vc-git.el (vc-git-print-log):
9856 * vc/vc-hg.el (vc-hg-print-log):
9857 * vc/vc-mtn.el (vc-mtn-print-log):
9858 * vc/vc-rcs.el (vc-rcs-print-log):
9859 * vc/vc-sccs.el (vc-sccs-print-log):
9860 * vc/vc-svn.el (vc-svn-print-log):
9861 * vc/vc.el (vc-print-log-internal): Doc fixes.
9862
b46a056e
GM
98632013-04-23 Glenn Morris <rgm@gnu.org>
9864
9865 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9866 Remove venerable code attempting to avoid substitute-command-keys.
9867
0aecf718
TH
98682013-04-23 Tassilo Horn <tsdh@gnu.org>
9869
4391916c
MH
9870 * textmodes/reftex-vars.el (reftex-label-regexps):
9871 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9872
117f94cf
SM
98732013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9874
4391916c 9875 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9876 Use lexical-binding.
9877 (jit-lock-force-redisplay): Use markers, check buffer's continued
9878 existence and beware narrowed buffers.
9879 (jit-lock-fontify-now): Adjust call accordingly.
9880
1d829c64
SM
98812013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9884 to avoid misleading the user.
9885
72d548a9
LL
98862013-04-22 Leo Liu <sdl.web@gmail.com>
9887
9888 * info-look.el: Prefer latex2e.info. (Bug#14240)
9889
d0853629
MA
98902013-04-22 Michael Albinus <michael.albinus@gmx.de>
9891
9892 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9893
9894 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9895 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9896 (tramp-set-completion-function, tramp-parse-putty):
9897 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9898 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9899 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9900 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9901 (tramp-call-local-coding-command): Use `tramp-call-process'
9902 instead of `tramp-compat-call-process'.
9903
9904 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9905 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9906 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9907 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9908 (tramp-maybe-send-script): Check for Perl binary.
9909 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9910
38cc0210
DU
99112013-04-22 Daiki Ueno <ueno@gnu.org>
9912
9913 * epg.el (epg-context-pinentry-mode): New function.
9914 (epg-context-set-pinentry-mode): New function.
9915 (epg--start): Pass --pinentry-mode option to gpg command.
9916
cc641ee1
XF
99172013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9918
02d844b5 9919 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9920 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9921 `completion-at-point'. (Bug#13774)
5d4e5c31 9922
cc641ee1
XF
9923 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9924 default key binding for `describe-distribution' has been moved to
9925 `C-h C-o'. (Bug#13970)
9926
1b42ee43
GM
99272013-04-21 Glenn Morris <rgm@gnu.org>
9928
9929 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9930 Add doc strings.
9931 (vc-print-log): Clarify interactive prompt.
9932
a6d63d97
GM
99332013-04-20 Glenn Morris <rgm@gnu.org>
9934
9935 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9936 No longer include timestamp etc information.
9937
d7f5c16f
RW
99382013-04-20 Roland Winkler <winkler@gnu.org>
9939
9940 * faces.el (read-face-name): Bug fix, return just one face if arg
9941 multiple is nil. (Bug#14209)
9942
bcd7a0a4
SM
99432013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9946 (remove-function): Autoload.
9947
9948 * comint.el (comint-redirect-original-filter-function): Remove.
9949 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9950 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9951 (vc-cvs-annotate-command):
bcd7a0a4
SM
9952 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9953 * progmodes/prolog.el (prolog-consult-compile):
9954 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9955 Use add/remove-function instead.
9956 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9957 (gud-tooltip-process-output, gud-tooltip-tips):
9958 Use add/remove-function instead.
9959 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9960 (scheme-interaction-mode, exit-scheme-interaction-mode):
9961 Use add/remove-function instead.
9962
9963 * vc/vc-dispatcher.el: Use lexical-binding.
9964 (vc--process-sentinel): Rename from vc-process-sentinel.
9965 Change last arg to be the code to run. Don't use vc-previous-sentinel
9966 and vc-sentinel-commands any more.
9967 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9968 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9969
e36b2d20 99702013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9971
bcd7a0a4 9972 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9973 Handle function names with a single character. (Bug#14111)
4d3268ba 9974
781b4af6 99752013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9976
9977 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9978 for subroutines defined in an eval (bug#14182).
9979
7d688336
TV
99802013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9981
9982 * bookmark.el (bookmark-completing-read): Improve handling of empty
9983 string (bug#14176).
9984
31dcede0
SM
99852013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9988
adc31213
FEG
99892013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9990
9991 New faster Imenu implementation (bug#14058).
9992 * progmodes/python.el:
9993 (python-imenu-prev-index-position):
9994 (python-imenu-format-item-label-function)
9995 (python-imenu-format-parent-item-label-function)
9996 (python-imenu-format-parent-item-jump-label-function):
9997 New vars.
9998 (python-imenu-format-item-label)
9999 (python-imenu-format-parent-item-label)
10000 (python-imenu-format-parent-item-jump-label)
10001 (python-imenu--put-parent, python-imenu--build-tree)
10002 (python-imenu-create-index, python-imenu-create-flat-index)
10003 (python-util-popn): New functions.
10004 (python-mode): Set imenu-create-index-function to
10005 python-imenu-create-index.
10006
cdca8255
SM
100072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * winner.el (winner-active-region): Use region-active-p, activate-mark
10010 and deactivate-mark (bug#14225).
10011
10012 * simple.el (deactivate-mark): Don't inline it.
10013
beb42340
MA
100142013-04-18 Michael Albinus <michael.albinus@gmx.de>
10015
10016 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10017
fc7f4d7e
TH
100182013-04-18 Tassilo Horn <tsdh@gnu.org>
10019
10020 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10021 file extensions from the archive-mode entry in order to prefer
10022 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10023
29f47822
LL
100242013-04-18 Leo Liu <sdl.web@gmail.com>
10025
10026 * bindings.el (help-event-list): Add ?\?.
10027
d36ed1c8
SM
100282013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * subr.el (with-wrapper-hook): Declare obsolete.
10031 * simple.el (filter-buffer-substring-function): New hook.
10032 (filter-buffer-substring): Use it.
10033 (filter-buffer-substring-functions): Mark obsolete.
10034 * minibuffer.el (completion-in-region-function): New hook.
10035 (completion-in-region): Use it.
10036 (completion-in-region-functions): Mark obsolete.
10037 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10038 * abbrev.el (abbrev-expand-function): New hook.
10039 (expand-abbrev): Use it.
10040 (abbrev-expand-functions): Mark obsolete.
10041 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10042 and :filter-return.
10043
04754d36
FEG
100442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10045
10046 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10047 and do not care about match data.
10048
dd8791e9
SM
100492013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10052 completion tables when completing error conditions and
10053 `declare' arguments.
10054 (lisp-complete-symbol, field-complete): Mark as obsolete.
10055 (check-parens): Unmatched parens are user errors.
10056 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10057
ffe54a13
AM
100582013-04-17 Michal Nazarewicz <mina86@mina86.com>
10059
dd8791e9
SM
10060 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10061 command changed buffer (ie. `flyspell-pre-buffer' is not current
10062 buffer), which prevents making decisions based on invalid value of
10063 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10064 cause an error when `flyspell-pre-point' was nil after switching
10065 buffers.
10066 (flyspell-post-command-hook): No longer needs to change buffers when
10067 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10068
ec7e39f2
AM
100692013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10070
10071 * textmodes/ispell.el (ispell-add-per-file-word-list):
10072 Fix `flyspell-correct-word-before-point' error when accepting
10073 words and `coment-padding' is an integer by using
10074 `comment-normalize-vars' (Bug #14214).
10075
083850a6
FEG
100762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10077
10078 New defun movement commands.
10079 * progmodes/python.el (python-nav--syntactically)
10080 (python-nav--forward-defun, python-nav-backward-defun)
10081 (python-nav-forward-defun): New functions.
10082
619ed6e1
FEG
100832013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10084
10085 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10086 (python-syntax-context): Use named compiler-macro for backwards
10087 compatibility with Emacs 24.x.
10088
7a1beb6c
LL
100892013-04-17 Leo Liu <sdl.web@gmail.com>
10090
10091 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10092 octave-hide-process-buffer.
10093
2d3fa3e5
SM
100942013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10097 (bug#14216).
10098
7ce5be54
JPG
100992013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10100
10101 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10102 Fix adjustment of offset when receiving incomplete responses from GDB
10103 (bug#14129).
10104
351edece
SM
101052013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10108 python-mode-abbrev-table.
10109 (python-skeleton-define): Adjust accordingly.
10110 (python-mode-abbrev-table): New table that inherits from it so that
10111 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10112
10113 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10114 (abbrev-symbol): Use it.
10115 (abbrev--before-point): Use it since we already handle inheritance.
10116
613f9481
LL
101172013-04-16 Leo Liu <sdl.web@gmail.com>
10118
10119 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10120 binding to info-lookup-symbol.
10121
51646b62
JB
101222013-04-16 Juanma Barranquero <lekktu@gmail.com>
10123
10124 * minibuffer.el (completion--twq-all):
10125 * term/ns-win.el (ns-initialize-window-system):
10126 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10127
efb3f01d
SM
101282013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10129
36c0a301
SM
10130 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10131 global bindings.
10132
efb3f01d
SM
10133 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10134
fb549d64
DG
101352013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10136
10137 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10138 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10139 to nil.
10140 (ruby-end-of-defun): Remove the unused arg, change the docstring
10141 to reflect that this function is only used as the value of
10142 `end-of-defun-function'.
10143 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10144 to reflect an earlier change that beginning/end-of-defun functions
10145 jump between methods in a class definition, as well as top-level
10146 functions.
10147
21e8fe2f
SM
101482013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * minibuffer.el (minibuffer-complete): Don't just scroll
10151 a *Completions* that's been iconified.
10152 (minibuffer-force-complete): Make sure repetitions do cycle when going
10153 through completion-in-region -> minibuffer-complete.
10154
20e527d0
AM
101552013-04-15 Alan Mackenzie <acm@muc.de>
10156
10157 Correct the placement of c-cpp-delimiters when there're #s not at
10158 col 0.
10159
10160 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10161 place a submatch around the #.
21e8fe2f
SM
10162 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10163 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10164 on the #, not BOL.
10165
dabefae5
SM
101662013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10167
10168 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10169 (advice--member-p): New arg `name'.
10170 (advice--add-function, advice-member-p): Use it (bug#14202).
10171
85c9ab64
AM
101722013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10173
10174 Reformulate java imenu-generic-expression.
10175 The old expression contained ill formed regexps.
10176
10177 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10178 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10179 (cc-imenu-java-method-arg-regexp): New defconsts.
10180 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10181 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10182 handling of spaces in the regexp.
10183
0f821d99
AM
101842013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10185
10186 * textmodes/ispell.el (ispell-command-loop): Remove
10187 flyspell highlight of a word when ispell accepts it (bug #14178).
10188
eb922adf
MA
101892013-04-15 Michael Albinus <michael.albinus@gmx.de>
10190
10191 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10192 uses code from the previous `ange-ftp-run-real-handler'.
10193 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10194 only in case that function exist. This is needed for proper
10195 unloading of Tramp.
10196
4d9a0979
TH
101972013-04-15 Tassilo Horn <tsdh@gnu.org>
10198
10199 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10200
10201 * textmodes/reftex.el (reftex-compile-variables): Use it.
10202
a829b0dc
SM
102032013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10204
91e8293c
SM
10205 * files.el (normal-mode): Only use default major-mode if no other mode
10206 was specified.
10207
830aed4d
SM
10208 * emacs-lisp/trace.el (trace-values): New function.
10209
a829b0dc
SM
10210 * files.el: Allow : in local variables (bug#14089).
10211 (hack-local-variable-regexp): New var.
10212 (hack-local-variables-prop-line, hack-local-variables): Use it.
10213
7ae9f0fb
RW
102142013-04-13 Roland Winkler <winkler@gnu.org>
10215
10216 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10217 data before it gets modified by bibtex-beginning-of-entry.
10218
6646e848
RW
102192013-04-13 Roland Winkler <winkler@gnu.org>
10220
10221 * textmodes/bibtex.el (bibtex-url): Doc fix.
10222
102232013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10224
10225 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10226 does not visit a BibTeX file, exclude it from the list of buffers
10227 returned by bibtex-initialize.
10228
0aa3616e
SB
102292013-04-13 Stephen Berman <stephen.berman@gmx.net>
10230
10231 * window.el (split-window): Remove interactive form, since as a
10232 command this function is a special case of split-window-below.
10233 Correct doc string.
10234
011cddd6
RW
102352013-04-12 Roland Winkler <winkler@gnu.org>
10236
10237 * faces.el (read-face-name): Do not override value of arg default.
10238 Allow single faces and strings as default values. Remove those
10239 elements from return value that are not faces.
10240 (describe-face): Simplify.
10241 (face-at-point): New optional args thing and multiple so that this
10242 function can provide the same functionality previously provided by
10243 read-face-name.
10244 (make-face-bold, make-face-unbold, make-face-italic)
10245 (make-face-unitalic, make-face-bold-italic, invert-face)
10246 (modify-face, read-face-and-attribute): Use face-at-point.
10247
10248 * cus-edit.el (customize-face, customize-face-other-window)
10249 * cus-theme.el (custom-theme-add-face)
10250 * face-remap.el (buffer-face-set)
10251 * facemenu.el (facemenu-set-face): Use face-at-point.
10252
f24e0036
MA
102532013-04-12 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10256
da3cda2d
TH
102572013-04-10 Tassilo Horn <tsdh@gnu.org>
10258
10259 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10260 off leading { and trailing } from field values.
10261
15e54145
SM
102622013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10263
78ce603d
SM
10264 * emacs-lisp/timer.el (timer--check): New function.
10265 (timer--time, timer-set-function, timer-event-handler): Use it.
10266 (timer-set-idle-time): Simplify.
10267 (timer--activate): CSE.
10268 (timer-event-handler): Give more info in error message.
10269 (internal-timer-start-idle): New function, moved from C.
10270
15e54145
SM
10271 * mpc.el (mpc-proc): Add `restart' argument.
10272 (mpc-proc-cmd): Use it.
10273 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10274 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10275 less often.
10276
7144c627
MY
102772013-04-10 Masatake YAMATO <yamato@redhat.com>
10278
10279 * progmodes/sh-script.el: Implement `sh-mode' own
10280 `add-log-current-defun-function' (bug#14112).
10281 (sh-current-defun-name): New function.
10282 (sh-mode): Use the function.
10283
b39792eb
BG
102842013-04-09 Bastien Guerry <bzg@gnu.org>
10285
10286 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10287
8acdeb71
SM
102882013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10289
6fcdab68
SM
10290 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10291
8acdeb71
SM
10292 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10293 timer (bug#14156).
10294
e3e7b504
NF
102952013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10296
10297 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10298 declaration.
10299
201bb296
LL
103002013-04-07 Leo Liu <sdl.web@gmail.com>
10301
10302 * pcmpl-x.el: New file.
10303
ebb19708
DA
103042013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10305
10306 Do not set x-display-name until X connection is established.
10307 This is needed to prevent from weird situation described at
10308 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10309 * frame.el (make-frame): Set x-display-name after call to
10310 window system initialization function, not before.
10311 * term/x-win.el (x-initialize-window-system): Add optional
10312 display argument and use it.
10313 * term/w32-win.el (w32-initialize-window-system):
10314 * term/ns-win.el (ns-initialize-window-system):
10315 * term/pc-win.el (msdos-initialize-window-system):
10316 Add compatible optional display argument.
10317
33bb237a
EZ
103182013-04-06 Eli Zaretskii <eliz@gnu.org>
10319
10320 * files.el (normal-backup-enable-predicate): On MS-Windows and
10321 MS-DOS compare truenames of temporary-file-directory and of the
10322 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10323 don't fail comparison by compare-strings. Also, compare file
10324 names case-insensitively on MS-Windows and MS-DOS.
10325
134abf1f
SM
103262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10329 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10330
d695cb94
DG
103312013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10332
e3e7b504
NF
10333 * whitespace.el (whitespace-color-on, whitespace-color-off):
10334 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10335
f4ad7ea1 103362013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10337
10338 * ispell.el (ispell-set-spellchecker-params):
10339 Really set `ispell-args' for all equivs.
10340
632556e4
SM
103412013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * ido.el (ido-completions): Use extra elements of ido-decorations
10344 (bug#14143).
10345 (ido-decorations): Update docstring.
10346
2a417372
MA
103472013-04-05 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10350 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10351 nil during initialization, in order not to miss changes since the
10352 file was opened. (Bug#14140)
10353
fc164b0c
LL
103542013-04-05 Leo Liu <sdl.web@gmail.com>
10355
10356 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10357
0ccecc08
JB
103582013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10359
10360 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10361
51af1aa2
GM
103622013-04-04 Glenn Morris <rgm@gnu.org>
10363
10364 * electric.el (electric-pair-inhibit-predicate): Add :version.
10365
b208ebc6
SM
103662013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10369 when a package is required several times (bug#14082).
10370
f3d3eaf0
RW
103712013-04-04 Roland Winkler <winkler@gnu.org>
10372
10373 * faces.el (read-face-name): Behave as promised by the docstring.
10374 Assume that arg default is a list of faces.
10375 (describe-face): Call read-face-name with list of default faces.
10376
2575da50
TV
103772013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10378
10379 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10380 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10381 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10382 the header.
10383 (bookmark-exit-hook-internal): Save even if list is empty.
10384
397703b4
YH
103852013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10386
10387 * emacs-lisp/package.el (package-pinned-packages): New var.
10388 (package--add-to-archive-contents): Obey it (bug#14118).
10389
691e26ae
AM
103902013-04-03 Alan Mackenzie <acm@muc.de>
10391
8a621d53
JB
10392 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10393 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10394
10395 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10396 parameter `not-in-delimiter'. Handle being inside comment opener.
10397 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10398 character in case we're typing a '*' after a '/'.
10399 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10400 instead by passing the parameter to c-state-pp-to-literal.
10401
10402 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10403 for elt. 7 of a parse state.
10404
4b725a70
PE
104052013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10406
10407 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10408 * international/latin1-disp.el, international/mule-util.el:
10409 * language/cyril-util.el, language/european.el, language/ind-util.el:
10410 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10411 * language/tibetan.el, language/viet-util.el:
10412 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10413
15c579f0
SM
104142013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10417 (electric-pair-post-self-insert-function): Use it.
10418 (electric-pair-default-inhibit): New function, extracted from
10419 electric-pair-post-self-insert-function.
10420
a77e2924
RW
104212013-03-31 Roland Winkler <winkler@gnu.org>
10422
10423 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10424
2bd8a4a8
SM
104252013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10428
8d3655be 104292013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10430
10431 Un-indent after "pass" and "return" statements (Bug#13888)
10432 * progmodes/python.el (python-indent-block-enders): New var.
10433 (python-indent-calculate-indentation): Use it.
10434
8d3655be 104352013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10436
10437 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10438 defun. Defining it as defalias could introduce too eager
10439 byte-compiler optimization. (Bug#14030)
10440
8d3655be 104412013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10442
10443 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10444
0b1619da
LL
104452013-03-30 Leo Liu <sdl.web@gmail.com>
10446
10447 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10448 (kmacro-execute-from-register): Pass the keyboard macro to
10449 kmacro-call-macro or repeating won't work correctly.
10450
0b938190
TZ
104512013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10452
10453 * progmodes/subword.el: Back to using `forward-symbol'.
10454
10455 * subr.el (forward-whitespace, forward-symbol)
10456 (forward-same-syntax): Move from thingatpt.el.
10457
35710234
LL
104582013-03-29 Leo Liu <sdl.web@gmail.com>
10459
10460 * kmacro.el (kmacro-to-register): New command.
10461 (kmacro-execute-from-register): New function.
10462 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10463
efc0bb73
SM
104642013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * mpc.el: Use defvar-local and setq-local.
10467 (mpc--proc-connect): Connection failures are not bugs.
10468 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10469 (mpc-volume-map): Bind to the up-events.
10470
75a2f981
TZ
104712013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10472
10473 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10474 instead of `forward-symbol'.
10475
17c781d1
SM
104762013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10479 (edebug--recursive-edit): Use it.
10480 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10481 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10482
f67bfbcf
LL
104832013-03-28 Leo Liu <sdl.web@gmail.com>
10484
10485 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10486
b59f639d
EZ
104872013-03-27 Eli Zaretskii <eliz@gnu.org>
10488
10489 * facemenu.el (list-colors-callback): New defvar.
10490 (list-colors-redisplay): New function.
10491 (list-colors-display): Install list-colors-redisplay as the
10492 revert-buffer-function. (Bug#14063)
10493
f557c1b1
SM
104942013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10495
b1da2957
SM
10496 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10497 and suffixes don't overlap (bug#14061).
10498
f557c1b1
SM
10499 * case-table.el: Use lexical-binding.
10500 (case-table-get-table): New function.
10501 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10502
002668e1
TZ
105032013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10504
10505 * progmodes/subword.el: Add `superword-mode' to do word motion
10506 over symbol_words (parallels and leverages `subword-mode' which
10507 does word motion inside MixedCaseWords).
10508
73572c72
AG
105092013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10510
78b8f320 10511 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10512 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10513
69b2c07e
SM
105142013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10517 Change return value to be a sexp. Delay `get-buffer' to after
10518 restoring the desktop (bug#13951).
10519
08bb5ee2
LL
105202013-03-26 Leo Liu <sdl.web@gmail.com>
10521
10522 * register.el: Move semantic tag handling back to
10523 cedet/semantic/senator.el. (Bug#14052)
10524
8d4c974e
SM
105252013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10528 into the prompt either (bug#13963).
10529
b234d92c
SM
105302013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10533 part of "(error-foo)".
10534
ddfa3cb4
JL
105352013-03-24 Juri Linkov <juri@jurta.org>
10536
10537 * replace.el (list-matching-lines-prefix-face): New defcustom.
10538 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10539 `occur-engine' if `face-differs-from-default-p' returns t.
10540 (occur-engine): Add `,' inside backquote construct to evaluate
10541 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10542 Pass `prefix-face' to the functions `occur-context-lines' and
10543 `occur-engine-add-prefix'.
10544 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10545 `prefix-face' and propertize the prefix with `prefix-face'.
10546 (Bug#14017)
10547
7b0e2f85
LL
105482013-03-24 Leo Liu <sdl.web@gmail.com>
10549
10550 * nxml/rng-valid.el (rng-validate-while-idle)
10551 (rng-validate-quick-while-idle): Guard against deleted buffer.
10552 (Bug#13999)
10553
10554 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10555 is the last entry in kill-buffer-hook.
10556
10557 * files.el (kill-buffer-hook): Doc fix.
10558
b3082f49
DG
105592013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10560
b234d92c
SM
10561 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10562 Make it safe-local.
bde73d27 10563
b3082f49
DG
10564 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10565
a320a2db
LL
105662013-03-23 Leo Liu <sdl.web@gmail.com>
10567
7e74b0fb
LL
10568 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10569 Remove.
10570
10571 * nxml/rng-valid.el (rng-validate-mode)
10572 (rng-after-change-function, rng-do-some-validation):
10573 * nxml/rng-maint.el (rng-validate-buffer):
10574 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10575 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10576 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10577 (nxml-extend-after-change-region): Use with-silent-modifications.
10578
a320a2db
LL
10579 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10580 timer-idle-list.
10581
10582 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10583 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10584 timer-idle-list. (Bug#13999)
10585
e38e6780
JL
105862013-03-23 Juri Linkov <juri@jurta.org>
10587
10588 * info.el (info-index-match): New face.
10589 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10590 main pattern and add text properties with the new face to matches
10591 in index entries relative to the beginning of the index entry.
10592 (Bug#14015)
10593
e8cc7880
DE
105942013-03-21 Eric Ludlam <zappo@gnu.org>
10595
10596 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10597 Inhibit read only while inserting objects.
10598
9bb0d822
TZ
105992013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10600
10601 * progmodes/cfengine.el: Update docs to mention
10602 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10603 symbol motion. Remove "_" from the word syntax.
10604
aa703640
TZ
106052013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10606
10607 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10608 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10609
afff09d0
JL
106102013-03-20 Juri Linkov <juri@jurta.org>
10611
10612 * info.el (Info-next-reference-or-link)
10613 (Info-prev-reference-or-link): New functions.
10614 (Info-next-reference, Info-prev-reference): Use them.
10615 (Info-try-follow-nearest-node): Handle footnote navigation.
10616 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10617
9a1ff164
SM
106182013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10621 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10622
2667d15d
PE
106232013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10624
10625 Suppress unnecessary non-ASCII chatter during build process.
10626 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10627 (batch-skkdic-convert): Suppress most of the chatter.
10628 It's not needed so much now that machines are faster,
10629 and its non-ASCII component was confusing; see Dmitry Gutov in
10630 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10631
438b0579
LL
106322013-03-20 Leo Liu <sdl.web@gmail.com>
10633
10634 * ido.el (ido-chop): Fix bug#10994.
10635
c128ab07
DG
106362013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10637
10638 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10639 Remove vars.
9a1ff164
SM
10640 (whitespace-color-on, whitespace-color-off):
10641 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10642
0e6008c5
SM
106432013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10646 remapping in mode-line.
10647 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10648
627b52b0
DG
106492013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10650
10651 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10652 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10653 (whitespace-font-lock-keywords): Change description.
10654 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10655 the constructed keywords instead.
10656 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10657
50c3a20b
LL
106582013-03-19 Leo Liu <sdl.web@gmail.com>
10659
10660 * progmodes/compile.el (compilation-display-error): New command.
10661 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10662 C-o. (Bug#13992)
10663
2aa2157b
PE
106642013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10665
10666 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10667
e477dbfa
JD
106682013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10669
10670 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10671
64ab82d1
MA
106722013-03-18 Michael Albinus <michael.albinus@gmx.de>
10673
10674 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10675
10676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10677 * net/tramp-gvfs.el (top):
10678 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10679 (tramp-handle-shell-command): Use it.
10680 (tramp-dissect-file-name): Raise an error when hostname is a
10681 method name, and neither method nor user is specified.
10682
10683 * net/trampver.el: Update release number.
10684
33cef733
LL
106852013-03-18 Leo Liu <sdl.web@gmail.com>
10686
10687 Make sure eldoc can be turned off properly.
10688 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10689 eldoc-mode.
10690 (eldoc-display-message-p): Revert last change.
10691 (eldoc-display-message-no-interference-p)
10692 (eldoc-print-current-symbol-info): Tweak.
10693
2167b7b2
TH
106942013-03-18 Tassilo Horn <tsdh@gnu.org>
10695
10696 * doc-view.el (doc-view-new-window-function): Check the new window
10697 overlay's display property instead the char property of the
10698 buffer's first char. Use `with-selected-window' instead of
10699 `save-window-excursion' with `select-window'.
10700 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10701 display property instead the char property of the buffer's first char.
2167b7b2 10702
982efbcd
PE
107032013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10704
10705 Automate the build of ja-dic.el (Bug#13984).
10706 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10707 from the input, rather than assume that it's been done for us by the
10708 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10709 the current date into a ja-dic.el comment, as that complicates
10710 regression testing.
10711
2fcc7665
SM
107122013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10713
10714 * whitespace.el: Fix double evaluation.
10715 (whitespace-space, whitespace-hspace, whitespace-tab)
10716 (whitespace-newline, whitespace-trailing, whitespace-line)
10717 (whitespace-space-before-tab, whitespace-indentation)
10718 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10719 obsolete defvars.
10720 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10721 (whitespace-color-on): Use a single font-lock-add-keywords call.
10722 Fix double-evaluation of face variables.
10723
67c0a6e6
MA
107242013-03-17 Michael Albinus <michael.albinus@gmx.de>
10725
2fcc7665
SM
10726 * net/tramp-adb.el (tramp-adb-parse-device-names):
10727 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10728 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10729
69489f1d
LL
107302013-03-17 Leo Liu <sdl.web@gmail.com>
10731
10732 Extend eldoc to display info in the mode-line. (Bug#13978)
10733 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10734 (eldoc-mode-line-string): New variable.
10735 (eldoc-minibuffer-message): New function.
10736 (eldoc-message-function): New variable.
10737 (eldoc-message): Use it.
10738 (eldoc-display-message-p)
2fcc7665
SM
10739 (eldoc-display-message-no-interference-p):
10740 Support eldoc-post-insert-mode.
69489f1d
LL
10741
10742 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10743 (eval-expression): Run it.
10744
9c44569e
RW
107452013-03-17 Roland Winkler <winkler@gnu.org>
10746
10747 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10748 strings in the list of return values.
10749
327f1f6f
JB
107502013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10751
10752 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10753 radix before checking for HMS forms.
10754
67ed8fcd
LL
107552013-03-16 Leo Liu <sdl.web@gmail.com>
10756
10757 * progmodes/scheme.el: Add indentation and font-locking for λ.
10758 (Bug#13975)
10759
78be8b64 107602013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10761
10762 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10763 token before point (bug#13942).
10764
78be8b64 107652013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10766
95b43468 10767 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10768
98e775e6
EZ
107692013-03-16 Eli Zaretskii <eliz@gnu.org>
10770
10771 * startup.el (command-line-normalize-file-name): Fix handling of
10772 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10773 <xfq.free@gmail.com> in
10774 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10775
2edd6029
MA
107762013-03-15 Michael Albinus <michael.albinus@gmx.de>
10777
10778 Sync with Tramp 2.2.7.
10779
10780 * net/trampver.el: Update release number.
10781
d35f5864
TH
107822013-03-14 Tassilo Horn <tsdh@gnu.org>
10783
e903c210 10784 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10785 (doc-view-insert-image): Don't modify overlay associated to
10786 non-live windows, and implement horizontal centering of image in
10787 case it's smaller than the window.
10788 (doc-view-new-window-function): Force redisplay of new windows on
10789 doc-view buffers.
d35f5864 10790
1c4a85ed
KF
107912013-03-13 Karl Fogel <kfogel@red-bean.com>
10792
10793 * saveplace.el (save-place-alist-to-file): Don't sort
10794 `save-place-alist', just pretty-print it (bug#13882).
10795
85b66a21
MA
107962013-03-13 Michael Albinus <michael.albinus@gmx.de>
10797
a020afb9
JB
10798 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10799 Check whether `default-file-name-coding-system' is bound.
10800 It isn't in XEmacs.
85b66a21 10801
175600da
SM
108022013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10803
e7f7cb1a
SM
10804 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10805 backquotes for `obsolete' (bug#13929).
10806
175600da
SM
10807 * international/mule.el (find-auto-coding): Include file name in
10808 obsolescence warning (bug#13922).
10809
ca68a22e
TZ
108102013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10811
10812 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10813 for CFEngine 3-specific indentation.
10814 (cfengine3-indent-line): Use it. Fix up category regex.
10815 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10816
940e5099
SM
108172013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * type-break.el (type-break-file-name):
10820 * textmodes/remember.el (remember-data-file):
10821 * strokes.el (strokes-file):
10822 * shadowfile.el (shadow-initialize):
10823 * saveplace.el (save-place-file):
10824 * ps-bdf.el (bdf-cache-file):
10825 * progmodes/idlwave.el (idlwave-config-directory):
10826 * net/quickurl.el (quickurl-url-file):
10827 * international/kkc.el (kkc-init-file-name):
10828 * ido.el (ido-save-directory-list-file):
10829 * emulation/viper.el (viper-custom-file-name):
10830 * emulation/vip.el (vip-startup-file):
10831 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10832 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10833
cc725808
PE
108342013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10835
10836 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10837 * language/thai-word.el: Switch to UTF-8.
10838
a020afb9 10839See ChangeLog.16 for earlier changes.
e3d51b27
MR
10840
10841;; Local Variables:
10842;; coding: utf-8
e3d51b27
MR
10843;; End:
10844
ab422c4d 10845 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10846
10847 This file is part of GNU Emacs.
10848
10849 GNU Emacs is free software: you can redistribute it and/or modify
10850 it under the terms of the GNU General Public License as published by
10851 the Free Software Foundation, either version 3 of the License, or
10852 (at your option) any later version.
10853
10854 GNU Emacs is distributed in the hope that it will be useful,
10855 but WITHOUT ANY WARRANTY; without even the implied warranty of
10856 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10857 GNU General Public License for more details.
10858
10859 You should have received a copy of the GNU General Public License
10860 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.