Revert my most-recent change re Solaris.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f4f84024 12013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e
NT
2
3 * progmodes/python.el (python-indent-calculate-indentation): When
4 determining indentation, don't treat "return", "pass", etc., as
5 operators when they are just string constituents. (Bug#15812)
6
d5ccb7be
JL
72013-12-12 Juri Linkov <juri@jurta.org>
8
9 * uniquify.el (uniquify-buffer-name-style): Change default to
10 `post-forward-angle-brackets'.
11
12 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13 `uniquify'. Change default to `post-forward-angle-brackets'.
14
7b3f5679
GM
152013-12-11 Glenn Morris <rgm@gnu.org>
16
17 * emacs-lisp/package.el (finder-list-matches):
18 Autoload rather than falsely declaring.
19
f4fe8fdd
TZ
202013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
21
22 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
23 (eww-mode-map): Use them.
24
3c29190f
MR
252013-12-11 Martin Rudalics <rudalics@gmx.at>
26
27 * window.el (display-buffer-in-side-window): Fix doc-string
28 (Bug#16115).
29
0cd616a2
JB
302013-12-11 Juanma Barranquero <lekktu@gmail.com>
31
32 * vc/vc-git.el: Silence byte-compiler warnings.
33 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
34 (log-edit-set-header): Declare.
35
3ef8e0d1
EZ
362013-12-11 Eli Zaretskii <eliz@gnu.org>
37
38 * Makefile.in (custom-deps, finder-data): Run output file names
39 through unmsys--file-name. (Bug#16099)
40
afdadaf7
SM
412013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
42
7ae3ae39
SM
43 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
44 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
45
5b4f37ab
SM
46 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
47 instead of deleting the selection "by hand" (bug#16098).
48 Rely on insert-for-yank to yank rectangles.
49 (cua-highlight-region-shift-only): Mark obsolete.
50 (cua-mode): Don't enable/disable transient-mark-mode,
51 shift-select-mode (cua-mode works both with and without them), and
52 pc-selection-mode (obsolete).
53 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
54 (cua--deactivate-rectangle): Deactivate it.
55
4b72c12b
SM
56 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
57 (delete-selection-helper): Make sure yank starts at the top of the
58 deleted region.
59 (minibuffer-keyboard-quit): Use region-active-p.
60
e82af72d
SM
61 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
62
afdadaf7
SM
63 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
64 to `delete' (bug#16109).
65
ed4bc201
RS
662013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
67
68 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
69 info manual and show keybindings and set `:group' keyword.
70
bb8097b9
JL
712013-12-11 Juri Linkov <juri@jurta.org>
72
73 * delsel.el (delete-active-region): Let-bind `this-command'
74 to prevent `kill-region' from changing its original value.
75 (delete-selection-helper): Handle `overwrite-mode' for the type
76 `kill' exactly the same way as for the type `t'.
77 (insert-char, quoted-insert, reindent-then-newline-and-indent):
78 Support more commands. (Bug#13312)
79
c1916ff5
JL
802013-12-11 Juri Linkov <juri@jurta.org>
81
82 * bindings.el: Map kp keys to non-kp keys systematically
83 with basic modifiers control, meta and shift. (Bug#14397)
84
b68cf43c
KN
852013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
86
87 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
88 "Close browser" menu items. Fix wrong function of "List
89 bookmarks".
90
4cc51eaf
JL
912013-12-11 Juri Linkov <juri@jurta.org>
92
93 * misearch.el (multi-isearch-buffers): Set the value of
94 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
95 arg of isearch-forward to t.
96 (multi-isearch-buffers-regexp): Set the value of
97 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
98 arg of isearch-forward-regexp to t.
99 (multi-isearch-files): Set the value of
100 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
101 arg of isearch-forward to t.
102 (multi-isearch-files-regexp): Set the value of
103 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
104 arg of isearch-forward-regexp to t. (Bug#16035)
105
106 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
107 arg of isearch-forward to t.
108 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
109 arg of isearch-forward-regexp to t.
110 (dired-isearch-filter-filenames): Remove unnecessary check for
111 `dired-isearch-filenames'.
112
113 * comint.el (comint-history-isearch-backward):
114 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
115 (comint-history-isearch-backward-regexp):
116 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
117
ceac12b7
EZ
1182013-12-10 Eli Zaretskii <eliz@gnu.org>
119
120 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
121 unmsys--file-name. (Bug#16099)
122
5a565782
TZ
1232013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
124
125 * emacs-lisp/package.el (package-keyword-button-action): Remove
126 finder.el require dependency.
127
a81fc7ba
TZ
1282013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
129
130 * emacs-lisp/package.el: Require finder.el.
131 (describe-package-1): Add keyword buttons.
132 (package-make-button): New convenience function.
133 (package-keyword-button-action): Keyword button action using
134 `finder-list-matches'
135
6aaca951
EZ
1362013-12-09 Eli Zaretskii <eliz@gnu.org>
137
138 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
139 last commit.
140
a1099a91
MA
1412013-12-09 Michael Albinus <michael.albinus@gmx.de>
142
143 * autorevert.el (auto-revert-notify-add-watch): Do not handle
144 symlinked files.
145
8212d9c0
DG
1462013-12-09 Dmitry Gutov <dgutov@yandex.ru>
147
148 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
149 after the end of a percent literal.
150
8f48d131
CD
1512013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
152
153 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
154 caret-delimited strings (Bug#16079).
155
ff8c9764
DG
1562013-12-09 Dmitry Gutov <dgutov@yandex.ru>
157
158 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
159 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
160 `ruby-parse-partial' (Bug#16078).
161
d64643b4
LL
1622013-12-09 Leo Liu <sdl.web@gmail.com>
163
164 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
165
47e59c66
DG
1662013-12-08 Dmitry Gutov <dgutov@yandex.ru>
167
168 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
169 (js-switch-indent-offset): New option.
170 (js--proper-indentation): Use it. And handle the case when
171 "default" is actually a key in an object literal.
172 (js--same-line): New function.
173 (js--multi-line-declaration-indentation): Use it.
174 (js--indent-in-array-comp, js--array-comp-indentation): New
175 functions.
176 (js--proper-indentation): Use them, to handle array comprehension
177 continuations.
178
974ebc9c
LL
1792013-12-08 Leo Liu <sdl.web@gmail.com>
180
181 * progmodes/flymake.el (flymake-highlight-line): Re-write.
182 (flymake-make-overlay): Remove arg MOUSE-FACE.
183 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
184
27262e39
SM
1852013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
188 New function.
189 (redisplay-highlight-region-function): Use it.
190
191 * emulation/cua-base.el (cua--explicit-region-start)
192 (cua--last-region-shifted): Remove.
193 (cua--deactivate): Use deactivate-mark.
194 (cua--pre-command-handler-1): Don't handle shift-selection.
195 (cua--post-command-handler-1): Don't change transient-mark-mode.
196 (cua--select-keymaps): Use region-active-p rather than
197 cua--explicit-region-start or cua--last-region-shifted.
198 (cua-mode): Enable shift-select-mode.
199
6407822c
LL
2002013-12-08 Leo Liu <sdl.web@gmail.com>
201
27262e39
SM
202 * progmodes/flymake.el (flymake-popup-current-error-menu):
203 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
204 (flymake-posn-at-point-as-event, flymake-popup-menu)
205 (flymake-make-emacs-menu): Remove. (Bug#16077)
206
00a2b823
SM
2072013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
208
02033d49
SM
209 * rect.el (rectangle-mark-mode): Activate mark even if
210 transient-mark-mode is off (bug#16066).
211 (rectangle--highlight-for-redisplay): Fix boundary condition when point
212 is > mark and at bolp.
213
6f8dfccf
SM
214 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
215 (region-extract-function): Use it.
216 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
217 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
218 Delete functions.
219 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
220 kill-ring-save, kill-region, delete-char, delete-forward-char.
221 Ignore self-insert-iso.
222
223 * emulation/cua-gmrk.el (cua--init-global-mark):
224 Ignore `self-insert-iso'.
225
226 * emulation/cua-base.el (cua--prefix-copy-handler)
227 (cua--prefix-cut-handler): Rely on region-extract-function rather than
228 checking cua--rectangle.
229 (cua-delete-region): Use region-extract-function.
230 (cua-replace-region): Delete function.
231 (cua-copy-region, cua-cut-region): Obey region-extract-function.
232 (cua--pre-command-handler-1): Don't do the delete-selection thing.
233 (cua--self-insert-char-p): Ignore `self-insert-iso'.
234 (cua--init-keymaps): Don't remap delete-selection commands.
235 (cua-mode): Use delete-selection-mode instead of rolling our own
236 (bug#16085).
237
238 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
239 Obey region-extract-function.
240
00a2b823
SM
241 Make registers and delete-selection-mode work on rectangles.
242 * register.el (describe-register-1): Don't modify the register's value.
243 (copy-to-register): Obey region-extract-function.
244 * delsel.el (delete-active-region): Obey region-extract-function.
245
a92fa5f1
LL
2462013-12-08 Leo Liu <sdl.web@gmail.com>
247
248 * progmodes/flymake.el (flymake, flymake-error-bitmap)
249 (flymake-warning-bitmap, flymake-fringe-indicator-position)
250 (flymake-compilation-prevents-syntax-check)
251 (flymake-start-syntax-check-on-newline)
252 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
253 (flymake-start-syntax-check-on-find-file, flymake-log-level)
254 (flymake-xml-program, flymake-master-file-dirs)
255 (flymake-master-file-count-limit)
256 (flymake-allowed-file-name-masks): Relocate.
257 (flymake-makehash, flymake-float-time)
258 (flymake-replace-regexp-in-string, flymake-split-string)
259 (flymake-get-temp-dir): Remove.
260 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
261 (flymake-current-row, flymake-selected-frame)
262 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
263 related functions. (Bug#16077)
264
73c8ceea
BB
2652013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
266
267 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
268
faec28d9
TH
2692013-12-07 Tassilo Horn <tsdh@gnu.org>
270
271 * help-fns.el (describe-function-1): Use new advice-* functions
272 rather than old ad-* functions. Fix function type description and
273 source links for advised functions and subrs.
274
e330b646
LMI
2752013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
276
00a2b823 277 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 278
4803595d
MA
2792013-12-06 Michael Albinus <michael.albinus@gmx.de>
280
281 * progmodes/compile.el (compilation-start):
282 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
283
284 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
285 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
286
fa834a93
DG
2872013-12-06 Dmitry Gutov <dgutov@yandex.ru>
288
00a2b823
SM
289 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
290 Touch up the last change.
fa834a93 291
b2856a6f
LL
2922013-12-06 Leo Liu <sdl.web@gmail.com>
293
294 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
295 (inferior-octave-startup): Always use "octave> " for prompt.
296 (octave-goto-function-definition)
297 (octave-sync-function-file-names)
298 (octave-find-definition-default-filename): Remove redundant backquotes.
299
af67e79a
DG
3002013-12-06 Dmitry Gutov <dgutov@yandex.ru>
301
302 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
303 syntax for `?'.
304 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
305 where appropriate already.
306 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
307 end of method names (Bug#15874).
308
bf093209
JL
3092013-12-06 Juri Linkov <juri@jurta.org>
310
311 * isearch.el (isearch--saved-overriding-local-map):
312 New internal variable.
313 (isearch-mode): Set it to the initial value of
314 `overriding-terminal-local-map'.
315 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
316 with `isearch--saved-overriding-local-map'. (Bug#16035)
317
16588fad
DG
3182013-12-06 Dmitry Gutov <dgutov@yandex.ru>
319
00a2b823
SM
320 * progmodes/octave.el (inferior-octave-completion-table):
321 Turn back into function, use `completion-table-with-cache'
16588fad
DG
322 (Bug#11906). Update all references.
323
324 * minibuffer.el (completion-table-with-cache): New function.
325
bf4906d7
CD
3262013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
327
328 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
329
ff69c18f
TZ
3302013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
331
332 * net/eww.el (eww-current-source): New variable to store page
333 source.
334 (eww-display-html, eww-mode, eww-save-history)
335 (eww-restore-history): Use it.
336 (eww-view-source): New command to view page source.
337 Opportunistically uses `html-mode' to highlight the buffer.
338 (eww-mode-map): Install it.
339
b85eff45
MA
3402013-12-05 Michael Albinus <michael.albinus@gmx.de>
341
342 * net/dbus.el (dbus-unregister-service)
343 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
344 Fix docstring.
345 (dbus-unregister-service): Skip :serial entries in
346 `dbus-registered-objects-table'.
347 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
348
39eb0899
TZ
3492013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
350
351 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
352 around keywords with extra `split-string' argument.
353
456760a5
MR
3542013-12-04 Martin Rudalics <rudalics@gmx.at>
355
356 * windmove.el (windmove-other-window-loc): Handle navigation
357 between windows (excluding the minibuffer window - Bug#16017).
358
81961e4c
MA
3592013-12-04 Michael Albinus <michael.albinus@gmx.de>
360
361 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
362 in D-Bus type syntax.
363 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
364 preserve unibyte strings. (Bug#16048)
365
8497f938
SM
3662013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
369 Call force-mode-line-update is the proper buffer (bug#16042).
370
dda61916
DG
3712013-12-04 Dmitry Gutov <dgutov@yandex.ru>
372
373 * vc/log-edit.el (log-edit-add-new-comment): Rename to
374 `log-edit-remember-comment', make argument optional. Adjust all
375 callers.
376 (log-edit-mode): Add `log-edit-remember-comment' to
377 `kill-buffer-hook' locally.
378 (log-edit-kill-buffer): Don't remember comment explicitly since
379 the buffer is killed anyway.
380
c085e5b9
JL
3812013-12-04 Juri Linkov <juri@jurta.org>
382
383 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
384 add-hook and remove-hook for multi-buffer search. (Bug#16035)
385
d6f2380e
TR
3862013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
387
388 * notifications.el (notifications-close-notification): Call the
81961e4c 389 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 390
39fa32d6
KY
3912013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
392
393 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
394
9139632a
JL
3952013-12-03 Juri Linkov <juri@jurta.org>
396
397 * progmodes/compile.el (compilation-start): Rename window alist
398 entry `no-display-ok' to `allow-no-window'.
399
400 * simple.el (shell-command): Add window alist entry
401 `allow-no-window' to `display-buffer'.
402 (async-shell-command): Doc fix.
403
404 * window.el (display-buffer-no-window): New action function.
405 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
406
0f457a37
DG
4072013-12-02 Dmitry Gutov <dgutov@yandex.ru>
408
409 * vc/log-edit.el (log-edit-set-header): Extract from
410 `log-edit-toggle-header'.
411 (log-edit-extract-headers): Separate the summary, when extracted
412 from header, from the rest of the message with an empty line.
413
414 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
415 line, if present, to the Summary header.
416
0962f376
SM
4172013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
420 in current-buffer (bug#16029).
421
f345395c
HE
4222013-12-02 Helmut Eller <eller.helmut@gmail.com>
423
424 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
425 (debugger-mode-map): Bind it.
426 (debugger--backtrace-base): New function.
427 (debugger-eval-expression): Use it.
428 (debugger-frame-number): Skip local vars when present.
429 (debugger--locals-visible-p, debugger--insert-locals)
430 (debugger--show-locals, debugger--hide-locals): New functions.
431
a8a15d9d
MA
4322013-12-02 Michael Albinus <michael.albinus@gmx.de>
433
434 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
435 "LC_ALL".
436 (tramp-get-remote-locale): New defun.
437 (tramp-open-connection-setup-interactive-shell): Use it.
438
0518b057
LL
4392013-12-02 Leo Liu <sdl.web@gmail.com>
440
441 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
442
443 * progmodes/sh-script.el (sh-shell-process):
444 * progmodes/octave.el (inferior-octave-process-live-p):
445 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
446 (gdb-inferior-io-sentinel):
447 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
448
3adc9c6d
DG
4492013-12-02 Dmitry Gutov <dgutov@yandex.ru>
450
451 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
452 `save-selected-window' to `log-edit-hide-buf'. This makes
453 `log-edit-show-files' idempotent.
454 (log-edit-show-files): Mark the new window as dedicated.
455
47e8b74e
DG
4562013-12-02 Dmitry Gutov <dgutov@yandex.ru>
457
458 * vc/log-edit.el (log-edit-mode-map): Add binding for
459 `log-edit-kill-biffer'.
460 (log-edit-hide-buf): Add a FIXME comment.
461 (log-edit-add-new-comment): New function, extracted from
462 `log-edit-done'.
463 (log-edit-done, log-edit-add-to-changelog): Use it.
464 (log-edit-kill-buffer): New command.
465
1f6e1bb0
LMI
4662013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
467
468 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
469 instead of killing the buffer.
470
fb651d15
SM
4712013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
474
8feacce0
RS
4752013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
476
fb651d15 477 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 478 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
479 (eww-form-checkbox, eww-toggle-checkbox):
480 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
481
482 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
483 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
484 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
485 no :src tag was specified.
486
fb651d15 487 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
488 (eww-render): Handle `eww-use-external-browser-for-content-type'.
489 Use \\` to match beginning of string instead of ^.
490 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 491 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 492
177948a5
RS
493 * net/shr.el (shr-tag-video): Display content for video if no
494 poster is available.
eb2dd24d 495 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
496
497 * net/eww.el (eww-text-input-types): : New const.
498 (eww-process-text-input): Treat input types in
499 `eww-text-input-types' as text.
500
8feacce0
RS
501 * net/shr.el (shr-tag-table): Fix comment typo.
502
513562a1
LMI
5032013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
504
505 * net/eww.el (eww-follow-link): New command to avoid reloading
506 pages when we follow #target links (bug#15243).
de8a5633 507 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 508
9dd99753
KN
5092013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
510
511 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
512 forms.
513
3e9876de
LMI
5142013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
515
516 * net/eww.el (eww-restore-history): Update the window title after
517 moving in the history.
ab6dea82 518 (eww-current-dom): New variable used to save the current DOM.
3e9876de 519
52789f7f
DG
5202013-12-01 Dmitry Gutov <dgutov@yandex.ru>
521
522 * vc/log-edit.el (log-edit-mode-map): Add binding for
523 `log-edit-beginning-of-line'.
524 (log-edit-setup-add-author): New user option.
525 (log-edit-beginning-of-line): New command.
526 (log-edit): Move major mode call above the contents setup so that
527 the local variable values are already applied.
528 (log-edit): Only insert "Author: " when
529 `log-edit-setup-add-author' is non-nil.
530 (log-edit): When SETUP is non-nil, position point after ": "
531 instead of point-min.
532
2e6710c3
GM
5332013-12-01 Glenn Morris <rgm@gnu.org>
534
535 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
536
fadec31f
EZ
5372013-11-30 Eli Zaretskii <eliz@gnu.org>
538
539 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 540 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
541 visible. (Bug#16014)
542
10634b40 5432013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
544
545 Support resizing frames and windows pixelwise.
546 * cus-start.el (frame-resize-pixelwise)
547 (window-resize-pixelwise): New entries.
548 * emacs-lisp/debug.el (debug): Use window-total-height instead
549 of window-total-size.
550 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
551 * help.el (describe-bindings-internal): Call help-buffer
552 (temp-buffer-max-width): New option.
553 (resize-temp-buffer-window, help-window-setup)
554 (with-help-window): Rewrite.
555 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
556 dragging dividers.
557 * window.el (frame-char-size, window-min-pixel-height)
558 (window-safe-min-pixel-height, window-safe-min-pixel-width)
559 (window-min-pixel-width, window-safe-min-pixel-size)
560 (window-combination-p, window-safe-min-size)
561 (window-resizable-p, window--size-to-pixel)
562 (window--pixel-to-size, window--resize-apply-p): New functions.
563 (window-safe-min-height): Fix doc-string.
564 (window-size, window-min-size, window--min-size-1)
565 (window-sizable, window-sizable-p, window--min-delta-1)
566 (window-min-delta, window--max-delta-1, window-max-delta)
567 (window--resizable, window--resizable-p, window-resizable)
568 (window-full-height-p, window-full-width-p, window-at-side-p)
569 (window--in-direction-2, window-in-direction)
570 (window--resize-reset-1, window--resize-mini-window)
571 (window-resize, window-resize-no-error)
572 (window--resize-child-windows-normal)
573 (window--resize-child-windows, window--resize-siblings)
574 (window--resize-this-window, window--resize-root-window)
575 (window--resize-root-window-vertically)
576 (adjust-window-trailing-edge, enlarge-window, shrink-window)
577 (maximize-window, minimize-window, delete-window)
578 (quit-restore-window, window-split-min-size, split-window)
579 (balance-windows-2, balance-windows)
580 (balance-windows-area-adjust, balance-windows-area)
581 (window--state-get-1, window-state-get, window--state-put-1)
582 (window--state-put-2, window-state-put)
fb651d15
SM
583 (display-buffer-record-window, window--display-buffer):
584 Make functions handle pixelwise sizing of windows.
880e6158 585 (display-buffer--action-function-custom-type)
fb651d15
SM
586 (display-buffer-fallback-action):
587 Add display-buffer-in-previous-window.
880e6158
MR
588 (display-buffer-use-some-window): Resize window to height it had
589 before.
590 (fit-window-to-buffer-horizontally): New option.
591 (fit-frame-to-buffer): Describe new values.
592 (fit-frame-to-buffer-bottom-margin): Replace with
593 fit-frame-to-buffer-margins.
594 (window--sanitize-margin): New function.
595 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
596 using window-text-pixel-size.
597
f9b697dd
GM
5982013-11-30 Glenn Morris <rgm@gnu.org>
599
3e2fb4db
GM
600 * emacs-lisp/bytecomp.el (byte-compile-form):
601 Make the `interactive-only' warning like the `obsolete' one.
602 * comint.el (comint-run):
603 * files.el (insert-file-literally, insert-file):
604 * replace.el (replace-string, replace-regexp):
605 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
606 (goto-line, insert-buffer, next-line, previous-line):
607 Tweak `interactive-only' spec.
608
f9b697dd
GM
609 Stop keeping (most) generated cedet grammar files in the repository.
610 * Makefile.in (semantic): New.
611 (compile-main): Depend on semantic.
612
da048127
SM
6132013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
614
7784b779
SM
615 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
616 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
617
4e36a6a6
SM
618 * uniquify.el (uniquify-buffer-name-style): Change default.
619
620 * loadup.el: Preload "uniquify".
621
e0ba1308
SM
622 * time.el (display-time-update): Update all mode lines (bug#15999).
623
da048127
SM
624 * electric.el (electric-indent-mode): Enable by default.
625 * loadup.el: Preload "electric".
626
015b3b3e
BB
6272013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
628
629 * emacs-lisp/helpers.el (string-empty-p): New function.
630 (string-blank-p): New function.
631
7efb806d
AP
6322013-11-29 Andreas Politz <politza@hochschule-trier.de>
633
634 * imenu.el (imenu--index-alist): Add missing dot to the docstring
635 (Bug#14029).
636
c8f0efc2
AP
6372013-11-29 Andreas Politz <politza@fh-trier.de>
638 * imenu.el (imenu--subalist-p): Don't error on non-conses and
639 allow non-lambda lists as functions.
640 (imenu--in-alist): Don't recurse into non-subalists.
641 (imenu): Don't pass function itself as an argument (Bug#14029).
642
bd15d9d1
SM
6432013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * progmodes/python.el (python-mode-map): Remove binding for ":".
646 (python-indent-electric-colon): Remove command.
647 (python-indent-post-self-insert-function): Integrate the previous code
648 of python-indent-electric-colon. Make it conditional on
649 electric-indent-mode.
650 (python-mode): Add ?: to electric-indent-chars.
651 Move python-indent-post-self-insert-function to the end of
652 post-self-insert-hook.
653
1b10adb6
SM
6542013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
655
655ab9a3
SM
656 * doc-view.el (doc-view-goto-page): Update mode-line.
657
1b10adb6
SM
658 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
659
7e3bf78c
GM
6602013-11-27 Glenn Morris <rgm@gnu.org>
661
662 * international/charprop.el, international/uni-bidi.el:
663 * international/uni-category.el, international/uni-combining.el:
664 * international/uni-comment.el, international/uni-decimal.el:
665 * international/uni-decomposition.el, international/uni-digit.el:
666 * international/uni-lowercase.el, international/uni-mirrored.el:
667 * international/uni-name.el, international/uni-numeric.el:
668 * international/uni-old-name.el, international/uni-titlecase.el:
669 * international/uni-uppercase.el:
670 Remove generated files from VCS repository.
671
fb6a5d68
EZ
6722013-11-27 Eli Zaretskii <eliz@gnu.org>
673
674 * filenotify.el (file-notify-add-watch): Don't special-case
675 w32notify when computing the directory to watch.
676
cb6c95a3
GM
6772013-11-27 Glenn Morris <rgm@gnu.org>
678
20372d0c
GM
679 Make bootstrap without generated uni-*.el files possible again.
680 * loadup.el: Update command-line-args checking for unidata-gen.
681 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
682 * composite.el, international/characters.el:
683 Handle unicode tables being undefined.
684
52d6635f 685 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
686 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
687 (compile-main): Depend on leim rule.
688 (leim): New rule.
689 * loadup.el: Move leim-list.el to leim/ subdirectory.
690 * startup.el (normal-top-level): No more leim directory.
691 * international/ja-dic-cnv.el (skkdic-convert):
692 Disable version-control and autoloads in output files.
693 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
694 Disable version-control and autoloads in output files.
695 * leim/quail: Move here from ../leim.
696 * leim/quail/hangul.el (hangul-input-method-activate):
697 Add autoload cookie.
698 (generated-autoload-load-name): Set file-local value.
699 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
700 (generated-autoload-load-name): Set file-local value.
701
0449d6cd 7022013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
703
704 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
705 (eww-add-bookmark): ask confirmation when add to bookmarks
706 (eww-quit): ask confirmation before quitting eww
707
0e2c793f
EZ
7082013-11-26 Eli Zaretskii <eliz@gnu.org>
709
710 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
711 reading output from Diff on MS-Windows and MS-DOS.
712
447bdcb8
BB
7132013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
714
715 * emacs-lisp/helpers.el (string-reverse): New function.
716
5fbf6856
MA
7172013-11-26 Michael Albinus <michael.albinus@gmx.de>
718
719 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
720 names on MS Windows, like "/[::1]:".
721
722 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
723 SWITCHES.
724
624780f0
GM
7252013-11-26 Glenn Morris <rgm@gnu.org>
726
0bf3f0fa
GM
727 * progmodes/python.el (python-indent-guess-indent-offset):
728 Avoid corner-case error. (Bug#15975)
729
624780f0
GM
730 Preload leim-list.el. (Bug#4789)
731 * loadup.el: Load leim-list.el when found.
732 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
733
4301875e 7342013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
735
736 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
737
4301875e
BB
738 * emacs-lisp/helpers.el (string-join): New function.
739
1633a815 7402013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
741
742 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
743 Mark as obsolete and replace it with a symbol property.
744 (byte-compile-form): Use new 'interactive-only property.
745 * comint.el, files.el, replace.el, simple.el:
746 Apply new 'interactive-only properly.
747
00139435
MR
7482013-11-25 Martin Rudalics <rudalics@gmx.at>
749
750 * window.el (display-buffer-at-bottom): Make sure that
751 split-window-sensibly creates the new window on bottom
752 (Bug#15961).
753
5f5b128d
DK
7542013-11-23 David Kastrup <dak@gnu.org>
755
756 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
757 on the conflict markers when available.
758 (smerge--get-marker): New function.
759 (smerge-end-re, smerge-base-re): Add subgroup.
760
623891e5
SM
7612013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * frame.el (handle-focus-in, handle-focus-out): Add missing
764 interactive spec.
765
05ca27d8
MA
7662013-11-25 Michael Albinus <michael.albinus@gmx.de>
767
768 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
769 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
770
511fa0d3
SM
7712013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
772
e82ad66c
SM
773 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
774 (gomoku--last-pos): New var.
775 (gomoku--intangible-chars): New const.
776 (gomoku--intangible): New function.
777 (gomoku-mode): Use it. Derive from special-mode.
778 (gomoku-move-up): Adjust line count.
779 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
780 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
781 Simplify accordingly.
782
511fa0d3
SM
783 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
784 Remove blink-cursor code.
785 (blink-cursor-timer-function, blink-cursor-suspend):
786 Don't special-case GUIs.
787 (blink-cursor-mode): Use focus-in/out-hook.
788
6f20dd03
DG
7892013-11-25 Dmitry Gutov <dgutov@yandex.ru>
790
791 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
792 work when annotation is invisible (Bug#13886).
793
431dec31 7942013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
795
796 * json.el (json-alist-p): Only return non-nil if the alist has
797 simple keys (Bug#13518).
798
431dec31 7992013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
800
801 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
802 when control-statement is the first statement in a buffer (Bug#15956).
803
ee4f0261
DG
8042013-11-24 Dmitry Gutov <dgutov@yandex.ru>
805
806 * imenu.el (imenu-generic-skip-comments-and-strings):
807 New option (Bug#15560).
808 (imenu--generic-function): Use it.
809
c484f866
JS
8102013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
811
812 * minibuffer.el (completion--in-region-1): Scroll the correct
813 window. (Bug#13898)
814
41ce6f70
BB
8152013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
816
b55aea38
BB
817 * emacs-lisp/helpers.el: Add some string helpers.
818 (string-trim-left): Removes leading whitespace.
819 (string-trim-right): Removes trailing whitespace.
820 (string-trim): Removes leading and trailing whitespace.
821
41ce6f70
BB
822 * subr.el (string-suffix-p): New function.
823
3cfb6af3
GM
8242013-11-23 Glenn Morris <rgm@gnu.org>
825
826 * progmodes/python.el (python-shell-send-file):
827 Add option to delete file when done. (Bug#15647)
828 (python-shell-send-string, python-shell-send-region): Use it.
829
c27924b7
IS
8302013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
831
e1b01c7f
IS
832 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
833 to set buffer-read-only to t, never to nil. (Bug#15938)
834
c27924b7
IS
835 * textmodes/tex-mode.el (latex-noindent-environments):
836 Add safe-local-variable property. (Bug#15936)
837
17e0445b
GM
8382013-11-23 Glenn Morris <rgm@gnu.org>
839
92f78ea3
GM
840 * textmodes/enriched.el (enriched-mode): Doc fix.
841 * emacs-lisp/authors.el (authors-renamed-files-alist):
842 Add enriched.doc -> enriched.txt.
843
17e0445b
GM
844 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
845
965bb23a
LL
8462013-11-22 Leo Liu <sdl.web@gmail.com>
847
848 * progmodes/octave.el (inferior-octave-startup): Spit out error
849 message.
850
d19ffd64
BB
8512013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
852
853 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
854 Improve docstring.
15ba2182
BB
855 Add :version.
856 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 857
7a7567d2
LL
8582013-11-22 Leo Liu <sdl.web@gmail.com>
859
860 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
861 (Bug#15076)
8c09f64b
LL
862 (octave-help-mode): Adapt to change to help-mode-finish to use
863 derived-mode-p on 2013-09-17.
864 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 865 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 866
724bc265
LL
8672013-11-22 Leo Liu <sdl.web@gmail.com>
868
869 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
870 (inferior-octave-startup, inferior-octave-check-process)
871 (inferior-octave-track-window-width-change)
872 (octave-completion-at-point, octave-eldoc-function): Use it.
873 (octave-kill-process): Provide confirmation. (Bug#10564)
874
38637cca
LL
8752013-11-21 Leo Liu <sdl.web@gmail.com>
876
511fa0d3
SM
877 * progmodes/octave.el (octave-mode, inferior-octave-mode):
878 Fix obsolete variable comment-use-global-state.
38637cca 879
06e752b4
RS
8802013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
881
511fa0d3
SM
882 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
883 Add `octave-source-file'.
06e752b4
RS
884 (octave-source-file): New function. (Bug#15935)
885
0449d6cd 8862013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
887
888 * net/eww.el (eww-local-regex): New variable.
889 (eww): Use it to detect localhost and similar.
890
b6ffa04a
LL
8912013-11-21 Leo Liu <sdl.web@gmail.com>
892
893 Add completion for command `ag'.
2021a200
LL
894 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
895 (pcomplete/ag): New function.
896 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 897
d1a6bccc
SM
8982013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
901 (bug#14646).
902 (make-obsolete): Remove interactive spec.
903
2df10228
GM
9042013-11-21 Glenn Morris <rgm@gnu.org>
905
906 * startup.el (command-line-1): Use path-separator with -L.
907
86fd16b6
TZ
9082013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
909
910 * emacs-lisp/package.el (describe-package-1): Add package archive
911 to shown fields.
912
0449d6cd 9132013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
914
915 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
916 Change default to "# encoding: %s" to differentiate it from the
917 default Ruby encoding comment template.
918
dc7e8c17 9192013-11-20 era eriksson <era+emacsbugs@iki.fi>
920
921 * ses.el (ses-mode): Doc fix. (Bug#14748)
922
f0cfa5fe
LL
9232013-11-20 Leo Liu <sdl.web@gmail.com>
924
925 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
926
826dc7b6
DN
9272013-11-19 Dan Nicolaescu <dann@gnu.org>
928
929 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
930 when rebase or bisect are in progress.
931
a6e3a5d5
XF
9322013-11-19 Xue Fuqiao <xfq.free@gmail.com>
933
934 * filenotify.el (file-notify-add-watch): Doc fix.
935
f130cb76
LL
9362013-11-19 Leo Liu <sdl.web@gmail.com>
937
e0855d7d
LL
938 * obsolete/rcompile.el: Mark obsolete.
939
f130cb76 940 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
941 (compilation-goto-locus, compilation-find-file):
942 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
943 (Bug#13594)
944
945 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
946 new parameter no-display-ok. Return either a window or nil
947 but never a non-window value.
f130cb76 948
1f35d401
SM
9492013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
950
25158c76
SM
951 * electric.el (electric-indent-mode-map): Remove.
952 (electric-indent-mode): Change the global-map instead (bug#15915).
953
954 * textmodes/text-mode.el (paragraph-indent-minor-mode):
955 Use add-function.
1f35d401 956
9bc67baa
SM
9572013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
958
986545b5
SM
959 * emacs-lisp/nadvice.el (remove-function): Align with
960 add-function's behavior.
961
9bc67baa
SM
962 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
963 (gdb--string-regexp): New constant.
964 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
965 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
966 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
967 submatch 1.
968 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
969 Adjust use accordingly.
970 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
971
56cd894e
AS
9722013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
973
974 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
975 interpolation curlies (Bug#15914).
976
014690de
JB
9772013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
978
979 * calc/calc.el (calc-context-sensitive-enter): New variable.
980 (calc-enter): Use `calc-context-sensitive-enter'.
981
7e26a6c3
TZ
9822013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
983
984 * progmodes/cfengine.el: Version bump.
985 (cfengine-cf-promises): New defcustom to locate cf-promises.
986 (cfengine3-vartypes): Add new "data" type.
987 (cfengine3--current-word): New function to get current name-like
988 word or its bounds.
989 (cfengine3--current-function): New function to look up a CFEngine
990 function's definition.
991 (cfengine3-format-function-docstring): New function.
992 (cfengine3-make-syntax-cache): New function.
993 (cfengine3-documentation-function): New function: ElDoc glue.
994 (cfengine3-completion-function): New function: completion glue.
995 (cfengine3-mode): Set `compile-command',
996 `eldoc-documentation-function', and add to
997 `completion-at-point-functions'.
998
355204dd
MA
9992013-11-16 Michael Albinus <michael.albinus@gmx.de>
1000
1001 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1002 `tramp-current-connection'.
1003
43cebc23
DG
10042013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1005
1006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1007 nil/self/true/false with "end of symbol".
1008
a3fed6ff
BB
10092013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1010
1011 * subr.el (version-regexp-alist): Fix a typo.
1012
e675b3e4
MA
10132013-11-15 Michael Albinus <michael.albinus@gmx.de>
1014
1015 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1016 "en_US.utf8" and "LC_CTYPE" to "".
1017 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1018 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1019
a1f03e89
LL
10202013-11-15 Leo Liu <sdl.web@gmail.com>
1021
1022 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1023
5d9d9451
SM
10242013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1025
58362662
CS
1026 * progmodes/gud.el (ctl-x-map):
1027 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1028 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1029
6c1bf086
BB
10302013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1031
0d5363c4
BB
1032 * subr.el (version-regexp-alist):
1033 Recognize hg, svn and darcs versions as snapshot versions.
1034
4e9fc48c
BB
1035 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1036 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1037 (ruby--encoding-comment-required-p): Extract from
1038 `ruby-mode-set-encoding'.
1039 (ruby-mode-set-encoding): Add the ability to always insert an
1040 utf-8 encoding comment. Fix and simplify coding comment update
1041 logic.
6c1bf086 1042
2f7e72f8
MA
10432013-11-14 Michael Albinus <michael.albinus@gmx.de>
1044
1045 * net/tramp-gvfs.el (top): Run init code only when
1046 `tramp-gvfs-enabled' is not nil.
1047 (tramp-gvfs-enabled): Check also :system bus.
1048
0f137a73
SM
10492013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 Sync with upstream verilog-mode revision 78e66ba.
1052 * progmodes/verilog-mode.el (verilog-end-of-defun)
1053 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1054 (verilog-get-end-of-defun): Remove unused argument.
1055 (verilog-comment-depth): Remove unused local `e'.
1056 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1057 Don't pass arg to verilog-get-end-of-defun.
1058
1c276bdd
GM
10592013-11-14 Glenn Morris <rgm@gnu.org>
1060
1061 * obsolete/assoc.el (aget): Prefix dynamic variable.
1062
1063 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1064
ff6ec81d
SM
10652013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * widget.el, hfy-cmap.el: Remove bogus package version number.
1068
75f777b6
GM
10692013-11-13 Glenn Morris <rgm@gnu.org>
1070
1d43dba1
GM
1071 * replace.el (replace-eval-replacement):
1072 Try to give more helpful error message. (Bug#15836)
1073
ff4b7bd5
GM
1074 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1075 (archive-7z-update): Avoid custom type mismatches.
1076
75f777b6
GM
1077 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1078
11151a06
MA
10792013-11-13 Michael Albinus <michael.albinus@gmx.de>
1080
e675b3e4 1081 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1082 address can be empty.
1083
1084 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1085 Accept nil SWITCHES.
1086 (tramp-gvfs-handle-write-region): Implement APPEND.
1087
7b08f97e
DG
10882013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1089
1090 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1091 binary "|" operator and closing block args delimiter.
1092 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1093 (ruby-smie--implicit-semi-p): Not after "|" operator.
1094 (ruby-smie--closing-pipe-p): New function.
1095 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1096 (ruby-smie-rules): Indent after "|".
1097
f201cf3a
GM
10982013-11-12 Glenn Morris <rgm@gnu.org>
1099
1100 * ps-print.el (ps-face-attribute-list):
1101 Handle anonymous faces. (Bug#15827)
1102
e6f759f9
MR
11032013-11-12 Martin Rudalics <rudalics@gmx.at>
1104
1105 * window.el (display-buffer-other-frame): Fix doc-string.
1106 (Bug#15868)
1107
ecda65d4
SM
11082013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1111
7ce8fcc3
MA
11122013-11-11 Michael Albinus <michael.albinus@gmx.de>
1113
1114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1115 (tramp-sh-handle-file-local-copy): Don't write a message when
1116 saving temporary files.
1117
1118 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1119 both directories are remote.
1120 (tramp-smb-handle-directory-files): Do not return double entries.
1121 Do not expand full file names.
1122 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1123 (tramp-smb-handle-write-region): Implement APPEND.
1124 (tramp-smb-get-stat-capability): Fix a stupid bug.
1125
7818df11
SM
11262013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1129
608c2085
NT
11302013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1131
1132 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1133 throwing error over malformed let/let* (bug#15814).
1134
122a7e46
SM
11352013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * iswitchb.el (iswitchb-mode): Mark obsolete.
1138
766284d9
GM
11392013-11-11 Glenn Morris <rgm@gnu.org>
1140
1141 * international/uni-bidi.el, international/uni-category.el:
1142 * international/uni-name.el, international/uni-numeric.el:
1143 Regenerate for Unicode 6.3.0.
1144
7072a4e9
MA
11452013-11-10 Michael Albinus <michael.albinus@gmx.de>
1146
1147 * net/tramp.el (tramp-methods):
1148 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1149 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1150
c9df215b
AS
11512013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1152
608c2085
NT
1153 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1154 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1155
fa47d796
DG
11562013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1157
1158 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1159 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1160 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1161 (ispell-complete-word): Call `ispell-lookup-words' with the value
1162 independent of `ispell-look-p'.
1163
1629a329
DG
11642013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1165
1166 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1167 Not after "||".
1168 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1169 their parent.
1170
ad16897c
SM
11712013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1174 (ruby-font-lock-keywords): Use backquote.
1175
ffa2df72
DG
11762013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1179 (ruby-smie--backward-token): Only consider full-string matches.
1180
5b97b4c0
JD
11812013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1182
1183 * faces.el (describe-face): Add distant-foreground.
1184
71731c03
BB
11852013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1186
4e9fc48c
BB
1187 * progmodes/ruby-mode.el: Improve encoding comment handling.
1188 (ruby-encoding-magic-comment-style): New option.
1189 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1190 (ruby--insert-coding-comment, ruby--detect-encoding):
1191 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1192 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1193 to control the style of the auto-inserted encoding comment.
71731c03 1194
da3b328d
DG
11952013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1196
ad16897c
SM
1197 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1198 Use `smie-backward-sexp' with token argument.
da3b328d 1199
1606c2d3
MA
12002013-11-08 Michael Albinus <michael.albinus@gmx.de>
1201
1202 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1203 Remove instrumentation code.
1204
b0f4c320
GM
12052013-11-08 Glenn Morris <rgm@gnu.org>
1206
1207 * progmodes/autoconf.el (autoconf-mode):
1208 Tweak comment-start-skip. (Bug#15822)
1209
43668fb1
SM
12102013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1213 at bobp (bug#15826).
1214 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1215
daddb3fd
DH
12162013-11-08 Darren Hoo <darren.hoo@gmail.com>
1217
1218 * man.el (Man-start-calling): New macro, extracted from
1219 Man-getpage-in-background.
1220 (Man-getpage-in-background): Use it.
1221 (Man-update-manpage): New command.
1222 (Man-mode-map): Bind it.
1223
1f923923
DG
12242013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1225
1226 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1227 of "and", "or", "&&" and "||".
1228 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1229 argument. Prohibit opening curly brace because it could only be a
1230 block opener in that position.
daddb3fd
DH
1231 (ruby-smie--forward-token, ruby-smie--backward-token):
1232 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1233 arguments.
1234 (ruby-smie--indent-to-stmt): New function, seeks the end of
1235 previous statement or beginning of buffer.
1236 (ruby-smie-rules): Use it.
1237 (ruby-smie-rules): Check if there's a ":" before a curly block
1238 opener candidate; if there is, it's a hash.
1239
3220d527
SM
12402013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1243 (cl--block-wrapper): Fix last accidental change.
1244
1eb1f9e0
MA
12452013-11-07 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1248 Instrument, in order to hunt failure on hydra.
1249
e6e4db3c
NT
12502013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1251
1252 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1253 malformed bindings form (bug#15814).
1254
b420ccfc
DG
12552013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1256
1257 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1258 "." compared to " @ ". This incidentally fixes some indentation
1259 examples with "do".
e6e4db3c 1260 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1261 (ruby-smie-grammar): New tokens: "and" and "or".
1262 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1263 Exclude "and" and "or". Remove "do" in order to work around token
1264 priorities.
1265 (ruby-smie-rules): Add all infix tokens. Handle the case of
1266 beginning-of-buffer.
b420ccfc 1267
6b4ac03e
GM
12682013-11-06 Glenn Morris <rgm@gnu.org>
1269
1270 * Makefile.in (setwins_almost, setwins_for_subdirs):
1271 Avoid accidental matches.
1272
5ca114d1
SM
12732013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * menu-bar.el (popup-menu): Use key-binding.
1276
f72552bd
EZ
12772013-11-06 Eli Zaretskii <eliz@gnu.org>
1278
1279 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1280 menus, support also the menus produced by minor modes.
1281 (Bug#15817)
1282
5d5c701e
LL
12832013-11-06 Leo Liu <sdl.web@gmail.com>
1284
1285 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1286 DISTANCE to bound the search. All uses changed. (Bug#15808)
1287
0a8b75e2
GM
12882013-11-06 Glenn Morris <rgm@gnu.org>
1289
1290 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1291 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1292 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1293
a35287ea
SM
12942013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1295
feca4e2d
SM
1296 * electric.el (electric-indent-just-newline): New command.
1297 (electric-indent-mode-map): New keymap.
1298 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1299 Re-add :group which weren't redundant.
1300
a35287ea
SM
1301 * electric.el (electric-indent-local-mode): New minor mode.
1302 (electric-indent-functions-without-reindent): New var.
1303 (electric-indent-post-self-insert-function): Use it.
1304 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1305
375761b2
EZ
13062013-11-05 Eli Zaretskii <eliz@gnu.org>
1307
9a6ad735
EZ
1308 * international/quail.el (quail-help): Be more explicit about the
1309 meaning of the labels shown on the keys. (Bug#15800)
1310
375761b2
EZ
1311 * startup.el (normal-top-level): Load the subdirs.el files before
1312 setting the locale environment. (Bug#15805)
1313
520a6e4a
SM
13142013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1315
0acfafef
SM
1316 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1317 via arguments so as to get the right ones (bug#15418).
1318
520a6e4a
SM
1319 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1320
15826261
MA
13212013-11-05 Michael Albinus <michael.albinus@gmx.de>
1322
1323 Fix problems found while writing a test suite.
1324
1325 * net/tramp-compat.el (tramp-compat-load): New defun.
1326 * net/tramp.el (tramp-handle-load): Use it.
1327
1328 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1329 "(numberp ok-if-already-exists)" correctly.
1330
d35f31a4
XF
13312013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1332
1333 * international/characters.el (glyphless-char-display-control):
1334 Add usage note.
1335
ae93bc74
BB
13362013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1337
520a6e4a
SM
1338 * progmodes/python.el (python-mode):
1339 * progmodes/scheme.el (scheme-mode):
1340 * progmodes/prolog.el (prolog-mode):
1341 * progmodes/ruby-mode.el (ruby-mode):
1342 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1343 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1344
0ade65b5
SM
13452013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1346
a0d5f7a4
SM
1347 * rect.el (rectangle--highlight-for-redisplay):
1348 * emacs-lisp/smie.el (smie--next-indent-change):
1349 Use buffer-chars-modified-tick.
1350
c93f3f5c
SM
1351 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1352
0ade65b5
SM
1353 * electric.el (electric-indent-post-self-insert-function):
1354 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1355
ef9dd188
HE
13562013-11-04 Helmut Eller <eller.helmut@gmail.com>
1357
1358 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1359
306e7308
NT
13602013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1361
1362 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1363 (bug#15786).
1364
e5afbcac
SM
13652013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1d01ad41
SM
1367 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1368
e5afbcac
SM
1369 * progmodes/python.el: Fix up last change.
1370 (python-shell--save-temp-file): New function.
1371 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1372 `string' comes from the current buffer.
1373 (python-shell-send-string-no-output): Remove `msg' arg.
1374 (python--use-fake-loc): New var.
1375 (python-shell-buffer-substring): Obey it. Try to compensate for the
1376 extra coding line added by python-shell--save-temp-file.
1377 (python-shell-send-region): Use python-shell--save-temp-file and
1378 python-shell-send-file directly. Add `nomain' argument.
1379 (python-shell-send-buffer): Use python-shell-send-region.
1380 (python-electric-pair-string-delimiter): New function.
1381 (python-mode): Use it.
1382
d0065ff1
EZ
13832013-11-04 Eli Zaretskii <eliz@gnu.org>
1384
1385 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1386 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1387 environment and decoding all of the default-directory's to here
1388 from command-line.
1389 (command-line): Decode also argv[0].
1390
1391 * loadup.el: Error out if default-directory is a multibyte string
1392 when we are dumping.
1393
1394 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1395
7397c587
TZ
13962013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1397
1398 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1399 (package-menu--print-info, package-menu--archive-predicate):
1400 Add Archive column to package list.
7397c587 1401
b27cc9fc
MA
14022013-11-04 Michael Albinus <michael.albinus@gmx.de>
1403
1404 Fix problems found while writing a test suite.
1405
1406 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1407 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1408 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1409 to nil when running original file name handler. Otherwise,
1410 there are problems with constructs like "$$FOO".
1411
1412 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1413 for `localname'.
1414
d8c4f18a
BB
14152013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1416
7b530552
BB
1417 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1418
1419 * subr.el (version<, version<=, version=):
1420 Update docstrings with information for snapshot versions.
1421
d8c4f18a
BB
1422 * helpers.el: New library for misc helper functions.
1423 (hash-table-keys): New function returning a list of hash keys.
1424 (hash-table-values): New function returning a list of hash values.
1425
dca01b09
DG
14262013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1427
1428 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1429 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1430
0a749fa0
MN
14312013-11-04 Michal Nazarewicz <mina86@mina86.com>
1432
1433 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1434 checking whether point is after a 1-letter word.
1435
14362013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1437
1438 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1439 Don't infloop when expanding region over `multiline' syntax-type that
1440 begins a line (bug#15778).
1441
4aca7145
SM
14422013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1445 Make it into a proper minor mode.
1446 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1447 (rectangle-mark-mode-map): New keymap.
1448 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1449
a0833f62
GM
14502013-11-04 Glenn Morris <rgm@gnu.org>
1451
1452 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1453
e61845c1
SM
14542013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1457 (ruby-smie-rules): Use smie-rule-parent instead.
1458
1459 * emacs-lisp/smie.el (smie-rule-parent): Always call
1460 smie-indent-virtual rather than only for hanging tokens.
1461 (smie--next-indent-change): New helper command.
1462
62942f89
GM
14632013-11-03 Glenn Morris <rgm@gnu.org>
1464
1465 * Makefile.in (abs_srcdir): Remove.
1466 (emacs): Unset EMACSLOADPATH.
1467
b0b9e592
GM
14682013-11-02 Glenn Morris <rgm@gnu.org>
1469
18ba6a33 1470 * Makefile.in (EMACS): Use a relative filename.
8061810d 1471 (abs_top_builddir): Remove.
18ba6a33
GM
1472 (custom-deps, finder-data, autoloads): Use --chdir.
1473
6a8b929e
GM
1474 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1475
c617f3d0
GM
1476 Use relative filenames in TAGS files.
1477 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1478 (lisptagsfiles4, TAGS): Use relative file names.
1479 (TAGS-LISP): Remove.
1480 (maintainer-clean): No more TAGS-LISP file.
1481
b0b9e592
GM
1482 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1483 (lisptagsfiles4): Use absolute filenames again.
1484 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1485 Remove all *loaddefs files, not just the first. Remove esh-groups.
1486 (maintainer-clean): Delete TAGS, TAGS-LISP.
1487
d1c0ea6a
BB
14882013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1489
e61845c1
SM
1490 * emacs-lisp/package.el (package-version-join):
1491 Recognize snapshot versions.
d1c0ea6a 1492
684d71c6
BB
14932013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1494
1495 * subr.el (version-regexp-alist): Add support for snapshot versions.
1496
3d42b968
DG
14972013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1498
e61845c1
SM
1499 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1500 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1501 skip over our direct parent if it's an assignment token..
1502 (ruby-smie-rules): Use it.
1503
7ffd3721
DG
15042013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1505
1506 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1507 unconditionally. Remove now unnecessary forward declarations.
1508 Remove XEmacs-specific setup.
1509 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1510 (ruby-font-lock-syntactic-keywords)
1511 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1512 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1513 (ruby-here-doc-end-syntax): Remove.
1514 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1515 defined as function.
1516
a3996a2e
BB
15172013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1518
1519 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1520
6f9260e8
BB
15212013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1522
1523 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1524 table and abbrev table, `define-derived-mode' does that for us
1525 anyway.
1526
6014de84
GM
15272013-11-01 Glenn Morris <rgm@gnu.org>
1528
1529 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1530 files is atomic for some time, so no parallel compilation issues).
1531
3c334c14
JD
15322013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1533
1534 * faces.el (face-x-resources): Add :distant-foreground.
1535 (region): Use :distant-foreground for gtk and ns.
1536
9bc236c8
TH
15372013-11-01 Tassilo Horn <tsdh@gnu.org>
1538
5246583b 1539 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1540 BibTeX.
1541 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1542 (reftex-locate-bibliography-files): Us it.
1543
d14c81ee
CB
15442013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1545
0e7690de
CB
1546 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1547 allow comments in pbm files.
1548
d14c81ee
CB
1549 * term/w32-win.el (dynamic-library-alist): Support newer versions
1550 of libjpeg starting with v7: look only for the DLL from the
1551 version against which Emacs was built.
ac1bf374 1552 Support versions of libpng beyond 1.4.x.
019c8218 1553 Support libtiff v4.x.
d14c81ee 1554
983d0df5
BB
15552013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1556
1557 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1558 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1559 Add property :safe.
1560 (ruby-deep-arglist): Add property :type.
1561
47f58d85
GM
15622013-10-31 Glenn Morris <rgm@gnu.org>
1563
1564 * Makefile.in (custom-deps, finder-data): No need to setq the target
1565 variables, we are in the right directory and the defaults work fine.
1566
4f85b479
GM
15672013-10-30 Glenn Morris <rgm@gnu.org>
1568
ca7dd4cd
GM
1569 * Makefile.in (autoloads): Do not use abs_lisp.
1570
4f85b479
GM
1571 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1572 `newline' does not respect `standard-output', so use `princ'.
1573
cf59e41c
AA
15742013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1575
1576 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1577 * buff-menu.el (Buffer-menu--unmark): New function.
1578 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1579
74cf04fb
GM
15802013-10-30 Glenn Morris <rgm@gnu.org>
1581
b040b60e
GM
1582 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1583
f53d3815
GM
1584 * emacs-lisp/package.el (lm-homepage): Declare.
1585
5413d873
GM
1586 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1587 Fix doc typos.
1588
cecedb36
GM
1589 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1590
74cf04fb
GM
1591 * Makefile.in (finder-data, autoloads, update-subdirs)
1592 (compile-main, compile-clean, compile-always, bootstrap-clean):
1593 Check return value of cd.
1594 (compile-calc): Remove.
1595
195ee2f0
SM
15962013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1597
ae4002ce
SM
1598 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1599
1600 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1601 (byte-compile-and-folded): New function.
1602 (=, <, >, <=, >=): Use it.
1603
1604 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1605 (path-separator, null-device, buffer-file-coding-system)
1606 (lpr-headers-switches): Check system-type before modifying them.
1607 (find-buffer-file-type-coding-system): Mark obsolete.
1608 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1609 find-file-not-found-set-buffer-file-coding-system.
1610 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1611 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1612 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1613 (w32-direct-print-region-helper, w32-direct-print-region-function)
1614 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1615 * startup.el (normal-top-level-add-subdirs-to-load-path):
1616 * ps-print.el (ps-print-region-function):
1617 * lpr.el (print-region-function): Use new name.
1618
53b39e89
SM
1619 * subr.el (custom-declare-variable-early): Remove function.
1620 (custom-declare-variable-list): Remove var.
1621 (error, user-error): Remove `while' loop.
1622 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1623 (user-emacs-directory-warning, locate-user-emacs-file):
1624 Move to files.el.
1625 * simple.el (read-quoted-char-radix, read-quoted-char):
1626 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1627 Move from subr.el.
1628 * custom.el (custom-declare-variable-list): Don't process
1629 custom-declare-variable-list.
1630
195ee2f0
SM
1631 * progmodes/python.el (python-shell-get-buffer): New function.
1632 (python-shell-get-process): Use it.
1633 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1634 Python which encoding was used. Don't split-string since we only care
1635 about the first line. Return the temp-file, if applicable.
1636 (python-shell-send-region): Tell compile.el how to turn locations in
1637 the temp-file into locations in the source buffer.
1638
7e3561ee
SM
16392013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1640
4c9797cb
SM
1641 * subr.el (undefined): Add missing behavior from the C code for
1642 unbound keys.
1643
3472b6c6
SM
1644 * rect.el: Use lexical-binding. Add new rectangular region support.
1645 (rectangle-mark): New command.
1646 (rectangle--region): New var.
1647 (deactivate-mark-hook): Reset rectangle--region.
1648 (rectangle--extract-region, rectangle--insert-for-yank)
1649 (rectangle--highlight-for-redisplay)
1650 (rectangle--unhighlight-for-redisplay): New functions.
1651 (region-extract-function, redisplay-unhighlight-region-function)
1652 (redisplay-highlight-region-function): Use them to handle
1653 rectangular region.
1654 * simple.el (region-extract-function): New var.
1655 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1656 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1657 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1658 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1659 (redisplay-unhighlight-region-function)
1660 (redisplay-highlight-region-function): New vars.
1661 (redisplay--update-region-highlight): New function.
1662 (pre-redisplay-function): Use it.
1663 (exchange-point-and-mark): Don't deactivate the mark before
1664 reactivate-it anyway.
1665 * comint.el (comint-kill-region): Remove yank-handler argument.
1666 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1667 (delete-char): Remove property, since it's now part of their
1668 default behavior.
1669 (self-insert-iso): Remove property since this command doesn't exist.
1670
7e3561ee
SM
1671 * emacs-lisp/package.el (package--download-one-archive)
1672 (describe-package-1): Don't query the user about final newline.
1673
b9bef71f
DC
16742013-10-29 Daniel Colascione <dancol@dancol.org>
1675
1676 * net/tramp.el (tramp-methods): Document new functionality.
1677 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1678 tramp-hostname-checker if method provides one instead of scanning
1679 argument list for "%h" to decide hostname acceptability.
1680
4efc33f0
MA
16812013-10-28 Michael Albinus <michael.albinus@gmx.de>
1682
1683 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1684 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1685 Handle COPY-CONTENTS. (Bug#15737)
1686
ed42a877
DU
16872013-10-28 Daiki Ueno <ueno@gnu.org>
1688
1689 * epa-file.el
7e3561ee
SM
1690 (epa-file-cache-passphrase-for-symmetric-encryption):
1691 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1692
18c9f8a2
XF
16932013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1694
7a4bc7be
XF
1695 * image.el (defimage):
1696 (image-load-path): Doc fixes.
18c9f8a2 1697
b1e8e010
AM
16982013-10-27 Alan Mackenzie <acm@muc.de>
1699
1700 Indent statements in macros following "##" correctly.
7e3561ee
SM
1701 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1702 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1703
73d40d1e 17042013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1705
1706 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1707
c8c605ac
DG
17082013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1709
1710 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1711 after `=' is probably a new expression.
1712
ca7e59d4
RS
17132013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1714
1715 * man.el (man-imenu-title): New option.
1716 (Man-mode-map): Add menu. (Bug#15722)
1717 (Man-mode): Add imenu to menu.
1718
bae91342
DG
17192013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1720
1721 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1722 specific in what the first arg can be: a non-keyword word,
1723 string/regexp/percent literal opener, opening paren, or unary
1724 operator followed directly by word.
1725
eb89dc14
SM
17262013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1729 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1730 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1731 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1732 Remove vars, they do not apply any more.
1733 (prolog-mode-abbrev-table): Remove redundant declaration.
1734 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1735 (prolog-use-smie): Remove.
1736 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1737 supported by prolog-electric-if-then-else-flag.
1738 (prolog-mode-variables, prolog-menu): Use setq-local.
1739 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1740 Remove binding to `Backspace' since this key doesn't exist anyway.
1741 Remove bindings for electric self-inserting keys.
1742 (prog-mode): Assume it's defined.
1743 (prolog-post-self-insert): New function.
1744 (prolog-mode): Use it.
1745 (prolog-indent-line, prolog-indent-level)
1746 (prolog-find-indent-of-matching-paren)
1747 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1748 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1749 (prolog-goto-next-paren, prolog-in-string-or-comment)
1750 (prolog-tokenize, prolog-inside-mline-comment)
1751 (prolog-find-start-of-mline-comment): Remove functions.
1752 (prolog-find-unmatched-paren, prolog-clause-end)
1753 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1754 (prolog-electric--if-then-else): Rename from
1755 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1756 (prolog-tokenize-searchkey): Remove const.
1757 (prolog-clause-info): Use forward-sexp.
1758 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1759 (prolog-electric-if-then-else): Remove commands.
1760 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1761 for use in post-self-insert-hook.
1762 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1763 for use in post-self-insert-hook.
1764 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1765 for use in post-self-insert-hook.
1766 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1767 adapt it for use in post-self-insert-hook.
1768
3dab0a83
MA
17692013-10-25 Michael Albinus <michael.albinus@gmx.de>
1770
1771 * emacs-lisp/ert.el (ert-run-tests-interactively):
1772 Use `completing-read'. (Bug#9756)
1773
fbfd0e1d
EZ
17742013-10-25 Eli Zaretskii <eliz@gnu.org>
1775
1776 * simple.el (line-move): Call line-move-1 instead of
1777 line-move-visual when the current window hscroll is zero, but
1778 temporary-goal-column indicates we will need to hscroll as result
1779 of the movement. (Bug#15712)
1780
963ce636
DG
17812013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1784 capitalization. Use :visible instead of :active.
1785 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1786 commands that are used with SMIE.
1787 (ruby-do-end-to-brace): Insert space after `{'.
1788
a0be396a
JA
17892013-10-25 John Anthony <john@jo.hnanthony.com>
1790
f73754c9
JA
1791 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1792
1793 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1794
f5bf77df
GM
17952013-10-25 Glenn Morris <rgm@gnu.org>
1796
1797 * vc/vc.el (vc-print-log): Don't use a working revision unless
1798 one was explicitly specified. (Bug#15322)
1799
37241f62
SM
18002013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * subr.el (add-to-list): Preserve return value in compiler-macro
1803 (bug#15692).
1804
6408a65d
RS
18052013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1806
1807 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1808 result. Ask user to retry using '-all' flag. (Bug#15701)
1809
71e3276b
SM
18102013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * emacs-lisp/smie.el: New smie-config system.
1813 (smie-config): New defcustom.
1814 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1815 (smie-config-guess, smie-config-save): New commands.
1816 (smie-config--mode-local, smie-config--buffer-local)
1817 (smie-config--trace, smie-config--modefuns): New vars.
1818 (smie-config--advice, smie-config--mode-hook)
1819 (smie-config--setter, smie-config-local, smie-config--get-trace)
1820 (smie-config--guess-value, smie-config--guess): New functions.
1821 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1822 text properties. Treat "string fence" syntax like string syntax.
1823
1824 * progmodes/sh-script.el (sh-use-smie): Change default.
1825 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1826 (sh-var-value): Simplify by CSE.
1827 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1828 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1829 is used.
1830 (sh-guess-basic-offset): Use cl-incf.
1831 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1832
60db713e
HE
18332013-10-24 Helmut Eller <eller.helmut@gmail.com>
1834
1835 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1836 (bug#15699).
1837
8b251df6
GM
18382013-10-24 Glenn Morris <rgm@gnu.org>
1839
1840 * Makefile.in (abs_top_srcdir): Remove.
1841 (update-subdirs): Use relative path to update-subdirs.
1842
6be0e22b
EZ
18432013-10-24 Eli Zaretskii <eliz@gnu.org>
1844
1845 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1846 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1847 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1848 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1849
50b5b857
MA
18502013-10-24 Michael Albinus <michael.albinus@gmx.de>
1851
1852 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1853 (ert-test-skipped): New error.
1854 (ert-skip, ert-stats-skipped): New defuns.
1855 (ert--skip-unless): New macro.
1856 (ert-test-skipped): New struct.
1857 (ert--run-test-debugger, ert-test-result-type-p)
1858 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1859 (ert--stats-set-test-and-result, ert-char-for-test-result)
1860 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1861 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1862 Handle skipped tests. (Bug#9803)
50b5b857 1863
6f317c2f
GM
18642013-10-24 Glenn Morris <rgm@gnu.org>
1865
e43817c1
GM
1866 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1867
6f317c2f
GM
1868 * Makefile.in (abs_top_srcdir): New, set by configure.
1869 (update-subdirs): Correct build-aux location.
1870
369bbf71
DG
18712013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1872
8297b2cf
DG
1873 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1874 value, whether we could auto-deduce `backend', or not.
1875
369bbf71
DG
1876 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1877 with parameters" example. Simplify the "is it block or is it
1878 hash" check, but also make it more thorough.
1879
d5f1282f
MF
18802013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1881
1882 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1883
bc4aaa31
SM
18842013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1885
03d44565
SM
1886 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1887 { if it is hanging.
1888
bc4aaa31
SM
1889 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1890 :before ";".
1891
f493ff19
JB
18922013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1893
1894 * progmodes/compile.el (compilation-directory-matcher)
1895 (compilation-page-delimiter):
1896 Support GNU Make-4.0 directory quoting. (Bug#15678)
1897
c744a3b9
LL
18982013-10-23 Leo Liu <sdl.web@gmail.com>
1899
1900 * ido.el (ido-tidy): Handle read-only text.
1901
b8e3b0a9
GM
19022013-10-23 Glenn Morris <rgm@gnu.org>
1903
1904 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1905 (emacs, compile, compile-always):
1906 Quote entities that might contain whitespace.
1907 (custom-deps, finder-data, autoloads): Use abs_lisp.
1908 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1909 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1910 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1911
ee4282cd
DG
19122013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1913
bc4aaa31
SM
1914 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1915 Use `following-char'.
7790a270 1916
ee4282cd 19172013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1918
1919 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1920 * progmodes/ruby-mode.el (ruby-smie-rules):
1921 Remove corresponding workaround. Fix indentation rule of ";" so it
1922 also applies when ";" is the parent.
1923
d40a46d7
XF
19242013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1925
1926 * frame.el (display-screens, display-pixel-height)
1927 (display-pixel-width, display-mm-width, display-backing-store)
1928 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1929 (display-visual-class, display-monitor-attributes-list):
1930 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1931
a0f143c9
MG
19322013-10-22 Michael Gauland <mikelygee@amuri.net>
1933
1934 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1935 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1936
18cacc39
DG
19372013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1938
1939 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1940 TODO. Add "." after " @ ".
1941 (ruby-smie--at-dot-call): New function. Checks if point at method
1942 call with explicit target.
1943 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1944 to the method name tokens when it precedes them.
1945 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1946 (ruby-smie-rules): Add rule for indentation before and after "."
1947 token.
1948
df74c4be
SM
19492013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1950
c6dab55f
SM
1951 * textmodes/remember.el (remember-diary-extract-entries):
1952 Avoid add-to-list.
1953
df74c4be
SM
1954 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1955 an instruction.
1956
8c1ae481
DG
19572013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1958
cfef16c0
DG
1959 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1960 (ruby-smie--implicit-semi-p): Add new operator chars.
1961
8c1ae481
DG
1962 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1963 `smie-down-list'.
1964 (ruby-smie--args-separator-p): Check that there's no newline
1965 between method call and its arguments.
1966
87756ca9
AM
19672013-10-20 Alan Mackenzie <acm@muc.de>
1968
1969 Allow comma separated lists after Java "implements".
1970
df74c4be
SM
1971 * progmodes/cc-engine.el (c-backward-over-enum-header):
1972 Parse commas.
87756ca9
AM
1973 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1974 from a "disallowed" list in enum fontification.
1975
c25f8957
JB
19762013-10-20 Johan Bockgård <bojohan@gnu.org>
1977
df74c4be 1978 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1979
c25f8957
JB
1980 * progmodes/verilog-mode.el (verilog-mode): Don't set
1981 comment-indent-function globally.
1982
aca5fcdc
JD
19832013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1984
5f161884
JD
1985 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1986 Move Info menu item creation to ns-win.el.
1987
1988 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1989 in menu bar.
1990
aca5fcdc
JD
1991 * menu-bar.el: Move GNUStep specific menus...
1992
1993 * term/ns-win.el (ns-initialize-window-system): ... to here.
1994
914b7f98
SM
19952013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * simple.el (newline): Only run post-self-insert-hook when
1998 called interactively.
1999
846ffe77
JB
20002013-10-19 Johan Bockgård <bojohan@gnu.org>
2001
2002 * icomplete.el (icomplete-with-completion-tables): Add :version.
2003
033f22dd
AM
20042013-10-19 Alan Mackenzie <acm@muc.de>
2005
2006 Fix fontification bugs with constructors and const.
2007
2008 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2009 CASE 2) Remove the check for the absence of a suffix construct
2010 after a function declaration with only types (no identifiers) in
2011 the parentheses. Also, accept a function declaration with just a
2012 type inside the parentheses, if this type can be positively
2013 recognised as such, or if a prefix keyword like "explicit" nails
2014 down the construct as a declaration.
2015
58ce0cfc
EZ
20162013-10-19 Eli Zaretskii <eliz@gnu.org>
2017
2018 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2019 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2020 the problem whereby selecting a menu item that leads to a
2021 minibuffer prompt moves the cursor out of the minibuffer window,
2022 making it hard to type at the prompt. Suggested by Stefan Monnier
2023 <monnier@iro.umontreal.ca>.
2024
50e28e7d
JD
20252013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2026
2027 * menu-bar.el: Don't make Services menu.
2028
7deed4bf
RS
20292013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2030
2031 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2032 (ffap-alist): Use ffap-c++-mode for c++-mode.
2033 (ffap-c++-path): New variable.
2034 (ffap-c++-mode): New function.
2035
7bcb455b
JVJ
20362013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2037
2038 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2039
f0ff1cd5
MA
20402013-10-18 Michael Albinus <michael.albinus@gmx.de>
2041
2042 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2043 introduced on 2013-09-08, which results in an infinite loop
2044 requesting a password.
2045
d64da4b7
GM
20462013-10-18 Glenn Morris <rgm@gnu.org>
2047
2048 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2049
ea89ff08
WS
20502013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2051
2052 Sync with upstream verilog-mode revision 1a6ecec7.
2053 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2054 (verilog-mode-release-date): Remove.
2055 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2056 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2057 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2058 (verilog-auto-tieoff-ignore-regexp)
2059 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2060 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2061 (verilog-signals-with, verilog-dir-cache-preserving)
2062 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2063 Doc fixes.
2064 (verilog-case-fold): New option, to control case folding in
2065 regexp searches, bug597.
2066 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2067 (verilog-string-match-fold, verilog-in-paren-count)
2068 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2069 (verilog-at-close-struct-p): New functions.
2070 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2071 (verilog-forward-sexp, verilog-set-auto-endcomments):
2072 (verilog-leap-to-case-head): Handle "unique0" case.
2073 (verilog-in-constraint-re): New constant.
2074 (verilog-keywords, verilog-type-font-keywords):
2075 Add some SystemVerilog 1800-2012 keywords.
2076 (verilog-label-be): Remove unimplemented argument, bug669.
2077 (verilog-batch-execute-func): When batch expanding clear
2078 create-lockfiles to prevent spurious user locks when a file ends
2079 up not changing.
2080 (verilog-calculate-indent, verilog-calc-1)
2081 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2082 (verilog-do-indent): Fix indentation of nested constraints
2083 and structures.
2084 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2085 (verilog-auto-inst-param): Use verilog-string-match-fold.
2086 (verilog-read-inst-module-matcher):
2087 Fix AUTOINST on gate primitives with #1.
2088 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2089 Reads all user-defined typed variables.
2090 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2091 (verilog-signals-matching-regexp)
2092 (verilog-signals-not-matching-regexp, verilog-auto):
2093 Respect verilog-case-fold.
2094 (verilog-diff-report): Fix line count.
2095 (verilog-auto-assign-modport): Remove unused local `modi'.
2096 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2097 better handle multidimensional arrays.
2098 Fix packed array ports misadding bit index in AUTOINST, bug637.
2099 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2100 to not double-declare existing outputs and inputs, respectively.
2101 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2102 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2103 (verilog-sk-uvm-component): New skeleton.
2104 (verilog-submit-bug-report): Add verilog-case-fold,
2105 remove verilog-mode-release-date.
2106
ef566920
BR
21072013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2108
2109 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2110 as before.
2111
29df8a0b
RT
21122013-10-18 Reuben Thomas <rrt@sc3d.org>
2113
2114 * textmodes/remember.el (remember): set buffer-offer-save in
2115 remember buffers (bug#13566).
2116
04a19a79
DC
21172013-10-18 Daniel Colascione <dancol@dancol.org>
2118
2119 When evaluating forms in ielm, direct standard output to ielm
2120 buffer. Add new ielm-return-for-effect command. Remove trailing
2121 whitespace throughout.
2122
2123 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2124 (ielm-return-for-effect): New command.
2125 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2126 (ielm-eval-input): Accept optional `for-effect' parameter.
2127 Bind `standard-output' to stream we create using
04a19a79
DC
2128 `ielm-standard-output-impl'. Suppress printing result when
2129 `for-effect'.
2130 (ielm-standard-output-impl): New function.
2131 (inferior-emacs-lisp-mode): Explain new features in documentation.
2132
4c1f03ef
MA
21332013-10-17 Michael Albinus <michael.albinus@gmx.de>
2134
2135 Code cleanup.
2136
2137 * net/tramp.el (tramp-debug-message): Do not check for connection
2138 buffer.
2139 (tramp-message): Use "vector" connection property.
2140
2141 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2142 (tramp-equal-remote, tramp-eshell-directory-change)
2143 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2144 (tramp-adb-handle-rename-file)
2145 * net/tramp-cmds.el (tramp-list-remote-buffers)
2146 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2147 * net/tramp-compat.el (tramp-compat-process-running-p)
2148 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2149 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2150 (tramp-gvfs-handle-rename-file)
2151 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2152 (tramp-set-file-uid-gid)
2153 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2154 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2155 of `file-remote-p'.
2156
2157 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2158 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2159 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2160 (tramp-gw-open-network-stream): Suppress unrelated traces.
2161
2162 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2163 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2164 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2165 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2166 connection property.
2167
2168 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2169 persistency file.
4c1f03ef
MA
2170
2171 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2172 Refactor common code. Improve debug message.
2173 (tramp-maybe-open-connection)
2174 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2175 connection buffer too early.
2176
2177 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2178 from `tramp-smb-actions-with-acl'.
2179 (tramp-smb-actions-set-acl): New defconst.
2180 (tramp-smb-handle-copy-directory)
2181 (tramp-smb-action-get-acl): New defun, renamed from
2182 `tramp-smb-action-with-acl'.
2183 (tramp-smb-action-set-acl): New defun.
2184 (tramp-smb-handle-set-file-acl): Rewrite.
2185
642eb8b6
GM
21862013-10-17 Glenn Morris <rgm@gnu.org>
2187
2188 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2189
85527ff3
SM
21902013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2191
921c1d62
SM
2192 * skeleton.el (skeleton-newline): Remove.
2193 (skeleton-internal-1): Use (insert "\n") instead.
2194
e333fb10
SM
2195 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2196 let-bindings.
2197
85527ff3
SM
2198 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2199 forward-sexp-function while we redo its job (bug#15613).
2200
c8722a97
JB
22012013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2202
2203 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2204 represented by lists.
2205
7a550bbb
GM
22062013-10-16 Glenn Morris <rgm@gnu.org>
2207
2208 * tmm.el (tmm--history): New dynamic variable.
2209 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2210
f19da8ad
MA
22112013-10-16 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2214 (tramp-smb-errors): Add error messages.
2215 (tramp-smb-actions-with-acl): New defconst.
2216 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2217 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2218 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2219 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2220 (tramp-smb-get-stat-capability): Fix tests.
2221
a24b9961
DK
22222013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2223
2224 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2225 (bug#15580).
2226
62ad85e6
GM
22272013-10-16 Glenn Morris <rgm@gnu.org>
2228
0283d6b0
GM
2229 * ansi-color.el (ansi-color-drop-regexp):
2230 Add 1J, 1K, 2K. (Bug#15617)
2231
012e2f9f
GM
2232 * files.el (hack-local-variables--warned-lexical): New.
2233 (hack-local-variables):
2234 Warn about misplaced lexical-binding. (Bug#15616)
2235
62ad85e6
GM
2236 * net/eww.el (eww-render): Always set eww-current-url,
2237 and update header line. (Bug#15622)
2238 (eww-display-html): ... Rather than just doing it here.
2239
6456c0ea
EZ
22402013-10-15 Eli Zaretskii <eliz@gnu.org>
2241
2242 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2243 menu navigations commands.
2244
c2de5588
DK
22452013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2246
2247 * progmodes/subword.el (subword-capitalize): Be careful when
2248 the search for [[:alpha:]] fails (bug#15580).
2249
ccd4a783
EZ
22502013-10-14 Eli Zaretskii <eliz@gnu.org>
2251
2252 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2253 to commands that scroll the menu.
2254
1eda1d8d
DG
22552013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2256
c2de5588
DK
2257 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2258 Handle methods ending with `?' and `!'.
1eda1d8d 2259
e70181b8
AM
22602013-10-14 Akinori MUSHA <knu@iDaemons.org>
2261
2262 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2263 `japanese-cp932' to `cp932' to fix the problem where saving a
2264 source file written in Shift_JIS twice would end up having
2265 `coding: japanese-cp932' which Ruby could not recognize.
2266 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2267 in `ruby-encoding-map'.
2268 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2269 doesn't need to be explicitly declared in magic comment.
2270 (ruby-encoding-map): Add type declaration for better customize UI.
2271
9148ee92
GM
22722013-10-13 Glenn Morris <rgm@gnu.org>
2273
a5d38e34
GM
2274 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2275 Occur buffers are read-only. http://bugs.debian.org/720775
2276
9148ee92
GM
2277 * emacs-lisp/authors.el (authors-fixed-entries):
2278 Comment out old alpha stuff.
2279
a9ba094b
DG
22802013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2281
2282 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2283 to `after-save-hook' instead of `before-save-hook'.
2284 (ruby-mode-set-encoding): Use the value of coding system used to
2285 write the file. Call `basic-save-buffer-1' after modifying the
2286 buffer.
2287
7a068717
AM
22882013-10-13 Alan Mackenzie <acm@muc.de>
2289
2290 Fix indentation/fontification of Java enum with
2291 "implements"/generic.
2292
c2de5588
DK
2293 * progmodes/cc-engine.el (c-backward-over-enum-header):
2294 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2295 (c-inside-bracelist-p): Uses new function above.
2296 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2297 function above.
2298 (c-font-lock-enum-tail): Uses new function above.
2299
85b64f02
KH
23002013-10-13 Kenichi Handa <handa@gnu.org>
2301
2302 * international/mule-cmds.el (select-safe-coding-system): Remove a
2303 superfluous condition in chekcing whether a coding system is safe
2304 or not.
2305
fc7f501b
OK
23062013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2307
2308 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2309
fdcb2049
AP
23102013-10-13 Andreas Politz <politza@hochschule-trier.de>
2311
2312 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2313
8c106d17
GM
23142013-10-13 Glenn Morris <rgm@gnu.org>
2315
feab892d
GM
2316 * menu-bar.el (menu-bar-update-buffers):
2317 Unify Buffers menu prompt string. (Bug#15576)
2318
b22d0686
GM
2319 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2320
8c106d17
GM
2321 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2322 Add some entries.
2323 (authors-fixed-entries): Use accented form of name.
2324
1b12c797
SM
23252013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2326
650fa7bf 2327 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2328 method calls (bug#15594).
650fa7bf
SM
2329 (ruby-smie--args-separator-p): New function.
2330 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2331 recognize paren-free method calls.
2332
1b12c797
SM
2333 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2334 internals of universal-argument.
2335
029619c8
EZ
23362013-10-11 Eli Zaretskii <eliz@gnu.org>
2337
2338 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2339 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2340 dropped menu on second mouse click on the menu bar.
029619c8 2341
dd070019
SM
23422013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2345 (explicit-shell-file-name): Declare.
2346 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2347 (sh-completion-at-point-function): New function.
2348 (sh-mode): Use it.
2349 (sh-smie--keyword-p): Remove unused argument.
2350 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2351 vars.
2352 (sh-set-shell): Always setup SMIE, even if we use the
2353 old indentation code.
2354
0922b826
DG
23552013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2356
b68e2926
DG
2357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2358 cases of ? and =.
2359 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2360 predicate would return nil are almost non-existent.
2361 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2362
0922b826
DG
2363 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2364 cache also after commands that modify the buffer but don't move
2365 point.
2366
ee041f2d
SM
23672013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2368
2369 * env.el (substitute-env-in-file-name): New function.
2370 (substitute-env-vars): Extend the meaning of the optional arg.
2371
a5dab159
EZ
23722013-10-10 Eli Zaretskii <eliz@gnu.org>
2373
2374 * term/w32-win.el (dynamic-library-alist): Define separate lists
2375 of GIF DLLs for versions before and after 5.0.0 of giflib.
2376 (Bug#15531)
2377
0449d6cd 23782013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2379
2380 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2381 not locked, use last revision and current source as
2382 defaults. (Bug#15569)
2383
2f6e161e
MY
23842013-10-10 Masatake YAMATO <yamato@redhat.com>
2385
2386 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2387 menu-bar is hidden.
2388
6c8413fc
MR
23892013-10-10 Martin Rudalics <rudalics@gmx.at>
2390
2391 * window.el (pop-to-buffer-same-window): Fix doc-string.
2392 (Bug#15492)
2393
20832de0
SM
23942013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2397
c6e8ae77
AC
23982013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2399
2400 * calendar/icalendar.el (icalendar-import-file):
2401 Fix interactive spec. (Bug#15482)
2402
9db13baf
GM
24032013-10-10 Glenn Morris <rgm@gnu.org>
2404
9271e90e
GM
2405 * desktop.el (desktop-save): Default to saving in .emacs.d,
2406 since PWD is no longer in desktop-path by default. (Bug#15319)
2407
9db13baf
GM
2408 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2409 now that text mode has a menu with the same entry.
2410 (menu-bar-text-mode-auto-fill): Remove now unused func.
2411 * textmodes/text-mode.el (text-mode-map):
2412 Use auto-fill help text from menu-bar.el.
2413
a0be396a 24142013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2415
2416 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2417
2edcd3c7
JL
24182013-10-09 Juri Linkov <juri@jurta.org>
2419
2420 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2421 instead of this-command-keys. Add universal-argument-more and
2422 universal-argument-minus to the list of prefix commands. (Bug#15568)
2423
574411d0
GM
24242013-10-09 Glenn Morris <rgm@gnu.org>
2425
14afa541
GM
2426 * vc/vc-svn.el (vc-svn-create-repo):
2427 Expand paths in file://... url. (Bug#15446)
2428
574411d0
GM
2429 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2430 Add some entries.
2431 (authors): Remove unused local variables.
2432
79804536
SM
24332013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * profiler.el: Create a more coherent calltree from partial backtraces.
2436 (profiler-format): Hide the tail with `invisible' so that C-s can still
2437 find the hidden elements.
2438 (profiler-calltree-depth): Don't recurse so enthusiastically.
2439 (profiler-function-equal): New hash-table-test.
2440 (profiler-calltree-build-unified): New function.
2441 (profiler-calltree-build): Use it.
2442 (profiler-report-make-name-part): Indent the calltree less.
2443 (profiler-report-mode): Add visibility specs for profiler-format.
2444 (profiler-report-expand-entry, profiler-report-toggle-entry):
2445 Expand the whole subtree when provided with a prefix arg.
2446
238150c8
DG
24472013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2448
2449 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2450 iuwu-mod token.
2451 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2452 hanging iuwu-mod token.
2453 (ruby-smie--forward-token): Do not include a dot after a token in
2454 that token.
2455 (ruby-smie--backward-token): Likewise.
2456
b0949cc4
JL
24572013-10-08 Juri Linkov <juri@jurta.org>
2458
2459 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2460 to isearch-other-control-char.
2461 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2462 and isearch-post-command-hook to post-command-hook.
2463 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2464 and isearch-post-command-hook from post-command-hook.
2465 (isearch-unread-key-sequence)
2466 (isearch-reread-key-sequence-naturally)
2467 (isearch-lookup-scroll-key, isearch-other-control-char)
2468 (isearch-other-meta-char): Remove functions.
2469 (isearch-pre-command-hook, isearch-post-command-hook):
2470 New functions based on isearch-other-meta-char rewritten
2471 relying on the new behavior of overriding-terminal-local-map
2472 that does not replace the local keymaps any more. (Bug#15200)
2473
4ed77415
EZ
24742013-10-08 Eli Zaretskii <eliz@gnu.org>
2475
2476 Support menus on text-mode terminals.
2477 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2478 functionality.
2479
2480 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2481
c2de5588
DK
2482 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2483 Move here from mouse.el.
4ed77415
EZ
2484 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2485 and arrow keys.
2486 (tty-menu-navigation-map): New map for TTY menu navigation.
2487
2488 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2489
2490 * frame.el (display-mouse-p): Report text-mode mouse as available
2491 on w32.
2492 (display-popup-menus-p): Report availability if mouse is
2493 available; don't condition on window-system.
2494
2495 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2496 (tty-menu-selected-face): New faces.
2497
b7d5bd82
TL
24982013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2499
06286513
SM
2500 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2501 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2502 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2503 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2504 New constants.
2505 (lisp-mode-variables): New `elisp' argument.
2506 (emacs-lisp-mode): Use it.
2507 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2508 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2509
b7d5bd82
TL
2510 * indent.el: Use lexical-binding.
2511 (indent-region): Add progress reporter.
2512 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2513 last step.
2514 (indent--next-tab-stop): New function to implement this behavior.
2515 (tab-to-tab-stop, move-to-tab-stop): Use it.
2516
25172013-10-08 Teemu Likonen <tlikonen@iki.fi>
2518
2519 * indent.el (indent-rigidly--current-indentation): New function.
2520 (indent-rigidly-map): New var.
2521 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2522
5ea75d23
BG
25232013-10-08 Bastien Guerry <bzg@gnu.org>
2524
2525 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2526
cc5da1ec
SM
25272013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2528
8ffa1a0b
SM
2529 * progmodes/perl-mode.el: Use lexical-binding.
2530 Remove redundant :group args.
2531 (perl-nochange): Change default to be closer to other major modes's
2532 standard behavior.
2533 (perl-indent-line): Don't consider text on current line as a
2534 valid beginning of function from which to indent.
2535
f2223371
SM
2536 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2537 with more than one argument (bug#15538).
2538
44256060
SM
2539 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2540
cc5da1ec
SM
2541 * vc/pcvs.el: Use lexical-binding.
2542 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2543 environment of `eval'.
2544 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2545 than a list of expressions. Adjust callers.
2546 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2547
0ea1599d
DG
25482013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2549
2550 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2551 case of the dot in a chained method call being on the following line.
0ea1599d 2552
da3e5ebb
SM
25532013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2abb4e65
SM
2555 * electric.el (electric-indent-inhibit): New var.
2556 (electric-indent-post-self-insert-function): Use it.
2557 * progmodes/python.el (python-mode): Set it.
2558
d2e0e795
SM
2559 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2560 open braces.
2561
2562 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2563
bdc6b4c8
SM
2564 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2565 (css-mode): Use electric-indent-chars.
2566
da3e5ebb
SM
2567 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2568 (font-lock-beg, font-lock-end): Move before first use.
2569 (nxml-mode): Use syntax-propertize-function.
2570 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2571 (nxml-extend-after-change-region): Remove.
2572 * nxml/xmltok.el: Use lexical-binding.
2573 (xmltok-save): Use `declare'.
2574 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2575 * nxml/nxml-util.el: Use lexical-binding.
2576 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2577 Use `declare'.
2578 * nxml/nxml-ns.el: Use lexical-binding.
2579 (nxml-ns-save): Use `declare'.
2580 (nxml-ns-prefixes-for): Avoid add-to-list.
2581 * nxml/rng-match.el: Use lexical-binding.
2582 (rng--ipattern): Use cl-defstruct.
2583 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2584 (rng-cons-group-after, rng-subst-group-after)
2585 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2586 Use closures instead of `(lambda...).
2587
f8f91d5d
MA
25882013-10-07 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2591 of BEG and END.
2592
da3e5ebb
SM
2593 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2594 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2595 (tramp-gvfs-handle-insert-file-contents): Remove function.
2596
da3e5ebb
SM
2597 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2598 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2599
2600 * net/trampver.el: Update release number.
2601
7ccae3b1
SM
26022013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2603
55ca2c0d
SM
2604 * progmodes/compile.el (compilation-parse-errors):
2605 Use compilation--put-prop.
2606 (compilation--ensure-parse): Check compilation-multiline.
2607
731fc3ae
SM
2608 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2609
da3e5ebb
SM
2610 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2611 lexical-binding.
a5833280 2612
2e7ba2c2
SM
2613 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2614
7ccae3b1
SM
2615 * progmodes/ruby-mode.el: Fix recently added tests.
2616 (ruby-smie-grammar): Add - and +.
2617 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2618 (ruby-smie--backward-id): New functions.
2619 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2620 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2621 any more.
2622
85698d63
LL
26232013-10-07 Leo Liu <sdl.web@gmail.com>
2624
2625 * register.el (register-preview-delay)
2626 (register-preview-functions): New variables.
2627 (register-read-with-preview, register-preview)
2628 (register-describe-oneline): New functions.
2629 (point-to-register, window-configuration-to-register)
2630 (frame-configuration-to-register, jump-to-register)
2631 (number-to-register, view-register, insert-register)
2632 (copy-to-register, append-to-register, prepend-to-register)
2633 (copy-rectangle-to-register): Use register-read-with-preview to
2634 read register. (Bug#15525)
2635
3986af6c
DS
26362013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2637
2638 * net/network-stream.el (network-stream-open-starttls): Don't add
2639 --insecure if it's already present, because that gnutls-cli
2640 rejects getting that parameter twice.
2641
5cd9cda9
DG
26422013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2643
2644 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2645 keyword, too.
2646
da9ea6d9
DG
26472013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2648
2649 * newcomment.el (comment-use-global-state): Change default value
2650 to t, mark obsolete (Bug#15251).
2651 (comment-beginning): In addition to `comment-to-syntax', check the
2652 value of `comment-use-global-state'.
2653
34d1a133
SM
26542013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2657 (ruby-comment-column): Follow the global default, by default.
2658 (ruby-smie-grammar): Add assignment syntax.
2659 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2660 open-paren, a comma, or a \.
2661 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2662 and line continuations.
2663 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2664 followed by implicit semi-colons. Add rule for string concatenation
2665 and for indentation at BOB.
2666 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2667
2668 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2669 calling next-sexp, since next-token may have skipped chars which
2670 next-sexp doesn't know should be skipped!
2671
6f6ab820
LL
26722013-10-05 Leo Liu <sdl.web@gmail.com>
2673
34d1a133
SM
2674 * progmodes/octave.el (octave-send-region):
2675 Call compilation-forget-errors.
6f6ab820 2676
34ca0f4c
XF
26772013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2678
2679 * vc/vc-svn.el (vc-svn-find-admin-dir):
2680 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2681 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2682 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2683 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2684
a27c1b72
SM
26852013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2688
258ab3bc
SM
26892013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * subr.el (read-passwd): Hide chars even when called within a context
2692 where after-change-functions is disabled (bug#15501).
2693 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2694 until we removed ourself from overriding-terminal-local-map.
2695
939fb29c
LL
26962013-10-04 Leo Liu <sdl.web@gmail.com>
2697
258ab3bc
SM
2698 * progmodes/octave.el (inferior-octave-mode):
2699 Call compilation-forget-errors.
939fb29c 2700
63bd7f35
XF
27012013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2702
2703 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2704
9e6229fa
MA
27052013-10-04 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/secrets.el (secrets-create-collection): Add optional
2708 argument ALIAS. Use proper Label keyword. Append ALIAS as
2709 dbus-call-method argument. (Bug#15516)
2710
1dab32a3
LL
27112013-10-04 Leo Liu <sdl.web@gmail.com>
2712
2713 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2714 (inferior-octave-compilation-font-lock-keywords): New variables.
2715 (compilation-error-regexp-alist)
2716 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2717 (inferior-octave-mode): Use compilation-shell-minor-mode.
2718
6cad7ba3
JS
27192013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2720
2721 * minibuffer.el (completion--replace): Be careful that `end' might be
2722 a marker.
2723
acbadd00
DU
27242013-10-03 Daiki Ueno <ueno@gnu.org>
2725
2726 Add support for package signature checking.
2727 * emacs-lisp/package.el (url-http-file-exists-p)
2728 (epg-make-context, epg-context-set-home-directory)
2729 (epg-verify-string, epg-context-result-for)
2730 (epg-signature-status, epg-signature-to-string)
2731 (epg-check-configuration, epg-configuration)
2732 (epg-import-keys-from-file): Declare.
2733 (package-check-signature): New user option.
2734 (package-unsigned-archives): New user option.
2735 (package-desc): Add `signed' field.
2736 (package-load-descriptor): Set `signed' field if .signed file exists.
2737 (package--archive-file-exists-p): New function.
2738 (package--check-signature): New function.
2739 (package-install-from-archive): Check package signature.
2740 (package--download-one-archive): Check archive signature.
2741 (package-delete): Remove .signed file.
2742 (package-import-keyring): New command.
2743 (package-refresh-contents): Import default keyring.
2744 (package-desc-status): Add "unsigned" status.
2745 (describe-package-1, package-menu--print-info)
2746 (package-menu-mark-delete, package-menu--find-upgrades)
2747 (package-menu--status-predicate): Support "unsigned" status.
2748
adf2aa61
SM
27492013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2752 the new compilation scheme using the new byte-codes.
2753
2754 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2755 (byte-pophandler): New byte codes.
2756 (byte-goto-ops): Adjust accordingly.
2757 (byte-compile--use-old-handlers): New var.
2758 (byte-compile-catch): Use new byte codes depending on
2759 byte-compile--use-old-handlers.
2760 (byte-compile-condition-case--old): Rename from
2761 byte-compile-condition-case.
2762 (byte-compile-condition-case--new): New function.
2763 (byte-compile-condition-case): New function that dispatches depending
2764 on byte-compile--use-old-handlers.
2765 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2766 when we can.
2767
2768 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2769 Optimize under `condition-case' and `catch' if
2770 byte-compile--use-old-handlers is nil.
2771 (disassemble-offset): Handle new bytecodes.
2772
328a8179
SM
27732013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * subr.el (error): Use `declare'.
2776 (decode-char, encode-char): Use advertised-calling-convention instead
2777 of the docstring to discourage use of the `restriction' arg.
2778
15a1e936
DU
27792013-10-03 Daiki Ueno <ueno@gnu.org>
2780
2781 * epg.el (epg-verify-file): Add a comment saying that it does not
2782 notify verification error as a return value nor a signal.
2783 (epg-verify-string): Ditto.
2784
376f862a
KR
27852013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2786
2787 * progmodes/compile.el (compilation-start): Try globbing the arg to
2788 `cd' (bug#15417).
2789
a2f93a5f
MA
27902013-10-02 Michael Albinus <michael.albinus@gmx.de>
2791
2792 Sync with Tramp 2.2.8.
2793
2794 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2795 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2796 * net/trampver.el: Update release number.
2797
0daa0804
JD
27982013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2799
2800 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2801 and default-process-coding-system for darwin only.
2802
abd1ae34
SM
28032013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2806
be4e325d
MH
28072013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2808
2809 * vc/vc-git.el (vc-git-grep): Disable pager.
2810
e9155c4a
DG
28112013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2812
494e898b
DG
2813 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2814 Use :url instead of :homepage, as per
2815 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2816
e9155c4a
DG
2817 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2818 non-nil, use `syntax-ppss' (Bug#15251).
2819
481a8e0f
RS
28202013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2821
be4e325d
MH
2822 * progmodes/octave.el (inferior-octave-startup-file):
2823 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2824
056453c6
DG
28252013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2826
be4e325d
MH
2827 * emacs-lisp/package.el (package-desc-from-define):
2828 Accept additional arguments as plist, convert them to an alist and store
2829 them in the `extras' slot.
056453c6
DG
2830 (package-generate-description-file): Convert extras alist back to
2831 plist and append to the `define-package' form arguments.
2832 (package--alist-to-plist): New function.
2833 (package--ac-desc): Add `extras' slot.
2834 (package--add-to-archive-contents): Check if the archive-contents
2835 vector is long enough, and if it is, pass its `extras' slot value
2836 to `package-desc-create'.
2837 (package-buffer-info): Call `lm-homepage', pass the returned value
2838 to `package-desc-from-define'.
2839 (describe-package-1): Render the homepage button (Bug#13291).
2840
be4e325d
MH
2841 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2842 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2843
832966e5
JD
28442013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2845
2846 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2847 and default-process-coding-system to utf-8-unix (Bug#15402).
2848
6cfe977d
XF
28492013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2850
2851 * subr.el (looking-back): Do not recommend using looking-back.
2852
38de11bd
AM
28532013-09-28 Alan Mackenzie <acm@muc.de>
2854
2855 Fix indentation/fontification of Java enum with "implements".
2856
2857 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2858 regexp which matches "implements", etc., in Java.
2859 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2860 specifier clauses coming after "enum".
2861 * progmodes/cc-fonts.el (c-font-lock-declarations)
2862 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2863 after "enum".
2864
1610938f
JD
28652013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2866
2867 * faces.el (region): Change ns_selection_color to
2868 ns_selection_fg_color, add ns_selection_bg_color.
2869
e090f499
LL
28702013-09-28 Leo Liu <sdl.web@gmail.com>
2871
4d2e94d1
LL
2872 * progmodes/octave.el (inferior-octave-completion-table)
2873 (inferior-octave-completion-at-point): Minor tweaks.
2874
e090f499
LL
2875 * textmodes/ispell.el (ispell-lookup-words): Rename from
2876 lookup-words. (Bug#15460)
2877 (lookup-words): Obsolete.
2878 (ispell-complete-word, ispell-command-loop): All uses changed.
2879
7e138a62
RS
28802013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2881
2882 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2883 (octave-mode-menu): Add octave-send-buffer.
2884 (octave-send-buffer): New function.
2885
5af5ed08
RS
28862013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2887
2888 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2889 octave-lookfor.
2890 (octave-mode-menu): Add octave-lookfor.
2891 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2892 octave-lookfor.
2893 (octave-lookfor): New function.
2894
3b7b2692
SM
28952013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * emacs-lisp/cl-macs.el:
2898 (cl--loop-destr-temps): Remove.
2899 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2900 its convention.
2901 (cl--loop-set-iterator-function): New function.
2902 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2903 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2904 Bind `it' with `let' instead of substituting it with `cl-subst'.
2905 (cl--unused-var-p): New function.
2906 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2907 Eliminate some unused variable warnings (bug#15326).
2908
529fb53f
TH
29092013-09-27 Tassilo Horn <tsdh@gnu.org>
2910
2911 * doc-view.el (doc-view-scale-reset): Rename from
2912 `doc-view-reset-zoom-level'.
2913 (doc-view-scale-adjust): New command.
2914 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2915 `doc-view-scale-adjust'.
2916
0550c95a
TH
29172013-09-26 Tassilo Horn <tsdh@gnu.org>
2918
2919 * doc-view.el (doc-view-reset-zoom-level): New command.
2920 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2921 zoom commands (bug#15466).
2922
6950f152
KH
29232013-09-26 Kenichi Handa <handa@gnu.org>
2924
2925 * international/quail.el (quail-help): Make it not a command.
2926
39587580
LL
29272013-09-26 Leo Liu <sdl.web@gmail.com>
2928
2929 * minibuffer.el (completion-all-sorted-completions): Make args
2930 optional as they are.
2931
00578659
DC
29322013-09-25 Daniel Colascione <dancol@dancol.org>
2933
2934 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2935 specs are and that they're not evaluated.
2936
0c173878
SS
29372013-09-24 Sam Steingold <sds@gnu.org>
2938
2939 * midnight.el (clean-buffer-list-kill-regexps)
2940 (clean-buffer-list-kill-buffer-names): Update for the new Man
2941 buffer naming which includes the object name.
2942
84998447
SM
29432013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2946 (eshell-parse-command, eshell-parse-pipeline): Use it since
2947 eshell-separate-commands requires a dynamic scoped var.
2948 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2949
33215353
LL
29502013-09-23 Leo Liu <sdl.web@gmail.com>
2951
2952 * autoinsert.el (auto-insert-alist): Make the value of
2953 lexical-binding match its file setting.
2954
57b16162
JB
29552013-09-23 Juanma Barranquero <lekktu@gmail.com>
2956
c8af4e67
JB
2957 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2958
57b16162
JB
2959 * autoarg.el (autoarg-kp-digit-argument):
2960 * electric.el (Electric-command-loop):
2961 * kmacro.el (kmacro-step-edit-insert):
2962 Do not set universal-argument-num-events.
2963
7186ba60
LL
29642013-09-22 Leo Liu <sdl.web@gmail.com>
2965
2966 * files.el (interpreter-mode-alist): Add octave.
2967
ece15004
AM
29682013-09-21 Alan Mackenzie <acm@muc.de>
2969
2970 C++: fontify identifier in declaration following "public:" correctly.
2971 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2972 to match "public", etc.
2973 (c-decl-prefix-re): Add ":" into the C++ value.
2974 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2975 bit. Add a check for a ":" preceded by "public", etc.
2976
75d83e22
EZ
29772013-09-21 Eli Zaretskii <eliz@gnu.org>
2978
2979 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2980 recognized by GDB 7.5 and later.
2981
d052d3bd
XF
29822013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2983
2984 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2985
31dca772
R
29862013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * subr.el (internal--call-interactively): New const.
2989 (called-interactively-p): Use it (bug#3984).
2990
98ccf24e
XF
29912013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2992
2993 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2994 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2995 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2996
c39cc7d1
SM
29972013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3000 (eshell-ls-orig-insert-directory): Remove.
3001 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3002 (eshell-ls-use-in-dired): Use advice-add/remove.
3003 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3004 Add `orig-fun' arg for use in :around advice.
3005 Make it check (redundantly) eshell-ls-use-in-dired.
3006
9a0289a2
GM
30072013-09-19 Glenn Morris <rgm@gnu.org>
3008
a2c501b8
GM
3009 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3010
c440407a
GM
3011 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3012
9a0289a2
GM
3013 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3014
85e05915
MA
30152013-09-19 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3018 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3019 (tramp-get-remote-python): New defuns.
3020 (tramp-get-remote-uid-with-perl)
3021 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3022 contributed by yary <not.com@gmail.com> (tiny change).
3023 (tramp-get-remote-uid-with-python)
3024 (tramp-get-remote-gid-with-python): New defuns. Python code
3025 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3026 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3027
ce503312
GM
30282013-09-19 Glenn Morris <rgm@gnu.org>
3029
f7544773
GM
3030 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3031
72fd2877
GM
3032 * eshell/em-unix.el (eshell-remove-entries):
3033 Rename argument to avoid name-clash with global `top-level'.
3034
336b5a56
GM
3035 * eshell/esh-proc.el (eshell-kill-process-function):
3036 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3037 (eshell-reset-after-proc): Remove unused arg `proc'.
3038
57a3a53d
GM
3039 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3040 (directory-files-and-attributes): Mark unused arg.
3041
3261d4af
GM
3042 * eshell/em-unix.el (eshell-remove-entries):
3043 Remove unused arg `path'. Update callers.
3044
8e51b5d0
GM
3045 * eshell/em-hist.el (eshell-hist-parse-arguments):
3046 Remove unused arg `silent'. Update callers.
3047
ce503312
GM
3048 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3049 Fix (f)boundp mix-up.
3050
3051 * eshell/em-smart.el (eshell-smart-scroll-window)
3052 (eshell-disable-after-change):
336b5a56 3053 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3054
ee3ce8a7
AM
30552013-09-18 Alan Mackenzie <acm@muc.de>
3056
3057 Fix fontification of type when followed by "const".
3058 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3059 "known" types from fontification.
3060
ec9177ba
GM
30612013-09-18 Glenn Morris <rgm@gnu.org>
3062
7bb3e768
GM
3063 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3064 (chart-face-list): Drop Emacsen without display-color-p.
3065
5148da15
GM
3066 * net/eww.el (libxml-parse-html-region): Declare.
3067 (eww-display-html): Explicit error if no libxml2 support.
3068
2f68e157
GM
3069 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3070
9019d095
GM
3071 * image.el (image-type-from-buffer, image-multi-frame-p):
3072 Remove --without-x warning/error.
67645389 3073
5f30349b 3074 * mouse.el (mouse-yank-primary):
45069b2e 3075 * term.el (term-mouse-paste):
5f30349b
GM
3076 Reorder to silence --without-x compilation.
3077
cd8edbbe
GM
3078 * mpc.el (doc-view-mode): Silence --without-x compilation.
3079
8a78544e
GM
3080 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3081 Silence --without-x compilation.
3082
12679bfd
GM
3083 * progmodes/gud.el (gud-find-file, gud-mode):
3084 Silence --without-x compilation.
3085 (tooltip-mode): Declare.
30810a05 3086
f0047cb9
GM
3087 * wdired.el (dired-backup-overwrite): Remove declaration.
3088 (wdired-mode-map): Add doc string.
3089
e740f9d2
GM
3090 * custom.el (x-get-resource): Declare.
3091
92d77c89
GM
3092 * eshell/em-glob.el (ange-cache):
3093 * eshell/em-unix.el (ange-cache): Declare.
3094
76e69577
GM
3095 * faces.el (x-display-list, x-open-connection, x-get-resource):
3096 Declare.
7e58af4b
GM
3097
3098 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3099 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3100 Declare.
76e69577 3101
4bd4c0af 3102 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3103
ffb82dbd
GM
3104 * net/gnutls.el (gnutls-log-level): Declare.
3105
986ed135
GM
3106 * net/shr.el (image-size, image-animate): Declare.
3107
e740f9d2
GM
3108 * simple.el (font-info): Declare.
3109
d2f3e9f8
GM
3110 * subr.el (x-popup-dialog): Declare.
3111
047a1a4c
GM
3112 * term/common-win.el (x-select-enable-primary)
3113 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3114 Declare.
3115
f4a1d572
GM
3116 * term/ns-win.el (x-handle-args): Declare.
3117
e843de77
GM
3118 * term/x-win.el (x-select-enable-clipboard): Declare.
3119
5fa89513
GM
3120 * term/w32-win.el (create-default-fontset): Declare.
3121
38702b5b
GM
3122 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3123 Declare.
3124
e740f9d2
GM
3125 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3126 (fit-frame-to-buffer): Explicit error if --without-x.
3127 (mouse-autoselect-window-select): Silence compiler.
3128
49a053fc
GM
3129 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3130
3131 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3132 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3133 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3134 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3135 Remove unused local variables.
3136
3137 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3138
ec9177ba
GM
3139 * textmodes/two-column.el: Make 2C-split work for --without-x.
3140 (scroll-bar-columns): Autoload.
3141 (top-level): Require fringe when compiling.
3142
9f25cb77
LL
31432013-09-18 Leo Liu <sdl.web@gmail.com>
3144
3145 * subr.el (add-hook): Robustify to handle closure as well.
3146
2b42da98
GM
31472013-09-17 Glenn Morris <rgm@gnu.org>
3148
3149 * simple.el (messages-buffer-mode-map): Unbind "g".
3150
e8b66a6a
SM
31512013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3152
9c0ad4f7
SM
3153 * help-mode.el (help-mode-finish): Use derived-mode-p.
3154 Remove obsolete highlighting.
3155
7a806dfb
SM
3156 * play/life.el (life-mode): Use define-derived-mode. Derive from
3157 special-mode.
3158 (life): Let-bind inhibit-read-only.
3159 (life-setup): Avoid `setq'. Use `life-mode'.
3160
96dbf5a8
SM
3161 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3162 which should not be needed any more.
3163 (package-menu-refresh, package-menu-describe-package): Use user-error.
3164
e8b66a6a
SM
3165 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3166 (eshell-post-rewrite-command-hook): Make obsolete.
3167 (eshell-parse-command): Simplify.
3168 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3169 (eshell--cmd): Declare.
3170 (eshell-parse-pipeline): Remove unused var `final-p'.
3171 Pass a dynvar to eshell-post-rewrite-command-hook.
3172 Implement the new eshell-post-rewrite-command-function.
3173 (eshell-invoke-directly): Remove unused arg `input'.
3174 * eshell/esh-io.el (eshell-io-initialize):
3175 Use eshell-post-rewrite-command-function (bug#15399).
3176 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3177 adjust to new calling convention.
3178 (eshell-create-handles): Rename args to avoid clashing with dynvar
3179 `standard-output'.
3180
90582f05
GM
31812013-09-17 Glenn Morris <rgm@gnu.org>
3182
3183 * simple.el (messages-buffer-mode): New major mode.
3184 (messages-buffer): New function.
3185 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3186 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3187 (ert-run-test): Use `messages-buffer' function.
90582f05 3188 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3189 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3190 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3191
39eb0cb5 31922013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3193
3194 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3195
1f1e06e2
SM
3196 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3197
70568a90
SM
31982013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3199
504a0381
SM
3200 * icomplete.el (icomplete-in-buffer): New var.
3201 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3202 vars and replace them with functions.
3203 (icomplete-minibuffer-setup): Adjust accordingly.
3204 (icomplete--completion-table, icomplete--completion-predicate)
3205 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3206 New functions.
3207 (icomplete-forward-completions, icomplete-backward-completions)
3208 (icomplete-simple-completing-p, icomplete-exhibit)
3209 (icomplete-completions): Use them.
3210 (icomplete--in-region-buffer): New var.
3211 (icomplete--in-region-setup): New function.
3212 (icomplete-mode): Use it.
3213
70568a90
SM
3214 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3215 (bug#15379).
3216 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3217 return args and options.
3218 (eshell-eval-using-options): Use the new return value of
3219 eshell--do-opts to set the options's vars in their scope.
3220 (eshell--set-option): Rename from eshell-set-option.
3221 Add arg `opt-vals'.
3222 (eshell--process-option): Rename from eshell-process-option.
3223 Add arg `opt-vals'.
3224 (eshell--process-args): Use an `opt-vals' alist to store the options's
3225 values during their processing and return them additionally to the
3226 remaining args.
3227
578c21bc
DG
32282013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3229
3230 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3231 continuation character an operator, as far as indentation is
3232 concerned (Bug#15369).
3233
c089653d
MR
32342013-09-15 Martin Rudalics <rudalics@gmx.at>
3235
3236 * window.el (window--state-put-2): Don't process buffer state
3237 when buffer doesn't exist any more (Bug#15382).
3238
1e53bb4b
GM
32392013-09-15 Glenn Morris <rgm@gnu.org>
3240
30753242
GM
3241 * eshell/em-unix.el (eshell/rm):
3242 Make -f ignore missing files. (Bug#15373)
3243
1e53bb4b
GM
3244 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3245 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3246 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3247
0d8863b3
GM
32482013-09-14 Glenn Morris <rgm@gnu.org>
3249
3250 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3251
d3fc6549
GM
32522013-09-13 Glenn Morris <rgm@gnu.org>
3253
3254 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3255 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3256
fcd42c11
DA
32572013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3258
3259 * frame.el (x-focus-frame): Mark as declared in frame.c.
3260
7830899f
SM
32612013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * ls-lisp.el: Use advice-add.
3264 (original-insert-directory): Remove.
3265 (ls-lisp--insert-directory): Rename from insert-directory; add
3266 `orig-fun' argument.
3267 (insert-directory): Advise.
3268
84387cd2
EZ
32692013-09-13 Eli Zaretskii <eliz@gnu.org>
3270
3271 * term.el (term-emulate-terminal): Decode the command string
3272 before passing it to term-command-hook. (Bug#15337)
3273
35ffc6ba
GM
32742013-09-13 Glenn Morris <rgm@gnu.org>
3275
5c3f9bcc
GM
3276 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3277
2ada368a
GM
3278 * eshell/esh-ext.el (eshell-search-path): Declare.
3279
fcef2e13
GM
3280 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3281 Otherwise an error occurs if eshell-dirs module not loaded.
3282
35ffc6ba
GM
3283 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3284
35c3d36e
MA
32852013-09-13 Michael Albinus <michael.albinus@gmx.de>
3286
3287 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3288 `tramp-check-proper-host'. Check for a valid method name.
3289
3290 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3291 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3292 * net/tramp-sh.el (tramp-maybe-open-connection):
3293 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3294
3295 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3296 also for hash values.
3297
ae5e4c48
SM
32982013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3299
379add74
SM
3300 * term/ns-win.el (parameters): Don't declare as dynamic.
3301 (before-make-frame-hook): Don't add ineffective function.
3302
ae5e4c48
SM
3303 * eshell/*.el: Use lexical-binding (bug#15231).
3304
b5623270
KH
33052013-09-12 Kenichi Handa <handa@gnu.org>
3306
ae5e4c48 3307 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3308
30213927
GM
33092013-09-12 Glenn Morris <rgm@gnu.org>
3310
be94d713 3311 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3312 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3313
44915370
GM
3314 * subr.el (do-after-load-evaluation): Also give compiler warnings
3315 when obsolete files are used (except by obsolete files).
3316
a6ae021f
GM
3317 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3318 in the status output, assume `filename' is the first. (Bug#15322)
3319
40e64f0c
GM
3320 * vc/vc.el (vc-deduce-fileset): Doc fix.
3321
16d9f896
GM
3322 * calc/calc-help.el (Info-goto-node):
3323 * progmodes/cperl-mode.el (Info-find-node):
3324 * vc/ediff.el (Info-goto-node): Update declarations.
3325
dea01c6e
GM
3326 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3327
759880bf 3328 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3329 (vc-bzr-pull): Require vc-dispatcher.
3330 * vc/vc-git.el (vc-compilation-mode): Declare.
3331 (vc-git-pull): Require vc-dispatcher.
3332
08d66420
GM
3333 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3334
30b626e9
GM
3335 * progmodes/octave.el (help-button-action): Declare.
3336
8c05cb10
GM
3337 * shell.el (shell-directory-tracker): Output error as a message
3338 rather than just returning it as a string.
3339 (shell-process-pushd): Remove useless use of message.
3340
30213927
GM
3341 * dframe.el (dframe-timer-fn):
3342 * files.el (dir-locals-read-from-file):
3343 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3344 (mpc-format):
3345 * reveal.el (reveal-post-command):
3346 * saveplace.el (load-save-place-alist-from-file):
3347 * shell.el (shell-resync-dirs):
3348 * w32-common-fns.el (x-get-selection-value):
3349 * emacs-lisp/copyright.el (copyright-find-copyright):
3350 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3351 * emulation/tpu-edt.el (tpu-copy-keyfile):
3352 * play/bubbles.el (bubbles--mark-neighbourhood):
3353 * progmodes/executable.el
3354 (executable-make-buffer-file-executable-if-script-p):
3355 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3356
d3b049e6
SM
33572013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3358
170266d0
SM
3359 Cleanup Eshell to rely less on dynamic scoping.
3360 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3361 last-value, and ext-command here. Bind `args' closer to `body'.
3362 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3363 (eshell--args): Declare new dynamic var.
3364 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3365 last-value, and ext-command. Pass `args' to `body'.
3366 (eshell-process-args): Bind eshell--args.
3367 (eshell-set-option): Use eshell--args.
3368 * eshell/eshell.el (eshell): Use derived-mode-p.
3369 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3370 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3371 (eshell-glob-function): Declare.
3372 * eshell/esh-util.el: Require cl-lib.
3373 (eshell-read-hosts-file): Avoid add-to-list.
3374 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3375 `err'.
3376 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3377 Declare.
3378 (eshell/diff): Remove unused var `err'.
3379 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3380 `killflag'.
3381 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3382 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3383 first use.
3384 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3385 Move declaration before first use.
3386 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3387 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3388 rely on cl-return.
3389
56834f3b
GM
33902013-09-12 Glenn Morris <rgm@gnu.org>
3391
3392 * term/ns-win.el (global-map): Remove binding for ispell-next,
3393 deleted 1999-05-29. (Bug#15357)
3394
5c91a2b8
GM
33952013-09-11 Glenn Morris <rgm@gnu.org>
3396
da712f22
GM
3397 * echistory.el (electric-command-history): Remove call to deleted func.
3398
512e4cdc
GM
3399 * play/landmark.el (landmark-mode): Fix typos.
3400
d3506ca5
GM
3401 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3402 Check cvs-sort-ignore-file is bound.
3403
5c91a2b8
GM
3404 * savehist.el: No need for cl when compiling on Emacs.
3405
feeff482
SM
34062013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3407
656bd483
SM
3408 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3409 (bug#15338).
d3b049e6
SM
3410 (eshell-self-insert-command, eshell-send-invisible):
3411 Remove unused argument.
656bd483
SM
3412 (eshell-handle-control-codes): Remove unused var `orig'.
3413 Avoid delete-backward-char.
3414
feeff482
SM
3415 * files.el (set-auto-mode): Simplify a bit further.
3416
2a08047a
GM
34172013-09-11 Glenn Morris <rgm@gnu.org>
3418
3419 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3420 (set-auto-mode): Don't regexp-quote elements.
3421 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3422 * progmodes/cc-mode.el (interpreter-mode-alist):
3423 * progmodes/ruby-mode.el (interpreter-mode-alist):
3424 Revert previous change.
3425
34675540
SM
34262013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3427
1b3b87df
SM
3428 * play/snake.el (snake-mode):
3429 * play/mpuz.el (mpuz-mode):
3430 * play/landmark.el (lm-mode):
3431 * play/blackbox.el (blackbox-mode):
3432 * play/5x5.el (5x5-mode):
3433 * obsolete/options.el (Edit-options-mode):
3434 * net/quickurl.el (quickurl-list-mode):
3435 * net/newst-treeview.el (newsticker-treeview-mode):
3436 * mail/rmailsum.el (rmail-summary-mode):
3437 * mail/mspools.el (mspools-mode):
3438 * locate.el (locate-mode):
3439 * ibuffer.el (ibuffer-mode):
3440 * emulation/ws-mode.el (wordstar-mode):
3441 * emacs-lisp/debug.el (debugger-mode):
3442 * array.el (array-mode):
3443 * net/eudc.el (eudc-mode): Use define-derived-mode.
3444 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3445 Move initialization into declaration.
3446 (mairix-searches-mode): Use define-derived-mode.
3447 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3448 (eudc-edit-hotlist): Use dolist.
3449 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3450 (Man-mode): Use define-derived-mode.
3451 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3452 (Info-edit-mode): Use define-derived-mode.
3453 (Info-cease-edit): Use Info-mode.
3454 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3455 into declaration.
3456 (eshell-mode): Use define-derived-mode.
3457 * chistory.el (command-history-mode-map): Rename from
3458 command-history-map.
3459 (command-history-mode): Use define-derived-mode.
da712f22 3460 (Command-history-setup): Remove function.
1b3b87df
SM
3461 * calc/calc.el (calc-trail-mode-map): New var.
3462 (calc-trail-mode): Use define-derived-mode.
3463 (calc-trail-buffer): Set calc-main-buffer manually.
3464 * bookmark.el (bookmark-insert-annotation): New function.
3465 (bookmark-edit-annotation): Use it.
3466 (bookmark-edit-annotation-mode): Make it a proper major mode.
3467 (bookmark-send-edited-annotation): Use derived-mode-p.
3468 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3469 closer to its ideal place. Use \' to match EOS.
3470
34675540
SM
3471 * profiler.el (profiler-calltree-find): Use function-equal.
3472
6a5c15d9
GM
34732013-09-10 Glenn Morris <rgm@gnu.org>
3474
1af4c220
GM
3475 * files.el (interpreter-mode-alist): Convert to regexps.
3476 (set-auto-mode): Adapt for this. (Bug#15306)
3477 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3478 Comment out unused variable.
3479 * progmodes/cc-mode.el (interpreter-mode-alist):
3480 * progmodes/python.el (interpreter-mode-alist):
3481 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3482 * progmodes/sh-script.el (sh-set-shell):
3483 No longer use interpreter-mode-alist to get list of shells.
3484
6a5c15d9
GM
3485 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3486
8c27f5ff
SM
34872013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3488
02ef6c1a 3489 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3490 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3491 Bind switch-frame explicitly. Replace universal-argument-minus with
3492 a conditional binding.
3493 (universal-argument-num-events, saved-overriding-map): Remove.
3494 (restore-overriding-map): Remove.
3495 (universal-argument--mode): Rename from save&set-overriding-map,
3496 and rewrite.
3497 (universal-argument, universal-argument-more, negative-argument)
3498 (digit-argument): Adjust accordingly.
3499 (universal-argument-minus): Remove.
3500 (universal-argument-other-key): Remove.
3501
8c27f5ff
SM
3502 * subr.el (with-demoted-errors): Add `format' argument.
3503
6480194c
MA
35042013-09-10 Michael Albinus <michael.albinus@gmx.de>
3505
3506 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3507 `tramp-cleanup-connection'.
3508
3509 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3510 parameters KEEP-DEBUG and KEEP-PASSWORD.
3511
3512 * net/tramp.el (tramp-file-name-handler):
3513 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3514 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3515 (tramp-maybe-open-connection):
8c27f5ff
SM
3516 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3517 Use `tramp-cleanup-connection'.
6480194c 3518
8c27f5ff
SM
3519 * net/tramp-sh.el (tramp-maybe-open-connection):
3520 Catch 'uname-changed inside the progress reporter.
6480194c 3521
e5e916d8
GM
35222013-09-10 Glenn Morris <rgm@gnu.org>
3523
9a2c9b47
GM
3524 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3525
e5e916d8
GM
3526 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3527 returns "alternate access method" in mode (eg "-rw-r--r--.").
3528
144e38fe
GM
35292013-09-08 Glenn Morris <rgm@gnu.org>
3530
3531 * saveplace.el (load-save-place-alist-from-file):
3532 Demote errors. (Bug#15305)
3533
af9ff9e8
MA
35342013-09-08 Michael Albinus <michael.albinus@gmx.de>
3535
3536 Improve compatibility with older Emacsen, and XEmacs.
3537
3538 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3539 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3540 (with-tramp-progress-reporter): Do not let-bind `result'.
3541 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3542 (tramp-handle-make-auto-save-file-name): New function, moved from
3543 tramp-sh.el.
3544
3545 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3546 for `make-auto-save-file-name'.
8c27f5ff
SM
3547 (tramp-adb--gnu-switches-to-ash):
3548 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3549
3550 * net/tramp-cache.el (tramp-cache-print): Call
3551 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3552
3553 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3554 bound. It isn't for XEmacs.
3555
8c27f5ff
SM
3556 * net/tramp-compat.el (tramp-compat-copy-file):
3557 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3558 (tramp-compat-replace-regexp-in-string): New defun.
3559
3560 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3561 for `make-auto-save-file-name'.
3562 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3563 `copy-file'.
3564 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3565 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3566 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3567
8c27f5ff
SM
3568 * net/tramp-gw.el (tramp-gw-open-network-stream):
3569 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3570
8c27f5ff
SM
3571 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3572 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3573 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3574 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3575 (tramp-sh-file-inotifywait-process-filter):
3576 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3577 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3578
3579 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3580 for `make-auto-save-file-name'.
8c27f5ff
SM
3581 (tramp-smb-handle-copy-directory):
3582 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3583 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3584 (tramp-smb-handle-copy-file): Improve error message.
3585 (tramp-smb-handle-rename-file): Rename directly only in case
3586 `newname' does not exist yet. This is a restriction of smbclient.
3587 (tramp-smb-maybe-open-connection): Rerun the function only when
3588 `auth-sources' is non-nil.
3589
0ca754d0
KH
35902013-09-08 Kenichi Handa <handa@gnu.org>
3591
3592 * international/characters.el: Set category "^" (Combining) for
3593 more characters.
3594
e8dd0787
AM
35952013-09-07 Alan Mackenzie <acm@muc.de>
3596
3597 Correctly fontify Java class constructors.
3598 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3599 in Java Mode.
3600 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3601 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3602 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3603 "typeless" declaration there.
3604
f2f248e7
RW
36052013-09-07 Roland Winkler <winkler@gnu.org>
3606
3607 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3608 field subtitle for entry type book.
3609
67982e2b
SM
36102013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * minibuffer.el: Make minibuffer-complete call completion-in-region
3613 rather than other way around.
3614 (completion--some, completion-pcm--find-all-completions):
3615 Don't delay signals when debugging.
3616 (minibuffer-completion-contents): Beware fields within the
3617 minibuffer contents.
3618 (completion-all-sorted-completions): Use defvar-local.
3619 (completion--do-completion, completion--cache-all-sorted-completions)
3620 (completion-all-sorted-completions, minibuffer-force-complete):
3621 Add args `beg' and `end'.
3622 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3623 (minibuffer-complete): Use completion-in-region.
3624 (completion-complete-and-exit): New fun, extracted from
3625 minibuffer-complete-and-exit.
3626 (minibuffer-complete-and-exit): Use it.
3627 (completion--complete-and-exit): Rename from
3628 minibuffer--complete-and-exit.
3629 (completion-in-region--single-word): New function, extracted from
3630 minibuffer-complete-word.
3631 (minibuffer-complete-word): Use it.
3632 (display-completion-list): Make `common-substring' argument obsolete.
3633 (completion--in-region): Call completion--in-region-1 instead of
3634 minibuffer-complete.
3635 (completion-help-at-point): Pass boundaries to
3636 minibuffer-completion-help as args rather than via an overlay.
3637 (completion-pcm--string->pattern): Use `any-delim'.
3638 (completion-pcm--optimize-pattern): New function.
3639 (completion-pcm--pattern->regex): Handle `any-delim'.
3640 * icomplete.el (icomplete-forward-completions)
3641 (icomplete-backward-completions, icomplete-completions):
3642 Adjust calls to completion-all-sorted-completions and
3643 completion--cache-all-sorted-completions.
3644 (icomplete-with-completion-tables): Default to t.
3645 * emacs-lisp/crm.el (crm--current-element): Rename from
3646 crm--select-current-element. Don't put an overlay but return the
3647 boundaries instead.
3648 (crm--completion-command): Take two new args to bind to the boundaries.
3649 (crm-completion-help): Adjust accordingly.
3650 (crm-complete): Use completion-in-region.
3651 (crm-complete-word): Use completion-in-region--single-word.
3652 (crm-complete-and-exit): Use completion-complete-and-exit.
3653
e17d94a5
SM
36542013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3657 than dynamically.
3658
96727100
JL
36592013-09-06 Juri Linkov <juri@jurta.org>
3660
3661 * info.el (Info-display-images-node): When image file doesn't exist
3662 display text version of the image if it's provided in the Info file.
3663 Otherwise, display the location of missing image from SRC attribute.
3664 Add help-echo text property from ALT attribute. (Bug#15279)
3665
86cf7329
SM
36662013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3669 (edit-abbrevs-mode): Use define-derived-mode.
3670
3671 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3672 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3673 that it's defined.
3674 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3675 Use define-derived-mode.
3676
3677 * epg.el (epg-start-encrypt): Minor CSE simplification.
3678
816244a2
WX
36792013-09-06 William Xu <william.xwl@gmail.com>
3680
3681 * arc-mode.el: Add support for 7za (bug#15264).
3682 (archive-7z-program): New var.
3683 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3684 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3685 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3686
1486fa31
MA
36872013-09-06 Michael Albinus <michael.albinus@gmx.de>
3688
3689 Remove URL syntax.
3690
3691 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3692 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3693 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3694 (tramp-postfix-host-format, tramp-file-name-regexp)
3695 (tramp-completion-file-name-regexp)
3696 (tramp-completion-dissect-file-name)
3697 (tramp-handle-substitute-in-file-name): Remove 'url case.
3698 (tramp-file-name-regexp-url)
3699 (tramp-completion-file-name-regexp-url): Remove constants.
3700
39785324
GM
37012013-09-06 Glenn Morris <rgm@gnu.org>
3702
3703 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3704
1f896cb7
DG
37052013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3706
3707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3708 keywords" below "here-doc beginnings" (Bug#15270).
3709
c0458e0b
SM
37102013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * subr.el (pop): Use `car-safe'.
3713 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3714 to detect unused `pop' return value.
3715
3716 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3717 var `block-regexp'.
3718 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3719 (python-fill-string): Remove unused var `marker'.
3720 (python-skeleton-add-menu-items): Remove unused var `items'.
3721
3722 * international/mule-cmds.el: Require CL.
3723 (find-coding-systems-for-charsets): Avoid add-to-list.
3724 (sanitize-coding-system-list): New function, extracted from
3725 select-safe-coding-system-interactively.
3726 (select-safe-coding-system-interactively): Use it.
3727 (read-input-method-name): Accept symbols for `default'.
3728
3729 * emacs-lisp/advice.el (defadvice): Add indent rule.
3730
6c42fc3e
DH
37312013-09-05 Daniel Hackney <dan@haxney.org>
3732
3733 * dired-x.el:
3734 * net/ange-ftp.el:
3735 * net/browse-url.el:
3736 * net/dbus.el:
3737 * net/eudc.el:
3738 * net/eudcb-ldap.el:
3739 * net/eww.el:
3740 * net/imap.el:
3741 * printing.el:
3742 * vc/ediff-diff.el:
3743 * vc/ediff-init.el:
3744 * vc/ediff-merg.el:
3745 * vc/ediff-mult.el:
3746 * vc/ediff-util.el:
3747 * vc/ediff-wind.el:
3748 * vc/ediff.el:
3749 * vc/emerge.el:
3750 * vc/pcvs.el:
3751 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3752 byte compiler. Remove some unused let-bound variables.
3753
4c528aab
SM
37542013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3757 a "ref-cell", since it gets better optimized (bug#14883).
3758
bd15c390
GM
37592013-09-05 Glenn Morris <rgm@gnu.org>
3760
3761 * progmodes/cc-awk.el (c-forward-sws): Declare.
3762
1c3ac2e5
GM
37632013-09-04 Glenn Morris <rgm@gnu.org>
3764
3765 * generic-x.el [rul-generic-mode]: Require cc-mode.
3766 (c++-mode-syntax-table): Declare.
3767 (rul-generic-mode-syntax-table): Init in the defvar.
3768
52b1cc79
SM
37692013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3770
c828af56
SM
3771 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3772 (vc-do-command, vc-set-async-update):
3773 * vc/vc-mtn.el (vc-mtn-dir-status):
3774 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3775 (vc-hg-pull, vc-hg-merge-branch):
3776 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3777 (vc-git-merge-branch):
3778 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3779 (vc-cvs-dir-status-files):
3780 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3781 (vc-bzr-dir-status-files):
3782 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3783 * vc/vc-annotate.el: Use lexical-binding.
3784 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3785 (vc-sentinel-movepoint): Declare.
3786 (vc-annotate): Don't use `goto-line'.
3787 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3788 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3789 (vc-sentinel-movepoint): Declare.
3790 * vc/vc-svn.el: Use lexical-binding.
3791 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3792 * vc/vc-sccs.el:
3793 * vc/vc-rcs.el: Use lexical-binding.
3794
abae272c
SM
3795 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3796 `deleted'. Don't drop errors silently.
3797
52b1cc79
SM
3798 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3799
63191d9f
XF
38002013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3801
3802 * vc/vc.el (vc-ignore): Rewrite.
3803 (vc-default-ignore): New function.
3804 (vc-default-ignore-completion-table): Use find-ignore-file.
3805
3806 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3807 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3808 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3809 Remove. Most code moved to vc.el.
3810
9d3f707c
SM
38112013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3812
abae272c 3813 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3814 * net/tramp-smb.el (tramp-smb-get-file-entries):
3815 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3816 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3817
fde38d49
SM
3818 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3819 Update call to it.
3820 (eww-change-select): Remove unused var `properties'.
3821 (eww-make-unique-file-name): Remove unused var `base'.
3822
3823 * finder.el (finder-compile-keywords): Don't mess with windows.
3824
84032db7
SM
3825 * calculator.el (calculator-funcall): Fix typo in last change.
3826
724f5e41
SM
3827 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3828
14b511d4
SM
3829 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3830 <pkg>-autoloads.el file stop us.
3831
9d3f707c 3832 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3833 warnings, and factor out common code.
9d3f707c 3834
88527bc0
DG
38352013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3836
3837 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3838 two-character operators and whether the character preceding them
3839 changes their meaning (Bug#15208).
3840
96edb677
FEG
38412013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3842
3843 Format code sent to Python shell for robustness.
9d3f707c
SM
3844 * progmodes/python.el (python-shell-buffer-substring):
3845 New function.
96edb677
FEG
3846 (python-shell-send-region, python-shell-send-buffer): Use it.
3847
95beaef3
MA
38482013-09-02 Michael Albinus <michael.albinus@gmx.de>
3849
3850 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3851 * net/tramp.el (tramp-user-error): ... here.
3852 (tramp-find-method, tramp-check-proper-host)
3853 (tramp-dissect-file-name, tramp-debug-message)
3854 (tramp-handle-shell-command):
3855 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3857
3858 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3859
f167c27b
MR
38602013-09-02 Martin Rudalics <rudalics@gmx.at>
3861
3862 * avoid.el (mouse-avoidance-point-position)
3863 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3864 returns nil.
3865
cd16c5f1
FEG
38662013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3867
3868 * progmodes/python.el (python-shell-completion-get-completions):
3869 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3870 (python-nav-if-name-main): New command.
cd16c5f1 3871
e73c3a0d
GM
38722013-09-01 Glenn Morris <rgm@gnu.org>
3873
f8ccce03
GM
3874 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3875 Avoid leading space in $wins. Otherwise the sed command used by
3876 eg compile-main ends up containing "/*.el". (Bug#15170)
3877
e73c3a0d
GM
3878 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3879
415f808e
GM
38802013-08-30 Glenn Morris <rgm@gnu.org>
3881
3882 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3883 Fix is-this-a-directory logic. (Bug#15220)
3884
f069bba8
SM
38852013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3886
112798c1
SM
3887 * textmodes/css-mode.el: Use SMIE.
3888 (css-smie-grammar): New var.
3889 (css-smie--forward-token, css-smie--backward-token)
3890 (css-smie-rules): New functions.
3891 (css-mode): Use them.
3892 (css-navigation-syntax-table): Remove var.
3893 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3894 (css-indent-calculate, css-indent-line): Remove functions.
3895
3896 Misc changes to reduce use of `(lambda...); and other cleanups.
3897 * cus-edit.el: Use lexical-binding.
3898 (customize-push-and-save, customize-apropos)
3899 (custom-buffer-create-internal): Use closures.
3900 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3901 * progmodes/ada-xref.el: Use setq.
3902 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3903 * dframe.el: Use lexical-binding.
3904 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3905 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3906 * descr-text.el: Use lexical-binding.
3907 (describe-text-widget, describe-text-sexp, describe-property-list):
3908 Use closures.
3909 * comint.el (comint-history-isearch-push-state): Use a closure.
3910 * calculator.el: Use lexical-binding.
3911 (calculator-number-to-string): Make it work with lexical-binding.
3912 (calculator-funcall): Same and use cl-letf.
3913
2da4c3ab
SM
3914 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3915 (lisp--company-doc-string, lisp--company-location): New functions.
3916 (lisp-completion-at-point): Use them to improve Company support.
3917
f069bba8
SM
3918 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3919 params of lambda expressions.
3920 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3921 (ruby-smie--opening-pipe-p): New function.
3922 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3923 symbols and matched |...| for formal params.
3924 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3925 from being treated as hanging. Handle "rescue".
3926
6758b6a8
GM
39272013-08-29 Glenn Morris <rgm@gnu.org>
3928
3929 * progmodes/cc-engine.el (c-pull-open-brace):
3930 Move definition before use.
3931
e8dfd197
SM
39322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3935 are immutable. Don't use `unsafe' any more.
3936 (cl--defsubst-expand): Don't substitute at the same time as keeping
3937 a residual unused let-binding. Don't use `unsafe' any more.
3938
cc585c96
GM
39392013-08-29 Glenn Morris <rgm@gnu.org>
3940
ba579ea6
GM
3941 * calendar/cal-china.el (calendar-chinese-year-cache):
3942 Recenter on 2015.
3943
8201a87e
GM
3944 * nxml/nxml-util.el (nxml-debug-clear-inside):
3945 Use cl-loop rather than loop.
3946
6ee877c7
GM
3947 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3948
cc585c96
GM
3949 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3950
27be8d39
GM
39512013-08-28 Glenn Morris <rgm@gnu.org>
3952
397440a1
GM
3953 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3954
2bb762d4
GM
3955 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3956
27be8d39
GM
3957 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3958
2d69b99e
SM
39592013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3960
f663baa7
SM
3961 * simple.el (repeat-complex-command--called-interactively-skip):
3962 New function.
3963 (repeat-complex-command): Use it (bug#14136).
3964
dd4f8b74
SM
3965 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3966 (c-define-abbrev-table): Add `doc' argument.
3967 (c-mode-abbrev-table, c++-mode-abbrev-table)
3968 (objc-mode-abbrev-table, java-mode-abbrev-table)
3969 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3970 (awk-mode-abbrev-table): Use it.
3971 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3972 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3973 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3974 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3975 Move initialization into the declaration; and remove any
3976 autoload cookie.
3977
b58969f7
SM
3978 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3979 and dynamic let binding.
3980
4021d6a6
SM
3981 * vc/smerge-mode.el: Remove redundant :group args.
3982
2d69b99e
SM
3983 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3984 to load-path.
3985
274919fd
JL
39862013-08-28 Juri Linkov <juri@jurta.org>
3987
3988 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3989 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3990 (isearch-other-meta-char): Handle an undefined shifted printing
3991 character by downshifting it. (Bug#15200)
3992
121f8c95
JL
39932013-08-28 Juri Linkov <juri@jurta.org>
3994
3995 * isearch.el (isearch-search): Change regexp error message for
3996 non-regexp searches. (Bug#15166)
3997
50b13cde
PE
39982013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3999
4000 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4001 for portability to hosts where /bin/sh has problems.
4002
95888bca
SM
40032013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4006
bbe558f1
JL
40072013-08-27 Juri Linkov <juri@jurta.org>
4008
4009 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4010 in the keyboard macro. (Bug#15126)
4011
26f98a7d
JL
40122013-08-27 Juri Linkov <juri@jurta.org>
4013
4014 * isearch.el (isearch-quote-char): Comment out converting unibyte
4015 to multibyte, thus syncing with its `quoted-insert' counterpart.
4016 (Bug#15166)
4017
7c97d35e
MR
40182013-08-27 Martin Rudalics <rudalics@gmx.at>
4019
4020 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4021 argument in call of get-largest-window (Bug#15185).
4022 Reported by Stephen Leake.
7c97d35e 4023
a0b5606e 40242013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4025
4026 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4027
9e89d835
SM
40282013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4031 from a matcher-function unless there's no more matches (bug#15161).
4032
78fc2530
MA
40332013-08-26 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * minibuffer.el: Revert change from 2013-08-20.
4036
4037 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4038 with text property `tramp-default', if appropriate.
4039 (tramp-check-proper-host): New defun.
4040 (tramp-dissect-file-name): Do not check hostname. Revert change
4041 of 2013-03-18.
4042 (tramp-backtrace): Make VEC-OR-PROC optional.
4043
4044 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4045 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4046 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4047 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4048 Apply `tramp-check-proper-host'.
78fc2530 4049
edca97cd
TH
40502013-08-26 Tassilo Horn <tsdh@gnu.org>
4051
4052 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4053 lambda expression in order to have `describe-variable' display it.
4054
df54bcbd
MA
40552013-08-26 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4058 BUF can be optional. (Bug#15186)
4059
eed99101
XF
40602013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4061
4062 * progmodes/flymake.el (flymake-get-real-file-name-function):
4063 Fix broken customization. (Bug#15184)
4064
b5eb9035
AM
40652013-08-25 Alan Mackenzie <acm@muc.de>
4066
8a51e842
AM
4067 Improve indentation of bracelists defined by macros (without "=").
4068
4069 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4070 expansion begins with "{", regard it as bracelist when it doesn't
4071 contain a ";".
4072
869455d4
AM
4073 Parse C++ inher-intro when there's a template split over 2 lines.
4074
4075 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4076 rigorously the search for "class" etc. followed by ":".
4077
4078 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4079 random languages a regexp which never matches rather than nil.
4080
b5eb9035
AM
4081 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4082
4083 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4084 (c-awk-regexp-one-line-possibly-open-char-list-re)
4085 (c-awk-one-line-possibly-open-regexp-re)
4086 (c-awk-one-line-non-syn-ws*-re): Remove.
4087 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4088 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4089 (c-awk-space*-unclosed-regexp-/-re): New constants.
4090 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4091 aren't regexp delimiters.
4092
4093 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4094 handling for a rare situation in AWK Mode involving unterminated
4095 strings/regexps.
4096
61611d54
GM
40972013-08-23 Glenn Morris <rgm@gnu.org>
4098
2d85dc34
GM
4099 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4100
cb8d2612
GM
4101 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4102
bb35f42f
GM
4103 * files.el (create-file-buffer): If the result would begin with
4104 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4105
b9808e77
SM
41062013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4107
e3a66363
SM
4108 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4109 text-properties (bug#15155).
4110
b9808e77
SM
4111 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4112 exist any more.
4113 (calc-keypad-redraw): Remove unused var `pad'.
4114 (calc-keypad-press): Remove unused var `menu'.
4115
7fd5f65e
MR
41162013-08-23 Martin Rudalics <rudalics@gmx.at>
4117
b9808e77
SM
4118 * window.el (display-buffer-pop-up-frame):
4119 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4120 use it as the new frame's buffer (Bug#15133).
4121
8352b530
SM
41222013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * calendar/timeclock.el: Minor cleanups.
4125 (timeclock-ask-before-exiting, timeclock-use-display-time):
4126 Use `symbol'.
4127 (timeclock-modeline-display): Define as alias before the
4128 actual definition.
4129 (timeclock-mode-line-display): Use define-minor-mode.
4130 (timeclock-day-list-template): Make it a function, add an argument.
4131 (timeclock-day-list-required, timeclock-day-list-length)
4132 (timeclock-day-list-debt, timeclock-day-list-span)
4133 (timeclock-day-list-break): Adjust calls accordingly.
4134
9f7b1925
SM
41352013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4138 Use read--expression so that completion works again.
4139
6e50e983
SS
41402013-08-21 Sam Steingold <sds@gnu.org>
4141
4142 Add rudimentary inferior shell interaction
4143 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4144 (sh-set-shell): Reset it.
9f7b1925
SM
4145 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4146 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4147
dbb0d350
SM
41482013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * align.el: Use lexical-binding.
4151 (align-region): Simplify accordingly.
4152
c88586a9
MA
41532013-08-20 Michael Albinus <michael.albinus@gmx.de>
4154
4155 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4156
4157 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4158 `non-essential' up.
4159
f95527c8
MA
41602013-08-17 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * net/tramp.el:
4163 * net/tramp-adb.el:
4164 * net/tramp-cmds.el:
4165 * net/tramp-ftp.el:
4166 * net/tramp-gvfs.el:
4167 * net/tramp-gw.el:
4168 * net/tramp-sh.el: Don't wrap external variable declarations by
4169 `eval-when-compile'.
4170
4b5fe4ee
LMI
41712013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4172
4173 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4174 now that Emacs supports ImageMagick animations.
4175
13c366c9
MA
41762013-08-16 Michael Albinus <michael.albinus@gmx.de>
4177
4178 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4179 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4180
3dfc5cd6
MR
41812013-08-16 Martin Rudalics <rudalics@gmx.at>
4182
4183 * window.el (mouse-autoselect-window-select): Do autoselect when
4184 mouse pointer is on margin.
4185
4bbb4381
WP
41862013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4187
4188 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4189
3a2ddc2d
GM
41902013-08-16 Glenn Morris <rgm@gnu.org>
4191
e8bedf5a
GM
4192 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4193 Handle "Remote Directory" response of some clients. (Bug#15058)
4194
58c4682f
GM
4195 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4196 Tweak warning. (Bug#14926)
4197
57953f49
GM
4198 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4199 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4200
3a2ddc2d
GM
4201 * image-mode.el (image-mode-map): Add menu items to reverse,
4202 increase, decrease, reset animation speed.
4203 (image--set-speed, image-increase-speed, image-decrease-speed)
4204 (image-reverse-speed, image-reset-speed): New functions.
4205 (image-mode-map): Add bindings for speed commands.
4206
4207 * image.el (image-animate-get-speed, image-animate-set-speed):
4208 New functions.
4209 (image-animate-timeout): Respect image :speed property.
4210
10fa0ed3
SM
42112013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4214 previous line (bug#15101).
4215 (debugger-eval-expression, debugger-record-expression):
4216 Use read--expression (bug#15102).
4217
5d89d9d2
MA
42182013-08-15 Michael Albinus <michael.albinus@gmx.de>
4219
4220 Remove byte compiler warnings, visible when compiling with
4221 `byte-compile-force-lexical-warnings' set to t.
4222
4223 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4224 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4225 (tramp-handle-unhandled-file-name-directory)
4226 (tramp-handle-file-notify-add-watch, tramp-action-login)
4227 (tramp-action-succeed, tramp-action-permission-denied)
4228 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4229 arguments with "_".
4230
4231 * net/tramp-adb.el (tramp-adb-parse-device-names)
4232 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4233 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4234 (tramp-adb-handle-file-truename): Remove unused arguments.
4235
4236 * net/tramp-cache.el (tramp-flush-directory-property)
4237 (tramp-flush-connection-property, tramp-list-connections)
4238 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4239
10fa0ed3
SM
4240 * net/tramp-compat.el (tramp-compat-make-temp-file):
4241 Rename FILENAME to F.
5d89d9d2
MA
4242
4243 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4244 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4245 (tramp-zeroconf-parse-workstation-device-names)
4246 (tramp-zeroconf-parse-webdav-device-names)
4247 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4248
4249 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4250 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4251
4252 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4253 arguments.
4254 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4255 (tramp-sh-handle-insert-file-contents-literally)
4256 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4257 with "_".
4258 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4259 Remove unused variables.
4260
4261 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4262 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4263 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4264
4265 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4266 Make them a defconst.
4267 (tramp-uuencode-region): Remove unused variable.
4268
62f33bae
JB
42692013-08-14 Juanma Barranquero <lekktu@gmail.com>
4270
4271 * frameset.el (frameset--prop-setter): New function.
4272 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4273 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4274 parameter was already set in FILTERED. Doc fix.
4275 (frameset--record-minibuffer-relationships): Allow saving a
4276 minibufferless frame without its corresponding minibuffer frame.
4277 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4278 frame, if the frame id matches.
4279 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4280 frames before orphaned ones.
4281 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4282
c660a885
MR
42832013-08-14 Martin Rudalics <rudalics@gmx.at>
4284
4285 * window.el (window-make-atom): Don't overwrite parameter
4286 already present.
4287 (display-buffer-in-atom-window): Handle special case where we
4288 split an already atomic window.
4289 (window--major-non-side-window, display-buffer-in-side-window)
4290 (window--side-check): Ignore minibuffer window when walking
4291 window tree.
4292 (window-deletable-p): Return 'frame only if no other frame uses
4293 our minibuffer window.
4294 (record-window-buffer): Run buffer-list-update-hook.
4295 (split-window): Make sure window--check-frame won't destroy an
4296 existing atomic window in case the new window gets nested
4297 inside.
4298 (display-buffer-at-bottom): Ignore minibuffer window when
4299 walking window tree. Don't split a side window.
4300 (pop-to-buffer): Don't set-buffer here, the select-window call
4301 should do that.
4302 (mouse-autoselect-window-select): Autoselect only if we are in the
4303 text portion of the window.
4304
8259030d
LMI
43052013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4306
21c58ae2
LMI
4307 * net/shr.el (shr-parse-image-data): New function to grab both the
4308 data itself and the Content-Type.
4309 (shr-put-image): Use it.
4310
4311 * net/eww.el (eww-display-image): Ditto.
4312
8259030d
LMI
4313 * image.el (image-content-type-suffixes): New variable.
4314
ad756449
FEG
43152013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4316
4317 * progmodes/python.el (python-imenu--build-tree)
4318 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4319
f73f4ce6
XF
43202013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4321
4322 * simple.el (backward-word): Mention the optional argument.
4323
1f585e65
SM
43242013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * frameset.el (frameset--make): Rename constructor from make-frameset.
4327 (frameset-p, frameset-valid-p): Don't autoload.
4328 (frameset-valid-p): Use normal accessors.
4329
af1c6c84
GM
43302013-08-13 Glenn Morris <rgm@gnu.org>
4331
55e47f95
GM
4332 * progmodes/compile.el (compile-command): Tweak example in doc.
4333 * obsolete/scribe.el (scribe-mode):
4334 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4335
f0024d8c
GM
4336 * mail/feedmail.el (feedmail-confirm-outgoing)
4337 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4338
4339 * cus-start.el (truncate-partial-width-windows): Fix type.
4340
4341 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4342
af1c6c84
GM
4343 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4344
5514cc4c
SM
43452013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * emacs-lisp/timer.el (timer--time-setter): New function.
4348 (timer--time): Use it as gv-setter.
4349
4350 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4351 setter is not a symbol.
4352
7997a2f1
GJ
43532013-08-12 Grégoire Jadi <daimrod@gmail.com>
4354
4355 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4356 if sending fails. This makes debugging easier.
4357
01f1a9ab
JB
43582013-08-12 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4361 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4362 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4363
594a4307
EZ
43642013-08-12 Eli Zaretskii <eliz@gnu.org>
4365
4366 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4367
7a22490f 43682013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4369
4370 * format.el (format-annotate-function):
4371 Handle read-only text properties in the source. (Bug#14887)
4372
3e41a054
LMI
43732013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4374
5514cc4c
SM
4375 * net/eww.el (eww-display-html): Ignore coding system errors.
4376 One web site uses "utf-8lias" as the coding system.
3e41a054 4377
7ec326db
JB
43782013-08-11 Juanma Barranquero <lekktu@gmail.com>
4379
4380 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4381
5660113b
JB
43822013-08-10 Juanma Barranquero <lekktu@gmail.com>
4383
9a4ebc74
JB
4384 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4385 (tutorial--detailed-help): Remove unused local variables.
4386 (tutorial--save-tutorial-to): Use ignore-errors.
4387 (help-with-tutorial): Use looking-at-p.
4388
4389 * view.el (view-buffer-other-window, view-buffer-other-frame):
4390 Mark unused arguments.
4391
4392 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4393 (woman-select-symbol-fonts, woman, woman-find-file)
4394 (woman-insert-file-contents, woman-non-underline-faces):
4395 Use string-match-p.
4396 (woman1-unquote): Move declaration.
4397
4398 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4399 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4400 argument. Remove unused local variable.
4401 (xml-parse-elem-type): Use string-match-p.
4402 (xml-substitute-numeric-entities): Use ignore-errors.
4403
45fdb482
JB
4404 * calculator.el (calculator): Mark unused argument.
4405 (calculator-paste, calculator-quit, calculator-integer-p):
4406 Use ignore-errors.
4407 (calculator-string-to-number, calculator-decimal, calculator-exp)
4408 (calculator-op-or-exp): Use string-match-p.
4409
4410 * dired.el (dired-buffer-more-recently-used-p): Declare.
4411 (dired-insert-set-properties, dired-insert-old-subdirs):
4412 Use ignore-errors.
4413
4414 * dired-aux.el (dired-compress): Use ignore-errors.
4415 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4416 (dired-do-async-shell-command, dired-do-shell-command)
4417 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4418 (dired-insert-subdir-validate): Use string-match-p.
4419 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4420 (dired-add-entry): Use string-match-p, looking-at-p.
4421 (dired-insert-subdir-newpos): Remove unused local variable.
4422
4423 * filenotify.el (file-notify-callback): Remove unused local variable.
4424
4425 * filesets.el (filesets-error): Mark unused argument.
4426 (filesets-which-command-p, filesets-filter-dir-names)
4427 (filesets-directory-files, filesets-get-external-viewer)
4428 (filesets-ingroup-get-data): Use string-match-p.
4429
4430 * find-file.el (ff-other-file-name, ff-other-file-name)
4431 (ff-find-the-other-file, ff-cc-hh-converter):
4432 Remove unused local variables.
4433 (ff-get-file-name): Use string-match-p.
4434 (ff-all-dirs-under): Use ignore-errors.
4435
4436 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4437 (follow-select-if-visible): Remove unused local variable.
4438
4439 * forms.el (read-file-filter): Move declaration.
4440 (forms--make-format, forms--make-parser, forms-insert-record):
4441 Quote function with #'.
4442 (forms--update): Use string-match-p. Quote function with #'.
4443
4444 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4445 (help-make-xrefs): Use looking-at-p.
4446 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4447
4448 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4449 (ibuffer-confirm-operation-on): Use string-match-p.
4450
4451 * msb.el (msb-item-handler, msb-dired-item-handler):
4452 Mark unused arguments.
4453
4454 * ses.el (ses-decode-cell-symbol)
4455 (ses-kill-override): Remove unused local variable.
4456 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4457 (ses-load): Use ignore-errors, looking-at-p.
4458 (ses-jump-safe): Use ignore-errors.
4459 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4460
4461 * tabify.el (untabify, tabify): Mark unused arguments.
4462
4463 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4464 Mark unused argument.
4465 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4466 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4467
c880af52
JB
4468 * emacs-lisp/timer.el (timer--time): Define setter with
4469 gv-define-setter to avoid deprecation warning.
4470
5660113b 4471 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4472 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4473 (cmpl-statistics-block): Remove (body was commented out).
4474 All callers changed.
4475 (add-completions-from-buffer, load-completions-from-file):
4476 Remove unused variables.
4477
156aab80
JB
44782013-08-09 Juanma Barranquero <lekktu@gmail.com>
4479
5c5dee78
JB
4480 * filecache.el (file-cache-delete-file-list):
4481 Print message only when told so.
4482 (file-cache-files-matching): Use #' in mapconcat argument.
4483
156aab80
JB
4484 * ffap.el (ffap-url-at-point): Fix reference to variable
4485 thing-at-point-default-mail-uri-scheme.
4486
ad9dcd70
SM
44872013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4488
54bd972f
SM
4489 * subr.el (define-error): New function.
4490 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4491 error-file-not-found and define with define-error.
4492 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4493 and define with define-error.
4494 * userlock.el (file-locked, file-supersession):
4495 * simple.el (mark-inactive):
4496 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4497 * progmodes/ada-mode.el (ada-mode-errors):
4498 * play/life.el (life-extinct):
4499 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4500 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4501 * nxml/rng-util.el (rng-error):
4502 * nxml/rng-uri.el (rng-uri-error):
4503 * nxml/rng-match.el (rng-compile-error):
4504 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4505 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4506 * nxml/nxml-rap.el (nxml-scan-error):
4507 * nxml/nxml-outln.el (nxml-outline-error):
4508 * net/soap-client.el (soap-error):
4509 * net/gnutls.el (gnutls-error):
4510 * net/ange-ftp.el (ftp-error):
4511 * mpc.el (mpc-proc-error):
4512 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4513 (json-number-format, json-string-escape, json-string-format)
4514 (json-key-format, json-object-format):
4515 * jka-compr.el (compression-error):
4516 * international/quail.el (quail-error):
4517 * international/kkc.el (kkc-error):
4518 * emacs-lisp/ert.el (ert-test-failed):
4519 * calc/calc.el (calc-error, inexact-result, math-overflow)
4520 (math-underflow):
4521 * bookmark.el (bookmark-error-no-filename):
4522 * epg.el (epg-error): Define with define-error.
4523
0ea9e53a
SM
4524 * time.el (display-time-event-handler)
4525 (display-time-next-load-average): Don't call sit-for since it seems
4526 unnecessary (bug#15045).
4527
b0429158
SM
4528 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4529 Use #' instead of ' to quote functions.
4530 (checkdoc-output-mode): Use setq-local.
4531 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4532 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4533 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4534 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4535 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4536 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4537 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4538 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4539
ad9dcd70
SM
4540 * ido.el (ido-completion-help): Fix up compiler warning.
4541
77187e6f
JB
45422013-08-09 Juanma Barranquero <lekktu@gmail.com>
4543
4544 * frameset.el (frameset-p): Add autoload cookie.
4545 (frameset--jump-to-register): New function, based on code moved from
4546 register.el.
4547 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4548
4549 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4550 (frameset-restore, frameset-save, frameset-session-filter-alist):
4551 Remove declarations.
4552 (register-alist): Doc fix.
4553 (frameset-to-register): Move to frameset.el.
4554 (jump-to-register, describe-register-1): Remove frameset-specific code.
4555
9d3aa82c
JB
45562013-08-08 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * allout-widgets.el (allout-widgets-pre-command-business)
4559 (allout-widgets-post-command-business)
4560 (allout-widgets-after-change-handler)
4561 (allout-decorate-item-and-context, allout-set-boundary-marker)
4562 (allout-body-modification-handler)
4563 (allout-graphics-modification-handler): Mark ignored arguments.
4564 (allout-widgets-post-command-business)
4565 (allout-widgets-exposure-change-processor)
4566 (allout-widgets-exposure-undo-processor)
4567 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4568 (allout-parse-item-at-point, allout-decorate-item-guides)
4569 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4570 * allout.el (epa-passphrase-callback-function): Declare.
4571 (allout-overlay-insert-in-front-handler)
4572 (allout-overlay-interior-modification-handler)
4573 (allout-isearch-end-handler, allout-chart-siblings)
4574 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4575 (allout-yank-processing, allout-process-exposed)
4576 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4577 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4578 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4579 (lisp-indent-defform): Mark ignored arguments.
4580 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4581 (calculate-lisp-indent): Remove unused variables.
4582 * international/characters.el (indian-2-column, arabic-2-column)
4583 (tibetan): Mark ignored arguments.
4584 (use-cjk-char-width-table): Mark ignored arguments.
4585 Remove unused variables.
4586 * international/fontset.el (build-default-fontset-data)
4587 (x-compose-font-name, create-fontset-from-fontset-spec):
4588 Mark ignored arguments.
4589 (fontset-plain-name): Remove unused variables.
4590 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4591 (keyboard-coding-system): Mark ignored arguments.
4592 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4593 * help.el (resize-temp-buffer-window):
4594 * window.el (display-buffer-in-major-side-window)
4595 (display-buffer-in-side-window, display-buffer-in-previous-window):
4596 Remove unused variables.
4597 * isearch.el (isearch-forward-symbol):
4598 * version.el (emacs-bzr-version-bzr):
4599 * international/mule-cmds.el (current-language-environment):
4600 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4601 (x-handle-display):
4602 * term/pc-win.el (x-list-fonts, x-display-planes)
4603 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4604 (x-server-version, x-display-screens, x-display-mm-height)
4605 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4606 (x-selection-owner-p, x-own-selection-internal)
4607 (x-disown-selection-internal, x-get-selection-internal)
4608 (msdos-initialize-window-system):
4609 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4610 * term/x-win.el (x-handle-no-bitmap-icon):
4611 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4612 (vc-default-find-file-hook, vc-default-extra-menu):
4613 Mark ignored arguments.
4614
0ca3f70e
SM
46152013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4618 break-condition in the context of the debugged code (bug#12685).
4619
74c5d24c
CS
46202013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4621
4622 * comint.el:
4623 Do not use an overlay to highlight the last prompt. (Bug#14744)
4624 (comint-mode): Make comint-last-prompt buffer local.
4625 (comint-last-prompt): New variable.
4626 (comint-last-prompt-overlay): Remove. Superseded by
4627 comint-last-prompt.
0ca3f70e
SM
4628 (comint-snapshot-last-prompt, comint-output-filter):
4629 Use comint-last-prompt.
74c5d24c 4630
c03c02ee
JB
46312013-08-08 Juanma Barranquero <lekktu@gmail.com>
4632
a3738d20 4633 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4634 (frameset-save): Check validity of the resulting frameset.
4635
04263d23
XF
46362013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4637
4638 * ido.el (ido-record-command): Add doc string.
4639
76c5e5ab
JB
46402013-08-08 Juanma Barranquero <lekktu@gmail.com>
4641
4642 * frameset.el (frameset): Do not disable creation of the default
4643 frameset-p predicate. Doc fix.
4644 (frameset-valid-p): New function, copied from the old predicate-p.
4645 Add additional checks.
4646 (frameset-restore): Check with frameset-valid-p.
4647 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4648 (frameset-name, frameset-description, frameset-properties)
4649 (frameset-states): Add docstring.
f9dbf1cb
JB
4650 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4651 (frameset-filter-alist): Doc fixes.
76c5e5ab 4652
bd0c3c0b
JB
46532013-08-08 Juanma Barranquero <lekktu@gmail.com>
4654
4655 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4656
c735544c
SM
46572013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4660 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4661 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4662 (byte-compile-normal-call): Remove obsolescence check.
4663
2805a651
JB
46642013-08-08 Juanma Barranquero <lekktu@gmail.com>
4665
3677ffeb
JB
4666 * frameset.el (frameset-restore): Doc fix.
4667
2805a651
JB
4668 * register.el (frameset-frame-id, frameset-frame-with-id)
4669 (frameset-p, frameset-restore, frameset-save): Declare.
4670 (register-alist): Document framesets.
4671 (frameset-session-filter-alist): Declare.
4672 (frameset-to-register): New function.
4673 (jump-to-register): Implement jumping to framesets. Doc fix.
4674 (describe-register-1): Describe framesets.
4675
4676 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4677
a912c016
JB
46782013-08-07 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4681 Use lexical-binding.
4682
4683 * frameset.el (frameset): Use type vector, not list (incompatible
4684 change). Do not declare a new constructor, use the default one.
4685 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4686 `name' and `description', respectively, and add read-only slot
4687 `timestamp'. Doc fixes.
4688 (frameset-copy, frameset-persistent-filter-alist)
4689 (frameset-filter-alist, frameset-switch-to-gui-p)
4690 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4691 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4692 (frameset-filter-iconified, frameset-keep-original-display-p):
4693 Doc fixes.
4694 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4695 Rename from frameset-filter-(save|restore)-param. All callers changed.
4696 Doc fix.
4697 (frameset-p): Adapt to change to vector and be more thorough.
4698 Change arg name to OBJECT. Doc fix.
4699 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4700 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4701 All callers changed.
4702 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4703 All callers changed.
4704 (frameset--record-minibuffer-relationships): Rename from
4705 frameset--process-minibuffer-frames. All callers changed.
4706 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4707 Use new default constructor (again). Doc fix.
4708 (frameset--find-frame-if): Rename from `frameset--find-frame.
4709 All callers changed.
4710 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4711 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4712 Doc fix.
4713 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4714 PARAMETERS and WINDOW-STATE, respectively.
4715 (frameset-restore): Add new keyword argument PREDICATE.
4716 Reset frameset--target-display to nil. Doc fix.
4717
bb41480a
SM
47182013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4719
f001e98e
SM
4720 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4721 (bat-mode): Use it.
4722 (bat-mode-syntax-table): Mark \n as end-of-comment.
4723 (bat-font-lock-keywords): Remove comment rule.
4724
7679edb1
SM
4725 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4726 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4727
bb41480a
SM
4728 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4729 (byte-compile-callargs-warn): Use `push'.
4730 (byte-compile-arglist-warn): Ignore higher-order "calls".
4731 (byte-compile-file-form-autoload): Use `pcase'.
4732 (byte-compile-function-form): If quoting a symbol, check that it exists.
4733
cdc1ebb9
EZ
47342013-08-07 Eli Zaretskii <eliz@gnu.org>
4735
4736 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4737 and add a few popular commands found in batch files.
4738 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4739 (dos-mode): Doc fixes.
4740
312b1740
SM
47412013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4744 (dos-mode): Use setq-local. Add space after "rem".
4745 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4746 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4747
400a3178
AM
47482013-08-07 Arni Magnusson <arnima@hafro.is>
4749
4750 * progmodes/dos.el: New file.
4751 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4752 dos-mode.
4753
3b5c03d3
GM
47542013-08-06 Glenn Morris <rgm@gnu.org>
4755
4756 * calendar/calendar.el: Add new faces, and day-header-array.
4757 (calendar-weekday-header, calendar-weekend-header)
4758 (calendar-month-header): New faces.
4759 (calendar-day-header-construct): New function.
4760 (calendar-day-header-width): Also :set calendar-day-header-array.
4761 (calendar-american-month-header, calendar-european-month-header)
4762 (calendar-iso-month-header): Use calendar- faces.
4763 (calendar-generate-month):
4764 Use calendar-day-header-array for day headers; apply faces to them.
4765 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4766 (calendar-abbrev-construct): Add optional maxlen argument.
4767 (calendar-day-name-array): Doc fix.
4768 (calendar-day-name-array, calendar-abbrev-length)
4769 (calendar-day-abbrev-array):
4770 Also :set calendar-day-header-array, and maybe redraw.
4771 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4772 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4773 (calendar-day-name): Add option to use header array.
4774
ec6a2d7a
LMI
47752013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4776
4777 * net/shr.el (shr-render-td): Remove debugging.
4778 (shr-render-td): Make width computation consistent by defaulting
4779 all zero-width columns to 10 characters. This may not be optimal,
4780 but it's at least consistent.
2122cb6d
LMI
4781 (shr-make-table-1): Redo last change to fix the real problem in
4782 colspan handling.
ec6a2d7a 4783
ed4fd9c5
DA
47842013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4785
0ca3f70e
SM
4786 * files.el (cache-long-line-scans):
4787 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4788
64e22afe
JB
47892013-08-06 Juanma Barranquero <lekktu@gmail.com>
4790
024b38fc
JB
4791 * frameset.el (frameset, frameset-filter-alist)
4792 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4793 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4794 (frameset-compute-pos): Rename from frameset--compute-pos,
4795 and add docstring.
4796 (frameset-move-onscreen): Use frameset-compute-pos.
4797 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4798
64e22afe
JB
4799 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4800 Fix typos in docstrings.
4801
c8c2aca8
DA
48022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4803
4804 * frame.el (get-other-frame): Tiny cleanup.
4805
1d237bba
JB
48062013-08-06 Juanma Barranquero <lekktu@gmail.com>
4807
8951efef
JB
4808 * vc/vc.el (vc-default-ignore-completion-table):
4809 Silence byte-compiler warning.
4810
307764cc
JB
4811 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4812 slot , which can indeed be nil.
4813 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4814 Move entry for `left' from persistent to live filter alist.
4815 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4816 Doc fixes.
4817 (frameset-filter-params): When restoring a frame, copy items added to
4818 `filtered', to avoid unwittingly modifying the original parameters.
4819 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4820 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4821
1d237bba
JB
4822 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4823 to use looking-at-p instead of looking-at. (Bug#15028)
4824
dc6c0eda
SM
48252013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 Revert introduction of isearch-filter-predicates (bug#14714).
4828 Rely on add-function instead.
4829 * isearch.el (isearch-filter-predicates): Rename it back to
4830 isearch-filter-predicate.
4831 (isearch-message-prefix): Use advice-function-mapc and advice
4832 properties to get the isearch-message-prefix.
4833 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4834 instead of run-hook-with-args-until-failure.
4835 (isearch-filter-visible): Not obsolete any more.
4836 * loadup.el: Preload nadvice.
4837 * replace.el (perform-replace): Revert to funcall
4838 instead of run-hook-with-args-until-failure.
4839 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4840 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4841 dired-isearch-filenames-toggle; make it into a proper minor mode.
4842 Use add/remove-function.
4843 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4844 Call the minor-mode rather than add/remove-hook.
4845 (dired-isearch-filter-filenames):
4846 Remove isearch-message-prefix property.
4847 * info.el (Info--search-loop): New function, extracted from Info-search.
4848 Funcall isearch-filter-predicate instead of
4849 run-hook-with-args-until-failure isearch-filter-predicates.
4850 (Info-search): Use it.
4851 (Info-mode): Use isearch-filter-predicate instead of
4852 isearch-filter-predicates.
4853
290d5b58
DA
48542013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4855
4856 Do not call to `selected-window' where it is assumed by default.
4857 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4858 `window-hscroll', `window-width', `window-height', `window-buffer',
4859 `window-frame', `window-start', `window-point', `next-window'
4860 and `window-display-table'.
4861 * abbrev.el (abbrev--default-expand):
4862 * bs.el (bs--show-with-configuration):
4863 * buff-menu.el (Buffer-menu-mouse-select):
4864 * calc/calc.el (calc):
4865 * calendar/calendar.el (calendar-generate-window):
4866 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4867 (diary-make-entry):
4868 * comint.el (send-invisible, comint-dynamic-complete-filename)
4869 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4870 * completion.el (complete):
4871 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4872 * disp-table.el (describe-current-display-table):
4873 * doc-view.el (doc-view-insert-image):
4874 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4875 * ehelp.el (with-electric-help):
4876 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4877 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4878 * emacs-lisp/helper.el (Helper-help-scroller):
4879 * emulation/cua-base.el (cua--post-command-handler-1):
4880 * eshell/esh-mode.el (eshell-output-filter):
4881 * ffap.el (ffap-gnus-wrapper):
4882 * help-macro.el (make-help-screen):
4883 * hilit-chg.el (highlight-compare-buffers):
4884 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4885 * hl-line.el (global-hl-line-highlight):
4886 * icomplete.el (icomplete-simple-completing-p):
4887 * isearch.el (isearch-done):
4888 * jit-lock.el (jit-lock-stealth-fontify):
4889 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4890 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4891 * mpc.el (mpc-tagbrowser, mpc):
4892 * net/rcirc.el (rcirc-any-buffer):
4893 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4894 * play/landmark.el (landmark-max-width, landmark-max-height):
4895 * play/zone.el (zone):
4896 * progmodes/compile.el (compilation-goto-locus):
4897 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4898 * progmodes/etags.el (find-tag-other-window):
4899 * progmodes/fortran.el (fortran-column-ruler):
4900 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4901 * progmodes/verilog-mode.el (verilog-point-text):
4902 * reposition.el (reposition-window):
4903 * rot13.el (toggle-rot13-mode):
4904 * server.el (server-switch-buffer):
4905 * shell.el (shell-dynamic-complete-command)
4906 (shell-dynamic-complete-environment-variable):
4907 * simple.el (insert-buffer, set-selective-display)
4908 (delete-completion-window):
4909 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4910 (speedbar-recenter):
4911 * startup.el (fancy-splash-head):
4912 * textmodes/ispell.el (ispell-command-loop):
4913 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4914 * tutorial.el (help-with-tutorial):
4915 * vc/add-log.el (add-change-log-entry):
4916 * vc/compare-w.el (compare-windows):
4917 * vc/ediff-help.el (ediff-indent-help-message):
4918 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4919 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4920 (ediff-setup-control-frame):
4921 * vc/emerge.el (emerge-position-region):
4922 * vc/pcvs-util.el (cvs-bury-buffer):
4923 * window.el (walk-windows, mouse-autoselect-window-select):
4924 * winner.el (winner-set-conf, winner-undo): Related users changed.
4925
38276e01
JB
49262013-08-05 Juanma Barranquero <lekktu@gmail.com>
4927
4928 * frameset.el (frameset--set-id): Doc fix.
4929 (frameset-frame-id, frameset-frame-id-equal-p)
4930 (frameset-locate-frame-id): New functions.
4931 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4932 (frameset-restore): Use them.
4933
12b4c0ea
DA
49342013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4935
4936 Do not call to `selected-frame' where it is assumed by default.
4937 Affected functions are `raise-frame', `redraw-frame',
4938 `frame-first-window', `frame-terminal' and `delete-frame'.
4939 * calendar/appt.el (appt-disp-window):
4940 * epg.el (epg-wait-for-completion):
4941 * follow.el (follow-delete-other-windows-and-split)
4942 (follow-avoid-tail-recenter):
4943 * international/mule.el (set-terminal-coding-system):
4944 * mail/rmail.el (rmail-mail-return):
4945 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4946 * progmodes/f90.el (f90-add-imenu-menu):
4947 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4948 * server.el (server-switch-buffer):
4949 * simple.el (delete-completion-window):
4950 * talk.el (talk):
4951 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4952 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4953 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4954 * vc/ediff.el (ediff-documentation): Related users changed.
4955 * frame.el (selected-terminal): Remove the leftover.
4956
17f25e76
GM
49572013-08-05 Glenn Morris <rgm@gnu.org>
4958
4959 * calendar/calendar.el (calendar-generate-month):
4960 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4961 (calendar-generate-month, calendar-font-lock-keywords):
4962 Fix for calendar-day-header-width > length of any day name.
17f25e76 4963
063233c3
JB
49642013-08-05 Juanma Barranquero <lekktu@gmail.com>
4965
4966 * desktop.el (desktop-clear): Use new name of sort predicate.
4967
4968 * frameset.el (frameset): Add docstring. Move :version property to its
4969 own `version' slot.
4970 (frameset-copy): Rename from copy-frameset.
4971 (frameset-p): Check more thoroughly.
4972 (frameset-prop): Do not check for :version, which is no longer a prop.
4973 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4974 Use new :never value instead of t.
4975 (frameset-filter-alist): Expand and clarify docstring.
4976 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4977 (frameset-filter-minibuffer, frameset-filter-save-param)
4978 (frameset-filter-restore-param, frameset-filter-iconified):
4979 Add pointer to docstring of frameset-filter-alist.
4980 (frameset-filter-params): Rename filter values to be more meaningful:
4981 :never instead of t, and reverse the meanings of :save and :restore.
4982 (frameset--process-minibuffer-frames): Clarify error message.
4983 (frameset-save): Avoid unnecessary and confusing call to framep.
4984 Use new BOA constructor for framesets.
4985 (frameset--reuse-list): Doc fix.
4986 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4987 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4988 (frameset-minibufferless-first-p): Doc fix.
4989 Rename from frameset-sort-frames-for-deletion.
4990 (frameset-restore): Doc fixes. Use new function names.
4991 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4992
d5671a82
JB
49932013-08-04 Juanma Barranquero <lekktu@gmail.com>
4994
4995 * desktop.el (desktop-restore-forces-onscreen)
4996 (desktop-restore-reuses-frames): Document :keyword constant values.
4997 (desktop-filter-parameters-alist): Remove, now identical to
4998 frameset-filter-alist.
4999 (desktop--filter-tty*): Remove, moved to frameset.el.
5000 (desktop-save-frameset, desktop-restore-frameset):
5001 Do not pass :filters argument.
5002
5003 * frameset.el (frameset-live-filter-alist)
5004 (frameset-persistent-filter-alist): New variables.
5005 (frameset-filter-alist): Use them. Add autoload cookie.
5006 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5007 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5008 `frameset--id' (it's supposed to be internal to frameset.el).
5009 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5010 (frameset--initial-params): New function.
5011 (frameset--get-frame): Use it. Doc fix.
5012 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5013 Accept :all, not 'all.
5014 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5015 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5016 with fbound symbols. Fix frame id matching, and remove matching ids if
5017 the frame being restored is deleted. Obey :delete.
5018
671d5c16
SM
50192013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * subr.el (macrop): New function.
5022 (text-clone--maintaining): New var.
5023 (text-clone--maintain): Rename from text-clone-maintain. Use it
5024 instead of inhibit-modification-hooks.
5025
5026 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5027 a proxy, so as handle autoloads and redefinitions of the target.
5028 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5029
5030 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5031 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5032 (pcase--mutually-exclusive-p): New function.
5033 (pcase--split-consp): Use it.
5034 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5035 mutually exclusive with the current predicate.
5036
5037 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5038 (edebug-macrop): Remove. Use `macrop' instead.
5039 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5040 (ad-macro-p):
5041 * eshell/esh-cmd.el (eshell-macrop):
5042 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5043
1d44e9dc
SM
50442013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5047 (advice-mapc): New function, using it.
5048 (advice-function-member-p): New function.
5049 (advice--normalize): Store the cdr in advice--saved-rewrite since
5050 that's the part that will be changed.
5051 (advice--symbol-function): New function.
5052 (advice-remove): Handle removal before the function is defined.
5053 Adjust to new advice--saved-rewrite.
5054 (advice-member-p): Use advice-function-member-p and
5055 advice--symbol-function.
5056
5414a283
JB
50572013-08-04 Juanma Barranquero <lekktu@gmail.com>
5058
51d30f2c
JB
5059 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5060 (frameset-filter-minibuffer): Doc fix.
5061 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5062 (frameset--set-id, frameset--process-minibuffer-frames)
5063 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5064 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5065
5414a283
JB
5066 * desktop.el (desktop-clear): Only delete frames when called
5067 interactively and desktop-restore-frames is non-nil. Doc fix.
5068 (desktop-read): Set desktop-saved-frameset to nil.
5069
ab419665
XF
50702013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5071
5072 * vc/vc.el (vc-ignore): Rewrite.
5073 (vc-default-ignore-completion-table):
5074 (vc--read-lines):
5075 (vc--add-line, vc--remove-regexp): New functions.
5076
5077 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5078 (vc-svn-ignore-completion-table): New function.
5079
5080 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5081 (vc-hg-ignore-completion-table):
5082 (vc-hg-find-ignore-file): New functions.
5083
5084 * vc/vc-git.el (vc-git-ignore): Rewrite.
5085 (vc-git-ignore-completion-table):
5086 (vc-git-find-ignore-file): New functions.
5087
5088 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5089
5090 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5091 (vc-bzr-ignore-completion-table):
5092 (vc-bzr-find-ignore-file): New functions.
5093
2613dea2
JB
50942013-08-03 Juanma Barranquero <lekktu@gmail.com>
5095
5096 * frameset.el (frameset-prop): New function and setter.
5097 (frameset-save): Do not modify frame list passed by the caller.
5098
9c959872
SM
50992013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5102
a104f656
SM
51032013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5104
70122acf
SM
5105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5106 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5107
a104f656
SM
5108 * custom.el (custom-initialize-default, custom-initialize-set)
5109 (custom-initialize-reset, custom-initialize-changed): Affect the
5110 toplevel-default-value (bug#6275, bug#14586).
5111 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5112 for bug#6275.
5113
f078d570
JB
51142013-08-02 Juanma Barranquero <lekktu@gmail.com>
5115
185e3b5a
JB
5116 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5117 Add cl-def* expressions.
5118
f078d570
JB
5119 * frameset.el (frameset-filter-params): Fix order of arguments.
5120
9421876d
JB
51212013-08-02 Juanma Barranquero <lekktu@gmail.com>
5122
5123 Move code related to saving frames to frameset.el.
5124 * desktop.el: Require frameset.
5125 (desktop-restore-frames): Doc fix.
5126 (desktop-restore-reuses-frames): Rename from
5127 desktop-restoring-reuses-frames.
5128 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5129 (desktop-clear): Clear frames too.
5130 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5131 (desktop--filter-tty*, desktop-save, desktop-read):
5132 Use frameset functions.
5133 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5134 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5135 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5136 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5137 (desktop--process-minibuffer-frames, desktop-save-frames)
5138 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5139 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5140 (desktop--sort-states, desktop-restoring-frames-p)
5141 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5142 (desktop-restoring-frameset-p, desktop-restore-frameset)
5143 (desktop--check-dont-save, desktop-save-frameset): New functions.
5144 (desktop--app-id): New constant.
5145 (desktop-first-buffer, desktop-buffer-ok-count)
5146 (desktop-buffer-fail-count): Move before first use.
5147 * frameset.el: New file.
5148
76dc5996
SM
51492013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * files.el: Use lexical-binding.
5152 (dir-locals-read-from-file): Remove unused `err' variable.
5153 (hack-dir-local-variables--warned-coding): New var.
5154 (hack-dir-local-variables): Use it to avoid repeated warnings.
5155 (make-backup-file-name--default-function): New function.
5156 (make-backup-file-name-function): Use it as default.
5157 (buffer-stale--default-function): New function.
5158 (buffer-stale-function): Use it as default.
5159 (revert-buffer-insert-file-contents--default-function): New function.
5160 (revert-buffer-insert-file-contents-function): Use it as default.
5161 (insert-directory): Avoid add-to-list.
5162
5163 * autorevert.el (auto-revert-handler): Simplify.
5164 Use buffer-stale--default-function.
5165
06d36e2b
TH
51662013-08-01 Tassilo Horn <tsdh@gnu.org>
5167
5f648ab4
TH
5168 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5169
06d36e2b
TH
5170 * whitespace.el (whitespace-ensure-local-variables): New function.
5171 (whitespace-cleanup-region): Call it.
5172 (whitespace-turn-on): Call it.
5173
a43dc424
MA
51742013-08-01 Michael Albinus <michael.albinus@gmx.de>
5175
5176 Complete file name handlers.
5177
5178 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5179 (tramp-handle-verify-visited-file-modtime)
5180 (tramp-handle-file-notify-rm-watch): New functions.
5181 (tramp-call-process): Do not bind `default-directory'.
5182
44e18199
JB
5183 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5184 Order alphabetically.
a43dc424
MA
5185 [access-file, add-name-to-file, dired-call-process]:
5186 [dired-compress-file, file-acl, file-notify-rm-watch]:
5187 [file-ownership-preserved-p, file-selinux-context]:
5188 [make-directory-internal, make-symbolic-link, set-file-acl]:
5189 [set-file-selinux-context, set-visited-file-modtime]:
5190 [verify-visited-file-modtime]: Add handler.
5191 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5192
5193 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5194 [file-notify-add-watch, file-notify-rm-watch]:
5195 [set-file-times, set-visited-file-modtime]:
5196 [verify-visited-file-modtime]: Add handler.
5197 (with-tramp-gvfs-error-message)
5198 (tramp-gvfs-handle-set-visited-file-modtime)
5199 (tramp-gvfs-fuse-file-name): Remove.
5200 (tramp-gvfs-handle-file-notify-add-watch)
5201 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5202 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5203
44e18199
JB
5204 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5205 Order alphabetically.
a43dc424
MA
5206 [file-notify-rm-watch ]: Use default Tramp handler.
5207 [executable-find]: Remove private handler.
5208 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5209 `default-directory'.
5210 (tramp-sh-handle-executable-find)
5211 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5212 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5213 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5214 Do not use `format' in `tramp-message'.
5215
5216 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5217 [file-notify-rm-watch, set-visited-file-modtime]:
5218 [verify-visited-file-modtime]: Add handler.
5219 (tramp-smb-call-winexe): Do not bind `default-directory'.
5220
7188b515
XF
52212013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5222
5223 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5224
2412ee1a
DG
52252013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5226
5227 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5228 use it.
5229 (log-view-diff-changeset): Same.
5230 (log-view-diff-common): Call backend command `previous-revision'
5231 to find out the previous revision, in both cases. Swap the
5232 variables `to' and `fr', so that `fr' usually refers to the
5233 earlier revision (Bug#14989).
5234
5002a754
KRC
52352013-07-31 Kan-Ru Chen <kanru@kanru.info>
5236
5237 * ibuf-ext.el (ibuffer-filter-by-filename):
5238 Make it work with dired buffers too.
5239
44e18199 52402013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5241
5242 * emacs-lisp/re-builder.el (reb-color-display-p):
5243 * files.el (save-buffers-kill-terminal):
5244 * net/browse-url.el (browse-url):
5245 * server.el (server-save-buffers-kill-terminal):
5246 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5247 Prefer nil to selected-frame for the first arg of frame-parameter.
5248
aeca3fbb
XF
52492013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5250
5251 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5252
158bc55c
SB
52532013-07-30 Stephen Berman <stephen.berman@gmx.net>
5254
5255 * minibuffer.el (completion--twq-all): Try and preserve each
5256 completion's case choice (bug#14907).
5257
d50fceab
LMI
52582013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5259
ac38e731
LMI
5260 * net/network-stream.el (open-network-stream): Mention the new
5261 :nogreeting parameter.
5262 (network-stream-open-starttls): Use the :nogreeting parameter
5263 (bug#14938).
5264
1211de50
LMI
5265 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5266
997798bf
LMI
5267 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5268 more natural than popping.
5269
d50fceab 5270 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5271 (shr-urlify): Highlight under mouse.
d50fceab 5272
5c09de04
XF
52732013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5274
207d1d04
XF
5275 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5276
5277 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5278
5c09de04
XF
5279 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5280 buffer for output.
5281
3cd51eaa
XF
5282 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5283 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5284
44e18199 5285 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5286 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5287
5288 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5289
5290 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5291 buffer for output.
5292
35a89bdd
EZ
52932013-07-29 Eli Zaretskii <eliz@gnu.org>
5294
5295 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5296 initial frame is minibuffer-less. (Bug#14841)
5297
78822e94
MA
52982013-07-29 Michael Albinus <michael.albinus@gmx.de>
5299
5300 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5301 option.
5302
5303 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5304 (tramp-maybe-open-connection): Use it.
5305
9503c190
JB
53062013-07-28 Juanma Barranquero <lekktu@gmail.com>
5307
5308 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5309 minimal set of parameters passed when creating a frame, because
5310 the minibuffer status of a frame cannot be changed later.
5311
d5a845b4
SB
53122013-07-28 Stephen Berman <stephen.berman@gmx.net>
5313
5314 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5315 replace-regexp-in-string and inadvertent omissions in previous change.
5316 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5317 name of filtered items buffer.
d5a845b4 5318
ddeffb17
JB
53192013-07-28 Juanma Barranquero <lekktu@gmail.com>
5320
5321 * desktop.el: Optionally force offscreen frames back onscreen.
5322 (desktop-restoring-reuses-frames): New option.
5323 (desktop--compute-pos, desktop--move-onscreen): New functions.
5324 (desktop--make-frame): Use desktop--move-onscreen.
5325
f5950f7a
AM
53262013-07-27 Alan Mackenzie <acm@muc.de>
5327
5328 Fontify a Java generic method as a function.
5329 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5330 value to t.
5331
ae43b66a
SB
53322013-07-27 Stephen Berman <stephen.berman@gmx.net>
5333
5334 * calendar/todo-mode.el: Add command to rename todo files.
5335 (todo-rename-file): New command.
5336 (todo-key-bindings-t): Add key binding for it. Change the
5337 bindings of todo-filter-regexp-items(-multifile) to use `x'
5338 instead of `r', since the latter is better suited to the new
5339 renaming command.
5340
5ab78d3d
AM
53412013-07-27 Alan Mackenzie <acm@muc.de>
5342
5343 Make Java try-with-resources statement parse properly.
5344 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5345 (c-block-stmt-1-2-key): New language constants/variables.
5346 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5347 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5348 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5349 with c-block-stmt-1-2-key.
5ab78d3d 5350
d85c4d50
JB
53512013-07-27 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * desktop.el (desktop--make-frame): Apply most frame parameters after
5354 creating the frame to force (partially or totally) offscreen frames to
5355 be restored as such.
5356
e4c467f9
XF
53572013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5358
5359 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5360 (Bug#14948)
e4c467f9 5361
7ced0d04
SM
53622013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5365 `base' arg of backtrace-frame.
5366
fec92060
EZ
53672013-07-26 Eli Zaretskii <eliz@gnu.org>
5368
5369 * simple.el (list-processes): Doc fix.
5370
d58d31fb
JB
53712013-07-26 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * desktop.el (desktop--select-frame):
d85c4d50 5374 Try harder to reuse existing frames.
d58d31fb 5375
53ff3e77
SM
53762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5377
5378 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5379 (edebug-eval): Use backtrace-eval.
5380 (edebug--display, edebug--recursive-edit): Don't let-bind the
5381 edebug-outer-* vars that keep track of variables we locally let-bind.
5382 (edebug-outside-excursion): Don't restore outside values of locally
5383 let-bound vars.
5384 (edebug--display): Use user-error.
5385 (cl-lexical-debug, cl-debug-env): Remove.
5386
045f7a53
JB
53872013-07-26 Juanma Barranquero <lekktu@gmail.com>
5388
5389 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5390 are restored to be sure that they are visible before deleting any
5391 remaining ones.
5392
59070b32
MM
53932013-07-26 Matthias Meulien <orontee@gmail.com>
5394
742a3501
XF
5395 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5396 vc-print-root-log. (Bug#14948)
59070b32 5397
b1fb3596
RS
53982013-07-26 Richard Stallman <rms@gnu.org>
5399
5400 Add aliases for encrypting mail.
5401 * epa.el (epa-mail-aliases): New option.
5402 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5403 Bind inhibit-read-only so read-only text doesn't ruin everything.
5404 (epa-mail-default-recipients): New subroutine broken out.
5405 Handle epa-mail-aliases.
5406
56ea7291
SM
54072013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 Add support for lexical variables to the debugger's `e' command.
5410 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5411 vars, except for debugger-outer-match-data.
5412 (debugger-frame-number): Move check for "on a function call" from
5413 callers into it. Add `skip-base' argument.
5414 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5415 (debugger-env-macro): Only reset the state stored in non-variables,
5416 i.e. current-buffer and match-data.
5417 (debugger-eval-expression): Rewrite using backtrace-eval.
5418 * subr.el (internal--called-interactively-p--get-frame): Remove.
5419 (called-interactively-p):
5420 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5421 `base' arg of backtrace-frame instead.
5422
15ac32d5
GM
54232013-07-26 Glenn Morris <rgm@gnu.org>
5424
8358a09d
GM
5425 * align.el (align-regexp): Doc fix. (Bug#14857)
5426 (align-region): Explicit error if subexpression missing/does not match.
5427
15ac32d5
GM
5428 * simple.el (global-visual-line-mode):
5429 Do not duplicate the mode lighter. (Bug#14858)
5430
f47ad11b
MR
54312013-07-25 Martin Rudalics <rudalics@gmx.at>
5432
5433 * window.el (display-buffer): In display-buffer bind
5434 split-window-keep-point to t, bug#14829.
5435
02530987
JB
54362013-07-25 Juanma Barranquero <lekktu@gmail.com>
5437
5438 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5439 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5440 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5441 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5442 Change accordingly.
f63ebeb5
JB
5443 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5444 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5445
6ccb9cab 54462013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5447
6ccb9cab 5448 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5449
cb3a56d2
JB
54502013-07-25 Juanma Barranquero <lekktu@gmail.com>
5451
5452 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5453 parameter to modify-frame-parameters if the value has not changed;
5454 this is a workaround for bug#14949.
5455 (desktop--make-frame): On cl-delete-if call, check parameter name,
5456 not full parameter.
5457
7aa7fff0
XF
54582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5459
5460 * vc/vc.el (vc-ignore): New function.
5461
5462 * vc/vc-svn.el (vc-svn-ignore): New function.
5463
5464 * vc/vc-hg.el (vc-hg-ignore): New function.
5465
5466 * vc/vc-git.el (vc-git-ignore): New function.
5467
5468 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5469 (vc-dir-ignore): New function.
5470
5471 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5472 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5473
5474 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5475
5476 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5477
889acc5c
JB
54782013-07-24 Juanma Barranquero <lekktu@gmail.com>
5479
5480 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5481 (desktop-restore-frames): Warn when deleting an existing frame failed.
5482
86c40970
GM
54832013-07-24 Glenn Morris <rgm@gnu.org>
5484
5485 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5486
d5d3c58a
MA
54872013-07-24 Michael Albinus <michael.albinus@gmx.de>
5488
5489 * filenotify.el (file-notify-supported-p):
5490 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5491 Remove functions.
5492
5493 * autorevert.el (auto-revert-use-notify):
5494 (auto-revert-notify-add-watch):
5495 * net/tramp.el (tramp-file-name-for-operation):
5496 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5497 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5498 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5500 Remove `file-notify-supported-p' entry.
5501
d100084b
GM
55022013-07-24 Glenn Morris <rgm@gnu.org>
5503
5504 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5505 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5506
ac93e56b
SM
55072013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5508
249eea30
SM
5509 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5510 checked with memq (bug#14935).
5511
ac93e56b
SM
5512 * files.el (revert-buffer-function): Use a non-nil default.
5513 (revert-buffer-preserve-modes): Declare var to
5514 provide access to the `preserve-modes' argument.
5515 (revert-buffer): Let-bind it.
5516 (revert-buffer--default): New function, extracted from revert-buffer.
5517
2cdeb903
SM
55182013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * lpr.el: Signal print errors more prominently.
5521 (print-region-function): Don't default to nil.
5522 (lpr-print-region): New function, extracted from print-region-1.
5523 Check lpr's return value and signal an error in case of problem.
5524 (print-region-1): Use it.
5525 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5526 versions instead.
5527 (ps-printer-name): Default to nil.
5528 (ps-printer-name-option): Default to lpr-printer-switch.
5529 (ps-print-region-function): Don't default to nil.
5530 (ps-postscript-code-directory): Simplify default.
5531 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5532 (ps-string-list, ps-eval-switch, ps-flatten-list)
5533 (ps-flatten-list-1): Remove.
5534 (ps-multibyte-buffer): Avoid setq.
5535 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5536 (print-region-function, ps-print-region-function): Don't set them here.
5537
73600831
XF
55382013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5539
0e55c076
XF
5540 * ido.el (ido-fractionp):
5541 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5542 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5543 (ido-max-directory-size, ido-max-dir-file-cache)
5544 (ido-decorations): Doc fix.
5545
73600831
XF
5546 * ansi-color.el: Fix old URL.
5547
3d012865
MM
55482013-07-23 Michael R. Mauger <michael@mauger.com>
5549
e903c210 5550 * progmodes/sql.el: Version 3.3
3d012865
MM
5551 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5552 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5553 (sql-interactive-remove-continuation-prompt): Rewrite, use
5554 functions above. Fix continuation prompt and complete output line
5555 handling.
5556 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5557 redirected output buffer.
5558 (sql-mode): Restore deleted code (Bug#13591).
5559
da77a2e2
JB
55602013-07-23 Juanma Barranquero <lekktu@gmail.com>
5561
5562 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5563
80ff0c71
MA
55642013-07-23 Michael Albinus <michael.albinus@gmx.de>
5565
5566 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5567
5568 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5569 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5570 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5571
b61d71e4
JB
55722013-07-23 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * desktop.el (desktop-clear): Simplify; remove useless checks
5575 against invalid buffer names.
5576 (desktop-list*): Use cl-list*.
5577 (desktop-buffer-info, desktop-create-buffer): Simplify.
5578
c3512092
LL
55792013-07-23 Leo Liu <sdl.web@gmail.com>
5580
5581 * bookmark.el (bookmark-make-record): Restore NAME as a default
5582 value. (Bug#14933)
5583
0ac26976
SM
55842013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5585
7d22ce18
SM
5586 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5587 extracted from autoload--insert-text.
5588 (autoload--insert-text): Remove.
5589 (autoload--print-cookie-text): New function, extracted from
5590 autoload--insert-cookie-text.
5591 (autoload--insert-cookie-text): Remove.
5592 (autoload-generate-file-autoloads): Adjust calls accordingly.
5593
9b2607e8
SM
5594 * winner.el (winner-hook-installed-p): Remove.
5595 (winner-mode): Simplify accordingly.
5596
c43a8618
SM
5597 * subr.el (add-to-list): Fix compiler-macro when `append' is
5598 not constant. Don't use `cl-member' for the base case.
5599
0ac26976
SM
5600 * progmodes/subword.el: Fix boundary case (bug#13758).
5601 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5602 own group.
5603 (subword-backward-regexp): Make it a constant.
5604 (subword-forward-internal): Don't treat a trailing capital as the
5605 beginning of a word.
5606
6874724a
AR
56072013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5608
5609 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5610 global value of tabulated-list-revert-hook (bug#14930).
5611
70f1b5e8
JB
56122013-07-22 Juanma Barranquero <lekktu@gmail.com>
5613
a1c80d9d
JB
5614 * desktop.el: Require 'cl-lib.
5615 (desktop-before-saving-frames-functions): New hook.
5616 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5617 for frames being saved. Rename from desktop--save-minibuffer-frames.
5618 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5619 Do not save frames with non-nil `desktop-dont-save' parameter.
5620 Filter out deleted frames.
a1c80d9d
JB
5621 (desktop--find-frame): Use cl-find-if.
5622 (desktop--select-frame): Use cl-(first|second|third) to access values
5623 of desktop-mini.
5624 (desktop--make-frame): Use cl-delete-if.
5625 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5626 (desktop-restore-frames): Use cl-(first|second|third) to access values
5627 of desktop-mini. Look for visible frame at the end, not while
5628 restoring frames.
5629
70f1b5e8
JB
5630 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5631 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5632 Use string-match-p, looking-at-p (bug#14927).
5633
728dc3cc
JB
56342013-07-21 Juanma Barranquero <lekktu@gmail.com>
5635
56bc453c
JB
5636 * desktop.el (desktop-saved-frame-states):
5637 Rename from desktop--saved-states; all users changed.
5638 (desktop-save-frames): Rename from desktop--save-frames.
5639 Do not save state to desktop file.
5640 (desktop-save): Save desktop-saved-frame-states to desktop file
5641 and reset to nil.
5642 (desktop-restoring-frames-p): New function.
5643 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5644 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5645 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5646
728dc3cc
JB
5647 * desktop.el: Correctly restore iconified frames.
5648 (desktop--filter-iconified-position): New function.
5649 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5650
862f1c9c
GM
56512013-07-20 Glenn Morris <rgm@gnu.org>
5652
c4074c9f
GM
5653 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5654 Let `message' do the formatting.
5655 (def-gdb-preempt-display-buffer): Add explicit format.
5656
d828e5f9
GM
5657 * image-dired.el (image-dired-track-original-file):
5658 Use with-current-buffer.
5659 (image-dired-track-thumbnail): Use with-current-buffer.
5660 Avoid changing point of wrong window.
5661
862f1c9c
GM
5662 * image-dired.el (image-dired-track-original-file):
5663 Avoid changing point of wrong window. (Bug#14909)
5664
f0398ec1 56652013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5666
5667 * progmodes/gdb-mi.el (gdb-done-or-error):
5668 Guard against "%" in gdb output. (Bug#14127)
5669
1451928f
AS
56702013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5671
763a086d
JB
5672 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5673 (Bug#14826)
f7a03897 5674
1451928f
AS
5675 * international/mule.el (coding-system-iso-2022-flags): Fix last
5676 change.
5677
99107004
KH
56782013-07-20 Kenichi Handa <handa@gnu.org>
5679
763a086d
JB
5680 * international/mule.el (coding-system-iso-2022-flags):
5681 Add `8-bit-level-4'. (Bug#8522)
99107004 5682
48494e06
LMI
56832013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5684
8ba8eec5
LMI
5685 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5686 (bug#14815).
5687
dfbc66e3
LMI
5688 * net/eww.el (eww-process-text-input): Allow inputting when the
5689 point is at the start of the line, as the properties aren't
5690 front-sticky.
5691
48494e06
LMI
5692 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5693 degenerate widths.
5694
77c92cb9
RS
56952013-07-19 Richard Stallman <rms@gnu.org>
5696
aec7da77
RS
5697 * epa.el (epa-popup-info-window): Doc fix.
5698
77c92cb9
RS
5699 * subr.el (split-string): New arg TRIM.
5700
945c5bb1
JB
57012013-07-18 Juanma Barranquero <lekktu@gmail.com>
5702
5703 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5704 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5705
e06ec67f
MA
57062013-07-18 Michael Albinus <michael.albinus@gmx.de>
5707
c7064f05 5708 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5709 `file-notify-support'. Do not autoload. Adapt all uses.
5710 (file-notify-supported-p): New defun.
5711
c7064f05
JB
5712 * autorevert.el (auto-revert-use-notify):
5713 Use `file-notify-supported-p' instead of `file-notify-support'.
5714 Adapt docstring.
e06ec67f
MA
5715 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5716
5717 * net/tramp.el (tramp-file-name-for-operation):
5718 Add `file-notify-supported-p'.
5719
5720 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5721 New defun.
5722 (tramp-sh-file-name-handler-alist): Add it as handler for
5723 `file-notify-supported-p '.
5724
5725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5726 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5727 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5728 Add `ignore' as handler for `file-notify-*' functions.
5729
5dc8a629
EZ
57302013-07-17 Eli Zaretskii <eliz@gnu.org>
5731
5732 * simple.el (line-move-partial, line-move): Don't start vscroll or
5733 scroll-up if the current line is not taller than the window.
5734 (Bug#14881)
5735
77aea2fb
DG
57362013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5739 highlight question marks in the method names as strings.
ac72c08d
DG
5740 (ruby-block-beg-keywords): Inline.
5741 (ruby-font-lock-keyword-beg-re): Extract from
5742 `ruby-font-lock-keywords'.
77aea2fb 5743
18c26d81
JD
57442013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5745
5746 * frame.el (blink-cursor-blinks): New defcustom.
5747 (blink-cursor-blinks-done): New defvar.
5748 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5749 (blink-cursor-timer-function): Check if number of blinks has been
5750 done on X and NS.
5751 (blink-cursor-suspend, blink-cursor-check): New defuns.
5752
da48522e
GM
57532013-07-15 Glenn Morris <rgm@gnu.org>
5754
5755 * edmacro.el (edmacro-format-keys): Fix previous change.
5756
0463c1ef
PE
57572013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5758
5759 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5760 The hack didn't work outside English locales anyway.
5761
b43f6451
JB
57622013-07-15 Juanma Barranquero <lekktu@gmail.com>
5763
5764 * simple.el (define-alternatives): Rename from alternatives-define,
5765 per RMS' suggestion.
5766
b958c0ad
JB
57672013-07-14 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * desktop.el (desktop-restore-frames): Change default to t.
5770 (desktop-restore-in-current-display): Now offer more options.
5771 (desktop-restoring-reuses-frames): New customization option.
5772 (desktop--saved-states): Doc fix.
5773 (desktop-filter-parameters-alist): New variable, renamed and expanded
5774 from desktop--excluded-frame-parameters.
5775 (desktop--target-display): New variable.
5776 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5777 (desktop--filter-tty*, desktop--filter-*-color)
5778 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5779 (desktop--filter-save-desktop-parm)
5780 (desktop-restore-in-original-display-p): New functions.
5781 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5782 (desktop--save-minibuffer-frames): New function, inspired by a similar
5783 function from Martin Rudalics.
5784 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5785 (desktop--restore-in-this-display-p): Remove.
5786 (desktop--find-frame): Rename from desktop--find-frame-in-display
5787 and add predicate argument.
5788 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5789 (desktop--reuse-list): New variable.
5790 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5791 New functions.
5792 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5793
f6dd8b36
MA
57942013-07-14 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5797
2ce3c565
DG
57982013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5799
763a086d
JB
5800 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5801 Highlight conversion methods on Kernel.
2ce3c565 5802
2cdb7698
AM
58032013-07-13 Alan Mackenzie <acm@muc.de>
5804
5805 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5806 and comment it out. This out-commenting enables certain C++
5807 declarations to be parsed correctly.
5808
1a67b811
EZ
58092013-07-13 Eli Zaretskii <eliz@gnu.org>
5810
1b796d6b
EZ
5811 * international/mule.el (define-coding-system): Doc fix.
5812
1a67b811
EZ
5813 * simple.el (default-font-height): Don't call font-info if the
5814 frame's default font didn't change since the frame was created.
5815 (Bug#14838)
5816
58fbe886
LL
58172013-07-13 Leo Liu <sdl.web@gmail.com>
5818
5819 * ido.el (ido-read-file-name): Guard against non-symbol value.
5820
1f0480d4
FEG
58212013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5822
5823 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5824 in nested defuns.
5825
97ead0e5
LL
58262013-07-13 Leo Liu <sdl.web@gmail.com>
5827
5828 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5829 ido-set-matches call. (Bug#6852)
5830
0880a952
DG
58312013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5832
5833 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5834 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5835 Ruby 2.0.
5836 (ruby-font-lock-keywords): Distinguish calls to functions with
5837 module-like names from module references. Highlight character
5838 literals.
5839
a7d8babb
SDJ
58402013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5841
5842 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5843 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5844
acfcc8c5
JB
58452013-07-12 Juanma Barranquero <lekktu@gmail.com>
5846
5847 * desktop.el (desktop--v2s): Remove unused local variable.
5848 (desktop-save-buffer): Make defvar-local; adjust docstring.
5849 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5850 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5851
051f2775
AS
58522013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5853
5854 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5855
f24e7572
GM
58562013-07-12 Eli Zaretskii <eliz@gnu.org>
5857
5858 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5859 (Bug#14842)
5860
539a920c
GM
58612013-07-12 Glenn Morris <rgm@gnu.org>
5862
5863 * doc-view.el: Require cl-lib at runtime too.
5864 (doc-view-remove-if): Remove.
5865 (doc-view-search-next-match, doc-view-search-previous-match):
5866 Use cl-remove-if.
5867
5868 * edmacro.el: Require cl-lib at runtime too.
5869 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5870 (edmacro-mismatch, edmacro-subseq): Remove.
5871
5872 * shadowfile.el: Require cl-lib.
5873 (shadow-remove-if): Remove.
5874 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5875 Use cl-remove-if.
5876
5877 * wid-edit.el: Require cl-lib.
5878 (widget-choose): Use cl-remove-if.
5879 (widget-remove-if): Remove.
5880
5881 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5882 (ebrowse-delete-if-not): Remove.
5883 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5884 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5885 Use cl-delete-if-not.
5886
1048af7c
JB
58872013-07-12 Juanma Barranquero <lekktu@gmail.com>
5888
5889 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5890 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5891
6c0674ee
LL
58922013-07-12 Leo Liu <sdl.web@gmail.com>
5893
5894 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5895
a19b3c2d
GM
58962013-07-11 Glenn Morris <rgm@gnu.org>
5897
4582a01c
GM
5898 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5899 (edebug-gensym-index, edebug-gensym):
5900 Remove reimplementation of cl-gensym.
5901 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5902
5903 * thumbs.el: Require cl-lib at run-time too.
5904 (thumbs-gensym-counter, thumbs-gensym):
5905 Remove reimplementation of cl-gensym.
5906 (thumbs-temp-file): Use cl-gensym.
5907
a19b3c2d
GM
5908 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5909 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5910 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5911 (ert--union, ert--gensym-counter, ert--gensym-counter)
5912 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5913 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5914 (ert-make-test-unbound, ert--expand-should-1)
5915 (ert--expand-should, ert--should-error-handle-error)
5916 (should-error, ert--explain-equal-rec)
5917 (ert--plist-difference-explanation, ert-select-tests)
5918 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5919 Use cl-lib functions rather than reimplementations.
5920
88f6a933
MA
59212013-07-11 Michael Albinus <michael.albinus@gmx.de>
5922
5923 * net/tramp.el (tramp-methods): Extend docstring.
5924 (tramp-connection-timeout): New defcustom.
5925 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5926 (with-tramp-progress-reporter): Simplify.
5927 (tramp-process-actions): Improve messages.
5928
5929 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5930 * net/tramp-sh.el (tramp-maybe-open-connection):
5931 Use `tramp-connection-timeout'.
5932 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5933 (Bug#14808)
5934
a43d577e
LL
59352013-07-11 Leo Liu <sdl.web@gmail.com>
5936
5937 * ido.el (ido-read-file-name): Conform to the requirements of
5938 read-file-name. (Bug#11861)
5939 (ido-read-directory-name): Conform to the requirements of
5940 read-directory-name.
5941
d77974bf
JB
59422013-07-11 Juanma Barranquero <lekktu@gmail.com>
5943
5944 * subr.el (delay-warning): New function.
5945
35cb8a3e
EZ
59462013-07-10 Eli Zaretskii <eliz@gnu.org>
5947
5948 * simple.el (default-line-height): New function.
5949 (line-move-partial, line-move): Use it instead of computing the
5950 line height inline.
5951 (line-move-partial): Always compute ROWH. If the last line is
5952 partially-visible, but its text is completely visible, allow
5953 cursor to enter such a partially-visible line.
5954
525c5c77
MA
59552013-07-10 Michael Albinus <michael.albinus@gmx.de>
5956
5957 Improve error messages. (Bug#14808)
5958
5959 * net/tramp.el (tramp-current-connection): New defvar, moved from
5960 tramp-sh.el.
0ac26976 5961 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5962 needed anymore.
0ac26976
SM
5963 (tramp-error-with-buffer): Show message in minibuffer.
5964 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5965 (with-tramp-progress-reporter): Improve messages.
5966 (tramp-process-actions): Use progress reporter. Delete process in
5967 case of error. Improve messages.
5968
763a086d
JB
5969 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5970 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5971 (tramp-current-connection): Remove.
525c5c77
MA
5972 (tramp-maybe-open-connection): The car of
5973 `tramp-current-connection' are the first 3 slots of the vector.
5974
c7a4d368
TZ
59752013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5976
5977 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5978 inside continued strings.
5979
954b166e
PE
59802013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5981
5982 Timestamp fixes for undo (Bug#14824).
5983 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5984
56973319
LL
59852013-07-10 Leo Liu <sdl.web@gmail.com>
5986
5987 * files.el (require-final-newline): Allow safe local value.
5988 (Bug#14834)
5989
5550a72c
LL
59902013-07-09 Leo Liu <sdl.web@gmail.com>
5991
5992 * ido.el (ido-read-directory-name): Handle fallback.
5993 (ido-read-file-name): Update DIR to ido-current-directory.
5994 (Bug#1516)
c28b9050 5995 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5996
70c46b28
DG
59972013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5998
5999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6000 "autoload". Remove "warn lower camel case" section, previously
6001 commented out. Highlight negation char. Do not highlight the
6002 target in singleton method definitions.
6003
0b64b838
SM
60042013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6005
7fd72e2c
SM
6006 * faces.el (tty-setup-hook): Declare the hook.
6007
0b64b838
SM
6008 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6009 and detect when a guard/pred depends on local vars (bug#14773).
6010 (pcase--u1): Adjust caller.
6011
ab49d60b
EZ
60122013-07-08 Eli Zaretskii <eliz@gnu.org>
6013
6014 * simple.el (line-move-partial, line-move): Account for
6015 line-spacing.
701d79aa
EZ
6016 (line-move-partial): Avoid setting vscroll when the last
6017 partially-visible line in window is of default height.
ab49d60b 6018
2d756ae0
LMI
60192013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6020
6021 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6022 been used a while.
6023
ed095bd7
JB
60242013-07-07 Juanma Barranquero <lekktu@gmail.com>
6025
6026 * subr.el (read-quoted-char): Remove unused local variable `char'.
6027
f1e6674b
MK
60282013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6029
584ee3fc
GM
6030 * ediff.el (ediff-version): Version update.
6031 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6032 (ediff-merge-with-ancestor-command, ediff-directories-command)
6033 (ediff-directories3-command, ediff-merge-directories-command)
6034 (ediff-merge-directories-with-ancestor-command): New functions.
6035 All are command-line interfaces to ediff: to facilitate calling
6036 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6037
6038 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6039 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6040
584ee3fc
GM
6041 * viper.el (viper-version): Version update.
6042 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6043
584ee3fc
GM
60442013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6047 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6048 (viper-intercept-ESC-key): Simplify.
6049 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6050 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6051 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6052 (viper-setup-ESC-to-escape): New functions.
6053 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6054 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6055
9aff9b38
EZ
60562013-07-07 Eli Zaretskii <eliz@gnu.org>
6057
5165d44a
JB
6058 * simple.el (default-font-height, window-screen-lines):
6059 New functions.
9aff9b38
EZ
6060 (line-move, line-move-partial): Use them instead of
6061 frame-char-height and window-text-height. This makes scrolling
6062 text smoother when the buffer's default face uses a font that is
6063 different from the frame's default font.
6064
1afb1d07
JD
60652013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6066
6067 * files.el (write-file): Do not display confirm dialog for NS,
6068 it does its own dialog, which can't be cancelled (Bug#14578).
6069
23de972a
EZ
60702013-07-06 Eli Zaretskii <eliz@gnu.org>
6071
6072 * simple.el (line-move-partial): Adjust the row returned by
6073 posn-at-point for the current window-vscroll. (Bug#14567)
6074
54a42486
MA
60752013-07-06 Michael Albinus <michael.albinus@gmx.de>
6076
6077 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6078 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6079 spaces.
6080
34ada5f4
MR
60812013-07-06 Martin Rudalics <rudalics@gmx.at>
6082
6083 * window.el (window-state-put-stale-windows): New variable.
6084 (window--state-put-2): Save list of windows without matching buffer.
6085 (window-state-put): Remove "bufferless" windows if possible.
6086
11e03d89
JB
60872013-07-06 Juanma Barranquero <lekktu@gmail.com>
6088
6089 * simple.el (alternatives-define): Remove leftover :group keyword.
6090 Tweak docstring.
6091
3504a4be
LL
60922013-07-06 Leo Liu <sdl.web@gmail.com>
6093
6094 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6095 (ido-enable-virtual-buffers): New variable.
6096 (ido-buffer-internal, ido-toggle-virtual-buffers)
6097 (ido-make-buffer-list): Use it.
6098 (ido-exhibit): Support turning on and off virtual buffers
6099 automatically.
6100
61e56e2c
JB
61012013-07-06 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * simple.el (alternatives-define): New macro.
6104
321e1a9c
SM
61052013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * subr.el (read-quoted-char): Use read-key.
6108 (sit-for): Let read-event decode tty input (bug#14782).
6109
d610f6dd
SB
61102013-07-05 Stephen Berman <stephen.berman@gmx.net>
6111
6112 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6113 mode command and externally. Fix various related bugs.
6114 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6115 (todo-delete-file): New command.
6116 (todo-check-file): New function.
6117 (todo-show): Handle external deletion of the file we're trying to
6118 show (bug#14688). Replace called-interactively-p by an optional
6119 prefix argument to avoid problematic interaction with catch form
6120 when byte compiled (bug#14702).
6121 (todo-quit): Handle external deletion of the archive's todo file.
6122 Make sure the buffer that was visiting the archive file is still
6123 live before trying to bury it.
6124 (todo-category-completions): Handle external deletion of any
6125 category completion files.
6126 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6127 of todo files, in case of external deletion.
6128 (todo-add-file): Replace unnecessary setq by let-binding.
6129 (todo-find-archive): Check whether there are any archives.
6130 Replace unnecessary setq by let-binding.
6131 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6132 archive buffer whether or not the archive already exists.
6133 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6134 check if the archive is new; if it is, update list of archives.
6135 (todo-default-todo-file): Allow nil to be a valid value for when
6136 there are no todo files.
6137 (todo-reevaluate-default-file-defcustom): Use corrected definition
6138 of todo-default-todo-file.
6139 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6140 (todo-delete-category, todo-show-categories-table)
6141 (todo-category-number): Clarify comment.
6142 (todo-filter-items): Clarify documentation string.
6143 (todo-show-current-file, todo-display-as-todo-file)
6144 (todo-reset-and-enable-done-separator): Tweak documentation string.
6145 (todo-done-separator): Make separator length window-width, since
6146 bug#2749 is now fixed.
6147
ddbdfd6f
MA
61482013-07-05 Michael Albinus <michael.albinus@gmx.de>
6149
321e1a9c
SM
6150 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6151 Support both "gvfs-monitor-dir" and "inotifywait".
6152 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6153 `tramp-sh-file-notify-process-filter'.
6154 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6155 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6156
96eb829a
LL
61572013-07-05 Leo Liu <sdl.web@gmail.com>
6158
6159 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6160
cf13177e
YM
61612013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6162
6163 * frame.el (display-pixel-height, display-pixel-width)
6164 (display-mm-height, display-mm-width): Mention behavior on
6165 multi-monitor setups in docstrings.
6166 (w32-display-monitor-attributes-list): Declare function.
6167 (display-monitor-attributes-list): Use it.
6168
864c58ca
MA
61692013-07-04 Michael Albinus <michael.albinus@gmx.de>
6170
6171 * filenotify.el: New package.
6172
6173 * autorevert.el (top): Require filenotify.el.
6174 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6175 instead.
6176 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6177 (auto-revert-notify-handler): Use `file-notify-*' functions.
6178
6179 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6180
321e1a9c
SM
6181 * net/tramp.el (tramp-file-name-for-operation):
6182 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6183
6184 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6185 for `file-notify-add-watch' and `file-notify-rm-watch'.
6186 (tramp-process-sentinel): Improve trace.
6187 (tramp-sh-handle-file-notify-add-watch)
6188 (tramp-sh-file-notify-process-filter)
6189 (tramp-sh-handle-file-notify-rm-watch)
6190 (tramp-get-remote-inotifywait): New defuns.
6191
96673afe
JL
61922013-07-03 Juri Linkov <juri@jurta.org>
6193
6194 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6195 call of `occur-read-primary-args' to interactive spec.
6196
6197 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6198 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6199
924494f4
MM
62002013-07-03 Matthias Meulien <orontee@gmail.com>
6201
6202 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6203 `Buffer-menu-multi-occur'. Add it to the menu.
6204 (Buffer-menu-mode): Document it in docstring.
6205 (Buffer-menu-multi-occur): New command. (Bug#14673)
6206
56f75efc
DG
62072013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6208
6209 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6210 keywords and built-ins.
6211
9b057d61
GM
62122013-07-03 Glenn Morris <rgm@gnu.org>
6213
208dee4d
GM
6214 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6215
9b057d61
GM
6216 Make info-xref checks case-sensitive by default
6217 * info.el (Info-find-node, Info-find-in-tag-table)
6218 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6219 Add option for exact case matching of nodes.
6220 * info-xref.el (info-xref): New custom group.
6221 (info-xref-case-fold): New option.
6222 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6223
e01aa29c
LL
62242013-07-03 Leo Liu <sdl.web@gmail.com>
6225
6226 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6227
3086ca2e
DG
62282013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6229
6230 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6231 middle of block statement initially, lower the depth. Remove
6232 FIXME comment, not longer valid. Remove middle of block statement
6233 detection, no need to do that anymore since we've been using
6234 `ruby-parse-region' here.
6235
a3b49114
JD
62362013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6237
6238 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6239
08e5c823 62402013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6241
6242 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6243
2addf922
JB
62442013-07-01 Juanma Barranquero <lekktu@gmail.com>
6245
6246 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6247 (desktop-restore-in-current-display): New customization option.
6248 (desktop--excluded-frame-parameters): Add `font'.
6249 (desktop--save-frames): Rename from desktop--save-windows.
6250 (desktop--restore-in-this-display-p): New function.
6251 (desktop--make-full-frame): Remove unwanted width/height from
6252 full(width|height) frames.
6253 (desktop--restore-frames): Rename from desktop--restore-windows.
6254 Obey desktop-restore-current-display. Do not delete old frames or
6255 select a new frame unless we were able to restore at least one frame.
6256
ef099a94
MN
62572013-06-30 Michal Nazarewicz <mina86@mina86.com>
6258
6259 * files.el (find-file-noselect): Simplify conditional expression.
6260
6261 * remember.el (remember-append-to-file):
6262 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6263
6264 Add `remember-notes' function to store random notes across Emacs
6265 restarts.
6266 * remember.el (remember-data-file): Add :set callback to affect
6267 notes buffer (if any).
6268 (remember-notes): New command.
6269 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6270 New defcustoms for the `remember-notes' function.
6271 (remember-notes-save-and-bury-buffer): New command.
6272 (remember-notes-mode-map): New variable.
6273 (remember-mode): New minor mode.
6274 (remember-notes--kill-buffer-query): New function.
6275 * startup.el (initial-buffer-choice): Add notes to custom type.
6276
0865d506
EZ
62772013-06-30 Eli Zaretskii <eliz@gnu.org>
6278
0ba54312
EZ
6279 * bindings.el (right-char, left-char): Don't call sit-for, this is
6280 no longer needed. Use arithmetic comparison only for numerical
6281 arguments.
6282
ef099a94
MN
6283 * international/mule-cmds.el (select-safe-coding-system):
6284 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6285
2fae38e5
LMI
62862013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6287
6288 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6289 progression on degenerate tables.
ef099a94 6290 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6291
a47cbd64
JB
62922013-06-30 Juanma Barranquero <lekktu@gmail.com>
6293
6294 Some fixes and improvements for desktop frame restoration.
6295 It is still experimental and disabled by default.
6296 * desktop.el (desktop--save-windows): Put the selected frame at
6297 the head of the list.
6298 (desktop--make-full-frame): New function.
6299 (desktop--restore-windows): Try to re-select the frame that was
6300 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6301 just show an error message and continue. Set up maximized frames
6302 so they have default non-maximized dimensions.
a47cbd64 6303
6dbafa30
DG
63042013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6305
ef099a94
MN
6306 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6307 Don't start heredoc inside a string or comment.
6dbafa30 6308
4c672a0f
EZ
63092013-06-29 Eli Zaretskii <eliz@gnu.org>
6310
6311 * bindings.el (visual-order-cursor-movement): New defcustom.
6312 (right-char, left-char): Provide visual-order cursor motion by
6313 calling move-point-visually. Update the doc strings.
6314
50960f36
KH
63152013-06-28 Kenichi Handa <handa@gnu.org>
6316
6317 * international/mule.el (define-coding-system): New coding system
6318 properties :inhibit-null-byte-detection,
6319 :inhibit-iso-escape-detection, and :prefer-utf-8.
6320 (set-buffer-file-coding-system): If :charset-list property of
6321 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6322 appropriate for setting.
6323
c1ea3abf
JB
6324 * international/mule-cmds.el (select-safe-coding-system):
6325 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6326 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6327
6328 * international/mule-conf.el (prefer-utf-8): New coding system.
6329 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6330 files.
6331
75dbaf9d
IK
63322013-06-28 Ivan Kanis <ivan@kanis.fr>
6333
eadb6068
IK
6334 * net/shr.el (shr-render-region): New function.
6335
75dbaf9d
IK
6336 * net/eww.el: Autoload `eww-browse-url'.
6337
9ea5cf9f
DG
63382013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6339
c1ea3abf
JB
6340 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6341 Adapt to `package-desc-version' being a list.
6342 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6343 archive element.
6344
39c0e36f
JB
63452013-06-27 Juanma Barranquero <lekktu@gmail.com>
6346
6347 New experimental feature to save&restore window and frame setup.
6348 * desktop.el (desktop-save-windows): New defcustom.
6349 (desktop--saved-states): New var.
6350 (desktop--excluded-frame-parameters): New defconst.
6351 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6352 (desktop--restore-windows, desktop--save-windows): New functions.
6353 (desktop-save): Call `desktop--save-windows'.
6354 (desktop-read): Call `desktop--restore-windows'.
6355
7f13406b
LMI
63562013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6357
ef099a94 6358 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6359
1e072639
SB
63602013-06-27 Stephen Berman <stephen.berman@gmx.net>
6361
6362 * info.el (Info-try-follow-nearest-node): Move search for footnote
6363 above search for node name to prevent missing a footnote (bug#14717).
6364
f3e2cbde
SB
63652013-06-27 Stephen Berman <stephen.berman@gmx.net>
6366
6367 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6368
99906aa0
LL
63692013-06-27 Leo Liu <sdl.web@gmail.com>
6370
6371 * net/eww.el (eww-read-bookmarks): Check file size.
6372
539f75f4
SM
63732013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6376 advice--pending if newdef is nil or an autoload (bug#13820).
6377 (advice-mapc): New function.
6378
843571cb
LMI
63792013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6380
6381 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6382 probably.
23a75d7f 6383 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6384 (eww-add-bookmark): New command.
6385 (eww-bookmark-mode): New mode and commands.
a285ce99 6386 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6387 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6388
f2136e1e
GM
63892013-06-26 Glenn Morris <rgm@gnu.org>
6390
eab35f39
GM
6391 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6392 (hfy-size): Handle ttys. (Bug#14668)
6393
f2136e1e
GM
6394 * info-xref.el: Update for Texinfo 5 change in *note format.
6395 (info-xref-node-re, info-xref-note-re): New constants.
6396 (info-xref-check-buffer): Use info-xref-note-re.
6397
a49ff80c
SM
63982013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6399
a343d218
SM
6400 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6401
a49ff80c
SM
6402 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6403 nil terminate the loop (bug#14718).
6404
8308f184
LMI
64052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6406
6407 * net/eww.el: Rework history traversal. When going forward/back,
6408 put these actions into the history, too, so that they can be
6409 replayed.
26bf2b82 6410 (eww-render): Move the history reset to the correct buffer.
8308f184 6411
ec64c273
JL
64122013-06-25 Juri Linkov <juri@jurta.org>
6413
6414 * files-x.el (modify-dir-local-variable): Change the header comment
6415 in the file with directory local variables. (Bug#14692)
6416
e080a9d7
JL
6417 * files-x.el (read-file-local-variable-value): Add `default'.
6418 (Bug#14710)
6419
bfbc93a1
IK
64202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421
6422 * net/eww.el (eww-make-unique-file-name): Create a unique file
6423 name before saving to entering `y' accidentally asynchronously.
6424
64252013-06-25 Ivan Kanis <ivan@kanis.fr>
6426
6427 * net/eww.el (eww-download): New command and keystroke.
6428
16f74f10
LMI
64292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6430
a49ff80c 6431 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6432
6433 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6434 be more consistent with Info and dired.
6435
6436 * net/eww.el (eww-mode-map): Ditto.
6437
12059709
SM
64382013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6441 packages from archives.
6442 (package-archive-contents): Change format; include obsolete packages.
6443 (package-desc): Use `dir' to mark builtin packages.
6444 (package--from-builtin): Set the `dir' field to `builtin'.
6445 (generated-autoload-file, version-control): Declare.
6446 (package-compute-transaction): Change first arg and return value to be
6447 lists of package-descs. Adjust to new package-archive-contents format.
6448 (package--add-to-archive-contents): Adjust to new
6449 package-archive-contents format.
6450 (package-download-transaction): Arg is now a list of package-descs.
6451 (package-install): If `pkg' is a package name, pass it as
6452 a requirement, so it is subject to the usual (e.g. disabled) checks.
6453 (describe-package): Accept package-desc as well.
6454 (describe-package-1): Describe a specific package-desc. Add links to
6455 other package-descs for the same package name.
6456 (package-menu-describe-package): Pass the actual package-desc.
6457 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6458 works correctly.
6459 (package-desc-status): New function.
6460 (package-menu--refresh): New function, extracted
6461 from package-menu--generate.
6462 (package-menu--generate): Use it.
6463 (package-delete): Update package-alist.
6464 (package-menu-execute): Don't call package-initialize.
6465
6466 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6467 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6468 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6469 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6470 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6471 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6472
8bbdea0f
MR
64732013-06-25 Martin Rudalics <rudalics@gmx.at>
6474
6475 * window.el (window--state-get-1): Workaround for bug#14527.
6476 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6477
e82b0991
LMI
64782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6479
6480 * net/eww.el (eww-back-url): Implement the history by stashing all
6481 the data into a list.
d3f0f918 6482 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6483
c763842b
SM
64842013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6487 for values and use read--expression for expressions (bug#14710).
6488 (read-file-local-variable): Avoid setq.
6489 (read-file-local-variable-mode): Use minor-mode-list.
6490
bceff189
RW
64912013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6492
864c58ca 6493 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6494 for DOI URLs.
6495
45f431c6
RW
64962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6497
864c58ca 6498 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6499 Update imenu-support when dialect changes.
6500
f42d8237
LL
65012013-06-25 Leo Liu <sdl.web@gmail.com>
6502
6503 * ido.el (ido-read-internal): Allow forward slash on windows.
6504
be549ce6
LMI
65052013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6506
6507 * net/eww.el (eww): Start of strings is \\`, not ^.
6508
71d4c19d
IK
65092013-06-24 Ivan Kanis <ivan@kanis.fr>
6510
5196f88a
IK
6511 * net/shr.el (shr-browse-url): Fix interactive spec.
6512
71d4c19d
IK
6513 * net/eww.el (eww): Add a trailing slash to domain names.
6514
ae36ca55
JB
65152013-06-24 Juanma Barranquero <lekktu@gmail.com>
6516
6517 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6518
0ebd92a3
LMI
65192013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6520
bdaa086b
LMI
6521 * net/shr.el (shr-browse-url): Use an external browser if given a
6522 prefix.
6523
c763842b 6524 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6525
b89fc156
IK
65262013-06-24 Ivan Kanis <ivan@kanis.fr>
6527
6528 * net/eww.el (eww): Work more correctly for file: URLs.
6529 (eww-detect-charset): Allow quoted charsets.
6530 (eww-yank-page-url): New command and keystroke.
6531
18eb4bca
DU
65322013-06-24 Daiki Ueno <ueno@gnu.org>
6533
6534 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6535 file name of gpg executable.
6536 (epg-context-program): New function.
6537 (epg-context-home-directory): New function.
6538 (epg-context-set-program): New function.
6539 (epg-context-set-home-directory): New function.
6540 (epg--start): Use `epg-context-program' instead of
6541 'epg-gpg-program'.
6542 (epg--list-keys-1): Likewise.
6543
6c6268c8
LL
65442013-06-24 Leo Liu <sdl.web@gmail.com>
6545
6546 * ido.el (ido-read-internal): Fix bug#14620.
6547
5e400cb3
JB
65482013-06-23 Juanma Barranquero <lekktu@gmail.com>
6549
6550 * faces.el (face-documentation): Simplify.
6551 (read-face-attribute, tty-find-type, x-resolve-font-name):
6552 Use `string-match-p'.
6553 (list-faces-display): Use `string-match-p'. Simplify.
6554 (face-spec-recalc): Check face to avoid face alias loops.
6555 (read-color): Use `string-match-p' and non-capturing parenthesis.
6556
f3f9606c
LMI
65572013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6558
6559 * net/shr.el (shr-rescale-image): Use the new
6560 :max-width/:max-height functionality.
6561
a3ca09b9
IK
65622013-06-23 Ivan Kanis <ivan@kanis.fr>
6563
6564 * net/eww.el (eww-search-prefix): New variable.
6565 (eww): Use it.
f865b474
IK
6566 (eww-external-browser): New variable.
6567 (eww-mode-map): New keystroke.
6568 (eww-browse-with-external-browser): New command.
a3ca09b9 6569
e854cfc7
IK
6570 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6571
18bb9e21
JB
65722013-06-23 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6575 Don't skip aligning the next header field when padding is 0;
6576 otherwise, field width is not respected unless the title is as
6577 wide as the field.
6578
5b165ade
SM
65792013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * emacs-lisp/package.el (package-el-version): Remove.
6582 (package-process-define-package): Fix inf-loop.
6583 (package-install): Allow symbols as arguments again.
6584
12adebe9
DG
65852013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6586
6587 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6588 add some more keyword-like methods.
6589 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6590
388573ee
JB
65912013-06-22 Juanma Barranquero <lekktu@gmail.com>
6592
6593 * bs.el (bs-buffer-show-mark): Make defvar-local.
6594 (bs-mode): Use setq-local.
6595
6596 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6597 (emacs-lock--try-unlocking): Make defvar-local.
6598
4582a01c 65992013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6600
2663dd23
GM
6601 * play/cookie1.el (cookie-apropos): Minor simplification.
6602
3d94f3ad
GM
6603 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6604
f72e2fdb
DG
66052013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6606
6607 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6608 `regexp-opt', it breaks the build during dumping.
6609
73eab938
DG
66102013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6611
c763842b
SM
6612 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6613 Highlight keyword-like methods on Kernel and Module with
73eab938 6614 font-lock-builtin-face.
5cf8176d
DG
6615 (auto-mode-alist): Consolidate different entries into one regexp
6616 and add more *file-s.
73eab938 6617
d26255f6
SB
66182013-06-21 Stephen Berman <stephen.berman@gmx.net>
6619
6620 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6621
6622 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6623 (diary-entry): Use it in the action of this button type instead of
6624 diary-goto-entry.
6625
6626 * calendar/todo-mode.el: New version.
6627 (todo-add-category): Append new category to end of file and give
6628 it the highest number, instead of putting it at the beginning and
6629 giving it 0. Incorporate noninteractive functionality.
6630 (todo-forward-category): Adapt to 1-based category numbering.
6631 Allow skipping over archived categories.
6632 (todo-backward-category): Derive from todo-forward-category.
6633 (todo-backward-item, todo-forward-item): Make noninteractive and
6634 delegate interactive part to new commands. Make sensitive to done items.
6635 (todo-categories): Make value an alist of category names and
6636 vectors of item counts.
6637 (todo-category-beg): Make a defconst.
6638 (todo-category-number): Use 1 instead of 0 as initial value.
6639 (todo-category-select): Make sensitive to overlays, optional item
6640 highlighting and done items.
6641 (todo-delete-item): Make sensitive to overlays and marked and done items.
6642 (todo-edit-item): Make sensitive to overlays and editing of
6643 date/time header optional. Add format checks.
6644 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6645 no-op if point is not on an item. Advertise using todo-edit-quit.
6646 (todo-edit-mode): Make sensitive to new format, font-locking, and
6647 multiple todo files.
6648 (todo-insert-item, todo-insert-item-here): Derive from
6649 todo-basic-insert-item and extend functionality.
6650 (todo-item-end, todo-item-start): Make sensitive to done items.
6651 (todo-item-string): Don't return text properties. Restore point.
6652 (todo-jump-to-category): Make sensitive to multiple todo files and
6653 todo archives. Use extended category completion.
6654 (todo-lower-item, todo-raise-item): Rename to *-priority and
6655 derive from todo-set-item-priority.
6656 (todo-mode): Derive from special-mode. Make sensitive to new
6657 format, font-locking and multiple todo files. Make read-only.
6658 (todo-mode-map): Don't suppress digit keys, so they can supply
6659 prefix arguments. Add many new key bindings.
6660 (todo-prefix): Insert as an overlay instead of file text.
6661 Change semantics from diary date expression to purely visual mark.
6662 (todo-print): Rename to todo-print-buffer. Make buffer display
6663 features printable. Remove option to restrict number of items
6664 printed. Add option to print to file.
6665 (todo-print-function): Rename to todo-print-buffer-function.
6666 (todo-quit): Extend to handle exiting new todo modes.
6667 (todo-remove-item): Make sensitive to overlays.
6668 (todo-save): Extend to buffers of filtered items.
6669 (todo-show): Make sensitive to done items, multiple todo files and
6670 new todo modes. Offer to convert legacy todo file before creating
6671 first new todo file.
6672 (todo-show-priorities): Rename to todo-top-priorities.
6673 Change semantics of value 0.
6674 (todo-top-priorities): Rename to todo-filter-top-priorities,
6675 derive from todo-filter-items and extend functionality.
6676 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6677 and extend functionality to other types of filtered items.
6678 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6679 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6680 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6681 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6682 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6683 (todo-edit-mode-hook, todo-entry-prefix-function)
6684 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6685 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6686 (todo-initials, todo-insert-threshold, todo-item-string-start)
6687 (todo-line-string, todo-menu, todo-mode-hook)
6688 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6689 (todo-print-priorities, todo-remove-separator)
6690 (todo-save-top-priorities-too, todo-string-count-lines)
6691 (todo-string-multiline-p, todo-time-string-format)
6692 (todo-tmp-buffer-name): Remove.
6693 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6694 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6695 (todo-edit-category-diary-inclusion)
6696 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6697 (todo-edit-file, todo-edit-item-date-day)
6698 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6699 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6700 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6701 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6702 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6703 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6704 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6705 (todo-filter-top-priorities-multifile, todo-find-archive)
6706 (todo-find-filtered-items-file, todo-go-to-source-item)
6707 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6708 (todo-jump-to-archive-category, todo-lower-category)
6709 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6710 (todo-move-category, todo-move-item, todo-next-button)
6711 (todo-next-item, todo-padded-string, todo-powerset)
6712 (todo-previous-button, todo-previous-item)
6713 (todo-print-buffer-to-file, todo-raise-category)
6714 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6715 (todo-set-category-number, todo-set-item-priority)
6716 (todo-set-top-priorities-in-category)
6717 (todo-set-top-priorities-in-file, todo-show-categories-table)
6718 (todo-sort-categories-alphabetically-or-numerically)
6719 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6720 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6721 (todo-toggle-item-header, todo-toggle-item-highlighting)
6722 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6723 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6724 (todo-unarchive-items, todo-unmark-category): New commands.
6725 (todo-absolute-file-name, todo-add-to-buffer-list)
6726 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6727 (todo-basic-insert-item, todo-category-completions)
6728 (todo-category-number, todo-category-string-matcher-1)
6729 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6730 (todo-check-format, todo-clear-matches)
6731 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6732 (todo-current-category, todo-date-string-matcher)
6733 (todo-define-insertion-command, todo-diary-expired-matcher)
6734 (todo-diary-goto-entry, todo-diary-item-p)
6735 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6736 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6737 (todo-done-item-section-p, todo-done-separator)
6738 (todo-done-string-matcher, todo-files, todo-filter-items)
6739 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6740 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6741 (todo-insert-category-line, todo-insert-item-from-calendar)
6742 (todo-insert-sort-button, todo-insert-with-overlays)
6743 (todo-insertion-command-name, todo-insertion-key-bindings)
6744 (todo-label-to-key, todo-longest-category-name-length)
6745 (todo-make-categories-list, todo-mode-external-set)
6746 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6747 (todo-modes-set-3, todo-multiple-filter-files)
6748 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6749 (todo-read-category, todo-read-date, todo-read-dayname)
6750 (todo-read-file-name, todo-read-time)
6751 (todo-reevaluate-category-completions-files-defcustom)
6752 (todo-reevaluate-default-file-defcustom)
6753 (todo-reevaluate-filelist-defcustoms)
6754 (todo-reevaluate-filter-files-defcustom)
6755 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6756 (todo-reset-done-separator, todo-reset-done-separator-string)
6757 (todo-reset-done-string, todo-reset-global-current-todo-file)
6758 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6759 (todo-reset-prefix, todo-set-categories)
6760 (todo-set-date-from-calendar, todo-set-show-current-file)
6761 (todo-set-top-priorities, todo-short-file-name)
6762 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6763 (todo-total-item-counts, todo-update-buffer-list)
6764 (todo-update-categories-display, todo-update-categories-sexp)
6765 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6766 New functions.
6767 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6768 New major modes.
6769 (todo-categories, todo-display, todo-edit, todo-faces)
6770 (todo-filtered): New defgroups.
6771 (todo-archived-only, todo-button, todo-category-string, todo-date)
6772 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6773 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6774 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6775 (todo-add-item-if-new-category, todo-always-add-time-string)
6776 (todo-categories-align, todo-categories-archived-label)
6777 (todo-categories-category-label, todo-categories-diary-label)
6778 (todo-categories-done-label, todo-categories-number-separator)
6779 (todo-categories-todo-label, todo-categories-totals-label)
6780 (todo-category-completions-files, todo-completion-ignore-case)
6781 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6782 (todo-done-separator-string, todo-done-string)
6783 (todo-files-function, todo-filter-done-items, todo-filter-files)
6784 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6785 (todo-initial-category, todo-initial-file, todo-item-mark)
6786 (todo-legacy-date-time-regexp, todo-mode-line-function)
6787 (todo-nondiary-marker, todo-number-prefix)
6788 (todo-print-buffer-function, todo-show-current-file)
6789 (todo-show-done-only, todo-show-first, todo-show-with-done)
6790 (todo-skip-archived-categories, todo-top-priorities-overrides)
6791 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6792 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6793 New defcustoms.
6794 (todo-category-done, todo-date-pattern, todo-date-string-start)
6795 (todo-diary-items-buffer, todo-done-string-start)
6796 (todo-filtered-items-buffer, todo-item-start)
6797 (todo-month-abbrev-array, todo-month-name-array)
6798 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6799 (todo-top-priorities-buffer): New defconsts.
6800 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6801 (todo-categories-with-marks, todo-category-string-face)
6802 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6803 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6804 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6805 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6806 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6807 (todo-font-lock-keywords, todo-global-current-todo-file)
6808 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6809 (todo-insertion-commands-args)
6810 (todo-insertion-commands-args-genlist)
6811 (todo-insertion-commands-names, todo-insertion-map)
6812 (todo-key-bindings-t, todo-key-bindings-t+a)
6813 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6814 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6815 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6816 (todo-visited): New variables.
6817
cad5d1cb
GM
68182013-06-21 Glenn Morris <rgm@gnu.org>
6819
6820 * play/cookie1.el (cookie-apropos): Add optional display argument.
6821 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6822 (psychoanalyze-pinhead): Use cookie-doctor.
6823
9e277302
JB
68242013-06-21 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * emacs-lisp/package.el (tar-get-file-descriptor)
6827 (tar--extract): Declare.
6828
c5b0993e
EW
68292013-06-21 Eduard Wiebe <usenet@pusto.de>
6830
6831 Extend flymake's warning predicate to be a function (bug#14217).
6832 * progmodes/flymake.el (flymake-warning-predicate): New.
6833 (flymake-parse-line): Use it.
6834 (flymake-warning-re): Make obsolete alias to
6835 `flymake-warning-predicate'.
6836
a7d2d465
SM
68372013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6840 (package-obsolete-list): Remove.
6841 (package-activate): Remove min-version argument. Add `force' argument.
6842 Adjust to new package-alist format.
6843 (package-mark-obsolete): Remove.
6844 (package-unpack): Force reload of the package's autoloads.
6845 (package-installed-p): Check builtins if the installed package is not
6846 recent enough.
6847 (package-initialize): Don't reset package-obsolete-list.
6848 Don't specify which package version to activate.
6849 (package-process-define-package, describe-package-1)
6850 (package-menu--generate): Adjust to new package-alist format.
6851
cedf5c9d
JB
68522013-06-21 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * allout-widgets.el (allout-widgets-mode-off)
6855 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6856 (allout-widgets-post-command-business)
6857 (allout-widgets-after-copy-or-kill-function)
6858 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6859 (allout-decorate-item-and-context)
6860 (allout-graphics-modification-handler): Fix typos in docstrings.
6861 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6862
6863 * cmuscheme.el (scheme-start-file): Doc fix.
6864 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6865 (scheme-input-filter): Use `string-match-p'.
6866
6867 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6868
6869 * dired-x.el: Use Dired consistently in docstrings.
6870
6871 * dired.el: Use Dired consistently in docstrings.
6872 (dired-readin, dired-mode): Use `setq-local'.
6873 (dired-switches-alist): Make defvar-local.
6874 (dired-buffers-for-dir): Use `zerop'.
6875 (dired-safe-switches-p, dired-switches-escape-p)
6876 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6877 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6878 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6879 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6880 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6881 (dired-toggle-marks, dired-mark-files-containing-regexp)
6882 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6883 (dired-flag-auto-save-files, dired-flag-backup-files):
6884 Use `looking-at-p'.
6885 (dired-mark-files-regexp, dired-build-subdir-alist):
6886 Use `string-match-p', `looking-at-p'.
6887
6888 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6889 (direct-print-region-helper): Use `string-match-p'.
6890
aed838b5
LL
68912013-06-21 Leo Liu <sdl.web@gmail.com>
6892
cedf5c9d
JB
6893 * comint.el (comint-redirect-results-list-from-process):
6894 Fix infinite loop.
aed838b5 6895
d80a808f
LMI
68962013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
6898 * net/eww.el (eww-update-header-line-format): Quote % characters.
6899
e7a526e3
GM
69002013-06-21 Glenn Morris <rgm@gnu.org>
6901
6902 * play/cookie1.el (cookie): New custom group.
6903 (cookie-file): New option.
6904 (cookie-check-file): New function.
6905 (cookie): Make it interactive. Make start and end messages optional.
6906 Interactively, display the result. Default to cookie-file.
6907 (cookie-insert): Default to cookie-file.
6908 (cookie-snarf): Make start and end messages optional.
6909 Default to cookie-file. Use with-temp-buffer.
6910 (cookie-read): Rename from read-cookie.
6911 Make start and end messages optional. Default to cookie-file.
6912 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6913 Do not autoload it.
e7a526e3
GM
6914 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6915 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6916
62efb35e
LL
69172013-06-21 Leo Liu <sdl.web@gmail.com>
6918
6919 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6920
21e3f963
GM
69212013-06-21 Glenn Morris <rgm@gnu.org>
6922
6923 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6924
fd846ab4
SM
69252013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6926 Daniel Hackney <dan@haxney.org>
6927
6928 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6929 Consolidate the single-file vs tarball code.
6930 (package-desc-suffix): New function.
6931 (package-desc-full-name): Don't bother inlining it.
6932 (package-load-descriptor): Return the new package-desc.
6933 (package-mark-obsolete): Remove unused arg `package'.
6934 (package-unpack): Make it work for single files as well.
6935 Make it update package-alist.
6936 (package--make-autoloads-and-stuff): Rename from
6937 package--make-autoloads-and-compile. Don't compile any more.
6938 (package--compile): New function.
6939 (package-generate-description-file): New function, extracted from
6940 package-unpack-single.
6941 (package-unpack-single): Remove.
6942 (package--with-work-buffer): Add indentation and debugging info.
6943 (package-download-single): Remove.
6944 (package-install-from-archive): Rename from package-download-tar, make
6945 it take a pkg-desc, and make it work for single files as well.
6946 (package-download-transaction): Simplify.
6947 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6948 external tar program.
6949 (package-install-from-buffer): Remove `pkg-desc' argument.
6950 Use package-tar-file-info for tar-mode buffers.
6951 (package-install-file): Simplify accordingly.
6952 (package-archive-base): Change to take a pkg-desc.
6953 * tar-mode.el (tar--check-descriptor): New function, extracted from
6954 tar-get-descriptor.
6955 (tar-get-descriptor): Use it.
6956 (tar-get-file-descriptor): New function.
6957 (tar--extract): New function, extracted from tar-extract.
6958 (tar--extract): Use it.
6959 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6960 case the summary uses non-ascii. Adjust to new calling convention of
6961 package-tar-file-info.
6962
b7deae5e
LL
69632013-06-21 Leo Liu <sdl.web@gmail.com>
6964
fd846ab4
SM
6965 * comint.el (comint-redirect-results-list-from-process):
6966 Fix random delay. (Bug#14681)
b7deae5e 6967
7a65a0b2
JB
69682013-06-21 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * profiler.el (profiler-format-number): Use log, not log10.
6971
1493c2af
JB
69722013-06-20 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6975
aff6371e
SM
69762013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6979 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6980 yet available.
6981 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6982 (AUTOGENEL): ... here.
6983 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6984 (cl--defsubst-expand): Use it.
6985
89561f72
PE
69862013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6987
6988 * subr.el (log10): Move here from C code, and declare as obsolete.
6989 All uses of (log10 X) replaced with (log X 10).
6990
47199123
JB
69912013-06-20 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6994 Declare with `defvar-local'.
6995 (tabulated-list-use-header-line, tabulated-list-entries)
6996 (tabulated-list-padding, tabulated-list-printer)
6997 (tabulated-list-sort-key): Declare with `defvar-local'.
6998 (tabulated-list-init-header, tabulated-list-print-fake-header):
6999 Use `setq-local'.
7000
4a172eab
MA
70012013-06-20 Michael Albinus <michael.albinus@gmx.de>
7002
47199123
JB
7003 * arc-mode.el (archive-mode): Add `archive-write-file' to
7004 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7005
5fc0acc0
JB
70062013-06-20 Juanma Barranquero <lekktu@gmail.com>
7007
d5b27848
JB
7008 * cus-edit.el (custom-commands): Fix typos.
7009 (custom-display): Fix tooltip text.
7010 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7011 Fix typos in docstrings.
7012 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7013 (custom-unlispify-menu-entry, custom-magic-value-create)
7014 (custom-add-see-also, custom-group-value-create): Use ?\s.
7015 (custom-guess-type, customize-apropos, editable-field)
7016 (custom-face-value-create): Use `string-match-p'.
7017 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7018
7019 * custom.el (custom-load-symbol): Use `string-match-p'.
7020
a5c581d8
JB
7021 * ansi-color.el: Convert to lexical binding.
7022 (ansi-colors): Fix URL.
7023 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7024 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7025 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7026
970ad972
G
70272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7028
7029 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7030
7031 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7032
70332013-06-19 Tom Tromey <tromey@redhat.com>
7034
7035 * net/eww.el (eww-top-url): Remove.
7036 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7037 (eww-render): Set new variables. Don't set eww-top-url.
7038 (eww-handle-link): Handle "prev", "home", and "contents".
7039 Downcase the rel text.
7040 (eww-top-url): Choose best top URL.
7041
70422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7043
7044 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7045 relying in widget.el. Using widget.el leads to too many
7046 user interface inconsistencies.
7047 (eww-self-insert): Implement entering commands in text fields.
7048 (eww-process-text-input): New function to make text input field editing
7049 work.
7050 (eww-submit): Rewrite to use the new-style form methods.
7051 (eww-select-display): Display the correct selected item.
7052 (eww-change-select): Implement changing the select value.
7053 (eww-toggle-checkbox): Implement radio/checkboxes.
7054 (eww-update-field): Fix compilation error.
7055 (eww-tag-textarea): Implement <textarea>.
7056
7057 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7058 we don't shadow mode-specific bindings.
7059
7060 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7061 nothing to push.
7062
7063 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7064
4582a01c 70652013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7066
7067 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7068
15b263dc
MA
70692013-06-19 Michael Albinus <michael.albinus@gmx.de>
7070
7071 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7072 not needed.
7073
7074 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7075
8f5297f7
LMI
70762013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7077
7078 * net/browse-url.el (browse-url-browser-function):
7079 `eww-browse-url' has the right calling signature, `eww' does not.
7080
011c4552
GM
70812013-06-19 Glenn Morris <rgm@gnu.org>
7082
2285bd27
GM
7083 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7084 Only eval autoloaded macros.
7085 (byte-compile-autoload): Only give the macro warning for macros.
7086
1d653303
GM
7087 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7088 (ps-underlined-faces): Declare.
7089
bdd779ec
GM
7090 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7091 (speedbar-add-supported-extension): Declare.
7092
011c4552
GM
7093 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7094 Don't include a date stamp in the header of the generated file;
7095 it leads to needless differences between output files.
7096
e59dfb0e
MA
70972013-06-19 Michael Albinus <michael.albinus@gmx.de>
7098
c763842b
SM
7099 * net/secrets.el (secrets-struct-secret-content-type):
7100 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7101 Some servers do not offer introspection.
e59dfb0e 7102
102626e2
SM
71032013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * electric.el (electric-pair-mode): Improve interaction with
7106 electric-layout-mode.
7107 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7108 (electric-pair-syntax): Use text-mode-syntax-table in comments
7109 and strings.
7110 (electric-pair--insert): New function.
7111 (electric-pair-post-self-insert-function): Use it and
7112 electric--after-char-pos.
7113
ad528125
LL
71142013-06-19 Leo Liu <sdl.web@gmail.com>
7115
7116 * progmodes/octave.el (octave-help): Fix regexp.
7117
924d6997
G
71182013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7119
7120 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7121 (shr-table-horizontal-line): Allow nil as a value, and change the
7122 default.
7123 (shr-insert-table-ruler): Respect the nil value.
7124
71252013-06-18 Tom Tromey <tromey@barimba>
7126
7127 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7128 New defvars.
7129 (eww-open-file): New defun.
7130 (eww-render): Initialize new variables.
7131 (eww-display-html): Handle "link" and "a".
7132 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7133 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7134 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7135 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7136 New defuns.
924d6997 7137
d1bbba4f
DG
71382013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7139
7140 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7141 Distinguish ternary operator tokens from slash symbol and slash
7142 char literal.
7143
14dd22d2
JB
71442013-06-18 Juanma Barranquero <lekktu@gmail.com>
7145
7146 Convert symbol prettification into minor mode and global minor mode.
7147
7148 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7149 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7150 (prettify-symbols--keywords): Rename from
7151 `prog-prettify-symbols-alist' and make a local defvar.
7152 (prettify-symbols--compose-symbol): Rename from
7153 `prog--prettify-font-lock-compose-symbol'.
7154 (prettify-symbols--make-keywords): Rename from
7155 `prog-prettify-font-lock-symbols-keywords' and simplify.
7156 (prog-prettify-install): Remove.
7157 (prettify-symbols-mode): New minor mode, based on
7158 `prog-prettify-install'.
7159 (turn-on-prettify-symbols-mode): New function.
7160 (global-prettify-symbols-mode): New globalized minor mode.
7161
7162 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7163 * progmodes/cfengine.el (cfengine3-mode):
7164 * progmodes/perl-mode.el (perl-mode): Don't call
7165 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7166
292c880c
JL
71672013-06-18 Juri Linkov <juri@jurta.org>
7168
7169 * files-x.el (modify-file-local-variable-message): New function.
7170 (modify-file-local-variable)
7171 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7172 and call `modify-file-local-variable-message' when it's non-nil.
7173 (add-file-local-variable, delete-file-local-variable)
7174 (add-file-local-variable-prop-line)
7175 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7176 and use it. (Bug#9820)
7177
0950aa27
JL
71782013-06-18 Juri Linkov <juri@jurta.org>
7179
7180 * emulation/vi.el (vi-shell-op):
7181 * emulation/vip.el (vip-execute-com, ex-command):
7182 * emulation/viper-cmd.el (viper-exec-bang):
7183 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7184 the call of `shell-command-on-region'. (Bug#14637)
7185
7186 * simple.el (shell-command-on-region): Doc fix.
7187
8fbcca16
SM
71882013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7191 (bug#14633).
7192
dd7426ea
GM
71932013-06-18 Glenn Morris <rgm@gnu.org>
7194
4ba54f7d
GM
7195 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7196
dd7426ea
GM
7197 * newcomment.el (comment-search-forward, comment-search-backward):
7198 Doc fix. (Bug#14376)
7199
58aa805b
JB
72002013-06-18 Juanma Barranquero <lekktu@gmail.com>
7201
7202 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7203 (buffer-face-mode-invoke): Doc fix.
7204
9a08a617
MM
72052013-06-18 Matthias Meulien <orontee@gmail.com>
7206
7207 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7208 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7209
f2f426ca
GM
72102013-06-18 Glenn Morris <rgm@gnu.org>
7211
9445f99b
GM
7212 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7213 Replace obsolete function generic-make-keywords with its expansion.
7214
e0df2d14
GM
7215 * progmodes/python.el (ffap-alist): Declare.
7216
f2f426ca
GM
7217 * textmodes/reftex.el (bibtex-mode-map): Declare.
7218
f7f9a720
SM
72192013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7222 (package-unpack, package-unpack-single): Return the pkg-dir.
7223 (package-download-transaction): Use it to update package-alist.
7224
57ff04e0
LMI
72252013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7226
7227 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7228 possible choice.
7229
c048c022
JL
72302013-06-17 Juri Linkov <juri@jurta.org>
7231
7232 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7233
b5bcaee5
DG
72342013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7235
a020afb9
JB
7236 * emacs-lisp/package.el (package-load-descriptor):
7237 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7238 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7239
551e07e5
JB
72402013-06-17 Juanma Barranquero <lekktu@gmail.com>
7241
7242 * startup.el (command-line): Expand package name returned by
7243 `package--description-file' (bug#14639).
7244
d363bffb
DG
72452013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7246
7247 * emacs-lisp/package.el (package-load-descriptor): Do not call
7248 `emacs-lisp-mode', just use its syntax table.
7249
f612933b
JB
72502013-06-17 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7253 `font-lock-extra-managed-props' if any prettifying keyword is added.
7254 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7255 (prog-mode): Use `setq-local'.
7256
db3b7db5
SM
72572013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * international/characters.el (standard-case-table): Set syntax of ?»
7260 and ?« to punctuation.
7261
f3d674df
JB
72622013-06-16 Juanma Barranquero <lekktu@gmail.com>
7263
7264 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7265 Save relevant match data before calling `syntax-ppss' (bug#14595).
7266
31489a32
JL
72672013-06-15 Juri Linkov <juri@jurta.org>
7268
7269 * files-x.el (modify-file-local-variable-prop-line): Add local
7270 variables to the end of the existing comment on the first line.
7271 Use `file-auto-mode-skip' to skip interpreter magic line,
7272 and also skip XML declaration.
7273
66bd25ab
SM
72742013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * startup.el (package--builtin-versions): New var.
7277 (package-subdirectory-regexp): Remove.
7278 (package--description-file): Hard code its value instead.
7279
7280 * emacs-lisp/package.el: Don't activate packages older than builtin.
7281 (package-obsolete-list): Rename from package-obsolete-alist, and make
7282 it into a simple list of package-desc.
7283 (package-strip-version): Remove.
7284 (package-built-in-p): Use package--builtin-versions.
7285 (package-mark-obsolete): Simplify.
7286 (package-process-define-package): Mark it obsolete if older than the
7287 builtin version.
7288 (package-handle-response): Use line-end-position.
7289 (package-read-archive-contents, package--download-one-archive):
7290 Simplify.
7291 (package--add-to-archive-contents): Skip if older than the builtin or
7292 installed version.
7293 (package-menu-describe-package): Fix last change.
7294 (package-list-unversioned): New var.
7295 (package-menu--generate): Use it.
7296
7297 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7298 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7299 (autoload-builtin-package-versions): New variable.
7300 (autoload-generate-file-autoloads): Use them.
7301 Remove the list of autoloaded functions/macros from the
7302 (autoload...) comments.
7303
7304 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7305
9583ec36
EZ
73062013-06-15 Eli Zaretskii <eliz@gnu.org>
7307
7308 * simple.el (line-move-partial): Don't jump to the next screen
7309 line as soon as it becomes visible. Instead, continue enlarging
7310 the vscroll until the portion of a tall screen line that's left on
7311 display is about the height of the frame's default font.
7312 (Bug#14567)
7313
f0100d8a
GM
73142013-06-15 Glenn Morris <rgm@gnu.org>
7315
b86a85ca
GM
7316 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7317 compilation-error-regexp-alist void, or local while let-bound.
7318
f0100d8a
GM
7319 * progmodes/make-mode.el (makefile-mode-syntax-table):
7320 Treat "=" as punctuation. (Bug#14614)
7321
05e7ce90
JB
73222013-06-15 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * help-fns.el (describe-variable):
7325 Add extra line for permanent-local variables.
7326
12e5e86e
SH
73272013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7328
7329 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7330 Add export, import, library. (Bug#9164)
7331 (library): Set indent function.
7332
230dcbaf
GM
73332013-06-14 Glenn Morris <rgm@gnu.org>
7334
7335 * term/xterm.el (xterm--query):
7336 Stop after first matching handler. (Bug#14615)
7337
e36b2d20 73382013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7339
7340 Add support for dired in saveplace.
7341 * dired.el (dired-initial-position-hook): New variable.
7342 (dired-initial-position): Call hook to place cursor position.
7343 * saveplace.el (save-place-to-alist): Add dired position.
7344 (save-place-dired-hook): New function.
7345
0b31660d
SM
73462013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7347
bf1e6ae8
SM
7348 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7349 through a symbol rather than letrec.
7350
1b8dff23
SM
7351 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7352 (package-desc): Add `dir' field.
7353 (package-desc-full-name): New function.
7354 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7355 (package-maybe-load-descriptor): Remove.
7356 (package-load-all-descriptors): Just call package-load-descriptor.
7357 (package--disabled-p): New function.
7358 (package-desc-vers, package-desc-doc): Remove aliases.
7359 (package--dir): Remove function.
7360 (package-activate): Check if a package is disabled.
7361 (package-process-define-package): New function, extracted from
7362 define-package.
7363 (define-package): Turn into a place holder.
7364 (package-unpack-single, package-tar-file-info):
7365 Use package--description-file.
7366 (package-compute-transaction): Use package--disabled-p.
7367 (package-download-transaction): Don't call
7368 package-maybe-load-descriptor since they're all loaded anyway.
7369 (package-install): Change argument to be a pkg-desc.
7370 (package-delete): Use a single pkg-desc argument.
7371 (describe-package-1): Use package-desc-dir instead of package--dir.
7372 Use package-desc property instead of package-symbol.
7373 (package-install-button-action): Adjust accordingly.
7374 (package--push): Rewrite.
7375 (package-menu--print-info): Adjust accordingly. Change the ID format
7376 to be a pkg-desc.
7377 (package-menu-describe-package, package-menu-get-status)
7378 (package-menu--find-upgrades, package-menu-mark-upgrades)
7379 (package-menu-execute, package-menu--name-predicate):
7380 Adjust accordingly.
7381 * startup.el (package--description-file): New function.
7382 (command-line): Use it.
7383 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7384 Use package-desc-version.
7385
0b31660d
SM
7386 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7387 (byte-compile-preprocess): Use it.
7388 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7389 can't quite recognize.
7390 (byte-compile-add-to-list): Remove.
7391 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7392 (cconv-closure-convert): Add assertion.
7393
7394 * emacs-lisp/map-ynp.el: Use lexical-binding.
7395 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7396 Factor out some repeated code.
7397
de0503df
SM
73982013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * subr.el (with-eval-after-load): New macro.
7401 (eval-after-load): Allow form to be a function.
7402 take advantage of lexical-binding.
7403 (do-after-load-evaluation): Use dolist and adjust to new format.
7404 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7405
bc5c8c5a
JL
74062013-06-13 Juri Linkov <juri@jurta.org>
7407
7408 * replace.el (perform-replace): Display "symbol " and other search
7409 modes from `isearch-message-prefix' in the *Help* buffer.
7410
7411 * isearch.el (isearch-query-replace): Add " symbol" and other
7412 possible search modes from `isearch-message-prefix' to the prompt.
7413 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7414 when reading a regexp to collect.
7415
a22289f7
JL
74162013-06-13 Juri Linkov <juri@jurta.org>
7417
7418 * isearch.el (word-search-regexp): Match whitespace if the search
7419 string begins or ends in whitespace. The LAX arg is applied to
7420 both ends of the search string. Use `regexp-quote' and explicit
7421 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7422 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7423 boundaries are replaced with symbol boundaries, and characters
7424 between symbols match non-word non-symbol syntax. (Bug#14602)
7425
cb89acab
JL
74262013-06-13 Juri Linkov <juri@jurta.org>
7427
7428 * isearch.el (isearch-del-char): Don't exceed the length of
7429 `isearch-string' by the prefix arg. (Bug#14563)
7430
6e8cfc81
JL
74312013-06-13 Juri Linkov <juri@jurta.org>
7432
7433 * isearch.el (isearch-yank-word, isearch-yank-line)
7434 (isearch-char-by-name, isearch-quote-char)
7435 (isearch-printing-char, isearch-process-search-char):
7436 Add optional count prefix arg. (Bug#14563)
7437
7438 * international/isearch-x.el
7439 (isearch-process-search-multibyte-characters):
7440 Add optional count prefix arg.
7441
c23d55f4
VS
74422013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7445 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7446 lexical-binding.
7447
74482013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7449
7450 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7451
ba947bc4
GM
74522013-06-13 Glenn Morris <rgm@gnu.org>
7453
8baeb37a
GM
7454 * startup.el (tty-handle-args):
7455 Don't just discard "--" and anything after. (Bug#14608)
7456
ba947bc4
GM
7457 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7458
9abefce4
MA
74592013-06-13 Michael Albinus <michael.albinus@gmx.de>
7460
7461 Implement changes in Secret Service API. Make it backward compatible.
7462 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7463 (secrets-create-item): Use it. Prefix properties with interface.
7464
5755011f
MH
74652013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7466
7467 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7468 (term-emulate-terminal): Respect term-suppress-hard-newline.
7469
1261d2da
S
74702013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7471
7472 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7473 Only remove a `thumb-file' overlay. (Bug#14548)
7474
868490bb
GJ
74752013-06-12 Grégoire Jadi <daimrod@gmail.com>
7476
7477 * mail/reporter.el (reporter-submit-bug-report):
7478 Handle missing package-name. (Bug#14600)
7479
79d7167f
TH
74802013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7481
7482 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7483 (reftex-citation-prompt, reftex-default-bibliography)
7484 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7485 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7486 (reftex-bib-sort-author, reftex-bib-sort-year)
7487 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7488 (reftex-extract-bib-entries-from-thebibliography)
7489 (reftex-get-bibkey-default, reftex-get-bib-names)
7490 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7491 (reftex-format-bib-entry, reftex-parse-bibitem)
7492 (reftex-format-bibitem, reftex-do-citation)
7493 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7494 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7495 (reftex-insert-bib-matches, reftex-format-citation)
7496 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7497 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7498 existing comments into docstrings.
7499
5f9dbd7a
XF
75002013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7501
7502 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7503
94df41ab
AS
75042013-06-12 Andreas Schwab <schwab@suse.de>
7505
7506 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7507 for auto-save files.
7508
a7f3fecc
GM
75092013-06-12 Glenn Morris <rgm@gnu.org>
7510
001809f6
GM
7511 * ido.el (ido-delete-ignored-files): Remove.
7512 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7513 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7514
834b5ded
EL
75152013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7516
08c73ed2
EL
7517 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7518
834b5ded
EL
7519 * ido.el (ido-delete-ignored-files): New function,
7520 split from ido-make-file-list-1.
7521 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7522 (ido-make-file-list-1): Use ido-delete-ignored-files.
7523
daabf15a
LL
75242013-06-12 Leo Liu <sdl.web@gmail.com>
7525
7526 * progmodes/octave.el (inferior-octave-startup)
7527 (inferior-octave-completion-table)
7528 (inferior-octave-track-window-width-change)
7529 (octave-eldoc-function-signatures, octave-help)
7530 (octave-find-definition): Use single quoted strings.
7531 (inferior-octave-startup-args): Change default value.
7532 (inferior-octave-startup): Do not hard code "-i" and
7533 "--no-line-editing".
7534 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7535 (inferior-octave-directory-tracker): Use it.
7536 (octave-goto-function-definition): Robustify.
7537 (octave-help): Support highlighting operators in 'See also'.
7538 (octave-find-definition): Find subfunctions only in Octave mode.
7539
cf4e5178
SM
75402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * help-fns.el (help-fns--compiler-macro): If the handler function is
7543 named, then put a link to it.
7544 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7545 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7546 (cl-typep): Use it.
7547 (cl-eval-when): Simplify debug spec.
7548 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7549 compiler-macro function instead of setting `compiler-macro-file'.
7550
99c81280 75512013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7552
7553 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7554 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7555
f56be016
SM
75562013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7557 Daniel Hackney <dan@haxney.org>
7558
7559 First part of Daniel Hackney's patch to package.el.
7560 * emacs-lisp/package.el: Use defstruct.
7561 (package-desc): New, main struct.
7562 (package--bi-desc, package--ac-desc): New structs, used to describe the
7563 format in external files.
7564 (package-desc-vers): Replace with package-desc-version accessor.
7565 (package-desc-doc): Replace with package-desc-summary accessor.
7566 (package-activate-1): Remove `package' arg since the pkg-vec now
7567 includes the name.
7568 (define-package): Use package-desc-from-define.
7569 (package-unpack-single): Change file-name arg to be a symbol.
7570 (package--add-to-archive-contents): Use package-desc-create and new
7571 accessor functions to package--ac-desc.
7572 (package-buffer-info, package-tar-file-info): Return a package-desc.
7573 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7574 arg to be a package-desc.
7575 (package-install-file): Adjust accordingly. Use \' to match EOS.
7576 (package--from-builtin): New function.
7577 (describe-package-1, package-menu--generate): Use it.
7578 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7579 (package-generate-autoloads): Idem and return the name of the file.
7580 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7581 Change pkg-info arg to be a package-desc.
7582 Use package-make-ac-desc.
7583 (package-upload-file): Use \' to match EOS.
7584 * finder.el (finder-compile-keywords): Use package-make-builtin.
7585
31119d63
SM
75862013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7587
931a2762
SM
7588 * vc/vc.el (vc-deduce-fileset): Change error message.
7589 (vc-read-backend): New function.
7590 (vc-next-action): Use it.
7591
5a3eb0c6
SM
7592 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7593
e3eb1bb7
SM
7594 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7595 (prolog-font-lock-keywords): Use regexp-opt instead.
7596 Don't manually highlight strings.
7597 (prolog-mode-variables): Simplify comment-start-skip.
7598 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7599
31119d63
SM
7600 * emacs-lisp/generic.el (generic--normalise-comments)
7601 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7602 (generic-mode-set-comments): Use them.
7603 (generic-bracket-support): Use setq-local.
7604 (generic-make-keywords-list): Declare obsolete.
7605
7de135d0
GM
76062013-06-11 Glenn Morris <rgm@gnu.org>
7607
7608 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7609 Prettify after setting font-lock-defaults. (Bug#14574)
7610
fa6bc6fd
JB
76112013-06-11 Juanma Barranquero <lekktu@gmail.com>
7612
7613 * replace.el (query-replace, occur-read-regexp-defaults-function)
7614 (replace-search):
7615 * subr.el (declare-function, number-sequence, local-set-key)
7616 (substitute-key-definition, locate-user-emacs-file)
7617 (with-silent-modifications, split-string, eval-after-load):
7618 Fix typos, remove unneeded backslashes and reflow some docstrings.
7619
cf1f9b9a
SM
76202013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7621
7622 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7623 default for Elisp files.
7624
56602a4b
GM
76252013-06-11 Glenn Morris <rgm@gnu.org>
7626
7627 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7628 although define-derived-mode was doing this anyway. (Bug#14583)
7629
30ae0b2c
JB
76302013-06-10 Juanma Barranquero <lekktu@gmail.com>
7631
7632 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7633 Fix make-variable-buffer-local call to refer to the correct variable.
7634
fa472906
AG
76352013-06-10 Aidan Gauland <aidalgol@amuri.net>
7636
7637 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7638 (eshell-visual-subcommands, eshell-visual-options):
7639 Add summary line to docstrings. Add cross-references.
fa472906 7640
ff4871b9
GM
76412013-06-10 Glenn Morris <rgm@gnu.org>
7642
7643 * epa.el (epa-read-file-name): New function. (Bug#14510)
7644 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7645
04fcf1b0
AG
76462013-06-09 Aidan Gauland <aidalgol@amuri.net>
7647
7648 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7649 output redirection to be ignored with visual commands.
7650
88b00caa
AG
76512013-06-09 Aidan Gauland <aidalgol@amuri.net>
7652
7653 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7654 (eshell-term-initialize): Move long lambda to separate function
7655 eshell-visual-command-p.
e7b41c4c
JB
7656 * eshell/em-dirs.el (eshell-dirs-initialise):
7657 * eshell/em-script.el (eshell-script-initialize):
7658 Add missing #' to lambda.
88b00caa 7659
fda74125
LL
76602013-06-08 Leo Liu <sdl.web@gmail.com>
7661
7662 * progmodes/octave.el (octave-add-log-current-defun): New function.
7663 (octave-mode): Set add-log-current-defun-function.
7664 (octave-goto-function-definition): Do not move point if not found.
7665 (octave-find-definition): Enhance to try subfunctions first.
7666
467f3b33
GM
76672013-06-08 Glenn Morris <rgm@gnu.org>
7668
7669 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7670 (byte-compile-backward-char, byte-compile-backward-word):
7671 Improve previous change, to handle non-explicit nil.
7672
544badc3
SM
76732013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7676 (smie--opener/closer-at-point): New function.
7677 (smie--matching-block-data): Use it. Don't match from right after an
7678 opener or right before a closer. Obey smie-blink-matching-inners.
7679 Don't signal a mismatch for repeated inners like "switch..case..case".
7680
a175bf33
LL
76812013-06-07 Leo Liu <sdl.web@gmail.com>
7682
7683 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7684 to t. (Bug#14303)
ce8209d4
LL
7685 (octave-function-header-regexp): Fix. (Bug#14570)
7686 (octave-help-mode-finish-hook, octave-help-mode-finish):
7687 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7688
7689 * newcomment.el (comment-search-backward): Revert last change.
7690 (Bug#14434)
7691
7692 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7693
a822acff
EZ
76942013-06-07 Eli Zaretskii <eliz@gnu.org>
7695
7696 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7697 through xargs, to avoid failure due to MS-Windows limitations on
7698 command-line length.
7699
961166f5
GM
77002013-06-06 Glenn Morris <rgm@gnu.org>
7701
d0341459
GM
7702 * font-lock.el (lisp-font-lock-keywords-2):
7703 Treat user-error like error.
7704
961166f5
GM
7705 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7706 (byte-compile-backward-char, byte-compile-backward-word):
7707 Handle explicit nil arguments. (Bug#14565)
7708
80fa505f
AM
77092013-06-05 Alan Mackenzie <acm@muc.de>
7710
7711 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7712 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7713 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7714 (Bug#9706)
80fa505f 7715
fccdc796
SM
77162013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * autorevert.el (auto-revert-notify-handler): Use memq.
7719 Hide assertion failure.
7720
7721 * skeleton.el: Use cl-lib.
7722 (skeleton-further-elements): Use defvar-local.
7723 (skeleton-insert): Use cl-progv.
7724
9bfff84b
TZ
77252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7726
7727 * progmodes/prog-mode.el (prog-prettify-symbols)
7728 (prog-prettify-install): Update docstrings.
7729
55577e7c
SM
77302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7731
7732 * simple.el: Move all the prog-mode code to prog-mode.el.
7733 * progmodes/prog-mode.el: New file.
7734 * loadup.el: Add prog-mode.el.
7735
8fc57765
TZ
77362013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7737
7738 * simple.el (prog-prettify-symbols): Add version.
7739 (prog-prettify-install): Add convenience function to prettify symbols.
7740
7741 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7742 (perl--augmented-font-lock-keywords-1)
7743 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7744 variables and use it.
7745
7746 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7747 (cfengine3-mode): Remove unneeded variable and use it.
7748
7749 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7750 (lisp--augmented-font-lock-keywords-1)
7751 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7752 Remove unneeded variables and use it.
7753
650645d5 77542013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7755
7756 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7757 to point when opening the connection. (Bug#14380)
28f5da6d 7758
781b4af6
SM
77592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * subr.el (load-history-regexp, load-history-filename-element)
7762 (eval-after-load, after-load-functions, do-after-load-evaluation)
7763 (eval-next-after-load, display-delayed-warnings)
7764 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7765 definition of save-match-data.
7766 (overriding-local-map): Remove accidental obsolescence declaration.
7767
7768 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7769
3ca0d0b4
TZ
77702013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7771
7772 Generalize symbol prettify support to prog-mode and implement it
7773 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7774 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7775 (prog--prettify-font-lock-compose-symbol)
7776 (prog-prettify-font-lock-symbols-keywords): New variables and
7777 functions to support symbol prettification.
7778 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7779 (lisp--augmented-font-lock-keywords-1)
7780 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7781 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7782 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7783 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7784 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7785 * progmodes/perl-mode.el (perl-prettify-symbols)
7786 (perl--font-lock-compose-symbol)
7787 (perl--font-lock-symbols-keywords): Move to prog-mode.
7788 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7789 (perl-font-lock-keywords-1)
7790 (perl-font-lock-keywords-2): Remove explicit prettify support.
7791 (perl--augmented-font-lock-keywords)
7792 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7793 (perl--augmented-font-lock-keywords-2, perl-mode):
7794 Implement prettify support.
3ca0d0b4 7795
976cb066
LL
77962013-06-05 Leo Liu <sdl.web@gmail.com>
7797
7798 Re-implement smie matching block highlight using
7799 show-paren-data-function. (Bug#14395)
7800 * emacs-lisp/smie.el (smie-matching-block-highlight)
7801 (smie--highlight-matching-block-overlay)
7802 (smie--highlight-matching-block-lastpos)
7803 (smie-highlight-matching-block)
7804 (smie-highlight-matching-block-mode): Remove.
7805 (smie--matching-block-data-cache): New variable.
7806 (smie--matching-block-data): New function.
7807 (smie-setup): Use smie--matching-block-data for
7808 show-paren-data-function.
7809
7810 * progmodes/octave.el (octave-mode-menu): Fix.
7811 (octave-find-definition): Skip garbage lines.
7812
208d0342
SM
78132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 Fix compilation error with simultaneous dynamic+lexical scoping.
7816 Add warning when a defvar appears after the first let-binding.
7817 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7818 (byte-compile-close-variables): Initialize it.
7819 (byte-compile--declare-var): New function.
7820 (byte-compile-file-form-defvar)
7821 (byte-compile-file-form-define-abbrev-table)
7822 (byte-compile-file-form-custom-declare-variable): Use it.
7823 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7824 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7825 (byte-compile-bind): Handle dynamic bindings that shadow
7826 lexical bindings.
7827 (byte-compile-unbind): Make arg non-optional.
7828 (byte-compile-let): Simplify.
7829 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7830 (cconv--analyse-function, cconv-analyse-form): Populate it.
7831 Protect byte-compile-bound-variables to limit the scope of defvars.
7832 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7833 Remove unneeded rule for `declare'.
7834
7835 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7836 so as to avoid depending on cl-adjoin at run-time.
7837 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7838
7839 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7840 (macroexp--warn-and-return): Use it.
7841
1ac2891e
GM
78422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * lisp/subr.el: Convert to lexical binding.
7845 (overriding-local-map): Make obsolete.
7846 (add-to-list): Doc fix. Add compiler macro.
7847 (read-key): Swap values of local maps.
7848
2587b005
LL
78492013-06-05 Leo Liu <sdl.web@gmail.com>
7850
7851 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7852
f1da3c88
LL
78532013-06-04 Leo Liu <sdl.web@gmail.com>
7854
7855 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7856 (compilation-auto-jump): Suppress the "Mark set" message to give
7857 way to exit message.
7858
3caa391f
AM
78592013-06-04 Alan Mackenzie <acm@muc.de>
7860
7861 Remove faulty optimisation from indentation calculation.
7862 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7863 search limit based on 2000 characters back from indent-point.
7864
068922a2
TH
78652013-06-03 Tassilo Horn <tsdh@gnu.org>
7866
7867 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7868
1f8fdd53
SM
78692013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7870
bbcc4d97
SM
7871 * emacs-lisp/lisp.el: Use lexical-binding.
7872 (lisp--local-variables-1, lisp--local-variables): New functions.
7873 (lisp--local-variables-completion-table): New var.
208d0342 7874 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7875
1f8fdd53
SM
7876 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7877 eagerly (bug#14422).
7878
c9628c79
MA
78792013-06-03 Michael Albinus <michael.albinus@gmx.de>
7880
7881 * autorevert.el (auto-revert-notify-enabled)
7882 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7883 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7884 (auto-revert-notify-handler): Handle also gfilenotify.
7885
e7b41c4c 7886 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7887 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7888 Remove.
c9628c79 7889
e5e4a942
JL
78902013-06-03 Juri Linkov <juri@jurta.org>
7891
7892 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7893 `M-s h .'. (Bug#14427)
7894
7895 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7896 command `hi-lock-face-symbol-at-point'.
7897 (hi-lock-face-symbol-at-point): New command.
7898 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7899 (hi-lock-menu): Add `highlight-symbol-at-point'.
7900 (hi-lock-mode): Doc fix.
7901
7902 * isearch.el (isearch-forward-symbol-at-point): New command.
7903 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7904 (isearch-highlight-regexp): Add a regexp which matches
7905 words/symbols for word/symbol mode.
7906
7907 * subr.el (find-tag-default-bounds): New function with the body
7908 mostly moved from `find-tag-default'.
7909 (find-tag-default): Move most code to `find-tag-default-bounds',
7910 call it and apply `buffer-substring-no-properties' afterwards.
7911
26b3353a
TH
79122013-06-03 Tassilo Horn <tsdh@gnu.org>
7913
781b4af6
SM
7914 * eshell/em-term.el (eshell-term-initialize):
7915 Use `cl-intersection' rather than `intersection'.
26b3353a 7916
51b60f53
XF
79172013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7918
fe054b63 7919 * vc/log-view.el: Doc fix.
d3ffe17c 7920 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7921
a0eb10b3 79222013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7923
7924 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7925 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7926 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7927 (eieio-unbound, eieio-default-superclass)
7928 (eieio--define-field-accessors, method-static, method-before)
7929 (method-primary, method-after, method-num-lists)
7930 (method-generic-before, method-generic-primary)
7931 (method-generic-after, method-num-slots)
7932 (eieio-specialized-key-to-generic-key)
7933 (eieio--check-type, class-v, class-p)
7934 (eieio-class-name, define-obsolete-function-alias)
7935 (eieio-class-parents-fast, eieio-class-children-fast)
7936 (same-class-fast-p, class-constructor, generic-p)
7937 (generic-primary-only-p, generic-primary-only-one-p)
7938 (class-option-assoc, class-option, eieio-object-p)
7939 (class-abstract-p, class-method-invocation-order)
7940 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7941 (eieio-class-un-autoload, eieio-defclass)
7942 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7943 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7944 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7945 (eieio-defgeneric-reset-generic-form)
7946 (eieio-defgeneric-form-primary-only)
7947 (eieio-defgeneric-reset-generic-form-primary-only)
7948 (eieio-defgeneric-form-primary-only-one)
7949 (eieio-defgeneric-reset-generic-form-primary-only-one)
7950 (eieio-unbind-method-implementations)
7951 (eieio--defmethod, eieio--typep)
7952 (eieio-perform-slot-validation, eieio-validate-slot-value)
7953 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7954 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7955 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7956 (eieio-slot-name-index, eieio-class-slot-name-index)
7957 (eieio-set-defaults, eieio-initarg-to-attribute)
7958 (eieio-attribute-to-initarg, eieio-c3-candidate)
7959 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7960 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7961 (eieio-class-precedence-list, eieio-generic-call-methodname)
7962 (eieio-generic-call-arglst, eieio-generic-call-key)
7963 (eieio-generic-call-next-method-list)
7964 (eieio-pre-method-execution-functions, eieio-generic-call)
7965 (eieio-generic-call-primary-only, eieiomt-method-list)
7966 (eieiomt-optimizing-obarray, eieiomt-install)
7967 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7968 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7969 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7970 (defclass): Remove `eval-and-compile' from macro.
7971 (call-next-method, shared-initialize): Instead of using
7972 `scoped-class' variable, use new eieio--scoped-class, and
7973 eieio--with-scoped-class.
7974 (initialize-instance): Rename local variable 'scoped-class' to
7975 'this-class' to remove ambiguitity from old global.
7976
7977 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7978 eieio.el.
4f405069
JB
7979 (eieio--scoped-class-stack): New variable.
7980 (eieio--scoped-class): New fcn.
890f7890
DE
7981 (eieio--with-scoped-class): New scoping macro.
7982 (eieio-defclass): Use pushnew instead of add-to-list.
7983 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7984 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7985 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7986 `scoped-class' variable, use new eieio--scoped-class, and
7987 eieio--with-scoped-class.
7988
7989 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7990
d105b0e2
TH
79912013-06-02 Tassilo Horn <tsdh@gnu.org>
7992
7993 * eshell/esh-ext.el (eshell-external-command): Pass args to
7994 `eshell-find-interpreter'.
7995 (eshell-find-interpreter): Add new second parameter ARGS.
7996
7997 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7998 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7999
8000 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8001 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8002
8003 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8004 (eshell-visual-options): New defcustom.
8005 (eshell-escape-control-x): Adapt docstring.
8006 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8007 `eshell-visual-options' in addition to `eshell-visual-commands'.
8008 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8009
f46305c8 80102013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8011
8012 * progmodes/python.el (python-indent-block-enders): Add break,
8013 continue and raise keywords.
8014
d870df21
GM
80152013-06-01 Glenn Morris <rgm@gnu.org>
8016
9133b82e
GM
8017 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8018
02c992ec 8019 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8020 * progmodes/cc-cmds.el (delete-forward-p):
8021 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8022 * progmodes/cc-engine.el (buffer-syntactic-context):
8023 * progmodes/cc-fonts.el (face-property-instance):
8024 * progmodes/cc-mode.el (set-keymap-parents):
8025 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8026 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8027 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8028 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8029 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8030
31e7b090
GM
8031 * progmodes/cc-vars.el (other): Emacs has this widget since
8032 at least 21.1, so don't (re)define it.
8033
d870df21
GM
8034 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8035 Replace the obsolete alias pcomplete-arg-quote-list.
8036
c75c93c7
LL
80372013-06-01 Leo Liu <sdl.web@gmail.com>
8038
8039 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8040 punctuation syntax.
8041 (inferior-octave-minimal-columns)
8042 (inferior-octave-last-column-width): New variables.
8043 (inferior-octave-track-window-width-change): New function.
8044 (inferior-octave-mode): Adjust column width so that Octave output,
8045 for example from 'ls', can fit into the window nicely.
8046
973d1e12
DG
80472013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8048
8049 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8050 Highlight expansions inside regexp literals.
8051
0888c286
GM
80522013-05-31 Glenn Morris <rgm@gnu.org>
8053
e26aac1f
GM
8054 * obsolete/sym-comp.el (symbol-complete):
8055 Replace obsolete completion-annotate-function.
8056
0888c286
GM
8057 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8058
19bb8e62
DG
80592013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8060
781b4af6
SM
8061 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8062 New function, checks if point is inside a literal that allows
19bb8e62
DG
8063 expression expansion.
8064 (ruby-syntax-propertize-expansion): Use it.
8065 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8066 around the body.
8067
01dea85f
JL
80682013-05-30 Juri Linkov <juri@jurta.org>
8069
8070 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8071 to "\M-si".
8072 (isearch-invisible): New variable.
8073 (isearch-forward): Doc fix.
8074 (isearch-mode): Set `isearch-invisible'
8075 to the value of `search-invisible'.
8076 (isearch-toggle-case-fold): Doc fix.
8077 (isearch-toggle-invisible): New command.
8078 (isearch-query-replace): Let-bind `search-invisible'
8079 to the value of `isearch-invisible'.
8080 (isearch-search): Use `isearch-invisible' instead of
8081 `search-invisible'. Let-bind `search-invisible'
8082 to the value of `isearch-invisible'. (Bug#11378)
8083
ab1bdce5
JL
80842013-05-30 Juri Linkov <juri@jurta.org>
8085
8086 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8087 call when `query-flag' is nil and `search-invisible' is non-nil.
8088 (Bug#11746)
8089
d6d236e2
GM
80902013-05-30 Glenn Morris <rgm@gnu.org>
8091
8accd027
GM
8092 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8093
2a8bed1c
GM
8094 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8095 (cc-require): Suppress spurious "noruntime" warnings.
8096 (cc-require-when-compile): Use fboundp, for sake of compiler.
8097
d6d236e2
GM
8098 * progmodes/cc-mode.el: Move load of cc-vars before that of
8099 cc-langs (which in turn loads cc-vars), to quieten compiler.
8100
9190b35b
SM
81012013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8102
8103 * paren.el: Simplify the code.
8104 (show-paren-mode): Always start the timer.
8105 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8106 (show-paren--overlay, show-paren--overlay-1): Rename from
8107 show-paren-overlay and show-paren-overlay-1, and initialize to an
8108 overlay rather than to nil.
8109 (show-paren-function): Misc cleanup and simplifications.
8110
4f8d1cf6
SM
81112013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * paren.el (show-paren-data-function): New hook.
8114 (show-paren--default): New function, extracted from show-paren-function.
8115 (show-paren-function): Use show-paren-data-function.
8116
02d844b5
GM
81172013-05-30 Glenn Morris <rgm@gnu.org>
8118
d209d4a9
GM
8119 * ielm.el (ielm-map, ielm-complete-symbol):
8120 Use completion-at-point rather than obsolete functions.
8121 (inferior-emacs-lisp-mode): Doc fix.
8122 Set completion-at-point-functions, rather than
8123 comint-dynamic-complete-functions.
8124
2082faa6
GM
8125 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8126 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8127 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8128
dd8620de
GM
8129 * image.el (image-animated-p): Tweak definition.
8130
ceca95b1
GM
8131 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8132 (rlogin-process-connection-type): Tweak default. Add set-after.
8133 (rlogin-host): Doc fix.
8134 (rlogin): Tweak prompt.
8135 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8136
ee9f1acc
GM
8137 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8138 * progmodes/tcl.el (inferior-tcl-mode-map):
8139 Use completion-at-point rather than obsolete alias.
8140
45ce222e
GM
8141 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8142
02d844b5
GM
8143 * minibuffer.el (read-file-name-completion-ignore-case):
8144 Move before completion--in-region, for eager macro expansion.
8145
ac44d6c1
JL
81462013-05-29 Juri Linkov <juri@jurta.org>
8147
8148 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8149 for total count of matching lines. Add `global-matches' for total
8150 count of matches. Rename `matches' to `lines' for count of
8151 matching lines. Add `matches' for count of matches.
8152 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8153 to `prev-line' for line number of prev match endpt.
8154 Increment `matches' for every match. Print the number of
8155 matching lines in the header.
8156 (occur-context-lines): Rename `lines' to `curr-line'.
8157 Rename `prev-lines' to `prev-line'. (Bug#14017)
8158
3c9c9d38
JL
81592013-05-29 Juri Linkov <juri@jurta.org>
8160
8161 * replace.el (perform-replace): Add `skip-read-only-count',
8162 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8163 Increment them for corresponding conditions and report the number
8164 of skipped occurrences in the final message. (Bug#11746)
8165 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8166 (replace-string, replace-regexp): Doc fix.
8167
33e249a2
SM
81682013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8e399682
SM
8170 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8171
33e249a2 8172 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8173 prog-mode-map (bug#14504).
33e249a2 8174
f236dd84
LL
81752013-05-29 Leo Liu <sdl.web@gmail.com>
8176
8177 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8178 (octave-help): Small simplification.
8179
8180 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8181 off the highlight first.
8182
3694d13f
GM
81832013-05-29 Glenn Morris <rgm@gnu.org>
8184
03983bdc
GM
8185 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8186 Handle idlwave-last-system-routine-info-cons-cell being nil.
8187
bc74a74a
GM
8188 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8189 (idlwave-write-paths): Simplify via with-temp-buffer.
8190
8b394200
GM
8191 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8192 * emulation/cua-rect.el: Also load cua-base at run time.
8193
3694d13f
GM
8194 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8195 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8196 (cperl-imenu-on-info): Require imenu.
8197
336d7284
AM
81982013-05-28 Alan Mackenzie <acm@muc.de>
8199
8200 Handle "capitalised keywords" correctly.
33e249a2 8201 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8202
cb29c582
AG
82032013-05-28 Aidan Gauland <aidalgol@amuri.net>
8204
781b4af6 8205 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8206
690e44b2
GM
82072013-05-28 Glenn Morris <rgm@gnu.org>
8208
e658d75c
GM
8209 * vc/vc-arch.el (vc-exec-after): Declare.
8210 (vc-switches): Autoload.
8211 * vc/vc-bzr.el: No need to require vc when compiling.
8212 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8213 (vc-resynch-buffer, vc-dir-refresh): Declare.
8214 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8215 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8216 (vc-resynch-buffer): Declare.
8217 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8218 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8219 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8220 (grep-read-regexp, grep-read-files, grep-expand-template)
8221 (vc-dir-refresh): Declare.
8222 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8223 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8224 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8225 * vc/vc-mtn.el (vc-exec-after): Declare.
8226 (vc-switches): Autoload.
8227 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8228 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8229 (vc-file-tree-walk): Declare.
712b9732
GM
8230 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8231 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8232 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8233 * vc/vc-svn.el (vc-exec-after): Declare.
8234 (vc-switches, vc-setup-buffer): Autoload.
8235 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8236 Autoload.
8237 (vc-resynch-buffer): Declare.
8238
98e87fb3
GM
8239 * obsolete/fast-lock.el (byte-compile-warnings):
8240 Don't warn about obsolete features in this obsolete file.
8241
f5379553
GM
8242 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8243 Move definition before use.
8244
7a20ef83
GM
8245 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8246 (dun-unix-verbs): Remove dun-zippy.
8247 (dun-zippy): Remove function.
8248
690e44b2
GM
8249 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8250
3a52ccf7
JL
82512013-05-27 Juri Linkov <juri@jurta.org>
8252
8253 * replace.el (replace-search): New function with code moved out
8254 from `perform-replace'.
8255 (replace-highlight, replace-dehighlight): Move function definitions
8256 up closer to `replace-search'. (Bug#11746)
8257
d289938a
JL
82582013-05-27 Juri Linkov <juri@jurta.org>
8259
8260 * replace.el (perform-replace): Ignore invisible matches.
8261 In addition to checking `query-replace-skip-read-only', also
8262 filter out matches by calling `run-hook-with-args-until-failure'
8263 on `isearch-filter-predicates', and also check `search-invisible'
8264 for t or call `isearch-range-invisible'.
8265 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8266
66fc57e3
JL
82672013-05-27 Juri Linkov <juri@jurta.org>
8268
8269 * isearch.el (isearch-filter-predicates): Rename from
8270 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8271 (isearch-message-prefix): Display text from the property
8272 `isearch-message-prefix' of the currently active filters.
8273 (isearch-search): Don't compare `isearch-filter-predicate' with
8274 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8275 on `isearch-filter-predicates'. Also check `search-invisible' for t
8276 or call `isearch-range-invisible'.
8277 (isearch-filter-visible): Make obsolete.
8278 (isearch-lazy-highlight-search):
8279 Call `run-hook-with-args-until-failure' on
8280 `isearch-filter-predicates' and use `isearch-range-invisible'.
8281
8282 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8283 `isearch-filter-predicates' instead of `funcall'ing
8284 `isearch-filter-predicate'.
8285 (Info-mode): Set `Info-isearch-filter' to
8286 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8287
8288 * dired-aux.el (dired-isearch-filter-predicate-orig):
8289 Remove variable.
8290 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8291 (dired-isearch-filenames-end): Add and remove
8292 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8293 instead of changing the value of `isearch-filter-predicate'.
8294 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8295 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8296 Put property `isearch-message-prefix' to "filename " on
8297 `dired-isearch-filter-filenames'.
8298
8299 * wdired.el (wdired-change-to-wdired-mode):
8300 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8301 locally instead of changing `isearch-filter-predicate'.
8302 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8303
f1a60a0f
DG
83042013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8305
8306 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8307 return the commit hash (Bug#14459). Also set the
8308 `vc-git-detached' property.
8309 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8310 (vc-git-mode-line-string): Use the same help-echo format whether
8311 in detached mode or not, because we know the actual revision now.
8312 When in detached mode, shorten the revision to 7 chars.
8313
7f17cc40
SM
83142013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * emacs-lisp/easy-mmode.el (define-minor-mode):
8317 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8318 mode hook and provide a docstring.
8319
25c8401c
AM
83202013-05-27 Alan Mackenzie <acm@muc.de>
8321
8322 Remove spurious syntax-table text properties inserted by C-y.
8323 * progmodes/cc-mode.el (c-after-change): Also clear hard
8324 syntax-table property with value nil.
8325
dde84790
MA
83262013-05-27 Michael Albinus <michael.albinus@gmx.de>
8327
8328 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8329 when reading the events; the buffer layout shall not be changed.
8330
837fd9af
LL
83312013-05-27 Leo Liu <sdl.web@gmail.com>
8332
8333 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8334 New variable.
8335 (inferior-octave-directory-tracker): Automatically re-sync
8336 default-directory.
8337 (octave-help): Improve handling of 'See also'.
8338
4fd996b3
SM
83392013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8340
416f1802
SM
8341 * doc-view.el: Minor naming convention tweaks.
8342 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8343
4fd996b3
SM
8344 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8345 even if there's no `display' property yet (bug#14435).
8346
a052ef3b
EZ
83472013-05-25 Eli Zaretskii <eliz@gnu.org>
8348
4fd996b3 8349 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8350
8351 * Makefile.in (custom-deps, finder-data, autoloads)
8352 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8353 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8354 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8355
c9023370
SM
83562013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8359 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8360 Don't burp at EOB.
c9023370 8361
24d699fa
LL
83622013-05-25 Leo Liu <sdl.web@gmail.com>
8363
8364 * comint.el (comint-previous-matching-input): Do not flood the
8365 *Messages* buffer with trivial messages.
8366
17e5c0cc
SM
83672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * progmodes/flymake.el (flymake-nop): Don't return a string.
8370 (flymake-set-at): Fix typo.
8371
8372 * simple.el (read--expression): New function, extracted from
8373 eval-expression. Set completion-at-point-functions (bug#14465).
8374 (eval-expression, eval-minibuffer): Use it.
8375
5d028165
XF
83762013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8377
8378 * progmodes/flymake.el (flymake-save-buffer-in-file)
8379 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8380 (flymake-selected-frame, flymake-log, flymake-ins-after)
8381 (flymake-set-at, flymake-get-buildfile-from-cache)
8382 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8383 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8384 Refine the doc string.
8385 (flymake-get-file-name-mode-and-masks): Reformat.
8386 (flymake-get-real-file-name-function): Fix a minor bug.
8387
7a1d7ba7
JL
83882013-05-24 Juri Linkov <juri@jurta.org>
8389
8390 * progmodes/grep.el (grep-mode-font-lock-keywords):
8391 Support =linenumber= format used by git-grep for lines with
8392 function names. (Bug#13549)
8393
650cff3d
SM
83942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8397 0 after a semi-colon; it works better for smie-auto-fill.
8398 (octave--indent-new-comment-line): New function.
8399 (octave-indent-new-comment-line): Use it (indirectly).
8400 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8401 modify comment-line-break-function.
8402
8403 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8404 (smie-setup): Use add-function to set it.
8405
9631677d
SS
84062013-05-24 Sam Steingold <sds@gnu.org>
8407
8408 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8409 argument (before the `interactive' argument).
8410
50105835
SM
84112013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * image-mode.el (image-mode-winprops): Add winprops to
8414 image-mode-winprops-alist before running
8415 image-mode-new-window-functions.
8416 * doc-view.el (doc-view-new-window-function): Don't delay
8417 doc-view-goto-page via timers (bug#14435).
8418
57b9823e
TH
84192013-05-24 Tassilo Horn <tsdh@gnu.org>
8420
8421 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8422 (doc-view-desktop-save-buffer): New function.
8423 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8424 (desktop-buffer-mode-handlers):
8425 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8426 handler.
8427 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8428 `desktop-save-buffer' function.
8429
91aafa16
MA
84302013-05-24 Michael Albinus <michael.albinus@gmx.de>
8431
8432 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8433 (tramp-gvfs-file-name-handler): Raise a user error when
8434 `tramp-gvfs-enabled' is nil.
8435 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8436 Do not raise a user error when loading package. (Bug#14447)
8437
ec076379
MA
8438 * net/xesam.el: Move to obsolete/.
8439
db785726
GM
84402013-05-24 Glenn Morris <rgm@gnu.org>
8441
af5c7606
GM
8442 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8443
e5d1916a
GM
8444 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8445
ded62b08
GM
8446 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8447 (Info-find-node, Man-getpage-in-background): Declare.
8448
9e614a3f
GM
8449 * mail/unrmail.el (unrmail):
8450 Replace obsolete detect-coding-with-priority.
8451
892f8ca3
GM
8452 * net/socks.el (socks-split-string): Use this rather than split-string.
8453 (socks-nslookup-host): Update for above change.
8454 (dynamic-choice, s5-dynamic-choice-match)
8455 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8456 Comment out unused code.
8457
3c291973
GM
8458 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8459 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8460 (gud-tooltip-echo-area): Make obsolete.
8461 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8462
43cc956b
GM
8463 * progmodes/js.el (js--optimize-arglist): Declare.
8464
dab49a3b
GM
8465 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8466
36b9d085
GM
8467 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8468 (ediff-window-C): Declare.
8469
e354ae76
GM
8470 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8471 Tweak requires to silence compiler.
8472
b8e57bf4
GM
8473 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8474 (he-search-string, he-tried-table, he-expand-list)
8475 (he-init-string, he-string-member, he-substitute-string)
8476 (he-reset-string): Declare.
8477
db785726
GM
8478 * obsolete/options.el (list-options): Use custom-variable-p,
8479 rather than obsolete alias.
8480
b3531901
SS
84812013-05-23 Sam Steingold <sds@gnu.org>
8482
8483 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8484 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8485 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8486
bdda4c66
SM
84872013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * emacs-lisp/smie.el (smie-indent-forward-token)
8490 (smie-indent-backward-token): Handle string tokens (bug#14381).
8491
c43d45f9
TH
84922013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8493
fe1eb856
RS
8494 * ielm.el (ielm-menu): New menu.
8495 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8496
fe1eb856
RS
84972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8498
8499 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8500 Fix deactivate action.
8501
8502 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8503 Add cleveref macros.
074dd971 8504
c43d45f9
TH
8505 * lisp/textmodes/reftex-parse.el
8506 (reftex-locate-bibliography-files): Accept options for
8507 bibliography commands.
8508 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8509 Add addbibresource. Basic Biblatex support.
8510
7764286e
MA
85112013-05-23 Michael Albinus <michael.albinus@gmx.de>
8512
8513 * net/tramp-gvfs.el (top):
8514 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8515 when loading package. (Bug#14447)
8516
d361bc10
GM
85172013-05-23 Glenn Morris <rgm@gnu.org>
8518
8fa23984
GM
8519 * progmodes/js.el: No need to load comint when compiling.
8520 (ring-insert, comint-send-string, comint-send-input)
8521 (comint-last-input-end, ido-chop): Declare.
8522
a5c7df1a
GM
8523 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8524 * vc/ediff-mult.el: Adjust requires.
8525 (ediff-directories-internal, ediff-directory-revisions-internal)
8526 (ediff-patch-file-internal): Declare.
8527 * vc/ediff-ptch.el: Adjust requires.
8528 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8529 (ediff-find-file): Autoload.
8530 * vc/ediff-util.el: No need to load ediff when compiling.
8531 (ediff-regions-internal): Declare.
8532 * vc/ediff-wind.el: Adjust requires.
8533 (ediff-compute-toolbar-width): Define when compiling.
8534 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8535 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8536 (dired-get-filename, dired-get-marked-files)
8537 (ediff-last-dir-patch, ediff-patch-default-directory)
8538 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8539 (ediff-patch-buffer-internal): Declare.
8540
e2aec513
GM
8541 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8542 (ispell-process, ispell-buffer-local-words, lm-summary)
8543 (lm-section-start, lm-section-end): Declare.
8544 (checkdoc-ispell-init): Simplify.
8545
e68bbd7c
GM
8546 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8547 (he-string-member, he-reset-string, he-substitute-string): Declare.
8548
7efe0991
GM
8549 * eshell/em-ls.el: Adjust requires.
8550 (eshell-glob-regexp): Declare.
f87b1284
GM
8551 * eshell/em-tramp.el: Adjust requires.
8552 (eshell-parse-command): Autoload.
8553 * eshell/em-xtra.el: Adjust requires.
8554 (eshell-parse-command): Autoload.
8555 * eshell/esh-ext.el: Adjust requires.
8556 (eshell-parse-command, eshell-close-handles): Autoload.
8557 * eshell/esh-io.el: Adjust requires.
8558 (eshell-output-filter): Autoload.
8559 * eshell/esh-util.el: No need to load tramp when compiling.
8560 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8561 Declare.
8562 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8563 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8564 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8565 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8566 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8567 * eshell/esh-opt.el, eshell/esh-proc.el:
8568 * eshell/esh-var.el: Adjust requires.
8569 * eshell/eshell.el: Do not require esh-util twice.
8570 (eshell-add-input-to-history): Declare.
8571 (eshell-command): Check history module is active before using it.
8572
d361bc10
GM
8573 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8574
85d090a9
LL
85752013-05-22 Leo Liu <sdl.web@gmail.com>
8576
8577 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8578
5d0acd9d
MA
85792013-05-22 Michael Albinus <michael.albinus@gmx.de>
8580
8581 * autorevert.el (auto-revert-notify-add-watch)
8582 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8583 it indicates changes in file modification time.
8584
0cdffd7d
GM
85852013-05-22 Glenn Morris <rgm@gnu.org>
8586
ca5995ec
GM
8587 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8588 Always delete the autoloaded function from the noruntime and
8589 unresolved functions lists.
8590
6450907e
GM
8591 * allout.el: No need to load epa, epg, overlay when compiling.
8592 (epg-context-set-passphrase-callback, epg-list-keys)
8593 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8594 (epg-key-user-id-list): Declare.
8595
9c6906f6
GM
8596 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8597 (viper-set-parsing-style-toggling-macro)
8598 (viper-set-emacs-state-searchstyle-macros):
8599 Use called-interactively-p on Emacs.
8600 (viper-looking-back): Make it an obsolete alias. Update callers.
8601 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8602 Use looking-back rather than viper-looking-back.
8603 (viper-tmp-insert-at-eob, viper-enlarge-region)
8604 (viper-read-string-with-history, viper-register-to-point)
8605 (viper-append-to-register, viper-change-state-to-vi)
8606 (viper-backward-char-carefully, viper-forward-char-carefully)
8607 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8608 (viper-change-state-to-emacs): Declare.
8609 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8610 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8611 * emulation/viper-mous.el: Do not load viper-cmd.
8612 (viper-backward-char-carefully, viper-forward-char-carefully)
8613 (viper-forward-word, viper-adjust-window): Declare.
8614
5f70c169
GM
8615 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8616
b1b7f300
GM
8617 * progmodes/idlw-help.el (idlwave-help-fontify):
8618 Use called-interactively-p.
8619
f6ebbb46
GM
8620 * term/w32console.el (w32-get-console-codepage)
8621 (w32-get-console-output-codepage): Declare.
8622
0cdffd7d
GM
8623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8624 Remove unnecessary declarations.
8625 (dframe-message): Doc fix.
8626
8627 * info.el (dframe-select-attached-frame, dframe-current-frame):
8628 Declare.
8629
8630 * speedbar.el (speedbar-message): Make it an obsolete alias.
8631 Update all callers.
8632 (speedbar-with-attached-buffer)
8633 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8634 (speedbar-with-writable): Use backquote.
8635 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8636 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8637 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8638 rather than speedbar- aliases.
8639 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8640 (speedbar-make-specialized-keymap, speedbar-insert-button)
8641 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8642 (speedbar-do-function-pointer): Declare.
8643 (rmail-speedbar-button, rmail-speedbar-find-file)
8644 (rmail-speedbar-move-message):
8645 Use dframe-with-attached-buffer rather than speedbar- alias.
8646 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8647 (dframe-message, speedbar-make-specialized-keymap)
8648 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8649 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8650 (speedbar-insert-button, dframe-select-attached-frame)
8651 (dframe-maybee-jump-to-attached-frame)
8652 (speedbar-change-initial-expansion-list)
8653 (speedbar-previously-used-expansion-list-name): Declare.
8654 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8655 Use dframe-message, dframe-with-attached-buffer rather than
8656 speedbar- aliases.
8657 (gud-sentinel): Silence compiler.
8658 * progmodes/vhdl-mode.el (speedbar-refresh)
8659 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8660 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8661 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8662 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8663 (speedbar-file-lists, speedbar-make-tag-line)
8664 (speedbar-line-directory, speedbar-goto-this-file)
8665 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8666 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8667 (speedbar-make-button, speedbar-reset-scanners)
8668 (speedbar-files-item-info, speedbar-line-text)
8669 (speedbar-find-file-in-frame, speedbar-set-timer)
8670 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8671 (speedbar-with-writable): Do not (re)define it.
8672 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8673 rather than speedbar- alias.
8674
ee44b62a
LL
86752013-05-21 Leo Liu <sdl.web@gmail.com>
8676
8677 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8678 menu items.
8679 (octave-mode): Tweak fill-nobreak-predicate.
8680 (inferior-octave-startup): Check process to avoid infinite loop.
8681 (inferior-octave): Pop to buffer first to show abornmal process
8682 exit information.
8683
640f050f
GM
86842013-05-21 Glenn Morris <rgm@gnu.org>
8685
79458038
GM
8686 * printing.el (pr-menu-bar): Define when compiling.
8687
9cc3e83f
LL
86882013-05-21 Leo Liu <sdl.web@gmail.com>
8689
8690 * progmodes/octave.el (octave-auto-fill): Remove.
8691 (octave-indent-new-comment-line): Improve.
8692 (octave-mode): Use auto fill mode through
4f405069 8693 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8694 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8695 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8696 (octave-help): Show parent directory.
8697
f440830d
GM
86982013-05-21 Glenn Morris <rgm@gnu.org>
8699
8700 * files.el (dired-unmark):
8701 * progmodes/gud.el (gdb-input): Update declarations.
8702
8703 * calculator.el (electric, ehelp): No need to load when compiling.
8704 (Electric-command-loop, electric-describe-mode): Declare.
8705
8706 * doc-view.el (doc-view-current-converter-processes): Move before use.
8707
8708 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8709 Move MODE-set-explicitly definition before use.
8710
8711 * international/mule-diag.el (mule-diag):
8712 Don't use obsolete window-system-version.
8713
8714 * mail/feedmail.el (smtpmail): No need to load when compiling.
8715 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8716
8717 * mail/mail-utils.el (rfc822): No need to load when compiling.
8718 (rfc822-addresses): Autoload it.
8719 (mail-strip-quoted-names): Trivial simplification.
8720
8721 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8722 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8723
8724 * net/snmp-mode.el (tempo): Don't duplicate requires.
8725
8726 * progmodes/prolog.el (info): No need to load when compiling.
8727 (comint): Require before shell requires it.
8728 (Info-goto-node): Autoload it.
8729 (Info-follow-nearest-node): Declare.
8730 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8731
8732 * textmodes/artist.el (picture-mode-exit): Declare.
8733
8734 * textmodes/reftex-parse.el (reftex-parse-from-file):
8735 Trivial rewrite so the compiler can parse it better.
8736
b4da2cbb
LL
87372013-05-20 Leo Liu <sdl.web@gmail.com>
8738
8739 * progmodes/octave.el (octave-help-mode-map)
8740 (octave-help-mode-finish-hook): New variables.
8741 (octave-help-mode, octave-help-mode-finish): New functions.
8742 (octave-help): Use octave-help-mode.
8743
33c0f65b
GM
87442013-05-20 Glenn Morris <rgm@gnu.org>
8745
8746 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8747
1a0a0a8a
DG
87482013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8749
8750 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8751 start at point, so that expansion starting right after opening
8752 slash in a regexp is recognized.
8753 (ruby-syntax-before-regexp-re): New defvar, extracted from
8754 ruby-syntax-propertize-function. Since the value of this regexp
8755 is looked up at runtime now, we should be able to turn
8756 `ruby-syntax-methods-before-regexp' into a defcustom later.
8757 (ruby-syntax-propertize-function): Split regexp matching into two
8758 parts, for opening and closing slashes. That allows us to skip
8759 over string interpolations and support multiline regexps.
8760 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8761 for them, which calls `ruby-syntax-propertize-expansion'.
8762 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8763 call to `ruby-syntax-propertize-function'.
8764 (ruby-syntax-propertize-expansion): Extracted from
8765 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8766 (ruby-syntax-propertize-percent-literal): Leave point right after
8767 the percent symbol, so that the expression expansion rule can
8768 propertize the contents.
462388b6
DG
8769 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8770 heredoc openers.
8771 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8772
c1a6c0a4
JL
87732013-05-18 Juri Linkov <juri@jurta.org>
8774
8775 * man.el (Man-default-man-entry): Remove `-' from the end
8776 of the default value. (Bug#14400)
8777
8051fccd
GM
87782013-05-18 Glenn Morris <rgm@gnu.org>
8779
8780 * comint.el (comint-password-prompt-regexp):
8781 Allow "password for XXX" where XXX contains colons (eg https://...).
8782
5e80b74f
LL
87832013-05-18 Leo Liu <sdl.web@gmail.com>
8784
8785 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8786 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8787 (octave-source-directories): Don't check process.
8788 (octave-source-directories, octave-find-definition): Doc fix.
8789
521a54c5
GM
87902013-05-18 Glenn Morris <rgm@gnu.org>
8791
86a94b05
GM
8792 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8793 Remove backspace/delete bindings. (Bug#14392)
8794
521a54c5
GM
8795 * cus-dep.el (custom-make-dependencies): Sort the output.
8796 (custom-versions-load-alist): Convert comment to doc.
8797
42caeb89
LL
87982013-05-17 Leo Liu <sdl.web@gmail.com>
8799
8800 * newcomment.el (comment-search-backward): Stricter in finding
8801 comment start. (Bug#14303)
8802
8803 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8804 (octave-comment-start-skip): Properly anchored.
8805
e219dd97
LL
88062013-05-17 Leo Liu <sdl.web@gmail.com>
8807
fe1eb856
RS
8808 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8809 Clean up when turned off. (Bug#14395)
e219dd97
LL
8810 (smie--highlight-matching-block-overlay): No longer buffer-local.
8811 (smie-highlight-matching-block): Adjust.
8812
dc5dcb4b
PE
88132013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8814
8815 Doc string fix for "nanoseconds" (Bug#14406).
8816 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8817 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8818
1db165f0
JB
88192013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8820
8821 * calc/calc-units.el (math-extract-units): Preserve powers
8822 of units.
8823
c7a8fcac
LL
88242013-05-17 Leo Liu <sdl.web@gmail.com>
8825
8826 * subr.el (delete-consecutive-dups): New function.
8827 * ido.el (ido-set-matches-1): Use it.
8828 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8829 * ido.el (ido-remove-consecutive-dups): Remove.
8830
f678b18a
SM
88312013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8834 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8835 regexp-opt's `words'.
8836
ebfe68e8
LL
88372013-05-16 Leo Liu <sdl.web@gmail.com>
8838
8839 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8840 (smie--highlight-matching-block-overlay)
8841 (smie--highlight-matching-block-lastpos)
8842 (smie--highlight-matching-block-timer): New variables.
8843 (smie-highlight-matching-block): New function.
8844 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8845 (smie-setup): Conditionally enable smie-blink-matching-open.
8846
bc8bc17d
WS
88472013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8848
8849 Sync with upstream verilog-mode r840.
8850 * progmodes/verilog-mode.el (verilog-mode-version)
8851 (verilog-mode-release-date): Update.
8852 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8853 (verilog-sig-tieoff): Fix string error on
8854 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8855 (verilog-read-decls): Fix parameters confusing
8856 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8857
df065a0b
EZ
88582013-05-16 Eli Zaretskii <eliz@gnu.org>
8859
8860 * subr.el (reveal-filename): New function.
8861
8862 * loadup.el: Compute Emacs executable versions on MS-Windows,
8863 where executables have the .exe extension. Add a hard link
8864 emacs-XX.YY.ZZ.exe on MS-Windows.
8865
8866 * Makefile.in (XARGS_LIMIT): New variable.
8867 (custom-deps, finder-data, autoloads)
8868 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8869 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8870 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8871 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8872
2d4bf34b
LL
88732013-05-16 Leo Liu <sdl.web@gmail.com>
8874
8875 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8876 (octave-mode-menu, octave-mode-map): Remove its uses.
8877
6b9c2d85
RZ
88782013-05-16 Reto Zimmermann <reto@gnu.org>
8879
8880 Sync with upstream vhdl mode v3.34.2.
8881 * progmodes/vhdl-mode.el: Use `push' throughout.
8882 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8883 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8884 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8885 (vhdl-actual-generic-name): New option to derive actual generic name.
8886 (vhdl-port-paste-signals): Replace formal by actual generics.
8887 (vhdl-beautify): New name for old group vhdl-align. Update users.
8888 (vhdl-beautify-options): New option.
8889 (vhdl-last-input-event): New compat alias. Use throughout.
8890 (vhdl-goto-line): Replace user level function `goto-line'.
8891 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8892 vhdl-fix-statement-buffer.
8893 (vhdl-create-mode-menu): Add some entries.
8894 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8895 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8896 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8897 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8898 to force statements on one line.
8899 (vhdl-remove-trailing-spaces-region):
8900 New, split from vhdl-remove-trailing-spaces.
8901 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8902 Respect vhdl-beautify-options.
8903 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8904 (vhdl-update-sensitivity-list): Not add with index if exists without.
8905 Not include array index with signal. Ignore keywords in comments.
8906 (vhdl-get-visible-signals): Regexp tweaks.
8907 (vhdl-template-component-inst): Handle empty library.
8908 (vhdl-template-type): Add template for 'enum' type.
8909 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8910 Use vhdl-replace-string.
8911 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8912 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8913 (vhdl-speedbar-initialize): Update for above name change.
8914 (vhdl-compose-wire-components): Fix in handling of constants.
8915 (vhdl-error-regexp-emacs-alist): New variable.
8916 (vhdl-error-regexp-add-emacs): New function;
8917 adds support for new compile.el (Emacs 22+)
8918 (vhdl-generate-makefile-1): Change target order for single lib. units.
8919 Allow use of absolute file names.
8920
9df4ec5e
LL
89212013-05-16 Leo Liu <sdl.web@gmail.com>
8922
8923 * simple.el (prog-indent-sexp): Indent enclosing defun.
8924
f5ba00a6
GM
89252013-05-15 Glenn Morris <rgm@gnu.org>
8926
ed8be7ff
GM
8927 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8928 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8929 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8930 (whitespace-highlight): Move to whitespace group.
8931
8932 * comint.el (comint-source):
8933 * pcmpl-linux.el (pcmpl-linux):
8934 * shell.el (shell-faces):
8935 * eshell/esh-opt.el (eshell-opt):
8936 * international/ccl.el (ccl): Remove empty custom groups.
8937
8938 * completion.el (dynamic-completion-mode):
8939 * jit-lock.el (jit-lock-debug-mode):
8940 * minibuffer.el (completion-in-region-mode):
8941 * type-break.el (type-break-mode-line-message-mode)
8942 (type-break-query-mode):
8943 * emulation/tpu-edt.el (tpu-edt-mode):
8944 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8945 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8946 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8947
8948 * term/xterm.el (xterm): Change parent group to terminals.
8949
8950 * master.el (master): Remove empty custom group.
8951 (master-mode): Remove unused :group argument.
8952 * textmodes/refill.el (refill): Remove empty custom group.
8953 (refill-mode): Remove unused :group argument.
8954
8955 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8956
82a7c41b
GM
8957 * cus-dep.el: Provide a feature.
8958 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8959 Don't mistakenly ignore files whose basenames match a basename
8960 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8961 Add a fallback method for getting :group.
f5ba00a6 8962
6d65486d
JL
89632013-05-15 Juri Linkov <juri@jurta.org>
8964
da547b32
JL
8965 * isearch.el (isearch-char-by-name): Rename from
8966 `isearch-insert-char-by-name'. Doc fix.
8967 (isearch-forward): Mention `isearch-char-by-name' in
8968 the docstring. (Bug#13348)
8969
6d65486d
JL
8970 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8971 `exit-minibuffer' instead of
8972 `isearch-nonincremental-exit-minibuffer'.
8973 (isearch-edit-string): Remove mention of
8974 `isearch-nonincremental-exit-minibuffer' from docstring.
8975 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8976 (isearch-forward-exit-minibuffer)
8977 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8978
c9990474
SM
89792013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8980
6e911150
SM
8981 * loadup.el: Just use unversioned DOC.
8982
c9990474
SM
8983 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8984 literals as extending to EOB.
8985 (nxml-last-fontify-end): Remove unused variable.
8986 (nxml-after-change1): Use with-silent-modifications.
8987 (nxml-extend-after-change-region): Simplify.
8988 (nxml-extend-after-change-region1): Remove function.
8989 (nxml-after-change1): Don't adjust for dependent regions.
8990 (nxml-fontify-matcher): Simplify.
8991 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8992 (xmltok-add-dependent): Remove function.
8993 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8994 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8995 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8996 unclosed <[[, <?, comment, and other literals as extending to EOB.
8997 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8998 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8999 Remove functions.
9000 (rng-do-some-validation-1): Don't mark dependent regions.
9001 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9002 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9003 (nxml-clear-dependent-regions): Remove functions.
9004 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9005 (nxml-ensure-scan-up-to-date):
9006 Don't clear&mark dependent regions.
9007
e3772e98
LL
90082013-05-15 Leo Liu <sdl.web@gmail.com>
9009
c9990474
SM
9010 * progmodes/octave.el (octave-goto-function-definition):
9011 Improve and fix callers.
e3772e98 9012
5ac2eb34
SM
90132013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9014
c46c57b0
SM
9015 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9016 the setter (bug#14387).
9017
5ac2eb34
SM
9018 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9019 surrounding group (bug#14402).
9020
180ed218
JL
90212013-05-14 Juri Linkov <juri@jurta.org>
9022
9023 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9024 (Bug#14390)
9025
0ac0fecb
GM
90262013-05-14 Glenn Morris <rgm@gnu.org>
9027
9028 * progmodes/f90.el (f90-imenu-generic-expression):
9029 Fix typo in 2013-05-08 change. (Bug#14402)
9030
2e78e6a7
JPG
90312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9032
5ac2eb34
SM
9033 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9034 Remove signals for which replies are never received.
2e78e6a7 9035
53267cca
JPG
90362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9037
9038 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9039 (gdb-handler-alist, gdb-handler-number): Remove variables.
9040 (gdb-handler-list): New variable.
9041 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9042 (gdb-pending-handler-p, gdb-handle-reply)
9043 (gdb-remove-all-pending-triggers): New functions.
9044 (gdb-discard-unordered-replies): New defcustom.
9045 (gdb-handler): New defstruct.
9046 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9047 instead of gdb-pending-triggers. Update docstring.
9048 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9049 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9050 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9051 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9052 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9053 (gdb-frame-handler): Pending triggers are now automatically managed.
9054 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9055 Remove argument.
9056 (gdb-input): Automatically handles pending triggers. Update docstring.
9057 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9058 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9059 Update comments.
9060 (gdb-done-or-error): Now use gdb-handle-reply.
9061
d04ce803
JPG
90622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9063
9064 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9065 gdb-debug-log.
9066
0114073a
GM
90672013-05-14 Glenn Morris <rgm@gnu.org>
9068
9069 * subr.el (user-emacs-directory-warning): New option.
9070 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9071
4d25fd7e
LL
90722013-05-14 Leo Liu <sdl.web@gmail.com>
9073
9074 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9075 during redisplay.
9076 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9077 (octave-font-lock-texinfo-comment): Fix invalid search bound
9078 error: wrong side of point.
4d25fd7e 9079
27c8b6eb
GM
90802013-05-14 Glenn Morris <rgm@gnu.org>
9081
61aaeb01
GM
9082 * progmodes/flymake.el (flymake-xml-program): New option.
9083 (flymake-xml-init): Use it.
9084
5bf90bc5
GM
9085 * term/xterm.el: Provide a feature.
9086
9087 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9088
f4c7dfd2
GM
90892013-05-13 Glenn Morris <rgm@gnu.org>
9090
9091 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9092 Add compat aliases as a hack workaround. (Bug#14384)
9093
2aeb3a1d
LL
90942013-05-13 Leo Liu <sdl.web@gmail.com>
9095
b0e069c2
LL
9096 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9097 ###, and %!.
f5a9432f
LL
9098 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9099 C-M-q.
b0e069c2
LL
9100 (octave-comment-start-skip): Include %!.
9101 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9102
30ea8374
LL
91032013-05-12 Leo Liu <sdl.web@gmail.com>
9104
9105 * progmodes/octave.el (inferior-octave-startup): Store the value
9106 of __octave_srcdir__ for octave-source-directories.
9107 (inferior-octave-check-process): New function refactored out of
9108 inferior-octave-send-list-and-digest.
9109 (octave-source-directories)
9110 (octave-find-definition-filename-function): New variables.
9111 (octave-source-directories)
9112 (octave-find-definition-default-filename): New functions.
9113 (octave-find-definition): Improve to find functions implemented in C++.
9114
472a3834
GM
91152013-05-12 Glenn Morris <rgm@gnu.org>
9116
9117 * calendar/diary-lib.el (diary-outlook-format-1):
9118 Don't include dayname in the output. (Bug#14349)
9119
3191b52f
GM
91202013-05-11 Glenn Morris <rgm@gnu.org>
9121
0060ac73
GM
9122 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9123
3191b52f
GM
9124 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9125 Treat cc-provide like provide.
9126
e065ba74
KR
91272013-05-11 Kevin Ryde <user42@zip.com.au>
9128
9129 * cus-dep.el (custom-make-dependencies):
9130 Use generated-autoload-load-name for the sake of files such
9131 such cedet/semantic/bovine/c.el, where the base file name
9132 is not in load-path. (Bug#5277)
9133
36f84c37
GM
91342013-05-11 Glenn Morris <rgm@gnu.org>
9135
9136 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9137 Provide features.
9138
c8730c3a
LL
91392013-05-11 Leo Liu <sdl.web@gmail.com>
9140
9141 * progmodes/octave.el (octave-indent-comment): Improve.
9142 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9143 (octave-eldoc-function-signatures, octave-eldoc-function):
9144 New functions.
c8730c3a
LL
9145 (octave-mode, inferior-octave-mode): Add eldoc support.
9146
212e29f2
RS
91472013-05-11 Richard Stallman <rms@gnu.org>
9148
9149 * epa.el (epa-decrypt-file): Take output file name as argument
9150 and read it using `interactive'.
9151
083fe0d7
LL
91522013-05-11 Leo Liu <sdl.web@gmail.com>
9153
9154 * progmodes/octave.el (octave-beginning-of-line)
9155 (octave-end-of-line): Check before using up-list because it jumps
9156 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9157 (octave-indent-comment): New function.
9158 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9159 (octave-begin-keywords, octave-end-keywords)
9160 (octave-reserved-words, octave-smie-bnf-table)
9161 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9162
8582e4c4
GM
91632013-05-11 Glenn Morris <rgm@gnu.org>
9164
f20def1f
GM
9165 * faces.el (internal-face-x-get-resource):
9166 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9167 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9168 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9169 Fix declarations.
f20def1f 9170
445f95e2
GM
9171 * calc/calc-menu.el: Make it loadable in isolation.
9172
9173 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9174 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9175 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9176 (eudc-bbdb-query-internal): Require 'bbdb.
9177
99fb2756
GM
9178 * lpr.el (lpr-headers-switches):
9179 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9180
9181 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9182
0da7ad96
GM
9183 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9184
8582e4c4
GM
9185 * term.el (term-set-escape-char): Make it idempotent.
9186
f71c50d0
LL
91872013-05-10 Leo Liu <sdl.web@gmail.com>
9188
5ac2eb34
SM
9189 * progmodes/octave.el (inferior-octave-completion-table):
9190 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9191 completion due to bug#11906.
9192 (octave-beginning-of-defun): Re-write to be more general.
9193
d5837773
GM
91942013-05-10 Glenn Morris <rgm@gnu.org>
9195
9196 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9197
027c0f75
SM
91982013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * comint.el (comint-redirect-send-command-to-process): Use :around
9201 rather than :override for comint-redirect-filter.
9202 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9203 Call it instead of comint-redirect-original-filter-function (which
9204 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9205
4465bfb4
JD
92062013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9207
9208 * frame.el (display-monitor-attributes-list): Add NS case.
9209 (ns-display-monitor-attributes-list): Declare.
9210
2d809ffa 92112013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9212
9213 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9214
e54eeb9b
GM
92152013-05-09 Glenn Morris <rgm@gnu.org>
9216
56cd351d
GM
9217 * international/fontset.el (vertical-centering-font-regexp):
9218 Set standard-value.
9219
d84b6108
GM
9220 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9221
a931698a
GM
9222 * bookmark.el (bookmark-search-delay):
9223 * cus-start.el (vertical-centering-font-regexp):
9224 * ps-mule.el (ps-mule-font-info-database-default):
9225 * ps-print.el (ps-default-fg, ps-default-bg):
9226 * type-break.el (type-break-good-break-interval):
9227 * whitespace.el (whitespace-indentation-regexp)
9228 (whitespace-space-after-tab-regexp):
9229 * emacs-lisp/testcover.el (testcover-1value-functions)
9230 (testcover-noreturn-functions, testcover-progn-functions)
9231 (testcover-prog1-functions):
9232 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9233 * eshell/em-glob.el (eshell-glob-translate-alist):
9234 * play/tetris.el (tetris-tty-colors):
9235 * progmodes/cpp.el (cpp-face-default-list):
9236 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9237 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9238 (idlwave-help-browser-generic-args):
9239 * progmodes/make-mode.el (makefile-special-targets-list):
9240 * progmodes/python.el (python-shell-virtualenv-path):
9241 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9242 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9243 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9244 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9245 * textmodes/reftex-vars.el (reftex-format-label-function):
9246 * textmodes/remember.el (remember-diary-file): Fix custom types.
9247
e54eeb9b
GM
9248 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9249 Add :version.
9250
455851dd
LL
92512013-05-09 Leo Liu <sdl.web@gmail.com>
9252
9253 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9254 Restore file completion. (Bug#14300)
455851dd
LL
9255 (inferior-octave-startup): Fix incorrect highlighting for the
9256 first prompt.
9257
a9e4425b
SM
92582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * progmodes/ruby-mode.el: First cut at SMIE support.
9261 (ruby-use-smie): New var.
9262 (ruby-smie-grammar): New constant.
9263 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9264 (ruby-smie--forward-token, ruby-smie--backward-token)
9265 (ruby-smie-rules): New functions.
9266 (ruby-mode-variables): Setup SMIE if applicable.
9267
060ca408
EZ
92682013-05-08 Eli Zaretskii <eliz@gnu.org>
9269
9270 * simple.el (line-move-visual): Signal beginning/end of buffer
9271 only if vertical-motion moved less than it was requested. Avoids
9272 silly incorrect error messages when there are display strings with
9273 multiple newlines at EOL.
9274
1d5963cc
SM
92752013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9278 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9279 (prolog-char-quote-workaround):
9280 * progmodes/cperl-mode.el (cperl-under-as-char):
9281 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9282 Mark as obsolete.
9283 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9284 their declaration.
9285 (vhdl-mode-syntax-table-init): Remove.
9286
c9990474
SM
9287 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9288 last change.
1d5963cc
SM
9289
9290 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9291 syntax for "_".
9292 (ld-script-font-lock-keywords):
9293 Change regexps to use things like \_< and \_>.
9294
9295 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9296 Change all regexps to use things like \_< and \_>.
9297
9298 * progmodes/autoconf.el (autoconf-definition-regexp)
9299 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9300 Handle a _ with symbol syntax.
9301 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9302
c9990474
SM
9303 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9304 Consolidate declaration.
1d5963cc
SM
9305 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9306 the declaration.
9307 (ada-create-syntax-table): Remove.
9308 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9309 already has the right syntax nowadays.
9310 (ada-goto-next-word): Don't change the syntax of "_".
9311
9312 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9313 with-wrapper-hook.
9314
72d3cfca
SS
93152013-05-08 Sam Steingold <sds@gnu.org>
9316
9317 * thingatpt.el (thing-at-point): Accept optional second argument
9318 NO-PROPERTIES to strip the text properties from the return value.
9319 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9320 to `thing-at-point' instead of stripping the properties ourselves.
9321 Also, when `thing-at-point' fails to find a url, prepend "http://"
9322 to the filename at point on the assumption that the user is
9323 pointing at something like gnu.org/gnu.
9324
5cb15713
JB
93252013-05-08 Juanma Barranquero <lekktu@gmail.com>
9326
9327 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9328 * faces.el (crm-separator):
9329 Silence byte-compiler.
9330
9331 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9332 (tool-bar-map): Remove unneeded defvars.
9333
ea78b95b
LL
93342013-05-08 Leo Liu <sdl.web@gmail.com>
9335
9336 Re-work a fix for bug#10994 based on Le Wang's patch.
9337 * ido.el (ido-remove-consecutive-dups): New helper.
9338 (ido-completing-read): Use it.
9339 (ido-chop): Revert fix for bug#10994.
9340
dc7466df
AS
93412013-05-08 Adam Spiers <emacs@adamspiers.org>
9342
9343 * cus-edit.el (custom-save-variables):
9344 Pretty-print long values. (Bug#14187)
9345
9ecf672a
GM
93462013-05-08 Glenn Morris <rgm@gnu.org>
9347
9348 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9349 (m4-mode-syntax-table): Init in the defvar.
9350 (m4-mode-abbrev-table): Let define-derived-mode define it.
9351
3f555be8
TT
93522013-05-08 Tom Tromey <tromey@redhat.com>
9353
9354 * progmodes/m4-mode.el (m4-mode-syntax-table):
9355 Do not treat "_" as word constituent. (Bug#14167)
9356
7cc8ae06
GM
93572013-05-07 Glenn Morris <rgm@gnu.org>
9358
4f58bc06
GM
9359 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9360 Remove explicit eshell-isearch-cancel-map.
9361
7cc8ae06
GM
9362 * progmodes/f90.el (f90-smart-end-names): New option.
9363 (f90-smart-end): Doc fix.
9364 (f90-end-block-optional-name): New constant.
9365 (f90-block-match): Respect f90-smart-end-names.
9366
ceb57e59
SM
93672013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9370 about implicit semi-colons (bug#14218).
9371
4e3f9230
YM
93722013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9373
9374 * frame.el (display-monitor-attributes-list)
9375 (frame-monitor-attributes): New functions.
9376
203a5572
LL
93772013-05-06 Leo Liu <sdl.web@gmail.com>
9378
9379 * progmodes/octave.el (octave-syntax-propertize-function): Change
9380 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9381 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9382 (octave-completion-at-point): Rename from
203a5572
LL
9383 octave-completion-at-point-function.
9384 (inferior-octave-directory-tracker): Robustify.
9385 (octave-text-functions): Remove and fix its uses. No such things
9386 any more.
9387
ee6cff99
SM
93882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * emacs-lisp/trace.el (trace--display-buffer): New function.
9391 (trace-make-advice): Use it.
9392
32985194
JL
93932013-05-06 Juri Linkov <juri@jurta.org>
9394
9395 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9396 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9397 Doc fix.
9398 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9399 in the help string. (Bug#12985)
9400
a1c700de
KD
94012013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9402
9403 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9404
c67c0839
SM
94052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9406
323885fd
SM
9407 * progmodes/perl-mode.el: Add support for here documents.
9408 (perl-syntax-propertize-function): Match here-doc markers.
9409 (perl-syntax-propertize-special-constructs): Find their end.
9410 (perl-imenu-generic-expression): Use [:alnum:].
9411
c67c0839
SM
9412 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9413 (advice--add-function): Refresh the advice if already present
9414 (bug#14317).
9415
d491e7a8
IA
94162013-05-06 Ivan Andrus <darthandrus@gmail.com>
9417
9418 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9419
ddf9925e
GM
94202013-05-06 Glenn Morris <rgm@gnu.org>
9421
7cc3af27
GM
9422 * w32-fns.el (w32-charset-info-alist): Declare.
9423
16e343d6
GM
9424 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9425 of its defcustom properties.
9426 (eshell-cmpl-initialize): No need to load pcomplete.
9427
7d889a47
GM
9428 * generic-x.el: No need to require comint when compiling.
9429
ddf9925e
GM
9430 * net/eudc-export.el: Make it loadable without bbdb.
9431 (top-level): Use require rather than load-library.
9432 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9433 (eudc-batch-export-records-to-bbdb)
9434 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9435 Require bbdb.
9436
1e2c18df
SM
94372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9440 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9441 some tweaks, instead.
9442
02502a5f
LL
94432013-05-05 Leo Liu <sdl.web@gmail.com>
9444
9445 * progmodes/octave.el (octave-font-lock-keywords)
9446 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9447 (inferior-octave-send-list-and-digest): Improve error message.
9448 (octave-mode, inferior-octave-mode): Use setq-local.
9449 (octave-help): Set info-lookup-mode.
9450
0dc04f42
RS
94512013-05-05 Richard Stallman <rms@gnu.org>
9452
6c54491c
RS
9453 * vc/compare-w.el (compare-windows-whitespace):
9454 Treat no-break space as whitespace.
9455
0dc04f42
RS
9456 * mail/rmailsum.el (rmail-summary-rmail-update):
9457 Detect empty summary and don't change selected message.
9458 (rmail-summary-goto-msg): Likewise.
9459
df8f35df
RS
9460 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9461 Doc fixes, rename args.
9462
5356e1a3
AM
94632013-05-05 Alan Mackenzie <acm@muc.de>
9464
9465 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9466
d44014cb
JL
94672013-05-05 Juri Linkov <juri@jurta.org>
9468
9469 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9470 to not add the length of the summary segment to the return value.
9471 (Bug#14125)
9472
c129b51f
LL
94732013-05-05 Leo Liu <sdl.web@gmail.com>
9474
9475 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9476 (inferior-octave-output-filter): Remove.
9477 (octave-send-region, inferior-octave-startup): Fix callers.
9478 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9479 (octave-binary-file-extensions): New user variable.
9480 (octave-find-definition): Confirm if opening binary files.
9481 (octave-help-file): Use octave-find-definition to get the binary
9482 confirmation.
9483 (octave-help): Adjust for octave-help-file change.
9484
aa7dab97
SM
94852013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9488 Merge the two entries that handle function definitions.
9489 (pascal--syntax-propertize): New const.
9490 (pascal-mode): Use it. Use setq-local.
9491
fd3a9a6b
GM
94922013-05-04 Glenn Morris <rgm@gnu.org>
9493
9494 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9495 (diary-from-outlook): Respect diary-from-outlook-function.
9496
30c7e542
SM
94972013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9500 Move the declaration from C.
9501 (read-minibuffer, eval-minibuffer): Move from C.
9502 (completion-setup-function): Avoid minibuffer-completion-contents.
9503
b54f978b
LL
95042013-05-03 Leo Liu <sdl.web@gmail.com>
9505
9506 * progmodes/octave.el (octave-font-lock-keywords): Do not
9507 dehighlight 'end' in comments or strings.
30c7e542
SM
9508 (octave-completing-read, octave-goto-function-definition):
9509 New helpers.
d4d0f9b3
LL
9510 (octave-help-buffer): New user variable.
9511 (octave-help-file, octave-help-function): New button types.
9512 (octave-help): New command and bind it to C-h ;.
9513 (octave-find-definition): New command and bind it to M-.
d74a1581 9514 (user-error): Alias to error if not defined.
b54f978b 9515
27135018
LL
95162013-05-02 Leo Liu <sdl.web@gmail.com>
9517
9518 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9519 for \. (bug#14332)
9520 (octave-font-lock-keywords): Include [ and {.
9521
0d634d3a
LL
95222013-05-02 Leo Liu <sdl.web@gmail.com>
9523
9524 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9525 (inferior-octave): Remove calling comint-mode and return the buffer.
9526 (inferior-octave-startup): Cosmetic changes.
9527
b4c8295e
LL
95282013-05-02 Leo Liu <sdl.web@gmail.com>
9529
30c7e542
SM
9530 * progmodes/octave.el (octave-syntax-propertize-function):
9531 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9532
f12ad6ec
GM
95332013-05-02 Glenn Morris <rgm@gnu.org>
9534
9535 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9536 * desktop.el (vc-dir-mode): Just autoload it here.
9537
30cac1e0
AM
95382013-05-02 Alan Mackenzie <acm@muc.de>
9539
9540 Eliminate variable c-standard-font-lock-fontify-region-function.
9541 * progmodes/cc-mode.el
9542 (c-standard-font-lock-fontify-region-function): Remove.
9543 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9544
d8ef28b1
LL
95452013-05-01 Leo Liu <sdl.web@gmail.com>
9546
2640d52e 9547 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9548 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9549 variables were removed from Octave in 2007.
d8ef28b1
LL
9550 (inferior-octave-startup): Fix uses.
9551 (comint-line-beginning-position): Remove compatibility code for
9552 emacs 21.
9553
ac63ec89
JL
95542013-05-01 Juri Linkov <juri@jurta.org>
9555
9556 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9557
9e9be37c
JL
95582013-05-01 Juri Linkov <juri@jurta.org>
9559
9560 * comint.el (comint-previous-matching-input): Don't print message
9561 "History item: %d" when `isearch-mode' is active.
9562 (comint-history-isearch-message): Print message "History item: %d"
9563 when `comint-input-ring-index' is not empty and this function is
9564 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9565
9b92c13b
LL
95662013-05-01 Leo Liu <sdl.web@gmail.com>
9567
9568 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9569 definitions. Use completion-at-point to insert keywords.
9570 (octave-abbrev-start): Remove.
9571 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9572
b12d33d7
LL
95732013-04-30 Leo Liu <sdl.web@gmail.com>
9574
9575 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9576 change.
9577
3d1c39fa
AM
95782013-04-30 Alan Mackenzie <acm@muc.de>
9579
9580 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9581 * progmodes/cc-engine.el (c-back-over-member-initializers):
9582 new function.
3d1c39fa
AM
9583 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9584 (most) member init lists.
9585
5147fc17
RS
95862013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9587
9588 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9589 variable.
9590
5b78d7fc
LL
95912013-04-30 Leo Liu <sdl.web@gmail.com>
9592
9593 * progmodes/octave.el (octave-variables): Remove. No builtin
9594 variables any more. All converted to functions.
9595 (octave-font-lock-keywords, octave-completion-at-point-function):
9596 Fix uses.
9597 (octave-font-lock-texinfo-comment): New user variable.
9598 (octave-texinfo-font-lock-keywords): New variable for texinfo
9599 comment block.
9600 (octave-function-comment-block): New face.
9601 (octave-font-lock-texinfo-comment): New function.
9602 (octave-mode): Font lock texinfo comment block.
9603
38d8527b
LL
96042013-04-29 Leo Liu <sdl.web@gmail.com>
9605
9606 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9607 indexing expression.
9608 (octave-continuation-string): Do not use \.
9609 (inferior-octave-complete-impossible): Remove.
9610 (inferior-octave-completion-table)
9611 (inferior-octave-completion-at-point): Remove its uses.
9612 (inferior-octave-startup): completion_matches was introduced to
9613 Octave in 1996 so safe to assume it.
9614 (octave-function-file-comment): Improve to follow how Octave does it.
9615 (octave-update-function-file-comment): Tweak.
9616
2ec12cb0
LL
96172013-04-29 Leo Liu <sdl.web@gmail.com>
9618
9619 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9620 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9621 (octave-function-file-comment): Fix typo.
9622 (octave-sync-function-file-names): Use read-char-choice.
9623
6eaed048
JB
96242013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9625
9626 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9627 to t for the less important warnings.
9628
3ffa2d4f
DH
96292013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9630
9631 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9632
685c9501
GM
96332013-04-27 Glenn Morris <rgm@gnu.org>
9634
9635 * vc/log-view.el (log-view-current-entry):
9636 Treat "---" separator lines as part of the following rev. (Bug#14169)
9637
0208ede7
JL
96382013-04-27 Juri Linkov <juri@jurta.org>
9639
9640 * subr.el (read-number): Doc fix about using it by interactive
9641 code letter `n'. (Bug#14254)
9642
5db9dace
JL
96432013-04-27 Juri Linkov <juri@jurta.org>
9644
9645 * desktop.el (desktop-auto-save-timeout): New option.
9646 (desktop-file-checksum): New variable.
9647 (desktop-save): Add optional arg `auto-save' and don't auto-save
9648 if nothing changed.
9649 (desktop-auto-save-timer): New variable.
9650 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9651 (after-init-hook): Call `desktop-auto-save-set-timer'.
9652 Suggested by Reuben Thomas <rrt@sc3d.org> in
9653 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9654
b7260dd4
LL
96552013-04-27 Leo Liu <sdl.web@gmail.com>
9656
9657 * progmodes/octave.el (octave-function-file-p)
9658 (octave-skip-comment-forward, octave-function-file-comment)
9659 (octave-update-function-file-comment): New functions.
9660 (octave-mode-map): Bind C-c ; to
9661 octave-update-function-file-comment.
9662 (octave-mode-menu): Add octave-update-function-file-comment.
9663 (octave-mode, inferior-octave-mode): Fix doc-string.
9664 (octave-insert-defun): Conform to Octave's coding convention.
9665 (Bug#14285)
9666
9667 * files.el (basic-save-buffer): Don't let errors in
9668 before-save-hook prevent saving buffer.
9669
c46da669
RW
96702013-04-20 Roland Winkler <winkler@gnu.org>
9671
9672 * faces.el (read-face-name): Use completing-read if arg multiple
9673 is nil.
9674
a81ee1eb
IL
96752013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9676
9677 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9678 displayed, move point to after the totals line.
9679 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9680 for the details.
9681
4fac34ce
SM
96822013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9685 Add current dir to the load-path.
9686 (package-generate-autoloads): Don't rely on
9687 autoload-ensure-default-file.
9688
f6bfc063
RT
96892013-04-26 Reuben Thomas <rrt@sc3d.org>
9690
d40ab5cf
BG
9691 * textmodes/remember.el (remember-store-in-files): Document that
9692 the file name format is passed to `format-time-string'.
f6bfc063 9693
e55d3b04
LL
96942013-04-26 Leo Liu <sdl.web@gmail.com>
9695
9696 * progmodes/octave.el (octave-sync-function-file-names): New function.
9697 (octave-mode): Use it in before-save-hook.
9698
e53052d3
SM
96992013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9700
140ef50c
SM
9701 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9702 (bug#14274).
9703
e53052d3
SM
9704 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9705 \n and comment, even if it's not an implicit ; (bug#14218).
9706
af80458d 97072013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9708
9709 * subr.el (read-number): Once more use `read' rather than
9710 `string-to-number', to trap non-numeric input. (Bug#14254)
9711
af80458d 97122013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9713
9714 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9715 Use `syntax-multiline' text property consistently instead of
8a621d53 9716 `font-lock-multiline'. (Bug#14237)
70203c2e 9717
e6ea1f6c
GM
97182013-04-26 Glenn Morris <rgm@gnu.org>
9719
9720 * emacs-lisp/shadow.el (list-load-path-shadows):
9721 No longer necessary to check for duplicate simple.el, since
9722 2012-07-07 change to init_lread to not include installation lisp
9723 directories in load-path when running uninstalled. (Bug#14270)
9724
070ccca4
LL
97252013-04-26 Leo Liu <sdl.web@gmail.com>
9726
9727 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9728 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9729 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9730 octave-in-string-or-comment-p.
9731 (octave-in-comment-p, octave-in-string-p)
9732 (octave-in-string-or-comment-p): Replace defsubst with defun.
9733
9d1c5fb6
PE
97342013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9735
9736 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9737
c034abda
BG
97382013-04-25 Bastien Guerry <bzg@gnu.org>
9739
9740 * textmodes/remember.el (remember-data-directory)
9741 (remember-directory-file-name-format): Fix custom types.
9742
584ea277
LL
97432013-04-25 Leo Liu <sdl.web@gmail.com>
9744
e53052d3
SM
9745 * progmodes/octave.el (octave-completion-at-point-function):
9746 Make use of inferior octave process.
584ea277
LL
9747 (octave-initialize-completions): Remove.
9748 (inferior-octave-completion-table): New function.
9749 (inferior-octave-completion-at-point): Use it.
9750 (octave-completion-alist): Remove.
9751
1693b06a
SM
97522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9755 (opascal-mode-syntax-table): New var.
9756 (opascal-literal-kind, opascal-is-literal-end)
9757 (opascal-literal-token-at): Rewrite.
9758 (opascal--literal-start-re, opascal-font-lock-keywords)
9759 (opascal--syntax-propertize): New constants.
9760 (opascal-font-lock-defaults): Adjust.
9761 (opascal-mode): Use them. Set comment-<foo> variables as well.
9762 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9763 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9764 (delphi-other-face, opascal-other-face): Remove face variables.
9765 (opascal-save-state): Remove macro.
9766 (opascal-fontifying-progress-step): Remove constant.
9767 (opascal--ignore-changes): Remove var.
9768 (opascal-set-token-property, opascal-parse-next-literal)
9769 (opascal-is-stable-literal, opascal-complete-literal)
9770 (opascal-is-literal-start, opascal-face-of)
9771 (opascal-parse-region, opascal-parse-region-until-stable)
9772 (opascal-fontify-region, opascal-after-change)
9773 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9774 (opascal-debug-parse-region, opascal-debug-parse-window)
9775 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9776 (opascal-debug-fontify-buffer): Remove.
9777 (opascal-debug-mode-map): Adjust accordingly.
9778
be64c05d
LL
97792013-04-25 Leo Liu <sdl.web@gmail.com>
9780
9781 Merge octave-mod.el and octave-inf.el into octave.el with some
9782 cleanups.
9783 * progmodes/octave.el: New file renamed from octave-mod.el.
9784 * progmodes/octave-inf.el: Merged into octave.el.
9785 * progmodes/octave-mod.el: Renamed to octave.el.
9786
d79d37bd
TH
97872013-04-25 Tassilo Horn <tsdh@gnu.org>
9788
9789 * textmodes/reftex-vars.el
9790 (reftex-label-ignored-macros-and-environments): New defcustom.
9791
9792 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9793
ced3fc5d
SM
97942013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9797 (smie-indent-keyword): Improve the check to ensure that the next
9798 comment is really on the same line.
9799 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9800
9801 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9802 semi-colons if the line is not otherwise empty (bug#14218).
9803
1c141dad
GM
98042013-04-25 Glenn Morris <rgm@gnu.org>
9805
9806 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9807
5058062a
SM
98082013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * progmodes/opascal.el (opascal-set-token-property): Rename from
9811 opascal-set-text-properties and only set `token' (bug#14134).
9812 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9813 (opascal-literal-text-properties): Remove.
9814 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9815 Adjust callers.
9816
5db9dace 98172013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9818
9819 * textmodes/remember.el (remember-handler-functions): Add an
9820 option for a new handler `remember-store-in-files'.
9821 (remember-data-directory, remember-directory-file-name-format):
9822 New options.
9823 (remember-store-in-files): New function to store remember notes
9824 as separate files within a directory.
9825
4391916c
MH
98262013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9827
9828 * progmodes/compile.el (compilation-next-error-function):
9829 Pass "formats" to compilation-find-file (bug#11777).
9830
bb7cdf58
GM
98312013-04-24 Glenn Morris <rgm@gnu.org>
9832
3b8fe752 9833 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9834 * vc/vc-hg.el (vc-hg-print-log):
9835 * vc/vc-svn.el (vc-svn-print-log):
9836 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9837
bb7cdf58
GM
9838 * vc/vc-bzr.el (vc-bzr-print-log):
9839 * vc/vc-cvs.el (vc-cvs-print-log):
9840 * vc/vc-git.el (vc-git-print-log):
9841 * vc/vc-hg.el (vc-hg-print-log):
9842 * vc/vc-mtn.el (vc-mtn-print-log):
9843 * vc/vc-rcs.el (vc-rcs-print-log):
9844 * vc/vc-sccs.el (vc-sccs-print-log):
9845 * vc/vc-svn.el (vc-svn-print-log):
9846 * vc/vc.el (vc-print-log-internal): Doc fixes.
9847
b46a056e
GM
98482013-04-23 Glenn Morris <rgm@gnu.org>
9849
9850 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9851 Remove venerable code attempting to avoid substitute-command-keys.
9852
0aecf718
TH
98532013-04-23 Tassilo Horn <tsdh@gnu.org>
9854
4391916c
MH
9855 * textmodes/reftex-vars.el (reftex-label-regexps):
9856 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9857
117f94cf
SM
98582013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9859
4391916c 9860 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9861 Use lexical-binding.
9862 (jit-lock-force-redisplay): Use markers, check buffer's continued
9863 existence and beware narrowed buffers.
9864 (jit-lock-fontify-now): Adjust call accordingly.
9865
1d829c64
SM
98662013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9869 to avoid misleading the user.
9870
72d548a9
LL
98712013-04-22 Leo Liu <sdl.web@gmail.com>
9872
9873 * info-look.el: Prefer latex2e.info. (Bug#14240)
9874
d0853629
MA
98752013-04-22 Michael Albinus <michael.albinus@gmx.de>
9876
9877 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9878
9879 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9880 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9881 (tramp-set-completion-function, tramp-parse-putty):
9882 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9883 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9884 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9885 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9886 (tramp-call-local-coding-command): Use `tramp-call-process'
9887 instead of `tramp-compat-call-process'.
9888
9889 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9890 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9891 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9892 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9893 (tramp-maybe-send-script): Check for Perl binary.
9894 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9895
38cc0210
DU
98962013-04-22 Daiki Ueno <ueno@gnu.org>
9897
9898 * epg.el (epg-context-pinentry-mode): New function.
9899 (epg-context-set-pinentry-mode): New function.
9900 (epg--start): Pass --pinentry-mode option to gpg command.
9901
cc641ee1
XF
99022013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9903
02d844b5 9904 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9905 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9906 `completion-at-point'. (Bug#13774)
5d4e5c31 9907
cc641ee1
XF
9908 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9909 default key binding for `describe-distribution' has been moved to
9910 `C-h C-o'. (Bug#13970)
9911
1b42ee43
GM
99122013-04-21 Glenn Morris <rgm@gnu.org>
9913
9914 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9915 Add doc strings.
9916 (vc-print-log): Clarify interactive prompt.
9917
a6d63d97
GM
99182013-04-20 Glenn Morris <rgm@gnu.org>
9919
9920 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9921 No longer include timestamp etc information.
9922
d7f5c16f
RW
99232013-04-20 Roland Winkler <winkler@gnu.org>
9924
9925 * faces.el (read-face-name): Bug fix, return just one face if arg
9926 multiple is nil. (Bug#14209)
9927
bcd7a0a4
SM
99282013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9931 (remove-function): Autoload.
9932
9933 * comint.el (comint-redirect-original-filter-function): Remove.
9934 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9935 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9936 (vc-cvs-annotate-command):
bcd7a0a4
SM
9937 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9938 * progmodes/prolog.el (prolog-consult-compile):
9939 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9940 Use add/remove-function instead.
9941 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9942 (gud-tooltip-process-output, gud-tooltip-tips):
9943 Use add/remove-function instead.
9944 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9945 (scheme-interaction-mode, exit-scheme-interaction-mode):
9946 Use add/remove-function instead.
9947
9948 * vc/vc-dispatcher.el: Use lexical-binding.
9949 (vc--process-sentinel): Rename from vc-process-sentinel.
9950 Change last arg to be the code to run. Don't use vc-previous-sentinel
9951 and vc-sentinel-commands any more.
9952 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9953 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9954
e36b2d20 99552013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9956
bcd7a0a4 9957 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9958 Handle function names with a single character. (Bug#14111)
4d3268ba 9959
781b4af6 99602013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9961
9962 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9963 for subroutines defined in an eval (bug#14182).
9964
7d688336
TV
99652013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9966
9967 * bookmark.el (bookmark-completing-read): Improve handling of empty
9968 string (bug#14176).
9969
31dcede0
SM
99702013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9973
adc31213
FEG
99742013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9975
9976 New faster Imenu implementation (bug#14058).
9977 * progmodes/python.el:
9978 (python-imenu-prev-index-position):
9979 (python-imenu-format-item-label-function)
9980 (python-imenu-format-parent-item-label-function)
9981 (python-imenu-format-parent-item-jump-label-function):
9982 New vars.
9983 (python-imenu-format-item-label)
9984 (python-imenu-format-parent-item-label)
9985 (python-imenu-format-parent-item-jump-label)
9986 (python-imenu--put-parent, python-imenu--build-tree)
9987 (python-imenu-create-index, python-imenu-create-flat-index)
9988 (python-util-popn): New functions.
9989 (python-mode): Set imenu-create-index-function to
9990 python-imenu-create-index.
9991
cdca8255
SM
99922013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * winner.el (winner-active-region): Use region-active-p, activate-mark
9995 and deactivate-mark (bug#14225).
9996
9997 * simple.el (deactivate-mark): Don't inline it.
9998
beb42340
MA
99992013-04-18 Michael Albinus <michael.albinus@gmx.de>
10000
10001 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10002
fc7f4d7e
TH
100032013-04-18 Tassilo Horn <tsdh@gnu.org>
10004
10005 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10006 file extensions from the archive-mode entry in order to prefer
10007 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10008
29f47822
LL
100092013-04-18 Leo Liu <sdl.web@gmail.com>
10010
10011 * bindings.el (help-event-list): Add ?\?.
10012
d36ed1c8
SM
100132013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * subr.el (with-wrapper-hook): Declare obsolete.
10016 * simple.el (filter-buffer-substring-function): New hook.
10017 (filter-buffer-substring): Use it.
10018 (filter-buffer-substring-functions): Mark obsolete.
10019 * minibuffer.el (completion-in-region-function): New hook.
10020 (completion-in-region): Use it.
10021 (completion-in-region-functions): Mark obsolete.
10022 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10023 * abbrev.el (abbrev-expand-function): New hook.
10024 (expand-abbrev): Use it.
10025 (abbrev-expand-functions): Mark obsolete.
10026 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10027 and :filter-return.
10028
04754d36
FEG
100292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10030
10031 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10032 and do not care about match data.
10033
dd8791e9
SM
100342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10037 completion tables when completing error conditions and
10038 `declare' arguments.
10039 (lisp-complete-symbol, field-complete): Mark as obsolete.
10040 (check-parens): Unmatched parens are user errors.
10041 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10042
ffe54a13
AM
100432013-04-17 Michal Nazarewicz <mina86@mina86.com>
10044
dd8791e9
SM
10045 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10046 command changed buffer (ie. `flyspell-pre-buffer' is not current
10047 buffer), which prevents making decisions based on invalid value of
10048 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10049 cause an error when `flyspell-pre-point' was nil after switching
10050 buffers.
10051 (flyspell-post-command-hook): No longer needs to change buffers when
10052 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10053
ec7e39f2
AM
100542013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10055
10056 * textmodes/ispell.el (ispell-add-per-file-word-list):
10057 Fix `flyspell-correct-word-before-point' error when accepting
10058 words and `coment-padding' is an integer by using
10059 `comment-normalize-vars' (Bug #14214).
10060
083850a6
FEG
100612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10062
10063 New defun movement commands.
10064 * progmodes/python.el (python-nav--syntactically)
10065 (python-nav--forward-defun, python-nav-backward-defun)
10066 (python-nav-forward-defun): New functions.
10067
619ed6e1
FEG
100682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10069
10070 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10071 (python-syntax-context): Use named compiler-macro for backwards
10072 compatibility with Emacs 24.x.
10073
7a1beb6c
LL
100742013-04-17 Leo Liu <sdl.web@gmail.com>
10075
10076 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10077 octave-hide-process-buffer.
10078
2d3fa3e5
SM
100792013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10082 (bug#14216).
10083
7ce5be54
JPG
100842013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10085
10086 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10087 Fix adjustment of offset when receiving incomplete responses from GDB
10088 (bug#14129).
10089
351edece
SM
100902013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10093 python-mode-abbrev-table.
10094 (python-skeleton-define): Adjust accordingly.
10095 (python-mode-abbrev-table): New table that inherits from it so that
10096 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10097
10098 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10099 (abbrev-symbol): Use it.
10100 (abbrev--before-point): Use it since we already handle inheritance.
10101
613f9481
LL
101022013-04-16 Leo Liu <sdl.web@gmail.com>
10103
10104 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10105 binding to info-lookup-symbol.
10106
51646b62
JB
101072013-04-16 Juanma Barranquero <lekktu@gmail.com>
10108
10109 * minibuffer.el (completion--twq-all):
10110 * term/ns-win.el (ns-initialize-window-system):
10111 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10112
efb3f01d
SM
101132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10114
36c0a301
SM
10115 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10116 global bindings.
10117
efb3f01d
SM
10118 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10119
fb549d64
DG
101202013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10121
10122 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10123 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10124 to nil.
10125 (ruby-end-of-defun): Remove the unused arg, change the docstring
10126 to reflect that this function is only used as the value of
10127 `end-of-defun-function'.
10128 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10129 to reflect an earlier change that beginning/end-of-defun functions
10130 jump between methods in a class definition, as well as top-level
10131 functions.
10132
21e8fe2f
SM
101332013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * minibuffer.el (minibuffer-complete): Don't just scroll
10136 a *Completions* that's been iconified.
10137 (minibuffer-force-complete): Make sure repetitions do cycle when going
10138 through completion-in-region -> minibuffer-complete.
10139
20e527d0
AM
101402013-04-15 Alan Mackenzie <acm@muc.de>
10141
10142 Correct the placement of c-cpp-delimiters when there're #s not at
10143 col 0.
10144
10145 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10146 place a submatch around the #.
21e8fe2f
SM
10147 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10148 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10149 on the #, not BOL.
10150
dabefae5
SM
101512013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10154 (advice--member-p): New arg `name'.
10155 (advice--add-function, advice-member-p): Use it (bug#14202).
10156
85c9ab64
AM
101572013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10158
10159 Reformulate java imenu-generic-expression.
10160 The old expression contained ill formed regexps.
10161
10162 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10163 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10164 (cc-imenu-java-method-arg-regexp): New defconsts.
10165 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10166 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10167 handling of spaces in the regexp.
10168
0f821d99
AM
101692013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10170
10171 * textmodes/ispell.el (ispell-command-loop): Remove
10172 flyspell highlight of a word when ispell accepts it (bug #14178).
10173
eb922adf
MA
101742013-04-15 Michael Albinus <michael.albinus@gmx.de>
10175
10176 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10177 uses code from the previous `ange-ftp-run-real-handler'.
10178 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10179 only in case that function exist. This is needed for proper
10180 unloading of Tramp.
10181
4d9a0979
TH
101822013-04-15 Tassilo Horn <tsdh@gnu.org>
10183
10184 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10185
10186 * textmodes/reftex.el (reftex-compile-variables): Use it.
10187
a829b0dc
SM
101882013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10189
91e8293c
SM
10190 * files.el (normal-mode): Only use default major-mode if no other mode
10191 was specified.
10192
830aed4d
SM
10193 * emacs-lisp/trace.el (trace-values): New function.
10194
a829b0dc
SM
10195 * files.el: Allow : in local variables (bug#14089).
10196 (hack-local-variable-regexp): New var.
10197 (hack-local-variables-prop-line, hack-local-variables): Use it.
10198
7ae9f0fb
RW
101992013-04-13 Roland Winkler <winkler@gnu.org>
10200
10201 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10202 data before it gets modified by bibtex-beginning-of-entry.
10203
6646e848
RW
102042013-04-13 Roland Winkler <winkler@gnu.org>
10205
10206 * textmodes/bibtex.el (bibtex-url): Doc fix.
10207
102082013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10209
10210 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10211 does not visit a BibTeX file, exclude it from the list of buffers
10212 returned by bibtex-initialize.
10213
0aa3616e
SB
102142013-04-13 Stephen Berman <stephen.berman@gmx.net>
10215
10216 * window.el (split-window): Remove interactive form, since as a
10217 command this function is a special case of split-window-below.
10218 Correct doc string.
10219
011cddd6
RW
102202013-04-12 Roland Winkler <winkler@gnu.org>
10221
10222 * faces.el (read-face-name): Do not override value of arg default.
10223 Allow single faces and strings as default values. Remove those
10224 elements from return value that are not faces.
10225 (describe-face): Simplify.
10226 (face-at-point): New optional args thing and multiple so that this
10227 function can provide the same functionality previously provided by
10228 read-face-name.
10229 (make-face-bold, make-face-unbold, make-face-italic)
10230 (make-face-unitalic, make-face-bold-italic, invert-face)
10231 (modify-face, read-face-and-attribute): Use face-at-point.
10232
10233 * cus-edit.el (customize-face, customize-face-other-window)
10234 * cus-theme.el (custom-theme-add-face)
10235 * face-remap.el (buffer-face-set)
10236 * facemenu.el (facemenu-set-face): Use face-at-point.
10237
f24e0036
MA
102382013-04-12 Michael Albinus <michael.albinus@gmx.de>
10239
10240 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10241
da3cda2d
TH
102422013-04-10 Tassilo Horn <tsdh@gnu.org>
10243
10244 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10245 off leading { and trailing } from field values.
10246
15e54145
SM
102472013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10248
78ce603d
SM
10249 * emacs-lisp/timer.el (timer--check): New function.
10250 (timer--time, timer-set-function, timer-event-handler): Use it.
10251 (timer-set-idle-time): Simplify.
10252 (timer--activate): CSE.
10253 (timer-event-handler): Give more info in error message.
10254 (internal-timer-start-idle): New function, moved from C.
10255
15e54145
SM
10256 * mpc.el (mpc-proc): Add `restart' argument.
10257 (mpc-proc-cmd): Use it.
10258 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10259 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10260 less often.
10261
7144c627
MY
102622013-04-10 Masatake YAMATO <yamato@redhat.com>
10263
10264 * progmodes/sh-script.el: Implement `sh-mode' own
10265 `add-log-current-defun-function' (bug#14112).
10266 (sh-current-defun-name): New function.
10267 (sh-mode): Use the function.
10268
b39792eb
BG
102692013-04-09 Bastien Guerry <bzg@gnu.org>
10270
10271 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10272
8acdeb71
SM
102732013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10274
6fcdab68
SM
10275 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10276
8acdeb71
SM
10277 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10278 timer (bug#14156).
10279
e3e7b504
NF
102802013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10281
10282 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10283 declaration.
10284
201bb296
LL
102852013-04-07 Leo Liu <sdl.web@gmail.com>
10286
10287 * pcmpl-x.el: New file.
10288
ebb19708
DA
102892013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10290
10291 Do not set x-display-name until X connection is established.
10292 This is needed to prevent from weird situation described at
10293 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10294 * frame.el (make-frame): Set x-display-name after call to
10295 window system initialization function, not before.
10296 * term/x-win.el (x-initialize-window-system): Add optional
10297 display argument and use it.
10298 * term/w32-win.el (w32-initialize-window-system):
10299 * term/ns-win.el (ns-initialize-window-system):
10300 * term/pc-win.el (msdos-initialize-window-system):
10301 Add compatible optional display argument.
10302
33bb237a
EZ
103032013-04-06 Eli Zaretskii <eliz@gnu.org>
10304
10305 * files.el (normal-backup-enable-predicate): On MS-Windows and
10306 MS-DOS compare truenames of temporary-file-directory and of the
10307 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10308 don't fail comparison by compare-strings. Also, compare file
10309 names case-insensitively on MS-Windows and MS-DOS.
10310
134abf1f
SM
103112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10314 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10315
d695cb94
DG
103162013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10317
e3e7b504
NF
10318 * whitespace.el (whitespace-color-on, whitespace-color-off):
10319 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10320
f4ad7ea1 103212013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10322
10323 * ispell.el (ispell-set-spellchecker-params):
10324 Really set `ispell-args' for all equivs.
10325
632556e4
SM
103262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 * ido.el (ido-completions): Use extra elements of ido-decorations
10329 (bug#14143).
10330 (ido-decorations): Update docstring.
10331
2a417372
MA
103322013-04-05 Michael Albinus <michael.albinus@gmx.de>
10333
10334 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10335 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10336 nil during initialization, in order not to miss changes since the
10337 file was opened. (Bug#14140)
10338
fc164b0c
LL
103392013-04-05 Leo Liu <sdl.web@gmail.com>
10340
10341 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10342
0ccecc08
JB
103432013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10344
10345 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10346
51af1aa2
GM
103472013-04-04 Glenn Morris <rgm@gnu.org>
10348
10349 * electric.el (electric-pair-inhibit-predicate): Add :version.
10350
b208ebc6
SM
103512013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10352
10353 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10354 when a package is required several times (bug#14082).
10355
f3d3eaf0
RW
103562013-04-04 Roland Winkler <winkler@gnu.org>
10357
10358 * faces.el (read-face-name): Behave as promised by the docstring.
10359 Assume that arg default is a list of faces.
10360 (describe-face): Call read-face-name with list of default faces.
10361
2575da50
TV
103622013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10363
10364 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10365 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10366 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10367 the header.
10368 (bookmark-exit-hook-internal): Save even if list is empty.
10369
397703b4
YH
103702013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10371
10372 * emacs-lisp/package.el (package-pinned-packages): New var.
10373 (package--add-to-archive-contents): Obey it (bug#14118).
10374
691e26ae
AM
103752013-04-03 Alan Mackenzie <acm@muc.de>
10376
8a621d53
JB
10377 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10378 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10379
10380 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10381 parameter `not-in-delimiter'. Handle being inside comment opener.
10382 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10383 character in case we're typing a '*' after a '/'.
10384 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10385 instead by passing the parameter to c-state-pp-to-literal.
10386
10387 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10388 for elt. 7 of a parse state.
10389
4b725a70
PE
103902013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10391
10392 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10393 * international/latin1-disp.el, international/mule-util.el:
10394 * language/cyril-util.el, language/european.el, language/ind-util.el:
10395 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10396 * language/tibetan.el, language/viet-util.el:
10397 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10398
15c579f0
SM
103992013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10402 (electric-pair-post-self-insert-function): Use it.
10403 (electric-pair-default-inhibit): New function, extracted from
10404 electric-pair-post-self-insert-function.
10405
a77e2924
RW
104062013-03-31 Roland Winkler <winkler@gnu.org>
10407
10408 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10409
2bd8a4a8
SM
104102013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10413
8d3655be 104142013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10415
10416 Un-indent after "pass" and "return" statements (Bug#13888)
10417 * progmodes/python.el (python-indent-block-enders): New var.
10418 (python-indent-calculate-indentation): Use it.
10419
8d3655be 104202013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10421
10422 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10423 defun. Defining it as defalias could introduce too eager
10424 byte-compiler optimization. (Bug#14030)
10425
8d3655be 104262013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10427
10428 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10429
0b1619da
LL
104302013-03-30 Leo Liu <sdl.web@gmail.com>
10431
10432 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10433 (kmacro-execute-from-register): Pass the keyboard macro to
10434 kmacro-call-macro or repeating won't work correctly.
10435
0b938190
TZ
104362013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10437
10438 * progmodes/subword.el: Back to using `forward-symbol'.
10439
10440 * subr.el (forward-whitespace, forward-symbol)
10441 (forward-same-syntax): Move from thingatpt.el.
10442
35710234
LL
104432013-03-29 Leo Liu <sdl.web@gmail.com>
10444
10445 * kmacro.el (kmacro-to-register): New command.
10446 (kmacro-execute-from-register): New function.
10447 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10448
efc0bb73
SM
104492013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 * mpc.el: Use defvar-local and setq-local.
10452 (mpc--proc-connect): Connection failures are not bugs.
10453 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10454 (mpc-volume-map): Bind to the up-events.
10455
75a2f981
TZ
104562013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10457
10458 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10459 instead of `forward-symbol'.
10460
17c781d1
SM
104612013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10464 (edebug--recursive-edit): Use it.
10465 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10466 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10467
f67bfbcf
LL
104682013-03-28 Leo Liu <sdl.web@gmail.com>
10469
10470 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10471
b59f639d
EZ
104722013-03-27 Eli Zaretskii <eliz@gnu.org>
10473
10474 * facemenu.el (list-colors-callback): New defvar.
10475 (list-colors-redisplay): New function.
10476 (list-colors-display): Install list-colors-redisplay as the
10477 revert-buffer-function. (Bug#14063)
10478
f557c1b1
SM
104792013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10480
b1da2957
SM
10481 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10482 and suffixes don't overlap (bug#14061).
10483
f557c1b1
SM
10484 * case-table.el: Use lexical-binding.
10485 (case-table-get-table): New function.
10486 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10487
002668e1
TZ
104882013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10489
10490 * progmodes/subword.el: Add `superword-mode' to do word motion
10491 over symbol_words (parallels and leverages `subword-mode' which
10492 does word motion inside MixedCaseWords).
10493
73572c72
AG
104942013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10495
78b8f320 10496 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10497 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10498
69b2c07e
SM
104992013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10502 Change return value to be a sexp. Delay `get-buffer' to after
10503 restoring the desktop (bug#13951).
10504
08bb5ee2
LL
105052013-03-26 Leo Liu <sdl.web@gmail.com>
10506
10507 * register.el: Move semantic tag handling back to
10508 cedet/semantic/senator.el. (Bug#14052)
10509
8d4c974e
SM
105102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10513 into the prompt either (bug#13963).
10514
b234d92c
SM
105152013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10518 part of "(error-foo)".
10519
ddfa3cb4
JL
105202013-03-24 Juri Linkov <juri@jurta.org>
10521
10522 * replace.el (list-matching-lines-prefix-face): New defcustom.
10523 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10524 `occur-engine' if `face-differs-from-default-p' returns t.
10525 (occur-engine): Add `,' inside backquote construct to evaluate
10526 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10527 Pass `prefix-face' to the functions `occur-context-lines' and
10528 `occur-engine-add-prefix'.
10529 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10530 `prefix-face' and propertize the prefix with `prefix-face'.
10531 (Bug#14017)
10532
7b0e2f85
LL
105332013-03-24 Leo Liu <sdl.web@gmail.com>
10534
10535 * nxml/rng-valid.el (rng-validate-while-idle)
10536 (rng-validate-quick-while-idle): Guard against deleted buffer.
10537 (Bug#13999)
10538
10539 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10540 is the last entry in kill-buffer-hook.
10541
10542 * files.el (kill-buffer-hook): Doc fix.
10543
b3082f49
DG
105442013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10545
b234d92c
SM
10546 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10547 Make it safe-local.
bde73d27 10548
b3082f49
DG
10549 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10550
a320a2db
LL
105512013-03-23 Leo Liu <sdl.web@gmail.com>
10552
7e74b0fb
LL
10553 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10554 Remove.
10555
10556 * nxml/rng-valid.el (rng-validate-mode)
10557 (rng-after-change-function, rng-do-some-validation):
10558 * nxml/rng-maint.el (rng-validate-buffer):
10559 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10560 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10561 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10562 (nxml-extend-after-change-region): Use with-silent-modifications.
10563
a320a2db
LL
10564 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10565 timer-idle-list.
10566
10567 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10568 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10569 timer-idle-list. (Bug#13999)
10570
e38e6780
JL
105712013-03-23 Juri Linkov <juri@jurta.org>
10572
10573 * info.el (info-index-match): New face.
10574 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10575 main pattern and add text properties with the new face to matches
10576 in index entries relative to the beginning of the index entry.
10577 (Bug#14015)
10578
e8cc7880
DE
105792013-03-21 Eric Ludlam <zappo@gnu.org>
10580
10581 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10582 Inhibit read only while inserting objects.
10583
9bb0d822
TZ
105842013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10585
10586 * progmodes/cfengine.el: Update docs to mention
10587 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10588 symbol motion. Remove "_" from the word syntax.
10589
aa703640
TZ
105902013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10591
10592 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10593 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10594
afff09d0
JL
105952013-03-20 Juri Linkov <juri@jurta.org>
10596
10597 * info.el (Info-next-reference-or-link)
10598 (Info-prev-reference-or-link): New functions.
10599 (Info-next-reference, Info-prev-reference): Use them.
10600 (Info-try-follow-nearest-node): Handle footnote navigation.
10601 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10602
9a1ff164
SM
106032013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10604
10605 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10606 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10607
2667d15d
PE
106082013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10609
10610 Suppress unnecessary non-ASCII chatter during build process.
10611 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10612 (batch-skkdic-convert): Suppress most of the chatter.
10613 It's not needed so much now that machines are faster,
10614 and its non-ASCII component was confusing; see Dmitry Gutov in
10615 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10616
438b0579
LL
106172013-03-20 Leo Liu <sdl.web@gmail.com>
10618
10619 * ido.el (ido-chop): Fix bug#10994.
10620
c128ab07
DG
106212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10622
10623 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10624 Remove vars.
9a1ff164
SM
10625 (whitespace-color-on, whitespace-color-off):
10626 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10627
0e6008c5
SM
106282013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10631 remapping in mode-line.
10632 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10633
627b52b0
DG
106342013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10635
10636 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10637 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10638 (whitespace-font-lock-keywords): Change description.
10639 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10640 the constructed keywords instead.
10641 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10642
50c3a20b
LL
106432013-03-19 Leo Liu <sdl.web@gmail.com>
10644
10645 * progmodes/compile.el (compilation-display-error): New command.
10646 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10647 C-o. (Bug#13992)
10648
2aa2157b
PE
106492013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10650
10651 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10652
e477dbfa
JD
106532013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10654
10655 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10656
64ab82d1
MA
106572013-03-18 Michael Albinus <michael.albinus@gmx.de>
10658
10659 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10660
10661 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10662 * net/tramp-gvfs.el (top):
10663 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10664 (tramp-handle-shell-command): Use it.
10665 (tramp-dissect-file-name): Raise an error when hostname is a
10666 method name, and neither method nor user is specified.
10667
10668 * net/trampver.el: Update release number.
10669
33cef733
LL
106702013-03-18 Leo Liu <sdl.web@gmail.com>
10671
10672 Make sure eldoc can be turned off properly.
10673 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10674 eldoc-mode.
10675 (eldoc-display-message-p): Revert last change.
10676 (eldoc-display-message-no-interference-p)
10677 (eldoc-print-current-symbol-info): Tweak.
10678
2167b7b2
TH
106792013-03-18 Tassilo Horn <tsdh@gnu.org>
10680
10681 * doc-view.el (doc-view-new-window-function): Check the new window
10682 overlay's display property instead the char property of the
10683 buffer's first char. Use `with-selected-window' instead of
10684 `save-window-excursion' with `select-window'.
10685 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10686 display property instead the char property of the buffer's first char.
2167b7b2 10687
982efbcd
PE
106882013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10689
10690 Automate the build of ja-dic.el (Bug#13984).
10691 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10692 from the input, rather than assume that it's been done for us by the
10693 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10694 the current date into a ja-dic.el comment, as that complicates
10695 regression testing.
10696
2fcc7665
SM
106972013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * whitespace.el: Fix double evaluation.
10700 (whitespace-space, whitespace-hspace, whitespace-tab)
10701 (whitespace-newline, whitespace-trailing, whitespace-line)
10702 (whitespace-space-before-tab, whitespace-indentation)
10703 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10704 obsolete defvars.
10705 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10706 (whitespace-color-on): Use a single font-lock-add-keywords call.
10707 Fix double-evaluation of face variables.
10708
67c0a6e6
MA
107092013-03-17 Michael Albinus <michael.albinus@gmx.de>
10710
2fcc7665
SM
10711 * net/tramp-adb.el (tramp-adb-parse-device-names):
10712 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10713 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10714
69489f1d
LL
107152013-03-17 Leo Liu <sdl.web@gmail.com>
10716
10717 Extend eldoc to display info in the mode-line. (Bug#13978)
10718 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10719 (eldoc-mode-line-string): New variable.
10720 (eldoc-minibuffer-message): New function.
10721 (eldoc-message-function): New variable.
10722 (eldoc-message): Use it.
10723 (eldoc-display-message-p)
2fcc7665
SM
10724 (eldoc-display-message-no-interference-p):
10725 Support eldoc-post-insert-mode.
69489f1d
LL
10726
10727 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10728 (eval-expression): Run it.
10729
9c44569e
RW
107302013-03-17 Roland Winkler <winkler@gnu.org>
10731
10732 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10733 strings in the list of return values.
10734
327f1f6f
JB
107352013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10736
10737 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10738 radix before checking for HMS forms.
10739
67ed8fcd
LL
107402013-03-16 Leo Liu <sdl.web@gmail.com>
10741
10742 * progmodes/scheme.el: Add indentation and font-locking for λ.
10743 (Bug#13975)
10744
78be8b64 107452013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10746
10747 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10748 token before point (bug#13942).
10749
78be8b64 107502013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10751
95b43468 10752 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10753
98e775e6
EZ
107542013-03-16 Eli Zaretskii <eliz@gnu.org>
10755
10756 * startup.el (command-line-normalize-file-name): Fix handling of
10757 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10758 <xfq.free@gmail.com> in
10759 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10760
2edd6029
MA
107612013-03-15 Michael Albinus <michael.albinus@gmx.de>
10762
10763 Sync with Tramp 2.2.7.
10764
10765 * net/trampver.el: Update release number.
10766
d35f5864
TH
107672013-03-14 Tassilo Horn <tsdh@gnu.org>
10768
e903c210 10769 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10770 (doc-view-insert-image): Don't modify overlay associated to
10771 non-live windows, and implement horizontal centering of image in
10772 case it's smaller than the window.
10773 (doc-view-new-window-function): Force redisplay of new windows on
10774 doc-view buffers.
d35f5864 10775
1c4a85ed
KF
107762013-03-13 Karl Fogel <kfogel@red-bean.com>
10777
10778 * saveplace.el (save-place-alist-to-file): Don't sort
10779 `save-place-alist', just pretty-print it (bug#13882).
10780
85b66a21
MA
107812013-03-13 Michael Albinus <michael.albinus@gmx.de>
10782
a020afb9
JB
10783 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10784 Check whether `default-file-name-coding-system' is bound.
10785 It isn't in XEmacs.
85b66a21 10786
175600da
SM
107872013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10788
e7f7cb1a
SM
10789 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10790 backquotes for `obsolete' (bug#13929).
10791
175600da
SM
10792 * international/mule.el (find-auto-coding): Include file name in
10793 obsolescence warning (bug#13922).
10794
ca68a22e
TZ
107952013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10796
10797 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10798 for CFEngine 3-specific indentation.
10799 (cfengine3-indent-line): Use it. Fix up category regex.
10800 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10801
940e5099
SM
108022013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * type-break.el (type-break-file-name):
10805 * textmodes/remember.el (remember-data-file):
10806 * strokes.el (strokes-file):
10807 * shadowfile.el (shadow-initialize):
10808 * saveplace.el (save-place-file):
10809 * ps-bdf.el (bdf-cache-file):
10810 * progmodes/idlwave.el (idlwave-config-directory):
10811 * net/quickurl.el (quickurl-url-file):
10812 * international/kkc.el (kkc-init-file-name):
10813 * ido.el (ido-save-directory-list-file):
10814 * emulation/viper.el (viper-custom-file-name):
10815 * emulation/vip.el (vip-startup-file):
10816 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10817 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10818
cc725808
PE
108192013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10820
10821 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10822 * language/thai-word.el: Switch to UTF-8.
10823
a020afb9 10824See ChangeLog.16 for earlier changes.
e3d51b27
MR
10825
10826;; Local Variables:
10827;; coding: utf-8
e3d51b27
MR
10828;; End:
10829
ab422c4d 10830 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10831
10832 This file is part of GNU Emacs.
10833
10834 GNU Emacs is free software: you can redistribute it and/or modify
10835 it under the terms of the GNU General Public License as published by
10836 the Free Software Foundation, either version 3 of the License, or
10837 (at your option) any later version.
10838
10839 GNU Emacs is distributed in the hope that it will be useful,
10840 but WITHOUT ANY WARRANTY; without even the implied warranty of
10841 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10842 GNU General Public License for more details.
10843
10844 You should have received a copy of the GNU General Public License
10845 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.