* lisp/uniquify.el (uniquify-buffer-name-style): Change default to `post-forward...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d5ccb7be
JL
12013-12-12 Juri Linkov <juri@jurta.org>
2
3 * uniquify.el (uniquify-buffer-name-style): Change default to
4 `post-forward-angle-brackets'.
5
6 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7 `uniquify'. Change default to `post-forward-angle-brackets'.
8
7b3f5679
GM
92013-12-11 Glenn Morris <rgm@gnu.org>
10
11 * emacs-lisp/package.el (finder-list-matches):
12 Autoload rather than falsely declaring.
13
f4fe8fdd
TZ
142013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15
16 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
17 (eww-mode-map): Use them.
18
3c29190f
MR
192013-12-11 Martin Rudalics <rudalics@gmx.at>
20
21 * window.el (display-buffer-in-side-window): Fix doc-string
22 (Bug#16115).
23
0cd616a2
JB
242013-12-11 Juanma Barranquero <lekktu@gmail.com>
25
26 * vc/vc-git.el: Silence byte-compiler warnings.
27 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
28 (log-edit-set-header): Declare.
29
3ef8e0d1
EZ
302013-12-11 Eli Zaretskii <eliz@gnu.org>
31
32 * Makefile.in (custom-deps, finder-data): Run output file names
33 through unmsys--file-name. (Bug#16099)
34
afdadaf7
SM
352013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
36
7ae3ae39
SM
37 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
38 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
39
5b4f37ab
SM
40 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
41 instead of deleting the selection "by hand" (bug#16098).
42 Rely on insert-for-yank to yank rectangles.
43 (cua-highlight-region-shift-only): Mark obsolete.
44 (cua-mode): Don't enable/disable transient-mark-mode,
45 shift-select-mode (cua-mode works both with and without them), and
46 pc-selection-mode (obsolete).
47 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
48 (cua--deactivate-rectangle): Deactivate it.
49
4b72c12b
SM
50 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
51 (delete-selection-helper): Make sure yank starts at the top of the
52 deleted region.
53 (minibuffer-keyboard-quit): Use region-active-p.
54
e82af72d
SM
55 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
56
afdadaf7
SM
57 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
58 to `delete' (bug#16109).
59
ed4bc201
RS
602013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
61
62 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
63 info manual and show keybindings and set `:group' keyword.
64
bb8097b9
JL
652013-12-11 Juri Linkov <juri@jurta.org>
66
67 * delsel.el (delete-active-region): Let-bind `this-command'
68 to prevent `kill-region' from changing its original value.
69 (delete-selection-helper): Handle `overwrite-mode' for the type
70 `kill' exactly the same way as for the type `t'.
71 (insert-char, quoted-insert, reindent-then-newline-and-indent):
72 Support more commands. (Bug#13312)
73
c1916ff5
JL
742013-12-11 Juri Linkov <juri@jurta.org>
75
76 * bindings.el: Map kp keys to non-kp keys systematically
77 with basic modifiers control, meta and shift. (Bug#14397)
78
b68cf43c
KN
792013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
80
81 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
82 "Close browser" menu items. Fix wrong function of "List
83 bookmarks".
84
4cc51eaf
JL
852013-12-11 Juri Linkov <juri@jurta.org>
86
87 * misearch.el (multi-isearch-buffers): Set the value of
88 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
89 arg of isearch-forward to t.
90 (multi-isearch-buffers-regexp): Set the value of
91 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
92 arg of isearch-forward-regexp to t.
93 (multi-isearch-files): Set the value of
94 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
95 arg of isearch-forward to t.
96 (multi-isearch-files-regexp): Set the value of
97 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
98 arg of isearch-forward-regexp to t. (Bug#16035)
99
100 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
101 arg of isearch-forward to t.
102 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
103 arg of isearch-forward-regexp to t.
104 (dired-isearch-filter-filenames): Remove unnecessary check for
105 `dired-isearch-filenames'.
106
107 * comint.el (comint-history-isearch-backward):
108 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
109 (comint-history-isearch-backward-regexp):
110 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
111
ceac12b7
EZ
1122013-12-10 Eli Zaretskii <eliz@gnu.org>
113
114 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
115 unmsys--file-name. (Bug#16099)
116
5a565782
TZ
1172013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
118
119 * emacs-lisp/package.el (package-keyword-button-action): Remove
120 finder.el require dependency.
121
a81fc7ba
TZ
1222013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
123
124 * emacs-lisp/package.el: Require finder.el.
125 (describe-package-1): Add keyword buttons.
126 (package-make-button): New convenience function.
127 (package-keyword-button-action): Keyword button action using
128 `finder-list-matches'
129
6aaca951
EZ
1302013-12-09 Eli Zaretskii <eliz@gnu.org>
131
132 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
133 last commit.
134
a1099a91
MA
1352013-12-09 Michael Albinus <michael.albinus@gmx.de>
136
137 * autorevert.el (auto-revert-notify-add-watch): Do not handle
138 symlinked files.
139
8212d9c0
DG
1402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
143 after the end of a percent literal.
144
8f48d131
CD
1452013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
146
147 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
148 caret-delimited strings (Bug#16079).
149
ff8c9764
DG
1502013-12-09 Dmitry Gutov <dgutov@yandex.ru>
151
152 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
153 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
154 `ruby-parse-partial' (Bug#16078).
155
d64643b4
LL
1562013-12-09 Leo Liu <sdl.web@gmail.com>
157
158 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
159
47e59c66
DG
1602013-12-08 Dmitry Gutov <dgutov@yandex.ru>
161
162 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
163 (js-switch-indent-offset): New option.
164 (js--proper-indentation): Use it. And handle the case when
165 "default" is actually a key in an object literal.
166 (js--same-line): New function.
167 (js--multi-line-declaration-indentation): Use it.
168 (js--indent-in-array-comp, js--array-comp-indentation): New
169 functions.
170 (js--proper-indentation): Use them, to handle array comprehension
171 continuations.
172
974ebc9c
LL
1732013-12-08 Leo Liu <sdl.web@gmail.com>
174
175 * progmodes/flymake.el (flymake-highlight-line): Re-write.
176 (flymake-make-overlay): Remove arg MOUSE-FACE.
177 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
178
27262e39
SM
1792013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
182 New function.
183 (redisplay-highlight-region-function): Use it.
184
185 * emulation/cua-base.el (cua--explicit-region-start)
186 (cua--last-region-shifted): Remove.
187 (cua--deactivate): Use deactivate-mark.
188 (cua--pre-command-handler-1): Don't handle shift-selection.
189 (cua--post-command-handler-1): Don't change transient-mark-mode.
190 (cua--select-keymaps): Use region-active-p rather than
191 cua--explicit-region-start or cua--last-region-shifted.
192 (cua-mode): Enable shift-select-mode.
193
6407822c
LL
1942013-12-08 Leo Liu <sdl.web@gmail.com>
195
27262e39
SM
196 * progmodes/flymake.el (flymake-popup-current-error-menu):
197 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
198 (flymake-posn-at-point-as-event, flymake-popup-menu)
199 (flymake-make-emacs-menu): Remove. (Bug#16077)
200
00a2b823
SM
2012013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
202
02033d49
SM
203 * rect.el (rectangle-mark-mode): Activate mark even if
204 transient-mark-mode is off (bug#16066).
205 (rectangle--highlight-for-redisplay): Fix boundary condition when point
206 is > mark and at bolp.
207
6f8dfccf
SM
208 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
209 (region-extract-function): Use it.
210 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
211 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
212 Delete functions.
213 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
214 kill-ring-save, kill-region, delete-char, delete-forward-char.
215 Ignore self-insert-iso.
216
217 * emulation/cua-gmrk.el (cua--init-global-mark):
218 Ignore `self-insert-iso'.
219
220 * emulation/cua-base.el (cua--prefix-copy-handler)
221 (cua--prefix-cut-handler): Rely on region-extract-function rather than
222 checking cua--rectangle.
223 (cua-delete-region): Use region-extract-function.
224 (cua-replace-region): Delete function.
225 (cua-copy-region, cua-cut-region): Obey region-extract-function.
226 (cua--pre-command-handler-1): Don't do the delete-selection thing.
227 (cua--self-insert-char-p): Ignore `self-insert-iso'.
228 (cua--init-keymaps): Don't remap delete-selection commands.
229 (cua-mode): Use delete-selection-mode instead of rolling our own
230 (bug#16085).
231
232 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
233 Obey region-extract-function.
234
00a2b823
SM
235 Make registers and delete-selection-mode work on rectangles.
236 * register.el (describe-register-1): Don't modify the register's value.
237 (copy-to-register): Obey region-extract-function.
238 * delsel.el (delete-active-region): Obey region-extract-function.
239
a92fa5f1
LL
2402013-12-08 Leo Liu <sdl.web@gmail.com>
241
242 * progmodes/flymake.el (flymake, flymake-error-bitmap)
243 (flymake-warning-bitmap, flymake-fringe-indicator-position)
244 (flymake-compilation-prevents-syntax-check)
245 (flymake-start-syntax-check-on-newline)
246 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
247 (flymake-start-syntax-check-on-find-file, flymake-log-level)
248 (flymake-xml-program, flymake-master-file-dirs)
249 (flymake-master-file-count-limit)
250 (flymake-allowed-file-name-masks): Relocate.
251 (flymake-makehash, flymake-float-time)
252 (flymake-replace-regexp-in-string, flymake-split-string)
253 (flymake-get-temp-dir): Remove.
254 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
255 (flymake-current-row, flymake-selected-frame)
256 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
257 related functions. (Bug#16077)
258
73c8ceea
BB
2592013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
260
261 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
262
faec28d9
TH
2632013-12-07 Tassilo Horn <tsdh@gnu.org>
264
265 * help-fns.el (describe-function-1): Use new advice-* functions
266 rather than old ad-* functions. Fix function type description and
267 source links for advised functions and subrs.
268
e330b646
LMI
2692013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
00a2b823 271 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 272
4803595d
MA
2732013-12-06 Michael Albinus <michael.albinus@gmx.de>
274
275 * progmodes/compile.el (compilation-start):
276 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
277
278 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
279 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
280
fa834a93
DG
2812013-12-06 Dmitry Gutov <dgutov@yandex.ru>
282
00a2b823
SM
283 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
284 Touch up the last change.
fa834a93 285
b2856a6f
LL
2862013-12-06 Leo Liu <sdl.web@gmail.com>
287
288 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
289 (inferior-octave-startup): Always use "octave> " for prompt.
290 (octave-goto-function-definition)
291 (octave-sync-function-file-names)
292 (octave-find-definition-default-filename): Remove redundant backquotes.
293
af67e79a
DG
2942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
297 syntax for `?'.
298 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
299 where appropriate already.
300 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
301 end of method names (Bug#15874).
302
bf093209
JL
3032013-12-06 Juri Linkov <juri@jurta.org>
304
305 * isearch.el (isearch--saved-overriding-local-map):
306 New internal variable.
307 (isearch-mode): Set it to the initial value of
308 `overriding-terminal-local-map'.
309 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
310 with `isearch--saved-overriding-local-map'. (Bug#16035)
311
16588fad
DG
3122013-12-06 Dmitry Gutov <dgutov@yandex.ru>
313
00a2b823
SM
314 * progmodes/octave.el (inferior-octave-completion-table):
315 Turn back into function, use `completion-table-with-cache'
16588fad
DG
316 (Bug#11906). Update all references.
317
318 * minibuffer.el (completion-table-with-cache): New function.
319
bf4906d7
CD
3202013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
321
322 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
323
ff69c18f
TZ
3242013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
325
326 * net/eww.el (eww-current-source): New variable to store page
327 source.
328 (eww-display-html, eww-mode, eww-save-history)
329 (eww-restore-history): Use it.
330 (eww-view-source): New command to view page source.
331 Opportunistically uses `html-mode' to highlight the buffer.
332 (eww-mode-map): Install it.
333
b85eff45
MA
3342013-12-05 Michael Albinus <michael.albinus@gmx.de>
335
336 * net/dbus.el (dbus-unregister-service)
337 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
338 Fix docstring.
339 (dbus-unregister-service): Skip :serial entries in
340 `dbus-registered-objects-table'.
341 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
342
39eb0899
TZ
3432013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
344
345 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
346 around keywords with extra `split-string' argument.
347
456760a5
MR
3482013-12-04 Martin Rudalics <rudalics@gmx.at>
349
350 * windmove.el (windmove-other-window-loc): Handle navigation
351 between windows (excluding the minibuffer window - Bug#16017).
352
81961e4c
MA
3532013-12-04 Michael Albinus <michael.albinus@gmx.de>
354
355 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
356 in D-Bus type syntax.
357 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
358 preserve unibyte strings. (Bug#16048)
359
8497f938
SM
3602013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
363 Call force-mode-line-update is the proper buffer (bug#16042).
364
dda61916
DG
3652013-12-04 Dmitry Gutov <dgutov@yandex.ru>
366
367 * vc/log-edit.el (log-edit-add-new-comment): Rename to
368 `log-edit-remember-comment', make argument optional. Adjust all
369 callers.
370 (log-edit-mode): Add `log-edit-remember-comment' to
371 `kill-buffer-hook' locally.
372 (log-edit-kill-buffer): Don't remember comment explicitly since
373 the buffer is killed anyway.
374
c085e5b9
JL
3752013-12-04 Juri Linkov <juri@jurta.org>
376
377 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
378 add-hook and remove-hook for multi-buffer search. (Bug#16035)
379
d6f2380e
TR
3802013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
381
382 * notifications.el (notifications-close-notification): Call the
81961e4c 383 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 384
39fa32d6
KY
3852013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
386
387 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
388
9139632a
JL
3892013-12-03 Juri Linkov <juri@jurta.org>
390
391 * progmodes/compile.el (compilation-start): Rename window alist
392 entry `no-display-ok' to `allow-no-window'.
393
394 * simple.el (shell-command): Add window alist entry
395 `allow-no-window' to `display-buffer'.
396 (async-shell-command): Doc fix.
397
398 * window.el (display-buffer-no-window): New action function.
399 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
400
0f457a37
DG
4012013-12-02 Dmitry Gutov <dgutov@yandex.ru>
402
403 * vc/log-edit.el (log-edit-set-header): Extract from
404 `log-edit-toggle-header'.
405 (log-edit-extract-headers): Separate the summary, when extracted
406 from header, from the rest of the message with an empty line.
407
408 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
409 line, if present, to the Summary header.
410
0962f376
SM
4112013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
414 in current-buffer (bug#16029).
415
f345395c
HE
4162013-12-02 Helmut Eller <eller.helmut@gmail.com>
417
418 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
419 (debugger-mode-map): Bind it.
420 (debugger--backtrace-base): New function.
421 (debugger-eval-expression): Use it.
422 (debugger-frame-number): Skip local vars when present.
423 (debugger--locals-visible-p, debugger--insert-locals)
424 (debugger--show-locals, debugger--hide-locals): New functions.
425
a8a15d9d
MA
4262013-12-02 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
429 "LC_ALL".
430 (tramp-get-remote-locale): New defun.
431 (tramp-open-connection-setup-interactive-shell): Use it.
432
0518b057
LL
4332013-12-02 Leo Liu <sdl.web@gmail.com>
434
435 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
436
437 * progmodes/sh-script.el (sh-shell-process):
438 * progmodes/octave.el (inferior-octave-process-live-p):
439 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
440 (gdb-inferior-io-sentinel):
441 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
442
3adc9c6d
DG
4432013-12-02 Dmitry Gutov <dgutov@yandex.ru>
444
445 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
446 `save-selected-window' to `log-edit-hide-buf'. This makes
447 `log-edit-show-files' idempotent.
448 (log-edit-show-files): Mark the new window as dedicated.
449
47e8b74e
DG
4502013-12-02 Dmitry Gutov <dgutov@yandex.ru>
451
452 * vc/log-edit.el (log-edit-mode-map): Add binding for
453 `log-edit-kill-biffer'.
454 (log-edit-hide-buf): Add a FIXME comment.
455 (log-edit-add-new-comment): New function, extracted from
456 `log-edit-done'.
457 (log-edit-done, log-edit-add-to-changelog): Use it.
458 (log-edit-kill-buffer): New command.
459
1f6e1bb0
LMI
4602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
461
462 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
463 instead of killing the buffer.
464
fb651d15
SM
4652013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
468
8feacce0
RS
4692013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
470
fb651d15 471 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 472 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
473 (eww-form-checkbox, eww-toggle-checkbox):
474 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
475
476 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
477 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
478 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
479 no :src tag was specified.
480
fb651d15 481 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
482 (eww-render): Handle `eww-use-external-browser-for-content-type'.
483 Use \\` to match beginning of string instead of ^.
484 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 485 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 486
177948a5
RS
487 * net/shr.el (shr-tag-video): Display content for video if no
488 poster is available.
eb2dd24d 489 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
490
491 * net/eww.el (eww-text-input-types): : New const.
492 (eww-process-text-input): Treat input types in
493 `eww-text-input-types' as text.
494
8feacce0
RS
495 * net/shr.el (shr-tag-table): Fix comment typo.
496
513562a1
LMI
4972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
498
499 * net/eww.el (eww-follow-link): New command to avoid reloading
500 pages when we follow #target links (bug#15243).
de8a5633 501 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 502
9dd99753
KN
5032013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
504
505 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
506 forms.
507
3e9876de
LMI
5082013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
509
510 * net/eww.el (eww-restore-history): Update the window title after
511 moving in the history.
ab6dea82 512 (eww-current-dom): New variable used to save the current DOM.
3e9876de 513
52789f7f
DG
5142013-12-01 Dmitry Gutov <dgutov@yandex.ru>
515
516 * vc/log-edit.el (log-edit-mode-map): Add binding for
517 `log-edit-beginning-of-line'.
518 (log-edit-setup-add-author): New user option.
519 (log-edit-beginning-of-line): New command.
520 (log-edit): Move major mode call above the contents setup so that
521 the local variable values are already applied.
522 (log-edit): Only insert "Author: " when
523 `log-edit-setup-add-author' is non-nil.
524 (log-edit): When SETUP is non-nil, position point after ": "
525 instead of point-min.
526
2e6710c3
GM
5272013-12-01 Glenn Morris <rgm@gnu.org>
528
529 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
530
fadec31f
EZ
5312013-11-30 Eli Zaretskii <eliz@gnu.org>
532
533 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 534 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
535 visible. (Bug#16014)
536
10634b40 5372013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
538
539 Support resizing frames and windows pixelwise.
540 * cus-start.el (frame-resize-pixelwise)
541 (window-resize-pixelwise): New entries.
542 * emacs-lisp/debug.el (debug): Use window-total-height instead
543 of window-total-size.
544 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
545 * help.el (describe-bindings-internal): Call help-buffer
546 (temp-buffer-max-width): New option.
547 (resize-temp-buffer-window, help-window-setup)
548 (with-help-window): Rewrite.
549 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
550 dragging dividers.
551 * window.el (frame-char-size, window-min-pixel-height)
552 (window-safe-min-pixel-height, window-safe-min-pixel-width)
553 (window-min-pixel-width, window-safe-min-pixel-size)
554 (window-combination-p, window-safe-min-size)
555 (window-resizable-p, window--size-to-pixel)
556 (window--pixel-to-size, window--resize-apply-p): New functions.
557 (window-safe-min-height): Fix doc-string.
558 (window-size, window-min-size, window--min-size-1)
559 (window-sizable, window-sizable-p, window--min-delta-1)
560 (window-min-delta, window--max-delta-1, window-max-delta)
561 (window--resizable, window--resizable-p, window-resizable)
562 (window-full-height-p, window-full-width-p, window-at-side-p)
563 (window--in-direction-2, window-in-direction)
564 (window--resize-reset-1, window--resize-mini-window)
565 (window-resize, window-resize-no-error)
566 (window--resize-child-windows-normal)
567 (window--resize-child-windows, window--resize-siblings)
568 (window--resize-this-window, window--resize-root-window)
569 (window--resize-root-window-vertically)
570 (adjust-window-trailing-edge, enlarge-window, shrink-window)
571 (maximize-window, minimize-window, delete-window)
572 (quit-restore-window, window-split-min-size, split-window)
573 (balance-windows-2, balance-windows)
574 (balance-windows-area-adjust, balance-windows-area)
575 (window--state-get-1, window-state-get, window--state-put-1)
576 (window--state-put-2, window-state-put)
fb651d15
SM
577 (display-buffer-record-window, window--display-buffer):
578 Make functions handle pixelwise sizing of windows.
880e6158 579 (display-buffer--action-function-custom-type)
fb651d15
SM
580 (display-buffer-fallback-action):
581 Add display-buffer-in-previous-window.
880e6158
MR
582 (display-buffer-use-some-window): Resize window to height it had
583 before.
584 (fit-window-to-buffer-horizontally): New option.
585 (fit-frame-to-buffer): Describe new values.
586 (fit-frame-to-buffer-bottom-margin): Replace with
587 fit-frame-to-buffer-margins.
588 (window--sanitize-margin): New function.
589 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
590 using window-text-pixel-size.
591
f9b697dd
GM
5922013-11-30 Glenn Morris <rgm@gnu.org>
593
3e2fb4db
GM
594 * emacs-lisp/bytecomp.el (byte-compile-form):
595 Make the `interactive-only' warning like the `obsolete' one.
596 * comint.el (comint-run):
597 * files.el (insert-file-literally, insert-file):
598 * replace.el (replace-string, replace-regexp):
599 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
600 (goto-line, insert-buffer, next-line, previous-line):
601 Tweak `interactive-only' spec.
602
f9b697dd
GM
603 Stop keeping (most) generated cedet grammar files in the repository.
604 * Makefile.in (semantic): New.
605 (compile-main): Depend on semantic.
606
da048127
SM
6072013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
608
7784b779
SM
609 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
610 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
611
4e36a6a6
SM
612 * uniquify.el (uniquify-buffer-name-style): Change default.
613
614 * loadup.el: Preload "uniquify".
615
e0ba1308
SM
616 * time.el (display-time-update): Update all mode lines (bug#15999).
617
da048127
SM
618 * electric.el (electric-indent-mode): Enable by default.
619 * loadup.el: Preload "electric".
620
015b3b3e
BB
6212013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
622
623 * emacs-lisp/helpers.el (string-empty-p): New function.
624 (string-blank-p): New function.
625
7efb806d
AP
6262013-11-29 Andreas Politz <politza@hochschule-trier.de>
627
628 * imenu.el (imenu--index-alist): Add missing dot to the docstring
629 (Bug#14029).
630
c8f0efc2
AP
6312013-11-29 Andreas Politz <politza@fh-trier.de>
632 * imenu.el (imenu--subalist-p): Don't error on non-conses and
633 allow non-lambda lists as functions.
634 (imenu--in-alist): Don't recurse into non-subalists.
635 (imenu): Don't pass function itself as an argument (Bug#14029).
636
bd15d9d1
SM
6372013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * progmodes/python.el (python-mode-map): Remove binding for ":".
640 (python-indent-electric-colon): Remove command.
641 (python-indent-post-self-insert-function): Integrate the previous code
642 of python-indent-electric-colon. Make it conditional on
643 electric-indent-mode.
644 (python-mode): Add ?: to electric-indent-chars.
645 Move python-indent-post-self-insert-function to the end of
646 post-self-insert-hook.
647
1b10adb6
SM
6482013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
649
655ab9a3
SM
650 * doc-view.el (doc-view-goto-page): Update mode-line.
651
1b10adb6
SM
652 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
653
7e3bf78c
GM
6542013-11-27 Glenn Morris <rgm@gnu.org>
655
656 * international/charprop.el, international/uni-bidi.el:
657 * international/uni-category.el, international/uni-combining.el:
658 * international/uni-comment.el, international/uni-decimal.el:
659 * international/uni-decomposition.el, international/uni-digit.el:
660 * international/uni-lowercase.el, international/uni-mirrored.el:
661 * international/uni-name.el, international/uni-numeric.el:
662 * international/uni-old-name.el, international/uni-titlecase.el:
663 * international/uni-uppercase.el:
664 Remove generated files from VCS repository.
665
fb6a5d68
EZ
6662013-11-27 Eli Zaretskii <eliz@gnu.org>
667
668 * filenotify.el (file-notify-add-watch): Don't special-case
669 w32notify when computing the directory to watch.
670
cb6c95a3
GM
6712013-11-27 Glenn Morris <rgm@gnu.org>
672
20372d0c
GM
673 Make bootstrap without generated uni-*.el files possible again.
674 * loadup.el: Update command-line-args checking for unidata-gen.
675 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
676 * composite.el, international/characters.el:
677 Handle unicode tables being undefined.
678
52d6635f 679 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
680 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
681 (compile-main): Depend on leim rule.
682 (leim): New rule.
683 * loadup.el: Move leim-list.el to leim/ subdirectory.
684 * startup.el (normal-top-level): No more leim directory.
685 * international/ja-dic-cnv.el (skkdic-convert):
686 Disable version-control and autoloads in output files.
687 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
688 Disable version-control and autoloads in output files.
689 * leim/quail: Move here from ../leim.
690 * leim/quail/hangul.el (hangul-input-method-activate):
691 Add autoload cookie.
692 (generated-autoload-load-name): Set file-local value.
693 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
694 (generated-autoload-load-name): Set file-local value.
695
0449d6cd 6962013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
697
698 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
699 (eww-add-bookmark): ask confirmation when add to bookmarks
700 (eww-quit): ask confirmation before quitting eww
701
0e2c793f
EZ
7022013-11-26 Eli Zaretskii <eliz@gnu.org>
703
704 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
705 reading output from Diff on MS-Windows and MS-DOS.
706
447bdcb8
BB
7072013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
708
709 * emacs-lisp/helpers.el (string-reverse): New function.
710
5fbf6856
MA
7112013-11-26 Michael Albinus <michael.albinus@gmx.de>
712
713 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
714 names on MS Windows, like "/[::1]:".
715
716 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
717 SWITCHES.
718
624780f0
GM
7192013-11-26 Glenn Morris <rgm@gnu.org>
720
0bf3f0fa
GM
721 * progmodes/python.el (python-indent-guess-indent-offset):
722 Avoid corner-case error. (Bug#15975)
723
624780f0
GM
724 Preload leim-list.el. (Bug#4789)
725 * loadup.el: Load leim-list.el when found.
726 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
727
4301875e 7282013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
729
730 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
731
4301875e
BB
732 * emacs-lisp/helpers.el (string-join): New function.
733
1633a815 7342013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
735
736 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
737 Mark as obsolete and replace it with a symbol property.
738 (byte-compile-form): Use new 'interactive-only property.
739 * comint.el, files.el, replace.el, simple.el:
740 Apply new 'interactive-only properly.
741
00139435
MR
7422013-11-25 Martin Rudalics <rudalics@gmx.at>
743
744 * window.el (display-buffer-at-bottom): Make sure that
745 split-window-sensibly creates the new window on bottom
746 (Bug#15961).
747
5f5b128d
DK
7482013-11-23 David Kastrup <dak@gnu.org>
749
750 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
751 on the conflict markers when available.
752 (smerge--get-marker): New function.
753 (smerge-end-re, smerge-base-re): Add subgroup.
754
623891e5
SM
7552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * frame.el (handle-focus-in, handle-focus-out): Add missing
758 interactive spec.
759
05ca27d8
MA
7602013-11-25 Michael Albinus <michael.albinus@gmx.de>
761
762 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
763 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
764
511fa0d3
SM
7652013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
766
e82ad66c
SM
767 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
768 (gomoku--last-pos): New var.
769 (gomoku--intangible-chars): New const.
770 (gomoku--intangible): New function.
771 (gomoku-mode): Use it. Derive from special-mode.
772 (gomoku-move-up): Adjust line count.
773 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
774 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
775 Simplify accordingly.
776
511fa0d3
SM
777 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
778 Remove blink-cursor code.
779 (blink-cursor-timer-function, blink-cursor-suspend):
780 Don't special-case GUIs.
781 (blink-cursor-mode): Use focus-in/out-hook.
782
6f20dd03
DG
7832013-11-25 Dmitry Gutov <dgutov@yandex.ru>
784
785 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
786 work when annotation is invisible (Bug#13886).
787
431dec31 7882013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
789
790 * json.el (json-alist-p): Only return non-nil if the alist has
791 simple keys (Bug#13518).
792
431dec31 7932013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
794
795 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
796 when control-statement is the first statement in a buffer (Bug#15956).
797
ee4f0261
DG
7982013-11-24 Dmitry Gutov <dgutov@yandex.ru>
799
800 * imenu.el (imenu-generic-skip-comments-and-strings):
801 New option (Bug#15560).
802 (imenu--generic-function): Use it.
803
c484f866
JS
8042013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
805
806 * minibuffer.el (completion--in-region-1): Scroll the correct
807 window. (Bug#13898)
808
41ce6f70
BB
8092013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
810
b55aea38
BB
811 * emacs-lisp/helpers.el: Add some string helpers.
812 (string-trim-left): Removes leading whitespace.
813 (string-trim-right): Removes trailing whitespace.
814 (string-trim): Removes leading and trailing whitespace.
815
41ce6f70
BB
816 * subr.el (string-suffix-p): New function.
817
3cfb6af3
GM
8182013-11-23 Glenn Morris <rgm@gnu.org>
819
820 * progmodes/python.el (python-shell-send-file):
821 Add option to delete file when done. (Bug#15647)
822 (python-shell-send-string, python-shell-send-region): Use it.
823
c27924b7
IS
8242013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
825
e1b01c7f
IS
826 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
827 to set buffer-read-only to t, never to nil. (Bug#15938)
828
c27924b7
IS
829 * textmodes/tex-mode.el (latex-noindent-environments):
830 Add safe-local-variable property. (Bug#15936)
831
17e0445b
GM
8322013-11-23 Glenn Morris <rgm@gnu.org>
833
92f78ea3
GM
834 * textmodes/enriched.el (enriched-mode): Doc fix.
835 * emacs-lisp/authors.el (authors-renamed-files-alist):
836 Add enriched.doc -> enriched.txt.
837
17e0445b
GM
838 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
839
965bb23a
LL
8402013-11-22 Leo Liu <sdl.web@gmail.com>
841
842 * progmodes/octave.el (inferior-octave-startup): Spit out error
843 message.
844
d19ffd64
BB
8452013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
846
847 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
848 Improve docstring.
15ba2182
BB
849 Add :version.
850 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 851
7a7567d2
LL
8522013-11-22 Leo Liu <sdl.web@gmail.com>
853
854 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
855 (Bug#15076)
8c09f64b
LL
856 (octave-help-mode): Adapt to change to help-mode-finish to use
857 derived-mode-p on 2013-09-17.
858 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 859 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 860
724bc265
LL
8612013-11-22 Leo Liu <sdl.web@gmail.com>
862
863 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
864 (inferior-octave-startup, inferior-octave-check-process)
865 (inferior-octave-track-window-width-change)
866 (octave-completion-at-point, octave-eldoc-function): Use it.
867 (octave-kill-process): Provide confirmation. (Bug#10564)
868
38637cca
LL
8692013-11-21 Leo Liu <sdl.web@gmail.com>
870
511fa0d3
SM
871 * progmodes/octave.el (octave-mode, inferior-octave-mode):
872 Fix obsolete variable comment-use-global-state.
38637cca 873
06e752b4
RS
8742013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
875
511fa0d3
SM
876 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
877 Add `octave-source-file'.
06e752b4
RS
878 (octave-source-file): New function. (Bug#15935)
879
0449d6cd 8802013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
881
882 * net/eww.el (eww-local-regex): New variable.
883 (eww): Use it to detect localhost and similar.
884
b6ffa04a
LL
8852013-11-21 Leo Liu <sdl.web@gmail.com>
886
887 Add completion for command `ag'.
2021a200
LL
888 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
889 (pcomplete/ag): New function.
890 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 891
d1a6bccc
SM
8922013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
895 (bug#14646).
896 (make-obsolete): Remove interactive spec.
897
2df10228
GM
8982013-11-21 Glenn Morris <rgm@gnu.org>
899
900 * startup.el (command-line-1): Use path-separator with -L.
901
86fd16b6
TZ
9022013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
903
904 * emacs-lisp/package.el (describe-package-1): Add package archive
905 to shown fields.
906
0449d6cd 9072013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
908
909 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
910 Change default to "# encoding: %s" to differentiate it from the
911 default Ruby encoding comment template.
912
dc7e8c17 9132013-11-20 era eriksson <era+emacsbugs@iki.fi>
914
915 * ses.el (ses-mode): Doc fix. (Bug#14748)
916
f0cfa5fe
LL
9172013-11-20 Leo Liu <sdl.web@gmail.com>
918
919 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
920
826dc7b6
DN
9212013-11-19 Dan Nicolaescu <dann@gnu.org>
922
923 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
924 when rebase or bisect are in progress.
925
a6e3a5d5
XF
9262013-11-19 Xue Fuqiao <xfq.free@gmail.com>
927
928 * filenotify.el (file-notify-add-watch): Doc fix.
929
f130cb76
LL
9302013-11-19 Leo Liu <sdl.web@gmail.com>
931
e0855d7d
LL
932 * obsolete/rcompile.el: Mark obsolete.
933
f130cb76 934 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
935 (compilation-goto-locus, compilation-find-file):
936 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
937 (Bug#13594)
938
939 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
940 new parameter no-display-ok. Return either a window or nil
941 but never a non-window value.
f130cb76 942
1f35d401
SM
9432013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
944
25158c76
SM
945 * electric.el (electric-indent-mode-map): Remove.
946 (electric-indent-mode): Change the global-map instead (bug#15915).
947
948 * textmodes/text-mode.el (paragraph-indent-minor-mode):
949 Use add-function.
1f35d401 950
9bc67baa
SM
9512013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
952
986545b5
SM
953 * emacs-lisp/nadvice.el (remove-function): Align with
954 add-function's behavior.
955
9bc67baa
SM
956 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
957 (gdb--string-regexp): New constant.
958 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
959 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
960 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
961 submatch 1.
962 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
963 Adjust use accordingly.
964 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
965
56cd894e
AS
9662013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
967
968 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
969 interpolation curlies (Bug#15914).
970
014690de
JB
9712013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
972
973 * calc/calc.el (calc-context-sensitive-enter): New variable.
974 (calc-enter): Use `calc-context-sensitive-enter'.
975
7e26a6c3
TZ
9762013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
977
978 * progmodes/cfengine.el: Version bump.
979 (cfengine-cf-promises): New defcustom to locate cf-promises.
980 (cfengine3-vartypes): Add new "data" type.
981 (cfengine3--current-word): New function to get current name-like
982 word or its bounds.
983 (cfengine3--current-function): New function to look up a CFEngine
984 function's definition.
985 (cfengine3-format-function-docstring): New function.
986 (cfengine3-make-syntax-cache): New function.
987 (cfengine3-documentation-function): New function: ElDoc glue.
988 (cfengine3-completion-function): New function: completion glue.
989 (cfengine3-mode): Set `compile-command',
990 `eldoc-documentation-function', and add to
991 `completion-at-point-functions'.
992
355204dd
MA
9932013-11-16 Michael Albinus <michael.albinus@gmx.de>
994
995 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
996 `tramp-current-connection'.
997
43cebc23
DG
9982013-11-15 Dmitry Gutov <dgutov@yandex.ru>
999
1000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1001 nil/self/true/false with "end of symbol".
1002
a3fed6ff
BB
10032013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1004
1005 * subr.el (version-regexp-alist): Fix a typo.
1006
e675b3e4
MA
10072013-11-15 Michael Albinus <michael.albinus@gmx.de>
1008
1009 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1010 "en_US.utf8" and "LC_CTYPE" to "".
1011 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1012 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1013
a1f03e89
LL
10142013-11-15 Leo Liu <sdl.web@gmail.com>
1015
1016 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1017
5d9d9451
SM
10182013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1019
58362662
CS
1020 * progmodes/gud.el (ctl-x-map):
1021 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1022 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1023
6c1bf086
BB
10242013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1025
0d5363c4
BB
1026 * subr.el (version-regexp-alist):
1027 Recognize hg, svn and darcs versions as snapshot versions.
1028
4e9fc48c
BB
1029 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1030 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1031 (ruby--encoding-comment-required-p): Extract from
1032 `ruby-mode-set-encoding'.
1033 (ruby-mode-set-encoding): Add the ability to always insert an
1034 utf-8 encoding comment. Fix and simplify coding comment update
1035 logic.
6c1bf086 1036
2f7e72f8
MA
10372013-11-14 Michael Albinus <michael.albinus@gmx.de>
1038
1039 * net/tramp-gvfs.el (top): Run init code only when
1040 `tramp-gvfs-enabled' is not nil.
1041 (tramp-gvfs-enabled): Check also :system bus.
1042
0f137a73
SM
10432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 Sync with upstream verilog-mode revision 78e66ba.
1046 * progmodes/verilog-mode.el (verilog-end-of-defun)
1047 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1048 (verilog-get-end-of-defun): Remove unused argument.
1049 (verilog-comment-depth): Remove unused local `e'.
1050 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1051 Don't pass arg to verilog-get-end-of-defun.
1052
1c276bdd
GM
10532013-11-14 Glenn Morris <rgm@gnu.org>
1054
1055 * obsolete/assoc.el (aget): Prefix dynamic variable.
1056
1057 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1058
ff6ec81d
SM
10592013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * widget.el, hfy-cmap.el: Remove bogus package version number.
1062
75f777b6
GM
10632013-11-13 Glenn Morris <rgm@gnu.org>
1064
1d43dba1
GM
1065 * replace.el (replace-eval-replacement):
1066 Try to give more helpful error message. (Bug#15836)
1067
ff4b7bd5
GM
1068 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1069 (archive-7z-update): Avoid custom type mismatches.
1070
75f777b6
GM
1071 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1072
11151a06
MA
10732013-11-13 Michael Albinus <michael.albinus@gmx.de>
1074
e675b3e4 1075 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1076 address can be empty.
1077
1078 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1079 Accept nil SWITCHES.
1080 (tramp-gvfs-handle-write-region): Implement APPEND.
1081
7b08f97e
DG
10822013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1085 binary "|" operator and closing block args delimiter.
1086 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1087 (ruby-smie--implicit-semi-p): Not after "|" operator.
1088 (ruby-smie--closing-pipe-p): New function.
1089 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1090 (ruby-smie-rules): Indent after "|".
1091
f201cf3a
GM
10922013-11-12 Glenn Morris <rgm@gnu.org>
1093
1094 * ps-print.el (ps-face-attribute-list):
1095 Handle anonymous faces. (Bug#15827)
1096
e6f759f9
MR
10972013-11-12 Martin Rudalics <rudalics@gmx.at>
1098
1099 * window.el (display-buffer-other-frame): Fix doc-string.
1100 (Bug#15868)
1101
ecda65d4
SM
11022013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1105
7ce8fcc3
MA
11062013-11-11 Michael Albinus <michael.albinus@gmx.de>
1107
1108 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1109 (tramp-sh-handle-file-local-copy): Don't write a message when
1110 saving temporary files.
1111
1112 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1113 both directories are remote.
1114 (tramp-smb-handle-directory-files): Do not return double entries.
1115 Do not expand full file names.
1116 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1117 (tramp-smb-handle-write-region): Implement APPEND.
1118 (tramp-smb-get-stat-capability): Fix a stupid bug.
1119
7818df11
SM
11202013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1123
608c2085
NT
11242013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1125
1126 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1127 throwing error over malformed let/let* (bug#15814).
1128
122a7e46
SM
11292013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * iswitchb.el (iswitchb-mode): Mark obsolete.
1132
766284d9
GM
11332013-11-11 Glenn Morris <rgm@gnu.org>
1134
1135 * international/uni-bidi.el, international/uni-category.el:
1136 * international/uni-name.el, international/uni-numeric.el:
1137 Regenerate for Unicode 6.3.0.
1138
7072a4e9
MA
11392013-11-10 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/tramp.el (tramp-methods):
1142 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1143 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1144
c9df215b
AS
11452013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1146
608c2085
NT
1147 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1148 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1149
fa47d796
DG
11502013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1151
1152 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1153 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1154 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1155 (ispell-complete-word): Call `ispell-lookup-words' with the value
1156 independent of `ispell-look-p'.
1157
1629a329
DG
11582013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1159
1160 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1161 Not after "||".
1162 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1163 their parent.
1164
ad16897c
SM
11652013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1168 (ruby-font-lock-keywords): Use backquote.
1169
ffa2df72
DG
11702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1171
1172 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1173 (ruby-smie--backward-token): Only consider full-string matches.
1174
5b97b4c0
JD
11752013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1176
1177 * faces.el (describe-face): Add distant-foreground.
1178
71731c03
BB
11792013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1180
4e9fc48c
BB
1181 * progmodes/ruby-mode.el: Improve encoding comment handling.
1182 (ruby-encoding-magic-comment-style): New option.
1183 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1184 (ruby--insert-coding-comment, ruby--detect-encoding):
1185 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1186 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1187 to control the style of the auto-inserted encoding comment.
71731c03 1188
da3b328d
DG
11892013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1190
ad16897c
SM
1191 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1192 Use `smie-backward-sexp' with token argument.
da3b328d 1193
1606c2d3
MA
11942013-11-08 Michael Albinus <michael.albinus@gmx.de>
1195
1196 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1197 Remove instrumentation code.
1198
b0f4c320
GM
11992013-11-08 Glenn Morris <rgm@gnu.org>
1200
1201 * progmodes/autoconf.el (autoconf-mode):
1202 Tweak comment-start-skip. (Bug#15822)
1203
43668fb1
SM
12042013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1207 at bobp (bug#15826).
1208 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1209
daddb3fd
DH
12102013-11-08 Darren Hoo <darren.hoo@gmail.com>
1211
1212 * man.el (Man-start-calling): New macro, extracted from
1213 Man-getpage-in-background.
1214 (Man-getpage-in-background): Use it.
1215 (Man-update-manpage): New command.
1216 (Man-mode-map): Bind it.
1217
1f923923
DG
12182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1219
1220 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1221 of "and", "or", "&&" and "||".
1222 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1223 argument. Prohibit opening curly brace because it could only be a
1224 block opener in that position.
daddb3fd
DH
1225 (ruby-smie--forward-token, ruby-smie--backward-token):
1226 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1227 arguments.
1228 (ruby-smie--indent-to-stmt): New function, seeks the end of
1229 previous statement or beginning of buffer.
1230 (ruby-smie-rules): Use it.
1231 (ruby-smie-rules): Check if there's a ":" before a curly block
1232 opener candidate; if there is, it's a hash.
1233
3220d527
SM
12342013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1237 (cl--block-wrapper): Fix last accidental change.
1238
1eb1f9e0
MA
12392013-11-07 Michael Albinus <michael.albinus@gmx.de>
1240
1241 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1242 Instrument, in order to hunt failure on hydra.
1243
e6e4db3c
NT
12442013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1245
1246 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1247 malformed bindings form (bug#15814).
1248
b420ccfc
DG
12492013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1250
1251 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1252 "." compared to " @ ". This incidentally fixes some indentation
1253 examples with "do".
e6e4db3c 1254 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1255 (ruby-smie-grammar): New tokens: "and" and "or".
1256 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1257 Exclude "and" and "or". Remove "do" in order to work around token
1258 priorities.
1259 (ruby-smie-rules): Add all infix tokens. Handle the case of
1260 beginning-of-buffer.
b420ccfc 1261
6b4ac03e
GM
12622013-11-06 Glenn Morris <rgm@gnu.org>
1263
1264 * Makefile.in (setwins_almost, setwins_for_subdirs):
1265 Avoid accidental matches.
1266
5ca114d1
SM
12672013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * menu-bar.el (popup-menu): Use key-binding.
1270
f72552bd
EZ
12712013-11-06 Eli Zaretskii <eliz@gnu.org>
1272
1273 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1274 menus, support also the menus produced by minor modes.
1275 (Bug#15817)
1276
5d5c701e
LL
12772013-11-06 Leo Liu <sdl.web@gmail.com>
1278
1279 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1280 DISTANCE to bound the search. All uses changed. (Bug#15808)
1281
0a8b75e2
GM
12822013-11-06 Glenn Morris <rgm@gnu.org>
1283
1284 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1285 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1286 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1287
a35287ea
SM
12882013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1289
feca4e2d
SM
1290 * electric.el (electric-indent-just-newline): New command.
1291 (electric-indent-mode-map): New keymap.
1292 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1293 Re-add :group which weren't redundant.
1294
a35287ea
SM
1295 * electric.el (electric-indent-local-mode): New minor mode.
1296 (electric-indent-functions-without-reindent): New var.
1297 (electric-indent-post-self-insert-function): Use it.
1298 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1299
375761b2
EZ
13002013-11-05 Eli Zaretskii <eliz@gnu.org>
1301
9a6ad735
EZ
1302 * international/quail.el (quail-help): Be more explicit about the
1303 meaning of the labels shown on the keys. (Bug#15800)
1304
375761b2
EZ
1305 * startup.el (normal-top-level): Load the subdirs.el files before
1306 setting the locale environment. (Bug#15805)
1307
520a6e4a
SM
13082013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1309
0acfafef
SM
1310 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1311 via arguments so as to get the right ones (bug#15418).
1312
520a6e4a
SM
1313 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1314
15826261
MA
13152013-11-05 Michael Albinus <michael.albinus@gmx.de>
1316
1317 Fix problems found while writing a test suite.
1318
1319 * net/tramp-compat.el (tramp-compat-load): New defun.
1320 * net/tramp.el (tramp-handle-load): Use it.
1321
1322 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1323 "(numberp ok-if-already-exists)" correctly.
1324
d35f31a4
XF
13252013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1326
1327 * international/characters.el (glyphless-char-display-control):
1328 Add usage note.
1329
ae93bc74
BB
13302013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1331
520a6e4a
SM
1332 * progmodes/python.el (python-mode):
1333 * progmodes/scheme.el (scheme-mode):
1334 * progmodes/prolog.el (prolog-mode):
1335 * progmodes/ruby-mode.el (ruby-mode):
1336 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1337 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1338
0ade65b5
SM
13392013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1340
a0d5f7a4
SM
1341 * rect.el (rectangle--highlight-for-redisplay):
1342 * emacs-lisp/smie.el (smie--next-indent-change):
1343 Use buffer-chars-modified-tick.
1344
c93f3f5c
SM
1345 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1346
0ade65b5
SM
1347 * electric.el (electric-indent-post-self-insert-function):
1348 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1349
ef9dd188
HE
13502013-11-04 Helmut Eller <eller.helmut@gmail.com>
1351
1352 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1353
306e7308
NT
13542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1355
1356 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1357 (bug#15786).
1358
e5afbcac
SM
13592013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1d01ad41
SM
1361 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1362
e5afbcac
SM
1363 * progmodes/python.el: Fix up last change.
1364 (python-shell--save-temp-file): New function.
1365 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1366 `string' comes from the current buffer.
1367 (python-shell-send-string-no-output): Remove `msg' arg.
1368 (python--use-fake-loc): New var.
1369 (python-shell-buffer-substring): Obey it. Try to compensate for the
1370 extra coding line added by python-shell--save-temp-file.
1371 (python-shell-send-region): Use python-shell--save-temp-file and
1372 python-shell-send-file directly. Add `nomain' argument.
1373 (python-shell-send-buffer): Use python-shell-send-region.
1374 (python-electric-pair-string-delimiter): New function.
1375 (python-mode): Use it.
1376
d0065ff1
EZ
13772013-11-04 Eli Zaretskii <eliz@gnu.org>
1378
1379 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1380 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1381 environment and decoding all of the default-directory's to here
1382 from command-line.
1383 (command-line): Decode also argv[0].
1384
1385 * loadup.el: Error out if default-directory is a multibyte string
1386 when we are dumping.
1387
1388 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1389
7397c587
TZ
13902013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1391
1392 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1393 (package-menu--print-info, package-menu--archive-predicate):
1394 Add Archive column to package list.
7397c587 1395
b27cc9fc
MA
13962013-11-04 Michael Albinus <michael.albinus@gmx.de>
1397
1398 Fix problems found while writing a test suite.
1399
1400 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1401 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1402 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1403 to nil when running original file name handler. Otherwise,
1404 there are problems with constructs like "$$FOO".
1405
1406 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1407 for `localname'.
1408
d8c4f18a
BB
14092013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1410
7b530552
BB
1411 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1412
1413 * subr.el (version<, version<=, version=):
1414 Update docstrings with information for snapshot versions.
1415
d8c4f18a
BB
1416 * helpers.el: New library for misc helper functions.
1417 (hash-table-keys): New function returning a list of hash keys.
1418 (hash-table-values): New function returning a list of hash values.
1419
dca01b09
DG
14202013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1421
1422 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1423 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1424
0a749fa0
MN
14252013-11-04 Michal Nazarewicz <mina86@mina86.com>
1426
1427 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1428 checking whether point is after a 1-letter word.
1429
14302013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1431
1432 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1433 Don't infloop when expanding region over `multiline' syntax-type that
1434 begins a line (bug#15778).
1435
4aca7145
SM
14362013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1439 Make it into a proper minor mode.
1440 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1441 (rectangle-mark-mode-map): New keymap.
1442 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1443
a0833f62
GM
14442013-11-04 Glenn Morris <rgm@gnu.org>
1445
1446 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1447
e61845c1
SM
14482013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1451 (ruby-smie-rules): Use smie-rule-parent instead.
1452
1453 * emacs-lisp/smie.el (smie-rule-parent): Always call
1454 smie-indent-virtual rather than only for hanging tokens.
1455 (smie--next-indent-change): New helper command.
1456
62942f89
GM
14572013-11-03 Glenn Morris <rgm@gnu.org>
1458
1459 * Makefile.in (abs_srcdir): Remove.
1460 (emacs): Unset EMACSLOADPATH.
1461
b0b9e592
GM
14622013-11-02 Glenn Morris <rgm@gnu.org>
1463
18ba6a33 1464 * Makefile.in (EMACS): Use a relative filename.
8061810d 1465 (abs_top_builddir): Remove.
18ba6a33
GM
1466 (custom-deps, finder-data, autoloads): Use --chdir.
1467
6a8b929e
GM
1468 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1469
c617f3d0
GM
1470 Use relative filenames in TAGS files.
1471 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1472 (lisptagsfiles4, TAGS): Use relative file names.
1473 (TAGS-LISP): Remove.
1474 (maintainer-clean): No more TAGS-LISP file.
1475
b0b9e592
GM
1476 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1477 (lisptagsfiles4): Use absolute filenames again.
1478 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1479 Remove all *loaddefs files, not just the first. Remove esh-groups.
1480 (maintainer-clean): Delete TAGS, TAGS-LISP.
1481
d1c0ea6a
BB
14822013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1483
e61845c1
SM
1484 * emacs-lisp/package.el (package-version-join):
1485 Recognize snapshot versions.
d1c0ea6a 1486
684d71c6
BB
14872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1488
1489 * subr.el (version-regexp-alist): Add support for snapshot versions.
1490
3d42b968
DG
14912013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1492
e61845c1
SM
1493 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1494 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1495 skip over our direct parent if it's an assignment token..
1496 (ruby-smie-rules): Use it.
1497
7ffd3721
DG
14982013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1499
1500 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1501 unconditionally. Remove now unnecessary forward declarations.
1502 Remove XEmacs-specific setup.
1503 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1504 (ruby-font-lock-syntactic-keywords)
1505 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1506 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1507 (ruby-here-doc-end-syntax): Remove.
1508 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1509 defined as function.
1510
a3996a2e
BB
15112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1512
1513 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1514
6f9260e8
BB
15152013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1516
1517 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1518 table and abbrev table, `define-derived-mode' does that for us
1519 anyway.
1520
6014de84
GM
15212013-11-01 Glenn Morris <rgm@gnu.org>
1522
1523 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1524 files is atomic for some time, so no parallel compilation issues).
1525
3c334c14
JD
15262013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1527
1528 * faces.el (face-x-resources): Add :distant-foreground.
1529 (region): Use :distant-foreground for gtk and ns.
1530
9bc236c8
TH
15312013-11-01 Tassilo Horn <tsdh@gnu.org>
1532
5246583b 1533 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1534 BibTeX.
1535 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1536 (reftex-locate-bibliography-files): Us it.
1537
d14c81ee
CB
15382013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1539
0e7690de
CB
1540 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1541 allow comments in pbm files.
1542
d14c81ee
CB
1543 * term/w32-win.el (dynamic-library-alist): Support newer versions
1544 of libjpeg starting with v7: look only for the DLL from the
1545 version against which Emacs was built.
ac1bf374 1546 Support versions of libpng beyond 1.4.x.
019c8218 1547 Support libtiff v4.x.
d14c81ee 1548
983d0df5
BB
15492013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1550
1551 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1552 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1553 Add property :safe.
1554 (ruby-deep-arglist): Add property :type.
1555
47f58d85
GM
15562013-10-31 Glenn Morris <rgm@gnu.org>
1557
1558 * Makefile.in (custom-deps, finder-data): No need to setq the target
1559 variables, we are in the right directory and the defaults work fine.
1560
4f85b479
GM
15612013-10-30 Glenn Morris <rgm@gnu.org>
1562
ca7dd4cd
GM
1563 * Makefile.in (autoloads): Do not use abs_lisp.
1564
4f85b479
GM
1565 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1566 `newline' does not respect `standard-output', so use `princ'.
1567
cf59e41c
AA
15682013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1569
1570 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1571 * buff-menu.el (Buffer-menu--unmark): New function.
1572 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1573
74cf04fb
GM
15742013-10-30 Glenn Morris <rgm@gnu.org>
1575
b040b60e
GM
1576 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1577
f53d3815
GM
1578 * emacs-lisp/package.el (lm-homepage): Declare.
1579
5413d873
GM
1580 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1581 Fix doc typos.
1582
cecedb36
GM
1583 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1584
74cf04fb
GM
1585 * Makefile.in (finder-data, autoloads, update-subdirs)
1586 (compile-main, compile-clean, compile-always, bootstrap-clean):
1587 Check return value of cd.
1588 (compile-calc): Remove.
1589
195ee2f0
SM
15902013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1591
ae4002ce
SM
1592 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1593
1594 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1595 (byte-compile-and-folded): New function.
1596 (=, <, >, <=, >=): Use it.
1597
1598 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1599 (path-separator, null-device, buffer-file-coding-system)
1600 (lpr-headers-switches): Check system-type before modifying them.
1601 (find-buffer-file-type-coding-system): Mark obsolete.
1602 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1603 find-file-not-found-set-buffer-file-coding-system.
1604 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1605 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1606 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1607 (w32-direct-print-region-helper, w32-direct-print-region-function)
1608 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1609 * startup.el (normal-top-level-add-subdirs-to-load-path):
1610 * ps-print.el (ps-print-region-function):
1611 * lpr.el (print-region-function): Use new name.
1612
53b39e89
SM
1613 * subr.el (custom-declare-variable-early): Remove function.
1614 (custom-declare-variable-list): Remove var.
1615 (error, user-error): Remove `while' loop.
1616 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1617 (user-emacs-directory-warning, locate-user-emacs-file):
1618 Move to files.el.
1619 * simple.el (read-quoted-char-radix, read-quoted-char):
1620 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1621 Move from subr.el.
1622 * custom.el (custom-declare-variable-list): Don't process
1623 custom-declare-variable-list.
1624
195ee2f0
SM
1625 * progmodes/python.el (python-shell-get-buffer): New function.
1626 (python-shell-get-process): Use it.
1627 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1628 Python which encoding was used. Don't split-string since we only care
1629 about the first line. Return the temp-file, if applicable.
1630 (python-shell-send-region): Tell compile.el how to turn locations in
1631 the temp-file into locations in the source buffer.
1632
7e3561ee
SM
16332013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1634
4c9797cb
SM
1635 * subr.el (undefined): Add missing behavior from the C code for
1636 unbound keys.
1637
3472b6c6
SM
1638 * rect.el: Use lexical-binding. Add new rectangular region support.
1639 (rectangle-mark): New command.
1640 (rectangle--region): New var.
1641 (deactivate-mark-hook): Reset rectangle--region.
1642 (rectangle--extract-region, rectangle--insert-for-yank)
1643 (rectangle--highlight-for-redisplay)
1644 (rectangle--unhighlight-for-redisplay): New functions.
1645 (region-extract-function, redisplay-unhighlight-region-function)
1646 (redisplay-highlight-region-function): Use them to handle
1647 rectangular region.
1648 * simple.el (region-extract-function): New var.
1649 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1650 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1651 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1652 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1653 (redisplay-unhighlight-region-function)
1654 (redisplay-highlight-region-function): New vars.
1655 (redisplay--update-region-highlight): New function.
1656 (pre-redisplay-function): Use it.
1657 (exchange-point-and-mark): Don't deactivate the mark before
1658 reactivate-it anyway.
1659 * comint.el (comint-kill-region): Remove yank-handler argument.
1660 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1661 (delete-char): Remove property, since it's now part of their
1662 default behavior.
1663 (self-insert-iso): Remove property since this command doesn't exist.
1664
7e3561ee
SM
1665 * emacs-lisp/package.el (package--download-one-archive)
1666 (describe-package-1): Don't query the user about final newline.
1667
b9bef71f
DC
16682013-10-29 Daniel Colascione <dancol@dancol.org>
1669
1670 * net/tramp.el (tramp-methods): Document new functionality.
1671 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1672 tramp-hostname-checker if method provides one instead of scanning
1673 argument list for "%h" to decide hostname acceptability.
1674
4efc33f0
MA
16752013-10-28 Michael Albinus <michael.albinus@gmx.de>
1676
1677 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1678 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1679 Handle COPY-CONTENTS. (Bug#15737)
1680
ed42a877
DU
16812013-10-28 Daiki Ueno <ueno@gnu.org>
1682
1683 * epa-file.el
7e3561ee
SM
1684 (epa-file-cache-passphrase-for-symmetric-encryption):
1685 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1686
18c9f8a2
XF
16872013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1688
7a4bc7be
XF
1689 * image.el (defimage):
1690 (image-load-path): Doc fixes.
18c9f8a2 1691
b1e8e010
AM
16922013-10-27 Alan Mackenzie <acm@muc.de>
1693
1694 Indent statements in macros following "##" correctly.
7e3561ee
SM
1695 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1696 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1697
73d40d1e 16982013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1699
1700 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1701
c8c605ac
DG
17022013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1703
1704 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1705 after `=' is probably a new expression.
1706
ca7e59d4
RS
17072013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1708
1709 * man.el (man-imenu-title): New option.
1710 (Man-mode-map): Add menu. (Bug#15722)
1711 (Man-mode): Add imenu to menu.
1712
bae91342
DG
17132013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1714
1715 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1716 specific in what the first arg can be: a non-keyword word,
1717 string/regexp/percent literal opener, opening paren, or unary
1718 operator followed directly by word.
1719
eb89dc14
SM
17202013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1723 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1724 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1725 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1726 Remove vars, they do not apply any more.
1727 (prolog-mode-abbrev-table): Remove redundant declaration.
1728 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1729 (prolog-use-smie): Remove.
1730 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1731 supported by prolog-electric-if-then-else-flag.
1732 (prolog-mode-variables, prolog-menu): Use setq-local.
1733 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1734 Remove binding to `Backspace' since this key doesn't exist anyway.
1735 Remove bindings for electric self-inserting keys.
1736 (prog-mode): Assume it's defined.
1737 (prolog-post-self-insert): New function.
1738 (prolog-mode): Use it.
1739 (prolog-indent-line, prolog-indent-level)
1740 (prolog-find-indent-of-matching-paren)
1741 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1742 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1743 (prolog-goto-next-paren, prolog-in-string-or-comment)
1744 (prolog-tokenize, prolog-inside-mline-comment)
1745 (prolog-find-start-of-mline-comment): Remove functions.
1746 (prolog-find-unmatched-paren, prolog-clause-end)
1747 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1748 (prolog-electric--if-then-else): Rename from
1749 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1750 (prolog-tokenize-searchkey): Remove const.
1751 (prolog-clause-info): Use forward-sexp.
1752 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1753 (prolog-electric-if-then-else): Remove commands.
1754 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1755 for use in post-self-insert-hook.
1756 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1757 for use in post-self-insert-hook.
1758 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1759 for use in post-self-insert-hook.
1760 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1761 adapt it for use in post-self-insert-hook.
1762
3dab0a83
MA
17632013-10-25 Michael Albinus <michael.albinus@gmx.de>
1764
1765 * emacs-lisp/ert.el (ert-run-tests-interactively):
1766 Use `completing-read'. (Bug#9756)
1767
fbfd0e1d
EZ
17682013-10-25 Eli Zaretskii <eliz@gnu.org>
1769
1770 * simple.el (line-move): Call line-move-1 instead of
1771 line-move-visual when the current window hscroll is zero, but
1772 temporary-goal-column indicates we will need to hscroll as result
1773 of the movement. (Bug#15712)
1774
963ce636
DG
17752013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1778 capitalization. Use :visible instead of :active.
1779 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1780 commands that are used with SMIE.
1781 (ruby-do-end-to-brace): Insert space after `{'.
1782
a0be396a
JA
17832013-10-25 John Anthony <john@jo.hnanthony.com>
1784
f73754c9
JA
1785 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1786
1787 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1788
f5bf77df
GM
17892013-10-25 Glenn Morris <rgm@gnu.org>
1790
1791 * vc/vc.el (vc-print-log): Don't use a working revision unless
1792 one was explicitly specified. (Bug#15322)
1793
37241f62
SM
17942013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * subr.el (add-to-list): Preserve return value in compiler-macro
1797 (bug#15692).
1798
6408a65d
RS
17992013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1800
1801 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1802 result. Ask user to retry using '-all' flag. (Bug#15701)
1803
71e3276b
SM
18042013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * emacs-lisp/smie.el: New smie-config system.
1807 (smie-config): New defcustom.
1808 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1809 (smie-config-guess, smie-config-save): New commands.
1810 (smie-config--mode-local, smie-config--buffer-local)
1811 (smie-config--trace, smie-config--modefuns): New vars.
1812 (smie-config--advice, smie-config--mode-hook)
1813 (smie-config--setter, smie-config-local, smie-config--get-trace)
1814 (smie-config--guess-value, smie-config--guess): New functions.
1815 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1816 text properties. Treat "string fence" syntax like string syntax.
1817
1818 * progmodes/sh-script.el (sh-use-smie): Change default.
1819 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1820 (sh-var-value): Simplify by CSE.
1821 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1822 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1823 is used.
1824 (sh-guess-basic-offset): Use cl-incf.
1825 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1826
60db713e
HE
18272013-10-24 Helmut Eller <eller.helmut@gmail.com>
1828
1829 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1830 (bug#15699).
1831
8b251df6
GM
18322013-10-24 Glenn Morris <rgm@gnu.org>
1833
1834 * Makefile.in (abs_top_srcdir): Remove.
1835 (update-subdirs): Use relative path to update-subdirs.
1836
6be0e22b
EZ
18372013-10-24 Eli Zaretskii <eliz@gnu.org>
1838
1839 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1840 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1841 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1842 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1843
50b5b857
MA
18442013-10-24 Michael Albinus <michael.albinus@gmx.de>
1845
1846 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1847 (ert-test-skipped): New error.
1848 (ert-skip, ert-stats-skipped): New defuns.
1849 (ert--skip-unless): New macro.
1850 (ert-test-skipped): New struct.
1851 (ert--run-test-debugger, ert-test-result-type-p)
1852 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1853 (ert--stats-set-test-and-result, ert-char-for-test-result)
1854 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1855 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1856 Handle skipped tests. (Bug#9803)
50b5b857 1857
6f317c2f
GM
18582013-10-24 Glenn Morris <rgm@gnu.org>
1859
e43817c1
GM
1860 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1861
6f317c2f
GM
1862 * Makefile.in (abs_top_srcdir): New, set by configure.
1863 (update-subdirs): Correct build-aux location.
1864
369bbf71
DG
18652013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1866
8297b2cf
DG
1867 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1868 value, whether we could auto-deduce `backend', or not.
1869
369bbf71
DG
1870 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1871 with parameters" example. Simplify the "is it block or is it
1872 hash" check, but also make it more thorough.
1873
d5f1282f
MF
18742013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1875
1876 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1877
bc4aaa31
SM
18782013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1879
03d44565
SM
1880 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1881 { if it is hanging.
1882
bc4aaa31
SM
1883 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1884 :before ";".
1885
f493ff19
JB
18862013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1887
1888 * progmodes/compile.el (compilation-directory-matcher)
1889 (compilation-page-delimiter):
1890 Support GNU Make-4.0 directory quoting. (Bug#15678)
1891
c744a3b9
LL
18922013-10-23 Leo Liu <sdl.web@gmail.com>
1893
1894 * ido.el (ido-tidy): Handle read-only text.
1895
b8e3b0a9
GM
18962013-10-23 Glenn Morris <rgm@gnu.org>
1897
1898 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1899 (emacs, compile, compile-always):
1900 Quote entities that might contain whitespace.
1901 (custom-deps, finder-data, autoloads): Use abs_lisp.
1902 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1903 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1904 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1905
ee4282cd
DG
19062013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1907
bc4aaa31
SM
1908 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1909 Use `following-char'.
7790a270 1910
ee4282cd 19112013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1912
1913 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1914 * progmodes/ruby-mode.el (ruby-smie-rules):
1915 Remove corresponding workaround. Fix indentation rule of ";" so it
1916 also applies when ";" is the parent.
1917
d40a46d7
XF
19182013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1919
1920 * frame.el (display-screens, display-pixel-height)
1921 (display-pixel-width, display-mm-width, display-backing-store)
1922 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1923 (display-visual-class, display-monitor-attributes-list):
1924 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1925
a0f143c9
MG
19262013-10-22 Michael Gauland <mikelygee@amuri.net>
1927
1928 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1929 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1930
18cacc39
DG
19312013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1932
1933 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1934 TODO. Add "." after " @ ".
1935 (ruby-smie--at-dot-call): New function. Checks if point at method
1936 call with explicit target.
1937 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1938 to the method name tokens when it precedes them.
1939 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1940 (ruby-smie-rules): Add rule for indentation before and after "."
1941 token.
1942
df74c4be
SM
19432013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1944
c6dab55f
SM
1945 * textmodes/remember.el (remember-diary-extract-entries):
1946 Avoid add-to-list.
1947
df74c4be
SM
1948 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1949 an instruction.
1950
8c1ae481
DG
19512013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1952
cfef16c0
DG
1953 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1954 (ruby-smie--implicit-semi-p): Add new operator chars.
1955
8c1ae481
DG
1956 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1957 `smie-down-list'.
1958 (ruby-smie--args-separator-p): Check that there's no newline
1959 between method call and its arguments.
1960
87756ca9
AM
19612013-10-20 Alan Mackenzie <acm@muc.de>
1962
1963 Allow comma separated lists after Java "implements".
1964
df74c4be
SM
1965 * progmodes/cc-engine.el (c-backward-over-enum-header):
1966 Parse commas.
87756ca9
AM
1967 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1968 from a "disallowed" list in enum fontification.
1969
c25f8957
JB
19702013-10-20 Johan Bockgård <bojohan@gnu.org>
1971
df74c4be 1972 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1973
c25f8957
JB
1974 * progmodes/verilog-mode.el (verilog-mode): Don't set
1975 comment-indent-function globally.
1976
aca5fcdc
JD
19772013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1978
5f161884
JD
1979 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1980 Move Info menu item creation to ns-win.el.
1981
1982 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1983 in menu bar.
1984
aca5fcdc
JD
1985 * menu-bar.el: Move GNUStep specific menus...
1986
1987 * term/ns-win.el (ns-initialize-window-system): ... to here.
1988
914b7f98
SM
19892013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * simple.el (newline): Only run post-self-insert-hook when
1992 called interactively.
1993
846ffe77
JB
19942013-10-19 Johan Bockgård <bojohan@gnu.org>
1995
1996 * icomplete.el (icomplete-with-completion-tables): Add :version.
1997
033f22dd
AM
19982013-10-19 Alan Mackenzie <acm@muc.de>
1999
2000 Fix fontification bugs with constructors and const.
2001
2002 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2003 CASE 2) Remove the check for the absence of a suffix construct
2004 after a function declaration with only types (no identifiers) in
2005 the parentheses. Also, accept a function declaration with just a
2006 type inside the parentheses, if this type can be positively
2007 recognised as such, or if a prefix keyword like "explicit" nails
2008 down the construct as a declaration.
2009
58ce0cfc
EZ
20102013-10-19 Eli Zaretskii <eliz@gnu.org>
2011
2012 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2013 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2014 the problem whereby selecting a menu item that leads to a
2015 minibuffer prompt moves the cursor out of the minibuffer window,
2016 making it hard to type at the prompt. Suggested by Stefan Monnier
2017 <monnier@iro.umontreal.ca>.
2018
50e28e7d
JD
20192013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2020
2021 * menu-bar.el: Don't make Services menu.
2022
7deed4bf
RS
20232013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2024
2025 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2026 (ffap-alist): Use ffap-c++-mode for c++-mode.
2027 (ffap-c++-path): New variable.
2028 (ffap-c++-mode): New function.
2029
7bcb455b
JVJ
20302013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2031
2032 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2033
f0ff1cd5
MA
20342013-10-18 Michael Albinus <michael.albinus@gmx.de>
2035
2036 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2037 introduced on 2013-09-08, which results in an infinite loop
2038 requesting a password.
2039
d64da4b7
GM
20402013-10-18 Glenn Morris <rgm@gnu.org>
2041
2042 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2043
ea89ff08
WS
20442013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2045
2046 Sync with upstream verilog-mode revision 1a6ecec7.
2047 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2048 (verilog-mode-release-date): Remove.
2049 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2050 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2051 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2052 (verilog-auto-tieoff-ignore-regexp)
2053 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2054 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2055 (verilog-signals-with, verilog-dir-cache-preserving)
2056 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2057 Doc fixes.
2058 (verilog-case-fold): New option, to control case folding in
2059 regexp searches, bug597.
2060 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2061 (verilog-string-match-fold, verilog-in-paren-count)
2062 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2063 (verilog-at-close-struct-p): New functions.
2064 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2065 (verilog-forward-sexp, verilog-set-auto-endcomments):
2066 (verilog-leap-to-case-head): Handle "unique0" case.
2067 (verilog-in-constraint-re): New constant.
2068 (verilog-keywords, verilog-type-font-keywords):
2069 Add some SystemVerilog 1800-2012 keywords.
2070 (verilog-label-be): Remove unimplemented argument, bug669.
2071 (verilog-batch-execute-func): When batch expanding clear
2072 create-lockfiles to prevent spurious user locks when a file ends
2073 up not changing.
2074 (verilog-calculate-indent, verilog-calc-1)
2075 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2076 (verilog-do-indent): Fix indentation of nested constraints
2077 and structures.
2078 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2079 (verilog-auto-inst-param): Use verilog-string-match-fold.
2080 (verilog-read-inst-module-matcher):
2081 Fix AUTOINST on gate primitives with #1.
2082 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2083 Reads all user-defined typed variables.
2084 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2085 (verilog-signals-matching-regexp)
2086 (verilog-signals-not-matching-regexp, verilog-auto):
2087 Respect verilog-case-fold.
2088 (verilog-diff-report): Fix line count.
2089 (verilog-auto-assign-modport): Remove unused local `modi'.
2090 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2091 better handle multidimensional arrays.
2092 Fix packed array ports misadding bit index in AUTOINST, bug637.
2093 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2094 to not double-declare existing outputs and inputs, respectively.
2095 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2096 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2097 (verilog-sk-uvm-component): New skeleton.
2098 (verilog-submit-bug-report): Add verilog-case-fold,
2099 remove verilog-mode-release-date.
2100
ef566920
BR
21012013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2102
2103 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2104 as before.
2105
29df8a0b
RT
21062013-10-18 Reuben Thomas <rrt@sc3d.org>
2107
2108 * textmodes/remember.el (remember): set buffer-offer-save in
2109 remember buffers (bug#13566).
2110
04a19a79
DC
21112013-10-18 Daniel Colascione <dancol@dancol.org>
2112
2113 When evaluating forms in ielm, direct standard output to ielm
2114 buffer. Add new ielm-return-for-effect command. Remove trailing
2115 whitespace throughout.
2116
2117 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2118 (ielm-return-for-effect): New command.
2119 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2120 (ielm-eval-input): Accept optional `for-effect' parameter.
2121 Bind `standard-output' to stream we create using
04a19a79
DC
2122 `ielm-standard-output-impl'. Suppress printing result when
2123 `for-effect'.
2124 (ielm-standard-output-impl): New function.
2125 (inferior-emacs-lisp-mode): Explain new features in documentation.
2126
4c1f03ef
MA
21272013-10-17 Michael Albinus <michael.albinus@gmx.de>
2128
2129 Code cleanup.
2130
2131 * net/tramp.el (tramp-debug-message): Do not check for connection
2132 buffer.
2133 (tramp-message): Use "vector" connection property.
2134
2135 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2136 (tramp-equal-remote, tramp-eshell-directory-change)
2137 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2138 (tramp-adb-handle-rename-file)
2139 * net/tramp-cmds.el (tramp-list-remote-buffers)
2140 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2141 * net/tramp-compat.el (tramp-compat-process-running-p)
2142 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2143 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2144 (tramp-gvfs-handle-rename-file)
2145 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2146 (tramp-set-file-uid-gid)
2147 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2148 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2149 of `file-remote-p'.
2150
2151 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2152 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2153 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2154 (tramp-gw-open-network-stream): Suppress unrelated traces.
2155
2156 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2157 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2159 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2160 connection property.
2161
2162 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2163 persistency file.
4c1f03ef
MA
2164
2165 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2166 Refactor common code. Improve debug message.
2167 (tramp-maybe-open-connection)
2168 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2169 connection buffer too early.
2170
2171 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2172 from `tramp-smb-actions-with-acl'.
2173 (tramp-smb-actions-set-acl): New defconst.
2174 (tramp-smb-handle-copy-directory)
2175 (tramp-smb-action-get-acl): New defun, renamed from
2176 `tramp-smb-action-with-acl'.
2177 (tramp-smb-action-set-acl): New defun.
2178 (tramp-smb-handle-set-file-acl): Rewrite.
2179
642eb8b6
GM
21802013-10-17 Glenn Morris <rgm@gnu.org>
2181
2182 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2183
85527ff3
SM
21842013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2185
921c1d62
SM
2186 * skeleton.el (skeleton-newline): Remove.
2187 (skeleton-internal-1): Use (insert "\n") instead.
2188
e333fb10
SM
2189 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2190 let-bindings.
2191
85527ff3
SM
2192 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2193 forward-sexp-function while we redo its job (bug#15613).
2194
c8722a97
JB
21952013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2196
2197 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2198 represented by lists.
2199
7a550bbb
GM
22002013-10-16 Glenn Morris <rgm@gnu.org>
2201
2202 * tmm.el (tmm--history): New dynamic variable.
2203 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2204
f19da8ad
MA
22052013-10-16 Michael Albinus <michael.albinus@gmx.de>
2206
2207 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2208 (tramp-smb-errors): Add error messages.
2209 (tramp-smb-actions-with-acl): New defconst.
2210 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2211 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2212 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2213 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2214 (tramp-smb-get-stat-capability): Fix tests.
2215
a24b9961
DK
22162013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2217
2218 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2219 (bug#15580).
2220
62ad85e6
GM
22212013-10-16 Glenn Morris <rgm@gnu.org>
2222
0283d6b0
GM
2223 * ansi-color.el (ansi-color-drop-regexp):
2224 Add 1J, 1K, 2K. (Bug#15617)
2225
012e2f9f
GM
2226 * files.el (hack-local-variables--warned-lexical): New.
2227 (hack-local-variables):
2228 Warn about misplaced lexical-binding. (Bug#15616)
2229
62ad85e6
GM
2230 * net/eww.el (eww-render): Always set eww-current-url,
2231 and update header line. (Bug#15622)
2232 (eww-display-html): ... Rather than just doing it here.
2233
6456c0ea
EZ
22342013-10-15 Eli Zaretskii <eliz@gnu.org>
2235
2236 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2237 menu navigations commands.
2238
c2de5588
DK
22392013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2240
2241 * progmodes/subword.el (subword-capitalize): Be careful when
2242 the search for [[:alpha:]] fails (bug#15580).
2243
ccd4a783
EZ
22442013-10-14 Eli Zaretskii <eliz@gnu.org>
2245
2246 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2247 to commands that scroll the menu.
2248
1eda1d8d
DG
22492013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2250
c2de5588
DK
2251 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2252 Handle methods ending with `?' and `!'.
1eda1d8d 2253
e70181b8
AM
22542013-10-14 Akinori MUSHA <knu@iDaemons.org>
2255
2256 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2257 `japanese-cp932' to `cp932' to fix the problem where saving a
2258 source file written in Shift_JIS twice would end up having
2259 `coding: japanese-cp932' which Ruby could not recognize.
2260 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2261 in `ruby-encoding-map'.
2262 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2263 doesn't need to be explicitly declared in magic comment.
2264 (ruby-encoding-map): Add type declaration for better customize UI.
2265
9148ee92
GM
22662013-10-13 Glenn Morris <rgm@gnu.org>
2267
a5d38e34
GM
2268 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2269 Occur buffers are read-only. http://bugs.debian.org/720775
2270
9148ee92
GM
2271 * emacs-lisp/authors.el (authors-fixed-entries):
2272 Comment out old alpha stuff.
2273
a9ba094b
DG
22742013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2275
2276 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2277 to `after-save-hook' instead of `before-save-hook'.
2278 (ruby-mode-set-encoding): Use the value of coding system used to
2279 write the file. Call `basic-save-buffer-1' after modifying the
2280 buffer.
2281
7a068717
AM
22822013-10-13 Alan Mackenzie <acm@muc.de>
2283
2284 Fix indentation/fontification of Java enum with
2285 "implements"/generic.
2286
c2de5588
DK
2287 * progmodes/cc-engine.el (c-backward-over-enum-header):
2288 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2289 (c-inside-bracelist-p): Uses new function above.
2290 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2291 function above.
2292 (c-font-lock-enum-tail): Uses new function above.
2293
85b64f02
KH
22942013-10-13 Kenichi Handa <handa@gnu.org>
2295
2296 * international/mule-cmds.el (select-safe-coding-system): Remove a
2297 superfluous condition in chekcing whether a coding system is safe
2298 or not.
2299
fc7f501b
OK
23002013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2301
2302 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2303
fdcb2049
AP
23042013-10-13 Andreas Politz <politza@hochschule-trier.de>
2305
2306 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2307
8c106d17
GM
23082013-10-13 Glenn Morris <rgm@gnu.org>
2309
feab892d
GM
2310 * menu-bar.el (menu-bar-update-buffers):
2311 Unify Buffers menu prompt string. (Bug#15576)
2312
b22d0686
GM
2313 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2314
8c106d17
GM
2315 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2316 Add some entries.
2317 (authors-fixed-entries): Use accented form of name.
2318
1b12c797
SM
23192013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2320
650fa7bf 2321 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2322 method calls (bug#15594).
650fa7bf
SM
2323 (ruby-smie--args-separator-p): New function.
2324 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2325 recognize paren-free method calls.
2326
1b12c797
SM
2327 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2328 internals of universal-argument.
2329
029619c8
EZ
23302013-10-11 Eli Zaretskii <eliz@gnu.org>
2331
2332 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2333 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2334 dropped menu on second mouse click on the menu bar.
029619c8 2335
dd070019
SM
23362013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2339 (explicit-shell-file-name): Declare.
2340 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2341 (sh-completion-at-point-function): New function.
2342 (sh-mode): Use it.
2343 (sh-smie--keyword-p): Remove unused argument.
2344 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2345 vars.
2346 (sh-set-shell): Always setup SMIE, even if we use the
2347 old indentation code.
2348
0922b826
DG
23492013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2350
b68e2926
DG
2351 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2352 cases of ? and =.
2353 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2354 predicate would return nil are almost non-existent.
2355 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2356
0922b826
DG
2357 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2358 cache also after commands that modify the buffer but don't move
2359 point.
2360
ee041f2d
SM
23612013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2362
2363 * env.el (substitute-env-in-file-name): New function.
2364 (substitute-env-vars): Extend the meaning of the optional arg.
2365
a5dab159
EZ
23662013-10-10 Eli Zaretskii <eliz@gnu.org>
2367
2368 * term/w32-win.el (dynamic-library-alist): Define separate lists
2369 of GIF DLLs for versions before and after 5.0.0 of giflib.
2370 (Bug#15531)
2371
0449d6cd 23722013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2373
2374 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2375 not locked, use last revision and current source as
2376 defaults. (Bug#15569)
2377
2f6e161e
MY
23782013-10-10 Masatake YAMATO <yamato@redhat.com>
2379
2380 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2381 menu-bar is hidden.
2382
6c8413fc
MR
23832013-10-10 Martin Rudalics <rudalics@gmx.at>
2384
2385 * window.el (pop-to-buffer-same-window): Fix doc-string.
2386 (Bug#15492)
2387
20832de0
SM
23882013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2391
c6e8ae77
AC
23922013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2393
2394 * calendar/icalendar.el (icalendar-import-file):
2395 Fix interactive spec. (Bug#15482)
2396
9db13baf
GM
23972013-10-10 Glenn Morris <rgm@gnu.org>
2398
9271e90e
GM
2399 * desktop.el (desktop-save): Default to saving in .emacs.d,
2400 since PWD is no longer in desktop-path by default. (Bug#15319)
2401
9db13baf
GM
2402 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2403 now that text mode has a menu with the same entry.
2404 (menu-bar-text-mode-auto-fill): Remove now unused func.
2405 * textmodes/text-mode.el (text-mode-map):
2406 Use auto-fill help text from menu-bar.el.
2407
a0be396a 24082013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2409
2410 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2411
2edcd3c7
JL
24122013-10-09 Juri Linkov <juri@jurta.org>
2413
2414 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2415 instead of this-command-keys. Add universal-argument-more and
2416 universal-argument-minus to the list of prefix commands. (Bug#15568)
2417
574411d0
GM
24182013-10-09 Glenn Morris <rgm@gnu.org>
2419
14afa541
GM
2420 * vc/vc-svn.el (vc-svn-create-repo):
2421 Expand paths in file://... url. (Bug#15446)
2422
574411d0
GM
2423 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2424 Add some entries.
2425 (authors): Remove unused local variables.
2426
79804536
SM
24272013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * profiler.el: Create a more coherent calltree from partial backtraces.
2430 (profiler-format): Hide the tail with `invisible' so that C-s can still
2431 find the hidden elements.
2432 (profiler-calltree-depth): Don't recurse so enthusiastically.
2433 (profiler-function-equal): New hash-table-test.
2434 (profiler-calltree-build-unified): New function.
2435 (profiler-calltree-build): Use it.
2436 (profiler-report-make-name-part): Indent the calltree less.
2437 (profiler-report-mode): Add visibility specs for profiler-format.
2438 (profiler-report-expand-entry, profiler-report-toggle-entry):
2439 Expand the whole subtree when provided with a prefix arg.
2440
238150c8
DG
24412013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2442
2443 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2444 iuwu-mod token.
2445 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2446 hanging iuwu-mod token.
2447 (ruby-smie--forward-token): Do not include a dot after a token in
2448 that token.
2449 (ruby-smie--backward-token): Likewise.
2450
b0949cc4
JL
24512013-10-08 Juri Linkov <juri@jurta.org>
2452
2453 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2454 to isearch-other-control-char.
2455 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2456 and isearch-post-command-hook to post-command-hook.
2457 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2458 and isearch-post-command-hook from post-command-hook.
2459 (isearch-unread-key-sequence)
2460 (isearch-reread-key-sequence-naturally)
2461 (isearch-lookup-scroll-key, isearch-other-control-char)
2462 (isearch-other-meta-char): Remove functions.
2463 (isearch-pre-command-hook, isearch-post-command-hook):
2464 New functions based on isearch-other-meta-char rewritten
2465 relying on the new behavior of overriding-terminal-local-map
2466 that does not replace the local keymaps any more. (Bug#15200)
2467
4ed77415
EZ
24682013-10-08 Eli Zaretskii <eliz@gnu.org>
2469
2470 Support menus on text-mode terminals.
2471 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2472 functionality.
2473
2474 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2475
c2de5588
DK
2476 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2477 Move here from mouse.el.
4ed77415
EZ
2478 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2479 and arrow keys.
2480 (tty-menu-navigation-map): New map for TTY menu navigation.
2481
2482 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2483
2484 * frame.el (display-mouse-p): Report text-mode mouse as available
2485 on w32.
2486 (display-popup-menus-p): Report availability if mouse is
2487 available; don't condition on window-system.
2488
2489 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2490 (tty-menu-selected-face): New faces.
2491
b7d5bd82
TL
24922013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2493
06286513
SM
2494 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2495 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2496 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2497 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2498 New constants.
2499 (lisp-mode-variables): New `elisp' argument.
2500 (emacs-lisp-mode): Use it.
2501 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2502 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2503
b7d5bd82
TL
2504 * indent.el: Use lexical-binding.
2505 (indent-region): Add progress reporter.
2506 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2507 last step.
2508 (indent--next-tab-stop): New function to implement this behavior.
2509 (tab-to-tab-stop, move-to-tab-stop): Use it.
2510
25112013-10-08 Teemu Likonen <tlikonen@iki.fi>
2512
2513 * indent.el (indent-rigidly--current-indentation): New function.
2514 (indent-rigidly-map): New var.
2515 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2516
5ea75d23
BG
25172013-10-08 Bastien Guerry <bzg@gnu.org>
2518
2519 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2520
cc5da1ec
SM
25212013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2522
8ffa1a0b
SM
2523 * progmodes/perl-mode.el: Use lexical-binding.
2524 Remove redundant :group args.
2525 (perl-nochange): Change default to be closer to other major modes's
2526 standard behavior.
2527 (perl-indent-line): Don't consider text on current line as a
2528 valid beginning of function from which to indent.
2529
f2223371
SM
2530 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2531 with more than one argument (bug#15538).
2532
44256060
SM
2533 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2534
cc5da1ec
SM
2535 * vc/pcvs.el: Use lexical-binding.
2536 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2537 environment of `eval'.
2538 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2539 than a list of expressions. Adjust callers.
2540 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2541
0ea1599d
DG
25422013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2543
2544 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2545 case of the dot in a chained method call being on the following line.
0ea1599d 2546
da3e5ebb
SM
25472013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2abb4e65
SM
2549 * electric.el (electric-indent-inhibit): New var.
2550 (electric-indent-post-self-insert-function): Use it.
2551 * progmodes/python.el (python-mode): Set it.
2552
d2e0e795
SM
2553 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2554 open braces.
2555
2556 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2557
bdc6b4c8
SM
2558 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2559 (css-mode): Use electric-indent-chars.
2560
da3e5ebb
SM
2561 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2562 (font-lock-beg, font-lock-end): Move before first use.
2563 (nxml-mode): Use syntax-propertize-function.
2564 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2565 (nxml-extend-after-change-region): Remove.
2566 * nxml/xmltok.el: Use lexical-binding.
2567 (xmltok-save): Use `declare'.
2568 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2569 * nxml/nxml-util.el: Use lexical-binding.
2570 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2571 Use `declare'.
2572 * nxml/nxml-ns.el: Use lexical-binding.
2573 (nxml-ns-save): Use `declare'.
2574 (nxml-ns-prefixes-for): Avoid add-to-list.
2575 * nxml/rng-match.el: Use lexical-binding.
2576 (rng--ipattern): Use cl-defstruct.
2577 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2578 (rng-cons-group-after, rng-subst-group-after)
2579 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2580 Use closures instead of `(lambda...).
2581
f8f91d5d
MA
25822013-10-07 Michael Albinus <michael.albinus@gmx.de>
2583
2584 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2585 of BEG and END.
2586
da3e5ebb
SM
2587 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2588 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2589 (tramp-gvfs-handle-insert-file-contents): Remove function.
2590
da3e5ebb
SM
2591 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2592 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2593
2594 * net/trampver.el: Update release number.
2595
7ccae3b1
SM
25962013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2597
55ca2c0d
SM
2598 * progmodes/compile.el (compilation-parse-errors):
2599 Use compilation--put-prop.
2600 (compilation--ensure-parse): Check compilation-multiline.
2601
731fc3ae
SM
2602 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2603
da3e5ebb
SM
2604 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2605 lexical-binding.
a5833280 2606
2e7ba2c2
SM
2607 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2608
7ccae3b1
SM
2609 * progmodes/ruby-mode.el: Fix recently added tests.
2610 (ruby-smie-grammar): Add - and +.
2611 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2612 (ruby-smie--backward-id): New functions.
2613 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2614 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2615 any more.
2616
85698d63
LL
26172013-10-07 Leo Liu <sdl.web@gmail.com>
2618
2619 * register.el (register-preview-delay)
2620 (register-preview-functions): New variables.
2621 (register-read-with-preview, register-preview)
2622 (register-describe-oneline): New functions.
2623 (point-to-register, window-configuration-to-register)
2624 (frame-configuration-to-register, jump-to-register)
2625 (number-to-register, view-register, insert-register)
2626 (copy-to-register, append-to-register, prepend-to-register)
2627 (copy-rectangle-to-register): Use register-read-with-preview to
2628 read register. (Bug#15525)
2629
3986af6c
DS
26302013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2631
2632 * net/network-stream.el (network-stream-open-starttls): Don't add
2633 --insecure if it's already present, because that gnutls-cli
2634 rejects getting that parameter twice.
2635
5cd9cda9
DG
26362013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2637
2638 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2639 keyword, too.
2640
da9ea6d9
DG
26412013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2642
2643 * newcomment.el (comment-use-global-state): Change default value
2644 to t, mark obsolete (Bug#15251).
2645 (comment-beginning): In addition to `comment-to-syntax', check the
2646 value of `comment-use-global-state'.
2647
34d1a133
SM
26482013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2651 (ruby-comment-column): Follow the global default, by default.
2652 (ruby-smie-grammar): Add assignment syntax.
2653 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2654 open-paren, a comma, or a \.
2655 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2656 and line continuations.
2657 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2658 followed by implicit semi-colons. Add rule for string concatenation
2659 and for indentation at BOB.
2660 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2661
2662 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2663 calling next-sexp, since next-token may have skipped chars which
2664 next-sexp doesn't know should be skipped!
2665
6f6ab820
LL
26662013-10-05 Leo Liu <sdl.web@gmail.com>
2667
34d1a133
SM
2668 * progmodes/octave.el (octave-send-region):
2669 Call compilation-forget-errors.
6f6ab820 2670
34ca0f4c
XF
26712013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2672
2673 * vc/vc-svn.el (vc-svn-find-admin-dir):
2674 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2675 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2676 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2677 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2678
a27c1b72
SM
26792013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2682
258ab3bc
SM
26832013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * subr.el (read-passwd): Hide chars even when called within a context
2686 where after-change-functions is disabled (bug#15501).
2687 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2688 until we removed ourself from overriding-terminal-local-map.
2689
939fb29c
LL
26902013-10-04 Leo Liu <sdl.web@gmail.com>
2691
258ab3bc
SM
2692 * progmodes/octave.el (inferior-octave-mode):
2693 Call compilation-forget-errors.
939fb29c 2694
63bd7f35
XF
26952013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2696
2697 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2698
9e6229fa
MA
26992013-10-04 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * net/secrets.el (secrets-create-collection): Add optional
2702 argument ALIAS. Use proper Label keyword. Append ALIAS as
2703 dbus-call-method argument. (Bug#15516)
2704
1dab32a3
LL
27052013-10-04 Leo Liu <sdl.web@gmail.com>
2706
2707 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2708 (inferior-octave-compilation-font-lock-keywords): New variables.
2709 (compilation-error-regexp-alist)
2710 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2711 (inferior-octave-mode): Use compilation-shell-minor-mode.
2712
6cad7ba3
JS
27132013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2714
2715 * minibuffer.el (completion--replace): Be careful that `end' might be
2716 a marker.
2717
acbadd00
DU
27182013-10-03 Daiki Ueno <ueno@gnu.org>
2719
2720 Add support for package signature checking.
2721 * emacs-lisp/package.el (url-http-file-exists-p)
2722 (epg-make-context, epg-context-set-home-directory)
2723 (epg-verify-string, epg-context-result-for)
2724 (epg-signature-status, epg-signature-to-string)
2725 (epg-check-configuration, epg-configuration)
2726 (epg-import-keys-from-file): Declare.
2727 (package-check-signature): New user option.
2728 (package-unsigned-archives): New user option.
2729 (package-desc): Add `signed' field.
2730 (package-load-descriptor): Set `signed' field if .signed file exists.
2731 (package--archive-file-exists-p): New function.
2732 (package--check-signature): New function.
2733 (package-install-from-archive): Check package signature.
2734 (package--download-one-archive): Check archive signature.
2735 (package-delete): Remove .signed file.
2736 (package-import-keyring): New command.
2737 (package-refresh-contents): Import default keyring.
2738 (package-desc-status): Add "unsigned" status.
2739 (describe-package-1, package-menu--print-info)
2740 (package-menu-mark-delete, package-menu--find-upgrades)
2741 (package-menu--status-predicate): Support "unsigned" status.
2742
adf2aa61
SM
27432013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2746 the new compilation scheme using the new byte-codes.
2747
2748 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2749 (byte-pophandler): New byte codes.
2750 (byte-goto-ops): Adjust accordingly.
2751 (byte-compile--use-old-handlers): New var.
2752 (byte-compile-catch): Use new byte codes depending on
2753 byte-compile--use-old-handlers.
2754 (byte-compile-condition-case--old): Rename from
2755 byte-compile-condition-case.
2756 (byte-compile-condition-case--new): New function.
2757 (byte-compile-condition-case): New function that dispatches depending
2758 on byte-compile--use-old-handlers.
2759 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2760 when we can.
2761
2762 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2763 Optimize under `condition-case' and `catch' if
2764 byte-compile--use-old-handlers is nil.
2765 (disassemble-offset): Handle new bytecodes.
2766
328a8179
SM
27672013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * subr.el (error): Use `declare'.
2770 (decode-char, encode-char): Use advertised-calling-convention instead
2771 of the docstring to discourage use of the `restriction' arg.
2772
15a1e936
DU
27732013-10-03 Daiki Ueno <ueno@gnu.org>
2774
2775 * epg.el (epg-verify-file): Add a comment saying that it does not
2776 notify verification error as a return value nor a signal.
2777 (epg-verify-string): Ditto.
2778
376f862a
KR
27792013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2780
2781 * progmodes/compile.el (compilation-start): Try globbing the arg to
2782 `cd' (bug#15417).
2783
a2f93a5f
MA
27842013-10-02 Michael Albinus <michael.albinus@gmx.de>
2785
2786 Sync with Tramp 2.2.8.
2787
2788 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2789 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2790 * net/trampver.el: Update release number.
2791
0daa0804
JD
27922013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2793
2794 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2795 and default-process-coding-system for darwin only.
2796
abd1ae34
SM
27972013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2800
be4e325d
MH
28012013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2802
2803 * vc/vc-git.el (vc-git-grep): Disable pager.
2804
e9155c4a
DG
28052013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2806
494e898b
DG
2807 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2808 Use :url instead of :homepage, as per
2809 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2810
e9155c4a
DG
2811 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2812 non-nil, use `syntax-ppss' (Bug#15251).
2813
481a8e0f
RS
28142013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2815
be4e325d
MH
2816 * progmodes/octave.el (inferior-octave-startup-file):
2817 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2818
056453c6
DG
28192013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2820
be4e325d
MH
2821 * emacs-lisp/package.el (package-desc-from-define):
2822 Accept additional arguments as plist, convert them to an alist and store
2823 them in the `extras' slot.
056453c6
DG
2824 (package-generate-description-file): Convert extras alist back to
2825 plist and append to the `define-package' form arguments.
2826 (package--alist-to-plist): New function.
2827 (package--ac-desc): Add `extras' slot.
2828 (package--add-to-archive-contents): Check if the archive-contents
2829 vector is long enough, and if it is, pass its `extras' slot value
2830 to `package-desc-create'.
2831 (package-buffer-info): Call `lm-homepage', pass the returned value
2832 to `package-desc-from-define'.
2833 (describe-package-1): Render the homepage button (Bug#13291).
2834
be4e325d
MH
2835 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2836 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2837
832966e5
JD
28382013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2839
2840 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2841 and default-process-coding-system to utf-8-unix (Bug#15402).
2842
6cfe977d
XF
28432013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2844
2845 * subr.el (looking-back): Do not recommend using looking-back.
2846
38de11bd
AM
28472013-09-28 Alan Mackenzie <acm@muc.de>
2848
2849 Fix indentation/fontification of Java enum with "implements".
2850
2851 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2852 regexp which matches "implements", etc., in Java.
2853 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2854 specifier clauses coming after "enum".
2855 * progmodes/cc-fonts.el (c-font-lock-declarations)
2856 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2857 after "enum".
2858
1610938f
JD
28592013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2860
2861 * faces.el (region): Change ns_selection_color to
2862 ns_selection_fg_color, add ns_selection_bg_color.
2863
e090f499
LL
28642013-09-28 Leo Liu <sdl.web@gmail.com>
2865
4d2e94d1
LL
2866 * progmodes/octave.el (inferior-octave-completion-table)
2867 (inferior-octave-completion-at-point): Minor tweaks.
2868
e090f499
LL
2869 * textmodes/ispell.el (ispell-lookup-words): Rename from
2870 lookup-words. (Bug#15460)
2871 (lookup-words): Obsolete.
2872 (ispell-complete-word, ispell-command-loop): All uses changed.
2873
7e138a62
RS
28742013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2875
2876 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2877 (octave-mode-menu): Add octave-send-buffer.
2878 (octave-send-buffer): New function.
2879
5af5ed08
RS
28802013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2881
2882 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2883 octave-lookfor.
2884 (octave-mode-menu): Add octave-lookfor.
2885 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2886 octave-lookfor.
2887 (octave-lookfor): New function.
2888
3b7b2692
SM
28892013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * emacs-lisp/cl-macs.el:
2892 (cl--loop-destr-temps): Remove.
2893 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2894 its convention.
2895 (cl--loop-set-iterator-function): New function.
2896 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2897 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2898 Bind `it' with `let' instead of substituting it with `cl-subst'.
2899 (cl--unused-var-p): New function.
2900 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2901 Eliminate some unused variable warnings (bug#15326).
2902
529fb53f
TH
29032013-09-27 Tassilo Horn <tsdh@gnu.org>
2904
2905 * doc-view.el (doc-view-scale-reset): Rename from
2906 `doc-view-reset-zoom-level'.
2907 (doc-view-scale-adjust): New command.
2908 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2909 `doc-view-scale-adjust'.
2910
0550c95a
TH
29112013-09-26 Tassilo Horn <tsdh@gnu.org>
2912
2913 * doc-view.el (doc-view-reset-zoom-level): New command.
2914 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2915 zoom commands (bug#15466).
2916
6950f152
KH
29172013-09-26 Kenichi Handa <handa@gnu.org>
2918
2919 * international/quail.el (quail-help): Make it not a command.
2920
39587580
LL
29212013-09-26 Leo Liu <sdl.web@gmail.com>
2922
2923 * minibuffer.el (completion-all-sorted-completions): Make args
2924 optional as they are.
2925
00578659
DC
29262013-09-25 Daniel Colascione <dancol@dancol.org>
2927
2928 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2929 specs are and that they're not evaluated.
2930
0c173878
SS
29312013-09-24 Sam Steingold <sds@gnu.org>
2932
2933 * midnight.el (clean-buffer-list-kill-regexps)
2934 (clean-buffer-list-kill-buffer-names): Update for the new Man
2935 buffer naming which includes the object name.
2936
84998447
SM
29372013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2940 (eshell-parse-command, eshell-parse-pipeline): Use it since
2941 eshell-separate-commands requires a dynamic scoped var.
2942 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2943
33215353
LL
29442013-09-23 Leo Liu <sdl.web@gmail.com>
2945
2946 * autoinsert.el (auto-insert-alist): Make the value of
2947 lexical-binding match its file setting.
2948
57b16162
JB
29492013-09-23 Juanma Barranquero <lekktu@gmail.com>
2950
c8af4e67
JB
2951 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2952
57b16162
JB
2953 * autoarg.el (autoarg-kp-digit-argument):
2954 * electric.el (Electric-command-loop):
2955 * kmacro.el (kmacro-step-edit-insert):
2956 Do not set universal-argument-num-events.
2957
7186ba60
LL
29582013-09-22 Leo Liu <sdl.web@gmail.com>
2959
2960 * files.el (interpreter-mode-alist): Add octave.
2961
ece15004
AM
29622013-09-21 Alan Mackenzie <acm@muc.de>
2963
2964 C++: fontify identifier in declaration following "public:" correctly.
2965 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2966 to match "public", etc.
2967 (c-decl-prefix-re): Add ":" into the C++ value.
2968 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2969 bit. Add a check for a ":" preceded by "public", etc.
2970
75d83e22
EZ
29712013-09-21 Eli Zaretskii <eliz@gnu.org>
2972
2973 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2974 recognized by GDB 7.5 and later.
2975
d052d3bd
XF
29762013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2977
2978 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2979
31dca772
R
29802013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * subr.el (internal--call-interactively): New const.
2983 (called-interactively-p): Use it (bug#3984).
2984
98ccf24e
XF
29852013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2986
2987 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2988 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2989 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2990
c39cc7d1
SM
29912013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2994 (eshell-ls-orig-insert-directory): Remove.
2995 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2996 (eshell-ls-use-in-dired): Use advice-add/remove.
2997 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2998 Add `orig-fun' arg for use in :around advice.
2999 Make it check (redundantly) eshell-ls-use-in-dired.
3000
9a0289a2
GM
30012013-09-19 Glenn Morris <rgm@gnu.org>
3002
a2c501b8
GM
3003 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3004
c440407a
GM
3005 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3006
9a0289a2
GM
3007 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3008
85e05915
MA
30092013-09-19 Michael Albinus <michael.albinus@gmx.de>
3010
3011 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3012 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3013 (tramp-get-remote-python): New defuns.
3014 (tramp-get-remote-uid-with-perl)
3015 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3016 contributed by yary <not.com@gmail.com> (tiny change).
3017 (tramp-get-remote-uid-with-python)
3018 (tramp-get-remote-gid-with-python): New defuns. Python code
3019 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3020 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3021
ce503312
GM
30222013-09-19 Glenn Morris <rgm@gnu.org>
3023
f7544773
GM
3024 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3025
72fd2877
GM
3026 * eshell/em-unix.el (eshell-remove-entries):
3027 Rename argument to avoid name-clash with global `top-level'.
3028
336b5a56
GM
3029 * eshell/esh-proc.el (eshell-kill-process-function):
3030 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3031 (eshell-reset-after-proc): Remove unused arg `proc'.
3032
57a3a53d
GM
3033 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3034 (directory-files-and-attributes): Mark unused arg.
3035
3261d4af
GM
3036 * eshell/em-unix.el (eshell-remove-entries):
3037 Remove unused arg `path'. Update callers.
3038
8e51b5d0
GM
3039 * eshell/em-hist.el (eshell-hist-parse-arguments):
3040 Remove unused arg `silent'. Update callers.
3041
ce503312
GM
3042 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3043 Fix (f)boundp mix-up.
3044
3045 * eshell/em-smart.el (eshell-smart-scroll-window)
3046 (eshell-disable-after-change):
336b5a56 3047 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3048
ee3ce8a7
AM
30492013-09-18 Alan Mackenzie <acm@muc.de>
3050
3051 Fix fontification of type when followed by "const".
3052 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3053 "known" types from fontification.
3054
ec9177ba
GM
30552013-09-18 Glenn Morris <rgm@gnu.org>
3056
7bb3e768
GM
3057 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3058 (chart-face-list): Drop Emacsen without display-color-p.
3059
5148da15
GM
3060 * net/eww.el (libxml-parse-html-region): Declare.
3061 (eww-display-html): Explicit error if no libxml2 support.
3062
2f68e157
GM
3063 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3064
9019d095
GM
3065 * image.el (image-type-from-buffer, image-multi-frame-p):
3066 Remove --without-x warning/error.
67645389 3067
5f30349b 3068 * mouse.el (mouse-yank-primary):
45069b2e 3069 * term.el (term-mouse-paste):
5f30349b
GM
3070 Reorder to silence --without-x compilation.
3071
cd8edbbe
GM
3072 * mpc.el (doc-view-mode): Silence --without-x compilation.
3073
8a78544e
GM
3074 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3075 Silence --without-x compilation.
3076
12679bfd
GM
3077 * progmodes/gud.el (gud-find-file, gud-mode):
3078 Silence --without-x compilation.
3079 (tooltip-mode): Declare.
30810a05 3080
f0047cb9
GM
3081 * wdired.el (dired-backup-overwrite): Remove declaration.
3082 (wdired-mode-map): Add doc string.
3083
e740f9d2
GM
3084 * custom.el (x-get-resource): Declare.
3085
92d77c89
GM
3086 * eshell/em-glob.el (ange-cache):
3087 * eshell/em-unix.el (ange-cache): Declare.
3088
76e69577
GM
3089 * faces.el (x-display-list, x-open-connection, x-get-resource):
3090 Declare.
7e58af4b
GM
3091
3092 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3093 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3094 Declare.
76e69577 3095
4bd4c0af 3096 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3097
ffb82dbd
GM
3098 * net/gnutls.el (gnutls-log-level): Declare.
3099
986ed135
GM
3100 * net/shr.el (image-size, image-animate): Declare.
3101
e740f9d2
GM
3102 * simple.el (font-info): Declare.
3103
d2f3e9f8
GM
3104 * subr.el (x-popup-dialog): Declare.
3105
047a1a4c
GM
3106 * term/common-win.el (x-select-enable-primary)
3107 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3108 Declare.
3109
f4a1d572
GM
3110 * term/ns-win.el (x-handle-args): Declare.
3111
e843de77
GM
3112 * term/x-win.el (x-select-enable-clipboard): Declare.
3113
5fa89513
GM
3114 * term/w32-win.el (create-default-fontset): Declare.
3115
38702b5b
GM
3116 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3117 Declare.
3118
e740f9d2
GM
3119 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3120 (fit-frame-to-buffer): Explicit error if --without-x.
3121 (mouse-autoselect-window-select): Silence compiler.
3122
49a053fc
GM
3123 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3124
3125 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3126 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3127 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3128 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3129 Remove unused local variables.
3130
3131 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3132
ec9177ba
GM
3133 * textmodes/two-column.el: Make 2C-split work for --without-x.
3134 (scroll-bar-columns): Autoload.
3135 (top-level): Require fringe when compiling.
3136
9f25cb77
LL
31372013-09-18 Leo Liu <sdl.web@gmail.com>
3138
3139 * subr.el (add-hook): Robustify to handle closure as well.
3140
2b42da98
GM
31412013-09-17 Glenn Morris <rgm@gnu.org>
3142
3143 * simple.el (messages-buffer-mode-map): Unbind "g".
3144
e8b66a6a
SM
31452013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3146
9c0ad4f7
SM
3147 * help-mode.el (help-mode-finish): Use derived-mode-p.
3148 Remove obsolete highlighting.
3149
7a806dfb
SM
3150 * play/life.el (life-mode): Use define-derived-mode. Derive from
3151 special-mode.
3152 (life): Let-bind inhibit-read-only.
3153 (life-setup): Avoid `setq'. Use `life-mode'.
3154
96dbf5a8
SM
3155 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3156 which should not be needed any more.
3157 (package-menu-refresh, package-menu-describe-package): Use user-error.
3158
e8b66a6a
SM
3159 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3160 (eshell-post-rewrite-command-hook): Make obsolete.
3161 (eshell-parse-command): Simplify.
3162 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3163 (eshell--cmd): Declare.
3164 (eshell-parse-pipeline): Remove unused var `final-p'.
3165 Pass a dynvar to eshell-post-rewrite-command-hook.
3166 Implement the new eshell-post-rewrite-command-function.
3167 (eshell-invoke-directly): Remove unused arg `input'.
3168 * eshell/esh-io.el (eshell-io-initialize):
3169 Use eshell-post-rewrite-command-function (bug#15399).
3170 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3171 adjust to new calling convention.
3172 (eshell-create-handles): Rename args to avoid clashing with dynvar
3173 `standard-output'.
3174
90582f05
GM
31752013-09-17 Glenn Morris <rgm@gnu.org>
3176
3177 * simple.el (messages-buffer-mode): New major mode.
3178 (messages-buffer): New function.
3179 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3180 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3181 (ert-run-test): Use `messages-buffer' function.
90582f05 3182 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3183 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3184 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3185
39eb0cb5 31862013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3187
3188 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3189
1f1e06e2
SM
3190 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3191
70568a90
SM
31922013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3193
504a0381
SM
3194 * icomplete.el (icomplete-in-buffer): New var.
3195 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3196 vars and replace them with functions.
3197 (icomplete-minibuffer-setup): Adjust accordingly.
3198 (icomplete--completion-table, icomplete--completion-predicate)
3199 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3200 New functions.
3201 (icomplete-forward-completions, icomplete-backward-completions)
3202 (icomplete-simple-completing-p, icomplete-exhibit)
3203 (icomplete-completions): Use them.
3204 (icomplete--in-region-buffer): New var.
3205 (icomplete--in-region-setup): New function.
3206 (icomplete-mode): Use it.
3207
70568a90
SM
3208 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3209 (bug#15379).
3210 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3211 return args and options.
3212 (eshell-eval-using-options): Use the new return value of
3213 eshell--do-opts to set the options's vars in their scope.
3214 (eshell--set-option): Rename from eshell-set-option.
3215 Add arg `opt-vals'.
3216 (eshell--process-option): Rename from eshell-process-option.
3217 Add arg `opt-vals'.
3218 (eshell--process-args): Use an `opt-vals' alist to store the options's
3219 values during their processing and return them additionally to the
3220 remaining args.
3221
578c21bc
DG
32222013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3223
3224 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3225 continuation character an operator, as far as indentation is
3226 concerned (Bug#15369).
3227
c089653d
MR
32282013-09-15 Martin Rudalics <rudalics@gmx.at>
3229
3230 * window.el (window--state-put-2): Don't process buffer state
3231 when buffer doesn't exist any more (Bug#15382).
3232
1e53bb4b
GM
32332013-09-15 Glenn Morris <rgm@gnu.org>
3234
30753242
GM
3235 * eshell/em-unix.el (eshell/rm):
3236 Make -f ignore missing files. (Bug#15373)
3237
1e53bb4b
GM
3238 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3239 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3240 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3241
0d8863b3
GM
32422013-09-14 Glenn Morris <rgm@gnu.org>
3243
3244 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3245
d3fc6549
GM
32462013-09-13 Glenn Morris <rgm@gnu.org>
3247
3248 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3249 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3250
fcd42c11
DA
32512013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3252
3253 * frame.el (x-focus-frame): Mark as declared in frame.c.
3254
7830899f
SM
32552013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * ls-lisp.el: Use advice-add.
3258 (original-insert-directory): Remove.
3259 (ls-lisp--insert-directory): Rename from insert-directory; add
3260 `orig-fun' argument.
3261 (insert-directory): Advise.
3262
84387cd2
EZ
32632013-09-13 Eli Zaretskii <eliz@gnu.org>
3264
3265 * term.el (term-emulate-terminal): Decode the command string
3266 before passing it to term-command-hook. (Bug#15337)
3267
35ffc6ba
GM
32682013-09-13 Glenn Morris <rgm@gnu.org>
3269
5c3f9bcc
GM
3270 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3271
2ada368a
GM
3272 * eshell/esh-ext.el (eshell-search-path): Declare.
3273
fcef2e13
GM
3274 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3275 Otherwise an error occurs if eshell-dirs module not loaded.
3276
35ffc6ba
GM
3277 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3278
35c3d36e
MA
32792013-09-13 Michael Albinus <michael.albinus@gmx.de>
3280
3281 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3282 `tramp-check-proper-host'. Check for a valid method name.
3283
3284 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3285 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3286 * net/tramp-sh.el (tramp-maybe-open-connection):
3287 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3288
3289 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3290 also for hash values.
3291
ae5e4c48
SM
32922013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3293
379add74
SM
3294 * term/ns-win.el (parameters): Don't declare as dynamic.
3295 (before-make-frame-hook): Don't add ineffective function.
3296
ae5e4c48
SM
3297 * eshell/*.el: Use lexical-binding (bug#15231).
3298
b5623270
KH
32992013-09-12 Kenichi Handa <handa@gnu.org>
3300
ae5e4c48 3301 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3302
30213927
GM
33032013-09-12 Glenn Morris <rgm@gnu.org>
3304
be94d713 3305 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3306 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3307
44915370
GM
3308 * subr.el (do-after-load-evaluation): Also give compiler warnings
3309 when obsolete files are used (except by obsolete files).
3310
a6ae021f
GM
3311 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3312 in the status output, assume `filename' is the first. (Bug#15322)
3313
40e64f0c
GM
3314 * vc/vc.el (vc-deduce-fileset): Doc fix.
3315
16d9f896
GM
3316 * calc/calc-help.el (Info-goto-node):
3317 * progmodes/cperl-mode.el (Info-find-node):
3318 * vc/ediff.el (Info-goto-node): Update declarations.
3319
dea01c6e
GM
3320 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3321
759880bf 3322 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3323 (vc-bzr-pull): Require vc-dispatcher.
3324 * vc/vc-git.el (vc-compilation-mode): Declare.
3325 (vc-git-pull): Require vc-dispatcher.
3326
08d66420
GM
3327 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3328
30b626e9
GM
3329 * progmodes/octave.el (help-button-action): Declare.
3330
8c05cb10
GM
3331 * shell.el (shell-directory-tracker): Output error as a message
3332 rather than just returning it as a string.
3333 (shell-process-pushd): Remove useless use of message.
3334
30213927
GM
3335 * dframe.el (dframe-timer-fn):
3336 * files.el (dir-locals-read-from-file):
3337 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3338 (mpc-format):
3339 * reveal.el (reveal-post-command):
3340 * saveplace.el (load-save-place-alist-from-file):
3341 * shell.el (shell-resync-dirs):
3342 * w32-common-fns.el (x-get-selection-value):
3343 * emacs-lisp/copyright.el (copyright-find-copyright):
3344 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3345 * emulation/tpu-edt.el (tpu-copy-keyfile):
3346 * play/bubbles.el (bubbles--mark-neighbourhood):
3347 * progmodes/executable.el
3348 (executable-make-buffer-file-executable-if-script-p):
3349 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3350
d3b049e6
SM
33512013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3352
170266d0
SM
3353 Cleanup Eshell to rely less on dynamic scoping.
3354 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3355 last-value, and ext-command here. Bind `args' closer to `body'.
3356 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3357 (eshell--args): Declare new dynamic var.
3358 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3359 last-value, and ext-command. Pass `args' to `body'.
3360 (eshell-process-args): Bind eshell--args.
3361 (eshell-set-option): Use eshell--args.
3362 * eshell/eshell.el (eshell): Use derived-mode-p.
3363 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3364 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3365 (eshell-glob-function): Declare.
3366 * eshell/esh-util.el: Require cl-lib.
3367 (eshell-read-hosts-file): Avoid add-to-list.
3368 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3369 `err'.
3370 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3371 Declare.
3372 (eshell/diff): Remove unused var `err'.
3373 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3374 `killflag'.
3375 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3376 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3377 first use.
3378 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3379 Move declaration before first use.
3380 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3381 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3382 rely on cl-return.
3383
56834f3b
GM
33842013-09-12 Glenn Morris <rgm@gnu.org>
3385
3386 * term/ns-win.el (global-map): Remove binding for ispell-next,
3387 deleted 1999-05-29. (Bug#15357)
3388
5c91a2b8
GM
33892013-09-11 Glenn Morris <rgm@gnu.org>
3390
da712f22
GM
3391 * echistory.el (electric-command-history): Remove call to deleted func.
3392
512e4cdc
GM
3393 * play/landmark.el (landmark-mode): Fix typos.
3394
d3506ca5
GM
3395 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3396 Check cvs-sort-ignore-file is bound.
3397
5c91a2b8
GM
3398 * savehist.el: No need for cl when compiling on Emacs.
3399
feeff482
SM
34002013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3401
656bd483
SM
3402 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3403 (bug#15338).
d3b049e6
SM
3404 (eshell-self-insert-command, eshell-send-invisible):
3405 Remove unused argument.
656bd483
SM
3406 (eshell-handle-control-codes): Remove unused var `orig'.
3407 Avoid delete-backward-char.
3408
feeff482
SM
3409 * files.el (set-auto-mode): Simplify a bit further.
3410
2a08047a
GM
34112013-09-11 Glenn Morris <rgm@gnu.org>
3412
3413 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3414 (set-auto-mode): Don't regexp-quote elements.
3415 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3416 * progmodes/cc-mode.el (interpreter-mode-alist):
3417 * progmodes/ruby-mode.el (interpreter-mode-alist):
3418 Revert previous change.
3419
34675540
SM
34202013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3421
1b3b87df
SM
3422 * play/snake.el (snake-mode):
3423 * play/mpuz.el (mpuz-mode):
3424 * play/landmark.el (lm-mode):
3425 * play/blackbox.el (blackbox-mode):
3426 * play/5x5.el (5x5-mode):
3427 * obsolete/options.el (Edit-options-mode):
3428 * net/quickurl.el (quickurl-list-mode):
3429 * net/newst-treeview.el (newsticker-treeview-mode):
3430 * mail/rmailsum.el (rmail-summary-mode):
3431 * mail/mspools.el (mspools-mode):
3432 * locate.el (locate-mode):
3433 * ibuffer.el (ibuffer-mode):
3434 * emulation/ws-mode.el (wordstar-mode):
3435 * emacs-lisp/debug.el (debugger-mode):
3436 * array.el (array-mode):
3437 * net/eudc.el (eudc-mode): Use define-derived-mode.
3438 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3439 Move initialization into declaration.
3440 (mairix-searches-mode): Use define-derived-mode.
3441 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3442 (eudc-edit-hotlist): Use dolist.
3443 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3444 (Man-mode): Use define-derived-mode.
3445 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3446 (Info-edit-mode): Use define-derived-mode.
3447 (Info-cease-edit): Use Info-mode.
3448 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3449 into declaration.
3450 (eshell-mode): Use define-derived-mode.
3451 * chistory.el (command-history-mode-map): Rename from
3452 command-history-map.
3453 (command-history-mode): Use define-derived-mode.
da712f22 3454 (Command-history-setup): Remove function.
1b3b87df
SM
3455 * calc/calc.el (calc-trail-mode-map): New var.
3456 (calc-trail-mode): Use define-derived-mode.
3457 (calc-trail-buffer): Set calc-main-buffer manually.
3458 * bookmark.el (bookmark-insert-annotation): New function.
3459 (bookmark-edit-annotation): Use it.
3460 (bookmark-edit-annotation-mode): Make it a proper major mode.
3461 (bookmark-send-edited-annotation): Use derived-mode-p.
3462 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3463 closer to its ideal place. Use \' to match EOS.
3464
34675540
SM
3465 * profiler.el (profiler-calltree-find): Use function-equal.
3466
6a5c15d9
GM
34672013-09-10 Glenn Morris <rgm@gnu.org>
3468
1af4c220
GM
3469 * files.el (interpreter-mode-alist): Convert to regexps.
3470 (set-auto-mode): Adapt for this. (Bug#15306)
3471 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3472 Comment out unused variable.
3473 * progmodes/cc-mode.el (interpreter-mode-alist):
3474 * progmodes/python.el (interpreter-mode-alist):
3475 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3476 * progmodes/sh-script.el (sh-set-shell):
3477 No longer use interpreter-mode-alist to get list of shells.
3478
6a5c15d9
GM
3479 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3480
8c27f5ff
SM
34812013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3482
02ef6c1a 3483 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3484 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3485 Bind switch-frame explicitly. Replace universal-argument-minus with
3486 a conditional binding.
3487 (universal-argument-num-events, saved-overriding-map): Remove.
3488 (restore-overriding-map): Remove.
3489 (universal-argument--mode): Rename from save&set-overriding-map,
3490 and rewrite.
3491 (universal-argument, universal-argument-more, negative-argument)
3492 (digit-argument): Adjust accordingly.
3493 (universal-argument-minus): Remove.
3494 (universal-argument-other-key): Remove.
3495
8c27f5ff
SM
3496 * subr.el (with-demoted-errors): Add `format' argument.
3497
6480194c
MA
34982013-09-10 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3501 `tramp-cleanup-connection'.
3502
3503 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3504 parameters KEEP-DEBUG and KEEP-PASSWORD.
3505
3506 * net/tramp.el (tramp-file-name-handler):
3507 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3508 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3509 (tramp-maybe-open-connection):
8c27f5ff
SM
3510 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3511 Use `tramp-cleanup-connection'.
6480194c 3512
8c27f5ff
SM
3513 * net/tramp-sh.el (tramp-maybe-open-connection):
3514 Catch 'uname-changed inside the progress reporter.
6480194c 3515
e5e916d8
GM
35162013-09-10 Glenn Morris <rgm@gnu.org>
3517
9a2c9b47
GM
3518 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3519
e5e916d8
GM
3520 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3521 returns "alternate access method" in mode (eg "-rw-r--r--.").
3522
144e38fe
GM
35232013-09-08 Glenn Morris <rgm@gnu.org>
3524
3525 * saveplace.el (load-save-place-alist-from-file):
3526 Demote errors. (Bug#15305)
3527
af9ff9e8
MA
35282013-09-08 Michael Albinus <michael.albinus@gmx.de>
3529
3530 Improve compatibility with older Emacsen, and XEmacs.
3531
3532 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3533 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3534 (with-tramp-progress-reporter): Do not let-bind `result'.
3535 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3536 (tramp-handle-make-auto-save-file-name): New function, moved from
3537 tramp-sh.el.
3538
3539 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3540 for `make-auto-save-file-name'.
8c27f5ff
SM
3541 (tramp-adb--gnu-switches-to-ash):
3542 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3543
3544 * net/tramp-cache.el (tramp-cache-print): Call
3545 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3546
3547 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3548 bound. It isn't for XEmacs.
3549
8c27f5ff
SM
3550 * net/tramp-compat.el (tramp-compat-copy-file):
3551 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3552 (tramp-compat-replace-regexp-in-string): New defun.
3553
3554 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3555 for `make-auto-save-file-name'.
3556 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3557 `copy-file'.
3558 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3559 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3560 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3561
8c27f5ff
SM
3562 * net/tramp-gw.el (tramp-gw-open-network-stream):
3563 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3564
8c27f5ff
SM
3565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3566 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3567 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3568 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3569 (tramp-sh-file-inotifywait-process-filter):
3570 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3571 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3572
3573 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3574 for `make-auto-save-file-name'.
8c27f5ff
SM
3575 (tramp-smb-handle-copy-directory):
3576 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3577 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3578 (tramp-smb-handle-copy-file): Improve error message.
3579 (tramp-smb-handle-rename-file): Rename directly only in case
3580 `newname' does not exist yet. This is a restriction of smbclient.
3581 (tramp-smb-maybe-open-connection): Rerun the function only when
3582 `auth-sources' is non-nil.
3583
0ca754d0
KH
35842013-09-08 Kenichi Handa <handa@gnu.org>
3585
3586 * international/characters.el: Set category "^" (Combining) for
3587 more characters.
3588
e8dd0787
AM
35892013-09-07 Alan Mackenzie <acm@muc.de>
3590
3591 Correctly fontify Java class constructors.
3592 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3593 in Java Mode.
3594 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3596 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3597 "typeless" declaration there.
3598
f2f248e7
RW
35992013-09-07 Roland Winkler <winkler@gnu.org>
3600
3601 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3602 field subtitle for entry type book.
3603
67982e2b
SM
36042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * minibuffer.el: Make minibuffer-complete call completion-in-region
3607 rather than other way around.
3608 (completion--some, completion-pcm--find-all-completions):
3609 Don't delay signals when debugging.
3610 (minibuffer-completion-contents): Beware fields within the
3611 minibuffer contents.
3612 (completion-all-sorted-completions): Use defvar-local.
3613 (completion--do-completion, completion--cache-all-sorted-completions)
3614 (completion-all-sorted-completions, minibuffer-force-complete):
3615 Add args `beg' and `end'.
3616 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3617 (minibuffer-complete): Use completion-in-region.
3618 (completion-complete-and-exit): New fun, extracted from
3619 minibuffer-complete-and-exit.
3620 (minibuffer-complete-and-exit): Use it.
3621 (completion--complete-and-exit): Rename from
3622 minibuffer--complete-and-exit.
3623 (completion-in-region--single-word): New function, extracted from
3624 minibuffer-complete-word.
3625 (minibuffer-complete-word): Use it.
3626 (display-completion-list): Make `common-substring' argument obsolete.
3627 (completion--in-region): Call completion--in-region-1 instead of
3628 minibuffer-complete.
3629 (completion-help-at-point): Pass boundaries to
3630 minibuffer-completion-help as args rather than via an overlay.
3631 (completion-pcm--string->pattern): Use `any-delim'.
3632 (completion-pcm--optimize-pattern): New function.
3633 (completion-pcm--pattern->regex): Handle `any-delim'.
3634 * icomplete.el (icomplete-forward-completions)
3635 (icomplete-backward-completions, icomplete-completions):
3636 Adjust calls to completion-all-sorted-completions and
3637 completion--cache-all-sorted-completions.
3638 (icomplete-with-completion-tables): Default to t.
3639 * emacs-lisp/crm.el (crm--current-element): Rename from
3640 crm--select-current-element. Don't put an overlay but return the
3641 boundaries instead.
3642 (crm--completion-command): Take two new args to bind to the boundaries.
3643 (crm-completion-help): Adjust accordingly.
3644 (crm-complete): Use completion-in-region.
3645 (crm-complete-word): Use completion-in-region--single-word.
3646 (crm-complete-and-exit): Use completion-complete-and-exit.
3647
e17d94a5
SM
36482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3651 than dynamically.
3652
96727100
JL
36532013-09-06 Juri Linkov <juri@jurta.org>
3654
3655 * info.el (Info-display-images-node): When image file doesn't exist
3656 display text version of the image if it's provided in the Info file.
3657 Otherwise, display the location of missing image from SRC attribute.
3658 Add help-echo text property from ALT attribute. (Bug#15279)
3659
86cf7329
SM
36602013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3663 (edit-abbrevs-mode): Use define-derived-mode.
3664
3665 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3666 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3667 that it's defined.
3668 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3669 Use define-derived-mode.
3670
3671 * epg.el (epg-start-encrypt): Minor CSE simplification.
3672
816244a2
WX
36732013-09-06 William Xu <william.xwl@gmail.com>
3674
3675 * arc-mode.el: Add support for 7za (bug#15264).
3676 (archive-7z-program): New var.
3677 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3678 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3679 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3680
1486fa31
MA
36812013-09-06 Michael Albinus <michael.albinus@gmx.de>
3682
3683 Remove URL syntax.
3684
3685 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3686 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3687 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3688 (tramp-postfix-host-format, tramp-file-name-regexp)
3689 (tramp-completion-file-name-regexp)
3690 (tramp-completion-dissect-file-name)
3691 (tramp-handle-substitute-in-file-name): Remove 'url case.
3692 (tramp-file-name-regexp-url)
3693 (tramp-completion-file-name-regexp-url): Remove constants.
3694
39785324
GM
36952013-09-06 Glenn Morris <rgm@gnu.org>
3696
3697 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3698
1f896cb7
DG
36992013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3700
3701 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3702 keywords" below "here-doc beginnings" (Bug#15270).
3703
c0458e0b
SM
37042013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * subr.el (pop): Use `car-safe'.
3707 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3708 to detect unused `pop' return value.
3709
3710 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3711 var `block-regexp'.
3712 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3713 (python-fill-string): Remove unused var `marker'.
3714 (python-skeleton-add-menu-items): Remove unused var `items'.
3715
3716 * international/mule-cmds.el: Require CL.
3717 (find-coding-systems-for-charsets): Avoid add-to-list.
3718 (sanitize-coding-system-list): New function, extracted from
3719 select-safe-coding-system-interactively.
3720 (select-safe-coding-system-interactively): Use it.
3721 (read-input-method-name): Accept symbols for `default'.
3722
3723 * emacs-lisp/advice.el (defadvice): Add indent rule.
3724
6c42fc3e
DH
37252013-09-05 Daniel Hackney <dan@haxney.org>
3726
3727 * dired-x.el:
3728 * net/ange-ftp.el:
3729 * net/browse-url.el:
3730 * net/dbus.el:
3731 * net/eudc.el:
3732 * net/eudcb-ldap.el:
3733 * net/eww.el:
3734 * net/imap.el:
3735 * printing.el:
3736 * vc/ediff-diff.el:
3737 * vc/ediff-init.el:
3738 * vc/ediff-merg.el:
3739 * vc/ediff-mult.el:
3740 * vc/ediff-util.el:
3741 * vc/ediff-wind.el:
3742 * vc/ediff.el:
3743 * vc/emerge.el:
3744 * vc/pcvs.el:
3745 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3746 byte compiler. Remove some unused let-bound variables.
3747
4c528aab
SM
37482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3751 a "ref-cell", since it gets better optimized (bug#14883).
3752
bd15c390
GM
37532013-09-05 Glenn Morris <rgm@gnu.org>
3754
3755 * progmodes/cc-awk.el (c-forward-sws): Declare.
3756
1c3ac2e5
GM
37572013-09-04 Glenn Morris <rgm@gnu.org>
3758
3759 * generic-x.el [rul-generic-mode]: Require cc-mode.
3760 (c++-mode-syntax-table): Declare.
3761 (rul-generic-mode-syntax-table): Init in the defvar.
3762
52b1cc79
SM
37632013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3764
c828af56
SM
3765 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3766 (vc-do-command, vc-set-async-update):
3767 * vc/vc-mtn.el (vc-mtn-dir-status):
3768 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3769 (vc-hg-pull, vc-hg-merge-branch):
3770 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3771 (vc-git-merge-branch):
3772 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3773 (vc-cvs-dir-status-files):
3774 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3775 (vc-bzr-dir-status-files):
3776 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3777 * vc/vc-annotate.el: Use lexical-binding.
3778 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3779 (vc-sentinel-movepoint): Declare.
3780 (vc-annotate): Don't use `goto-line'.
3781 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3782 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3783 (vc-sentinel-movepoint): Declare.
3784 * vc/vc-svn.el: Use lexical-binding.
3785 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3786 * vc/vc-sccs.el:
3787 * vc/vc-rcs.el: Use lexical-binding.
3788
abae272c
SM
3789 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3790 `deleted'. Don't drop errors silently.
3791
52b1cc79
SM
3792 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3793
63191d9f
XF
37942013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3795
3796 * vc/vc.el (vc-ignore): Rewrite.
3797 (vc-default-ignore): New function.
3798 (vc-default-ignore-completion-table): Use find-ignore-file.
3799
3800 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3801 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3802 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3803 Remove. Most code moved to vc.el.
3804
9d3f707c
SM
38052013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3806
abae272c 3807 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3808 * net/tramp-smb.el (tramp-smb-get-file-entries):
3809 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3810 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3811
fde38d49
SM
3812 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3813 Update call to it.
3814 (eww-change-select): Remove unused var `properties'.
3815 (eww-make-unique-file-name): Remove unused var `base'.
3816
3817 * finder.el (finder-compile-keywords): Don't mess with windows.
3818
84032db7
SM
3819 * calculator.el (calculator-funcall): Fix typo in last change.
3820
724f5e41
SM
3821 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3822
14b511d4
SM
3823 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3824 <pkg>-autoloads.el file stop us.
3825
9d3f707c 3826 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3827 warnings, and factor out common code.
9d3f707c 3828
88527bc0
DG
38292013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3830
3831 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3832 two-character operators and whether the character preceding them
3833 changes their meaning (Bug#15208).
3834
96edb677
FEG
38352013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3836
3837 Format code sent to Python shell for robustness.
9d3f707c
SM
3838 * progmodes/python.el (python-shell-buffer-substring):
3839 New function.
96edb677
FEG
3840 (python-shell-send-region, python-shell-send-buffer): Use it.
3841
95beaef3
MA
38422013-09-02 Michael Albinus <michael.albinus@gmx.de>
3843
3844 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3845 * net/tramp.el (tramp-user-error): ... here.
3846 (tramp-find-method, tramp-check-proper-host)
3847 (tramp-dissect-file-name, tramp-debug-message)
3848 (tramp-handle-shell-command):
3849 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3850 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3851
3852 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3853
f167c27b
MR
38542013-09-02 Martin Rudalics <rudalics@gmx.at>
3855
3856 * avoid.el (mouse-avoidance-point-position)
3857 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3858 returns nil.
3859
cd16c5f1
FEG
38602013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3861
3862 * progmodes/python.el (python-shell-completion-get-completions):
3863 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3864 (python-nav-if-name-main): New command.
cd16c5f1 3865
e73c3a0d
GM
38662013-09-01 Glenn Morris <rgm@gnu.org>
3867
f8ccce03
GM
3868 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3869 Avoid leading space in $wins. Otherwise the sed command used by
3870 eg compile-main ends up containing "/*.el". (Bug#15170)
3871
e73c3a0d
GM
3872 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3873
415f808e
GM
38742013-08-30 Glenn Morris <rgm@gnu.org>
3875
3876 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3877 Fix is-this-a-directory logic. (Bug#15220)
3878
f069bba8
SM
38792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3880
112798c1
SM
3881 * textmodes/css-mode.el: Use SMIE.
3882 (css-smie-grammar): New var.
3883 (css-smie--forward-token, css-smie--backward-token)
3884 (css-smie-rules): New functions.
3885 (css-mode): Use them.
3886 (css-navigation-syntax-table): Remove var.
3887 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3888 (css-indent-calculate, css-indent-line): Remove functions.
3889
3890 Misc changes to reduce use of `(lambda...); and other cleanups.
3891 * cus-edit.el: Use lexical-binding.
3892 (customize-push-and-save, customize-apropos)
3893 (custom-buffer-create-internal): Use closures.
3894 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3895 * progmodes/ada-xref.el: Use setq.
3896 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3897 * dframe.el: Use lexical-binding.
3898 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3899 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3900 * descr-text.el: Use lexical-binding.
3901 (describe-text-widget, describe-text-sexp, describe-property-list):
3902 Use closures.
3903 * comint.el (comint-history-isearch-push-state): Use a closure.
3904 * calculator.el: Use lexical-binding.
3905 (calculator-number-to-string): Make it work with lexical-binding.
3906 (calculator-funcall): Same and use cl-letf.
3907
2da4c3ab
SM
3908 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3909 (lisp--company-doc-string, lisp--company-location): New functions.
3910 (lisp-completion-at-point): Use them to improve Company support.
3911
f069bba8
SM
3912 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3913 params of lambda expressions.
3914 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3915 (ruby-smie--opening-pipe-p): New function.
3916 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3917 symbols and matched |...| for formal params.
3918 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3919 from being treated as hanging. Handle "rescue".
3920
6758b6a8
GM
39212013-08-29 Glenn Morris <rgm@gnu.org>
3922
3923 * progmodes/cc-engine.el (c-pull-open-brace):
3924 Move definition before use.
3925
e8dfd197
SM
39262013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3929 are immutable. Don't use `unsafe' any more.
3930 (cl--defsubst-expand): Don't substitute at the same time as keeping
3931 a residual unused let-binding. Don't use `unsafe' any more.
3932
cc585c96
GM
39332013-08-29 Glenn Morris <rgm@gnu.org>
3934
ba579ea6
GM
3935 * calendar/cal-china.el (calendar-chinese-year-cache):
3936 Recenter on 2015.
3937
8201a87e
GM
3938 * nxml/nxml-util.el (nxml-debug-clear-inside):
3939 Use cl-loop rather than loop.
3940
6ee877c7
GM
3941 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3942
cc585c96
GM
3943 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3944
27be8d39
GM
39452013-08-28 Glenn Morris <rgm@gnu.org>
3946
397440a1
GM
3947 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3948
2bb762d4
GM
3949 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3950
27be8d39
GM
3951 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3952
2d69b99e
SM
39532013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3954
f663baa7
SM
3955 * simple.el (repeat-complex-command--called-interactively-skip):
3956 New function.
3957 (repeat-complex-command): Use it (bug#14136).
3958
dd4f8b74
SM
3959 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3960 (c-define-abbrev-table): Add `doc' argument.
3961 (c-mode-abbrev-table, c++-mode-abbrev-table)
3962 (objc-mode-abbrev-table, java-mode-abbrev-table)
3963 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3964 (awk-mode-abbrev-table): Use it.
3965 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3966 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3967 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3968 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3969 Move initialization into the declaration; and remove any
3970 autoload cookie.
3971
b58969f7
SM
3972 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3973 and dynamic let binding.
3974
4021d6a6
SM
3975 * vc/smerge-mode.el: Remove redundant :group args.
3976
2d69b99e
SM
3977 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3978 to load-path.
3979
274919fd
JL
39802013-08-28 Juri Linkov <juri@jurta.org>
3981
3982 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3983 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3984 (isearch-other-meta-char): Handle an undefined shifted printing
3985 character by downshifting it. (Bug#15200)
3986
121f8c95
JL
39872013-08-28 Juri Linkov <juri@jurta.org>
3988
3989 * isearch.el (isearch-search): Change regexp error message for
3990 non-regexp searches. (Bug#15166)
3991
50b13cde
PE
39922013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3993
3994 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3995 for portability to hosts where /bin/sh has problems.
3996
95888bca
SM
39972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4000
bbe558f1
JL
40012013-08-27 Juri Linkov <juri@jurta.org>
4002
4003 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4004 in the keyboard macro. (Bug#15126)
4005
26f98a7d
JL
40062013-08-27 Juri Linkov <juri@jurta.org>
4007
4008 * isearch.el (isearch-quote-char): Comment out converting unibyte
4009 to multibyte, thus syncing with its `quoted-insert' counterpart.
4010 (Bug#15166)
4011
7c97d35e
MR
40122013-08-27 Martin Rudalics <rudalics@gmx.at>
4013
4014 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4015 argument in call of get-largest-window (Bug#15185).
4016 Reported by Stephen Leake.
7c97d35e 4017
a0b5606e 40182013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4019
4020 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4021
9e89d835
SM
40222013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4025 from a matcher-function unless there's no more matches (bug#15161).
4026
78fc2530
MA
40272013-08-26 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * minibuffer.el: Revert change from 2013-08-20.
4030
4031 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4032 with text property `tramp-default', if appropriate.
4033 (tramp-check-proper-host): New defun.
4034 (tramp-dissect-file-name): Do not check hostname. Revert change
4035 of 2013-03-18.
4036 (tramp-backtrace): Make VEC-OR-PROC optional.
4037
4038 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4039 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4040 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4041 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4042 Apply `tramp-check-proper-host'.
78fc2530 4043
edca97cd
TH
40442013-08-26 Tassilo Horn <tsdh@gnu.org>
4045
4046 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4047 lambda expression in order to have `describe-variable' display it.
4048
df54bcbd
MA
40492013-08-26 Michael Albinus <michael.albinus@gmx.de>
4050
4051 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4052 BUF can be optional. (Bug#15186)
4053
eed99101
XF
40542013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4055
4056 * progmodes/flymake.el (flymake-get-real-file-name-function):
4057 Fix broken customization. (Bug#15184)
4058
b5eb9035
AM
40592013-08-25 Alan Mackenzie <acm@muc.de>
4060
8a51e842
AM
4061 Improve indentation of bracelists defined by macros (without "=").
4062
4063 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4064 expansion begins with "{", regard it as bracelist when it doesn't
4065 contain a ";".
4066
869455d4
AM
4067 Parse C++ inher-intro when there's a template split over 2 lines.
4068
4069 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4070 rigorously the search for "class" etc. followed by ":".
4071
4072 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4073 random languages a regexp which never matches rather than nil.
4074
b5eb9035
AM
4075 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4076
4077 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4078 (c-awk-regexp-one-line-possibly-open-char-list-re)
4079 (c-awk-one-line-possibly-open-regexp-re)
4080 (c-awk-one-line-non-syn-ws*-re): Remove.
4081 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4082 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4083 (c-awk-space*-unclosed-regexp-/-re): New constants.
4084 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4085 aren't regexp delimiters.
4086
4087 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4088 handling for a rare situation in AWK Mode involving unterminated
4089 strings/regexps.
4090
61611d54
GM
40912013-08-23 Glenn Morris <rgm@gnu.org>
4092
2d85dc34
GM
4093 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4094
cb8d2612
GM
4095 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4096
bb35f42f
GM
4097 * files.el (create-file-buffer): If the result would begin with
4098 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4099
b9808e77
SM
41002013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4101
e3a66363
SM
4102 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4103 text-properties (bug#15155).
4104
b9808e77
SM
4105 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4106 exist any more.
4107 (calc-keypad-redraw): Remove unused var `pad'.
4108 (calc-keypad-press): Remove unused var `menu'.
4109
7fd5f65e
MR
41102013-08-23 Martin Rudalics <rudalics@gmx.at>
4111
b9808e77
SM
4112 * window.el (display-buffer-pop-up-frame):
4113 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4114 use it as the new frame's buffer (Bug#15133).
4115
8352b530
SM
41162013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * calendar/timeclock.el: Minor cleanups.
4119 (timeclock-ask-before-exiting, timeclock-use-display-time):
4120 Use `symbol'.
4121 (timeclock-modeline-display): Define as alias before the
4122 actual definition.
4123 (timeclock-mode-line-display): Use define-minor-mode.
4124 (timeclock-day-list-template): Make it a function, add an argument.
4125 (timeclock-day-list-required, timeclock-day-list-length)
4126 (timeclock-day-list-debt, timeclock-day-list-span)
4127 (timeclock-day-list-break): Adjust calls accordingly.
4128
9f7b1925
SM
41292013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4132 Use read--expression so that completion works again.
4133
6e50e983
SS
41342013-08-21 Sam Steingold <sds@gnu.org>
4135
4136 Add rudimentary inferior shell interaction
4137 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4138 (sh-set-shell): Reset it.
9f7b1925
SM
4139 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4140 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4141
dbb0d350
SM
41422013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * align.el: Use lexical-binding.
4145 (align-region): Simplify accordingly.
4146
c88586a9
MA
41472013-08-20 Michael Albinus <michael.albinus@gmx.de>
4148
4149 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4150
4151 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4152 `non-essential' up.
4153
f95527c8
MA
41542013-08-17 Michael Albinus <michael.albinus@gmx.de>
4155
4156 * net/tramp.el:
4157 * net/tramp-adb.el:
4158 * net/tramp-cmds.el:
4159 * net/tramp-ftp.el:
4160 * net/tramp-gvfs.el:
4161 * net/tramp-gw.el:
4162 * net/tramp-sh.el: Don't wrap external variable declarations by
4163 `eval-when-compile'.
4164
4b5fe4ee
LMI
41652013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4166
4167 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4168 now that Emacs supports ImageMagick animations.
4169
13c366c9
MA
41702013-08-16 Michael Albinus <michael.albinus@gmx.de>
4171
4172 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4173 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4174
3dfc5cd6
MR
41752013-08-16 Martin Rudalics <rudalics@gmx.at>
4176
4177 * window.el (mouse-autoselect-window-select): Do autoselect when
4178 mouse pointer is on margin.
4179
4bbb4381
WP
41802013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4181
4182 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4183
3a2ddc2d
GM
41842013-08-16 Glenn Morris <rgm@gnu.org>
4185
e8bedf5a
GM
4186 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4187 Handle "Remote Directory" response of some clients. (Bug#15058)
4188
58c4682f
GM
4189 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4190 Tweak warning. (Bug#14926)
4191
57953f49
GM
4192 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4193 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4194
3a2ddc2d
GM
4195 * image-mode.el (image-mode-map): Add menu items to reverse,
4196 increase, decrease, reset animation speed.
4197 (image--set-speed, image-increase-speed, image-decrease-speed)
4198 (image-reverse-speed, image-reset-speed): New functions.
4199 (image-mode-map): Add bindings for speed commands.
4200
4201 * image.el (image-animate-get-speed, image-animate-set-speed):
4202 New functions.
4203 (image-animate-timeout): Respect image :speed property.
4204
10fa0ed3
SM
42052013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4208 previous line (bug#15101).
4209 (debugger-eval-expression, debugger-record-expression):
4210 Use read--expression (bug#15102).
4211
5d89d9d2
MA
42122013-08-15 Michael Albinus <michael.albinus@gmx.de>
4213
4214 Remove byte compiler warnings, visible when compiling with
4215 `byte-compile-force-lexical-warnings' set to t.
4216
4217 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4218 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4219 (tramp-handle-unhandled-file-name-directory)
4220 (tramp-handle-file-notify-add-watch, tramp-action-login)
4221 (tramp-action-succeed, tramp-action-permission-denied)
4222 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4223 arguments with "_".
4224
4225 * net/tramp-adb.el (tramp-adb-parse-device-names)
4226 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4227 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4228 (tramp-adb-handle-file-truename): Remove unused arguments.
4229
4230 * net/tramp-cache.el (tramp-flush-directory-property)
4231 (tramp-flush-connection-property, tramp-list-connections)
4232 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4233
10fa0ed3
SM
4234 * net/tramp-compat.el (tramp-compat-make-temp-file):
4235 Rename FILENAME to F.
5d89d9d2
MA
4236
4237 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4238 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4239 (tramp-zeroconf-parse-workstation-device-names)
4240 (tramp-zeroconf-parse-webdav-device-names)
4241 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4242
4243 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4244 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4245
4246 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4247 arguments.
4248 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4249 (tramp-sh-handle-insert-file-contents-literally)
4250 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4251 with "_".
4252 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4253 Remove unused variables.
4254
4255 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4256 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4257 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4258
4259 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4260 Make them a defconst.
4261 (tramp-uuencode-region): Remove unused variable.
4262
62f33bae
JB
42632013-08-14 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * frameset.el (frameset--prop-setter): New function.
4266 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4267 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4268 parameter was already set in FILTERED. Doc fix.
4269 (frameset--record-minibuffer-relationships): Allow saving a
4270 minibufferless frame without its corresponding minibuffer frame.
4271 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4272 frame, if the frame id matches.
4273 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4274 frames before orphaned ones.
4275 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4276
c660a885
MR
42772013-08-14 Martin Rudalics <rudalics@gmx.at>
4278
4279 * window.el (window-make-atom): Don't overwrite parameter
4280 already present.
4281 (display-buffer-in-atom-window): Handle special case where we
4282 split an already atomic window.
4283 (window--major-non-side-window, display-buffer-in-side-window)
4284 (window--side-check): Ignore minibuffer window when walking
4285 window tree.
4286 (window-deletable-p): Return 'frame only if no other frame uses
4287 our minibuffer window.
4288 (record-window-buffer): Run buffer-list-update-hook.
4289 (split-window): Make sure window--check-frame won't destroy an
4290 existing atomic window in case the new window gets nested
4291 inside.
4292 (display-buffer-at-bottom): Ignore minibuffer window when
4293 walking window tree. Don't split a side window.
4294 (pop-to-buffer): Don't set-buffer here, the select-window call
4295 should do that.
4296 (mouse-autoselect-window-select): Autoselect only if we are in the
4297 text portion of the window.
4298
8259030d
LMI
42992013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300
21c58ae2
LMI
4301 * net/shr.el (shr-parse-image-data): New function to grab both the
4302 data itself and the Content-Type.
4303 (shr-put-image): Use it.
4304
4305 * net/eww.el (eww-display-image): Ditto.
4306
8259030d
LMI
4307 * image.el (image-content-type-suffixes): New variable.
4308
ad756449
FEG
43092013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4310
4311 * progmodes/python.el (python-imenu--build-tree)
4312 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4313
f73f4ce6
XF
43142013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4315
4316 * simple.el (backward-word): Mention the optional argument.
4317
1f585e65
SM
43182013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * frameset.el (frameset--make): Rename constructor from make-frameset.
4321 (frameset-p, frameset-valid-p): Don't autoload.
4322 (frameset-valid-p): Use normal accessors.
4323
af1c6c84
GM
43242013-08-13 Glenn Morris <rgm@gnu.org>
4325
55e47f95
GM
4326 * progmodes/compile.el (compile-command): Tweak example in doc.
4327 * obsolete/scribe.el (scribe-mode):
4328 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4329
f0024d8c
GM
4330 * mail/feedmail.el (feedmail-confirm-outgoing)
4331 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4332
4333 * cus-start.el (truncate-partial-width-windows): Fix type.
4334
4335 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4336
af1c6c84
GM
4337 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4338
5514cc4c
SM
43392013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * emacs-lisp/timer.el (timer--time-setter): New function.
4342 (timer--time): Use it as gv-setter.
4343
4344 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4345 setter is not a symbol.
4346
7997a2f1
GJ
43472013-08-12 Grégoire Jadi <daimrod@gmail.com>
4348
4349 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4350 if sending fails. This makes debugging easier.
4351
01f1a9ab
JB
43522013-08-12 Juanma Barranquero <lekktu@gmail.com>
4353
4354 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4355 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4356 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4357
594a4307
EZ
43582013-08-12 Eli Zaretskii <eliz@gnu.org>
4359
4360 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4361
7a22490f 43622013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4363
4364 * format.el (format-annotate-function):
4365 Handle read-only text properties in the source. (Bug#14887)
4366
3e41a054
LMI
43672013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4368
5514cc4c
SM
4369 * net/eww.el (eww-display-html): Ignore coding system errors.
4370 One web site uses "utf-8lias" as the coding system.
3e41a054 4371
7ec326db
JB
43722013-08-11 Juanma Barranquero <lekktu@gmail.com>
4373
4374 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4375
5660113b
JB
43762013-08-10 Juanma Barranquero <lekktu@gmail.com>
4377
9a4ebc74
JB
4378 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4379 (tutorial--detailed-help): Remove unused local variables.
4380 (tutorial--save-tutorial-to): Use ignore-errors.
4381 (help-with-tutorial): Use looking-at-p.
4382
4383 * view.el (view-buffer-other-window, view-buffer-other-frame):
4384 Mark unused arguments.
4385
4386 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4387 (woman-select-symbol-fonts, woman, woman-find-file)
4388 (woman-insert-file-contents, woman-non-underline-faces):
4389 Use string-match-p.
4390 (woman1-unquote): Move declaration.
4391
4392 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4393 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4394 argument. Remove unused local variable.
4395 (xml-parse-elem-type): Use string-match-p.
4396 (xml-substitute-numeric-entities): Use ignore-errors.
4397
45fdb482
JB
4398 * calculator.el (calculator): Mark unused argument.
4399 (calculator-paste, calculator-quit, calculator-integer-p):
4400 Use ignore-errors.
4401 (calculator-string-to-number, calculator-decimal, calculator-exp)
4402 (calculator-op-or-exp): Use string-match-p.
4403
4404 * dired.el (dired-buffer-more-recently-used-p): Declare.
4405 (dired-insert-set-properties, dired-insert-old-subdirs):
4406 Use ignore-errors.
4407
4408 * dired-aux.el (dired-compress): Use ignore-errors.
4409 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4410 (dired-do-async-shell-command, dired-do-shell-command)
4411 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4412 (dired-insert-subdir-validate): Use string-match-p.
4413 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4414 (dired-add-entry): Use string-match-p, looking-at-p.
4415 (dired-insert-subdir-newpos): Remove unused local variable.
4416
4417 * filenotify.el (file-notify-callback): Remove unused local variable.
4418
4419 * filesets.el (filesets-error): Mark unused argument.
4420 (filesets-which-command-p, filesets-filter-dir-names)
4421 (filesets-directory-files, filesets-get-external-viewer)
4422 (filesets-ingroup-get-data): Use string-match-p.
4423
4424 * find-file.el (ff-other-file-name, ff-other-file-name)
4425 (ff-find-the-other-file, ff-cc-hh-converter):
4426 Remove unused local variables.
4427 (ff-get-file-name): Use string-match-p.
4428 (ff-all-dirs-under): Use ignore-errors.
4429
4430 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4431 (follow-select-if-visible): Remove unused local variable.
4432
4433 * forms.el (read-file-filter): Move declaration.
4434 (forms--make-format, forms--make-parser, forms-insert-record):
4435 Quote function with #'.
4436 (forms--update): Use string-match-p. Quote function with #'.
4437
4438 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4439 (help-make-xrefs): Use looking-at-p.
4440 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4441
4442 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4443 (ibuffer-confirm-operation-on): Use string-match-p.
4444
4445 * msb.el (msb-item-handler, msb-dired-item-handler):
4446 Mark unused arguments.
4447
4448 * ses.el (ses-decode-cell-symbol)
4449 (ses-kill-override): Remove unused local variable.
4450 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4451 (ses-load): Use ignore-errors, looking-at-p.
4452 (ses-jump-safe): Use ignore-errors.
4453 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4454
4455 * tabify.el (untabify, tabify): Mark unused arguments.
4456
4457 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4458 Mark unused argument.
4459 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4460 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4461
c880af52
JB
4462 * emacs-lisp/timer.el (timer--time): Define setter with
4463 gv-define-setter to avoid deprecation warning.
4464
5660113b 4465 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4466 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4467 (cmpl-statistics-block): Remove (body was commented out).
4468 All callers changed.
4469 (add-completions-from-buffer, load-completions-from-file):
4470 Remove unused variables.
4471
156aab80
JB
44722013-08-09 Juanma Barranquero <lekktu@gmail.com>
4473
5c5dee78
JB
4474 * filecache.el (file-cache-delete-file-list):
4475 Print message only when told so.
4476 (file-cache-files-matching): Use #' in mapconcat argument.
4477
156aab80
JB
4478 * ffap.el (ffap-url-at-point): Fix reference to variable
4479 thing-at-point-default-mail-uri-scheme.
4480
ad9dcd70
SM
44812013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4482
54bd972f
SM
4483 * subr.el (define-error): New function.
4484 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4485 error-file-not-found and define with define-error.
4486 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4487 and define with define-error.
4488 * userlock.el (file-locked, file-supersession):
4489 * simple.el (mark-inactive):
4490 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4491 * progmodes/ada-mode.el (ada-mode-errors):
4492 * play/life.el (life-extinct):
4493 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4494 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4495 * nxml/rng-util.el (rng-error):
4496 * nxml/rng-uri.el (rng-uri-error):
4497 * nxml/rng-match.el (rng-compile-error):
4498 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4499 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4500 * nxml/nxml-rap.el (nxml-scan-error):
4501 * nxml/nxml-outln.el (nxml-outline-error):
4502 * net/soap-client.el (soap-error):
4503 * net/gnutls.el (gnutls-error):
4504 * net/ange-ftp.el (ftp-error):
4505 * mpc.el (mpc-proc-error):
4506 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4507 (json-number-format, json-string-escape, json-string-format)
4508 (json-key-format, json-object-format):
4509 * jka-compr.el (compression-error):
4510 * international/quail.el (quail-error):
4511 * international/kkc.el (kkc-error):
4512 * emacs-lisp/ert.el (ert-test-failed):
4513 * calc/calc.el (calc-error, inexact-result, math-overflow)
4514 (math-underflow):
4515 * bookmark.el (bookmark-error-no-filename):
4516 * epg.el (epg-error): Define with define-error.
4517
0ea9e53a
SM
4518 * time.el (display-time-event-handler)
4519 (display-time-next-load-average): Don't call sit-for since it seems
4520 unnecessary (bug#15045).
4521
b0429158
SM
4522 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4523 Use #' instead of ' to quote functions.
4524 (checkdoc-output-mode): Use setq-local.
4525 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4526 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4527 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4528 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4529 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4530 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4531 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4532 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4533
ad9dcd70
SM
4534 * ido.el (ido-completion-help): Fix up compiler warning.
4535
77187e6f
JB
45362013-08-09 Juanma Barranquero <lekktu@gmail.com>
4537
4538 * frameset.el (frameset-p): Add autoload cookie.
4539 (frameset--jump-to-register): New function, based on code moved from
4540 register.el.
4541 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4542
4543 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4544 (frameset-restore, frameset-save, frameset-session-filter-alist):
4545 Remove declarations.
4546 (register-alist): Doc fix.
4547 (frameset-to-register): Move to frameset.el.
4548 (jump-to-register, describe-register-1): Remove frameset-specific code.
4549
9d3aa82c
JB
45502013-08-08 Juanma Barranquero <lekktu@gmail.com>
4551
4552 * allout-widgets.el (allout-widgets-pre-command-business)
4553 (allout-widgets-post-command-business)
4554 (allout-widgets-after-change-handler)
4555 (allout-decorate-item-and-context, allout-set-boundary-marker)
4556 (allout-body-modification-handler)
4557 (allout-graphics-modification-handler): Mark ignored arguments.
4558 (allout-widgets-post-command-business)
4559 (allout-widgets-exposure-change-processor)
4560 (allout-widgets-exposure-undo-processor)
4561 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4562 (allout-parse-item-at-point, allout-decorate-item-guides)
4563 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4564 * allout.el (epa-passphrase-callback-function): Declare.
4565 (allout-overlay-insert-in-front-handler)
4566 (allout-overlay-interior-modification-handler)
4567 (allout-isearch-end-handler, allout-chart-siblings)
4568 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4569 (allout-yank-processing, allout-process-exposed)
4570 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4571 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4572 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4573 (lisp-indent-defform): Mark ignored arguments.
4574 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4575 (calculate-lisp-indent): Remove unused variables.
4576 * international/characters.el (indian-2-column, arabic-2-column)
4577 (tibetan): Mark ignored arguments.
4578 (use-cjk-char-width-table): Mark ignored arguments.
4579 Remove unused variables.
4580 * international/fontset.el (build-default-fontset-data)
4581 (x-compose-font-name, create-fontset-from-fontset-spec):
4582 Mark ignored arguments.
4583 (fontset-plain-name): Remove unused variables.
4584 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4585 (keyboard-coding-system): Mark ignored arguments.
4586 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4587 * help.el (resize-temp-buffer-window):
4588 * window.el (display-buffer-in-major-side-window)
4589 (display-buffer-in-side-window, display-buffer-in-previous-window):
4590 Remove unused variables.
4591 * isearch.el (isearch-forward-symbol):
4592 * version.el (emacs-bzr-version-bzr):
4593 * international/mule-cmds.el (current-language-environment):
4594 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4595 (x-handle-display):
4596 * term/pc-win.el (x-list-fonts, x-display-planes)
4597 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4598 (x-server-version, x-display-screens, x-display-mm-height)
4599 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4600 (x-selection-owner-p, x-own-selection-internal)
4601 (x-disown-selection-internal, x-get-selection-internal)
4602 (msdos-initialize-window-system):
4603 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4604 * term/x-win.el (x-handle-no-bitmap-icon):
4605 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4606 (vc-default-find-file-hook, vc-default-extra-menu):
4607 Mark ignored arguments.
4608
0ca3f70e
SM
46092013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4612 break-condition in the context of the debugged code (bug#12685).
4613
74c5d24c
CS
46142013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4615
4616 * comint.el:
4617 Do not use an overlay to highlight the last prompt. (Bug#14744)
4618 (comint-mode): Make comint-last-prompt buffer local.
4619 (comint-last-prompt): New variable.
4620 (comint-last-prompt-overlay): Remove. Superseded by
4621 comint-last-prompt.
0ca3f70e
SM
4622 (comint-snapshot-last-prompt, comint-output-filter):
4623 Use comint-last-prompt.
74c5d24c 4624
c03c02ee
JB
46252013-08-08 Juanma Barranquero <lekktu@gmail.com>
4626
a3738d20 4627 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4628 (frameset-save): Check validity of the resulting frameset.
4629
04263d23
XF
46302013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4631
4632 * ido.el (ido-record-command): Add doc string.
4633
76c5e5ab
JB
46342013-08-08 Juanma Barranquero <lekktu@gmail.com>
4635
4636 * frameset.el (frameset): Do not disable creation of the default
4637 frameset-p predicate. Doc fix.
4638 (frameset-valid-p): New function, copied from the old predicate-p.
4639 Add additional checks.
4640 (frameset-restore): Check with frameset-valid-p.
4641 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4642 (frameset-name, frameset-description, frameset-properties)
4643 (frameset-states): Add docstring.
f9dbf1cb
JB
4644 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4645 (frameset-filter-alist): Doc fixes.
76c5e5ab 4646
bd0c3c0b
JB
46472013-08-08 Juanma Barranquero <lekktu@gmail.com>
4648
4649 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4650
c735544c
SM
46512013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4654 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4655 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4656 (byte-compile-normal-call): Remove obsolescence check.
4657
2805a651
JB
46582013-08-08 Juanma Barranquero <lekktu@gmail.com>
4659
3677ffeb
JB
4660 * frameset.el (frameset-restore): Doc fix.
4661
2805a651
JB
4662 * register.el (frameset-frame-id, frameset-frame-with-id)
4663 (frameset-p, frameset-restore, frameset-save): Declare.
4664 (register-alist): Document framesets.
4665 (frameset-session-filter-alist): Declare.
4666 (frameset-to-register): New function.
4667 (jump-to-register): Implement jumping to framesets. Doc fix.
4668 (describe-register-1): Describe framesets.
4669
4670 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4671
a912c016
JB
46722013-08-07 Juanma Barranquero <lekktu@gmail.com>
4673
4674 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4675 Use lexical-binding.
4676
4677 * frameset.el (frameset): Use type vector, not list (incompatible
4678 change). Do not declare a new constructor, use the default one.
4679 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4680 `name' and `description', respectively, and add read-only slot
4681 `timestamp'. Doc fixes.
4682 (frameset-copy, frameset-persistent-filter-alist)
4683 (frameset-filter-alist, frameset-switch-to-gui-p)
4684 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4685 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4686 (frameset-filter-iconified, frameset-keep-original-display-p):
4687 Doc fixes.
4688 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4689 Rename from frameset-filter-(save|restore)-param. All callers changed.
4690 Doc fix.
4691 (frameset-p): Adapt to change to vector and be more thorough.
4692 Change arg name to OBJECT. Doc fix.
4693 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4694 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4695 All callers changed.
4696 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4697 All callers changed.
4698 (frameset--record-minibuffer-relationships): Rename from
4699 frameset--process-minibuffer-frames. All callers changed.
4700 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4701 Use new default constructor (again). Doc fix.
4702 (frameset--find-frame-if): Rename from `frameset--find-frame.
4703 All callers changed.
4704 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4705 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4706 Doc fix.
4707 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4708 PARAMETERS and WINDOW-STATE, respectively.
4709 (frameset-restore): Add new keyword argument PREDICATE.
4710 Reset frameset--target-display to nil. Doc fix.
4711
bb41480a
SM
47122013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4713
f001e98e
SM
4714 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4715 (bat-mode): Use it.
4716 (bat-mode-syntax-table): Mark \n as end-of-comment.
4717 (bat-font-lock-keywords): Remove comment rule.
4718
7679edb1
SM
4719 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4720 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4721
bb41480a
SM
4722 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4723 (byte-compile-callargs-warn): Use `push'.
4724 (byte-compile-arglist-warn): Ignore higher-order "calls".
4725 (byte-compile-file-form-autoload): Use `pcase'.
4726 (byte-compile-function-form): If quoting a symbol, check that it exists.
4727
cdc1ebb9
EZ
47282013-08-07 Eli Zaretskii <eliz@gnu.org>
4729
4730 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4731 and add a few popular commands found in batch files.
4732 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4733 (dos-mode): Doc fixes.
4734
312b1740
SM
47352013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4738 (dos-mode): Use setq-local. Add space after "rem".
4739 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4740 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4741
400a3178
AM
47422013-08-07 Arni Magnusson <arnima@hafro.is>
4743
4744 * progmodes/dos.el: New file.
4745 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4746 dos-mode.
4747
3b5c03d3
GM
47482013-08-06 Glenn Morris <rgm@gnu.org>
4749
4750 * calendar/calendar.el: Add new faces, and day-header-array.
4751 (calendar-weekday-header, calendar-weekend-header)
4752 (calendar-month-header): New faces.
4753 (calendar-day-header-construct): New function.
4754 (calendar-day-header-width): Also :set calendar-day-header-array.
4755 (calendar-american-month-header, calendar-european-month-header)
4756 (calendar-iso-month-header): Use calendar- faces.
4757 (calendar-generate-month):
4758 Use calendar-day-header-array for day headers; apply faces to them.
4759 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4760 (calendar-abbrev-construct): Add optional maxlen argument.
4761 (calendar-day-name-array): Doc fix.
4762 (calendar-day-name-array, calendar-abbrev-length)
4763 (calendar-day-abbrev-array):
4764 Also :set calendar-day-header-array, and maybe redraw.
4765 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4766 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4767 (calendar-day-name): Add option to use header array.
4768
ec6a2d7a
LMI
47692013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4770
4771 * net/shr.el (shr-render-td): Remove debugging.
4772 (shr-render-td): Make width computation consistent by defaulting
4773 all zero-width columns to 10 characters. This may not be optimal,
4774 but it's at least consistent.
2122cb6d
LMI
4775 (shr-make-table-1): Redo last change to fix the real problem in
4776 colspan handling.
ec6a2d7a 4777
ed4fd9c5
DA
47782013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4779
0ca3f70e
SM
4780 * files.el (cache-long-line-scans):
4781 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4782
64e22afe
JB
47832013-08-06 Juanma Barranquero <lekktu@gmail.com>
4784
024b38fc
JB
4785 * frameset.el (frameset, frameset-filter-alist)
4786 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4787 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4788 (frameset-compute-pos): Rename from frameset--compute-pos,
4789 and add docstring.
4790 (frameset-move-onscreen): Use frameset-compute-pos.
4791 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4792
64e22afe
JB
4793 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4794 Fix typos in docstrings.
4795
c8c2aca8
DA
47962013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4797
4798 * frame.el (get-other-frame): Tiny cleanup.
4799
1d237bba
JB
48002013-08-06 Juanma Barranquero <lekktu@gmail.com>
4801
8951efef
JB
4802 * vc/vc.el (vc-default-ignore-completion-table):
4803 Silence byte-compiler warning.
4804
307764cc
JB
4805 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4806 slot , which can indeed be nil.
4807 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4808 Move entry for `left' from persistent to live filter alist.
4809 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4810 Doc fixes.
4811 (frameset-filter-params): When restoring a frame, copy items added to
4812 `filtered', to avoid unwittingly modifying the original parameters.
4813 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4814 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4815
1d237bba
JB
4816 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4817 to use looking-at-p instead of looking-at. (Bug#15028)
4818
dc6c0eda
SM
48192013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 Revert introduction of isearch-filter-predicates (bug#14714).
4822 Rely on add-function instead.
4823 * isearch.el (isearch-filter-predicates): Rename it back to
4824 isearch-filter-predicate.
4825 (isearch-message-prefix): Use advice-function-mapc and advice
4826 properties to get the isearch-message-prefix.
4827 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4828 instead of run-hook-with-args-until-failure.
4829 (isearch-filter-visible): Not obsolete any more.
4830 * loadup.el: Preload nadvice.
4831 * replace.el (perform-replace): Revert to funcall
4832 instead of run-hook-with-args-until-failure.
4833 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4834 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4835 dired-isearch-filenames-toggle; make it into a proper minor mode.
4836 Use add/remove-function.
4837 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4838 Call the minor-mode rather than add/remove-hook.
4839 (dired-isearch-filter-filenames):
4840 Remove isearch-message-prefix property.
4841 * info.el (Info--search-loop): New function, extracted from Info-search.
4842 Funcall isearch-filter-predicate instead of
4843 run-hook-with-args-until-failure isearch-filter-predicates.
4844 (Info-search): Use it.
4845 (Info-mode): Use isearch-filter-predicate instead of
4846 isearch-filter-predicates.
4847
290d5b58
DA
48482013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4849
4850 Do not call to `selected-window' where it is assumed by default.
4851 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4852 `window-hscroll', `window-width', `window-height', `window-buffer',
4853 `window-frame', `window-start', `window-point', `next-window'
4854 and `window-display-table'.
4855 * abbrev.el (abbrev--default-expand):
4856 * bs.el (bs--show-with-configuration):
4857 * buff-menu.el (Buffer-menu-mouse-select):
4858 * calc/calc.el (calc):
4859 * calendar/calendar.el (calendar-generate-window):
4860 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4861 (diary-make-entry):
4862 * comint.el (send-invisible, comint-dynamic-complete-filename)
4863 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4864 * completion.el (complete):
4865 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4866 * disp-table.el (describe-current-display-table):
4867 * doc-view.el (doc-view-insert-image):
4868 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4869 * ehelp.el (with-electric-help):
4870 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4871 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4872 * emacs-lisp/helper.el (Helper-help-scroller):
4873 * emulation/cua-base.el (cua--post-command-handler-1):
4874 * eshell/esh-mode.el (eshell-output-filter):
4875 * ffap.el (ffap-gnus-wrapper):
4876 * help-macro.el (make-help-screen):
4877 * hilit-chg.el (highlight-compare-buffers):
4878 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4879 * hl-line.el (global-hl-line-highlight):
4880 * icomplete.el (icomplete-simple-completing-p):
4881 * isearch.el (isearch-done):
4882 * jit-lock.el (jit-lock-stealth-fontify):
4883 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4884 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4885 * mpc.el (mpc-tagbrowser, mpc):
4886 * net/rcirc.el (rcirc-any-buffer):
4887 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4888 * play/landmark.el (landmark-max-width, landmark-max-height):
4889 * play/zone.el (zone):
4890 * progmodes/compile.el (compilation-goto-locus):
4891 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4892 * progmodes/etags.el (find-tag-other-window):
4893 * progmodes/fortran.el (fortran-column-ruler):
4894 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4895 * progmodes/verilog-mode.el (verilog-point-text):
4896 * reposition.el (reposition-window):
4897 * rot13.el (toggle-rot13-mode):
4898 * server.el (server-switch-buffer):
4899 * shell.el (shell-dynamic-complete-command)
4900 (shell-dynamic-complete-environment-variable):
4901 * simple.el (insert-buffer, set-selective-display)
4902 (delete-completion-window):
4903 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4904 (speedbar-recenter):
4905 * startup.el (fancy-splash-head):
4906 * textmodes/ispell.el (ispell-command-loop):
4907 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4908 * tutorial.el (help-with-tutorial):
4909 * vc/add-log.el (add-change-log-entry):
4910 * vc/compare-w.el (compare-windows):
4911 * vc/ediff-help.el (ediff-indent-help-message):
4912 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4913 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4914 (ediff-setup-control-frame):
4915 * vc/emerge.el (emerge-position-region):
4916 * vc/pcvs-util.el (cvs-bury-buffer):
4917 * window.el (walk-windows, mouse-autoselect-window-select):
4918 * winner.el (winner-set-conf, winner-undo): Related users changed.
4919
38276e01
JB
49202013-08-05 Juanma Barranquero <lekktu@gmail.com>
4921
4922 * frameset.el (frameset--set-id): Doc fix.
4923 (frameset-frame-id, frameset-frame-id-equal-p)
4924 (frameset-locate-frame-id): New functions.
4925 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4926 (frameset-restore): Use them.
4927
12b4c0ea
DA
49282013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4929
4930 Do not call to `selected-frame' where it is assumed by default.
4931 Affected functions are `raise-frame', `redraw-frame',
4932 `frame-first-window', `frame-terminal' and `delete-frame'.
4933 * calendar/appt.el (appt-disp-window):
4934 * epg.el (epg-wait-for-completion):
4935 * follow.el (follow-delete-other-windows-and-split)
4936 (follow-avoid-tail-recenter):
4937 * international/mule.el (set-terminal-coding-system):
4938 * mail/rmail.el (rmail-mail-return):
4939 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4940 * progmodes/f90.el (f90-add-imenu-menu):
4941 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4942 * server.el (server-switch-buffer):
4943 * simple.el (delete-completion-window):
4944 * talk.el (talk):
4945 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4946 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4947 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4948 * vc/ediff.el (ediff-documentation): Related users changed.
4949 * frame.el (selected-terminal): Remove the leftover.
4950
17f25e76
GM
49512013-08-05 Glenn Morris <rgm@gnu.org>
4952
4953 * calendar/calendar.el (calendar-generate-month):
4954 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4955 (calendar-generate-month, calendar-font-lock-keywords):
4956 Fix for calendar-day-header-width > length of any day name.
17f25e76 4957
063233c3
JB
49582013-08-05 Juanma Barranquero <lekktu@gmail.com>
4959
4960 * desktop.el (desktop-clear): Use new name of sort predicate.
4961
4962 * frameset.el (frameset): Add docstring. Move :version property to its
4963 own `version' slot.
4964 (frameset-copy): Rename from copy-frameset.
4965 (frameset-p): Check more thoroughly.
4966 (frameset-prop): Do not check for :version, which is no longer a prop.
4967 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4968 Use new :never value instead of t.
4969 (frameset-filter-alist): Expand and clarify docstring.
4970 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4971 (frameset-filter-minibuffer, frameset-filter-save-param)
4972 (frameset-filter-restore-param, frameset-filter-iconified):
4973 Add pointer to docstring of frameset-filter-alist.
4974 (frameset-filter-params): Rename filter values to be more meaningful:
4975 :never instead of t, and reverse the meanings of :save and :restore.
4976 (frameset--process-minibuffer-frames): Clarify error message.
4977 (frameset-save): Avoid unnecessary and confusing call to framep.
4978 Use new BOA constructor for framesets.
4979 (frameset--reuse-list): Doc fix.
4980 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4981 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4982 (frameset-minibufferless-first-p): Doc fix.
4983 Rename from frameset-sort-frames-for-deletion.
4984 (frameset-restore): Doc fixes. Use new function names.
4985 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4986
d5671a82
JB
49872013-08-04 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * desktop.el (desktop-restore-forces-onscreen)
4990 (desktop-restore-reuses-frames): Document :keyword constant values.
4991 (desktop-filter-parameters-alist): Remove, now identical to
4992 frameset-filter-alist.
4993 (desktop--filter-tty*): Remove, moved to frameset.el.
4994 (desktop-save-frameset, desktop-restore-frameset):
4995 Do not pass :filters argument.
4996
4997 * frameset.el (frameset-live-filter-alist)
4998 (frameset-persistent-filter-alist): New variables.
4999 (frameset-filter-alist): Use them. Add autoload cookie.
5000 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5001 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5002 `frameset--id' (it's supposed to be internal to frameset.el).
5003 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5004 (frameset--initial-params): New function.
5005 (frameset--get-frame): Use it. Doc fix.
5006 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5007 Accept :all, not 'all.
5008 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5009 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5010 with fbound symbols. Fix frame id matching, and remove matching ids if
5011 the frame being restored is deleted. Obey :delete.
5012
671d5c16
SM
50132013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * subr.el (macrop): New function.
5016 (text-clone--maintaining): New var.
5017 (text-clone--maintain): Rename from text-clone-maintain. Use it
5018 instead of inhibit-modification-hooks.
5019
5020 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5021 a proxy, so as handle autoloads and redefinitions of the target.
5022 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5023
5024 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5025 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5026 (pcase--mutually-exclusive-p): New function.
5027 (pcase--split-consp): Use it.
5028 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5029 mutually exclusive with the current predicate.
5030
5031 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5032 (edebug-macrop): Remove. Use `macrop' instead.
5033 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5034 (ad-macro-p):
5035 * eshell/esh-cmd.el (eshell-macrop):
5036 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5037
1d44e9dc
SM
50382013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5041 (advice-mapc): New function, using it.
5042 (advice-function-member-p): New function.
5043 (advice--normalize): Store the cdr in advice--saved-rewrite since
5044 that's the part that will be changed.
5045 (advice--symbol-function): New function.
5046 (advice-remove): Handle removal before the function is defined.
5047 Adjust to new advice--saved-rewrite.
5048 (advice-member-p): Use advice-function-member-p and
5049 advice--symbol-function.
5050
5414a283
JB
50512013-08-04 Juanma Barranquero <lekktu@gmail.com>
5052
51d30f2c
JB
5053 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5054 (frameset-filter-minibuffer): Doc fix.
5055 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5056 (frameset--set-id, frameset--process-minibuffer-frames)
5057 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5058 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5059
5414a283
JB
5060 * desktop.el (desktop-clear): Only delete frames when called
5061 interactively and desktop-restore-frames is non-nil. Doc fix.
5062 (desktop-read): Set desktop-saved-frameset to nil.
5063
ab419665
XF
50642013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5065
5066 * vc/vc.el (vc-ignore): Rewrite.
5067 (vc-default-ignore-completion-table):
5068 (vc--read-lines):
5069 (vc--add-line, vc--remove-regexp): New functions.
5070
5071 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5072 (vc-svn-ignore-completion-table): New function.
5073
5074 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5075 (vc-hg-ignore-completion-table):
5076 (vc-hg-find-ignore-file): New functions.
5077
5078 * vc/vc-git.el (vc-git-ignore): Rewrite.
5079 (vc-git-ignore-completion-table):
5080 (vc-git-find-ignore-file): New functions.
5081
5082 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5083
5084 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5085 (vc-bzr-ignore-completion-table):
5086 (vc-bzr-find-ignore-file): New functions.
5087
2613dea2
JB
50882013-08-03 Juanma Barranquero <lekktu@gmail.com>
5089
5090 * frameset.el (frameset-prop): New function and setter.
5091 (frameset-save): Do not modify frame list passed by the caller.
5092
9c959872
SM
50932013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5096
a104f656
SM
50972013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5098
70122acf
SM
5099 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5100 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5101
a104f656
SM
5102 * custom.el (custom-initialize-default, custom-initialize-set)
5103 (custom-initialize-reset, custom-initialize-changed): Affect the
5104 toplevel-default-value (bug#6275, bug#14586).
5105 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5106 for bug#6275.
5107
f078d570
JB
51082013-08-02 Juanma Barranquero <lekktu@gmail.com>
5109
185e3b5a
JB
5110 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5111 Add cl-def* expressions.
5112
f078d570
JB
5113 * frameset.el (frameset-filter-params): Fix order of arguments.
5114
9421876d
JB
51152013-08-02 Juanma Barranquero <lekktu@gmail.com>
5116
5117 Move code related to saving frames to frameset.el.
5118 * desktop.el: Require frameset.
5119 (desktop-restore-frames): Doc fix.
5120 (desktop-restore-reuses-frames): Rename from
5121 desktop-restoring-reuses-frames.
5122 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5123 (desktop-clear): Clear frames too.
5124 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5125 (desktop--filter-tty*, desktop-save, desktop-read):
5126 Use frameset functions.
5127 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5128 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5129 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5130 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5131 (desktop--process-minibuffer-frames, desktop-save-frames)
5132 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5133 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5134 (desktop--sort-states, desktop-restoring-frames-p)
5135 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5136 (desktop-restoring-frameset-p, desktop-restore-frameset)
5137 (desktop--check-dont-save, desktop-save-frameset): New functions.
5138 (desktop--app-id): New constant.
5139 (desktop-first-buffer, desktop-buffer-ok-count)
5140 (desktop-buffer-fail-count): Move before first use.
5141 * frameset.el: New file.
5142
76dc5996
SM
51432013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * files.el: Use lexical-binding.
5146 (dir-locals-read-from-file): Remove unused `err' variable.
5147 (hack-dir-local-variables--warned-coding): New var.
5148 (hack-dir-local-variables): Use it to avoid repeated warnings.
5149 (make-backup-file-name--default-function): New function.
5150 (make-backup-file-name-function): Use it as default.
5151 (buffer-stale--default-function): New function.
5152 (buffer-stale-function): Use it as default.
5153 (revert-buffer-insert-file-contents--default-function): New function.
5154 (revert-buffer-insert-file-contents-function): Use it as default.
5155 (insert-directory): Avoid add-to-list.
5156
5157 * autorevert.el (auto-revert-handler): Simplify.
5158 Use buffer-stale--default-function.
5159
06d36e2b
TH
51602013-08-01 Tassilo Horn <tsdh@gnu.org>
5161
5f648ab4
TH
5162 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5163
06d36e2b
TH
5164 * whitespace.el (whitespace-ensure-local-variables): New function.
5165 (whitespace-cleanup-region): Call it.
5166 (whitespace-turn-on): Call it.
5167
a43dc424
MA
51682013-08-01 Michael Albinus <michael.albinus@gmx.de>
5169
5170 Complete file name handlers.
5171
5172 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5173 (tramp-handle-verify-visited-file-modtime)
5174 (tramp-handle-file-notify-rm-watch): New functions.
5175 (tramp-call-process): Do not bind `default-directory'.
5176
44e18199
JB
5177 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5178 Order alphabetically.
a43dc424
MA
5179 [access-file, add-name-to-file, dired-call-process]:
5180 [dired-compress-file, file-acl, file-notify-rm-watch]:
5181 [file-ownership-preserved-p, file-selinux-context]:
5182 [make-directory-internal, make-symbolic-link, set-file-acl]:
5183 [set-file-selinux-context, set-visited-file-modtime]:
5184 [verify-visited-file-modtime]: Add handler.
5185 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5186
5187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5188 [file-notify-add-watch, file-notify-rm-watch]:
5189 [set-file-times, set-visited-file-modtime]:
5190 [verify-visited-file-modtime]: Add handler.
5191 (with-tramp-gvfs-error-message)
5192 (tramp-gvfs-handle-set-visited-file-modtime)
5193 (tramp-gvfs-fuse-file-name): Remove.
5194 (tramp-gvfs-handle-file-notify-add-watch)
5195 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5196 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5197
44e18199
JB
5198 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5199 Order alphabetically.
a43dc424
MA
5200 [file-notify-rm-watch ]: Use default Tramp handler.
5201 [executable-find]: Remove private handler.
5202 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5203 `default-directory'.
5204 (tramp-sh-handle-executable-find)
5205 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5206 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5207 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5208 Do not use `format' in `tramp-message'.
5209
5210 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5211 [file-notify-rm-watch, set-visited-file-modtime]:
5212 [verify-visited-file-modtime]: Add handler.
5213 (tramp-smb-call-winexe): Do not bind `default-directory'.
5214
7188b515
XF
52152013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5216
5217 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5218
2412ee1a
DG
52192013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5220
5221 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5222 use it.
5223 (log-view-diff-changeset): Same.
5224 (log-view-diff-common): Call backend command `previous-revision'
5225 to find out the previous revision, in both cases. Swap the
5226 variables `to' and `fr', so that `fr' usually refers to the
5227 earlier revision (Bug#14989).
5228
5002a754
KRC
52292013-07-31 Kan-Ru Chen <kanru@kanru.info>
5230
5231 * ibuf-ext.el (ibuffer-filter-by-filename):
5232 Make it work with dired buffers too.
5233
44e18199 52342013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5235
5236 * emacs-lisp/re-builder.el (reb-color-display-p):
5237 * files.el (save-buffers-kill-terminal):
5238 * net/browse-url.el (browse-url):
5239 * server.el (server-save-buffers-kill-terminal):
5240 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5241 Prefer nil to selected-frame for the first arg of frame-parameter.
5242
aeca3fbb
XF
52432013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5244
5245 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5246
158bc55c
SB
52472013-07-30 Stephen Berman <stephen.berman@gmx.net>
5248
5249 * minibuffer.el (completion--twq-all): Try and preserve each
5250 completion's case choice (bug#14907).
5251
d50fceab
LMI
52522013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5253
ac38e731
LMI
5254 * net/network-stream.el (open-network-stream): Mention the new
5255 :nogreeting parameter.
5256 (network-stream-open-starttls): Use the :nogreeting parameter
5257 (bug#14938).
5258
1211de50
LMI
5259 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5260
997798bf
LMI
5261 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5262 more natural than popping.
5263
d50fceab 5264 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5265 (shr-urlify): Highlight under mouse.
d50fceab 5266
5c09de04
XF
52672013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5268
207d1d04
XF
5269 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5270
5271 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5272
5c09de04
XF
5273 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5274 buffer for output.
5275
3cd51eaa
XF
5276 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5277 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5278
44e18199 5279 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5280 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5281
5282 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5283
5284 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5285 buffer for output.
5286
35a89bdd
EZ
52872013-07-29 Eli Zaretskii <eliz@gnu.org>
5288
5289 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5290 initial frame is minibuffer-less. (Bug#14841)
5291
78822e94
MA
52922013-07-29 Michael Albinus <michael.albinus@gmx.de>
5293
5294 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5295 option.
5296
5297 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5298 (tramp-maybe-open-connection): Use it.
5299
9503c190
JB
53002013-07-28 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5303 minimal set of parameters passed when creating a frame, because
5304 the minibuffer status of a frame cannot be changed later.
5305
d5a845b4
SB
53062013-07-28 Stephen Berman <stephen.berman@gmx.net>
5307
5308 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5309 replace-regexp-in-string and inadvertent omissions in previous change.
5310 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5311 name of filtered items buffer.
d5a845b4 5312
ddeffb17
JB
53132013-07-28 Juanma Barranquero <lekktu@gmail.com>
5314
5315 * desktop.el: Optionally force offscreen frames back onscreen.
5316 (desktop-restoring-reuses-frames): New option.
5317 (desktop--compute-pos, desktop--move-onscreen): New functions.
5318 (desktop--make-frame): Use desktop--move-onscreen.
5319
f5950f7a
AM
53202013-07-27 Alan Mackenzie <acm@muc.de>
5321
5322 Fontify a Java generic method as a function.
5323 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5324 value to t.
5325
ae43b66a
SB
53262013-07-27 Stephen Berman <stephen.berman@gmx.net>
5327
5328 * calendar/todo-mode.el: Add command to rename todo files.
5329 (todo-rename-file): New command.
5330 (todo-key-bindings-t): Add key binding for it. Change the
5331 bindings of todo-filter-regexp-items(-multifile) to use `x'
5332 instead of `r', since the latter is better suited to the new
5333 renaming command.
5334
5ab78d3d
AM
53352013-07-27 Alan Mackenzie <acm@muc.de>
5336
5337 Make Java try-with-resources statement parse properly.
5338 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5339 (c-block-stmt-1-2-key): New language constants/variables.
5340 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5341 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5342 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5343 with c-block-stmt-1-2-key.
5ab78d3d 5344
d85c4d50
JB
53452013-07-27 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * desktop.el (desktop--make-frame): Apply most frame parameters after
5348 creating the frame to force (partially or totally) offscreen frames to
5349 be restored as such.
5350
e4c467f9
XF
53512013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5352
5353 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5354 (Bug#14948)
e4c467f9 5355
7ced0d04
SM
53562013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5359 `base' arg of backtrace-frame.
5360
fec92060
EZ
53612013-07-26 Eli Zaretskii <eliz@gnu.org>
5362
5363 * simple.el (list-processes): Doc fix.
5364
d58d31fb
JB
53652013-07-26 Juanma Barranquero <lekktu@gmail.com>
5366
5367 * desktop.el (desktop--select-frame):
d85c4d50 5368 Try harder to reuse existing frames.
d58d31fb 5369
53ff3e77
SM
53702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5373 (edebug-eval): Use backtrace-eval.
5374 (edebug--display, edebug--recursive-edit): Don't let-bind the
5375 edebug-outer-* vars that keep track of variables we locally let-bind.
5376 (edebug-outside-excursion): Don't restore outside values of locally
5377 let-bound vars.
5378 (edebug--display): Use user-error.
5379 (cl-lexical-debug, cl-debug-env): Remove.
5380
045f7a53
JB
53812013-07-26 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5384 are restored to be sure that they are visible before deleting any
5385 remaining ones.
5386
59070b32
MM
53872013-07-26 Matthias Meulien <orontee@gmail.com>
5388
742a3501
XF
5389 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5390 vc-print-root-log. (Bug#14948)
59070b32 5391
b1fb3596
RS
53922013-07-26 Richard Stallman <rms@gnu.org>
5393
5394 Add aliases for encrypting mail.
5395 * epa.el (epa-mail-aliases): New option.
5396 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5397 Bind inhibit-read-only so read-only text doesn't ruin everything.
5398 (epa-mail-default-recipients): New subroutine broken out.
5399 Handle epa-mail-aliases.
5400
56ea7291
SM
54012013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 Add support for lexical variables to the debugger's `e' command.
5404 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5405 vars, except for debugger-outer-match-data.
5406 (debugger-frame-number): Move check for "on a function call" from
5407 callers into it. Add `skip-base' argument.
5408 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5409 (debugger-env-macro): Only reset the state stored in non-variables,
5410 i.e. current-buffer and match-data.
5411 (debugger-eval-expression): Rewrite using backtrace-eval.
5412 * subr.el (internal--called-interactively-p--get-frame): Remove.
5413 (called-interactively-p):
5414 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5415 `base' arg of backtrace-frame instead.
5416
15ac32d5
GM
54172013-07-26 Glenn Morris <rgm@gnu.org>
5418
8358a09d
GM
5419 * align.el (align-regexp): Doc fix. (Bug#14857)
5420 (align-region): Explicit error if subexpression missing/does not match.
5421
15ac32d5
GM
5422 * simple.el (global-visual-line-mode):
5423 Do not duplicate the mode lighter. (Bug#14858)
5424
f47ad11b
MR
54252013-07-25 Martin Rudalics <rudalics@gmx.at>
5426
5427 * window.el (display-buffer): In display-buffer bind
5428 split-window-keep-point to t, bug#14829.
5429
02530987
JB
54302013-07-25 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5433 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5434 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5435 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5436 Change accordingly.
f63ebeb5
JB
5437 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5438 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5439
6ccb9cab 54402013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5441
6ccb9cab 5442 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5443
cb3a56d2
JB
54442013-07-25 Juanma Barranquero <lekktu@gmail.com>
5445
5446 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5447 parameter to modify-frame-parameters if the value has not changed;
5448 this is a workaround for bug#14949.
5449 (desktop--make-frame): On cl-delete-if call, check parameter name,
5450 not full parameter.
5451
7aa7fff0
XF
54522013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5453
5454 * vc/vc.el (vc-ignore): New function.
5455
5456 * vc/vc-svn.el (vc-svn-ignore): New function.
5457
5458 * vc/vc-hg.el (vc-hg-ignore): New function.
5459
5460 * vc/vc-git.el (vc-git-ignore): New function.
5461
5462 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5463 (vc-dir-ignore): New function.
5464
5465 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5466 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5467
5468 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5469
5470 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5471
889acc5c
JB
54722013-07-24 Juanma Barranquero <lekktu@gmail.com>
5473
5474 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5475 (desktop-restore-frames): Warn when deleting an existing frame failed.
5476
86c40970
GM
54772013-07-24 Glenn Morris <rgm@gnu.org>
5478
5479 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5480
d5d3c58a
MA
54812013-07-24 Michael Albinus <michael.albinus@gmx.de>
5482
5483 * filenotify.el (file-notify-supported-p):
5484 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5485 Remove functions.
5486
5487 * autorevert.el (auto-revert-use-notify):
5488 (auto-revert-notify-add-watch):
5489 * net/tramp.el (tramp-file-name-for-operation):
5490 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5491 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5492 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5493 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5494 Remove `file-notify-supported-p' entry.
5495
d100084b
GM
54962013-07-24 Glenn Morris <rgm@gnu.org>
5497
5498 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5499 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5500
ac93e56b
SM
55012013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5502
249eea30
SM
5503 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5504 checked with memq (bug#14935).
5505
ac93e56b
SM
5506 * files.el (revert-buffer-function): Use a non-nil default.
5507 (revert-buffer-preserve-modes): Declare var to
5508 provide access to the `preserve-modes' argument.
5509 (revert-buffer): Let-bind it.
5510 (revert-buffer--default): New function, extracted from revert-buffer.
5511
2cdeb903
SM
55122013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * lpr.el: Signal print errors more prominently.
5515 (print-region-function): Don't default to nil.
5516 (lpr-print-region): New function, extracted from print-region-1.
5517 Check lpr's return value and signal an error in case of problem.
5518 (print-region-1): Use it.
5519 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5520 versions instead.
5521 (ps-printer-name): Default to nil.
5522 (ps-printer-name-option): Default to lpr-printer-switch.
5523 (ps-print-region-function): Don't default to nil.
5524 (ps-postscript-code-directory): Simplify default.
5525 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5526 (ps-string-list, ps-eval-switch, ps-flatten-list)
5527 (ps-flatten-list-1): Remove.
5528 (ps-multibyte-buffer): Avoid setq.
5529 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5530 (print-region-function, ps-print-region-function): Don't set them here.
5531
73600831
XF
55322013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5533
0e55c076
XF
5534 * ido.el (ido-fractionp):
5535 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5536 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5537 (ido-max-directory-size, ido-max-dir-file-cache)
5538 (ido-decorations): Doc fix.
5539
73600831
XF
5540 * ansi-color.el: Fix old URL.
5541
3d012865
MM
55422013-07-23 Michael R. Mauger <michael@mauger.com>
5543
e903c210 5544 * progmodes/sql.el: Version 3.3
3d012865
MM
5545 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5546 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5547 (sql-interactive-remove-continuation-prompt): Rewrite, use
5548 functions above. Fix continuation prompt and complete output line
5549 handling.
5550 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5551 redirected output buffer.
5552 (sql-mode): Restore deleted code (Bug#13591).
5553
da77a2e2
JB
55542013-07-23 Juanma Barranquero <lekktu@gmail.com>
5555
5556 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5557
80ff0c71
MA
55582013-07-23 Michael Albinus <michael.albinus@gmx.de>
5559
5560 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5561
5562 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5563 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5564 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5565
b61d71e4
JB
55662013-07-23 Juanma Barranquero <lekktu@gmail.com>
5567
5568 * desktop.el (desktop-clear): Simplify; remove useless checks
5569 against invalid buffer names.
5570 (desktop-list*): Use cl-list*.
5571 (desktop-buffer-info, desktop-create-buffer): Simplify.
5572
c3512092
LL
55732013-07-23 Leo Liu <sdl.web@gmail.com>
5574
5575 * bookmark.el (bookmark-make-record): Restore NAME as a default
5576 value. (Bug#14933)
5577
0ac26976
SM
55782013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5579
7d22ce18
SM
5580 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5581 extracted from autoload--insert-text.
5582 (autoload--insert-text): Remove.
5583 (autoload--print-cookie-text): New function, extracted from
5584 autoload--insert-cookie-text.
5585 (autoload--insert-cookie-text): Remove.
5586 (autoload-generate-file-autoloads): Adjust calls accordingly.
5587
9b2607e8
SM
5588 * winner.el (winner-hook-installed-p): Remove.
5589 (winner-mode): Simplify accordingly.
5590
c43a8618
SM
5591 * subr.el (add-to-list): Fix compiler-macro when `append' is
5592 not constant. Don't use `cl-member' for the base case.
5593
0ac26976
SM
5594 * progmodes/subword.el: Fix boundary case (bug#13758).
5595 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5596 own group.
5597 (subword-backward-regexp): Make it a constant.
5598 (subword-forward-internal): Don't treat a trailing capital as the
5599 beginning of a word.
5600
6874724a
AR
56012013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5602
5603 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5604 global value of tabulated-list-revert-hook (bug#14930).
5605
70f1b5e8
JB
56062013-07-22 Juanma Barranquero <lekktu@gmail.com>
5607
a1c80d9d
JB
5608 * desktop.el: Require 'cl-lib.
5609 (desktop-before-saving-frames-functions): New hook.
5610 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5611 for frames being saved. Rename from desktop--save-minibuffer-frames.
5612 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5613 Do not save frames with non-nil `desktop-dont-save' parameter.
5614 Filter out deleted frames.
a1c80d9d
JB
5615 (desktop--find-frame): Use cl-find-if.
5616 (desktop--select-frame): Use cl-(first|second|third) to access values
5617 of desktop-mini.
5618 (desktop--make-frame): Use cl-delete-if.
5619 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5620 (desktop-restore-frames): Use cl-(first|second|third) to access values
5621 of desktop-mini. Look for visible frame at the end, not while
5622 restoring frames.
5623
70f1b5e8
JB
5624 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5625 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5626 Use string-match-p, looking-at-p (bug#14927).
5627
728dc3cc
JB
56282013-07-21 Juanma Barranquero <lekktu@gmail.com>
5629
56bc453c
JB
5630 * desktop.el (desktop-saved-frame-states):
5631 Rename from desktop--saved-states; all users changed.
5632 (desktop-save-frames): Rename from desktop--save-frames.
5633 Do not save state to desktop file.
5634 (desktop-save): Save desktop-saved-frame-states to desktop file
5635 and reset to nil.
5636 (desktop-restoring-frames-p): New function.
5637 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5638 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5639 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5640
728dc3cc
JB
5641 * desktop.el: Correctly restore iconified frames.
5642 (desktop--filter-iconified-position): New function.
5643 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5644
862f1c9c
GM
56452013-07-20 Glenn Morris <rgm@gnu.org>
5646
c4074c9f
GM
5647 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5648 Let `message' do the formatting.
5649 (def-gdb-preempt-display-buffer): Add explicit format.
5650
d828e5f9
GM
5651 * image-dired.el (image-dired-track-original-file):
5652 Use with-current-buffer.
5653 (image-dired-track-thumbnail): Use with-current-buffer.
5654 Avoid changing point of wrong window.
5655
862f1c9c
GM
5656 * image-dired.el (image-dired-track-original-file):
5657 Avoid changing point of wrong window. (Bug#14909)
5658
f0398ec1 56592013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5660
5661 * progmodes/gdb-mi.el (gdb-done-or-error):
5662 Guard against "%" in gdb output. (Bug#14127)
5663
1451928f
AS
56642013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5665
763a086d
JB
5666 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5667 (Bug#14826)
f7a03897 5668
1451928f
AS
5669 * international/mule.el (coding-system-iso-2022-flags): Fix last
5670 change.
5671
99107004
KH
56722013-07-20 Kenichi Handa <handa@gnu.org>
5673
763a086d
JB
5674 * international/mule.el (coding-system-iso-2022-flags):
5675 Add `8-bit-level-4'. (Bug#8522)
99107004 5676
48494e06
LMI
56772013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5678
8ba8eec5
LMI
5679 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5680 (bug#14815).
5681
dfbc66e3
LMI
5682 * net/eww.el (eww-process-text-input): Allow inputting when the
5683 point is at the start of the line, as the properties aren't
5684 front-sticky.
5685
48494e06
LMI
5686 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5687 degenerate widths.
5688
77c92cb9
RS
56892013-07-19 Richard Stallman <rms@gnu.org>
5690
aec7da77
RS
5691 * epa.el (epa-popup-info-window): Doc fix.
5692
77c92cb9
RS
5693 * subr.el (split-string): New arg TRIM.
5694
945c5bb1
JB
56952013-07-18 Juanma Barranquero <lekktu@gmail.com>
5696
5697 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5698 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5699
e06ec67f
MA
57002013-07-18 Michael Albinus <michael.albinus@gmx.de>
5701
c7064f05 5702 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5703 `file-notify-support'. Do not autoload. Adapt all uses.
5704 (file-notify-supported-p): New defun.
5705
c7064f05
JB
5706 * autorevert.el (auto-revert-use-notify):
5707 Use `file-notify-supported-p' instead of `file-notify-support'.
5708 Adapt docstring.
e06ec67f
MA
5709 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5710
5711 * net/tramp.el (tramp-file-name-for-operation):
5712 Add `file-notify-supported-p'.
5713
5714 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5715 New defun.
5716 (tramp-sh-file-name-handler-alist): Add it as handler for
5717 `file-notify-supported-p '.
5718
5719 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5721 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5722 Add `ignore' as handler for `file-notify-*' functions.
5723
5dc8a629
EZ
57242013-07-17 Eli Zaretskii <eliz@gnu.org>
5725
5726 * simple.el (line-move-partial, line-move): Don't start vscroll or
5727 scroll-up if the current line is not taller than the window.
5728 (Bug#14881)
5729
77aea2fb
DG
57302013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5731
5732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5733 highlight question marks in the method names as strings.
ac72c08d
DG
5734 (ruby-block-beg-keywords): Inline.
5735 (ruby-font-lock-keyword-beg-re): Extract from
5736 `ruby-font-lock-keywords'.
77aea2fb 5737
18c26d81
JD
57382013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5739
5740 * frame.el (blink-cursor-blinks): New defcustom.
5741 (blink-cursor-blinks-done): New defvar.
5742 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5743 (blink-cursor-timer-function): Check if number of blinks has been
5744 done on X and NS.
5745 (blink-cursor-suspend, blink-cursor-check): New defuns.
5746
da48522e
GM
57472013-07-15 Glenn Morris <rgm@gnu.org>
5748
5749 * edmacro.el (edmacro-format-keys): Fix previous change.
5750
0463c1ef
PE
57512013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5752
5753 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5754 The hack didn't work outside English locales anyway.
5755
b43f6451
JB
57562013-07-15 Juanma Barranquero <lekktu@gmail.com>
5757
5758 * simple.el (define-alternatives): Rename from alternatives-define,
5759 per RMS' suggestion.
5760
b958c0ad
JB
57612013-07-14 Juanma Barranquero <lekktu@gmail.com>
5762
5763 * desktop.el (desktop-restore-frames): Change default to t.
5764 (desktop-restore-in-current-display): Now offer more options.
5765 (desktop-restoring-reuses-frames): New customization option.
5766 (desktop--saved-states): Doc fix.
5767 (desktop-filter-parameters-alist): New variable, renamed and expanded
5768 from desktop--excluded-frame-parameters.
5769 (desktop--target-display): New variable.
5770 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5771 (desktop--filter-tty*, desktop--filter-*-color)
5772 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5773 (desktop--filter-save-desktop-parm)
5774 (desktop-restore-in-original-display-p): New functions.
5775 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5776 (desktop--save-minibuffer-frames): New function, inspired by a similar
5777 function from Martin Rudalics.
5778 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5779 (desktop--restore-in-this-display-p): Remove.
5780 (desktop--find-frame): Rename from desktop--find-frame-in-display
5781 and add predicate argument.
5782 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5783 (desktop--reuse-list): New variable.
5784 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5785 New functions.
5786 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5787
f6dd8b36
MA
57882013-07-14 Michael Albinus <michael.albinus@gmx.de>
5789
5790 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5791
2ce3c565
DG
57922013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5793
763a086d
JB
5794 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5795 Highlight conversion methods on Kernel.
2ce3c565 5796
2cdb7698
AM
57972013-07-13 Alan Mackenzie <acm@muc.de>
5798
5799 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5800 and comment it out. This out-commenting enables certain C++
5801 declarations to be parsed correctly.
5802
1a67b811
EZ
58032013-07-13 Eli Zaretskii <eliz@gnu.org>
5804
1b796d6b
EZ
5805 * international/mule.el (define-coding-system): Doc fix.
5806
1a67b811
EZ
5807 * simple.el (default-font-height): Don't call font-info if the
5808 frame's default font didn't change since the frame was created.
5809 (Bug#14838)
5810
58fbe886
LL
58112013-07-13 Leo Liu <sdl.web@gmail.com>
5812
5813 * ido.el (ido-read-file-name): Guard against non-symbol value.
5814
1f0480d4
FEG
58152013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5816
5817 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5818 in nested defuns.
5819
97ead0e5
LL
58202013-07-13 Leo Liu <sdl.web@gmail.com>
5821
5822 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5823 ido-set-matches call. (Bug#6852)
5824
0880a952
DG
58252013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5826
5827 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5828 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5829 Ruby 2.0.
5830 (ruby-font-lock-keywords): Distinguish calls to functions with
5831 module-like names from module references. Highlight character
5832 literals.
5833
a7d8babb
SDJ
58342013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5835
5836 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5837 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5838
acfcc8c5
JB
58392013-07-12 Juanma Barranquero <lekktu@gmail.com>
5840
5841 * desktop.el (desktop--v2s): Remove unused local variable.
5842 (desktop-save-buffer): Make defvar-local; adjust docstring.
5843 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5844 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5845
051f2775
AS
58462013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5847
5848 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5849
f24e7572
GM
58502013-07-12 Eli Zaretskii <eliz@gnu.org>
5851
5852 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5853 (Bug#14842)
5854
539a920c
GM
58552013-07-12 Glenn Morris <rgm@gnu.org>
5856
5857 * doc-view.el: Require cl-lib at runtime too.
5858 (doc-view-remove-if): Remove.
5859 (doc-view-search-next-match, doc-view-search-previous-match):
5860 Use cl-remove-if.
5861
5862 * edmacro.el: Require cl-lib at runtime too.
5863 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5864 (edmacro-mismatch, edmacro-subseq): Remove.
5865
5866 * shadowfile.el: Require cl-lib.
5867 (shadow-remove-if): Remove.
5868 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5869 Use cl-remove-if.
5870
5871 * wid-edit.el: Require cl-lib.
5872 (widget-choose): Use cl-remove-if.
5873 (widget-remove-if): Remove.
5874
5875 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5876 (ebrowse-delete-if-not): Remove.
5877 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5878 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5879 Use cl-delete-if-not.
5880
1048af7c
JB
58812013-07-12 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5884 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5885
6c0674ee
LL
58862013-07-12 Leo Liu <sdl.web@gmail.com>
5887
5888 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5889
a19b3c2d
GM
58902013-07-11 Glenn Morris <rgm@gnu.org>
5891
4582a01c
GM
5892 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5893 (edebug-gensym-index, edebug-gensym):
5894 Remove reimplementation of cl-gensym.
5895 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5896
5897 * thumbs.el: Require cl-lib at run-time too.
5898 (thumbs-gensym-counter, thumbs-gensym):
5899 Remove reimplementation of cl-gensym.
5900 (thumbs-temp-file): Use cl-gensym.
5901
a19b3c2d
GM
5902 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5903 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5904 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5905 (ert--union, ert--gensym-counter, ert--gensym-counter)
5906 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5907 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5908 (ert-make-test-unbound, ert--expand-should-1)
5909 (ert--expand-should, ert--should-error-handle-error)
5910 (should-error, ert--explain-equal-rec)
5911 (ert--plist-difference-explanation, ert-select-tests)
5912 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5913 Use cl-lib functions rather than reimplementations.
5914
88f6a933
MA
59152013-07-11 Michael Albinus <michael.albinus@gmx.de>
5916
5917 * net/tramp.el (tramp-methods): Extend docstring.
5918 (tramp-connection-timeout): New defcustom.
5919 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5920 (with-tramp-progress-reporter): Simplify.
5921 (tramp-process-actions): Improve messages.
5922
5923 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5924 * net/tramp-sh.el (tramp-maybe-open-connection):
5925 Use `tramp-connection-timeout'.
5926 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5927 (Bug#14808)
5928
a43d577e
LL
59292013-07-11 Leo Liu <sdl.web@gmail.com>
5930
5931 * ido.el (ido-read-file-name): Conform to the requirements of
5932 read-file-name. (Bug#11861)
5933 (ido-read-directory-name): Conform to the requirements of
5934 read-directory-name.
5935
d77974bf
JB
59362013-07-11 Juanma Barranquero <lekktu@gmail.com>
5937
5938 * subr.el (delay-warning): New function.
5939
35cb8a3e
EZ
59402013-07-10 Eli Zaretskii <eliz@gnu.org>
5941
5942 * simple.el (default-line-height): New function.
5943 (line-move-partial, line-move): Use it instead of computing the
5944 line height inline.
5945 (line-move-partial): Always compute ROWH. If the last line is
5946 partially-visible, but its text is completely visible, allow
5947 cursor to enter such a partially-visible line.
5948
525c5c77
MA
59492013-07-10 Michael Albinus <michael.albinus@gmx.de>
5950
5951 Improve error messages. (Bug#14808)
5952
5953 * net/tramp.el (tramp-current-connection): New defvar, moved from
5954 tramp-sh.el.
0ac26976 5955 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5956 needed anymore.
0ac26976
SM
5957 (tramp-error-with-buffer): Show message in minibuffer.
5958 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5959 (with-tramp-progress-reporter): Improve messages.
5960 (tramp-process-actions): Use progress reporter. Delete process in
5961 case of error. Improve messages.
5962
763a086d
JB
5963 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5964 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5965 (tramp-current-connection): Remove.
525c5c77
MA
5966 (tramp-maybe-open-connection): The car of
5967 `tramp-current-connection' are the first 3 slots of the vector.
5968
c7a4d368
TZ
59692013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5970
5971 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5972 inside continued strings.
5973
954b166e
PE
59742013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5975
5976 Timestamp fixes for undo (Bug#14824).
5977 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5978
56973319
LL
59792013-07-10 Leo Liu <sdl.web@gmail.com>
5980
5981 * files.el (require-final-newline): Allow safe local value.
5982 (Bug#14834)
5983
5550a72c
LL
59842013-07-09 Leo Liu <sdl.web@gmail.com>
5985
5986 * ido.el (ido-read-directory-name): Handle fallback.
5987 (ido-read-file-name): Update DIR to ido-current-directory.
5988 (Bug#1516)
c28b9050 5989 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5990
70c46b28
DG
59912013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5992
5993 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5994 "autoload". Remove "warn lower camel case" section, previously
5995 commented out. Highlight negation char. Do not highlight the
5996 target in singleton method definitions.
5997
0b64b838
SM
59982013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5999
7fd72e2c
SM
6000 * faces.el (tty-setup-hook): Declare the hook.
6001
0b64b838
SM
6002 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6003 and detect when a guard/pred depends on local vars (bug#14773).
6004 (pcase--u1): Adjust caller.
6005
ab49d60b
EZ
60062013-07-08 Eli Zaretskii <eliz@gnu.org>
6007
6008 * simple.el (line-move-partial, line-move): Account for
6009 line-spacing.
701d79aa
EZ
6010 (line-move-partial): Avoid setting vscroll when the last
6011 partially-visible line in window is of default height.
ab49d60b 6012
2d756ae0
LMI
60132013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6014
6015 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6016 been used a while.
6017
ed095bd7
JB
60182013-07-07 Juanma Barranquero <lekktu@gmail.com>
6019
6020 * subr.el (read-quoted-char): Remove unused local variable `char'.
6021
f1e6674b
MK
60222013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6023
584ee3fc
GM
6024 * ediff.el (ediff-version): Version update.
6025 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6026 (ediff-merge-with-ancestor-command, ediff-directories-command)
6027 (ediff-directories3-command, ediff-merge-directories-command)
6028 (ediff-merge-directories-with-ancestor-command): New functions.
6029 All are command-line interfaces to ediff: to facilitate calling
6030 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6031
6032 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6033 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6034
584ee3fc
GM
6035 * viper.el (viper-version): Version update.
6036 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6037
584ee3fc
GM
60382013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6041 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6042 (viper-intercept-ESC-key): Simplify.
6043 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6044 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6045 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6046 (viper-setup-ESC-to-escape): New functions.
6047 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6048 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6049
9aff9b38
EZ
60502013-07-07 Eli Zaretskii <eliz@gnu.org>
6051
5165d44a
JB
6052 * simple.el (default-font-height, window-screen-lines):
6053 New functions.
9aff9b38
EZ
6054 (line-move, line-move-partial): Use them instead of
6055 frame-char-height and window-text-height. This makes scrolling
6056 text smoother when the buffer's default face uses a font that is
6057 different from the frame's default font.
6058
1afb1d07
JD
60592013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6060
6061 * files.el (write-file): Do not display confirm dialog for NS,
6062 it does its own dialog, which can't be cancelled (Bug#14578).
6063
23de972a
EZ
60642013-07-06 Eli Zaretskii <eliz@gnu.org>
6065
6066 * simple.el (line-move-partial): Adjust the row returned by
6067 posn-at-point for the current window-vscroll. (Bug#14567)
6068
54a42486
MA
60692013-07-06 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6072 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6073 spaces.
6074
34ada5f4
MR
60752013-07-06 Martin Rudalics <rudalics@gmx.at>
6076
6077 * window.el (window-state-put-stale-windows): New variable.
6078 (window--state-put-2): Save list of windows without matching buffer.
6079 (window-state-put): Remove "bufferless" windows if possible.
6080
11e03d89
JB
60812013-07-06 Juanma Barranquero <lekktu@gmail.com>
6082
6083 * simple.el (alternatives-define): Remove leftover :group keyword.
6084 Tweak docstring.
6085
3504a4be
LL
60862013-07-06 Leo Liu <sdl.web@gmail.com>
6087
6088 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6089 (ido-enable-virtual-buffers): New variable.
6090 (ido-buffer-internal, ido-toggle-virtual-buffers)
6091 (ido-make-buffer-list): Use it.
6092 (ido-exhibit): Support turning on and off virtual buffers
6093 automatically.
6094
61e56e2c
JB
60952013-07-06 Juanma Barranquero <lekktu@gmail.com>
6096
6097 * simple.el (alternatives-define): New macro.
6098
321e1a9c
SM
60992013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * subr.el (read-quoted-char): Use read-key.
6102 (sit-for): Let read-event decode tty input (bug#14782).
6103
d610f6dd
SB
61042013-07-05 Stephen Berman <stephen.berman@gmx.net>
6105
6106 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6107 mode command and externally. Fix various related bugs.
6108 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6109 (todo-delete-file): New command.
6110 (todo-check-file): New function.
6111 (todo-show): Handle external deletion of the file we're trying to
6112 show (bug#14688). Replace called-interactively-p by an optional
6113 prefix argument to avoid problematic interaction with catch form
6114 when byte compiled (bug#14702).
6115 (todo-quit): Handle external deletion of the archive's todo file.
6116 Make sure the buffer that was visiting the archive file is still
6117 live before trying to bury it.
6118 (todo-category-completions): Handle external deletion of any
6119 category completion files.
6120 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6121 of todo files, in case of external deletion.
6122 (todo-add-file): Replace unnecessary setq by let-binding.
6123 (todo-find-archive): Check whether there are any archives.
6124 Replace unnecessary setq by let-binding.
6125 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6126 archive buffer whether or not the archive already exists.
6127 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6128 check if the archive is new; if it is, update list of archives.
6129 (todo-default-todo-file): Allow nil to be a valid value for when
6130 there are no todo files.
6131 (todo-reevaluate-default-file-defcustom): Use corrected definition
6132 of todo-default-todo-file.
6133 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6134 (todo-delete-category, todo-show-categories-table)
6135 (todo-category-number): Clarify comment.
6136 (todo-filter-items): Clarify documentation string.
6137 (todo-show-current-file, todo-display-as-todo-file)
6138 (todo-reset-and-enable-done-separator): Tweak documentation string.
6139 (todo-done-separator): Make separator length window-width, since
6140 bug#2749 is now fixed.
6141
ddbdfd6f
MA
61422013-07-05 Michael Albinus <michael.albinus@gmx.de>
6143
321e1a9c
SM
6144 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6145 Support both "gvfs-monitor-dir" and "inotifywait".
6146 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6147 `tramp-sh-file-notify-process-filter'.
6148 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6149 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6150
96eb829a
LL
61512013-07-05 Leo Liu <sdl.web@gmail.com>
6152
6153 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6154
cf13177e
YM
61552013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6156
6157 * frame.el (display-pixel-height, display-pixel-width)
6158 (display-mm-height, display-mm-width): Mention behavior on
6159 multi-monitor setups in docstrings.
6160 (w32-display-monitor-attributes-list): Declare function.
6161 (display-monitor-attributes-list): Use it.
6162
864c58ca
MA
61632013-07-04 Michael Albinus <michael.albinus@gmx.de>
6164
6165 * filenotify.el: New package.
6166
6167 * autorevert.el (top): Require filenotify.el.
6168 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6169 instead.
6170 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6171 (auto-revert-notify-handler): Use `file-notify-*' functions.
6172
6173 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6174
321e1a9c
SM
6175 * net/tramp.el (tramp-file-name-for-operation):
6176 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6177
6178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6179 for `file-notify-add-watch' and `file-notify-rm-watch'.
6180 (tramp-process-sentinel): Improve trace.
6181 (tramp-sh-handle-file-notify-add-watch)
6182 (tramp-sh-file-notify-process-filter)
6183 (tramp-sh-handle-file-notify-rm-watch)
6184 (tramp-get-remote-inotifywait): New defuns.
6185
96673afe
JL
61862013-07-03 Juri Linkov <juri@jurta.org>
6187
6188 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6189 call of `occur-read-primary-args' to interactive spec.
6190
6191 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6192 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6193
924494f4
MM
61942013-07-03 Matthias Meulien <orontee@gmail.com>
6195
6196 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6197 `Buffer-menu-multi-occur'. Add it to the menu.
6198 (Buffer-menu-mode): Document it in docstring.
6199 (Buffer-menu-multi-occur): New command. (Bug#14673)
6200
56f75efc
DG
62012013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6202
6203 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6204 keywords and built-ins.
6205
9b057d61
GM
62062013-07-03 Glenn Morris <rgm@gnu.org>
6207
208dee4d
GM
6208 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6209
9b057d61
GM
6210 Make info-xref checks case-sensitive by default
6211 * info.el (Info-find-node, Info-find-in-tag-table)
6212 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6213 Add option for exact case matching of nodes.
6214 * info-xref.el (info-xref): New custom group.
6215 (info-xref-case-fold): New option.
6216 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6217
e01aa29c
LL
62182013-07-03 Leo Liu <sdl.web@gmail.com>
6219
6220 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6221
3086ca2e
DG
62222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6223
6224 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6225 middle of block statement initially, lower the depth. Remove
6226 FIXME comment, not longer valid. Remove middle of block statement
6227 detection, no need to do that anymore since we've been using
6228 `ruby-parse-region' here.
6229
a3b49114
JD
62302013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6231
6232 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6233
08e5c823 62342013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6235
6236 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6237
2addf922
JB
62382013-07-01 Juanma Barranquero <lekktu@gmail.com>
6239
6240 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6241 (desktop-restore-in-current-display): New customization option.
6242 (desktop--excluded-frame-parameters): Add `font'.
6243 (desktop--save-frames): Rename from desktop--save-windows.
6244 (desktop--restore-in-this-display-p): New function.
6245 (desktop--make-full-frame): Remove unwanted width/height from
6246 full(width|height) frames.
6247 (desktop--restore-frames): Rename from desktop--restore-windows.
6248 Obey desktop-restore-current-display. Do not delete old frames or
6249 select a new frame unless we were able to restore at least one frame.
6250
ef099a94
MN
62512013-06-30 Michal Nazarewicz <mina86@mina86.com>
6252
6253 * files.el (find-file-noselect): Simplify conditional expression.
6254
6255 * remember.el (remember-append-to-file):
6256 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6257
6258 Add `remember-notes' function to store random notes across Emacs
6259 restarts.
6260 * remember.el (remember-data-file): Add :set callback to affect
6261 notes buffer (if any).
6262 (remember-notes): New command.
6263 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6264 New defcustoms for the `remember-notes' function.
6265 (remember-notes-save-and-bury-buffer): New command.
6266 (remember-notes-mode-map): New variable.
6267 (remember-mode): New minor mode.
6268 (remember-notes--kill-buffer-query): New function.
6269 * startup.el (initial-buffer-choice): Add notes to custom type.
6270
0865d506
EZ
62712013-06-30 Eli Zaretskii <eliz@gnu.org>
6272
0ba54312
EZ
6273 * bindings.el (right-char, left-char): Don't call sit-for, this is
6274 no longer needed. Use arithmetic comparison only for numerical
6275 arguments.
6276
ef099a94
MN
6277 * international/mule-cmds.el (select-safe-coding-system):
6278 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6279
2fae38e5
LMI
62802013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6281
6282 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6283 progression on degenerate tables.
ef099a94 6284 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6285
a47cbd64
JB
62862013-06-30 Juanma Barranquero <lekktu@gmail.com>
6287
6288 Some fixes and improvements for desktop frame restoration.
6289 It is still experimental and disabled by default.
6290 * desktop.el (desktop--save-windows): Put the selected frame at
6291 the head of the list.
6292 (desktop--make-full-frame): New function.
6293 (desktop--restore-windows): Try to re-select the frame that was
6294 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6295 just show an error message and continue. Set up maximized frames
6296 so they have default non-maximized dimensions.
a47cbd64 6297
6dbafa30
DG
62982013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6299
ef099a94
MN
6300 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6301 Don't start heredoc inside a string or comment.
6dbafa30 6302
4c672a0f
EZ
63032013-06-29 Eli Zaretskii <eliz@gnu.org>
6304
6305 * bindings.el (visual-order-cursor-movement): New defcustom.
6306 (right-char, left-char): Provide visual-order cursor motion by
6307 calling move-point-visually. Update the doc strings.
6308
50960f36
KH
63092013-06-28 Kenichi Handa <handa@gnu.org>
6310
6311 * international/mule.el (define-coding-system): New coding system
6312 properties :inhibit-null-byte-detection,
6313 :inhibit-iso-escape-detection, and :prefer-utf-8.
6314 (set-buffer-file-coding-system): If :charset-list property of
6315 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6316 appropriate for setting.
6317
c1ea3abf
JB
6318 * international/mule-cmds.el (select-safe-coding-system):
6319 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6320 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6321
6322 * international/mule-conf.el (prefer-utf-8): New coding system.
6323 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6324 files.
6325
75dbaf9d
IK
63262013-06-28 Ivan Kanis <ivan@kanis.fr>
6327
eadb6068
IK
6328 * net/shr.el (shr-render-region): New function.
6329
75dbaf9d
IK
6330 * net/eww.el: Autoload `eww-browse-url'.
6331
9ea5cf9f
DG
63322013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6333
c1ea3abf
JB
6334 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6335 Adapt to `package-desc-version' being a list.
6336 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6337 archive element.
6338
39c0e36f
JB
63392013-06-27 Juanma Barranquero <lekktu@gmail.com>
6340
6341 New experimental feature to save&restore window and frame setup.
6342 * desktop.el (desktop-save-windows): New defcustom.
6343 (desktop--saved-states): New var.
6344 (desktop--excluded-frame-parameters): New defconst.
6345 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6346 (desktop--restore-windows, desktop--save-windows): New functions.
6347 (desktop-save): Call `desktop--save-windows'.
6348 (desktop-read): Call `desktop--restore-windows'.
6349
7f13406b
LMI
63502013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351
ef099a94 6352 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6353
1e072639
SB
63542013-06-27 Stephen Berman <stephen.berman@gmx.net>
6355
6356 * info.el (Info-try-follow-nearest-node): Move search for footnote
6357 above search for node name to prevent missing a footnote (bug#14717).
6358
f3e2cbde
SB
63592013-06-27 Stephen Berman <stephen.berman@gmx.net>
6360
6361 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6362
99906aa0
LL
63632013-06-27 Leo Liu <sdl.web@gmail.com>
6364
6365 * net/eww.el (eww-read-bookmarks): Check file size.
6366
539f75f4
SM
63672013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6368
6369 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6370 advice--pending if newdef is nil or an autoload (bug#13820).
6371 (advice-mapc): New function.
6372
843571cb
LMI
63732013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6374
6375 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6376 probably.
23a75d7f 6377 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6378 (eww-add-bookmark): New command.
6379 (eww-bookmark-mode): New mode and commands.
a285ce99 6380 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6381 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6382
f2136e1e
GM
63832013-06-26 Glenn Morris <rgm@gnu.org>
6384
eab35f39
GM
6385 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6386 (hfy-size): Handle ttys. (Bug#14668)
6387
f2136e1e
GM
6388 * info-xref.el: Update for Texinfo 5 change in *note format.
6389 (info-xref-node-re, info-xref-note-re): New constants.
6390 (info-xref-check-buffer): Use info-xref-note-re.
6391
a49ff80c
SM
63922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6393
a343d218
SM
6394 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6395
a49ff80c
SM
6396 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6397 nil terminate the loop (bug#14718).
6398
8308f184
LMI
63992013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6400
6401 * net/eww.el: Rework history traversal. When going forward/back,
6402 put these actions into the history, too, so that they can be
6403 replayed.
26bf2b82 6404 (eww-render): Move the history reset to the correct buffer.
8308f184 6405
ec64c273
JL
64062013-06-25 Juri Linkov <juri@jurta.org>
6407
6408 * files-x.el (modify-dir-local-variable): Change the header comment
6409 in the file with directory local variables. (Bug#14692)
6410
e080a9d7
JL
6411 * files-x.el (read-file-local-variable-value): Add `default'.
6412 (Bug#14710)
6413
bfbc93a1
IK
64142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6415
6416 * net/eww.el (eww-make-unique-file-name): Create a unique file
6417 name before saving to entering `y' accidentally asynchronously.
6418
64192013-06-25 Ivan Kanis <ivan@kanis.fr>
6420
6421 * net/eww.el (eww-download): New command and keystroke.
6422
16f74f10
LMI
64232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6424
a49ff80c 6425 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6426
6427 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6428 be more consistent with Info and dired.
6429
6430 * net/eww.el (eww-mode-map): Ditto.
6431
12059709
SM
64322013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6435 packages from archives.
6436 (package-archive-contents): Change format; include obsolete packages.
6437 (package-desc): Use `dir' to mark builtin packages.
6438 (package--from-builtin): Set the `dir' field to `builtin'.
6439 (generated-autoload-file, version-control): Declare.
6440 (package-compute-transaction): Change first arg and return value to be
6441 lists of package-descs. Adjust to new package-archive-contents format.
6442 (package--add-to-archive-contents): Adjust to new
6443 package-archive-contents format.
6444 (package-download-transaction): Arg is now a list of package-descs.
6445 (package-install): If `pkg' is a package name, pass it as
6446 a requirement, so it is subject to the usual (e.g. disabled) checks.
6447 (describe-package): Accept package-desc as well.
6448 (describe-package-1): Describe a specific package-desc. Add links to
6449 other package-descs for the same package name.
6450 (package-menu-describe-package): Pass the actual package-desc.
6451 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6452 works correctly.
6453 (package-desc-status): New function.
6454 (package-menu--refresh): New function, extracted
6455 from package-menu--generate.
6456 (package-menu--generate): Use it.
6457 (package-delete): Update package-alist.
6458 (package-menu-execute): Don't call package-initialize.
6459
6460 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6461 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6462 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6463 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6464 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6465 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6466
8bbdea0f
MR
64672013-06-25 Martin Rudalics <rudalics@gmx.at>
6468
6469 * window.el (window--state-get-1): Workaround for bug#14527.
6470 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6471
e82b0991
LMI
64722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6473
6474 * net/eww.el (eww-back-url): Implement the history by stashing all
6475 the data into a list.
d3f0f918 6476 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6477
c763842b
SM
64782013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6481 for values and use read--expression for expressions (bug#14710).
6482 (read-file-local-variable): Avoid setq.
6483 (read-file-local-variable-mode): Use minor-mode-list.
6484
bceff189
RW
64852013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6486
864c58ca 6487 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6488 for DOI URLs.
6489
45f431c6
RW
64902013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6491
864c58ca 6492 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6493 Update imenu-support when dialect changes.
6494
f42d8237
LL
64952013-06-25 Leo Liu <sdl.web@gmail.com>
6496
6497 * ido.el (ido-read-internal): Allow forward slash on windows.
6498
be549ce6
LMI
64992013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6500
6501 * net/eww.el (eww): Start of strings is \\`, not ^.
6502
71d4c19d
IK
65032013-06-24 Ivan Kanis <ivan@kanis.fr>
6504
5196f88a
IK
6505 * net/shr.el (shr-browse-url): Fix interactive spec.
6506
71d4c19d
IK
6507 * net/eww.el (eww): Add a trailing slash to domain names.
6508
ae36ca55
JB
65092013-06-24 Juanma Barranquero <lekktu@gmail.com>
6510
6511 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6512
0ebd92a3
LMI
65132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6514
bdaa086b
LMI
6515 * net/shr.el (shr-browse-url): Use an external browser if given a
6516 prefix.
6517
c763842b 6518 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6519
b89fc156
IK
65202013-06-24 Ivan Kanis <ivan@kanis.fr>
6521
6522 * net/eww.el (eww): Work more correctly for file: URLs.
6523 (eww-detect-charset): Allow quoted charsets.
6524 (eww-yank-page-url): New command and keystroke.
6525
18eb4bca
DU
65262013-06-24 Daiki Ueno <ueno@gnu.org>
6527
6528 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6529 file name of gpg executable.
6530 (epg-context-program): New function.
6531 (epg-context-home-directory): New function.
6532 (epg-context-set-program): New function.
6533 (epg-context-set-home-directory): New function.
6534 (epg--start): Use `epg-context-program' instead of
6535 'epg-gpg-program'.
6536 (epg--list-keys-1): Likewise.
6537
6c6268c8
LL
65382013-06-24 Leo Liu <sdl.web@gmail.com>
6539
6540 * ido.el (ido-read-internal): Fix bug#14620.
6541
5e400cb3
JB
65422013-06-23 Juanma Barranquero <lekktu@gmail.com>
6543
6544 * faces.el (face-documentation): Simplify.
6545 (read-face-attribute, tty-find-type, x-resolve-font-name):
6546 Use `string-match-p'.
6547 (list-faces-display): Use `string-match-p'. Simplify.
6548 (face-spec-recalc): Check face to avoid face alias loops.
6549 (read-color): Use `string-match-p' and non-capturing parenthesis.
6550
f3f9606c
LMI
65512013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6552
6553 * net/shr.el (shr-rescale-image): Use the new
6554 :max-width/:max-height functionality.
6555
a3ca09b9
IK
65562013-06-23 Ivan Kanis <ivan@kanis.fr>
6557
6558 * net/eww.el (eww-search-prefix): New variable.
6559 (eww): Use it.
f865b474
IK
6560 (eww-external-browser): New variable.
6561 (eww-mode-map): New keystroke.
6562 (eww-browse-with-external-browser): New command.
a3ca09b9 6563
e854cfc7
IK
6564 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6565
18bb9e21
JB
65662013-06-23 Juanma Barranquero <lekktu@gmail.com>
6567
6568 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6569 Don't skip aligning the next header field when padding is 0;
6570 otherwise, field width is not respected unless the title is as
6571 wide as the field.
6572
5b165ade
SM
65732013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * emacs-lisp/package.el (package-el-version): Remove.
6576 (package-process-define-package): Fix inf-loop.
6577 (package-install): Allow symbols as arguments again.
6578
12adebe9
DG
65792013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6582 add some more keyword-like methods.
6583 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6584
388573ee
JB
65852013-06-22 Juanma Barranquero <lekktu@gmail.com>
6586
6587 * bs.el (bs-buffer-show-mark): Make defvar-local.
6588 (bs-mode): Use setq-local.
6589
6590 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6591 (emacs-lock--try-unlocking): Make defvar-local.
6592
4582a01c 65932013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6594
2663dd23
GM
6595 * play/cookie1.el (cookie-apropos): Minor simplification.
6596
3d94f3ad
GM
6597 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6598
f72e2fdb
DG
65992013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6600
6601 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6602 `regexp-opt', it breaks the build during dumping.
6603
73eab938
DG
66042013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6605
c763842b
SM
6606 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6607 Highlight keyword-like methods on Kernel and Module with
73eab938 6608 font-lock-builtin-face.
5cf8176d
DG
6609 (auto-mode-alist): Consolidate different entries into one regexp
6610 and add more *file-s.
73eab938 6611
d26255f6
SB
66122013-06-21 Stephen Berman <stephen.berman@gmx.net>
6613
6614 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6615
6616 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6617 (diary-entry): Use it in the action of this button type instead of
6618 diary-goto-entry.
6619
6620 * calendar/todo-mode.el: New version.
6621 (todo-add-category): Append new category to end of file and give
6622 it the highest number, instead of putting it at the beginning and
6623 giving it 0. Incorporate noninteractive functionality.
6624 (todo-forward-category): Adapt to 1-based category numbering.
6625 Allow skipping over archived categories.
6626 (todo-backward-category): Derive from todo-forward-category.
6627 (todo-backward-item, todo-forward-item): Make noninteractive and
6628 delegate interactive part to new commands. Make sensitive to done items.
6629 (todo-categories): Make value an alist of category names and
6630 vectors of item counts.
6631 (todo-category-beg): Make a defconst.
6632 (todo-category-number): Use 1 instead of 0 as initial value.
6633 (todo-category-select): Make sensitive to overlays, optional item
6634 highlighting and done items.
6635 (todo-delete-item): Make sensitive to overlays and marked and done items.
6636 (todo-edit-item): Make sensitive to overlays and editing of
6637 date/time header optional. Add format checks.
6638 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6639 no-op if point is not on an item. Advertise using todo-edit-quit.
6640 (todo-edit-mode): Make sensitive to new format, font-locking, and
6641 multiple todo files.
6642 (todo-insert-item, todo-insert-item-here): Derive from
6643 todo-basic-insert-item and extend functionality.
6644 (todo-item-end, todo-item-start): Make sensitive to done items.
6645 (todo-item-string): Don't return text properties. Restore point.
6646 (todo-jump-to-category): Make sensitive to multiple todo files and
6647 todo archives. Use extended category completion.
6648 (todo-lower-item, todo-raise-item): Rename to *-priority and
6649 derive from todo-set-item-priority.
6650 (todo-mode): Derive from special-mode. Make sensitive to new
6651 format, font-locking and multiple todo files. Make read-only.
6652 (todo-mode-map): Don't suppress digit keys, so they can supply
6653 prefix arguments. Add many new key bindings.
6654 (todo-prefix): Insert as an overlay instead of file text.
6655 Change semantics from diary date expression to purely visual mark.
6656 (todo-print): Rename to todo-print-buffer. Make buffer display
6657 features printable. Remove option to restrict number of items
6658 printed. Add option to print to file.
6659 (todo-print-function): Rename to todo-print-buffer-function.
6660 (todo-quit): Extend to handle exiting new todo modes.
6661 (todo-remove-item): Make sensitive to overlays.
6662 (todo-save): Extend to buffers of filtered items.
6663 (todo-show): Make sensitive to done items, multiple todo files and
6664 new todo modes. Offer to convert legacy todo file before creating
6665 first new todo file.
6666 (todo-show-priorities): Rename to todo-top-priorities.
6667 Change semantics of value 0.
6668 (todo-top-priorities): Rename to todo-filter-top-priorities,
6669 derive from todo-filter-items and extend functionality.
6670 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6671 and extend functionality to other types of filtered items.
6672 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6673 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6674 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6675 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6676 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6677 (todo-edit-mode-hook, todo-entry-prefix-function)
6678 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6679 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6680 (todo-initials, todo-insert-threshold, todo-item-string-start)
6681 (todo-line-string, todo-menu, todo-mode-hook)
6682 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6683 (todo-print-priorities, todo-remove-separator)
6684 (todo-save-top-priorities-too, todo-string-count-lines)
6685 (todo-string-multiline-p, todo-time-string-format)
6686 (todo-tmp-buffer-name): Remove.
6687 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6688 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6689 (todo-edit-category-diary-inclusion)
6690 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6691 (todo-edit-file, todo-edit-item-date-day)
6692 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6693 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6694 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6695 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6696 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6697 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6698 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6699 (todo-filter-top-priorities-multifile, todo-find-archive)
6700 (todo-find-filtered-items-file, todo-go-to-source-item)
6701 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6702 (todo-jump-to-archive-category, todo-lower-category)
6703 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6704 (todo-move-category, todo-move-item, todo-next-button)
6705 (todo-next-item, todo-padded-string, todo-powerset)
6706 (todo-previous-button, todo-previous-item)
6707 (todo-print-buffer-to-file, todo-raise-category)
6708 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6709 (todo-set-category-number, todo-set-item-priority)
6710 (todo-set-top-priorities-in-category)
6711 (todo-set-top-priorities-in-file, todo-show-categories-table)
6712 (todo-sort-categories-alphabetically-or-numerically)
6713 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6714 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6715 (todo-toggle-item-header, todo-toggle-item-highlighting)
6716 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6717 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6718 (todo-unarchive-items, todo-unmark-category): New commands.
6719 (todo-absolute-file-name, todo-add-to-buffer-list)
6720 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6721 (todo-basic-insert-item, todo-category-completions)
6722 (todo-category-number, todo-category-string-matcher-1)
6723 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6724 (todo-check-format, todo-clear-matches)
6725 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6726 (todo-current-category, todo-date-string-matcher)
6727 (todo-define-insertion-command, todo-diary-expired-matcher)
6728 (todo-diary-goto-entry, todo-diary-item-p)
6729 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6730 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6731 (todo-done-item-section-p, todo-done-separator)
6732 (todo-done-string-matcher, todo-files, todo-filter-items)
6733 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6734 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6735 (todo-insert-category-line, todo-insert-item-from-calendar)
6736 (todo-insert-sort-button, todo-insert-with-overlays)
6737 (todo-insertion-command-name, todo-insertion-key-bindings)
6738 (todo-label-to-key, todo-longest-category-name-length)
6739 (todo-make-categories-list, todo-mode-external-set)
6740 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6741 (todo-modes-set-3, todo-multiple-filter-files)
6742 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6743 (todo-read-category, todo-read-date, todo-read-dayname)
6744 (todo-read-file-name, todo-read-time)
6745 (todo-reevaluate-category-completions-files-defcustom)
6746 (todo-reevaluate-default-file-defcustom)
6747 (todo-reevaluate-filelist-defcustoms)
6748 (todo-reevaluate-filter-files-defcustom)
6749 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6750 (todo-reset-done-separator, todo-reset-done-separator-string)
6751 (todo-reset-done-string, todo-reset-global-current-todo-file)
6752 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6753 (todo-reset-prefix, todo-set-categories)
6754 (todo-set-date-from-calendar, todo-set-show-current-file)
6755 (todo-set-top-priorities, todo-short-file-name)
6756 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6757 (todo-total-item-counts, todo-update-buffer-list)
6758 (todo-update-categories-display, todo-update-categories-sexp)
6759 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6760 New functions.
6761 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6762 New major modes.
6763 (todo-categories, todo-display, todo-edit, todo-faces)
6764 (todo-filtered): New defgroups.
6765 (todo-archived-only, todo-button, todo-category-string, todo-date)
6766 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6767 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6768 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6769 (todo-add-item-if-new-category, todo-always-add-time-string)
6770 (todo-categories-align, todo-categories-archived-label)
6771 (todo-categories-category-label, todo-categories-diary-label)
6772 (todo-categories-done-label, todo-categories-number-separator)
6773 (todo-categories-todo-label, todo-categories-totals-label)
6774 (todo-category-completions-files, todo-completion-ignore-case)
6775 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6776 (todo-done-separator-string, todo-done-string)
6777 (todo-files-function, todo-filter-done-items, todo-filter-files)
6778 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6779 (todo-initial-category, todo-initial-file, todo-item-mark)
6780 (todo-legacy-date-time-regexp, todo-mode-line-function)
6781 (todo-nondiary-marker, todo-number-prefix)
6782 (todo-print-buffer-function, todo-show-current-file)
6783 (todo-show-done-only, todo-show-first, todo-show-with-done)
6784 (todo-skip-archived-categories, todo-top-priorities-overrides)
6785 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6786 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6787 New defcustoms.
6788 (todo-category-done, todo-date-pattern, todo-date-string-start)
6789 (todo-diary-items-buffer, todo-done-string-start)
6790 (todo-filtered-items-buffer, todo-item-start)
6791 (todo-month-abbrev-array, todo-month-name-array)
6792 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6793 (todo-top-priorities-buffer): New defconsts.
6794 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6795 (todo-categories-with-marks, todo-category-string-face)
6796 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6797 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6798 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6799 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6800 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6801 (todo-font-lock-keywords, todo-global-current-todo-file)
6802 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6803 (todo-insertion-commands-args)
6804 (todo-insertion-commands-args-genlist)
6805 (todo-insertion-commands-names, todo-insertion-map)
6806 (todo-key-bindings-t, todo-key-bindings-t+a)
6807 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6808 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6809 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6810 (todo-visited): New variables.
6811
cad5d1cb
GM
68122013-06-21 Glenn Morris <rgm@gnu.org>
6813
6814 * play/cookie1.el (cookie-apropos): Add optional display argument.
6815 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6816 (psychoanalyze-pinhead): Use cookie-doctor.
6817
9e277302
JB
68182013-06-21 Juanma Barranquero <lekktu@gmail.com>
6819
6820 * emacs-lisp/package.el (tar-get-file-descriptor)
6821 (tar--extract): Declare.
6822
c5b0993e
EW
68232013-06-21 Eduard Wiebe <usenet@pusto.de>
6824
6825 Extend flymake's warning predicate to be a function (bug#14217).
6826 * progmodes/flymake.el (flymake-warning-predicate): New.
6827 (flymake-parse-line): Use it.
6828 (flymake-warning-re): Make obsolete alias to
6829 `flymake-warning-predicate'.
6830
a7d2d465
SM
68312013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6834 (package-obsolete-list): Remove.
6835 (package-activate): Remove min-version argument. Add `force' argument.
6836 Adjust to new package-alist format.
6837 (package-mark-obsolete): Remove.
6838 (package-unpack): Force reload of the package's autoloads.
6839 (package-installed-p): Check builtins if the installed package is not
6840 recent enough.
6841 (package-initialize): Don't reset package-obsolete-list.
6842 Don't specify which package version to activate.
6843 (package-process-define-package, describe-package-1)
6844 (package-menu--generate): Adjust to new package-alist format.
6845
cedf5c9d
JB
68462013-06-21 Juanma Barranquero <lekktu@gmail.com>
6847
6848 * allout-widgets.el (allout-widgets-mode-off)
6849 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6850 (allout-widgets-post-command-business)
6851 (allout-widgets-after-copy-or-kill-function)
6852 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6853 (allout-decorate-item-and-context)
6854 (allout-graphics-modification-handler): Fix typos in docstrings.
6855 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6856
6857 * cmuscheme.el (scheme-start-file): Doc fix.
6858 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6859 (scheme-input-filter): Use `string-match-p'.
6860
6861 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6862
6863 * dired-x.el: Use Dired consistently in docstrings.
6864
6865 * dired.el: Use Dired consistently in docstrings.
6866 (dired-readin, dired-mode): Use `setq-local'.
6867 (dired-switches-alist): Make defvar-local.
6868 (dired-buffers-for-dir): Use `zerop'.
6869 (dired-safe-switches-p, dired-switches-escape-p)
6870 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6871 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6872 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6873 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6874 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6875 (dired-toggle-marks, dired-mark-files-containing-regexp)
6876 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6877 (dired-flag-auto-save-files, dired-flag-backup-files):
6878 Use `looking-at-p'.
6879 (dired-mark-files-regexp, dired-build-subdir-alist):
6880 Use `string-match-p', `looking-at-p'.
6881
6882 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6883 (direct-print-region-helper): Use `string-match-p'.
6884
aed838b5
LL
68852013-06-21 Leo Liu <sdl.web@gmail.com>
6886
cedf5c9d
JB
6887 * comint.el (comint-redirect-results-list-from-process):
6888 Fix infinite loop.
aed838b5 6889
d80a808f
LMI
68902013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6891
6892 * net/eww.el (eww-update-header-line-format): Quote % characters.
6893
e7a526e3
GM
68942013-06-21 Glenn Morris <rgm@gnu.org>
6895
6896 * play/cookie1.el (cookie): New custom group.
6897 (cookie-file): New option.
6898 (cookie-check-file): New function.
6899 (cookie): Make it interactive. Make start and end messages optional.
6900 Interactively, display the result. Default to cookie-file.
6901 (cookie-insert): Default to cookie-file.
6902 (cookie-snarf): Make start and end messages optional.
6903 Default to cookie-file. Use with-temp-buffer.
6904 (cookie-read): Rename from read-cookie.
6905 Make start and end messages optional. Default to cookie-file.
6906 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6907 Do not autoload it.
e7a526e3
GM
6908 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6909 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6910
62efb35e
LL
69112013-06-21 Leo Liu <sdl.web@gmail.com>
6912
6913 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6914
21e3f963
GM
69152013-06-21 Glenn Morris <rgm@gnu.org>
6916
6917 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6918
fd846ab4
SM
69192013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6920 Daniel Hackney <dan@haxney.org>
6921
6922 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6923 Consolidate the single-file vs tarball code.
6924 (package-desc-suffix): New function.
6925 (package-desc-full-name): Don't bother inlining it.
6926 (package-load-descriptor): Return the new package-desc.
6927 (package-mark-obsolete): Remove unused arg `package'.
6928 (package-unpack): Make it work for single files as well.
6929 Make it update package-alist.
6930 (package--make-autoloads-and-stuff): Rename from
6931 package--make-autoloads-and-compile. Don't compile any more.
6932 (package--compile): New function.
6933 (package-generate-description-file): New function, extracted from
6934 package-unpack-single.
6935 (package-unpack-single): Remove.
6936 (package--with-work-buffer): Add indentation and debugging info.
6937 (package-download-single): Remove.
6938 (package-install-from-archive): Rename from package-download-tar, make
6939 it take a pkg-desc, and make it work for single files as well.
6940 (package-download-transaction): Simplify.
6941 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6942 external tar program.
6943 (package-install-from-buffer): Remove `pkg-desc' argument.
6944 Use package-tar-file-info for tar-mode buffers.
6945 (package-install-file): Simplify accordingly.
6946 (package-archive-base): Change to take a pkg-desc.
6947 * tar-mode.el (tar--check-descriptor): New function, extracted from
6948 tar-get-descriptor.
6949 (tar-get-descriptor): Use it.
6950 (tar-get-file-descriptor): New function.
6951 (tar--extract): New function, extracted from tar-extract.
6952 (tar--extract): Use it.
6953 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6954 case the summary uses non-ascii. Adjust to new calling convention of
6955 package-tar-file-info.
6956
b7deae5e
LL
69572013-06-21 Leo Liu <sdl.web@gmail.com>
6958
fd846ab4
SM
6959 * comint.el (comint-redirect-results-list-from-process):
6960 Fix random delay. (Bug#14681)
b7deae5e 6961
7a65a0b2
JB
69622013-06-21 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * profiler.el (profiler-format-number): Use log, not log10.
6965
1493c2af
JB
69662013-06-20 Juanma Barranquero <lekktu@gmail.com>
6967
6968 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6969
aff6371e
SM
69702013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6973 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6974 yet available.
6975 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6976 (AUTOGENEL): ... here.
6977 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6978 (cl--defsubst-expand): Use it.
6979
89561f72
PE
69802013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6981
6982 * subr.el (log10): Move here from C code, and declare as obsolete.
6983 All uses of (log10 X) replaced with (log X 10).
6984
47199123
JB
69852013-06-20 Juanma Barranquero <lekktu@gmail.com>
6986
6987 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6988 Declare with `defvar-local'.
6989 (tabulated-list-use-header-line, tabulated-list-entries)
6990 (tabulated-list-padding, tabulated-list-printer)
6991 (tabulated-list-sort-key): Declare with `defvar-local'.
6992 (tabulated-list-init-header, tabulated-list-print-fake-header):
6993 Use `setq-local'.
6994
4a172eab
MA
69952013-06-20 Michael Albinus <michael.albinus@gmx.de>
6996
47199123
JB
6997 * arc-mode.el (archive-mode): Add `archive-write-file' to
6998 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6999
5fc0acc0
JB
70002013-06-20 Juanma Barranquero <lekktu@gmail.com>
7001
d5b27848
JB
7002 * cus-edit.el (custom-commands): Fix typos.
7003 (custom-display): Fix tooltip text.
7004 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7005 Fix typos in docstrings.
7006 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7007 (custom-unlispify-menu-entry, custom-magic-value-create)
7008 (custom-add-see-also, custom-group-value-create): Use ?\s.
7009 (custom-guess-type, customize-apropos, editable-field)
7010 (custom-face-value-create): Use `string-match-p'.
7011 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7012
7013 * custom.el (custom-load-symbol): Use `string-match-p'.
7014
a5c581d8
JB
7015 * ansi-color.el: Convert to lexical binding.
7016 (ansi-colors): Fix URL.
7017 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7018 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7019 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7020
970ad972
G
70212013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7022
7023 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7024
7025 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7026
70272013-06-19 Tom Tromey <tromey@redhat.com>
7028
7029 * net/eww.el (eww-top-url): Remove.
7030 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7031 (eww-render): Set new variables. Don't set eww-top-url.
7032 (eww-handle-link): Handle "prev", "home", and "contents".
7033 Downcase the rel text.
7034 (eww-top-url): Choose best top URL.
7035
70362013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7037
7038 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7039 relying in widget.el. Using widget.el leads to too many
7040 user interface inconsistencies.
7041 (eww-self-insert): Implement entering commands in text fields.
7042 (eww-process-text-input): New function to make text input field editing
7043 work.
7044 (eww-submit): Rewrite to use the new-style form methods.
7045 (eww-select-display): Display the correct selected item.
7046 (eww-change-select): Implement changing the select value.
7047 (eww-toggle-checkbox): Implement radio/checkboxes.
7048 (eww-update-field): Fix compilation error.
7049 (eww-tag-textarea): Implement <textarea>.
7050
7051 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7052 we don't shadow mode-specific bindings.
7053
7054 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7055 nothing to push.
7056
7057 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7058
4582a01c 70592013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7060
7061 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7062
15b263dc
MA
70632013-06-19 Michael Albinus <michael.albinus@gmx.de>
7064
7065 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7066 not needed.
7067
7068 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7069
8f5297f7
LMI
70702013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7071
7072 * net/browse-url.el (browse-url-browser-function):
7073 `eww-browse-url' has the right calling signature, `eww' does not.
7074
011c4552
GM
70752013-06-19 Glenn Morris <rgm@gnu.org>
7076
2285bd27
GM
7077 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7078 Only eval autoloaded macros.
7079 (byte-compile-autoload): Only give the macro warning for macros.
7080
1d653303
GM
7081 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7082 (ps-underlined-faces): Declare.
7083
bdd779ec
GM
7084 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7085 (speedbar-add-supported-extension): Declare.
7086
011c4552
GM
7087 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7088 Don't include a date stamp in the header of the generated file;
7089 it leads to needless differences between output files.
7090
e59dfb0e
MA
70912013-06-19 Michael Albinus <michael.albinus@gmx.de>
7092
c763842b
SM
7093 * net/secrets.el (secrets-struct-secret-content-type):
7094 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7095 Some servers do not offer introspection.
e59dfb0e 7096
102626e2
SM
70972013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * electric.el (electric-pair-mode): Improve interaction with
7100 electric-layout-mode.
7101 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7102 (electric-pair-syntax): Use text-mode-syntax-table in comments
7103 and strings.
7104 (electric-pair--insert): New function.
7105 (electric-pair-post-self-insert-function): Use it and
7106 electric--after-char-pos.
7107
ad528125
LL
71082013-06-19 Leo Liu <sdl.web@gmail.com>
7109
7110 * progmodes/octave.el (octave-help): Fix regexp.
7111
924d6997
G
71122013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113
7114 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7115 (shr-table-horizontal-line): Allow nil as a value, and change the
7116 default.
7117 (shr-insert-table-ruler): Respect the nil value.
7118
71192013-06-18 Tom Tromey <tromey@barimba>
7120
7121 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7122 New defvars.
7123 (eww-open-file): New defun.
7124 (eww-render): Initialize new variables.
7125 (eww-display-html): Handle "link" and "a".
7126 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7127 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7128 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7129 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7130 New defuns.
924d6997 7131
d1bbba4f
DG
71322013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7133
7134 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7135 Distinguish ternary operator tokens from slash symbol and slash
7136 char literal.
7137
14dd22d2
JB
71382013-06-18 Juanma Barranquero <lekktu@gmail.com>
7139
7140 Convert symbol prettification into minor mode and global minor mode.
7141
7142 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7143 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7144 (prettify-symbols--keywords): Rename from
7145 `prog-prettify-symbols-alist' and make a local defvar.
7146 (prettify-symbols--compose-symbol): Rename from
7147 `prog--prettify-font-lock-compose-symbol'.
7148 (prettify-symbols--make-keywords): Rename from
7149 `prog-prettify-font-lock-symbols-keywords' and simplify.
7150 (prog-prettify-install): Remove.
7151 (prettify-symbols-mode): New minor mode, based on
7152 `prog-prettify-install'.
7153 (turn-on-prettify-symbols-mode): New function.
7154 (global-prettify-symbols-mode): New globalized minor mode.
7155
7156 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7157 * progmodes/cfengine.el (cfengine3-mode):
7158 * progmodes/perl-mode.el (perl-mode): Don't call
7159 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7160
292c880c
JL
71612013-06-18 Juri Linkov <juri@jurta.org>
7162
7163 * files-x.el (modify-file-local-variable-message): New function.
7164 (modify-file-local-variable)
7165 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7166 and call `modify-file-local-variable-message' when it's non-nil.
7167 (add-file-local-variable, delete-file-local-variable)
7168 (add-file-local-variable-prop-line)
7169 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7170 and use it. (Bug#9820)
7171
0950aa27
JL
71722013-06-18 Juri Linkov <juri@jurta.org>
7173
7174 * emulation/vi.el (vi-shell-op):
7175 * emulation/vip.el (vip-execute-com, ex-command):
7176 * emulation/viper-cmd.el (viper-exec-bang):
7177 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7178 the call of `shell-command-on-region'. (Bug#14637)
7179
7180 * simple.el (shell-command-on-region): Doc fix.
7181
8fbcca16
SM
71822013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7185 (bug#14633).
7186
dd7426ea
GM
71872013-06-18 Glenn Morris <rgm@gnu.org>
7188
4ba54f7d
GM
7189 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7190
dd7426ea
GM
7191 * newcomment.el (comment-search-forward, comment-search-backward):
7192 Doc fix. (Bug#14376)
7193
58aa805b
JB
71942013-06-18 Juanma Barranquero <lekktu@gmail.com>
7195
7196 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7197 (buffer-face-mode-invoke): Doc fix.
7198
9a08a617
MM
71992013-06-18 Matthias Meulien <orontee@gmail.com>
7200
7201 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7202 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7203
f2f426ca
GM
72042013-06-18 Glenn Morris <rgm@gnu.org>
7205
9445f99b
GM
7206 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7207 Replace obsolete function generic-make-keywords with its expansion.
7208
e0df2d14
GM
7209 * progmodes/python.el (ffap-alist): Declare.
7210
f2f426ca
GM
7211 * textmodes/reftex.el (bibtex-mode-map): Declare.
7212
f7f9a720
SM
72132013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7216 (package-unpack, package-unpack-single): Return the pkg-dir.
7217 (package-download-transaction): Use it to update package-alist.
7218
57ff04e0
LMI
72192013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220
7221 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7222 possible choice.
7223
c048c022
JL
72242013-06-17 Juri Linkov <juri@jurta.org>
7225
7226 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7227
b5bcaee5
DG
72282013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7229
a020afb9
JB
7230 * emacs-lisp/package.el (package-load-descriptor):
7231 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7232 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7233
551e07e5
JB
72342013-06-17 Juanma Barranquero <lekktu@gmail.com>
7235
7236 * startup.el (command-line): Expand package name returned by
7237 `package--description-file' (bug#14639).
7238
d363bffb
DG
72392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7240
7241 * emacs-lisp/package.el (package-load-descriptor): Do not call
7242 `emacs-lisp-mode', just use its syntax table.
7243
f612933b
JB
72442013-06-17 Juanma Barranquero <lekktu@gmail.com>
7245
7246 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7247 `font-lock-extra-managed-props' if any prettifying keyword is added.
7248 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7249 (prog-mode): Use `setq-local'.
7250
db3b7db5
SM
72512013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * international/characters.el (standard-case-table): Set syntax of ?»
7254 and ?« to punctuation.
7255
f3d674df
JB
72562013-06-16 Juanma Barranquero <lekktu@gmail.com>
7257
7258 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7259 Save relevant match data before calling `syntax-ppss' (bug#14595).
7260
31489a32
JL
72612013-06-15 Juri Linkov <juri@jurta.org>
7262
7263 * files-x.el (modify-file-local-variable-prop-line): Add local
7264 variables to the end of the existing comment on the first line.
7265 Use `file-auto-mode-skip' to skip interpreter magic line,
7266 and also skip XML declaration.
7267
66bd25ab
SM
72682013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7269
7270 * startup.el (package--builtin-versions): New var.
7271 (package-subdirectory-regexp): Remove.
7272 (package--description-file): Hard code its value instead.
7273
7274 * emacs-lisp/package.el: Don't activate packages older than builtin.
7275 (package-obsolete-list): Rename from package-obsolete-alist, and make
7276 it into a simple list of package-desc.
7277 (package-strip-version): Remove.
7278 (package-built-in-p): Use package--builtin-versions.
7279 (package-mark-obsolete): Simplify.
7280 (package-process-define-package): Mark it obsolete if older than the
7281 builtin version.
7282 (package-handle-response): Use line-end-position.
7283 (package-read-archive-contents, package--download-one-archive):
7284 Simplify.
7285 (package--add-to-archive-contents): Skip if older than the builtin or
7286 installed version.
7287 (package-menu-describe-package): Fix last change.
7288 (package-list-unversioned): New var.
7289 (package-menu--generate): Use it.
7290
7291 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7292 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7293 (autoload-builtin-package-versions): New variable.
7294 (autoload-generate-file-autoloads): Use them.
7295 Remove the list of autoloaded functions/macros from the
7296 (autoload...) comments.
7297
7298 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7299
9583ec36
EZ
73002013-06-15 Eli Zaretskii <eliz@gnu.org>
7301
7302 * simple.el (line-move-partial): Don't jump to the next screen
7303 line as soon as it becomes visible. Instead, continue enlarging
7304 the vscroll until the portion of a tall screen line that's left on
7305 display is about the height of the frame's default font.
7306 (Bug#14567)
7307
f0100d8a
GM
73082013-06-15 Glenn Morris <rgm@gnu.org>
7309
b86a85ca
GM
7310 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7311 compilation-error-regexp-alist void, or local while let-bound.
7312
f0100d8a
GM
7313 * progmodes/make-mode.el (makefile-mode-syntax-table):
7314 Treat "=" as punctuation. (Bug#14614)
7315
05e7ce90
JB
73162013-06-15 Juanma Barranquero <lekktu@gmail.com>
7317
7318 * help-fns.el (describe-variable):
7319 Add extra line for permanent-local variables.
7320
12e5e86e
SH
73212013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7322
7323 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7324 Add export, import, library. (Bug#9164)
7325 (library): Set indent function.
7326
230dcbaf
GM
73272013-06-14 Glenn Morris <rgm@gnu.org>
7328
7329 * term/xterm.el (xterm--query):
7330 Stop after first matching handler. (Bug#14615)
7331
e36b2d20 73322013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7333
7334 Add support for dired in saveplace.
7335 * dired.el (dired-initial-position-hook): New variable.
7336 (dired-initial-position): Call hook to place cursor position.
7337 * saveplace.el (save-place-to-alist): Add dired position.
7338 (save-place-dired-hook): New function.
7339
0b31660d
SM
73402013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7341
bf1e6ae8
SM
7342 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7343 through a symbol rather than letrec.
7344
1b8dff23
SM
7345 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7346 (package-desc): Add `dir' field.
7347 (package-desc-full-name): New function.
7348 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7349 (package-maybe-load-descriptor): Remove.
7350 (package-load-all-descriptors): Just call package-load-descriptor.
7351 (package--disabled-p): New function.
7352 (package-desc-vers, package-desc-doc): Remove aliases.
7353 (package--dir): Remove function.
7354 (package-activate): Check if a package is disabled.
7355 (package-process-define-package): New function, extracted from
7356 define-package.
7357 (define-package): Turn into a place holder.
7358 (package-unpack-single, package-tar-file-info):
7359 Use package--description-file.
7360 (package-compute-transaction): Use package--disabled-p.
7361 (package-download-transaction): Don't call
7362 package-maybe-load-descriptor since they're all loaded anyway.
7363 (package-install): Change argument to be a pkg-desc.
7364 (package-delete): Use a single pkg-desc argument.
7365 (describe-package-1): Use package-desc-dir instead of package--dir.
7366 Use package-desc property instead of package-symbol.
7367 (package-install-button-action): Adjust accordingly.
7368 (package--push): Rewrite.
7369 (package-menu--print-info): Adjust accordingly. Change the ID format
7370 to be a pkg-desc.
7371 (package-menu-describe-package, package-menu-get-status)
7372 (package-menu--find-upgrades, package-menu-mark-upgrades)
7373 (package-menu-execute, package-menu--name-predicate):
7374 Adjust accordingly.
7375 * startup.el (package--description-file): New function.
7376 (command-line): Use it.
7377 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7378 Use package-desc-version.
7379
0b31660d
SM
7380 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7381 (byte-compile-preprocess): Use it.
7382 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7383 can't quite recognize.
7384 (byte-compile-add-to-list): Remove.
7385 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7386 (cconv-closure-convert): Add assertion.
7387
7388 * emacs-lisp/map-ynp.el: Use lexical-binding.
7389 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7390 Factor out some repeated code.
7391
de0503df
SM
73922013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * subr.el (with-eval-after-load): New macro.
7395 (eval-after-load): Allow form to be a function.
7396 take advantage of lexical-binding.
7397 (do-after-load-evaluation): Use dolist and adjust to new format.
7398 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7399
bc5c8c5a
JL
74002013-06-13 Juri Linkov <juri@jurta.org>
7401
7402 * replace.el (perform-replace): Display "symbol " and other search
7403 modes from `isearch-message-prefix' in the *Help* buffer.
7404
7405 * isearch.el (isearch-query-replace): Add " symbol" and other
7406 possible search modes from `isearch-message-prefix' to the prompt.
7407 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7408 when reading a regexp to collect.
7409
a22289f7
JL
74102013-06-13 Juri Linkov <juri@jurta.org>
7411
7412 * isearch.el (word-search-regexp): Match whitespace if the search
7413 string begins or ends in whitespace. The LAX arg is applied to
7414 both ends of the search string. Use `regexp-quote' and explicit
7415 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7416 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7417 boundaries are replaced with symbol boundaries, and characters
7418 between symbols match non-word non-symbol syntax. (Bug#14602)
7419
cb89acab
JL
74202013-06-13 Juri Linkov <juri@jurta.org>
7421
7422 * isearch.el (isearch-del-char): Don't exceed the length of
7423 `isearch-string' by the prefix arg. (Bug#14563)
7424
6e8cfc81
JL
74252013-06-13 Juri Linkov <juri@jurta.org>
7426
7427 * isearch.el (isearch-yank-word, isearch-yank-line)
7428 (isearch-char-by-name, isearch-quote-char)
7429 (isearch-printing-char, isearch-process-search-char):
7430 Add optional count prefix arg. (Bug#14563)
7431
7432 * international/isearch-x.el
7433 (isearch-process-search-multibyte-characters):
7434 Add optional count prefix arg.
7435
c23d55f4
VS
74362013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7439 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7440 lexical-binding.
7441
74422013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7443
7444 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7445
ba947bc4
GM
74462013-06-13 Glenn Morris <rgm@gnu.org>
7447
8baeb37a
GM
7448 * startup.el (tty-handle-args):
7449 Don't just discard "--" and anything after. (Bug#14608)
7450
ba947bc4
GM
7451 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7452
9abefce4
MA
74532013-06-13 Michael Albinus <michael.albinus@gmx.de>
7454
7455 Implement changes in Secret Service API. Make it backward compatible.
7456 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7457 (secrets-create-item): Use it. Prefix properties with interface.
7458
5755011f
MH
74592013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7460
7461 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7462 (term-emulate-terminal): Respect term-suppress-hard-newline.
7463
1261d2da
S
74642013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7465
7466 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7467 Only remove a `thumb-file' overlay. (Bug#14548)
7468
868490bb
GJ
74692013-06-12 Grégoire Jadi <daimrod@gmail.com>
7470
7471 * mail/reporter.el (reporter-submit-bug-report):
7472 Handle missing package-name. (Bug#14600)
7473
79d7167f
TH
74742013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7475
7476 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7477 (reftex-citation-prompt, reftex-default-bibliography)
7478 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7479 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7480 (reftex-bib-sort-author, reftex-bib-sort-year)
7481 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7482 (reftex-extract-bib-entries-from-thebibliography)
7483 (reftex-get-bibkey-default, reftex-get-bib-names)
7484 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7485 (reftex-format-bib-entry, reftex-parse-bibitem)
7486 (reftex-format-bibitem, reftex-do-citation)
7487 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7488 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7489 (reftex-insert-bib-matches, reftex-format-citation)
7490 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7491 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7492 existing comments into docstrings.
7493
5f9dbd7a
XF
74942013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7495
7496 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7497
94df41ab
AS
74982013-06-12 Andreas Schwab <schwab@suse.de>
7499
7500 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7501 for auto-save files.
7502
a7f3fecc
GM
75032013-06-12 Glenn Morris <rgm@gnu.org>
7504
001809f6
GM
7505 * ido.el (ido-delete-ignored-files): Remove.
7506 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7507 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7508
834b5ded
EL
75092013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7510
08c73ed2
EL
7511 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7512
834b5ded
EL
7513 * ido.el (ido-delete-ignored-files): New function,
7514 split from ido-make-file-list-1.
7515 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7516 (ido-make-file-list-1): Use ido-delete-ignored-files.
7517
daabf15a
LL
75182013-06-12 Leo Liu <sdl.web@gmail.com>
7519
7520 * progmodes/octave.el (inferior-octave-startup)
7521 (inferior-octave-completion-table)
7522 (inferior-octave-track-window-width-change)
7523 (octave-eldoc-function-signatures, octave-help)
7524 (octave-find-definition): Use single quoted strings.
7525 (inferior-octave-startup-args): Change default value.
7526 (inferior-octave-startup): Do not hard code "-i" and
7527 "--no-line-editing".
7528 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7529 (inferior-octave-directory-tracker): Use it.
7530 (octave-goto-function-definition): Robustify.
7531 (octave-help): Support highlighting operators in 'See also'.
7532 (octave-find-definition): Find subfunctions only in Octave mode.
7533
cf4e5178
SM
75342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * help-fns.el (help-fns--compiler-macro): If the handler function is
7537 named, then put a link to it.
7538 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7539 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7540 (cl-typep): Use it.
7541 (cl-eval-when): Simplify debug spec.
7542 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7543 compiler-macro function instead of setting `compiler-macro-file'.
7544
99c81280 75452013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7546
7547 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7548 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7549
f56be016
SM
75502013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7551 Daniel Hackney <dan@haxney.org>
7552
7553 First part of Daniel Hackney's patch to package.el.
7554 * emacs-lisp/package.el: Use defstruct.
7555 (package-desc): New, main struct.
7556 (package--bi-desc, package--ac-desc): New structs, used to describe the
7557 format in external files.
7558 (package-desc-vers): Replace with package-desc-version accessor.
7559 (package-desc-doc): Replace with package-desc-summary accessor.
7560 (package-activate-1): Remove `package' arg since the pkg-vec now
7561 includes the name.
7562 (define-package): Use package-desc-from-define.
7563 (package-unpack-single): Change file-name arg to be a symbol.
7564 (package--add-to-archive-contents): Use package-desc-create and new
7565 accessor functions to package--ac-desc.
7566 (package-buffer-info, package-tar-file-info): Return a package-desc.
7567 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7568 arg to be a package-desc.
7569 (package-install-file): Adjust accordingly. Use \' to match EOS.
7570 (package--from-builtin): New function.
7571 (describe-package-1, package-menu--generate): Use it.
7572 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7573 (package-generate-autoloads): Idem and return the name of the file.
7574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7575 Change pkg-info arg to be a package-desc.
7576 Use package-make-ac-desc.
7577 (package-upload-file): Use \' to match EOS.
7578 * finder.el (finder-compile-keywords): Use package-make-builtin.
7579
31119d63
SM
75802013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7581
931a2762
SM
7582 * vc/vc.el (vc-deduce-fileset): Change error message.
7583 (vc-read-backend): New function.
7584 (vc-next-action): Use it.
7585
5a3eb0c6
SM
7586 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7587
e3eb1bb7
SM
7588 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7589 (prolog-font-lock-keywords): Use regexp-opt instead.
7590 Don't manually highlight strings.
7591 (prolog-mode-variables): Simplify comment-start-skip.
7592 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7593
31119d63
SM
7594 * emacs-lisp/generic.el (generic--normalise-comments)
7595 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7596 (generic-mode-set-comments): Use them.
7597 (generic-bracket-support): Use setq-local.
7598 (generic-make-keywords-list): Declare obsolete.
7599
7de135d0
GM
76002013-06-11 Glenn Morris <rgm@gnu.org>
7601
7602 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7603 Prettify after setting font-lock-defaults. (Bug#14574)
7604
fa6bc6fd
JB
76052013-06-11 Juanma Barranquero <lekktu@gmail.com>
7606
7607 * replace.el (query-replace, occur-read-regexp-defaults-function)
7608 (replace-search):
7609 * subr.el (declare-function, number-sequence, local-set-key)
7610 (substitute-key-definition, locate-user-emacs-file)
7611 (with-silent-modifications, split-string, eval-after-load):
7612 Fix typos, remove unneeded backslashes and reflow some docstrings.
7613
cf1f9b9a
SM
76142013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7617 default for Elisp files.
7618
56602a4b
GM
76192013-06-11 Glenn Morris <rgm@gnu.org>
7620
7621 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7622 although define-derived-mode was doing this anyway. (Bug#14583)
7623
30ae0b2c
JB
76242013-06-10 Juanma Barranquero <lekktu@gmail.com>
7625
7626 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7627 Fix make-variable-buffer-local call to refer to the correct variable.
7628
fa472906
AG
76292013-06-10 Aidan Gauland <aidalgol@amuri.net>
7630
7631 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7632 (eshell-visual-subcommands, eshell-visual-options):
7633 Add summary line to docstrings. Add cross-references.
fa472906 7634
ff4871b9
GM
76352013-06-10 Glenn Morris <rgm@gnu.org>
7636
7637 * epa.el (epa-read-file-name): New function. (Bug#14510)
7638 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7639
04fcf1b0
AG
76402013-06-09 Aidan Gauland <aidalgol@amuri.net>
7641
7642 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7643 output redirection to be ignored with visual commands.
7644
88b00caa
AG
76452013-06-09 Aidan Gauland <aidalgol@amuri.net>
7646
7647 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7648 (eshell-term-initialize): Move long lambda to separate function
7649 eshell-visual-command-p.
e7b41c4c
JB
7650 * eshell/em-dirs.el (eshell-dirs-initialise):
7651 * eshell/em-script.el (eshell-script-initialize):
7652 Add missing #' to lambda.
88b00caa 7653
fda74125
LL
76542013-06-08 Leo Liu <sdl.web@gmail.com>
7655
7656 * progmodes/octave.el (octave-add-log-current-defun): New function.
7657 (octave-mode): Set add-log-current-defun-function.
7658 (octave-goto-function-definition): Do not move point if not found.
7659 (octave-find-definition): Enhance to try subfunctions first.
7660
467f3b33
GM
76612013-06-08 Glenn Morris <rgm@gnu.org>
7662
7663 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7664 (byte-compile-backward-char, byte-compile-backward-word):
7665 Improve previous change, to handle non-explicit nil.
7666
544badc3
SM
76672013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7670 (smie--opener/closer-at-point): New function.
7671 (smie--matching-block-data): Use it. Don't match from right after an
7672 opener or right before a closer. Obey smie-blink-matching-inners.
7673 Don't signal a mismatch for repeated inners like "switch..case..case".
7674
a175bf33
LL
76752013-06-07 Leo Liu <sdl.web@gmail.com>
7676
7677 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7678 to t. (Bug#14303)
ce8209d4
LL
7679 (octave-function-header-regexp): Fix. (Bug#14570)
7680 (octave-help-mode-finish-hook, octave-help-mode-finish):
7681 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7682
7683 * newcomment.el (comment-search-backward): Revert last change.
7684 (Bug#14434)
7685
7686 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7687
a822acff
EZ
76882013-06-07 Eli Zaretskii <eliz@gnu.org>
7689
7690 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7691 through xargs, to avoid failure due to MS-Windows limitations on
7692 command-line length.
7693
961166f5
GM
76942013-06-06 Glenn Morris <rgm@gnu.org>
7695
d0341459
GM
7696 * font-lock.el (lisp-font-lock-keywords-2):
7697 Treat user-error like error.
7698
961166f5
GM
7699 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7700 (byte-compile-backward-char, byte-compile-backward-word):
7701 Handle explicit nil arguments. (Bug#14565)
7702
80fa505f
AM
77032013-06-05 Alan Mackenzie <acm@muc.de>
7704
7705 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7706 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7707 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7708 (Bug#9706)
80fa505f 7709
fccdc796
SM
77102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * autorevert.el (auto-revert-notify-handler): Use memq.
7713 Hide assertion failure.
7714
7715 * skeleton.el: Use cl-lib.
7716 (skeleton-further-elements): Use defvar-local.
7717 (skeleton-insert): Use cl-progv.
7718
9bfff84b
TZ
77192013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7720
7721 * progmodes/prog-mode.el (prog-prettify-symbols)
7722 (prog-prettify-install): Update docstrings.
7723
55577e7c
SM
77242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * simple.el: Move all the prog-mode code to prog-mode.el.
7727 * progmodes/prog-mode.el: New file.
7728 * loadup.el: Add prog-mode.el.
7729
8fc57765
TZ
77302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7731
7732 * simple.el (prog-prettify-symbols): Add version.
7733 (prog-prettify-install): Add convenience function to prettify symbols.
7734
7735 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7736 (perl--augmented-font-lock-keywords-1)
7737 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7738 variables and use it.
7739
7740 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7741 (cfengine3-mode): Remove unneeded variable and use it.
7742
7743 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7744 (lisp--augmented-font-lock-keywords-1)
7745 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7746 Remove unneeded variables and use it.
7747
650645d5 77482013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7749
7750 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7751 to point when opening the connection. (Bug#14380)
28f5da6d 7752
781b4af6
SM
77532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * subr.el (load-history-regexp, load-history-filename-element)
7756 (eval-after-load, after-load-functions, do-after-load-evaluation)
7757 (eval-next-after-load, display-delayed-warnings)
7758 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7759 definition of save-match-data.
7760 (overriding-local-map): Remove accidental obsolescence declaration.
7761
7762 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7763
3ca0d0b4
TZ
77642013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7765
7766 Generalize symbol prettify support to prog-mode and implement it
7767 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7768 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7769 (prog--prettify-font-lock-compose-symbol)
7770 (prog-prettify-font-lock-symbols-keywords): New variables and
7771 functions to support symbol prettification.
7772 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7773 (lisp--augmented-font-lock-keywords-1)
7774 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7775 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7776 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7777 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7778 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7779 * progmodes/perl-mode.el (perl-prettify-symbols)
7780 (perl--font-lock-compose-symbol)
7781 (perl--font-lock-symbols-keywords): Move to prog-mode.
7782 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7783 (perl-font-lock-keywords-1)
7784 (perl-font-lock-keywords-2): Remove explicit prettify support.
7785 (perl--augmented-font-lock-keywords)
7786 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7787 (perl--augmented-font-lock-keywords-2, perl-mode):
7788 Implement prettify support.
3ca0d0b4 7789
976cb066
LL
77902013-06-05 Leo Liu <sdl.web@gmail.com>
7791
7792 Re-implement smie matching block highlight using
7793 show-paren-data-function. (Bug#14395)
7794 * emacs-lisp/smie.el (smie-matching-block-highlight)
7795 (smie--highlight-matching-block-overlay)
7796 (smie--highlight-matching-block-lastpos)
7797 (smie-highlight-matching-block)
7798 (smie-highlight-matching-block-mode): Remove.
7799 (smie--matching-block-data-cache): New variable.
7800 (smie--matching-block-data): New function.
7801 (smie-setup): Use smie--matching-block-data for
7802 show-paren-data-function.
7803
7804 * progmodes/octave.el (octave-mode-menu): Fix.
7805 (octave-find-definition): Skip garbage lines.
7806
208d0342
SM
78072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 Fix compilation error with simultaneous dynamic+lexical scoping.
7810 Add warning when a defvar appears after the first let-binding.
7811 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7812 (byte-compile-close-variables): Initialize it.
7813 (byte-compile--declare-var): New function.
7814 (byte-compile-file-form-defvar)
7815 (byte-compile-file-form-define-abbrev-table)
7816 (byte-compile-file-form-custom-declare-variable): Use it.
7817 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7818 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7819 (byte-compile-bind): Handle dynamic bindings that shadow
7820 lexical bindings.
7821 (byte-compile-unbind): Make arg non-optional.
7822 (byte-compile-let): Simplify.
7823 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7824 (cconv--analyse-function, cconv-analyse-form): Populate it.
7825 Protect byte-compile-bound-variables to limit the scope of defvars.
7826 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7827 Remove unneeded rule for `declare'.
7828
7829 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7830 so as to avoid depending on cl-adjoin at run-time.
7831 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7832
7833 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7834 (macroexp--warn-and-return): Use it.
7835
1ac2891e
GM
78362013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * lisp/subr.el: Convert to lexical binding.
7839 (overriding-local-map): Make obsolete.
7840 (add-to-list): Doc fix. Add compiler macro.
7841 (read-key): Swap values of local maps.
7842
2587b005
LL
78432013-06-05 Leo Liu <sdl.web@gmail.com>
7844
7845 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7846
f1da3c88
LL
78472013-06-04 Leo Liu <sdl.web@gmail.com>
7848
7849 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7850 (compilation-auto-jump): Suppress the "Mark set" message to give
7851 way to exit message.
7852
3caa391f
AM
78532013-06-04 Alan Mackenzie <acm@muc.de>
7854
7855 Remove faulty optimisation from indentation calculation.
7856 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7857 search limit based on 2000 characters back from indent-point.
7858
068922a2
TH
78592013-06-03 Tassilo Horn <tsdh@gnu.org>
7860
7861 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7862
1f8fdd53
SM
78632013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7864
bbcc4d97
SM
7865 * emacs-lisp/lisp.el: Use lexical-binding.
7866 (lisp--local-variables-1, lisp--local-variables): New functions.
7867 (lisp--local-variables-completion-table): New var.
208d0342 7868 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7869
1f8fdd53
SM
7870 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7871 eagerly (bug#14422).
7872
c9628c79
MA
78732013-06-03 Michael Albinus <michael.albinus@gmx.de>
7874
7875 * autorevert.el (auto-revert-notify-enabled)
7876 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7877 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7878 (auto-revert-notify-handler): Handle also gfilenotify.
7879
e7b41c4c 7880 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7881 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7882 Remove.
c9628c79 7883
e5e4a942
JL
78842013-06-03 Juri Linkov <juri@jurta.org>
7885
7886 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7887 `M-s h .'. (Bug#14427)
7888
7889 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7890 command `hi-lock-face-symbol-at-point'.
7891 (hi-lock-face-symbol-at-point): New command.
7892 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7893 (hi-lock-menu): Add `highlight-symbol-at-point'.
7894 (hi-lock-mode): Doc fix.
7895
7896 * isearch.el (isearch-forward-symbol-at-point): New command.
7897 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7898 (isearch-highlight-regexp): Add a regexp which matches
7899 words/symbols for word/symbol mode.
7900
7901 * subr.el (find-tag-default-bounds): New function with the body
7902 mostly moved from `find-tag-default'.
7903 (find-tag-default): Move most code to `find-tag-default-bounds',
7904 call it and apply `buffer-substring-no-properties' afterwards.
7905
26b3353a
TH
79062013-06-03 Tassilo Horn <tsdh@gnu.org>
7907
781b4af6
SM
7908 * eshell/em-term.el (eshell-term-initialize):
7909 Use `cl-intersection' rather than `intersection'.
26b3353a 7910
51b60f53
XF
79112013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7912
fe054b63 7913 * vc/log-view.el: Doc fix.
d3ffe17c 7914 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7915
a0eb10b3 79162013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7917
7918 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7919 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7920 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7921 (eieio-unbound, eieio-default-superclass)
7922 (eieio--define-field-accessors, method-static, method-before)
7923 (method-primary, method-after, method-num-lists)
7924 (method-generic-before, method-generic-primary)
7925 (method-generic-after, method-num-slots)
7926 (eieio-specialized-key-to-generic-key)
7927 (eieio--check-type, class-v, class-p)
7928 (eieio-class-name, define-obsolete-function-alias)
7929 (eieio-class-parents-fast, eieio-class-children-fast)
7930 (same-class-fast-p, class-constructor, generic-p)
7931 (generic-primary-only-p, generic-primary-only-one-p)
7932 (class-option-assoc, class-option, eieio-object-p)
7933 (class-abstract-p, class-method-invocation-order)
7934 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7935 (eieio-class-un-autoload, eieio-defclass)
7936 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7937 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7938 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7939 (eieio-defgeneric-reset-generic-form)
7940 (eieio-defgeneric-form-primary-only)
7941 (eieio-defgeneric-reset-generic-form-primary-only)
7942 (eieio-defgeneric-form-primary-only-one)
7943 (eieio-defgeneric-reset-generic-form-primary-only-one)
7944 (eieio-unbind-method-implementations)
7945 (eieio--defmethod, eieio--typep)
7946 (eieio-perform-slot-validation, eieio-validate-slot-value)
7947 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7948 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7949 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7950 (eieio-slot-name-index, eieio-class-slot-name-index)
7951 (eieio-set-defaults, eieio-initarg-to-attribute)
7952 (eieio-attribute-to-initarg, eieio-c3-candidate)
7953 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7954 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7955 (eieio-class-precedence-list, eieio-generic-call-methodname)
7956 (eieio-generic-call-arglst, eieio-generic-call-key)
7957 (eieio-generic-call-next-method-list)
7958 (eieio-pre-method-execution-functions, eieio-generic-call)
7959 (eieio-generic-call-primary-only, eieiomt-method-list)
7960 (eieiomt-optimizing-obarray, eieiomt-install)
7961 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7962 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7963 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7964 (defclass): Remove `eval-and-compile' from macro.
7965 (call-next-method, shared-initialize): Instead of using
7966 `scoped-class' variable, use new eieio--scoped-class, and
7967 eieio--with-scoped-class.
7968 (initialize-instance): Rename local variable 'scoped-class' to
7969 'this-class' to remove ambiguitity from old global.
7970
7971 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7972 eieio.el.
4f405069
JB
7973 (eieio--scoped-class-stack): New variable.
7974 (eieio--scoped-class): New fcn.
890f7890
DE
7975 (eieio--with-scoped-class): New scoping macro.
7976 (eieio-defclass): Use pushnew instead of add-to-list.
7977 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7978 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7979 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7980 `scoped-class' variable, use new eieio--scoped-class, and
7981 eieio--with-scoped-class.
7982
7983 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7984
d105b0e2
TH
79852013-06-02 Tassilo Horn <tsdh@gnu.org>
7986
7987 * eshell/esh-ext.el (eshell-external-command): Pass args to
7988 `eshell-find-interpreter'.
7989 (eshell-find-interpreter): Add new second parameter ARGS.
7990
7991 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7992 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7993
7994 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7995 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7996
7997 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7998 (eshell-visual-options): New defcustom.
7999 (eshell-escape-control-x): Adapt docstring.
8000 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8001 `eshell-visual-options' in addition to `eshell-visual-commands'.
8002 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8003
f46305c8 80042013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8005
8006 * progmodes/python.el (python-indent-block-enders): Add break,
8007 continue and raise keywords.
8008
d870df21
GM
80092013-06-01 Glenn Morris <rgm@gnu.org>
8010
9133b82e
GM
8011 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8012
02c992ec 8013 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8014 * progmodes/cc-cmds.el (delete-forward-p):
8015 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8016 * progmodes/cc-engine.el (buffer-syntactic-context):
8017 * progmodes/cc-fonts.el (face-property-instance):
8018 * progmodes/cc-mode.el (set-keymap-parents):
8019 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8020 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8021 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8022 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8023 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8024
31e7b090
GM
8025 * progmodes/cc-vars.el (other): Emacs has this widget since
8026 at least 21.1, so don't (re)define it.
8027
d870df21
GM
8028 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8029 Replace the obsolete alias pcomplete-arg-quote-list.
8030
c75c93c7
LL
80312013-06-01 Leo Liu <sdl.web@gmail.com>
8032
8033 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8034 punctuation syntax.
8035 (inferior-octave-minimal-columns)
8036 (inferior-octave-last-column-width): New variables.
8037 (inferior-octave-track-window-width-change): New function.
8038 (inferior-octave-mode): Adjust column width so that Octave output,
8039 for example from 'ls', can fit into the window nicely.
8040
973d1e12
DG
80412013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8042
8043 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8044 Highlight expansions inside regexp literals.
8045
0888c286
GM
80462013-05-31 Glenn Morris <rgm@gnu.org>
8047
e26aac1f
GM
8048 * obsolete/sym-comp.el (symbol-complete):
8049 Replace obsolete completion-annotate-function.
8050
0888c286
GM
8051 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8052
19bb8e62
DG
80532013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8054
781b4af6
SM
8055 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8056 New function, checks if point is inside a literal that allows
19bb8e62
DG
8057 expression expansion.
8058 (ruby-syntax-propertize-expansion): Use it.
8059 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8060 around the body.
8061
01dea85f
JL
80622013-05-30 Juri Linkov <juri@jurta.org>
8063
8064 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8065 to "\M-si".
8066 (isearch-invisible): New variable.
8067 (isearch-forward): Doc fix.
8068 (isearch-mode): Set `isearch-invisible'
8069 to the value of `search-invisible'.
8070 (isearch-toggle-case-fold): Doc fix.
8071 (isearch-toggle-invisible): New command.
8072 (isearch-query-replace): Let-bind `search-invisible'
8073 to the value of `isearch-invisible'.
8074 (isearch-search): Use `isearch-invisible' instead of
8075 `search-invisible'. Let-bind `search-invisible'
8076 to the value of `isearch-invisible'. (Bug#11378)
8077
ab1bdce5
JL
80782013-05-30 Juri Linkov <juri@jurta.org>
8079
8080 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8081 call when `query-flag' is nil and `search-invisible' is non-nil.
8082 (Bug#11746)
8083
d6d236e2
GM
80842013-05-30 Glenn Morris <rgm@gnu.org>
8085
8accd027
GM
8086 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8087
2a8bed1c
GM
8088 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8089 (cc-require): Suppress spurious "noruntime" warnings.
8090 (cc-require-when-compile): Use fboundp, for sake of compiler.
8091
d6d236e2
GM
8092 * progmodes/cc-mode.el: Move load of cc-vars before that of
8093 cc-langs (which in turn loads cc-vars), to quieten compiler.
8094
9190b35b
SM
80952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * paren.el: Simplify the code.
8098 (show-paren-mode): Always start the timer.
8099 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8100 (show-paren--overlay, show-paren--overlay-1): Rename from
8101 show-paren-overlay and show-paren-overlay-1, and initialize to an
8102 overlay rather than to nil.
8103 (show-paren-function): Misc cleanup and simplifications.
8104
4f8d1cf6
SM
81052013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * paren.el (show-paren-data-function): New hook.
8108 (show-paren--default): New function, extracted from show-paren-function.
8109 (show-paren-function): Use show-paren-data-function.
8110
02d844b5
GM
81112013-05-30 Glenn Morris <rgm@gnu.org>
8112
d209d4a9
GM
8113 * ielm.el (ielm-map, ielm-complete-symbol):
8114 Use completion-at-point rather than obsolete functions.
8115 (inferior-emacs-lisp-mode): Doc fix.
8116 Set completion-at-point-functions, rather than
8117 comint-dynamic-complete-functions.
8118
2082faa6
GM
8119 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8120 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8121 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8122
dd8620de
GM
8123 * image.el (image-animated-p): Tweak definition.
8124
ceca95b1
GM
8125 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8126 (rlogin-process-connection-type): Tweak default. Add set-after.
8127 (rlogin-host): Doc fix.
8128 (rlogin): Tweak prompt.
8129 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8130
ee9f1acc
GM
8131 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8132 * progmodes/tcl.el (inferior-tcl-mode-map):
8133 Use completion-at-point rather than obsolete alias.
8134
45ce222e
GM
8135 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8136
02d844b5
GM
8137 * minibuffer.el (read-file-name-completion-ignore-case):
8138 Move before completion--in-region, for eager macro expansion.
8139
ac44d6c1
JL
81402013-05-29 Juri Linkov <juri@jurta.org>
8141
8142 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8143 for total count of matching lines. Add `global-matches' for total
8144 count of matches. Rename `matches' to `lines' for count of
8145 matching lines. Add `matches' for count of matches.
8146 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8147 to `prev-line' for line number of prev match endpt.
8148 Increment `matches' for every match. Print the number of
8149 matching lines in the header.
8150 (occur-context-lines): Rename `lines' to `curr-line'.
8151 Rename `prev-lines' to `prev-line'. (Bug#14017)
8152
3c9c9d38
JL
81532013-05-29 Juri Linkov <juri@jurta.org>
8154
8155 * replace.el (perform-replace): Add `skip-read-only-count',
8156 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8157 Increment them for corresponding conditions and report the number
8158 of skipped occurrences in the final message. (Bug#11746)
8159 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8160 (replace-string, replace-regexp): Doc fix.
8161
33e249a2
SM
81622013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8e399682
SM
8164 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8165
33e249a2 8166 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8167 prog-mode-map (bug#14504).
33e249a2 8168
f236dd84
LL
81692013-05-29 Leo Liu <sdl.web@gmail.com>
8170
8171 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8172 (octave-help): Small simplification.
8173
8174 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8175 off the highlight first.
8176
3694d13f
GM
81772013-05-29 Glenn Morris <rgm@gnu.org>
8178
03983bdc
GM
8179 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8180 Handle idlwave-last-system-routine-info-cons-cell being nil.
8181
bc74a74a
GM
8182 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8183 (idlwave-write-paths): Simplify via with-temp-buffer.
8184
8b394200
GM
8185 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8186 * emulation/cua-rect.el: Also load cua-base at run time.
8187
3694d13f
GM
8188 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8189 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8190 (cperl-imenu-on-info): Require imenu.
8191
336d7284
AM
81922013-05-28 Alan Mackenzie <acm@muc.de>
8193
8194 Handle "capitalised keywords" correctly.
33e249a2 8195 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8196
cb29c582
AG
81972013-05-28 Aidan Gauland <aidalgol@amuri.net>
8198
781b4af6 8199 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8200
690e44b2
GM
82012013-05-28 Glenn Morris <rgm@gnu.org>
8202
e658d75c
GM
8203 * vc/vc-arch.el (vc-exec-after): Declare.
8204 (vc-switches): Autoload.
8205 * vc/vc-bzr.el: No need to require vc when compiling.
8206 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8207 (vc-resynch-buffer, vc-dir-refresh): Declare.
8208 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8209 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8210 (vc-resynch-buffer): Declare.
8211 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8212 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8213 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8214 (grep-read-regexp, grep-read-files, grep-expand-template)
8215 (vc-dir-refresh): Declare.
8216 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8217 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8218 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8219 * vc/vc-mtn.el (vc-exec-after): Declare.
8220 (vc-switches): Autoload.
8221 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8222 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8223 (vc-file-tree-walk): Declare.
712b9732
GM
8224 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8225 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8226 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8227 * vc/vc-svn.el (vc-exec-after): Declare.
8228 (vc-switches, vc-setup-buffer): Autoload.
8229 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8230 Autoload.
8231 (vc-resynch-buffer): Declare.
8232
98e87fb3
GM
8233 * obsolete/fast-lock.el (byte-compile-warnings):
8234 Don't warn about obsolete features in this obsolete file.
8235
f5379553
GM
8236 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8237 Move definition before use.
8238
7a20ef83
GM
8239 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8240 (dun-unix-verbs): Remove dun-zippy.
8241 (dun-zippy): Remove function.
8242
690e44b2
GM
8243 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8244
3a52ccf7
JL
82452013-05-27 Juri Linkov <juri@jurta.org>
8246
8247 * replace.el (replace-search): New function with code moved out
8248 from `perform-replace'.
8249 (replace-highlight, replace-dehighlight): Move function definitions
8250 up closer to `replace-search'. (Bug#11746)
8251
d289938a
JL
82522013-05-27 Juri Linkov <juri@jurta.org>
8253
8254 * replace.el (perform-replace): Ignore invisible matches.
8255 In addition to checking `query-replace-skip-read-only', also
8256 filter out matches by calling `run-hook-with-args-until-failure'
8257 on `isearch-filter-predicates', and also check `search-invisible'
8258 for t or call `isearch-range-invisible'.
8259 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8260
66fc57e3
JL
82612013-05-27 Juri Linkov <juri@jurta.org>
8262
8263 * isearch.el (isearch-filter-predicates): Rename from
8264 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8265 (isearch-message-prefix): Display text from the property
8266 `isearch-message-prefix' of the currently active filters.
8267 (isearch-search): Don't compare `isearch-filter-predicate' with
8268 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8269 on `isearch-filter-predicates'. Also check `search-invisible' for t
8270 or call `isearch-range-invisible'.
8271 (isearch-filter-visible): Make obsolete.
8272 (isearch-lazy-highlight-search):
8273 Call `run-hook-with-args-until-failure' on
8274 `isearch-filter-predicates' and use `isearch-range-invisible'.
8275
8276 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8277 `isearch-filter-predicates' instead of `funcall'ing
8278 `isearch-filter-predicate'.
8279 (Info-mode): Set `Info-isearch-filter' to
8280 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8281
8282 * dired-aux.el (dired-isearch-filter-predicate-orig):
8283 Remove variable.
8284 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8285 (dired-isearch-filenames-end): Add and remove
8286 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8287 instead of changing the value of `isearch-filter-predicate'.
8288 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8289 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8290 Put property `isearch-message-prefix' to "filename " on
8291 `dired-isearch-filter-filenames'.
8292
8293 * wdired.el (wdired-change-to-wdired-mode):
8294 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8295 locally instead of changing `isearch-filter-predicate'.
8296 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8297
f1a60a0f
DG
82982013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8299
8300 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8301 return the commit hash (Bug#14459). Also set the
8302 `vc-git-detached' property.
8303 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8304 (vc-git-mode-line-string): Use the same help-echo format whether
8305 in detached mode or not, because we know the actual revision now.
8306 When in detached mode, shorten the revision to 7 chars.
8307
7f17cc40
SM
83082013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * emacs-lisp/easy-mmode.el (define-minor-mode):
8311 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8312 mode hook and provide a docstring.
8313
25c8401c
AM
83142013-05-27 Alan Mackenzie <acm@muc.de>
8315
8316 Remove spurious syntax-table text properties inserted by C-y.
8317 * progmodes/cc-mode.el (c-after-change): Also clear hard
8318 syntax-table property with value nil.
8319
dde84790
MA
83202013-05-27 Michael Albinus <michael.albinus@gmx.de>
8321
8322 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8323 when reading the events; the buffer layout shall not be changed.
8324
837fd9af
LL
83252013-05-27 Leo Liu <sdl.web@gmail.com>
8326
8327 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8328 New variable.
8329 (inferior-octave-directory-tracker): Automatically re-sync
8330 default-directory.
8331 (octave-help): Improve handling of 'See also'.
8332
4fd996b3
SM
83332013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8334
416f1802
SM
8335 * doc-view.el: Minor naming convention tweaks.
8336 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8337
4fd996b3
SM
8338 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8339 even if there's no `display' property yet (bug#14435).
8340
a052ef3b
EZ
83412013-05-25 Eli Zaretskii <eliz@gnu.org>
8342
4fd996b3 8343 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8344
8345 * Makefile.in (custom-deps, finder-data, autoloads)
8346 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8347 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8348 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8349
c9023370
SM
83502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8353 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8354 Don't burp at EOB.
c9023370 8355
24d699fa
LL
83562013-05-25 Leo Liu <sdl.web@gmail.com>
8357
8358 * comint.el (comint-previous-matching-input): Do not flood the
8359 *Messages* buffer with trivial messages.
8360
17e5c0cc
SM
83612013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * progmodes/flymake.el (flymake-nop): Don't return a string.
8364 (flymake-set-at): Fix typo.
8365
8366 * simple.el (read--expression): New function, extracted from
8367 eval-expression. Set completion-at-point-functions (bug#14465).
8368 (eval-expression, eval-minibuffer): Use it.
8369
5d028165
XF
83702013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8371
8372 * progmodes/flymake.el (flymake-save-buffer-in-file)
8373 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8374 (flymake-selected-frame, flymake-log, flymake-ins-after)
8375 (flymake-set-at, flymake-get-buildfile-from-cache)
8376 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8377 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8378 Refine the doc string.
8379 (flymake-get-file-name-mode-and-masks): Reformat.
8380 (flymake-get-real-file-name-function): Fix a minor bug.
8381
7a1d7ba7
JL
83822013-05-24 Juri Linkov <juri@jurta.org>
8383
8384 * progmodes/grep.el (grep-mode-font-lock-keywords):
8385 Support =linenumber= format used by git-grep for lines with
8386 function names. (Bug#13549)
8387
650cff3d
SM
83882013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8391 0 after a semi-colon; it works better for smie-auto-fill.
8392 (octave--indent-new-comment-line): New function.
8393 (octave-indent-new-comment-line): Use it (indirectly).
8394 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8395 modify comment-line-break-function.
8396
8397 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8398 (smie-setup): Use add-function to set it.
8399
9631677d
SS
84002013-05-24 Sam Steingold <sds@gnu.org>
8401
8402 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8403 argument (before the `interactive' argument).
8404
50105835
SM
84052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * image-mode.el (image-mode-winprops): Add winprops to
8408 image-mode-winprops-alist before running
8409 image-mode-new-window-functions.
8410 * doc-view.el (doc-view-new-window-function): Don't delay
8411 doc-view-goto-page via timers (bug#14435).
8412
57b9823e
TH
84132013-05-24 Tassilo Horn <tsdh@gnu.org>
8414
8415 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8416 (doc-view-desktop-save-buffer): New function.
8417 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8418 (desktop-buffer-mode-handlers):
8419 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8420 handler.
8421 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8422 `desktop-save-buffer' function.
8423
91aafa16
MA
84242013-05-24 Michael Albinus <michael.albinus@gmx.de>
8425
8426 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8427 (tramp-gvfs-file-name-handler): Raise a user error when
8428 `tramp-gvfs-enabled' is nil.
8429 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8430 Do not raise a user error when loading package. (Bug#14447)
8431
ec076379
MA
8432 * net/xesam.el: Move to obsolete/.
8433
db785726
GM
84342013-05-24 Glenn Morris <rgm@gnu.org>
8435
af5c7606
GM
8436 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8437
e5d1916a
GM
8438 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8439
ded62b08
GM
8440 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8441 (Info-find-node, Man-getpage-in-background): Declare.
8442
9e614a3f
GM
8443 * mail/unrmail.el (unrmail):
8444 Replace obsolete detect-coding-with-priority.
8445
892f8ca3
GM
8446 * net/socks.el (socks-split-string): Use this rather than split-string.
8447 (socks-nslookup-host): Update for above change.
8448 (dynamic-choice, s5-dynamic-choice-match)
8449 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8450 Comment out unused code.
8451
3c291973
GM
8452 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8453 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8454 (gud-tooltip-echo-area): Make obsolete.
8455 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8456
43cc956b
GM
8457 * progmodes/js.el (js--optimize-arglist): Declare.
8458
dab49a3b
GM
8459 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8460
36b9d085
GM
8461 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8462 (ediff-window-C): Declare.
8463
e354ae76
GM
8464 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8465 Tweak requires to silence compiler.
8466
b8e57bf4
GM
8467 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8468 (he-search-string, he-tried-table, he-expand-list)
8469 (he-init-string, he-string-member, he-substitute-string)
8470 (he-reset-string): Declare.
8471
db785726
GM
8472 * obsolete/options.el (list-options): Use custom-variable-p,
8473 rather than obsolete alias.
8474
b3531901
SS
84752013-05-23 Sam Steingold <sds@gnu.org>
8476
8477 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8478 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8479 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8480
bdda4c66
SM
84812013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8482
8483 * emacs-lisp/smie.el (smie-indent-forward-token)
8484 (smie-indent-backward-token): Handle string tokens (bug#14381).
8485
c43d45f9
TH
84862013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8487
fe1eb856
RS
8488 * ielm.el (ielm-menu): New menu.
8489 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8490
fe1eb856
RS
84912013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8492
8493 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8494 Fix deactivate action.
8495
8496 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8497 Add cleveref macros.
074dd971 8498
c43d45f9
TH
8499 * lisp/textmodes/reftex-parse.el
8500 (reftex-locate-bibliography-files): Accept options for
8501 bibliography commands.
8502 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8503 Add addbibresource. Basic Biblatex support.
8504
7764286e
MA
85052013-05-23 Michael Albinus <michael.albinus@gmx.de>
8506
8507 * net/tramp-gvfs.el (top):
8508 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8509 when loading package. (Bug#14447)
8510
d361bc10
GM
85112013-05-23 Glenn Morris <rgm@gnu.org>
8512
8fa23984
GM
8513 * progmodes/js.el: No need to load comint when compiling.
8514 (ring-insert, comint-send-string, comint-send-input)
8515 (comint-last-input-end, ido-chop): Declare.
8516
a5c7df1a
GM
8517 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8518 * vc/ediff-mult.el: Adjust requires.
8519 (ediff-directories-internal, ediff-directory-revisions-internal)
8520 (ediff-patch-file-internal): Declare.
8521 * vc/ediff-ptch.el: Adjust requires.
8522 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8523 (ediff-find-file): Autoload.
8524 * vc/ediff-util.el: No need to load ediff when compiling.
8525 (ediff-regions-internal): Declare.
8526 * vc/ediff-wind.el: Adjust requires.
8527 (ediff-compute-toolbar-width): Define when compiling.
8528 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8529 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8530 (dired-get-filename, dired-get-marked-files)
8531 (ediff-last-dir-patch, ediff-patch-default-directory)
8532 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8533 (ediff-patch-buffer-internal): Declare.
8534
e2aec513
GM
8535 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8536 (ispell-process, ispell-buffer-local-words, lm-summary)
8537 (lm-section-start, lm-section-end): Declare.
8538 (checkdoc-ispell-init): Simplify.
8539
e68bbd7c
GM
8540 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8541 (he-string-member, he-reset-string, he-substitute-string): Declare.
8542
7efe0991
GM
8543 * eshell/em-ls.el: Adjust requires.
8544 (eshell-glob-regexp): Declare.
f87b1284
GM
8545 * eshell/em-tramp.el: Adjust requires.
8546 (eshell-parse-command): Autoload.
8547 * eshell/em-xtra.el: Adjust requires.
8548 (eshell-parse-command): Autoload.
8549 * eshell/esh-ext.el: Adjust requires.
8550 (eshell-parse-command, eshell-close-handles): Autoload.
8551 * eshell/esh-io.el: Adjust requires.
8552 (eshell-output-filter): Autoload.
8553 * eshell/esh-util.el: No need to load tramp when compiling.
8554 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8555 Declare.
8556 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8557 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8558 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8559 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8560 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8561 * eshell/esh-opt.el, eshell/esh-proc.el:
8562 * eshell/esh-var.el: Adjust requires.
8563 * eshell/eshell.el: Do not require esh-util twice.
8564 (eshell-add-input-to-history): Declare.
8565 (eshell-command): Check history module is active before using it.
8566
d361bc10
GM
8567 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8568
85d090a9
LL
85692013-05-22 Leo Liu <sdl.web@gmail.com>
8570
8571 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8572
5d0acd9d
MA
85732013-05-22 Michael Albinus <michael.albinus@gmx.de>
8574
8575 * autorevert.el (auto-revert-notify-add-watch)
8576 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8577 it indicates changes in file modification time.
8578
0cdffd7d
GM
85792013-05-22 Glenn Morris <rgm@gnu.org>
8580
ca5995ec
GM
8581 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8582 Always delete the autoloaded function from the noruntime and
8583 unresolved functions lists.
8584
6450907e
GM
8585 * allout.el: No need to load epa, epg, overlay when compiling.
8586 (epg-context-set-passphrase-callback, epg-list-keys)
8587 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8588 (epg-key-user-id-list): Declare.
8589
9c6906f6
GM
8590 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8591 (viper-set-parsing-style-toggling-macro)
8592 (viper-set-emacs-state-searchstyle-macros):
8593 Use called-interactively-p on Emacs.
8594 (viper-looking-back): Make it an obsolete alias. Update callers.
8595 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8596 Use looking-back rather than viper-looking-back.
8597 (viper-tmp-insert-at-eob, viper-enlarge-region)
8598 (viper-read-string-with-history, viper-register-to-point)
8599 (viper-append-to-register, viper-change-state-to-vi)
8600 (viper-backward-char-carefully, viper-forward-char-carefully)
8601 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8602 (viper-change-state-to-emacs): Declare.
8603 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8604 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8605 * emulation/viper-mous.el: Do not load viper-cmd.
8606 (viper-backward-char-carefully, viper-forward-char-carefully)
8607 (viper-forward-word, viper-adjust-window): Declare.
8608
5f70c169
GM
8609 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8610
b1b7f300
GM
8611 * progmodes/idlw-help.el (idlwave-help-fontify):
8612 Use called-interactively-p.
8613
f6ebbb46
GM
8614 * term/w32console.el (w32-get-console-codepage)
8615 (w32-get-console-output-codepage): Declare.
8616
0cdffd7d
GM
8617 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8618 Remove unnecessary declarations.
8619 (dframe-message): Doc fix.
8620
8621 * info.el (dframe-select-attached-frame, dframe-current-frame):
8622 Declare.
8623
8624 * speedbar.el (speedbar-message): Make it an obsolete alias.
8625 Update all callers.
8626 (speedbar-with-attached-buffer)
8627 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8628 (speedbar-with-writable): Use backquote.
8629 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8630 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8631 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8632 rather than speedbar- aliases.
8633 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8634 (speedbar-make-specialized-keymap, speedbar-insert-button)
8635 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8636 (speedbar-do-function-pointer): Declare.
8637 (rmail-speedbar-button, rmail-speedbar-find-file)
8638 (rmail-speedbar-move-message):
8639 Use dframe-with-attached-buffer rather than speedbar- alias.
8640 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8641 (dframe-message, speedbar-make-specialized-keymap)
8642 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8643 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8644 (speedbar-insert-button, dframe-select-attached-frame)
8645 (dframe-maybee-jump-to-attached-frame)
8646 (speedbar-change-initial-expansion-list)
8647 (speedbar-previously-used-expansion-list-name): Declare.
8648 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8649 Use dframe-message, dframe-with-attached-buffer rather than
8650 speedbar- aliases.
8651 (gud-sentinel): Silence compiler.
8652 * progmodes/vhdl-mode.el (speedbar-refresh)
8653 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8654 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8655 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8656 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8657 (speedbar-file-lists, speedbar-make-tag-line)
8658 (speedbar-line-directory, speedbar-goto-this-file)
8659 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8660 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8661 (speedbar-make-button, speedbar-reset-scanners)
8662 (speedbar-files-item-info, speedbar-line-text)
8663 (speedbar-find-file-in-frame, speedbar-set-timer)
8664 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8665 (speedbar-with-writable): Do not (re)define it.
8666 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8667 rather than speedbar- alias.
8668
ee44b62a
LL
86692013-05-21 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8672 menu items.
8673 (octave-mode): Tweak fill-nobreak-predicate.
8674 (inferior-octave-startup): Check process to avoid infinite loop.
8675 (inferior-octave): Pop to buffer first to show abornmal process
8676 exit information.
8677
640f050f
GM
86782013-05-21 Glenn Morris <rgm@gnu.org>
8679
79458038
GM
8680 * printing.el (pr-menu-bar): Define when compiling.
8681
9cc3e83f
LL
86822013-05-21 Leo Liu <sdl.web@gmail.com>
8683
8684 * progmodes/octave.el (octave-auto-fill): Remove.
8685 (octave-indent-new-comment-line): Improve.
8686 (octave-mode): Use auto fill mode through
4f405069 8687 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8688 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8689 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8690 (octave-help): Show parent directory.
8691
f440830d
GM
86922013-05-21 Glenn Morris <rgm@gnu.org>
8693
8694 * files.el (dired-unmark):
8695 * progmodes/gud.el (gdb-input): Update declarations.
8696
8697 * calculator.el (electric, ehelp): No need to load when compiling.
8698 (Electric-command-loop, electric-describe-mode): Declare.
8699
8700 * doc-view.el (doc-view-current-converter-processes): Move before use.
8701
8702 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8703 Move MODE-set-explicitly definition before use.
8704
8705 * international/mule-diag.el (mule-diag):
8706 Don't use obsolete window-system-version.
8707
8708 * mail/feedmail.el (smtpmail): No need to load when compiling.
8709 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8710
8711 * mail/mail-utils.el (rfc822): No need to load when compiling.
8712 (rfc822-addresses): Autoload it.
8713 (mail-strip-quoted-names): Trivial simplification.
8714
8715 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8716 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8717
8718 * net/snmp-mode.el (tempo): Don't duplicate requires.
8719
8720 * progmodes/prolog.el (info): No need to load when compiling.
8721 (comint): Require before shell requires it.
8722 (Info-goto-node): Autoload it.
8723 (Info-follow-nearest-node): Declare.
8724 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8725
8726 * textmodes/artist.el (picture-mode-exit): Declare.
8727
8728 * textmodes/reftex-parse.el (reftex-parse-from-file):
8729 Trivial rewrite so the compiler can parse it better.
8730
b4da2cbb
LL
87312013-05-20 Leo Liu <sdl.web@gmail.com>
8732
8733 * progmodes/octave.el (octave-help-mode-map)
8734 (octave-help-mode-finish-hook): New variables.
8735 (octave-help-mode, octave-help-mode-finish): New functions.
8736 (octave-help): Use octave-help-mode.
8737
33c0f65b
GM
87382013-05-20 Glenn Morris <rgm@gnu.org>
8739
8740 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8741
1a0a0a8a
DG
87422013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8743
8744 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8745 start at point, so that expansion starting right after opening
8746 slash in a regexp is recognized.
8747 (ruby-syntax-before-regexp-re): New defvar, extracted from
8748 ruby-syntax-propertize-function. Since the value of this regexp
8749 is looked up at runtime now, we should be able to turn
8750 `ruby-syntax-methods-before-regexp' into a defcustom later.
8751 (ruby-syntax-propertize-function): Split regexp matching into two
8752 parts, for opening and closing slashes. That allows us to skip
8753 over string interpolations and support multiline regexps.
8754 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8755 for them, which calls `ruby-syntax-propertize-expansion'.
8756 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8757 call to `ruby-syntax-propertize-function'.
8758 (ruby-syntax-propertize-expansion): Extracted from
8759 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8760 (ruby-syntax-propertize-percent-literal): Leave point right after
8761 the percent symbol, so that the expression expansion rule can
8762 propertize the contents.
462388b6
DG
8763 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8764 heredoc openers.
8765 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8766
c1a6c0a4
JL
87672013-05-18 Juri Linkov <juri@jurta.org>
8768
8769 * man.el (Man-default-man-entry): Remove `-' from the end
8770 of the default value. (Bug#14400)
8771
8051fccd
GM
87722013-05-18 Glenn Morris <rgm@gnu.org>
8773
8774 * comint.el (comint-password-prompt-regexp):
8775 Allow "password for XXX" where XXX contains colons (eg https://...).
8776
5e80b74f
LL
87772013-05-18 Leo Liu <sdl.web@gmail.com>
8778
8779 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8780 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8781 (octave-source-directories): Don't check process.
8782 (octave-source-directories, octave-find-definition): Doc fix.
8783
521a54c5
GM
87842013-05-18 Glenn Morris <rgm@gnu.org>
8785
86a94b05
GM
8786 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8787 Remove backspace/delete bindings. (Bug#14392)
8788
521a54c5
GM
8789 * cus-dep.el (custom-make-dependencies): Sort the output.
8790 (custom-versions-load-alist): Convert comment to doc.
8791
42caeb89
LL
87922013-05-17 Leo Liu <sdl.web@gmail.com>
8793
8794 * newcomment.el (comment-search-backward): Stricter in finding
8795 comment start. (Bug#14303)
8796
8797 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8798 (octave-comment-start-skip): Properly anchored.
8799
e219dd97
LL
88002013-05-17 Leo Liu <sdl.web@gmail.com>
8801
fe1eb856
RS
8802 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8803 Clean up when turned off. (Bug#14395)
e219dd97
LL
8804 (smie--highlight-matching-block-overlay): No longer buffer-local.
8805 (smie-highlight-matching-block): Adjust.
8806
dc5dcb4b
PE
88072013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8808
8809 Doc string fix for "nanoseconds" (Bug#14406).
8810 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8811 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8812
1db165f0
JB
88132013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8814
8815 * calc/calc-units.el (math-extract-units): Preserve powers
8816 of units.
8817
c7a8fcac
LL
88182013-05-17 Leo Liu <sdl.web@gmail.com>
8819
8820 * subr.el (delete-consecutive-dups): New function.
8821 * ido.el (ido-set-matches-1): Use it.
8822 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8823 * ido.el (ido-remove-consecutive-dups): Remove.
8824
f678b18a
SM
88252013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8828 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8829 regexp-opt's `words'.
8830
ebfe68e8
LL
88312013-05-16 Leo Liu <sdl.web@gmail.com>
8832
8833 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8834 (smie--highlight-matching-block-overlay)
8835 (smie--highlight-matching-block-lastpos)
8836 (smie--highlight-matching-block-timer): New variables.
8837 (smie-highlight-matching-block): New function.
8838 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8839 (smie-setup): Conditionally enable smie-blink-matching-open.
8840
bc8bc17d
WS
88412013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8842
8843 Sync with upstream verilog-mode r840.
8844 * progmodes/verilog-mode.el (verilog-mode-version)
8845 (verilog-mode-release-date): Update.
8846 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8847 (verilog-sig-tieoff): Fix string error on
8848 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8849 (verilog-read-decls): Fix parameters confusing
8850 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8851
df065a0b
EZ
88522013-05-16 Eli Zaretskii <eliz@gnu.org>
8853
8854 * subr.el (reveal-filename): New function.
8855
8856 * loadup.el: Compute Emacs executable versions on MS-Windows,
8857 where executables have the .exe extension. Add a hard link
8858 emacs-XX.YY.ZZ.exe on MS-Windows.
8859
8860 * Makefile.in (XARGS_LIMIT): New variable.
8861 (custom-deps, finder-data, autoloads)
8862 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8863 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8864 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8865 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8866
2d4bf34b
LL
88672013-05-16 Leo Liu <sdl.web@gmail.com>
8868
8869 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8870 (octave-mode-menu, octave-mode-map): Remove its uses.
8871
6b9c2d85
RZ
88722013-05-16 Reto Zimmermann <reto@gnu.org>
8873
8874 Sync with upstream vhdl mode v3.34.2.
8875 * progmodes/vhdl-mode.el: Use `push' throughout.
8876 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8877 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8878 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8879 (vhdl-actual-generic-name): New option to derive actual generic name.
8880 (vhdl-port-paste-signals): Replace formal by actual generics.
8881 (vhdl-beautify): New name for old group vhdl-align. Update users.
8882 (vhdl-beautify-options): New option.
8883 (vhdl-last-input-event): New compat alias. Use throughout.
8884 (vhdl-goto-line): Replace user level function `goto-line'.
8885 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8886 vhdl-fix-statement-buffer.
8887 (vhdl-create-mode-menu): Add some entries.
8888 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8889 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8890 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8891 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8892 to force statements on one line.
8893 (vhdl-remove-trailing-spaces-region):
8894 New, split from vhdl-remove-trailing-spaces.
8895 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8896 Respect vhdl-beautify-options.
8897 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8898 (vhdl-update-sensitivity-list): Not add with index if exists without.
8899 Not include array index with signal. Ignore keywords in comments.
8900 (vhdl-get-visible-signals): Regexp tweaks.
8901 (vhdl-template-component-inst): Handle empty library.
8902 (vhdl-template-type): Add template for 'enum' type.
8903 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8904 Use vhdl-replace-string.
8905 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8906 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8907 (vhdl-speedbar-initialize): Update for above name change.
8908 (vhdl-compose-wire-components): Fix in handling of constants.
8909 (vhdl-error-regexp-emacs-alist): New variable.
8910 (vhdl-error-regexp-add-emacs): New function;
8911 adds support for new compile.el (Emacs 22+)
8912 (vhdl-generate-makefile-1): Change target order for single lib. units.
8913 Allow use of absolute file names.
8914
9df4ec5e
LL
89152013-05-16 Leo Liu <sdl.web@gmail.com>
8916
8917 * simple.el (prog-indent-sexp): Indent enclosing defun.
8918
f5ba00a6
GM
89192013-05-15 Glenn Morris <rgm@gnu.org>
8920
ed8be7ff
GM
8921 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8922 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8923 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8924 (whitespace-highlight): Move to whitespace group.
8925
8926 * comint.el (comint-source):
8927 * pcmpl-linux.el (pcmpl-linux):
8928 * shell.el (shell-faces):
8929 * eshell/esh-opt.el (eshell-opt):
8930 * international/ccl.el (ccl): Remove empty custom groups.
8931
8932 * completion.el (dynamic-completion-mode):
8933 * jit-lock.el (jit-lock-debug-mode):
8934 * minibuffer.el (completion-in-region-mode):
8935 * type-break.el (type-break-mode-line-message-mode)
8936 (type-break-query-mode):
8937 * emulation/tpu-edt.el (tpu-edt-mode):
8938 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8939 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8940 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8941
8942 * term/xterm.el (xterm): Change parent group to terminals.
8943
8944 * master.el (master): Remove empty custom group.
8945 (master-mode): Remove unused :group argument.
8946 * textmodes/refill.el (refill): Remove empty custom group.
8947 (refill-mode): Remove unused :group argument.
8948
8949 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8950
82a7c41b
GM
8951 * cus-dep.el: Provide a feature.
8952 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8953 Don't mistakenly ignore files whose basenames match a basename
8954 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8955 Add a fallback method for getting :group.
f5ba00a6 8956
6d65486d
JL
89572013-05-15 Juri Linkov <juri@jurta.org>
8958
da547b32
JL
8959 * isearch.el (isearch-char-by-name): Rename from
8960 `isearch-insert-char-by-name'. Doc fix.
8961 (isearch-forward): Mention `isearch-char-by-name' in
8962 the docstring. (Bug#13348)
8963
6d65486d
JL
8964 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8965 `exit-minibuffer' instead of
8966 `isearch-nonincremental-exit-minibuffer'.
8967 (isearch-edit-string): Remove mention of
8968 `isearch-nonincremental-exit-minibuffer' from docstring.
8969 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8970 (isearch-forward-exit-minibuffer)
8971 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8972
c9990474
SM
89732013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8974
6e911150
SM
8975 * loadup.el: Just use unversioned DOC.
8976
c9990474
SM
8977 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8978 literals as extending to EOB.
8979 (nxml-last-fontify-end): Remove unused variable.
8980 (nxml-after-change1): Use with-silent-modifications.
8981 (nxml-extend-after-change-region): Simplify.
8982 (nxml-extend-after-change-region1): Remove function.
8983 (nxml-after-change1): Don't adjust for dependent regions.
8984 (nxml-fontify-matcher): Simplify.
8985 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8986 (xmltok-add-dependent): Remove function.
8987 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8988 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8989 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8990 unclosed <[[, <?, comment, and other literals as extending to EOB.
8991 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8992 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8993 Remove functions.
8994 (rng-do-some-validation-1): Don't mark dependent regions.
8995 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8996 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8997 (nxml-clear-dependent-regions): Remove functions.
8998 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8999 (nxml-ensure-scan-up-to-date):
9000 Don't clear&mark dependent regions.
9001
e3772e98
LL
90022013-05-15 Leo Liu <sdl.web@gmail.com>
9003
c9990474
SM
9004 * progmodes/octave.el (octave-goto-function-definition):
9005 Improve and fix callers.
e3772e98 9006
5ac2eb34
SM
90072013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9008
c46c57b0
SM
9009 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9010 the setter (bug#14387).
9011
5ac2eb34
SM
9012 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9013 surrounding group (bug#14402).
9014
180ed218
JL
90152013-05-14 Juri Linkov <juri@jurta.org>
9016
9017 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9018 (Bug#14390)
9019
0ac0fecb
GM
90202013-05-14 Glenn Morris <rgm@gnu.org>
9021
9022 * progmodes/f90.el (f90-imenu-generic-expression):
9023 Fix typo in 2013-05-08 change. (Bug#14402)
9024
2e78e6a7
JPG
90252013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9026
5ac2eb34
SM
9027 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9028 Remove signals for which replies are never received.
2e78e6a7 9029
53267cca
JPG
90302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9031
9032 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9033 (gdb-handler-alist, gdb-handler-number): Remove variables.
9034 (gdb-handler-list): New variable.
9035 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9036 (gdb-pending-handler-p, gdb-handle-reply)
9037 (gdb-remove-all-pending-triggers): New functions.
9038 (gdb-discard-unordered-replies): New defcustom.
9039 (gdb-handler): New defstruct.
9040 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9041 instead of gdb-pending-triggers. Update docstring.
9042 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9043 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9044 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9045 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9046 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9047 (gdb-frame-handler): Pending triggers are now automatically managed.
9048 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9049 Remove argument.
9050 (gdb-input): Automatically handles pending triggers. Update docstring.
9051 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9052 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9053 Update comments.
9054 (gdb-done-or-error): Now use gdb-handle-reply.
9055
d04ce803
JPG
90562013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9057
9058 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9059 gdb-debug-log.
9060
0114073a
GM
90612013-05-14 Glenn Morris <rgm@gnu.org>
9062
9063 * subr.el (user-emacs-directory-warning): New option.
9064 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9065
4d25fd7e
LL
90662013-05-14 Leo Liu <sdl.web@gmail.com>
9067
9068 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9069 during redisplay.
9070 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9071 (octave-font-lock-texinfo-comment): Fix invalid search bound
9072 error: wrong side of point.
4d25fd7e 9073
27c8b6eb
GM
90742013-05-14 Glenn Morris <rgm@gnu.org>
9075
61aaeb01
GM
9076 * progmodes/flymake.el (flymake-xml-program): New option.
9077 (flymake-xml-init): Use it.
9078
5bf90bc5
GM
9079 * term/xterm.el: Provide a feature.
9080
9081 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9082
f4c7dfd2
GM
90832013-05-13 Glenn Morris <rgm@gnu.org>
9084
9085 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9086 Add compat aliases as a hack workaround. (Bug#14384)
9087
2aeb3a1d
LL
90882013-05-13 Leo Liu <sdl.web@gmail.com>
9089
b0e069c2
LL
9090 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9091 ###, and %!.
f5a9432f
LL
9092 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9093 C-M-q.
b0e069c2
LL
9094 (octave-comment-start-skip): Include %!.
9095 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9096
30ea8374
LL
90972013-05-12 Leo Liu <sdl.web@gmail.com>
9098
9099 * progmodes/octave.el (inferior-octave-startup): Store the value
9100 of __octave_srcdir__ for octave-source-directories.
9101 (inferior-octave-check-process): New function refactored out of
9102 inferior-octave-send-list-and-digest.
9103 (octave-source-directories)
9104 (octave-find-definition-filename-function): New variables.
9105 (octave-source-directories)
9106 (octave-find-definition-default-filename): New functions.
9107 (octave-find-definition): Improve to find functions implemented in C++.
9108
472a3834
GM
91092013-05-12 Glenn Morris <rgm@gnu.org>
9110
9111 * calendar/diary-lib.el (diary-outlook-format-1):
9112 Don't include dayname in the output. (Bug#14349)
9113
3191b52f
GM
91142013-05-11 Glenn Morris <rgm@gnu.org>
9115
0060ac73
GM
9116 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9117
3191b52f
GM
9118 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9119 Treat cc-provide like provide.
9120
e065ba74
KR
91212013-05-11 Kevin Ryde <user42@zip.com.au>
9122
9123 * cus-dep.el (custom-make-dependencies):
9124 Use generated-autoload-load-name for the sake of files such
9125 such cedet/semantic/bovine/c.el, where the base file name
9126 is not in load-path. (Bug#5277)
9127
36f84c37
GM
91282013-05-11 Glenn Morris <rgm@gnu.org>
9129
9130 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9131 Provide features.
9132
c8730c3a
LL
91332013-05-11 Leo Liu <sdl.web@gmail.com>
9134
9135 * progmodes/octave.el (octave-indent-comment): Improve.
9136 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9137 (octave-eldoc-function-signatures, octave-eldoc-function):
9138 New functions.
c8730c3a
LL
9139 (octave-mode, inferior-octave-mode): Add eldoc support.
9140
212e29f2
RS
91412013-05-11 Richard Stallman <rms@gnu.org>
9142
9143 * epa.el (epa-decrypt-file): Take output file name as argument
9144 and read it using `interactive'.
9145
083fe0d7
LL
91462013-05-11 Leo Liu <sdl.web@gmail.com>
9147
9148 * progmodes/octave.el (octave-beginning-of-line)
9149 (octave-end-of-line): Check before using up-list because it jumps
9150 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9151 (octave-indent-comment): New function.
9152 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9153 (octave-begin-keywords, octave-end-keywords)
9154 (octave-reserved-words, octave-smie-bnf-table)
9155 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9156
8582e4c4
GM
91572013-05-11 Glenn Morris <rgm@gnu.org>
9158
f20def1f
GM
9159 * faces.el (internal-face-x-get-resource):
9160 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9161 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9162 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9163 Fix declarations.
f20def1f 9164
445f95e2
GM
9165 * calc/calc-menu.el: Make it loadable in isolation.
9166
9167 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9168 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9169 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9170 (eudc-bbdb-query-internal): Require 'bbdb.
9171
99fb2756
GM
9172 * lpr.el (lpr-headers-switches):
9173 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9174
9175 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9176
0da7ad96
GM
9177 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9178
8582e4c4
GM
9179 * term.el (term-set-escape-char): Make it idempotent.
9180
f71c50d0
LL
91812013-05-10 Leo Liu <sdl.web@gmail.com>
9182
5ac2eb34
SM
9183 * progmodes/octave.el (inferior-octave-completion-table):
9184 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9185 completion due to bug#11906.
9186 (octave-beginning-of-defun): Re-write to be more general.
9187
d5837773
GM
91882013-05-10 Glenn Morris <rgm@gnu.org>
9189
9190 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9191
027c0f75
SM
91922013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * comint.el (comint-redirect-send-command-to-process): Use :around
9195 rather than :override for comint-redirect-filter.
9196 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9197 Call it instead of comint-redirect-original-filter-function (which
9198 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9199
4465bfb4
JD
92002013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9201
9202 * frame.el (display-monitor-attributes-list): Add NS case.
9203 (ns-display-monitor-attributes-list): Declare.
9204
2d809ffa 92052013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9206
9207 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9208
e54eeb9b
GM
92092013-05-09 Glenn Morris <rgm@gnu.org>
9210
56cd351d
GM
9211 * international/fontset.el (vertical-centering-font-regexp):
9212 Set standard-value.
9213
d84b6108
GM
9214 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9215
a931698a
GM
9216 * bookmark.el (bookmark-search-delay):
9217 * cus-start.el (vertical-centering-font-regexp):
9218 * ps-mule.el (ps-mule-font-info-database-default):
9219 * ps-print.el (ps-default-fg, ps-default-bg):
9220 * type-break.el (type-break-good-break-interval):
9221 * whitespace.el (whitespace-indentation-regexp)
9222 (whitespace-space-after-tab-regexp):
9223 * emacs-lisp/testcover.el (testcover-1value-functions)
9224 (testcover-noreturn-functions, testcover-progn-functions)
9225 (testcover-prog1-functions):
9226 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9227 * eshell/em-glob.el (eshell-glob-translate-alist):
9228 * play/tetris.el (tetris-tty-colors):
9229 * progmodes/cpp.el (cpp-face-default-list):
9230 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9231 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9232 (idlwave-help-browser-generic-args):
9233 * progmodes/make-mode.el (makefile-special-targets-list):
9234 * progmodes/python.el (python-shell-virtualenv-path):
9235 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9236 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9237 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9238 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9239 * textmodes/reftex-vars.el (reftex-format-label-function):
9240 * textmodes/remember.el (remember-diary-file): Fix custom types.
9241
e54eeb9b
GM
9242 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9243 Add :version.
9244
455851dd
LL
92452013-05-09 Leo Liu <sdl.web@gmail.com>
9246
9247 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9248 Restore file completion. (Bug#14300)
455851dd
LL
9249 (inferior-octave-startup): Fix incorrect highlighting for the
9250 first prompt.
9251
a9e4425b
SM
92522013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * progmodes/ruby-mode.el: First cut at SMIE support.
9255 (ruby-use-smie): New var.
9256 (ruby-smie-grammar): New constant.
9257 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9258 (ruby-smie--forward-token, ruby-smie--backward-token)
9259 (ruby-smie-rules): New functions.
9260 (ruby-mode-variables): Setup SMIE if applicable.
9261
060ca408
EZ
92622013-05-08 Eli Zaretskii <eliz@gnu.org>
9263
9264 * simple.el (line-move-visual): Signal beginning/end of buffer
9265 only if vertical-motion moved less than it was requested. Avoids
9266 silly incorrect error messages when there are display strings with
9267 multiple newlines at EOL.
9268
1d5963cc
SM
92692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9272 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9273 (prolog-char-quote-workaround):
9274 * progmodes/cperl-mode.el (cperl-under-as-char):
9275 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9276 Mark as obsolete.
9277 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9278 their declaration.
9279 (vhdl-mode-syntax-table-init): Remove.
9280
c9990474
SM
9281 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9282 last change.
1d5963cc
SM
9283
9284 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9285 syntax for "_".
9286 (ld-script-font-lock-keywords):
9287 Change regexps to use things like \_< and \_>.
9288
9289 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9290 Change all regexps to use things like \_< and \_>.
9291
9292 * progmodes/autoconf.el (autoconf-definition-regexp)
9293 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9294 Handle a _ with symbol syntax.
9295 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9296
c9990474
SM
9297 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9298 Consolidate declaration.
1d5963cc
SM
9299 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9300 the declaration.
9301 (ada-create-syntax-table): Remove.
9302 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9303 already has the right syntax nowadays.
9304 (ada-goto-next-word): Don't change the syntax of "_".
9305
9306 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9307 with-wrapper-hook.
9308
72d3cfca
SS
93092013-05-08 Sam Steingold <sds@gnu.org>
9310
9311 * thingatpt.el (thing-at-point): Accept optional second argument
9312 NO-PROPERTIES to strip the text properties from the return value.
9313 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9314 to `thing-at-point' instead of stripping the properties ourselves.
9315 Also, when `thing-at-point' fails to find a url, prepend "http://"
9316 to the filename at point on the assumption that the user is
9317 pointing at something like gnu.org/gnu.
9318
5cb15713
JB
93192013-05-08 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9322 * faces.el (crm-separator):
9323 Silence byte-compiler.
9324
9325 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9326 (tool-bar-map): Remove unneeded defvars.
9327
ea78b95b
LL
93282013-05-08 Leo Liu <sdl.web@gmail.com>
9329
9330 Re-work a fix for bug#10994 based on Le Wang's patch.
9331 * ido.el (ido-remove-consecutive-dups): New helper.
9332 (ido-completing-read): Use it.
9333 (ido-chop): Revert fix for bug#10994.
9334
dc7466df
AS
93352013-05-08 Adam Spiers <emacs@adamspiers.org>
9336
9337 * cus-edit.el (custom-save-variables):
9338 Pretty-print long values. (Bug#14187)
9339
9ecf672a
GM
93402013-05-08 Glenn Morris <rgm@gnu.org>
9341
9342 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9343 (m4-mode-syntax-table): Init in the defvar.
9344 (m4-mode-abbrev-table): Let define-derived-mode define it.
9345
3f555be8
TT
93462013-05-08 Tom Tromey <tromey@redhat.com>
9347
9348 * progmodes/m4-mode.el (m4-mode-syntax-table):
9349 Do not treat "_" as word constituent. (Bug#14167)
9350
7cc8ae06
GM
93512013-05-07 Glenn Morris <rgm@gnu.org>
9352
4f58bc06
GM
9353 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9354 Remove explicit eshell-isearch-cancel-map.
9355
7cc8ae06
GM
9356 * progmodes/f90.el (f90-smart-end-names): New option.
9357 (f90-smart-end): Doc fix.
9358 (f90-end-block-optional-name): New constant.
9359 (f90-block-match): Respect f90-smart-end-names.
9360
ceb57e59
SM
93612013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9364 about implicit semi-colons (bug#14218).
9365
4e3f9230
YM
93662013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9367
9368 * frame.el (display-monitor-attributes-list)
9369 (frame-monitor-attributes): New functions.
9370
203a5572
LL
93712013-05-06 Leo Liu <sdl.web@gmail.com>
9372
9373 * progmodes/octave.el (octave-syntax-propertize-function): Change
9374 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9375 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9376 (octave-completion-at-point): Rename from
203a5572
LL
9377 octave-completion-at-point-function.
9378 (inferior-octave-directory-tracker): Robustify.
9379 (octave-text-functions): Remove and fix its uses. No such things
9380 any more.
9381
ee6cff99
SM
93822013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * emacs-lisp/trace.el (trace--display-buffer): New function.
9385 (trace-make-advice): Use it.
9386
32985194
JL
93872013-05-06 Juri Linkov <juri@jurta.org>
9388
9389 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9390 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9391 Doc fix.
9392 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9393 in the help string. (Bug#12985)
9394
a1c700de
KD
93952013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9396
9397 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9398
c67c0839
SM
93992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9400
323885fd
SM
9401 * progmodes/perl-mode.el: Add support for here documents.
9402 (perl-syntax-propertize-function): Match here-doc markers.
9403 (perl-syntax-propertize-special-constructs): Find their end.
9404 (perl-imenu-generic-expression): Use [:alnum:].
9405
c67c0839
SM
9406 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9407 (advice--add-function): Refresh the advice if already present
9408 (bug#14317).
9409
d491e7a8
IA
94102013-05-06 Ivan Andrus <darthandrus@gmail.com>
9411
9412 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9413
ddf9925e
GM
94142013-05-06 Glenn Morris <rgm@gnu.org>
9415
7cc3af27
GM
9416 * w32-fns.el (w32-charset-info-alist): Declare.
9417
16e343d6
GM
9418 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9419 of its defcustom properties.
9420 (eshell-cmpl-initialize): No need to load pcomplete.
9421
7d889a47
GM
9422 * generic-x.el: No need to require comint when compiling.
9423
ddf9925e
GM
9424 * net/eudc-export.el: Make it loadable without bbdb.
9425 (top-level): Use require rather than load-library.
9426 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9427 (eudc-batch-export-records-to-bbdb)
9428 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9429 Require bbdb.
9430
1e2c18df
SM
94312013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9434 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9435 some tweaks, instead.
9436
02502a5f
LL
94372013-05-05 Leo Liu <sdl.web@gmail.com>
9438
9439 * progmodes/octave.el (octave-font-lock-keywords)
9440 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9441 (inferior-octave-send-list-and-digest): Improve error message.
9442 (octave-mode, inferior-octave-mode): Use setq-local.
9443 (octave-help): Set info-lookup-mode.
9444
0dc04f42
RS
94452013-05-05 Richard Stallman <rms@gnu.org>
9446
6c54491c
RS
9447 * vc/compare-w.el (compare-windows-whitespace):
9448 Treat no-break space as whitespace.
9449
0dc04f42
RS
9450 * mail/rmailsum.el (rmail-summary-rmail-update):
9451 Detect empty summary and don't change selected message.
9452 (rmail-summary-goto-msg): Likewise.
9453
df8f35df
RS
9454 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9455 Doc fixes, rename args.
9456
5356e1a3
AM
94572013-05-05 Alan Mackenzie <acm@muc.de>
9458
9459 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9460
d44014cb
JL
94612013-05-05 Juri Linkov <juri@jurta.org>
9462
9463 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9464 to not add the length of the summary segment to the return value.
9465 (Bug#14125)
9466
c129b51f
LL
94672013-05-05 Leo Liu <sdl.web@gmail.com>
9468
9469 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9470 (inferior-octave-output-filter): Remove.
9471 (octave-send-region, inferior-octave-startup): Fix callers.
9472 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9473 (octave-binary-file-extensions): New user variable.
9474 (octave-find-definition): Confirm if opening binary files.
9475 (octave-help-file): Use octave-find-definition to get the binary
9476 confirmation.
9477 (octave-help): Adjust for octave-help-file change.
9478
aa7dab97
SM
94792013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9482 Merge the two entries that handle function definitions.
9483 (pascal--syntax-propertize): New const.
9484 (pascal-mode): Use it. Use setq-local.
9485
fd3a9a6b
GM
94862013-05-04 Glenn Morris <rgm@gnu.org>
9487
9488 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9489 (diary-from-outlook): Respect diary-from-outlook-function.
9490
30c7e542
SM
94912013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9494 Move the declaration from C.
9495 (read-minibuffer, eval-minibuffer): Move from C.
9496 (completion-setup-function): Avoid minibuffer-completion-contents.
9497
b54f978b
LL
94982013-05-03 Leo Liu <sdl.web@gmail.com>
9499
9500 * progmodes/octave.el (octave-font-lock-keywords): Do not
9501 dehighlight 'end' in comments or strings.
30c7e542
SM
9502 (octave-completing-read, octave-goto-function-definition):
9503 New helpers.
d4d0f9b3
LL
9504 (octave-help-buffer): New user variable.
9505 (octave-help-file, octave-help-function): New button types.
9506 (octave-help): New command and bind it to C-h ;.
9507 (octave-find-definition): New command and bind it to M-.
d74a1581 9508 (user-error): Alias to error if not defined.
b54f978b 9509
27135018
LL
95102013-05-02 Leo Liu <sdl.web@gmail.com>
9511
9512 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9513 for \. (bug#14332)
9514 (octave-font-lock-keywords): Include [ and {.
9515
0d634d3a
LL
95162013-05-02 Leo Liu <sdl.web@gmail.com>
9517
9518 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9519 (inferior-octave): Remove calling comint-mode and return the buffer.
9520 (inferior-octave-startup): Cosmetic changes.
9521
b4c8295e
LL
95222013-05-02 Leo Liu <sdl.web@gmail.com>
9523
30c7e542
SM
9524 * progmodes/octave.el (octave-syntax-propertize-function):
9525 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9526
f12ad6ec
GM
95272013-05-02 Glenn Morris <rgm@gnu.org>
9528
9529 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9530 * desktop.el (vc-dir-mode): Just autoload it here.
9531
30cac1e0
AM
95322013-05-02 Alan Mackenzie <acm@muc.de>
9533
9534 Eliminate variable c-standard-font-lock-fontify-region-function.
9535 * progmodes/cc-mode.el
9536 (c-standard-font-lock-fontify-region-function): Remove.
9537 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9538
d8ef28b1
LL
95392013-05-01 Leo Liu <sdl.web@gmail.com>
9540
2640d52e 9541 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9542 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9543 variables were removed from Octave in 2007.
d8ef28b1
LL
9544 (inferior-octave-startup): Fix uses.
9545 (comint-line-beginning-position): Remove compatibility code for
9546 emacs 21.
9547
ac63ec89
JL
95482013-05-01 Juri Linkov <juri@jurta.org>
9549
9550 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9551
9e9be37c
JL
95522013-05-01 Juri Linkov <juri@jurta.org>
9553
9554 * comint.el (comint-previous-matching-input): Don't print message
9555 "History item: %d" when `isearch-mode' is active.
9556 (comint-history-isearch-message): Print message "History item: %d"
9557 when `comint-input-ring-index' is not empty and this function is
9558 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9559
9b92c13b
LL
95602013-05-01 Leo Liu <sdl.web@gmail.com>
9561
9562 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9563 definitions. Use completion-at-point to insert keywords.
9564 (octave-abbrev-start): Remove.
9565 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9566
b12d33d7
LL
95672013-04-30 Leo Liu <sdl.web@gmail.com>
9568
9569 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9570 change.
9571
3d1c39fa
AM
95722013-04-30 Alan Mackenzie <acm@muc.de>
9573
9574 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9575 * progmodes/cc-engine.el (c-back-over-member-initializers):
9576 new function.
3d1c39fa
AM
9577 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9578 (most) member init lists.
9579
5147fc17
RS
95802013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9581
9582 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9583 variable.
9584
5b78d7fc
LL
95852013-04-30 Leo Liu <sdl.web@gmail.com>
9586
9587 * progmodes/octave.el (octave-variables): Remove. No builtin
9588 variables any more. All converted to functions.
9589 (octave-font-lock-keywords, octave-completion-at-point-function):
9590 Fix uses.
9591 (octave-font-lock-texinfo-comment): New user variable.
9592 (octave-texinfo-font-lock-keywords): New variable for texinfo
9593 comment block.
9594 (octave-function-comment-block): New face.
9595 (octave-font-lock-texinfo-comment): New function.
9596 (octave-mode): Font lock texinfo comment block.
9597
38d8527b
LL
95982013-04-29 Leo Liu <sdl.web@gmail.com>
9599
9600 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9601 indexing expression.
9602 (octave-continuation-string): Do not use \.
9603 (inferior-octave-complete-impossible): Remove.
9604 (inferior-octave-completion-table)
9605 (inferior-octave-completion-at-point): Remove its uses.
9606 (inferior-octave-startup): completion_matches was introduced to
9607 Octave in 1996 so safe to assume it.
9608 (octave-function-file-comment): Improve to follow how Octave does it.
9609 (octave-update-function-file-comment): Tweak.
9610
2ec12cb0
LL
96112013-04-29 Leo Liu <sdl.web@gmail.com>
9612
9613 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9614 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9615 (octave-function-file-comment): Fix typo.
9616 (octave-sync-function-file-names): Use read-char-choice.
9617
6eaed048
JB
96182013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9619
9620 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9621 to t for the less important warnings.
9622
3ffa2d4f
DH
96232013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9624
9625 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9626
685c9501
GM
96272013-04-27 Glenn Morris <rgm@gnu.org>
9628
9629 * vc/log-view.el (log-view-current-entry):
9630 Treat "---" separator lines as part of the following rev. (Bug#14169)
9631
0208ede7
JL
96322013-04-27 Juri Linkov <juri@jurta.org>
9633
9634 * subr.el (read-number): Doc fix about using it by interactive
9635 code letter `n'. (Bug#14254)
9636
5db9dace
JL
96372013-04-27 Juri Linkov <juri@jurta.org>
9638
9639 * desktop.el (desktop-auto-save-timeout): New option.
9640 (desktop-file-checksum): New variable.
9641 (desktop-save): Add optional arg `auto-save' and don't auto-save
9642 if nothing changed.
9643 (desktop-auto-save-timer): New variable.
9644 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9645 (after-init-hook): Call `desktop-auto-save-set-timer'.
9646 Suggested by Reuben Thomas <rrt@sc3d.org> in
9647 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9648
b7260dd4
LL
96492013-04-27 Leo Liu <sdl.web@gmail.com>
9650
9651 * progmodes/octave.el (octave-function-file-p)
9652 (octave-skip-comment-forward, octave-function-file-comment)
9653 (octave-update-function-file-comment): New functions.
9654 (octave-mode-map): Bind C-c ; to
9655 octave-update-function-file-comment.
9656 (octave-mode-menu): Add octave-update-function-file-comment.
9657 (octave-mode, inferior-octave-mode): Fix doc-string.
9658 (octave-insert-defun): Conform to Octave's coding convention.
9659 (Bug#14285)
9660
9661 * files.el (basic-save-buffer): Don't let errors in
9662 before-save-hook prevent saving buffer.
9663
c46da669
RW
96642013-04-20 Roland Winkler <winkler@gnu.org>
9665
9666 * faces.el (read-face-name): Use completing-read if arg multiple
9667 is nil.
9668
a81ee1eb
IL
96692013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9670
9671 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9672 displayed, move point to after the totals line.
9673 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9674 for the details.
9675
4fac34ce
SM
96762013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9679 Add current dir to the load-path.
9680 (package-generate-autoloads): Don't rely on
9681 autoload-ensure-default-file.
9682
f6bfc063
RT
96832013-04-26 Reuben Thomas <rrt@sc3d.org>
9684
d40ab5cf
BG
9685 * textmodes/remember.el (remember-store-in-files): Document that
9686 the file name format is passed to `format-time-string'.
f6bfc063 9687
e55d3b04
LL
96882013-04-26 Leo Liu <sdl.web@gmail.com>
9689
9690 * progmodes/octave.el (octave-sync-function-file-names): New function.
9691 (octave-mode): Use it in before-save-hook.
9692
e53052d3
SM
96932013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9694
140ef50c
SM
9695 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9696 (bug#14274).
9697
e53052d3
SM
9698 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9699 \n and comment, even if it's not an implicit ; (bug#14218).
9700
af80458d 97012013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9702
9703 * subr.el (read-number): Once more use `read' rather than
9704 `string-to-number', to trap non-numeric input. (Bug#14254)
9705
af80458d 97062013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9707
9708 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9709 Use `syntax-multiline' text property consistently instead of
8a621d53 9710 `font-lock-multiline'. (Bug#14237)
70203c2e 9711
e6ea1f6c
GM
97122013-04-26 Glenn Morris <rgm@gnu.org>
9713
9714 * emacs-lisp/shadow.el (list-load-path-shadows):
9715 No longer necessary to check for duplicate simple.el, since
9716 2012-07-07 change to init_lread to not include installation lisp
9717 directories in load-path when running uninstalled. (Bug#14270)
9718
070ccca4
LL
97192013-04-26 Leo Liu <sdl.web@gmail.com>
9720
9721 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9722 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9723 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9724 octave-in-string-or-comment-p.
9725 (octave-in-comment-p, octave-in-string-p)
9726 (octave-in-string-or-comment-p): Replace defsubst with defun.
9727
9d1c5fb6
PE
97282013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9729
9730 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9731
c034abda
BG
97322013-04-25 Bastien Guerry <bzg@gnu.org>
9733
9734 * textmodes/remember.el (remember-data-directory)
9735 (remember-directory-file-name-format): Fix custom types.
9736
584ea277
LL
97372013-04-25 Leo Liu <sdl.web@gmail.com>
9738
e53052d3
SM
9739 * progmodes/octave.el (octave-completion-at-point-function):
9740 Make use of inferior octave process.
584ea277
LL
9741 (octave-initialize-completions): Remove.
9742 (inferior-octave-completion-table): New function.
9743 (inferior-octave-completion-at-point): Use it.
9744 (octave-completion-alist): Remove.
9745
1693b06a
SM
97462013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9749 (opascal-mode-syntax-table): New var.
9750 (opascal-literal-kind, opascal-is-literal-end)
9751 (opascal-literal-token-at): Rewrite.
9752 (opascal--literal-start-re, opascal-font-lock-keywords)
9753 (opascal--syntax-propertize): New constants.
9754 (opascal-font-lock-defaults): Adjust.
9755 (opascal-mode): Use them. Set comment-<foo> variables as well.
9756 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9757 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9758 (delphi-other-face, opascal-other-face): Remove face variables.
9759 (opascal-save-state): Remove macro.
9760 (opascal-fontifying-progress-step): Remove constant.
9761 (opascal--ignore-changes): Remove var.
9762 (opascal-set-token-property, opascal-parse-next-literal)
9763 (opascal-is-stable-literal, opascal-complete-literal)
9764 (opascal-is-literal-start, opascal-face-of)
9765 (opascal-parse-region, opascal-parse-region-until-stable)
9766 (opascal-fontify-region, opascal-after-change)
9767 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9768 (opascal-debug-parse-region, opascal-debug-parse-window)
9769 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9770 (opascal-debug-fontify-buffer): Remove.
9771 (opascal-debug-mode-map): Adjust accordingly.
9772
be64c05d
LL
97732013-04-25 Leo Liu <sdl.web@gmail.com>
9774
9775 Merge octave-mod.el and octave-inf.el into octave.el with some
9776 cleanups.
9777 * progmodes/octave.el: New file renamed from octave-mod.el.
9778 * progmodes/octave-inf.el: Merged into octave.el.
9779 * progmodes/octave-mod.el: Renamed to octave.el.
9780
d79d37bd
TH
97812013-04-25 Tassilo Horn <tsdh@gnu.org>
9782
9783 * textmodes/reftex-vars.el
9784 (reftex-label-ignored-macros-and-environments): New defcustom.
9785
9786 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9787
ced3fc5d
SM
97882013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9791 (smie-indent-keyword): Improve the check to ensure that the next
9792 comment is really on the same line.
9793 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9794
9795 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9796 semi-colons if the line is not otherwise empty (bug#14218).
9797
1c141dad
GM
97982013-04-25 Glenn Morris <rgm@gnu.org>
9799
9800 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9801
5058062a
SM
98022013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * progmodes/opascal.el (opascal-set-token-property): Rename from
9805 opascal-set-text-properties and only set `token' (bug#14134).
9806 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9807 (opascal-literal-text-properties): Remove.
9808 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9809 Adjust callers.
9810
5db9dace 98112013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9812
9813 * textmodes/remember.el (remember-handler-functions): Add an
9814 option for a new handler `remember-store-in-files'.
9815 (remember-data-directory, remember-directory-file-name-format):
9816 New options.
9817 (remember-store-in-files): New function to store remember notes
9818 as separate files within a directory.
9819
4391916c
MH
98202013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9821
9822 * progmodes/compile.el (compilation-next-error-function):
9823 Pass "formats" to compilation-find-file (bug#11777).
9824
bb7cdf58
GM
98252013-04-24 Glenn Morris <rgm@gnu.org>
9826
3b8fe752 9827 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9828 * vc/vc-hg.el (vc-hg-print-log):
9829 * vc/vc-svn.el (vc-svn-print-log):
9830 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9831
bb7cdf58
GM
9832 * vc/vc-bzr.el (vc-bzr-print-log):
9833 * vc/vc-cvs.el (vc-cvs-print-log):
9834 * vc/vc-git.el (vc-git-print-log):
9835 * vc/vc-hg.el (vc-hg-print-log):
9836 * vc/vc-mtn.el (vc-mtn-print-log):
9837 * vc/vc-rcs.el (vc-rcs-print-log):
9838 * vc/vc-sccs.el (vc-sccs-print-log):
9839 * vc/vc-svn.el (vc-svn-print-log):
9840 * vc/vc.el (vc-print-log-internal): Doc fixes.
9841
b46a056e
GM
98422013-04-23 Glenn Morris <rgm@gnu.org>
9843
9844 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9845 Remove venerable code attempting to avoid substitute-command-keys.
9846
0aecf718
TH
98472013-04-23 Tassilo Horn <tsdh@gnu.org>
9848
4391916c
MH
9849 * textmodes/reftex-vars.el (reftex-label-regexps):
9850 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9851
117f94cf
SM
98522013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9853
4391916c 9854 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9855 Use lexical-binding.
9856 (jit-lock-force-redisplay): Use markers, check buffer's continued
9857 existence and beware narrowed buffers.
9858 (jit-lock-fontify-now): Adjust call accordingly.
9859
1d829c64
SM
98602013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9863 to avoid misleading the user.
9864
72d548a9
LL
98652013-04-22 Leo Liu <sdl.web@gmail.com>
9866
9867 * info-look.el: Prefer latex2e.info. (Bug#14240)
9868
d0853629
MA
98692013-04-22 Michael Albinus <michael.albinus@gmx.de>
9870
9871 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9872
9873 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9874 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9875 (tramp-set-completion-function, tramp-parse-putty):
9876 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9877 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9878 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9879 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9880 (tramp-call-local-coding-command): Use `tramp-call-process'
9881 instead of `tramp-compat-call-process'.
9882
9883 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9884 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9885 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9886 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9887 (tramp-maybe-send-script): Check for Perl binary.
9888 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9889
38cc0210
DU
98902013-04-22 Daiki Ueno <ueno@gnu.org>
9891
9892 * epg.el (epg-context-pinentry-mode): New function.
9893 (epg-context-set-pinentry-mode): New function.
9894 (epg--start): Pass --pinentry-mode option to gpg command.
9895
cc641ee1
XF
98962013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9897
02d844b5 9898 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9899 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9900 `completion-at-point'. (Bug#13774)
5d4e5c31 9901
cc641ee1
XF
9902 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9903 default key binding for `describe-distribution' has been moved to
9904 `C-h C-o'. (Bug#13970)
9905
1b42ee43
GM
99062013-04-21 Glenn Morris <rgm@gnu.org>
9907
9908 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9909 Add doc strings.
9910 (vc-print-log): Clarify interactive prompt.
9911
a6d63d97
GM
99122013-04-20 Glenn Morris <rgm@gnu.org>
9913
9914 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9915 No longer include timestamp etc information.
9916
d7f5c16f
RW
99172013-04-20 Roland Winkler <winkler@gnu.org>
9918
9919 * faces.el (read-face-name): Bug fix, return just one face if arg
9920 multiple is nil. (Bug#14209)
9921
bcd7a0a4
SM
99222013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9925 (remove-function): Autoload.
9926
9927 * comint.el (comint-redirect-original-filter-function): Remove.
9928 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9929 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9930 (vc-cvs-annotate-command):
bcd7a0a4
SM
9931 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9932 * progmodes/prolog.el (prolog-consult-compile):
9933 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9934 Use add/remove-function instead.
9935 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9936 (gud-tooltip-process-output, gud-tooltip-tips):
9937 Use add/remove-function instead.
9938 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9939 (scheme-interaction-mode, exit-scheme-interaction-mode):
9940 Use add/remove-function instead.
9941
9942 * vc/vc-dispatcher.el: Use lexical-binding.
9943 (vc--process-sentinel): Rename from vc-process-sentinel.
9944 Change last arg to be the code to run. Don't use vc-previous-sentinel
9945 and vc-sentinel-commands any more.
9946 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9947 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9948
e36b2d20 99492013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9950
bcd7a0a4 9951 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9952 Handle function names with a single character. (Bug#14111)
4d3268ba 9953
781b4af6 99542013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9955
9956 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9957 for subroutines defined in an eval (bug#14182).
9958
7d688336
TV
99592013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9960
9961 * bookmark.el (bookmark-completing-read): Improve handling of empty
9962 string (bug#14176).
9963
31dcede0
SM
99642013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9967
adc31213
FEG
99682013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9969
9970 New faster Imenu implementation (bug#14058).
9971 * progmodes/python.el:
9972 (python-imenu-prev-index-position):
9973 (python-imenu-format-item-label-function)
9974 (python-imenu-format-parent-item-label-function)
9975 (python-imenu-format-parent-item-jump-label-function):
9976 New vars.
9977 (python-imenu-format-item-label)
9978 (python-imenu-format-parent-item-label)
9979 (python-imenu-format-parent-item-jump-label)
9980 (python-imenu--put-parent, python-imenu--build-tree)
9981 (python-imenu-create-index, python-imenu-create-flat-index)
9982 (python-util-popn): New functions.
9983 (python-mode): Set imenu-create-index-function to
9984 python-imenu-create-index.
9985
cdca8255
SM
99862013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * winner.el (winner-active-region): Use region-active-p, activate-mark
9989 and deactivate-mark (bug#14225).
9990
9991 * simple.el (deactivate-mark): Don't inline it.
9992
beb42340
MA
99932013-04-18 Michael Albinus <michael.albinus@gmx.de>
9994
9995 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9996
fc7f4d7e
TH
99972013-04-18 Tassilo Horn <tsdh@gnu.org>
9998
9999 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10000 file extensions from the archive-mode entry in order to prefer
10001 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10002
29f47822
LL
100032013-04-18 Leo Liu <sdl.web@gmail.com>
10004
10005 * bindings.el (help-event-list): Add ?\?.
10006
d36ed1c8
SM
100072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * subr.el (with-wrapper-hook): Declare obsolete.
10010 * simple.el (filter-buffer-substring-function): New hook.
10011 (filter-buffer-substring): Use it.
10012 (filter-buffer-substring-functions): Mark obsolete.
10013 * minibuffer.el (completion-in-region-function): New hook.
10014 (completion-in-region): Use it.
10015 (completion-in-region-functions): Mark obsolete.
10016 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10017 * abbrev.el (abbrev-expand-function): New hook.
10018 (expand-abbrev): Use it.
10019 (abbrev-expand-functions): Mark obsolete.
10020 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10021 and :filter-return.
10022
04754d36
FEG
100232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10024
10025 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10026 and do not care about match data.
10027
dd8791e9
SM
100282013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10031 completion tables when completing error conditions and
10032 `declare' arguments.
10033 (lisp-complete-symbol, field-complete): Mark as obsolete.
10034 (check-parens): Unmatched parens are user errors.
10035 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10036
ffe54a13
AM
100372013-04-17 Michal Nazarewicz <mina86@mina86.com>
10038
dd8791e9
SM
10039 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10040 command changed buffer (ie. `flyspell-pre-buffer' is not current
10041 buffer), which prevents making decisions based on invalid value of
10042 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10043 cause an error when `flyspell-pre-point' was nil after switching
10044 buffers.
10045 (flyspell-post-command-hook): No longer needs to change buffers when
10046 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10047
ec7e39f2
AM
100482013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10049
10050 * textmodes/ispell.el (ispell-add-per-file-word-list):
10051 Fix `flyspell-correct-word-before-point' error when accepting
10052 words and `coment-padding' is an integer by using
10053 `comment-normalize-vars' (Bug #14214).
10054
083850a6
FEG
100552013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10056
10057 New defun movement commands.
10058 * progmodes/python.el (python-nav--syntactically)
10059 (python-nav--forward-defun, python-nav-backward-defun)
10060 (python-nav-forward-defun): New functions.
10061
619ed6e1
FEG
100622013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10063
10064 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10065 (python-syntax-context): Use named compiler-macro for backwards
10066 compatibility with Emacs 24.x.
10067
7a1beb6c
LL
100682013-04-17 Leo Liu <sdl.web@gmail.com>
10069
10070 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10071 octave-hide-process-buffer.
10072
2d3fa3e5
SM
100732013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10076 (bug#14216).
10077
7ce5be54
JPG
100782013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10079
10080 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10081 Fix adjustment of offset when receiving incomplete responses from GDB
10082 (bug#14129).
10083
351edece
SM
100842013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10087 python-mode-abbrev-table.
10088 (python-skeleton-define): Adjust accordingly.
10089 (python-mode-abbrev-table): New table that inherits from it so that
10090 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10091
10092 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10093 (abbrev-symbol): Use it.
10094 (abbrev--before-point): Use it since we already handle inheritance.
10095
613f9481
LL
100962013-04-16 Leo Liu <sdl.web@gmail.com>
10097
10098 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10099 binding to info-lookup-symbol.
10100
51646b62
JB
101012013-04-16 Juanma Barranquero <lekktu@gmail.com>
10102
10103 * minibuffer.el (completion--twq-all):
10104 * term/ns-win.el (ns-initialize-window-system):
10105 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10106
efb3f01d
SM
101072013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10108
36c0a301
SM
10109 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10110 global bindings.
10111
efb3f01d
SM
10112 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10113
fb549d64
DG
101142013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10115
10116 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10117 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10118 to nil.
10119 (ruby-end-of-defun): Remove the unused arg, change the docstring
10120 to reflect that this function is only used as the value of
10121 `end-of-defun-function'.
10122 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10123 to reflect an earlier change that beginning/end-of-defun functions
10124 jump between methods in a class definition, as well as top-level
10125 functions.
10126
21e8fe2f
SM
101272013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * minibuffer.el (minibuffer-complete): Don't just scroll
10130 a *Completions* that's been iconified.
10131 (minibuffer-force-complete): Make sure repetitions do cycle when going
10132 through completion-in-region -> minibuffer-complete.
10133
20e527d0
AM
101342013-04-15 Alan Mackenzie <acm@muc.de>
10135
10136 Correct the placement of c-cpp-delimiters when there're #s not at
10137 col 0.
10138
10139 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10140 place a submatch around the #.
21e8fe2f
SM
10141 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10142 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10143 on the #, not BOL.
10144
dabefae5
SM
101452013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10148 (advice--member-p): New arg `name'.
10149 (advice--add-function, advice-member-p): Use it (bug#14202).
10150
85c9ab64
AM
101512013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10152
10153 Reformulate java imenu-generic-expression.
10154 The old expression contained ill formed regexps.
10155
10156 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10157 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10158 (cc-imenu-java-method-arg-regexp): New defconsts.
10159 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10160 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10161 handling of spaces in the regexp.
10162
0f821d99
AM
101632013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10164
10165 * textmodes/ispell.el (ispell-command-loop): Remove
10166 flyspell highlight of a word when ispell accepts it (bug #14178).
10167
eb922adf
MA
101682013-04-15 Michael Albinus <michael.albinus@gmx.de>
10169
10170 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10171 uses code from the previous `ange-ftp-run-real-handler'.
10172 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10173 only in case that function exist. This is needed for proper
10174 unloading of Tramp.
10175
4d9a0979
TH
101762013-04-15 Tassilo Horn <tsdh@gnu.org>
10177
10178 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10179
10180 * textmodes/reftex.el (reftex-compile-variables): Use it.
10181
a829b0dc
SM
101822013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10183
91e8293c
SM
10184 * files.el (normal-mode): Only use default major-mode if no other mode
10185 was specified.
10186
830aed4d
SM
10187 * emacs-lisp/trace.el (trace-values): New function.
10188
a829b0dc
SM
10189 * files.el: Allow : in local variables (bug#14089).
10190 (hack-local-variable-regexp): New var.
10191 (hack-local-variables-prop-line, hack-local-variables): Use it.
10192
7ae9f0fb
RW
101932013-04-13 Roland Winkler <winkler@gnu.org>
10194
10195 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10196 data before it gets modified by bibtex-beginning-of-entry.
10197
6646e848
RW
101982013-04-13 Roland Winkler <winkler@gnu.org>
10199
10200 * textmodes/bibtex.el (bibtex-url): Doc fix.
10201
102022013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10203
10204 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10205 does not visit a BibTeX file, exclude it from the list of buffers
10206 returned by bibtex-initialize.
10207
0aa3616e
SB
102082013-04-13 Stephen Berman <stephen.berman@gmx.net>
10209
10210 * window.el (split-window): Remove interactive form, since as a
10211 command this function is a special case of split-window-below.
10212 Correct doc string.
10213
011cddd6
RW
102142013-04-12 Roland Winkler <winkler@gnu.org>
10215
10216 * faces.el (read-face-name): Do not override value of arg default.
10217 Allow single faces and strings as default values. Remove those
10218 elements from return value that are not faces.
10219 (describe-face): Simplify.
10220 (face-at-point): New optional args thing and multiple so that this
10221 function can provide the same functionality previously provided by
10222 read-face-name.
10223 (make-face-bold, make-face-unbold, make-face-italic)
10224 (make-face-unitalic, make-face-bold-italic, invert-face)
10225 (modify-face, read-face-and-attribute): Use face-at-point.
10226
10227 * cus-edit.el (customize-face, customize-face-other-window)
10228 * cus-theme.el (custom-theme-add-face)
10229 * face-remap.el (buffer-face-set)
10230 * facemenu.el (facemenu-set-face): Use face-at-point.
10231
f24e0036
MA
102322013-04-12 Michael Albinus <michael.albinus@gmx.de>
10233
10234 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10235
da3cda2d
TH
102362013-04-10 Tassilo Horn <tsdh@gnu.org>
10237
10238 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10239 off leading { and trailing } from field values.
10240
15e54145
SM
102412013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10242
78ce603d
SM
10243 * emacs-lisp/timer.el (timer--check): New function.
10244 (timer--time, timer-set-function, timer-event-handler): Use it.
10245 (timer-set-idle-time): Simplify.
10246 (timer--activate): CSE.
10247 (timer-event-handler): Give more info in error message.
10248 (internal-timer-start-idle): New function, moved from C.
10249
15e54145
SM
10250 * mpc.el (mpc-proc): Add `restart' argument.
10251 (mpc-proc-cmd): Use it.
10252 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10253 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10254 less often.
10255
7144c627
MY
102562013-04-10 Masatake YAMATO <yamato@redhat.com>
10257
10258 * progmodes/sh-script.el: Implement `sh-mode' own
10259 `add-log-current-defun-function' (bug#14112).
10260 (sh-current-defun-name): New function.
10261 (sh-mode): Use the function.
10262
b39792eb
BG
102632013-04-09 Bastien Guerry <bzg@gnu.org>
10264
10265 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10266
8acdeb71
SM
102672013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10268
6fcdab68
SM
10269 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10270
8acdeb71
SM
10271 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10272 timer (bug#14156).
10273
e3e7b504
NF
102742013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10275
10276 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10277 declaration.
10278
201bb296
LL
102792013-04-07 Leo Liu <sdl.web@gmail.com>
10280
10281 * pcmpl-x.el: New file.
10282
ebb19708
DA
102832013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10284
10285 Do not set x-display-name until X connection is established.
10286 This is needed to prevent from weird situation described at
10287 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10288 * frame.el (make-frame): Set x-display-name after call to
10289 window system initialization function, not before.
10290 * term/x-win.el (x-initialize-window-system): Add optional
10291 display argument and use it.
10292 * term/w32-win.el (w32-initialize-window-system):
10293 * term/ns-win.el (ns-initialize-window-system):
10294 * term/pc-win.el (msdos-initialize-window-system):
10295 Add compatible optional display argument.
10296
33bb237a
EZ
102972013-04-06 Eli Zaretskii <eliz@gnu.org>
10298
10299 * files.el (normal-backup-enable-predicate): On MS-Windows and
10300 MS-DOS compare truenames of temporary-file-directory and of the
10301 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10302 don't fail comparison by compare-strings. Also, compare file
10303 names case-insensitively on MS-Windows and MS-DOS.
10304
134abf1f
SM
103052013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10308 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10309
d695cb94
DG
103102013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10311
e3e7b504
NF
10312 * whitespace.el (whitespace-color-on, whitespace-color-off):
10313 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10314
f4ad7ea1 103152013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10316
10317 * ispell.el (ispell-set-spellchecker-params):
10318 Really set `ispell-args' for all equivs.
10319
632556e4
SM
103202013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * ido.el (ido-completions): Use extra elements of ido-decorations
10323 (bug#14143).
10324 (ido-decorations): Update docstring.
10325
2a417372
MA
103262013-04-05 Michael Albinus <michael.albinus@gmx.de>
10327
10328 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10329 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10330 nil during initialization, in order not to miss changes since the
10331 file was opened. (Bug#14140)
10332
fc164b0c
LL
103332013-04-05 Leo Liu <sdl.web@gmail.com>
10334
10335 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10336
0ccecc08
JB
103372013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10338
10339 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10340
51af1aa2
GM
103412013-04-04 Glenn Morris <rgm@gnu.org>
10342
10343 * electric.el (electric-pair-inhibit-predicate): Add :version.
10344
b208ebc6
SM
103452013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10348 when a package is required several times (bug#14082).
10349
f3d3eaf0
RW
103502013-04-04 Roland Winkler <winkler@gnu.org>
10351
10352 * faces.el (read-face-name): Behave as promised by the docstring.
10353 Assume that arg default is a list of faces.
10354 (describe-face): Call read-face-name with list of default faces.
10355
2575da50
TV
103562013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10357
10358 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10359 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10360 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10361 the header.
10362 (bookmark-exit-hook-internal): Save even if list is empty.
10363
397703b4
YH
103642013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10365
10366 * emacs-lisp/package.el (package-pinned-packages): New var.
10367 (package--add-to-archive-contents): Obey it (bug#14118).
10368
691e26ae
AM
103692013-04-03 Alan Mackenzie <acm@muc.de>
10370
8a621d53
JB
10371 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10372 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10373
10374 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10375 parameter `not-in-delimiter'. Handle being inside comment opener.
10376 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10377 character in case we're typing a '*' after a '/'.
10378 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10379 instead by passing the parameter to c-state-pp-to-literal.
10380
10381 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10382 for elt. 7 of a parse state.
10383
4b725a70
PE
103842013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10385
10386 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10387 * international/latin1-disp.el, international/mule-util.el:
10388 * language/cyril-util.el, language/european.el, language/ind-util.el:
10389 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10390 * language/tibetan.el, language/viet-util.el:
10391 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10392
15c579f0
SM
103932013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10396 (electric-pair-post-self-insert-function): Use it.
10397 (electric-pair-default-inhibit): New function, extracted from
10398 electric-pair-post-self-insert-function.
10399
a77e2924
RW
104002013-03-31 Roland Winkler <winkler@gnu.org>
10401
10402 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10403
2bd8a4a8
SM
104042013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10407
8d3655be 104082013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10409
10410 Un-indent after "pass" and "return" statements (Bug#13888)
10411 * progmodes/python.el (python-indent-block-enders): New var.
10412 (python-indent-calculate-indentation): Use it.
10413
8d3655be 104142013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10415
10416 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10417 defun. Defining it as defalias could introduce too eager
10418 byte-compiler optimization. (Bug#14030)
10419
8d3655be 104202013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10421
10422 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10423
0b1619da
LL
104242013-03-30 Leo Liu <sdl.web@gmail.com>
10425
10426 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10427 (kmacro-execute-from-register): Pass the keyboard macro to
10428 kmacro-call-macro or repeating won't work correctly.
10429
0b938190
TZ
104302013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10431
10432 * progmodes/subword.el: Back to using `forward-symbol'.
10433
10434 * subr.el (forward-whitespace, forward-symbol)
10435 (forward-same-syntax): Move from thingatpt.el.
10436
35710234
LL
104372013-03-29 Leo Liu <sdl.web@gmail.com>
10438
10439 * kmacro.el (kmacro-to-register): New command.
10440 (kmacro-execute-from-register): New function.
10441 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10442
efc0bb73
SM
104432013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10444
10445 * mpc.el: Use defvar-local and setq-local.
10446 (mpc--proc-connect): Connection failures are not bugs.
10447 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10448 (mpc-volume-map): Bind to the up-events.
10449
75a2f981
TZ
104502013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10451
10452 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10453 instead of `forward-symbol'.
10454
17c781d1
SM
104552013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10458 (edebug--recursive-edit): Use it.
10459 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10460 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10461
f67bfbcf
LL
104622013-03-28 Leo Liu <sdl.web@gmail.com>
10463
10464 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10465
b59f639d
EZ
104662013-03-27 Eli Zaretskii <eliz@gnu.org>
10467
10468 * facemenu.el (list-colors-callback): New defvar.
10469 (list-colors-redisplay): New function.
10470 (list-colors-display): Install list-colors-redisplay as the
10471 revert-buffer-function. (Bug#14063)
10472
f557c1b1
SM
104732013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10474
b1da2957
SM
10475 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10476 and suffixes don't overlap (bug#14061).
10477
f557c1b1
SM
10478 * case-table.el: Use lexical-binding.
10479 (case-table-get-table): New function.
10480 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10481
002668e1
TZ
104822013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10483
10484 * progmodes/subword.el: Add `superword-mode' to do word motion
10485 over symbol_words (parallels and leverages `subword-mode' which
10486 does word motion inside MixedCaseWords).
10487
73572c72
AG
104882013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10489
78b8f320 10490 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10491 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10492
69b2c07e
SM
104932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10496 Change return value to be a sexp. Delay `get-buffer' to after
10497 restoring the desktop (bug#13951).
10498
08bb5ee2
LL
104992013-03-26 Leo Liu <sdl.web@gmail.com>
10500
10501 * register.el: Move semantic tag handling back to
10502 cedet/semantic/senator.el. (Bug#14052)
10503
8d4c974e
SM
105042013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10505
10506 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10507 into the prompt either (bug#13963).
10508
b234d92c
SM
105092013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10512 part of "(error-foo)".
10513
ddfa3cb4
JL
105142013-03-24 Juri Linkov <juri@jurta.org>
10515
10516 * replace.el (list-matching-lines-prefix-face): New defcustom.
10517 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10518 `occur-engine' if `face-differs-from-default-p' returns t.
10519 (occur-engine): Add `,' inside backquote construct to evaluate
10520 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10521 Pass `prefix-face' to the functions `occur-context-lines' and
10522 `occur-engine-add-prefix'.
10523 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10524 `prefix-face' and propertize the prefix with `prefix-face'.
10525 (Bug#14017)
10526
7b0e2f85
LL
105272013-03-24 Leo Liu <sdl.web@gmail.com>
10528
10529 * nxml/rng-valid.el (rng-validate-while-idle)
10530 (rng-validate-quick-while-idle): Guard against deleted buffer.
10531 (Bug#13999)
10532
10533 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10534 is the last entry in kill-buffer-hook.
10535
10536 * files.el (kill-buffer-hook): Doc fix.
10537
b3082f49
DG
105382013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10539
b234d92c
SM
10540 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10541 Make it safe-local.
bde73d27 10542
b3082f49
DG
10543 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10544
a320a2db
LL
105452013-03-23 Leo Liu <sdl.web@gmail.com>
10546
7e74b0fb
LL
10547 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10548 Remove.
10549
10550 * nxml/rng-valid.el (rng-validate-mode)
10551 (rng-after-change-function, rng-do-some-validation):
10552 * nxml/rng-maint.el (rng-validate-buffer):
10553 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10554 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10555 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10556 (nxml-extend-after-change-region): Use with-silent-modifications.
10557
a320a2db
LL
10558 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10559 timer-idle-list.
10560
10561 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10562 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10563 timer-idle-list. (Bug#13999)
10564
e38e6780
JL
105652013-03-23 Juri Linkov <juri@jurta.org>
10566
10567 * info.el (info-index-match): New face.
10568 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10569 main pattern and add text properties with the new face to matches
10570 in index entries relative to the beginning of the index entry.
10571 (Bug#14015)
10572
e8cc7880
DE
105732013-03-21 Eric Ludlam <zappo@gnu.org>
10574
10575 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10576 Inhibit read only while inserting objects.
10577
9bb0d822
TZ
105782013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10579
10580 * progmodes/cfengine.el: Update docs to mention
10581 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10582 symbol motion. Remove "_" from the word syntax.
10583
aa703640
TZ
105842013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10585
10586 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10587 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10588
afff09d0
JL
105892013-03-20 Juri Linkov <juri@jurta.org>
10590
10591 * info.el (Info-next-reference-or-link)
10592 (Info-prev-reference-or-link): New functions.
10593 (Info-next-reference, Info-prev-reference): Use them.
10594 (Info-try-follow-nearest-node): Handle footnote navigation.
10595 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10596
9a1ff164
SM
105972013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10600 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10601
2667d15d
PE
106022013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10603
10604 Suppress unnecessary non-ASCII chatter during build process.
10605 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10606 (batch-skkdic-convert): Suppress most of the chatter.
10607 It's not needed so much now that machines are faster,
10608 and its non-ASCII component was confusing; see Dmitry Gutov in
10609 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10610
438b0579
LL
106112013-03-20 Leo Liu <sdl.web@gmail.com>
10612
10613 * ido.el (ido-chop): Fix bug#10994.
10614
c128ab07
DG
106152013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10616
10617 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10618 Remove vars.
9a1ff164
SM
10619 (whitespace-color-on, whitespace-color-off):
10620 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10621
0e6008c5
SM
106222013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10625 remapping in mode-line.
10626 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10627
627b52b0
DG
106282013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10629
10630 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10631 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10632 (whitespace-font-lock-keywords): Change description.
10633 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10634 the constructed keywords instead.
10635 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10636
50c3a20b
LL
106372013-03-19 Leo Liu <sdl.web@gmail.com>
10638
10639 * progmodes/compile.el (compilation-display-error): New command.
10640 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10641 C-o. (Bug#13992)
10642
2aa2157b
PE
106432013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10644
10645 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10646
e477dbfa
JD
106472013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10648
10649 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10650
64ab82d1
MA
106512013-03-18 Michael Albinus <michael.albinus@gmx.de>
10652
10653 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10654
10655 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10656 * net/tramp-gvfs.el (top):
10657 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10658 (tramp-handle-shell-command): Use it.
10659 (tramp-dissect-file-name): Raise an error when hostname is a
10660 method name, and neither method nor user is specified.
10661
10662 * net/trampver.el: Update release number.
10663
33cef733
LL
106642013-03-18 Leo Liu <sdl.web@gmail.com>
10665
10666 Make sure eldoc can be turned off properly.
10667 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10668 eldoc-mode.
10669 (eldoc-display-message-p): Revert last change.
10670 (eldoc-display-message-no-interference-p)
10671 (eldoc-print-current-symbol-info): Tweak.
10672
2167b7b2
TH
106732013-03-18 Tassilo Horn <tsdh@gnu.org>
10674
10675 * doc-view.el (doc-view-new-window-function): Check the new window
10676 overlay's display property instead the char property of the
10677 buffer's first char. Use `with-selected-window' instead of
10678 `save-window-excursion' with `select-window'.
10679 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10680 display property instead the char property of the buffer's first char.
2167b7b2 10681
982efbcd
PE
106822013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10683
10684 Automate the build of ja-dic.el (Bug#13984).
10685 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10686 from the input, rather than assume that it's been done for us by the
10687 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10688 the current date into a ja-dic.el comment, as that complicates
10689 regression testing.
10690
2fcc7665
SM
106912013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 * whitespace.el: Fix double evaluation.
10694 (whitespace-space, whitespace-hspace, whitespace-tab)
10695 (whitespace-newline, whitespace-trailing, whitespace-line)
10696 (whitespace-space-before-tab, whitespace-indentation)
10697 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10698 obsolete defvars.
10699 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10700 (whitespace-color-on): Use a single font-lock-add-keywords call.
10701 Fix double-evaluation of face variables.
10702
67c0a6e6
MA
107032013-03-17 Michael Albinus <michael.albinus@gmx.de>
10704
2fcc7665
SM
10705 * net/tramp-adb.el (tramp-adb-parse-device-names):
10706 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10707 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10708
69489f1d
LL
107092013-03-17 Leo Liu <sdl.web@gmail.com>
10710
10711 Extend eldoc to display info in the mode-line. (Bug#13978)
10712 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10713 (eldoc-mode-line-string): New variable.
10714 (eldoc-minibuffer-message): New function.
10715 (eldoc-message-function): New variable.
10716 (eldoc-message): Use it.
10717 (eldoc-display-message-p)
2fcc7665
SM
10718 (eldoc-display-message-no-interference-p):
10719 Support eldoc-post-insert-mode.
69489f1d
LL
10720
10721 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10722 (eval-expression): Run it.
10723
9c44569e
RW
107242013-03-17 Roland Winkler <winkler@gnu.org>
10725
10726 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10727 strings in the list of return values.
10728
327f1f6f
JB
107292013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10730
10731 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10732 radix before checking for HMS forms.
10733
67ed8fcd
LL
107342013-03-16 Leo Liu <sdl.web@gmail.com>
10735
10736 * progmodes/scheme.el: Add indentation and font-locking for λ.
10737 (Bug#13975)
10738
78be8b64 107392013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10740
10741 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10742 token before point (bug#13942).
10743
78be8b64 107442013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10745
95b43468 10746 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10747
98e775e6
EZ
107482013-03-16 Eli Zaretskii <eliz@gnu.org>
10749
10750 * startup.el (command-line-normalize-file-name): Fix handling of
10751 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10752 <xfq.free@gmail.com> in
10753 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10754
2edd6029
MA
107552013-03-15 Michael Albinus <michael.albinus@gmx.de>
10756
10757 Sync with Tramp 2.2.7.
10758
10759 * net/trampver.el: Update release number.
10760
d35f5864
TH
107612013-03-14 Tassilo Horn <tsdh@gnu.org>
10762
e903c210 10763 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10764 (doc-view-insert-image): Don't modify overlay associated to
10765 non-live windows, and implement horizontal centering of image in
10766 case it's smaller than the window.
10767 (doc-view-new-window-function): Force redisplay of new windows on
10768 doc-view buffers.
d35f5864 10769
1c4a85ed
KF
107702013-03-13 Karl Fogel <kfogel@red-bean.com>
10771
10772 * saveplace.el (save-place-alist-to-file): Don't sort
10773 `save-place-alist', just pretty-print it (bug#13882).
10774
85b66a21
MA
107752013-03-13 Michael Albinus <michael.albinus@gmx.de>
10776
a020afb9
JB
10777 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10778 Check whether `default-file-name-coding-system' is bound.
10779 It isn't in XEmacs.
85b66a21 10780
175600da
SM
107812013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10782
e7f7cb1a
SM
10783 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10784 backquotes for `obsolete' (bug#13929).
10785
175600da
SM
10786 * international/mule.el (find-auto-coding): Include file name in
10787 obsolescence warning (bug#13922).
10788
ca68a22e
TZ
107892013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10790
10791 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10792 for CFEngine 3-specific indentation.
10793 (cfengine3-indent-line): Use it. Fix up category regex.
10794 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10795
940e5099
SM
107962013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * type-break.el (type-break-file-name):
10799 * textmodes/remember.el (remember-data-file):
10800 * strokes.el (strokes-file):
10801 * shadowfile.el (shadow-initialize):
10802 * saveplace.el (save-place-file):
10803 * ps-bdf.el (bdf-cache-file):
10804 * progmodes/idlwave.el (idlwave-config-directory):
10805 * net/quickurl.el (quickurl-url-file):
10806 * international/kkc.el (kkc-init-file-name):
10807 * ido.el (ido-save-directory-list-file):
10808 * emulation/viper.el (viper-custom-file-name):
10809 * emulation/vip.el (vip-startup-file):
10810 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10811 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10812
cc725808
PE
108132013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10814
10815 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10816 * language/thai-word.el: Switch to UTF-8.
10817
a020afb9 10818See ChangeLog.16 for earlier changes.
e3d51b27
MR
10819
10820;; Local Variables:
10821;; coding: utf-8
e3d51b27
MR
10822;; End:
10823
ab422c4d 10824 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10825
10826 This file is part of GNU Emacs.
10827
10828 GNU Emacs is free software: you can redistribute it and/or modify
10829 it under the terms of the GNU General Public License as published by
10830 the Free Software Foundation, either version 3 of the License, or
10831 (at your option) any later version.
10832
10833 GNU Emacs is distributed in the hope that it will be useful,
10834 but WITHOUT ANY WARRANTY; without even the implied warranty of
10835 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10836 GNU General Public License for more details.
10837
10838 You should have received a copy of the GNU General Public License
10839 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.