Fix bug #16099 with failed out-of-tree builds on MS-Windows.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ceac12b7
EZ
12013-12-10 Eli Zaretskii <eliz@gnu.org>
2
3 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4 unmsys--file-name. (Bug#16099)
5
5a565782
TZ
62013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
7
8 * emacs-lisp/package.el (package-keyword-button-action): Remove
9 finder.el require dependency.
10
a81fc7ba
TZ
112013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
12
13 * emacs-lisp/package.el: Require finder.el.
14 (describe-package-1): Add keyword buttons.
15 (package-make-button): New convenience function.
16 (package-keyword-button-action): Keyword button action using
17 `finder-list-matches'
18
6aaca951
EZ
192013-12-09 Eli Zaretskii <eliz@gnu.org>
20
21 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
22 last commit.
23
a1099a91
MA
242013-12-09 Michael Albinus <michael.albinus@gmx.de>
25
26 * autorevert.el (auto-revert-notify-add-watch): Do not handle
27 symlinked files.
28
8212d9c0
DG
292013-12-09 Dmitry Gutov <dgutov@yandex.ru>
30
31 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
32 after the end of a percent literal.
33
8f48d131
CD
342013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
35
36 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
37 caret-delimited strings (Bug#16079).
38
ff8c9764
DG
392013-12-09 Dmitry Gutov <dgutov@yandex.ru>
40
41 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
42 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
43 `ruby-parse-partial' (Bug#16078).
44
d64643b4
LL
452013-12-09 Leo Liu <sdl.web@gmail.com>
46
47 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
48
47e59c66
DG
492013-12-08 Dmitry Gutov <dgutov@yandex.ru>
50
51 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
52 (js-switch-indent-offset): New option.
53 (js--proper-indentation): Use it. And handle the case when
54 "default" is actually a key in an object literal.
55 (js--same-line): New function.
56 (js--multi-line-declaration-indentation): Use it.
57 (js--indent-in-array-comp, js--array-comp-indentation): New
58 functions.
59 (js--proper-indentation): Use them, to handle array comprehension
60 continuations.
61
974ebc9c
LL
622013-12-08 Leo Liu <sdl.web@gmail.com>
63
64 * progmodes/flymake.el (flymake-highlight-line): Re-write.
65 (flymake-make-overlay): Remove arg MOUSE-FACE.
66 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
67
27262e39
SM
682013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
71 New function.
72 (redisplay-highlight-region-function): Use it.
73
74 * emulation/cua-base.el (cua--explicit-region-start)
75 (cua--last-region-shifted): Remove.
76 (cua--deactivate): Use deactivate-mark.
77 (cua--pre-command-handler-1): Don't handle shift-selection.
78 (cua--post-command-handler-1): Don't change transient-mark-mode.
79 (cua--select-keymaps): Use region-active-p rather than
80 cua--explicit-region-start or cua--last-region-shifted.
81 (cua-mode): Enable shift-select-mode.
82
6407822c
LL
832013-12-08 Leo Liu <sdl.web@gmail.com>
84
27262e39
SM
85 * progmodes/flymake.el (flymake-popup-current-error-menu):
86 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
87 (flymake-posn-at-point-as-event, flymake-popup-menu)
88 (flymake-make-emacs-menu): Remove. (Bug#16077)
89
00a2b823
SM
902013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
91
02033d49
SM
92 * rect.el (rectangle-mark-mode): Activate mark even if
93 transient-mark-mode is off (bug#16066).
94 (rectangle--highlight-for-redisplay): Fix boundary condition when point
95 is > mark and at bolp.
96
6f8dfccf
SM
97 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
98 (region-extract-function): Use it.
99 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
100 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
101 Delete functions.
102 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
103 kill-ring-save, kill-region, delete-char, delete-forward-char.
104 Ignore self-insert-iso.
105
106 * emulation/cua-gmrk.el (cua--init-global-mark):
107 Ignore `self-insert-iso'.
108
109 * emulation/cua-base.el (cua--prefix-copy-handler)
110 (cua--prefix-cut-handler): Rely on region-extract-function rather than
111 checking cua--rectangle.
112 (cua-delete-region): Use region-extract-function.
113 (cua-replace-region): Delete function.
114 (cua-copy-region, cua-cut-region): Obey region-extract-function.
115 (cua--pre-command-handler-1): Don't do the delete-selection thing.
116 (cua--self-insert-char-p): Ignore `self-insert-iso'.
117 (cua--init-keymaps): Don't remap delete-selection commands.
118 (cua-mode): Use delete-selection-mode instead of rolling our own
119 (bug#16085).
120
121 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
122 Obey region-extract-function.
123
00a2b823
SM
124 Make registers and delete-selection-mode work on rectangles.
125 * register.el (describe-register-1): Don't modify the register's value.
126 (copy-to-register): Obey region-extract-function.
127 * delsel.el (delete-active-region): Obey region-extract-function.
128
a92fa5f1
LL
1292013-12-08 Leo Liu <sdl.web@gmail.com>
130
131 * progmodes/flymake.el (flymake, flymake-error-bitmap)
132 (flymake-warning-bitmap, flymake-fringe-indicator-position)
133 (flymake-compilation-prevents-syntax-check)
134 (flymake-start-syntax-check-on-newline)
135 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
136 (flymake-start-syntax-check-on-find-file, flymake-log-level)
137 (flymake-xml-program, flymake-master-file-dirs)
138 (flymake-master-file-count-limit)
139 (flymake-allowed-file-name-masks): Relocate.
140 (flymake-makehash, flymake-float-time)
141 (flymake-replace-regexp-in-string, flymake-split-string)
142 (flymake-get-temp-dir): Remove.
143 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
144 (flymake-current-row, flymake-selected-frame)
145 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
146 related functions. (Bug#16077)
147
73c8ceea
BB
1482013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
149
150 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
151
faec28d9
TH
1522013-12-07 Tassilo Horn <tsdh@gnu.org>
153
154 * help-fns.el (describe-function-1): Use new advice-* functions
155 rather than old ad-* functions. Fix function type description and
156 source links for advised functions and subrs.
157
e330b646
LMI
1582013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
159
00a2b823 160 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 161
4803595d
MA
1622013-12-06 Michael Albinus <michael.albinus@gmx.de>
163
164 * progmodes/compile.el (compilation-start):
165 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
166
167 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
168 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
169
fa834a93
DG
1702013-12-06 Dmitry Gutov <dgutov@yandex.ru>
171
00a2b823
SM
172 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
173 Touch up the last change.
fa834a93 174
b2856a6f
LL
1752013-12-06 Leo Liu <sdl.web@gmail.com>
176
177 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
178 (inferior-octave-startup): Always use "octave> " for prompt.
179 (octave-goto-function-definition)
180 (octave-sync-function-file-names)
181 (octave-find-definition-default-filename): Remove redundant backquotes.
182
af67e79a
DG
1832013-12-06 Dmitry Gutov <dgutov@yandex.ru>
184
185 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
186 syntax for `?'.
187 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
188 where appropriate already.
189 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
190 end of method names (Bug#15874).
191
bf093209
JL
1922013-12-06 Juri Linkov <juri@jurta.org>
193
194 * isearch.el (isearch--saved-overriding-local-map):
195 New internal variable.
196 (isearch-mode): Set it to the initial value of
197 `overriding-terminal-local-map'.
198 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
199 with `isearch--saved-overriding-local-map'. (Bug#16035)
200
16588fad
DG
2012013-12-06 Dmitry Gutov <dgutov@yandex.ru>
202
00a2b823
SM
203 * progmodes/octave.el (inferior-octave-completion-table):
204 Turn back into function, use `completion-table-with-cache'
16588fad
DG
205 (Bug#11906). Update all references.
206
207 * minibuffer.el (completion-table-with-cache): New function.
208
bf4906d7
CD
2092013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
210
211 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
212
ff69c18f
TZ
2132013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
214
215 * net/eww.el (eww-current-source): New variable to store page
216 source.
217 (eww-display-html, eww-mode, eww-save-history)
218 (eww-restore-history): Use it.
219 (eww-view-source): New command to view page source.
220 Opportunistically uses `html-mode' to highlight the buffer.
221 (eww-mode-map): Install it.
222
b85eff45
MA
2232013-12-05 Michael Albinus <michael.albinus@gmx.de>
224
225 * net/dbus.el (dbus-unregister-service)
226 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
227 Fix docstring.
228 (dbus-unregister-service): Skip :serial entries in
229 `dbus-registered-objects-table'.
230 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
231
39eb0899
TZ
2322013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
233
234 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
235 around keywords with extra `split-string' argument.
236
456760a5
MR
2372013-12-04 Martin Rudalics <rudalics@gmx.at>
238
239 * windmove.el (windmove-other-window-loc): Handle navigation
240 between windows (excluding the minibuffer window - Bug#16017).
241
81961e4c
MA
2422013-12-04 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
245 in D-Bus type syntax.
246 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
247 preserve unibyte strings. (Bug#16048)
248
8497f938
SM
2492013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
252 Call force-mode-line-update is the proper buffer (bug#16042).
253
dda61916
DG
2542013-12-04 Dmitry Gutov <dgutov@yandex.ru>
255
256 * vc/log-edit.el (log-edit-add-new-comment): Rename to
257 `log-edit-remember-comment', make argument optional. Adjust all
258 callers.
259 (log-edit-mode): Add `log-edit-remember-comment' to
260 `kill-buffer-hook' locally.
261 (log-edit-kill-buffer): Don't remember comment explicitly since
262 the buffer is killed anyway.
263
c085e5b9
JL
2642013-12-04 Juri Linkov <juri@jurta.org>
265
266 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
267 add-hook and remove-hook for multi-buffer search. (Bug#16035)
268
d6f2380e
TR
2692013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
270
271 * notifications.el (notifications-close-notification): Call the
81961e4c 272 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 273
39fa32d6
KY
2742013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
275
276 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
277
9139632a
JL
2782013-12-03 Juri Linkov <juri@jurta.org>
279
280 * progmodes/compile.el (compilation-start): Rename window alist
281 entry `no-display-ok' to `allow-no-window'.
282
283 * simple.el (shell-command): Add window alist entry
284 `allow-no-window' to `display-buffer'.
285 (async-shell-command): Doc fix.
286
287 * window.el (display-buffer-no-window): New action function.
288 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
289
0f457a37
DG
2902013-12-02 Dmitry Gutov <dgutov@yandex.ru>
291
292 * vc/log-edit.el (log-edit-set-header): Extract from
293 `log-edit-toggle-header'.
294 (log-edit-extract-headers): Separate the summary, when extracted
295 from header, from the rest of the message with an empty line.
296
297 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
298 line, if present, to the Summary header.
299
0962f376
SM
3002013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
303 in current-buffer (bug#16029).
304
f345395c
HE
3052013-12-02 Helmut Eller <eller.helmut@gmail.com>
306
307 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
308 (debugger-mode-map): Bind it.
309 (debugger--backtrace-base): New function.
310 (debugger-eval-expression): Use it.
311 (debugger-frame-number): Skip local vars when present.
312 (debugger--locals-visible-p, debugger--insert-locals)
313 (debugger--show-locals, debugger--hide-locals): New functions.
314
a8a15d9d
MA
3152013-12-02 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
318 "LC_ALL".
319 (tramp-get-remote-locale): New defun.
320 (tramp-open-connection-setup-interactive-shell): Use it.
321
0518b057
LL
3222013-12-02 Leo Liu <sdl.web@gmail.com>
323
324 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
325
326 * progmodes/sh-script.el (sh-shell-process):
327 * progmodes/octave.el (inferior-octave-process-live-p):
328 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
329 (gdb-inferior-io-sentinel):
330 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
331
3adc9c6d
DG
3322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
333
334 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
335 `save-selected-window' to `log-edit-hide-buf'. This makes
336 `log-edit-show-files' idempotent.
337 (log-edit-show-files): Mark the new window as dedicated.
338
47e8b74e
DG
3392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
340
341 * vc/log-edit.el (log-edit-mode-map): Add binding for
342 `log-edit-kill-biffer'.
343 (log-edit-hide-buf): Add a FIXME comment.
344 (log-edit-add-new-comment): New function, extracted from
345 `log-edit-done'.
346 (log-edit-done, log-edit-add-to-changelog): Use it.
347 (log-edit-kill-buffer): New command.
348
1f6e1bb0
LMI
3492013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
350
351 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
352 instead of killing the buffer.
353
fb651d15
SM
3542013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
357
8feacce0
RS
3582013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
359
fb651d15 360 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 361 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
362 (eww-form-checkbox, eww-toggle-checkbox):
363 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
364
365 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
366 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
367 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
368 no :src tag was specified.
369
fb651d15 370 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
371 (eww-render): Handle `eww-use-external-browser-for-content-type'.
372 Use \\` to match beginning of string instead of ^.
373 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 374 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 375
177948a5
RS
376 * net/shr.el (shr-tag-video): Display content for video if no
377 poster is available.
eb2dd24d 378 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
379
380 * net/eww.el (eww-text-input-types): : New const.
381 (eww-process-text-input): Treat input types in
382 `eww-text-input-types' as text.
383
8feacce0
RS
384 * net/shr.el (shr-tag-table): Fix comment typo.
385
513562a1
LMI
3862013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
387
388 * net/eww.el (eww-follow-link): New command to avoid reloading
389 pages when we follow #target links (bug#15243).
de8a5633 390 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 391
9dd99753
KN
3922013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
393
394 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
395 forms.
396
3e9876de
LMI
3972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
398
399 * net/eww.el (eww-restore-history): Update the window title after
400 moving in the history.
ab6dea82 401 (eww-current-dom): New variable used to save the current DOM.
3e9876de 402
52789f7f
DG
4032013-12-01 Dmitry Gutov <dgutov@yandex.ru>
404
405 * vc/log-edit.el (log-edit-mode-map): Add binding for
406 `log-edit-beginning-of-line'.
407 (log-edit-setup-add-author): New user option.
408 (log-edit-beginning-of-line): New command.
409 (log-edit): Move major mode call above the contents setup so that
410 the local variable values are already applied.
411 (log-edit): Only insert "Author: " when
412 `log-edit-setup-add-author' is non-nil.
413 (log-edit): When SETUP is non-nil, position point after ": "
414 instead of point-min.
415
2e6710c3
GM
4162013-12-01 Glenn Morris <rgm@gnu.org>
417
418 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
419
fadec31f
EZ
4202013-11-30 Eli Zaretskii <eliz@gnu.org>
421
422 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 423 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
424 visible. (Bug#16014)
425
10634b40 4262013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
427
428 Support resizing frames and windows pixelwise.
429 * cus-start.el (frame-resize-pixelwise)
430 (window-resize-pixelwise): New entries.
431 * emacs-lisp/debug.el (debug): Use window-total-height instead
432 of window-total-size.
433 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
434 * help.el (describe-bindings-internal): Call help-buffer
435 (temp-buffer-max-width): New option.
436 (resize-temp-buffer-window, help-window-setup)
437 (with-help-window): Rewrite.
438 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
439 dragging dividers.
440 * window.el (frame-char-size, window-min-pixel-height)
441 (window-safe-min-pixel-height, window-safe-min-pixel-width)
442 (window-min-pixel-width, window-safe-min-pixel-size)
443 (window-combination-p, window-safe-min-size)
444 (window-resizable-p, window--size-to-pixel)
445 (window--pixel-to-size, window--resize-apply-p): New functions.
446 (window-safe-min-height): Fix doc-string.
447 (window-size, window-min-size, window--min-size-1)
448 (window-sizable, window-sizable-p, window--min-delta-1)
449 (window-min-delta, window--max-delta-1, window-max-delta)
450 (window--resizable, window--resizable-p, window-resizable)
451 (window-full-height-p, window-full-width-p, window-at-side-p)
452 (window--in-direction-2, window-in-direction)
453 (window--resize-reset-1, window--resize-mini-window)
454 (window-resize, window-resize-no-error)
455 (window--resize-child-windows-normal)
456 (window--resize-child-windows, window--resize-siblings)
457 (window--resize-this-window, window--resize-root-window)
458 (window--resize-root-window-vertically)
459 (adjust-window-trailing-edge, enlarge-window, shrink-window)
460 (maximize-window, minimize-window, delete-window)
461 (quit-restore-window, window-split-min-size, split-window)
462 (balance-windows-2, balance-windows)
463 (balance-windows-area-adjust, balance-windows-area)
464 (window--state-get-1, window-state-get, window--state-put-1)
465 (window--state-put-2, window-state-put)
fb651d15
SM
466 (display-buffer-record-window, window--display-buffer):
467 Make functions handle pixelwise sizing of windows.
880e6158 468 (display-buffer--action-function-custom-type)
fb651d15
SM
469 (display-buffer-fallback-action):
470 Add display-buffer-in-previous-window.
880e6158
MR
471 (display-buffer-use-some-window): Resize window to height it had
472 before.
473 (fit-window-to-buffer-horizontally): New option.
474 (fit-frame-to-buffer): Describe new values.
475 (fit-frame-to-buffer-bottom-margin): Replace with
476 fit-frame-to-buffer-margins.
477 (window--sanitize-margin): New function.
478 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
479 using window-text-pixel-size.
480
f9b697dd
GM
4812013-11-30 Glenn Morris <rgm@gnu.org>
482
3e2fb4db
GM
483 * emacs-lisp/bytecomp.el (byte-compile-form):
484 Make the `interactive-only' warning like the `obsolete' one.
485 * comint.el (comint-run):
486 * files.el (insert-file-literally, insert-file):
487 * replace.el (replace-string, replace-regexp):
488 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
489 (goto-line, insert-buffer, next-line, previous-line):
490 Tweak `interactive-only' spec.
491
f9b697dd
GM
492 Stop keeping (most) generated cedet grammar files in the repository.
493 * Makefile.in (semantic): New.
494 (compile-main): Depend on semantic.
495
da048127
SM
4962013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
497
7784b779
SM
498 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
499 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
500
4e36a6a6
SM
501 * uniquify.el (uniquify-buffer-name-style): Change default.
502
503 * loadup.el: Preload "uniquify".
504
e0ba1308
SM
505 * time.el (display-time-update): Update all mode lines (bug#15999).
506
da048127
SM
507 * electric.el (electric-indent-mode): Enable by default.
508 * loadup.el: Preload "electric".
509
015b3b3e
BB
5102013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
511
512 * emacs-lisp/helpers.el (string-empty-p): New function.
513 (string-blank-p): New function.
514
7efb806d
AP
5152013-11-29 Andreas Politz <politza@hochschule-trier.de>
516
517 * imenu.el (imenu--index-alist): Add missing dot to the docstring
518 (Bug#14029).
519
c8f0efc2
AP
5202013-11-29 Andreas Politz <politza@fh-trier.de>
521 * imenu.el (imenu--subalist-p): Don't error on non-conses and
522 allow non-lambda lists as functions.
523 (imenu--in-alist): Don't recurse into non-subalists.
524 (imenu): Don't pass function itself as an argument (Bug#14029).
525
bd15d9d1
SM
5262013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * progmodes/python.el (python-mode-map): Remove binding for ":".
529 (python-indent-electric-colon): Remove command.
530 (python-indent-post-self-insert-function): Integrate the previous code
531 of python-indent-electric-colon. Make it conditional on
532 electric-indent-mode.
533 (python-mode): Add ?: to electric-indent-chars.
534 Move python-indent-post-self-insert-function to the end of
535 post-self-insert-hook.
536
1b10adb6
SM
5372013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
538
655ab9a3
SM
539 * doc-view.el (doc-view-goto-page): Update mode-line.
540
1b10adb6
SM
541 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
542
7e3bf78c
GM
5432013-11-27 Glenn Morris <rgm@gnu.org>
544
545 * international/charprop.el, international/uni-bidi.el:
546 * international/uni-category.el, international/uni-combining.el:
547 * international/uni-comment.el, international/uni-decimal.el:
548 * international/uni-decomposition.el, international/uni-digit.el:
549 * international/uni-lowercase.el, international/uni-mirrored.el:
550 * international/uni-name.el, international/uni-numeric.el:
551 * international/uni-old-name.el, international/uni-titlecase.el:
552 * international/uni-uppercase.el:
553 Remove generated files from VCS repository.
554
fb6a5d68
EZ
5552013-11-27 Eli Zaretskii <eliz@gnu.org>
556
557 * filenotify.el (file-notify-add-watch): Don't special-case
558 w32notify when computing the directory to watch.
559
cb6c95a3
GM
5602013-11-27 Glenn Morris <rgm@gnu.org>
561
20372d0c
GM
562 Make bootstrap without generated uni-*.el files possible again.
563 * loadup.el: Update command-line-args checking for unidata-gen.
564 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
565 * composite.el, international/characters.el:
566 Handle unicode tables being undefined.
567
52d6635f 568 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
569 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
570 (compile-main): Depend on leim rule.
571 (leim): New rule.
572 * loadup.el: Move leim-list.el to leim/ subdirectory.
573 * startup.el (normal-top-level): No more leim directory.
574 * international/ja-dic-cnv.el (skkdic-convert):
575 Disable version-control and autoloads in output files.
576 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
577 Disable version-control and autoloads in output files.
578 * leim/quail: Move here from ../leim.
579 * leim/quail/hangul.el (hangul-input-method-activate):
580 Add autoload cookie.
581 (generated-autoload-load-name): Set file-local value.
582 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
583 (generated-autoload-load-name): Set file-local value.
584
0449d6cd 5852013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
586
587 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
588 (eww-add-bookmark): ask confirmation when add to bookmarks
589 (eww-quit): ask confirmation before quitting eww
590
0e2c793f
EZ
5912013-11-26 Eli Zaretskii <eliz@gnu.org>
592
593 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
594 reading output from Diff on MS-Windows and MS-DOS.
595
447bdcb8
BB
5962013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
597
598 * emacs-lisp/helpers.el (string-reverse): New function.
599
5fbf6856
MA
6002013-11-26 Michael Albinus <michael.albinus@gmx.de>
601
602 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
603 names on MS Windows, like "/[::1]:".
604
605 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
606 SWITCHES.
607
624780f0
GM
6082013-11-26 Glenn Morris <rgm@gnu.org>
609
0bf3f0fa
GM
610 * progmodes/python.el (python-indent-guess-indent-offset):
611 Avoid corner-case error. (Bug#15975)
612
624780f0
GM
613 Preload leim-list.el. (Bug#4789)
614 * loadup.el: Load leim-list.el when found.
615 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
616
4301875e 6172013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
618
619 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
620
4301875e
BB
621 * emacs-lisp/helpers.el (string-join): New function.
622
1633a815 6232013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
624
625 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
626 Mark as obsolete and replace it with a symbol property.
627 (byte-compile-form): Use new 'interactive-only property.
628 * comint.el, files.el, replace.el, simple.el:
629 Apply new 'interactive-only properly.
630
00139435
MR
6312013-11-25 Martin Rudalics <rudalics@gmx.at>
632
633 * window.el (display-buffer-at-bottom): Make sure that
634 split-window-sensibly creates the new window on bottom
635 (Bug#15961).
636
5f5b128d
DK
6372013-11-23 David Kastrup <dak@gnu.org>
638
639 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
640 on the conflict markers when available.
641 (smerge--get-marker): New function.
642 (smerge-end-re, smerge-base-re): Add subgroup.
643
623891e5
SM
6442013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * frame.el (handle-focus-in, handle-focus-out): Add missing
647 interactive spec.
648
05ca27d8
MA
6492013-11-25 Michael Albinus <michael.albinus@gmx.de>
650
651 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
652 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
653
511fa0d3
SM
6542013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
655
e82ad66c
SM
656 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
657 (gomoku--last-pos): New var.
658 (gomoku--intangible-chars): New const.
659 (gomoku--intangible): New function.
660 (gomoku-mode): Use it. Derive from special-mode.
661 (gomoku-move-up): Adjust line count.
662 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
663 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
664 Simplify accordingly.
665
511fa0d3
SM
666 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
667 Remove blink-cursor code.
668 (blink-cursor-timer-function, blink-cursor-suspend):
669 Don't special-case GUIs.
670 (blink-cursor-mode): Use focus-in/out-hook.
671
6f20dd03
DG
6722013-11-25 Dmitry Gutov <dgutov@yandex.ru>
673
674 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
675 work when annotation is invisible (Bug#13886).
676
431dec31 6772013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
678
679 * json.el (json-alist-p): Only return non-nil if the alist has
680 simple keys (Bug#13518).
681
431dec31 6822013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
683
684 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
685 when control-statement is the first statement in a buffer (Bug#15956).
686
ee4f0261
DG
6872013-11-24 Dmitry Gutov <dgutov@yandex.ru>
688
689 * imenu.el (imenu-generic-skip-comments-and-strings):
690 New option (Bug#15560).
691 (imenu--generic-function): Use it.
692
c484f866
JS
6932013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
694
695 * minibuffer.el (completion--in-region-1): Scroll the correct
696 window. (Bug#13898)
697
41ce6f70
BB
6982013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
699
b55aea38
BB
700 * emacs-lisp/helpers.el: Add some string helpers.
701 (string-trim-left): Removes leading whitespace.
702 (string-trim-right): Removes trailing whitespace.
703 (string-trim): Removes leading and trailing whitespace.
704
41ce6f70
BB
705 * subr.el (string-suffix-p): New function.
706
3cfb6af3
GM
7072013-11-23 Glenn Morris <rgm@gnu.org>
708
709 * progmodes/python.el (python-shell-send-file):
710 Add option to delete file when done. (Bug#15647)
711 (python-shell-send-string, python-shell-send-region): Use it.
712
c27924b7
IS
7132013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
714
e1b01c7f
IS
715 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
716 to set buffer-read-only to t, never to nil. (Bug#15938)
717
c27924b7
IS
718 * textmodes/tex-mode.el (latex-noindent-environments):
719 Add safe-local-variable property. (Bug#15936)
720
17e0445b
GM
7212013-11-23 Glenn Morris <rgm@gnu.org>
722
92f78ea3
GM
723 * textmodes/enriched.el (enriched-mode): Doc fix.
724 * emacs-lisp/authors.el (authors-renamed-files-alist):
725 Add enriched.doc -> enriched.txt.
726
17e0445b
GM
727 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
728
965bb23a
LL
7292013-11-22 Leo Liu <sdl.web@gmail.com>
730
731 * progmodes/octave.el (inferior-octave-startup): Spit out error
732 message.
733
d19ffd64
BB
7342013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
735
736 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
737 Improve docstring.
15ba2182
BB
738 Add :version.
739 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 740
7a7567d2
LL
7412013-11-22 Leo Liu <sdl.web@gmail.com>
742
743 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
744 (Bug#15076)
8c09f64b
LL
745 (octave-help-mode): Adapt to change to help-mode-finish to use
746 derived-mode-p on 2013-09-17.
747 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 748 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 749
724bc265
LL
7502013-11-22 Leo Liu <sdl.web@gmail.com>
751
752 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
753 (inferior-octave-startup, inferior-octave-check-process)
754 (inferior-octave-track-window-width-change)
755 (octave-completion-at-point, octave-eldoc-function): Use it.
756 (octave-kill-process): Provide confirmation. (Bug#10564)
757
38637cca
LL
7582013-11-21 Leo Liu <sdl.web@gmail.com>
759
511fa0d3
SM
760 * progmodes/octave.el (octave-mode, inferior-octave-mode):
761 Fix obsolete variable comment-use-global-state.
38637cca 762
06e752b4
RS
7632013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
764
511fa0d3
SM
765 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
766 Add `octave-source-file'.
06e752b4
RS
767 (octave-source-file): New function. (Bug#15935)
768
0449d6cd 7692013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
770
771 * net/eww.el (eww-local-regex): New variable.
772 (eww): Use it to detect localhost and similar.
773
b6ffa04a
LL
7742013-11-21 Leo Liu <sdl.web@gmail.com>
775
776 Add completion for command `ag'.
2021a200
LL
777 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
778 (pcomplete/ag): New function.
779 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 780
d1a6bccc
SM
7812013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
784 (bug#14646).
785 (make-obsolete): Remove interactive spec.
786
2df10228
GM
7872013-11-21 Glenn Morris <rgm@gnu.org>
788
789 * startup.el (command-line-1): Use path-separator with -L.
790
86fd16b6
TZ
7912013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
792
793 * emacs-lisp/package.el (describe-package-1): Add package archive
794 to shown fields.
795
0449d6cd 7962013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
797
798 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
799 Change default to "# encoding: %s" to differentiate it from the
800 default Ruby encoding comment template.
801
dc7e8c17 8022013-11-20 era eriksson <era+emacsbugs@iki.fi>
803
804 * ses.el (ses-mode): Doc fix. (Bug#14748)
805
f0cfa5fe
LL
8062013-11-20 Leo Liu <sdl.web@gmail.com>
807
808 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
809
826dc7b6
DN
8102013-11-19 Dan Nicolaescu <dann@gnu.org>
811
812 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
813 when rebase or bisect are in progress.
814
a6e3a5d5
XF
8152013-11-19 Xue Fuqiao <xfq.free@gmail.com>
816
817 * filenotify.el (file-notify-add-watch): Doc fix.
818
f130cb76
LL
8192013-11-19 Leo Liu <sdl.web@gmail.com>
820
e0855d7d
LL
821 * obsolete/rcompile.el: Mark obsolete.
822
f130cb76 823 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
824 (compilation-goto-locus, compilation-find-file):
825 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
826 (Bug#13594)
827
828 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
829 new parameter no-display-ok. Return either a window or nil
830 but never a non-window value.
f130cb76 831
1f35d401
SM
8322013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
833
25158c76
SM
834 * electric.el (electric-indent-mode-map): Remove.
835 (electric-indent-mode): Change the global-map instead (bug#15915).
836
837 * textmodes/text-mode.el (paragraph-indent-minor-mode):
838 Use add-function.
1f35d401 839
9bc67baa
SM
8402013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
841
986545b5
SM
842 * emacs-lisp/nadvice.el (remove-function): Align with
843 add-function's behavior.
844
9bc67baa
SM
845 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
846 (gdb--string-regexp): New constant.
847 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
848 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
849 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
850 submatch 1.
851 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
852 Adjust use accordingly.
853 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
854
56cd894e
AS
8552013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
856
857 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
858 interpolation curlies (Bug#15914).
859
014690de
JB
8602013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
861
862 * calc/calc.el (calc-context-sensitive-enter): New variable.
863 (calc-enter): Use `calc-context-sensitive-enter'.
864
7e26a6c3
TZ
8652013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
866
867 * progmodes/cfengine.el: Version bump.
868 (cfengine-cf-promises): New defcustom to locate cf-promises.
869 (cfengine3-vartypes): Add new "data" type.
870 (cfengine3--current-word): New function to get current name-like
871 word or its bounds.
872 (cfengine3--current-function): New function to look up a CFEngine
873 function's definition.
874 (cfengine3-format-function-docstring): New function.
875 (cfengine3-make-syntax-cache): New function.
876 (cfengine3-documentation-function): New function: ElDoc glue.
877 (cfengine3-completion-function): New function: completion glue.
878 (cfengine3-mode): Set `compile-command',
879 `eldoc-documentation-function', and add to
880 `completion-at-point-functions'.
881
355204dd
MA
8822013-11-16 Michael Albinus <michael.albinus@gmx.de>
883
884 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
885 `tramp-current-connection'.
886
43cebc23
DG
8872013-11-15 Dmitry Gutov <dgutov@yandex.ru>
888
889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
890 nil/self/true/false with "end of symbol".
891
a3fed6ff
BB
8922013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
893
894 * subr.el (version-regexp-alist): Fix a typo.
895
e675b3e4
MA
8962013-11-15 Michael Albinus <michael.albinus@gmx.de>
897
898 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
899 "en_US.utf8" and "LC_CTYPE" to "".
900 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
901 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
902
a1f03e89
LL
9032013-11-15 Leo Liu <sdl.web@gmail.com>
904
905 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
906
5d9d9451
SM
9072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
908
58362662
CS
909 * progmodes/gud.el (ctl-x-map):
910 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
911 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
912
6c1bf086
BB
9132013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
914
0d5363c4
BB
915 * subr.el (version-regexp-alist):
916 Recognize hg, svn and darcs versions as snapshot versions.
917
4e9fc48c
BB
918 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
919 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
920 (ruby--encoding-comment-required-p): Extract from
921 `ruby-mode-set-encoding'.
922 (ruby-mode-set-encoding): Add the ability to always insert an
923 utf-8 encoding comment. Fix and simplify coding comment update
924 logic.
6c1bf086 925
2f7e72f8
MA
9262013-11-14 Michael Albinus <michael.albinus@gmx.de>
927
928 * net/tramp-gvfs.el (top): Run init code only when
929 `tramp-gvfs-enabled' is not nil.
930 (tramp-gvfs-enabled): Check also :system bus.
931
0f137a73
SM
9322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 Sync with upstream verilog-mode revision 78e66ba.
935 * progmodes/verilog-mode.el (verilog-end-of-defun)
936 (verilog-type-completion, verilog-get-list): Remove unused funcs.
937 (verilog-get-end-of-defun): Remove unused argument.
938 (verilog-comment-depth): Remove unused local `e'.
939 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
940 Don't pass arg to verilog-get-end-of-defun.
941
1c276bdd
GM
9422013-11-14 Glenn Morris <rgm@gnu.org>
943
944 * obsolete/assoc.el (aget): Prefix dynamic variable.
945
946 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
947
ff6ec81d
SM
9482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * widget.el, hfy-cmap.el: Remove bogus package version number.
951
75f777b6
GM
9522013-11-13 Glenn Morris <rgm@gnu.org>
953
1d43dba1
GM
954 * replace.el (replace-eval-replacement):
955 Try to give more helpful error message. (Bug#15836)
956
ff4b7bd5
GM
957 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
958 (archive-7z-update): Avoid custom type mismatches.
959
75f777b6
GM
960 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
961
11151a06
MA
9622013-11-13 Michael Albinus <michael.albinus@gmx.de>
963
e675b3e4 964 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
965 address can be empty.
966
967 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
968 Accept nil SWITCHES.
969 (tramp-gvfs-handle-write-region): Implement APPEND.
970
7b08f97e
DG
9712013-11-12 Dmitry Gutov <dgutov@yandex.ru>
972
973 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
974 binary "|" operator and closing block args delimiter.
975 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
976 (ruby-smie--implicit-semi-p): Not after "|" operator.
977 (ruby-smie--closing-pipe-p): New function.
978 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
979 (ruby-smie-rules): Indent after "|".
980
f201cf3a
GM
9812013-11-12 Glenn Morris <rgm@gnu.org>
982
983 * ps-print.el (ps-face-attribute-list):
984 Handle anonymous faces. (Bug#15827)
985
e6f759f9
MR
9862013-11-12 Martin Rudalics <rudalics@gmx.at>
987
988 * window.el (display-buffer-other-frame): Fix doc-string.
989 (Bug#15868)
990
ecda65d4
SM
9912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * subr.el (force-mode-line-update): Delete, move to buffer.c.
994
7ce8fcc3
MA
9952013-11-11 Michael Albinus <michael.albinus@gmx.de>
996
997 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
998 (tramp-sh-handle-file-local-copy): Don't write a message when
999 saving temporary files.
1000
1001 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1002 both directories are remote.
1003 (tramp-smb-handle-directory-files): Do not return double entries.
1004 Do not expand full file names.
1005 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1006 (tramp-smb-handle-write-region): Implement APPEND.
1007 (tramp-smb-get-stat-capability): Fix a stupid bug.
1008
7818df11
SM
10092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1012
608c2085
NT
10132013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1014
1015 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1016 throwing error over malformed let/let* (bug#15814).
1017
122a7e46
SM
10182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * iswitchb.el (iswitchb-mode): Mark obsolete.
1021
766284d9
GM
10222013-11-11 Glenn Morris <rgm@gnu.org>
1023
1024 * international/uni-bidi.el, international/uni-category.el:
1025 * international/uni-name.el, international/uni-numeric.el:
1026 Regenerate for Unicode 6.3.0.
1027
7072a4e9
MA
10282013-11-10 Michael Albinus <michael.albinus@gmx.de>
1029
1030 * net/tramp.el (tramp-methods):
1031 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1032 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1033
c9df215b
AS
10342013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1035
608c2085
NT
1036 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1037 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1038
fa47d796
DG
10392013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1040
1041 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1042 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1043 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1044 (ispell-complete-word): Call `ispell-lookup-words' with the value
1045 independent of `ispell-look-p'.
1046
1629a329
DG
10472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1048
1049 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1050 Not after "||".
1051 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1052 their parent.
1053
ad16897c
SM
10542013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1057 (ruby-font-lock-keywords): Use backquote.
1058
ffa2df72
DG
10592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1060
1061 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1062 (ruby-smie--backward-token): Only consider full-string matches.
1063
5b97b4c0
JD
10642013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1065
1066 * faces.el (describe-face): Add distant-foreground.
1067
71731c03
BB
10682013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1069
4e9fc48c
BB
1070 * progmodes/ruby-mode.el: Improve encoding comment handling.
1071 (ruby-encoding-magic-comment-style): New option.
1072 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1073 (ruby--insert-coding-comment, ruby--detect-encoding):
1074 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1075 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1076 to control the style of the auto-inserted encoding comment.
71731c03 1077
da3b328d
DG
10782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1079
ad16897c
SM
1080 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1081 Use `smie-backward-sexp' with token argument.
da3b328d 1082
1606c2d3
MA
10832013-11-08 Michael Albinus <michael.albinus@gmx.de>
1084
1085 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1086 Remove instrumentation code.
1087
b0f4c320
GM
10882013-11-08 Glenn Morris <rgm@gnu.org>
1089
1090 * progmodes/autoconf.el (autoconf-mode):
1091 Tweak comment-start-skip. (Bug#15822)
1092
43668fb1
SM
10932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1096 at bobp (bug#15826).
1097 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1098
daddb3fd
DH
10992013-11-08 Darren Hoo <darren.hoo@gmail.com>
1100
1101 * man.el (Man-start-calling): New macro, extracted from
1102 Man-getpage-in-background.
1103 (Man-getpage-in-background): Use it.
1104 (Man-update-manpage): New command.
1105 (Man-mode-map): Bind it.
1106
1f923923
DG
11072013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1108
1109 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1110 of "and", "or", "&&" and "||".
1111 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1112 argument. Prohibit opening curly brace because it could only be a
1113 block opener in that position.
daddb3fd
DH
1114 (ruby-smie--forward-token, ruby-smie--backward-token):
1115 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1116 arguments.
1117 (ruby-smie--indent-to-stmt): New function, seeks the end of
1118 previous statement or beginning of buffer.
1119 (ruby-smie-rules): Use it.
1120 (ruby-smie-rules): Check if there's a ":" before a curly block
1121 opener candidate; if there is, it's a hash.
1122
3220d527
SM
11232013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1126 (cl--block-wrapper): Fix last accidental change.
1127
1eb1f9e0
MA
11282013-11-07 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1131 Instrument, in order to hunt failure on hydra.
1132
e6e4db3c
NT
11332013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1134
1135 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1136 malformed bindings form (bug#15814).
1137
b420ccfc
DG
11382013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1139
1140 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1141 "." compared to " @ ". This incidentally fixes some indentation
1142 examples with "do".
e6e4db3c 1143 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1144 (ruby-smie-grammar): New tokens: "and" and "or".
1145 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1146 Exclude "and" and "or". Remove "do" in order to work around token
1147 priorities.
1148 (ruby-smie-rules): Add all infix tokens. Handle the case of
1149 beginning-of-buffer.
b420ccfc 1150
6b4ac03e
GM
11512013-11-06 Glenn Morris <rgm@gnu.org>
1152
1153 * Makefile.in (setwins_almost, setwins_for_subdirs):
1154 Avoid accidental matches.
1155
5ca114d1
SM
11562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * menu-bar.el (popup-menu): Use key-binding.
1159
f72552bd
EZ
11602013-11-06 Eli Zaretskii <eliz@gnu.org>
1161
1162 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1163 menus, support also the menus produced by minor modes.
1164 (Bug#15817)
1165
5d5c701e
LL
11662013-11-06 Leo Liu <sdl.web@gmail.com>
1167
1168 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1169 DISTANCE to bound the search. All uses changed. (Bug#15808)
1170
0a8b75e2
GM
11712013-11-06 Glenn Morris <rgm@gnu.org>
1172
1173 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1174 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1175 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1176
a35287ea
SM
11772013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1178
feca4e2d
SM
1179 * electric.el (electric-indent-just-newline): New command.
1180 (electric-indent-mode-map): New keymap.
1181 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1182 Re-add :group which weren't redundant.
1183
a35287ea
SM
1184 * electric.el (electric-indent-local-mode): New minor mode.
1185 (electric-indent-functions-without-reindent): New var.
1186 (electric-indent-post-self-insert-function): Use it.
1187 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1188
375761b2
EZ
11892013-11-05 Eli Zaretskii <eliz@gnu.org>
1190
9a6ad735
EZ
1191 * international/quail.el (quail-help): Be more explicit about the
1192 meaning of the labels shown on the keys. (Bug#15800)
1193
375761b2
EZ
1194 * startup.el (normal-top-level): Load the subdirs.el files before
1195 setting the locale environment. (Bug#15805)
1196
520a6e4a
SM
11972013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1198
0acfafef
SM
1199 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1200 via arguments so as to get the right ones (bug#15418).
1201
520a6e4a
SM
1202 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1203
15826261
MA
12042013-11-05 Michael Albinus <michael.albinus@gmx.de>
1205
1206 Fix problems found while writing a test suite.
1207
1208 * net/tramp-compat.el (tramp-compat-load): New defun.
1209 * net/tramp.el (tramp-handle-load): Use it.
1210
1211 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1212 "(numberp ok-if-already-exists)" correctly.
1213
d35f31a4
XF
12142013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1215
1216 * international/characters.el (glyphless-char-display-control):
1217 Add usage note.
1218
ae93bc74
BB
12192013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1220
520a6e4a
SM
1221 * progmodes/python.el (python-mode):
1222 * progmodes/scheme.el (scheme-mode):
1223 * progmodes/prolog.el (prolog-mode):
1224 * progmodes/ruby-mode.el (ruby-mode):
1225 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1226 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1227
0ade65b5
SM
12282013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1229
a0d5f7a4
SM
1230 * rect.el (rectangle--highlight-for-redisplay):
1231 * emacs-lisp/smie.el (smie--next-indent-change):
1232 Use buffer-chars-modified-tick.
1233
c93f3f5c
SM
1234 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1235
0ade65b5
SM
1236 * electric.el (electric-indent-post-self-insert-function):
1237 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1238
ef9dd188
HE
12392013-11-04 Helmut Eller <eller.helmut@gmail.com>
1240
1241 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1242
306e7308
NT
12432013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1244
1245 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1246 (bug#15786).
1247
e5afbcac
SM
12482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1d01ad41
SM
1250 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1251
e5afbcac
SM
1252 * progmodes/python.el: Fix up last change.
1253 (python-shell--save-temp-file): New function.
1254 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1255 `string' comes from the current buffer.
1256 (python-shell-send-string-no-output): Remove `msg' arg.
1257 (python--use-fake-loc): New var.
1258 (python-shell-buffer-substring): Obey it. Try to compensate for the
1259 extra coding line added by python-shell--save-temp-file.
1260 (python-shell-send-region): Use python-shell--save-temp-file and
1261 python-shell-send-file directly. Add `nomain' argument.
1262 (python-shell-send-buffer): Use python-shell-send-region.
1263 (python-electric-pair-string-delimiter): New function.
1264 (python-mode): Use it.
1265
d0065ff1
EZ
12662013-11-04 Eli Zaretskii <eliz@gnu.org>
1267
1268 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1269 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1270 environment and decoding all of the default-directory's to here
1271 from command-line.
1272 (command-line): Decode also argv[0].
1273
1274 * loadup.el: Error out if default-directory is a multibyte string
1275 when we are dumping.
1276
1277 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1278
7397c587
TZ
12792013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1280
1281 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1282 (package-menu--print-info, package-menu--archive-predicate):
1283 Add Archive column to package list.
7397c587 1284
b27cc9fc
MA
12852013-11-04 Michael Albinus <michael.albinus@gmx.de>
1286
1287 Fix problems found while writing a test suite.
1288
1289 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1290 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1291 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1292 to nil when running original file name handler. Otherwise,
1293 there are problems with constructs like "$$FOO".
1294
1295 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1296 for `localname'.
1297
d8c4f18a
BB
12982013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1299
7b530552
BB
1300 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1301
1302 * subr.el (version<, version<=, version=):
1303 Update docstrings with information for snapshot versions.
1304
d8c4f18a
BB
1305 * helpers.el: New library for misc helper functions.
1306 (hash-table-keys): New function returning a list of hash keys.
1307 (hash-table-values): New function returning a list of hash values.
1308
dca01b09
DG
13092013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1312 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1313
0a749fa0
MN
13142013-11-04 Michal Nazarewicz <mina86@mina86.com>
1315
1316 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1317 checking whether point is after a 1-letter word.
1318
13192013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1320
1321 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1322 Don't infloop when expanding region over `multiline' syntax-type that
1323 begins a line (bug#15778).
1324
4aca7145
SM
13252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1326
1327 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1328 Make it into a proper minor mode.
1329 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1330 (rectangle-mark-mode-map): New keymap.
1331 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1332
a0833f62
GM
13332013-11-04 Glenn Morris <rgm@gnu.org>
1334
1335 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1336
e61845c1
SM
13372013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1340 (ruby-smie-rules): Use smie-rule-parent instead.
1341
1342 * emacs-lisp/smie.el (smie-rule-parent): Always call
1343 smie-indent-virtual rather than only for hanging tokens.
1344 (smie--next-indent-change): New helper command.
1345
62942f89
GM
13462013-11-03 Glenn Morris <rgm@gnu.org>
1347
1348 * Makefile.in (abs_srcdir): Remove.
1349 (emacs): Unset EMACSLOADPATH.
1350
b0b9e592
GM
13512013-11-02 Glenn Morris <rgm@gnu.org>
1352
18ba6a33 1353 * Makefile.in (EMACS): Use a relative filename.
8061810d 1354 (abs_top_builddir): Remove.
18ba6a33
GM
1355 (custom-deps, finder-data, autoloads): Use --chdir.
1356
6a8b929e
GM
1357 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1358
c617f3d0
GM
1359 Use relative filenames in TAGS files.
1360 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1361 (lisptagsfiles4, TAGS): Use relative file names.
1362 (TAGS-LISP): Remove.
1363 (maintainer-clean): No more TAGS-LISP file.
1364
b0b9e592
GM
1365 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1366 (lisptagsfiles4): Use absolute filenames again.
1367 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1368 Remove all *loaddefs files, not just the first. Remove esh-groups.
1369 (maintainer-clean): Delete TAGS, TAGS-LISP.
1370
d1c0ea6a
BB
13712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1372
e61845c1
SM
1373 * emacs-lisp/package.el (package-version-join):
1374 Recognize snapshot versions.
d1c0ea6a 1375
684d71c6
BB
13762013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1377
1378 * subr.el (version-regexp-alist): Add support for snapshot versions.
1379
3d42b968
DG
13802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1381
e61845c1
SM
1382 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1383 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1384 skip over our direct parent if it's an assignment token..
1385 (ruby-smie-rules): Use it.
1386
7ffd3721
DG
13872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1388
1389 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1390 unconditionally. Remove now unnecessary forward declarations.
1391 Remove XEmacs-specific setup.
1392 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1393 (ruby-font-lock-syntactic-keywords)
1394 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1395 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1396 (ruby-here-doc-end-syntax): Remove.
1397 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1398 defined as function.
1399
a3996a2e
BB
14002013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1401
1402 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1403
6f9260e8
BB
14042013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1405
1406 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1407 table and abbrev table, `define-derived-mode' does that for us
1408 anyway.
1409
6014de84
GM
14102013-11-01 Glenn Morris <rgm@gnu.org>
1411
1412 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1413 files is atomic for some time, so no parallel compilation issues).
1414
3c334c14
JD
14152013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1416
1417 * faces.el (face-x-resources): Add :distant-foreground.
1418 (region): Use :distant-foreground for gtk and ns.
1419
9bc236c8
TH
14202013-11-01 Tassilo Horn <tsdh@gnu.org>
1421
5246583b 1422 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1423 BibTeX.
1424 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1425 (reftex-locate-bibliography-files): Us it.
1426
d14c81ee
CB
14272013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1428
0e7690de
CB
1429 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1430 allow comments in pbm files.
1431
d14c81ee
CB
1432 * term/w32-win.el (dynamic-library-alist): Support newer versions
1433 of libjpeg starting with v7: look only for the DLL from the
1434 version against which Emacs was built.
ac1bf374 1435 Support versions of libpng beyond 1.4.x.
019c8218 1436 Support libtiff v4.x.
d14c81ee 1437
983d0df5
BB
14382013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1439
1440 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1441 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1442 Add property :safe.
1443 (ruby-deep-arglist): Add property :type.
1444
47f58d85
GM
14452013-10-31 Glenn Morris <rgm@gnu.org>
1446
1447 * Makefile.in (custom-deps, finder-data): No need to setq the target
1448 variables, we are in the right directory and the defaults work fine.
1449
4f85b479
GM
14502013-10-30 Glenn Morris <rgm@gnu.org>
1451
ca7dd4cd
GM
1452 * Makefile.in (autoloads): Do not use abs_lisp.
1453
4f85b479
GM
1454 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1455 `newline' does not respect `standard-output', so use `princ'.
1456
cf59e41c
AA
14572013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1458
1459 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1460 * buff-menu.el (Buffer-menu--unmark): New function.
1461 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1462
74cf04fb
GM
14632013-10-30 Glenn Morris <rgm@gnu.org>
1464
b040b60e
GM
1465 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1466
f53d3815
GM
1467 * emacs-lisp/package.el (lm-homepage): Declare.
1468
5413d873
GM
1469 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1470 Fix doc typos.
1471
cecedb36
GM
1472 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1473
74cf04fb
GM
1474 * Makefile.in (finder-data, autoloads, update-subdirs)
1475 (compile-main, compile-clean, compile-always, bootstrap-clean):
1476 Check return value of cd.
1477 (compile-calc): Remove.
1478
195ee2f0
SM
14792013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1480
ae4002ce
SM
1481 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1482
1483 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1484 (byte-compile-and-folded): New function.
1485 (=, <, >, <=, >=): Use it.
1486
1487 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1488 (path-separator, null-device, buffer-file-coding-system)
1489 (lpr-headers-switches): Check system-type before modifying them.
1490 (find-buffer-file-type-coding-system): Mark obsolete.
1491 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1492 find-file-not-found-set-buffer-file-coding-system.
1493 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1494 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1495 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1496 (w32-direct-print-region-helper, w32-direct-print-region-function)
1497 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1498 * startup.el (normal-top-level-add-subdirs-to-load-path):
1499 * ps-print.el (ps-print-region-function):
1500 * lpr.el (print-region-function): Use new name.
1501
53b39e89
SM
1502 * subr.el (custom-declare-variable-early): Remove function.
1503 (custom-declare-variable-list): Remove var.
1504 (error, user-error): Remove `while' loop.
1505 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1506 (user-emacs-directory-warning, locate-user-emacs-file):
1507 Move to files.el.
1508 * simple.el (read-quoted-char-radix, read-quoted-char):
1509 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1510 Move from subr.el.
1511 * custom.el (custom-declare-variable-list): Don't process
1512 custom-declare-variable-list.
1513
195ee2f0
SM
1514 * progmodes/python.el (python-shell-get-buffer): New function.
1515 (python-shell-get-process): Use it.
1516 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1517 Python which encoding was used. Don't split-string since we only care
1518 about the first line. Return the temp-file, if applicable.
1519 (python-shell-send-region): Tell compile.el how to turn locations in
1520 the temp-file into locations in the source buffer.
1521
7e3561ee
SM
15222013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1523
4c9797cb
SM
1524 * subr.el (undefined): Add missing behavior from the C code for
1525 unbound keys.
1526
3472b6c6
SM
1527 * rect.el: Use lexical-binding. Add new rectangular region support.
1528 (rectangle-mark): New command.
1529 (rectangle--region): New var.
1530 (deactivate-mark-hook): Reset rectangle--region.
1531 (rectangle--extract-region, rectangle--insert-for-yank)
1532 (rectangle--highlight-for-redisplay)
1533 (rectangle--unhighlight-for-redisplay): New functions.
1534 (region-extract-function, redisplay-unhighlight-region-function)
1535 (redisplay-highlight-region-function): Use them to handle
1536 rectangular region.
1537 * simple.el (region-extract-function): New var.
1538 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1539 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1540 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1541 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1542 (redisplay-unhighlight-region-function)
1543 (redisplay-highlight-region-function): New vars.
1544 (redisplay--update-region-highlight): New function.
1545 (pre-redisplay-function): Use it.
1546 (exchange-point-and-mark): Don't deactivate the mark before
1547 reactivate-it anyway.
1548 * comint.el (comint-kill-region): Remove yank-handler argument.
1549 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1550 (delete-char): Remove property, since it's now part of their
1551 default behavior.
1552 (self-insert-iso): Remove property since this command doesn't exist.
1553
7e3561ee
SM
1554 * emacs-lisp/package.el (package--download-one-archive)
1555 (describe-package-1): Don't query the user about final newline.
1556
b9bef71f
DC
15572013-10-29 Daniel Colascione <dancol@dancol.org>
1558
1559 * net/tramp.el (tramp-methods): Document new functionality.
1560 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1561 tramp-hostname-checker if method provides one instead of scanning
1562 argument list for "%h" to decide hostname acceptability.
1563
4efc33f0
MA
15642013-10-28 Michael Albinus <michael.albinus@gmx.de>
1565
1566 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1567 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1568 Handle COPY-CONTENTS. (Bug#15737)
1569
ed42a877
DU
15702013-10-28 Daiki Ueno <ueno@gnu.org>
1571
1572 * epa-file.el
7e3561ee
SM
1573 (epa-file-cache-passphrase-for-symmetric-encryption):
1574 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1575
18c9f8a2
XF
15762013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1577
7a4bc7be
XF
1578 * image.el (defimage):
1579 (image-load-path): Doc fixes.
18c9f8a2 1580
b1e8e010
AM
15812013-10-27 Alan Mackenzie <acm@muc.de>
1582
1583 Indent statements in macros following "##" correctly.
7e3561ee
SM
1584 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1585 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1586
73d40d1e 15872013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1588
1589 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1590
c8c605ac
DG
15912013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1592
1593 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1594 after `=' is probably a new expression.
1595
ca7e59d4
RS
15962013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1597
1598 * man.el (man-imenu-title): New option.
1599 (Man-mode-map): Add menu. (Bug#15722)
1600 (Man-mode): Add imenu to menu.
1601
bae91342
DG
16022013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1603
1604 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1605 specific in what the first arg can be: a non-keyword word,
1606 string/regexp/percent literal opener, opening paren, or unary
1607 operator followed directly by word.
1608
eb89dc14
SM
16092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1612 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1613 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1614 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1615 Remove vars, they do not apply any more.
1616 (prolog-mode-abbrev-table): Remove redundant declaration.
1617 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1618 (prolog-use-smie): Remove.
1619 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1620 supported by prolog-electric-if-then-else-flag.
1621 (prolog-mode-variables, prolog-menu): Use setq-local.
1622 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1623 Remove binding to `Backspace' since this key doesn't exist anyway.
1624 Remove bindings for electric self-inserting keys.
1625 (prog-mode): Assume it's defined.
1626 (prolog-post-self-insert): New function.
1627 (prolog-mode): Use it.
1628 (prolog-indent-line, prolog-indent-level)
1629 (prolog-find-indent-of-matching-paren)
1630 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1631 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1632 (prolog-goto-next-paren, prolog-in-string-or-comment)
1633 (prolog-tokenize, prolog-inside-mline-comment)
1634 (prolog-find-start-of-mline-comment): Remove functions.
1635 (prolog-find-unmatched-paren, prolog-clause-end)
1636 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1637 (prolog-electric--if-then-else): Rename from
1638 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1639 (prolog-tokenize-searchkey): Remove const.
1640 (prolog-clause-info): Use forward-sexp.
1641 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1642 (prolog-electric-if-then-else): Remove commands.
1643 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1644 for use in post-self-insert-hook.
1645 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1646 for use in post-self-insert-hook.
1647 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1648 for use in post-self-insert-hook.
1649 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1650 adapt it for use in post-self-insert-hook.
1651
3dab0a83
MA
16522013-10-25 Michael Albinus <michael.albinus@gmx.de>
1653
1654 * emacs-lisp/ert.el (ert-run-tests-interactively):
1655 Use `completing-read'. (Bug#9756)
1656
fbfd0e1d
EZ
16572013-10-25 Eli Zaretskii <eliz@gnu.org>
1658
1659 * simple.el (line-move): Call line-move-1 instead of
1660 line-move-visual when the current window hscroll is zero, but
1661 temporary-goal-column indicates we will need to hscroll as result
1662 of the movement. (Bug#15712)
1663
963ce636
DG
16642013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1665
1666 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1667 capitalization. Use :visible instead of :active.
1668 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1669 commands that are used with SMIE.
1670 (ruby-do-end-to-brace): Insert space after `{'.
1671
a0be396a
JA
16722013-10-25 John Anthony <john@jo.hnanthony.com>
1673
f73754c9
JA
1674 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1675
1676 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1677
f5bf77df
GM
16782013-10-25 Glenn Morris <rgm@gnu.org>
1679
1680 * vc/vc.el (vc-print-log): Don't use a working revision unless
1681 one was explicitly specified. (Bug#15322)
1682
37241f62
SM
16832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * subr.el (add-to-list): Preserve return value in compiler-macro
1686 (bug#15692).
1687
6408a65d
RS
16882013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1689
1690 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1691 result. Ask user to retry using '-all' flag. (Bug#15701)
1692
71e3276b
SM
16932013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * emacs-lisp/smie.el: New smie-config system.
1696 (smie-config): New defcustom.
1697 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1698 (smie-config-guess, smie-config-save): New commands.
1699 (smie-config--mode-local, smie-config--buffer-local)
1700 (smie-config--trace, smie-config--modefuns): New vars.
1701 (smie-config--advice, smie-config--mode-hook)
1702 (smie-config--setter, smie-config-local, smie-config--get-trace)
1703 (smie-config--guess-value, smie-config--guess): New functions.
1704 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1705 text properties. Treat "string fence" syntax like string syntax.
1706
1707 * progmodes/sh-script.el (sh-use-smie): Change default.
1708 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1709 (sh-var-value): Simplify by CSE.
1710 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1711 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1712 is used.
1713 (sh-guess-basic-offset): Use cl-incf.
1714 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1715
60db713e
HE
17162013-10-24 Helmut Eller <eller.helmut@gmail.com>
1717
1718 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1719 (bug#15699).
1720
8b251df6
GM
17212013-10-24 Glenn Morris <rgm@gnu.org>
1722
1723 * Makefile.in (abs_top_srcdir): Remove.
1724 (update-subdirs): Use relative path to update-subdirs.
1725
6be0e22b
EZ
17262013-10-24 Eli Zaretskii <eliz@gnu.org>
1727
1728 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1729 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1730 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1731 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1732
50b5b857
MA
17332013-10-24 Michael Albinus <michael.albinus@gmx.de>
1734
1735 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1736 (ert-test-skipped): New error.
1737 (ert-skip, ert-stats-skipped): New defuns.
1738 (ert--skip-unless): New macro.
1739 (ert-test-skipped): New struct.
1740 (ert--run-test-debugger, ert-test-result-type-p)
1741 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1742 (ert--stats-set-test-and-result, ert-char-for-test-result)
1743 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1744 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1745 Handle skipped tests. (Bug#9803)
50b5b857 1746
6f317c2f
GM
17472013-10-24 Glenn Morris <rgm@gnu.org>
1748
e43817c1
GM
1749 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1750
6f317c2f
GM
1751 * Makefile.in (abs_top_srcdir): New, set by configure.
1752 (update-subdirs): Correct build-aux location.
1753
369bbf71
DG
17542013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1755
8297b2cf
DG
1756 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1757 value, whether we could auto-deduce `backend', or not.
1758
369bbf71
DG
1759 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1760 with parameters" example. Simplify the "is it block or is it
1761 hash" check, but also make it more thorough.
1762
d5f1282f
MF
17632013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1764
1765 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1766
bc4aaa31
SM
17672013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1768
03d44565
SM
1769 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1770 { if it is hanging.
1771
bc4aaa31
SM
1772 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1773 :before ";".
1774
f493ff19
JB
17752013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1776
1777 * progmodes/compile.el (compilation-directory-matcher)
1778 (compilation-page-delimiter):
1779 Support GNU Make-4.0 directory quoting. (Bug#15678)
1780
c744a3b9
LL
17812013-10-23 Leo Liu <sdl.web@gmail.com>
1782
1783 * ido.el (ido-tidy): Handle read-only text.
1784
b8e3b0a9
GM
17852013-10-23 Glenn Morris <rgm@gnu.org>
1786
1787 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1788 (emacs, compile, compile-always):
1789 Quote entities that might contain whitespace.
1790 (custom-deps, finder-data, autoloads): Use abs_lisp.
1791 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1792 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1793 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1794
ee4282cd
DG
17952013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1796
bc4aaa31
SM
1797 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1798 Use `following-char'.
7790a270 1799
ee4282cd 18002013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1801
1802 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1803 * progmodes/ruby-mode.el (ruby-smie-rules):
1804 Remove corresponding workaround. Fix indentation rule of ";" so it
1805 also applies when ";" is the parent.
1806
d40a46d7
XF
18072013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1808
1809 * frame.el (display-screens, display-pixel-height)
1810 (display-pixel-width, display-mm-width, display-backing-store)
1811 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1812 (display-visual-class, display-monitor-attributes-list):
1813 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1814
a0f143c9
MG
18152013-10-22 Michael Gauland <mikelygee@amuri.net>
1816
1817 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1818 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1819
18cacc39
DG
18202013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1821
1822 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1823 TODO. Add "." after " @ ".
1824 (ruby-smie--at-dot-call): New function. Checks if point at method
1825 call with explicit target.
1826 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1827 to the method name tokens when it precedes them.
1828 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1829 (ruby-smie-rules): Add rule for indentation before and after "."
1830 token.
1831
df74c4be
SM
18322013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1833
c6dab55f
SM
1834 * textmodes/remember.el (remember-diary-extract-entries):
1835 Avoid add-to-list.
1836
df74c4be
SM
1837 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1838 an instruction.
1839
8c1ae481
DG
18402013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1841
cfef16c0
DG
1842 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1843 (ruby-smie--implicit-semi-p): Add new operator chars.
1844
8c1ae481
DG
1845 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1846 `smie-down-list'.
1847 (ruby-smie--args-separator-p): Check that there's no newline
1848 between method call and its arguments.
1849
87756ca9
AM
18502013-10-20 Alan Mackenzie <acm@muc.de>
1851
1852 Allow comma separated lists after Java "implements".
1853
df74c4be
SM
1854 * progmodes/cc-engine.el (c-backward-over-enum-header):
1855 Parse commas.
87756ca9
AM
1856 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1857 from a "disallowed" list in enum fontification.
1858
c25f8957
JB
18592013-10-20 Johan Bockgård <bojohan@gnu.org>
1860
df74c4be 1861 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1862
c25f8957
JB
1863 * progmodes/verilog-mode.el (verilog-mode): Don't set
1864 comment-indent-function globally.
1865
aca5fcdc
JD
18662013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1867
5f161884
JD
1868 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1869 Move Info menu item creation to ns-win.el.
1870
1871 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1872 in menu bar.
1873
aca5fcdc
JD
1874 * menu-bar.el: Move GNUStep specific menus...
1875
1876 * term/ns-win.el (ns-initialize-window-system): ... to here.
1877
914b7f98
SM
18782013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * simple.el (newline): Only run post-self-insert-hook when
1881 called interactively.
1882
846ffe77
JB
18832013-10-19 Johan Bockgård <bojohan@gnu.org>
1884
1885 * icomplete.el (icomplete-with-completion-tables): Add :version.
1886
033f22dd
AM
18872013-10-19 Alan Mackenzie <acm@muc.de>
1888
1889 Fix fontification bugs with constructors and const.
1890
1891 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1892 CASE 2) Remove the check for the absence of a suffix construct
1893 after a function declaration with only types (no identifiers) in
1894 the parentheses. Also, accept a function declaration with just a
1895 type inside the parentheses, if this type can be positively
1896 recognised as such, or if a prefix keyword like "explicit" nails
1897 down the construct as a declaration.
1898
58ce0cfc
EZ
18992013-10-19 Eli Zaretskii <eliz@gnu.org>
1900
1901 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1902 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1903 the problem whereby selecting a menu item that leads to a
1904 minibuffer prompt moves the cursor out of the minibuffer window,
1905 making it hard to type at the prompt. Suggested by Stefan Monnier
1906 <monnier@iro.umontreal.ca>.
1907
50e28e7d
JD
19082013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1909
1910 * menu-bar.el: Don't make Services menu.
1911
7deed4bf
RS
19122013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1913
1914 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1915 (ffap-alist): Use ffap-c++-mode for c++-mode.
1916 (ffap-c++-path): New variable.
1917 (ffap-c++-mode): New function.
1918
7bcb455b
JVJ
19192013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1920
1921 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1922
f0ff1cd5
MA
19232013-10-18 Michael Albinus <michael.albinus@gmx.de>
1924
1925 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1926 introduced on 2013-09-08, which results in an infinite loop
1927 requesting a password.
1928
d64da4b7
GM
19292013-10-18 Glenn Morris <rgm@gnu.org>
1930
1931 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1932
ea89ff08
WS
19332013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1934
1935 Sync with upstream verilog-mode revision 1a6ecec7.
1936 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1937 (verilog-mode-release-date): Remove.
1938 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1939 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1940 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1941 (verilog-auto-tieoff-ignore-regexp)
1942 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1943 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1944 (verilog-signals-with, verilog-dir-cache-preserving)
1945 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1946 Doc fixes.
1947 (verilog-case-fold): New option, to control case folding in
1948 regexp searches, bug597.
1949 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1950 (verilog-string-match-fold, verilog-in-paren-count)
1951 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1952 (verilog-at-close-struct-p): New functions.
1953 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1954 (verilog-forward-sexp, verilog-set-auto-endcomments):
1955 (verilog-leap-to-case-head): Handle "unique0" case.
1956 (verilog-in-constraint-re): New constant.
1957 (verilog-keywords, verilog-type-font-keywords):
1958 Add some SystemVerilog 1800-2012 keywords.
1959 (verilog-label-be): Remove unimplemented argument, bug669.
1960 (verilog-batch-execute-func): When batch expanding clear
1961 create-lockfiles to prevent spurious user locks when a file ends
1962 up not changing.
1963 (verilog-calculate-indent, verilog-calc-1)
1964 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1965 (verilog-do-indent): Fix indentation of nested constraints
1966 and structures.
1967 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1968 (verilog-auto-inst-param): Use verilog-string-match-fold.
1969 (verilog-read-inst-module-matcher):
1970 Fix AUTOINST on gate primitives with #1.
1971 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1972 Reads all user-defined typed variables.
1973 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1974 (verilog-signals-matching-regexp)
1975 (verilog-signals-not-matching-regexp, verilog-auto):
1976 Respect verilog-case-fold.
1977 (verilog-diff-report): Fix line count.
1978 (verilog-auto-assign-modport): Remove unused local `modi'.
1979 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1980 better handle multidimensional arrays.
1981 Fix packed array ports misadding bit index in AUTOINST, bug637.
1982 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1983 to not double-declare existing outputs and inputs, respectively.
1984 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1985 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1986 (verilog-sk-uvm-component): New skeleton.
1987 (verilog-submit-bug-report): Add verilog-case-fold,
1988 remove verilog-mode-release-date.
1989
ef566920
BR
19902013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1991
1992 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1993 as before.
1994
29df8a0b
RT
19952013-10-18 Reuben Thomas <rrt@sc3d.org>
1996
1997 * textmodes/remember.el (remember): set buffer-offer-save in
1998 remember buffers (bug#13566).
1999
04a19a79
DC
20002013-10-18 Daniel Colascione <dancol@dancol.org>
2001
2002 When evaluating forms in ielm, direct standard output to ielm
2003 buffer. Add new ielm-return-for-effect command. Remove trailing
2004 whitespace throughout.
2005
2006 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2007 (ielm-return-for-effect): New command.
2008 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2009 (ielm-eval-input): Accept optional `for-effect' parameter.
2010 Bind `standard-output' to stream we create using
04a19a79
DC
2011 `ielm-standard-output-impl'. Suppress printing result when
2012 `for-effect'.
2013 (ielm-standard-output-impl): New function.
2014 (inferior-emacs-lisp-mode): Explain new features in documentation.
2015
4c1f03ef
MA
20162013-10-17 Michael Albinus <michael.albinus@gmx.de>
2017
2018 Code cleanup.
2019
2020 * net/tramp.el (tramp-debug-message): Do not check for connection
2021 buffer.
2022 (tramp-message): Use "vector" connection property.
2023
2024 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2025 (tramp-equal-remote, tramp-eshell-directory-change)
2026 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2027 (tramp-adb-handle-rename-file)
2028 * net/tramp-cmds.el (tramp-list-remote-buffers)
2029 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2030 * net/tramp-compat.el (tramp-compat-process-running-p)
2031 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2032 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2033 (tramp-gvfs-handle-rename-file)
2034 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2035 (tramp-set-file-uid-gid)
2036 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2037 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2038 of `file-remote-p'.
2039
2040 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2041 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2042 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2043 (tramp-gw-open-network-stream): Suppress unrelated traces.
2044
2045 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2046 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2047 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2048 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2049 connection property.
2050
2051 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2052 persistency file.
4c1f03ef
MA
2053
2054 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2055 Refactor common code. Improve debug message.
2056 (tramp-maybe-open-connection)
2057 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2058 connection buffer too early.
2059
2060 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2061 from `tramp-smb-actions-with-acl'.
2062 (tramp-smb-actions-set-acl): New defconst.
2063 (tramp-smb-handle-copy-directory)
2064 (tramp-smb-action-get-acl): New defun, renamed from
2065 `tramp-smb-action-with-acl'.
2066 (tramp-smb-action-set-acl): New defun.
2067 (tramp-smb-handle-set-file-acl): Rewrite.
2068
642eb8b6
GM
20692013-10-17 Glenn Morris <rgm@gnu.org>
2070
2071 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2072
85527ff3
SM
20732013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2074
921c1d62
SM
2075 * skeleton.el (skeleton-newline): Remove.
2076 (skeleton-internal-1): Use (insert "\n") instead.
2077
e333fb10
SM
2078 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2079 let-bindings.
2080
85527ff3
SM
2081 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2082 forward-sexp-function while we redo its job (bug#15613).
2083
c8722a97
JB
20842013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2085
2086 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2087 represented by lists.
2088
7a550bbb
GM
20892013-10-16 Glenn Morris <rgm@gnu.org>
2090
2091 * tmm.el (tmm--history): New dynamic variable.
2092 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2093
f19da8ad
MA
20942013-10-16 Michael Albinus <michael.albinus@gmx.de>
2095
2096 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2097 (tramp-smb-errors): Add error messages.
2098 (tramp-smb-actions-with-acl): New defconst.
2099 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2100 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2101 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2102 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2103 (tramp-smb-get-stat-capability): Fix tests.
2104
a24b9961
DK
21052013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2106
2107 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2108 (bug#15580).
2109
62ad85e6
GM
21102013-10-16 Glenn Morris <rgm@gnu.org>
2111
0283d6b0
GM
2112 * ansi-color.el (ansi-color-drop-regexp):
2113 Add 1J, 1K, 2K. (Bug#15617)
2114
012e2f9f
GM
2115 * files.el (hack-local-variables--warned-lexical): New.
2116 (hack-local-variables):
2117 Warn about misplaced lexical-binding. (Bug#15616)
2118
62ad85e6
GM
2119 * net/eww.el (eww-render): Always set eww-current-url,
2120 and update header line. (Bug#15622)
2121 (eww-display-html): ... Rather than just doing it here.
2122
6456c0ea
EZ
21232013-10-15 Eli Zaretskii <eliz@gnu.org>
2124
2125 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2126 menu navigations commands.
2127
c2de5588
DK
21282013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2129
2130 * progmodes/subword.el (subword-capitalize): Be careful when
2131 the search for [[:alpha:]] fails (bug#15580).
2132
ccd4a783
EZ
21332013-10-14 Eli Zaretskii <eliz@gnu.org>
2134
2135 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2136 to commands that scroll the menu.
2137
1eda1d8d
DG
21382013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2139
c2de5588
DK
2140 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2141 Handle methods ending with `?' and `!'.
1eda1d8d 2142
e70181b8
AM
21432013-10-14 Akinori MUSHA <knu@iDaemons.org>
2144
2145 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2146 `japanese-cp932' to `cp932' to fix the problem where saving a
2147 source file written in Shift_JIS twice would end up having
2148 `coding: japanese-cp932' which Ruby could not recognize.
2149 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2150 in `ruby-encoding-map'.
2151 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2152 doesn't need to be explicitly declared in magic comment.
2153 (ruby-encoding-map): Add type declaration for better customize UI.
2154
9148ee92
GM
21552013-10-13 Glenn Morris <rgm@gnu.org>
2156
a5d38e34
GM
2157 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2158 Occur buffers are read-only. http://bugs.debian.org/720775
2159
9148ee92
GM
2160 * emacs-lisp/authors.el (authors-fixed-entries):
2161 Comment out old alpha stuff.
2162
a9ba094b
DG
21632013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2164
2165 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2166 to `after-save-hook' instead of `before-save-hook'.
2167 (ruby-mode-set-encoding): Use the value of coding system used to
2168 write the file. Call `basic-save-buffer-1' after modifying the
2169 buffer.
2170
7a068717
AM
21712013-10-13 Alan Mackenzie <acm@muc.de>
2172
2173 Fix indentation/fontification of Java enum with
2174 "implements"/generic.
2175
c2de5588
DK
2176 * progmodes/cc-engine.el (c-backward-over-enum-header):
2177 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2178 (c-inside-bracelist-p): Uses new function above.
2179 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2180 function above.
2181 (c-font-lock-enum-tail): Uses new function above.
2182
85b64f02
KH
21832013-10-13 Kenichi Handa <handa@gnu.org>
2184
2185 * international/mule-cmds.el (select-safe-coding-system): Remove a
2186 superfluous condition in chekcing whether a coding system is safe
2187 or not.
2188
fc7f501b
OK
21892013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2190
2191 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2192
fdcb2049
AP
21932013-10-13 Andreas Politz <politza@hochschule-trier.de>
2194
2195 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2196
8c106d17
GM
21972013-10-13 Glenn Morris <rgm@gnu.org>
2198
feab892d
GM
2199 * menu-bar.el (menu-bar-update-buffers):
2200 Unify Buffers menu prompt string. (Bug#15576)
2201
b22d0686
GM
2202 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2203
8c106d17
GM
2204 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2205 Add some entries.
2206 (authors-fixed-entries): Use accented form of name.
2207
1b12c797
SM
22082013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2209
650fa7bf 2210 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2211 method calls (bug#15594).
650fa7bf
SM
2212 (ruby-smie--args-separator-p): New function.
2213 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2214 recognize paren-free method calls.
2215
1b12c797
SM
2216 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2217 internals of universal-argument.
2218
029619c8
EZ
22192013-10-11 Eli Zaretskii <eliz@gnu.org>
2220
2221 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2222 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2223 dropped menu on second mouse click on the menu bar.
029619c8 2224
dd070019
SM
22252013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2228 (explicit-shell-file-name): Declare.
2229 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2230 (sh-completion-at-point-function): New function.
2231 (sh-mode): Use it.
2232 (sh-smie--keyword-p): Remove unused argument.
2233 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2234 vars.
2235 (sh-set-shell): Always setup SMIE, even if we use the
2236 old indentation code.
2237
0922b826
DG
22382013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2239
b68e2926
DG
2240 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2241 cases of ? and =.
2242 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2243 predicate would return nil are almost non-existent.
2244 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2245
0922b826
DG
2246 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2247 cache also after commands that modify the buffer but don't move
2248 point.
2249
ee041f2d
SM
22502013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * env.el (substitute-env-in-file-name): New function.
2253 (substitute-env-vars): Extend the meaning of the optional arg.
2254
a5dab159
EZ
22552013-10-10 Eli Zaretskii <eliz@gnu.org>
2256
2257 * term/w32-win.el (dynamic-library-alist): Define separate lists
2258 of GIF DLLs for versions before and after 5.0.0 of giflib.
2259 (Bug#15531)
2260
0449d6cd 22612013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2262
2263 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2264 not locked, use last revision and current source as
2265 defaults. (Bug#15569)
2266
2f6e161e
MY
22672013-10-10 Masatake YAMATO <yamato@redhat.com>
2268
2269 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2270 menu-bar is hidden.
2271
6c8413fc
MR
22722013-10-10 Martin Rudalics <rudalics@gmx.at>
2273
2274 * window.el (pop-to-buffer-same-window): Fix doc-string.
2275 (Bug#15492)
2276
20832de0
SM
22772013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2280
c6e8ae77
AC
22812013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2282
2283 * calendar/icalendar.el (icalendar-import-file):
2284 Fix interactive spec. (Bug#15482)
2285
9db13baf
GM
22862013-10-10 Glenn Morris <rgm@gnu.org>
2287
9271e90e
GM
2288 * desktop.el (desktop-save): Default to saving in .emacs.d,
2289 since PWD is no longer in desktop-path by default. (Bug#15319)
2290
9db13baf
GM
2291 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2292 now that text mode has a menu with the same entry.
2293 (menu-bar-text-mode-auto-fill): Remove now unused func.
2294 * textmodes/text-mode.el (text-mode-map):
2295 Use auto-fill help text from menu-bar.el.
2296
a0be396a 22972013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2298
2299 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2300
2edcd3c7
JL
23012013-10-09 Juri Linkov <juri@jurta.org>
2302
2303 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2304 instead of this-command-keys. Add universal-argument-more and
2305 universal-argument-minus to the list of prefix commands. (Bug#15568)
2306
574411d0
GM
23072013-10-09 Glenn Morris <rgm@gnu.org>
2308
14afa541
GM
2309 * vc/vc-svn.el (vc-svn-create-repo):
2310 Expand paths in file://... url. (Bug#15446)
2311
574411d0
GM
2312 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2313 Add some entries.
2314 (authors): Remove unused local variables.
2315
79804536
SM
23162013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * profiler.el: Create a more coherent calltree from partial backtraces.
2319 (profiler-format): Hide the tail with `invisible' so that C-s can still
2320 find the hidden elements.
2321 (profiler-calltree-depth): Don't recurse so enthusiastically.
2322 (profiler-function-equal): New hash-table-test.
2323 (profiler-calltree-build-unified): New function.
2324 (profiler-calltree-build): Use it.
2325 (profiler-report-make-name-part): Indent the calltree less.
2326 (profiler-report-mode): Add visibility specs for profiler-format.
2327 (profiler-report-expand-entry, profiler-report-toggle-entry):
2328 Expand the whole subtree when provided with a prefix arg.
2329
238150c8
DG
23302013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2331
2332 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2333 iuwu-mod token.
2334 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2335 hanging iuwu-mod token.
2336 (ruby-smie--forward-token): Do not include a dot after a token in
2337 that token.
2338 (ruby-smie--backward-token): Likewise.
2339
b0949cc4
JL
23402013-10-08 Juri Linkov <juri@jurta.org>
2341
2342 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2343 to isearch-other-control-char.
2344 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2345 and isearch-post-command-hook to post-command-hook.
2346 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2347 and isearch-post-command-hook from post-command-hook.
2348 (isearch-unread-key-sequence)
2349 (isearch-reread-key-sequence-naturally)
2350 (isearch-lookup-scroll-key, isearch-other-control-char)
2351 (isearch-other-meta-char): Remove functions.
2352 (isearch-pre-command-hook, isearch-post-command-hook):
2353 New functions based on isearch-other-meta-char rewritten
2354 relying on the new behavior of overriding-terminal-local-map
2355 that does not replace the local keymaps any more. (Bug#15200)
2356
4ed77415
EZ
23572013-10-08 Eli Zaretskii <eliz@gnu.org>
2358
2359 Support menus on text-mode terminals.
2360 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2361 functionality.
2362
2363 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2364
c2de5588
DK
2365 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2366 Move here from mouse.el.
4ed77415
EZ
2367 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2368 and arrow keys.
2369 (tty-menu-navigation-map): New map for TTY menu navigation.
2370
2371 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2372
2373 * frame.el (display-mouse-p): Report text-mode mouse as available
2374 on w32.
2375 (display-popup-menus-p): Report availability if mouse is
2376 available; don't condition on window-system.
2377
2378 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2379 (tty-menu-selected-face): New faces.
2380
b7d5bd82
TL
23812013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2382
06286513
SM
2383 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2384 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2385 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2386 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2387 New constants.
2388 (lisp-mode-variables): New `elisp' argument.
2389 (emacs-lisp-mode): Use it.
2390 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2391 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2392
b7d5bd82
TL
2393 * indent.el: Use lexical-binding.
2394 (indent-region): Add progress reporter.
2395 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2396 last step.
2397 (indent--next-tab-stop): New function to implement this behavior.
2398 (tab-to-tab-stop, move-to-tab-stop): Use it.
2399
24002013-10-08 Teemu Likonen <tlikonen@iki.fi>
2401
2402 * indent.el (indent-rigidly--current-indentation): New function.
2403 (indent-rigidly-map): New var.
2404 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2405
5ea75d23
BG
24062013-10-08 Bastien Guerry <bzg@gnu.org>
2407
2408 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2409
cc5da1ec
SM
24102013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2411
8ffa1a0b
SM
2412 * progmodes/perl-mode.el: Use lexical-binding.
2413 Remove redundant :group args.
2414 (perl-nochange): Change default to be closer to other major modes's
2415 standard behavior.
2416 (perl-indent-line): Don't consider text on current line as a
2417 valid beginning of function from which to indent.
2418
f2223371
SM
2419 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2420 with more than one argument (bug#15538).
2421
44256060
SM
2422 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2423
cc5da1ec
SM
2424 * vc/pcvs.el: Use lexical-binding.
2425 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2426 environment of `eval'.
2427 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2428 than a list of expressions. Adjust callers.
2429 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2430
0ea1599d
DG
24312013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2432
2433 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2434 case of the dot in a chained method call being on the following line.
0ea1599d 2435
da3e5ebb
SM
24362013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2abb4e65
SM
2438 * electric.el (electric-indent-inhibit): New var.
2439 (electric-indent-post-self-insert-function): Use it.
2440 * progmodes/python.el (python-mode): Set it.
2441
d2e0e795
SM
2442 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2443 open braces.
2444
2445 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2446
bdc6b4c8
SM
2447 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2448 (css-mode): Use electric-indent-chars.
2449
da3e5ebb
SM
2450 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2451 (font-lock-beg, font-lock-end): Move before first use.
2452 (nxml-mode): Use syntax-propertize-function.
2453 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2454 (nxml-extend-after-change-region): Remove.
2455 * nxml/xmltok.el: Use lexical-binding.
2456 (xmltok-save): Use `declare'.
2457 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2458 * nxml/nxml-util.el: Use lexical-binding.
2459 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2460 Use `declare'.
2461 * nxml/nxml-ns.el: Use lexical-binding.
2462 (nxml-ns-save): Use `declare'.
2463 (nxml-ns-prefixes-for): Avoid add-to-list.
2464 * nxml/rng-match.el: Use lexical-binding.
2465 (rng--ipattern): Use cl-defstruct.
2466 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2467 (rng-cons-group-after, rng-subst-group-after)
2468 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2469 Use closures instead of `(lambda...).
2470
f8f91d5d
MA
24712013-10-07 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2474 of BEG and END.
2475
da3e5ebb
SM
2476 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2477 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2478 (tramp-gvfs-handle-insert-file-contents): Remove function.
2479
da3e5ebb
SM
2480 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2481 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2482
2483 * net/trampver.el: Update release number.
2484
7ccae3b1
SM
24852013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2486
55ca2c0d
SM
2487 * progmodes/compile.el (compilation-parse-errors):
2488 Use compilation--put-prop.
2489 (compilation--ensure-parse): Check compilation-multiline.
2490
731fc3ae
SM
2491 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2492
da3e5ebb
SM
2493 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2494 lexical-binding.
a5833280 2495
2e7ba2c2
SM
2496 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2497
7ccae3b1
SM
2498 * progmodes/ruby-mode.el: Fix recently added tests.
2499 (ruby-smie-grammar): Add - and +.
2500 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2501 (ruby-smie--backward-id): New functions.
2502 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2503 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2504 any more.
2505
85698d63
LL
25062013-10-07 Leo Liu <sdl.web@gmail.com>
2507
2508 * register.el (register-preview-delay)
2509 (register-preview-functions): New variables.
2510 (register-read-with-preview, register-preview)
2511 (register-describe-oneline): New functions.
2512 (point-to-register, window-configuration-to-register)
2513 (frame-configuration-to-register, jump-to-register)
2514 (number-to-register, view-register, insert-register)
2515 (copy-to-register, append-to-register, prepend-to-register)
2516 (copy-rectangle-to-register): Use register-read-with-preview to
2517 read register. (Bug#15525)
2518
3986af6c
DS
25192013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2520
2521 * net/network-stream.el (network-stream-open-starttls): Don't add
2522 --insecure if it's already present, because that gnutls-cli
2523 rejects getting that parameter twice.
2524
5cd9cda9
DG
25252013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2526
2527 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2528 keyword, too.
2529
da9ea6d9
DG
25302013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2531
2532 * newcomment.el (comment-use-global-state): Change default value
2533 to t, mark obsolete (Bug#15251).
2534 (comment-beginning): In addition to `comment-to-syntax', check the
2535 value of `comment-use-global-state'.
2536
34d1a133
SM
25372013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2540 (ruby-comment-column): Follow the global default, by default.
2541 (ruby-smie-grammar): Add assignment syntax.
2542 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2543 open-paren, a comma, or a \.
2544 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2545 and line continuations.
2546 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2547 followed by implicit semi-colons. Add rule for string concatenation
2548 and for indentation at BOB.
2549 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2550
2551 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2552 calling next-sexp, since next-token may have skipped chars which
2553 next-sexp doesn't know should be skipped!
2554
6f6ab820
LL
25552013-10-05 Leo Liu <sdl.web@gmail.com>
2556
34d1a133
SM
2557 * progmodes/octave.el (octave-send-region):
2558 Call compilation-forget-errors.
6f6ab820 2559
34ca0f4c
XF
25602013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2561
2562 * vc/vc-svn.el (vc-svn-find-admin-dir):
2563 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2564 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2565 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2566 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2567
a27c1b72
SM
25682013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2571
258ab3bc
SM
25722013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * subr.el (read-passwd): Hide chars even when called within a context
2575 where after-change-functions is disabled (bug#15501).
2576 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2577 until we removed ourself from overriding-terminal-local-map.
2578
939fb29c
LL
25792013-10-04 Leo Liu <sdl.web@gmail.com>
2580
258ab3bc
SM
2581 * progmodes/octave.el (inferior-octave-mode):
2582 Call compilation-forget-errors.
939fb29c 2583
63bd7f35
XF
25842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2585
2586 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2587
9e6229fa
MA
25882013-10-04 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * net/secrets.el (secrets-create-collection): Add optional
2591 argument ALIAS. Use proper Label keyword. Append ALIAS as
2592 dbus-call-method argument. (Bug#15516)
2593
1dab32a3
LL
25942013-10-04 Leo Liu <sdl.web@gmail.com>
2595
2596 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2597 (inferior-octave-compilation-font-lock-keywords): New variables.
2598 (compilation-error-regexp-alist)
2599 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2600 (inferior-octave-mode): Use compilation-shell-minor-mode.
2601
6cad7ba3
JS
26022013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2603
2604 * minibuffer.el (completion--replace): Be careful that `end' might be
2605 a marker.
2606
acbadd00
DU
26072013-10-03 Daiki Ueno <ueno@gnu.org>
2608
2609 Add support for package signature checking.
2610 * emacs-lisp/package.el (url-http-file-exists-p)
2611 (epg-make-context, epg-context-set-home-directory)
2612 (epg-verify-string, epg-context-result-for)
2613 (epg-signature-status, epg-signature-to-string)
2614 (epg-check-configuration, epg-configuration)
2615 (epg-import-keys-from-file): Declare.
2616 (package-check-signature): New user option.
2617 (package-unsigned-archives): New user option.
2618 (package-desc): Add `signed' field.
2619 (package-load-descriptor): Set `signed' field if .signed file exists.
2620 (package--archive-file-exists-p): New function.
2621 (package--check-signature): New function.
2622 (package-install-from-archive): Check package signature.
2623 (package--download-one-archive): Check archive signature.
2624 (package-delete): Remove .signed file.
2625 (package-import-keyring): New command.
2626 (package-refresh-contents): Import default keyring.
2627 (package-desc-status): Add "unsigned" status.
2628 (describe-package-1, package-menu--print-info)
2629 (package-menu-mark-delete, package-menu--find-upgrades)
2630 (package-menu--status-predicate): Support "unsigned" status.
2631
adf2aa61
SM
26322013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2635 the new compilation scheme using the new byte-codes.
2636
2637 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2638 (byte-pophandler): New byte codes.
2639 (byte-goto-ops): Adjust accordingly.
2640 (byte-compile--use-old-handlers): New var.
2641 (byte-compile-catch): Use new byte codes depending on
2642 byte-compile--use-old-handlers.
2643 (byte-compile-condition-case--old): Rename from
2644 byte-compile-condition-case.
2645 (byte-compile-condition-case--new): New function.
2646 (byte-compile-condition-case): New function that dispatches depending
2647 on byte-compile--use-old-handlers.
2648 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2649 when we can.
2650
2651 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2652 Optimize under `condition-case' and `catch' if
2653 byte-compile--use-old-handlers is nil.
2654 (disassemble-offset): Handle new bytecodes.
2655
328a8179
SM
26562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * subr.el (error): Use `declare'.
2659 (decode-char, encode-char): Use advertised-calling-convention instead
2660 of the docstring to discourage use of the `restriction' arg.
2661
15a1e936
DU
26622013-10-03 Daiki Ueno <ueno@gnu.org>
2663
2664 * epg.el (epg-verify-file): Add a comment saying that it does not
2665 notify verification error as a return value nor a signal.
2666 (epg-verify-string): Ditto.
2667
376f862a
KR
26682013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2669
2670 * progmodes/compile.el (compilation-start): Try globbing the arg to
2671 `cd' (bug#15417).
2672
a2f93a5f
MA
26732013-10-02 Michael Albinus <michael.albinus@gmx.de>
2674
2675 Sync with Tramp 2.2.8.
2676
2677 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2678 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2679 * net/trampver.el: Update release number.
2680
0daa0804
JD
26812013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2682
2683 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2684 and default-process-coding-system for darwin only.
2685
abd1ae34
SM
26862013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2689
be4e325d
MH
26902013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2691
2692 * vc/vc-git.el (vc-git-grep): Disable pager.
2693
e9155c4a
DG
26942013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2695
494e898b
DG
2696 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2697 Use :url instead of :homepage, as per
2698 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2699
e9155c4a
DG
2700 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2701 non-nil, use `syntax-ppss' (Bug#15251).
2702
481a8e0f
RS
27032013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2704
be4e325d
MH
2705 * progmodes/octave.el (inferior-octave-startup-file):
2706 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2707
056453c6
DG
27082013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2709
be4e325d
MH
2710 * emacs-lisp/package.el (package-desc-from-define):
2711 Accept additional arguments as plist, convert them to an alist and store
2712 them in the `extras' slot.
056453c6
DG
2713 (package-generate-description-file): Convert extras alist back to
2714 plist and append to the `define-package' form arguments.
2715 (package--alist-to-plist): New function.
2716 (package--ac-desc): Add `extras' slot.
2717 (package--add-to-archive-contents): Check if the archive-contents
2718 vector is long enough, and if it is, pass its `extras' slot value
2719 to `package-desc-create'.
2720 (package-buffer-info): Call `lm-homepage', pass the returned value
2721 to `package-desc-from-define'.
2722 (describe-package-1): Render the homepage button (Bug#13291).
2723
be4e325d
MH
2724 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2725 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2726
832966e5
JD
27272013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2728
2729 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2730 and default-process-coding-system to utf-8-unix (Bug#15402).
2731
6cfe977d
XF
27322013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2733
2734 * subr.el (looking-back): Do not recommend using looking-back.
2735
38de11bd
AM
27362013-09-28 Alan Mackenzie <acm@muc.de>
2737
2738 Fix indentation/fontification of Java enum with "implements".
2739
2740 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2741 regexp which matches "implements", etc., in Java.
2742 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2743 specifier clauses coming after "enum".
2744 * progmodes/cc-fonts.el (c-font-lock-declarations)
2745 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2746 after "enum".
2747
1610938f
JD
27482013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2749
2750 * faces.el (region): Change ns_selection_color to
2751 ns_selection_fg_color, add ns_selection_bg_color.
2752
e090f499
LL
27532013-09-28 Leo Liu <sdl.web@gmail.com>
2754
4d2e94d1
LL
2755 * progmodes/octave.el (inferior-octave-completion-table)
2756 (inferior-octave-completion-at-point): Minor tweaks.
2757
e090f499
LL
2758 * textmodes/ispell.el (ispell-lookup-words): Rename from
2759 lookup-words. (Bug#15460)
2760 (lookup-words): Obsolete.
2761 (ispell-complete-word, ispell-command-loop): All uses changed.
2762
7e138a62
RS
27632013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2764
2765 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2766 (octave-mode-menu): Add octave-send-buffer.
2767 (octave-send-buffer): New function.
2768
5af5ed08
RS
27692013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2770
2771 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2772 octave-lookfor.
2773 (octave-mode-menu): Add octave-lookfor.
2774 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2775 octave-lookfor.
2776 (octave-lookfor): New function.
2777
3b7b2692
SM
27782013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/cl-macs.el:
2781 (cl--loop-destr-temps): Remove.
2782 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2783 its convention.
2784 (cl--loop-set-iterator-function): New function.
2785 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2786 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2787 Bind `it' with `let' instead of substituting it with `cl-subst'.
2788 (cl--unused-var-p): New function.
2789 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2790 Eliminate some unused variable warnings (bug#15326).
2791
529fb53f
TH
27922013-09-27 Tassilo Horn <tsdh@gnu.org>
2793
2794 * doc-view.el (doc-view-scale-reset): Rename from
2795 `doc-view-reset-zoom-level'.
2796 (doc-view-scale-adjust): New command.
2797 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2798 `doc-view-scale-adjust'.
2799
0550c95a
TH
28002013-09-26 Tassilo Horn <tsdh@gnu.org>
2801
2802 * doc-view.el (doc-view-reset-zoom-level): New command.
2803 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2804 zoom commands (bug#15466).
2805
6950f152
KH
28062013-09-26 Kenichi Handa <handa@gnu.org>
2807
2808 * international/quail.el (quail-help): Make it not a command.
2809
39587580
LL
28102013-09-26 Leo Liu <sdl.web@gmail.com>
2811
2812 * minibuffer.el (completion-all-sorted-completions): Make args
2813 optional as they are.
2814
00578659
DC
28152013-09-25 Daniel Colascione <dancol@dancol.org>
2816
2817 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2818 specs are and that they're not evaluated.
2819
0c173878
SS
28202013-09-24 Sam Steingold <sds@gnu.org>
2821
2822 * midnight.el (clean-buffer-list-kill-regexps)
2823 (clean-buffer-list-kill-buffer-names): Update for the new Man
2824 buffer naming which includes the object name.
2825
84998447
SM
28262013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2829 (eshell-parse-command, eshell-parse-pipeline): Use it since
2830 eshell-separate-commands requires a dynamic scoped var.
2831 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2832
33215353
LL
28332013-09-23 Leo Liu <sdl.web@gmail.com>
2834
2835 * autoinsert.el (auto-insert-alist): Make the value of
2836 lexical-binding match its file setting.
2837
57b16162
JB
28382013-09-23 Juanma Barranquero <lekktu@gmail.com>
2839
c8af4e67
JB
2840 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2841
57b16162
JB
2842 * autoarg.el (autoarg-kp-digit-argument):
2843 * electric.el (Electric-command-loop):
2844 * kmacro.el (kmacro-step-edit-insert):
2845 Do not set universal-argument-num-events.
2846
7186ba60
LL
28472013-09-22 Leo Liu <sdl.web@gmail.com>
2848
2849 * files.el (interpreter-mode-alist): Add octave.
2850
ece15004
AM
28512013-09-21 Alan Mackenzie <acm@muc.de>
2852
2853 C++: fontify identifier in declaration following "public:" correctly.
2854 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2855 to match "public", etc.
2856 (c-decl-prefix-re): Add ":" into the C++ value.
2857 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2858 bit. Add a check for a ":" preceded by "public", etc.
2859
75d83e22
EZ
28602013-09-21 Eli Zaretskii <eliz@gnu.org>
2861
2862 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2863 recognized by GDB 7.5 and later.
2864
d052d3bd
XF
28652013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2866
2867 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2868
31dca772
R
28692013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * subr.el (internal--call-interactively): New const.
2872 (called-interactively-p): Use it (bug#3984).
2873
98ccf24e
XF
28742013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2875
2876 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2877 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2878 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2879
c39cc7d1
SM
28802013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2883 (eshell-ls-orig-insert-directory): Remove.
2884 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2885 (eshell-ls-use-in-dired): Use advice-add/remove.
2886 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2887 Add `orig-fun' arg for use in :around advice.
2888 Make it check (redundantly) eshell-ls-use-in-dired.
2889
9a0289a2
GM
28902013-09-19 Glenn Morris <rgm@gnu.org>
2891
a2c501b8
GM
2892 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2893
c440407a
GM
2894 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2895
9a0289a2
GM
2896 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2897
85e05915
MA
28982013-09-19 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2901 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2902 (tramp-get-remote-python): New defuns.
2903 (tramp-get-remote-uid-with-perl)
2904 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2905 contributed by yary <not.com@gmail.com> (tiny change).
2906 (tramp-get-remote-uid-with-python)
2907 (tramp-get-remote-gid-with-python): New defuns. Python code
2908 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2909 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2910
ce503312
GM
29112013-09-19 Glenn Morris <rgm@gnu.org>
2912
f7544773
GM
2913 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2914
72fd2877
GM
2915 * eshell/em-unix.el (eshell-remove-entries):
2916 Rename argument to avoid name-clash with global `top-level'.
2917
336b5a56
GM
2918 * eshell/esh-proc.el (eshell-kill-process-function):
2919 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2920 (eshell-reset-after-proc): Remove unused arg `proc'.
2921
57a3a53d
GM
2922 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2923 (directory-files-and-attributes): Mark unused arg.
2924
3261d4af
GM
2925 * eshell/em-unix.el (eshell-remove-entries):
2926 Remove unused arg `path'. Update callers.
2927
8e51b5d0
GM
2928 * eshell/em-hist.el (eshell-hist-parse-arguments):
2929 Remove unused arg `silent'. Update callers.
2930
ce503312
GM
2931 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2932 Fix (f)boundp mix-up.
2933
2934 * eshell/em-smart.el (eshell-smart-scroll-window)
2935 (eshell-disable-after-change):
336b5a56 2936 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2937
ee3ce8a7
AM
29382013-09-18 Alan Mackenzie <acm@muc.de>
2939
2940 Fix fontification of type when followed by "const".
2941 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2942 "known" types from fontification.
2943
ec9177ba
GM
29442013-09-18 Glenn Morris <rgm@gnu.org>
2945
7bb3e768
GM
2946 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2947 (chart-face-list): Drop Emacsen without display-color-p.
2948
5148da15
GM
2949 * net/eww.el (libxml-parse-html-region): Declare.
2950 (eww-display-html): Explicit error if no libxml2 support.
2951
2f68e157
GM
2952 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2953
9019d095
GM
2954 * image.el (image-type-from-buffer, image-multi-frame-p):
2955 Remove --without-x warning/error.
67645389 2956
5f30349b 2957 * mouse.el (mouse-yank-primary):
45069b2e 2958 * term.el (term-mouse-paste):
5f30349b
GM
2959 Reorder to silence --without-x compilation.
2960
cd8edbbe
GM
2961 * mpc.el (doc-view-mode): Silence --without-x compilation.
2962
8a78544e
GM
2963 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2964 Silence --without-x compilation.
2965
12679bfd
GM
2966 * progmodes/gud.el (gud-find-file, gud-mode):
2967 Silence --without-x compilation.
2968 (tooltip-mode): Declare.
30810a05 2969
f0047cb9
GM
2970 * wdired.el (dired-backup-overwrite): Remove declaration.
2971 (wdired-mode-map): Add doc string.
2972
e740f9d2
GM
2973 * custom.el (x-get-resource): Declare.
2974
92d77c89
GM
2975 * eshell/em-glob.el (ange-cache):
2976 * eshell/em-unix.el (ange-cache): Declare.
2977
76e69577
GM
2978 * faces.el (x-display-list, x-open-connection, x-get-resource):
2979 Declare.
7e58af4b
GM
2980
2981 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2982 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2983 Declare.
76e69577 2984
4bd4c0af 2985 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2986
ffb82dbd
GM
2987 * net/gnutls.el (gnutls-log-level): Declare.
2988
986ed135
GM
2989 * net/shr.el (image-size, image-animate): Declare.
2990
e740f9d2
GM
2991 * simple.el (font-info): Declare.
2992
d2f3e9f8
GM
2993 * subr.el (x-popup-dialog): Declare.
2994
047a1a4c
GM
2995 * term/common-win.el (x-select-enable-primary)
2996 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2997 Declare.
2998
f4a1d572
GM
2999 * term/ns-win.el (x-handle-args): Declare.
3000
e843de77
GM
3001 * term/x-win.el (x-select-enable-clipboard): Declare.
3002
5fa89513
GM
3003 * term/w32-win.el (create-default-fontset): Declare.
3004
38702b5b
GM
3005 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3006 Declare.
3007
e740f9d2
GM
3008 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3009 (fit-frame-to-buffer): Explicit error if --without-x.
3010 (mouse-autoselect-window-select): Silence compiler.
3011
49a053fc
GM
3012 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3013
3014 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3015 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3016 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3017 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3018 Remove unused local variables.
3019
3020 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3021
ec9177ba
GM
3022 * textmodes/two-column.el: Make 2C-split work for --without-x.
3023 (scroll-bar-columns): Autoload.
3024 (top-level): Require fringe when compiling.
3025
9f25cb77
LL
30262013-09-18 Leo Liu <sdl.web@gmail.com>
3027
3028 * subr.el (add-hook): Robustify to handle closure as well.
3029
2b42da98
GM
30302013-09-17 Glenn Morris <rgm@gnu.org>
3031
3032 * simple.el (messages-buffer-mode-map): Unbind "g".
3033
e8b66a6a
SM
30342013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3035
9c0ad4f7
SM
3036 * help-mode.el (help-mode-finish): Use derived-mode-p.
3037 Remove obsolete highlighting.
3038
7a806dfb
SM
3039 * play/life.el (life-mode): Use define-derived-mode. Derive from
3040 special-mode.
3041 (life): Let-bind inhibit-read-only.
3042 (life-setup): Avoid `setq'. Use `life-mode'.
3043
96dbf5a8
SM
3044 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3045 which should not be needed any more.
3046 (package-menu-refresh, package-menu-describe-package): Use user-error.
3047
e8b66a6a
SM
3048 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3049 (eshell-post-rewrite-command-hook): Make obsolete.
3050 (eshell-parse-command): Simplify.
3051 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3052 (eshell--cmd): Declare.
3053 (eshell-parse-pipeline): Remove unused var `final-p'.
3054 Pass a dynvar to eshell-post-rewrite-command-hook.
3055 Implement the new eshell-post-rewrite-command-function.
3056 (eshell-invoke-directly): Remove unused arg `input'.
3057 * eshell/esh-io.el (eshell-io-initialize):
3058 Use eshell-post-rewrite-command-function (bug#15399).
3059 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3060 adjust to new calling convention.
3061 (eshell-create-handles): Rename args to avoid clashing with dynvar
3062 `standard-output'.
3063
90582f05
GM
30642013-09-17 Glenn Morris <rgm@gnu.org>
3065
3066 * simple.el (messages-buffer-mode): New major mode.
3067 (messages-buffer): New function.
3068 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3069 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3070 (ert-run-test): Use `messages-buffer' function.
90582f05 3071 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3072 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3073 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3074
39eb0cb5 30752013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3076
3077 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3078
1f1e06e2
SM
3079 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3080
70568a90
SM
30812013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3082
504a0381
SM
3083 * icomplete.el (icomplete-in-buffer): New var.
3084 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3085 vars and replace them with functions.
3086 (icomplete-minibuffer-setup): Adjust accordingly.
3087 (icomplete--completion-table, icomplete--completion-predicate)
3088 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3089 New functions.
3090 (icomplete-forward-completions, icomplete-backward-completions)
3091 (icomplete-simple-completing-p, icomplete-exhibit)
3092 (icomplete-completions): Use them.
3093 (icomplete--in-region-buffer): New var.
3094 (icomplete--in-region-setup): New function.
3095 (icomplete-mode): Use it.
3096
70568a90
SM
3097 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3098 (bug#15379).
3099 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3100 return args and options.
3101 (eshell-eval-using-options): Use the new return value of
3102 eshell--do-opts to set the options's vars in their scope.
3103 (eshell--set-option): Rename from eshell-set-option.
3104 Add arg `opt-vals'.
3105 (eshell--process-option): Rename from eshell-process-option.
3106 Add arg `opt-vals'.
3107 (eshell--process-args): Use an `opt-vals' alist to store the options's
3108 values during their processing and return them additionally to the
3109 remaining args.
3110
578c21bc
DG
31112013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3112
3113 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3114 continuation character an operator, as far as indentation is
3115 concerned (Bug#15369).
3116
c089653d
MR
31172013-09-15 Martin Rudalics <rudalics@gmx.at>
3118
3119 * window.el (window--state-put-2): Don't process buffer state
3120 when buffer doesn't exist any more (Bug#15382).
3121
1e53bb4b
GM
31222013-09-15 Glenn Morris <rgm@gnu.org>
3123
30753242
GM
3124 * eshell/em-unix.el (eshell/rm):
3125 Make -f ignore missing files. (Bug#15373)
3126
1e53bb4b
GM
3127 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3128 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3129 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3130
0d8863b3
GM
31312013-09-14 Glenn Morris <rgm@gnu.org>
3132
3133 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3134
d3fc6549
GM
31352013-09-13 Glenn Morris <rgm@gnu.org>
3136
3137 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3138 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3139
fcd42c11
DA
31402013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3141
3142 * frame.el (x-focus-frame): Mark as declared in frame.c.
3143
7830899f
SM
31442013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * ls-lisp.el: Use advice-add.
3147 (original-insert-directory): Remove.
3148 (ls-lisp--insert-directory): Rename from insert-directory; add
3149 `orig-fun' argument.
3150 (insert-directory): Advise.
3151
84387cd2
EZ
31522013-09-13 Eli Zaretskii <eliz@gnu.org>
3153
3154 * term.el (term-emulate-terminal): Decode the command string
3155 before passing it to term-command-hook. (Bug#15337)
3156
35ffc6ba
GM
31572013-09-13 Glenn Morris <rgm@gnu.org>
3158
5c3f9bcc
GM
3159 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3160
2ada368a
GM
3161 * eshell/esh-ext.el (eshell-search-path): Declare.
3162
fcef2e13
GM
3163 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3164 Otherwise an error occurs if eshell-dirs module not loaded.
3165
35ffc6ba
GM
3166 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3167
35c3d36e
MA
31682013-09-13 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3171 `tramp-check-proper-host'. Check for a valid method name.
3172
3173 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3174 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3175 * net/tramp-sh.el (tramp-maybe-open-connection):
3176 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3177
3178 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3179 also for hash values.
3180
ae5e4c48
SM
31812013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3182
379add74
SM
3183 * term/ns-win.el (parameters): Don't declare as dynamic.
3184 (before-make-frame-hook): Don't add ineffective function.
3185
ae5e4c48
SM
3186 * eshell/*.el: Use lexical-binding (bug#15231).
3187
b5623270
KH
31882013-09-12 Kenichi Handa <handa@gnu.org>
3189
ae5e4c48 3190 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3191
30213927
GM
31922013-09-12 Glenn Morris <rgm@gnu.org>
3193
be94d713 3194 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3195 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3196
44915370
GM
3197 * subr.el (do-after-load-evaluation): Also give compiler warnings
3198 when obsolete files are used (except by obsolete files).
3199
a6ae021f
GM
3200 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3201 in the status output, assume `filename' is the first. (Bug#15322)
3202
40e64f0c
GM
3203 * vc/vc.el (vc-deduce-fileset): Doc fix.
3204
16d9f896
GM
3205 * calc/calc-help.el (Info-goto-node):
3206 * progmodes/cperl-mode.el (Info-find-node):
3207 * vc/ediff.el (Info-goto-node): Update declarations.
3208
dea01c6e
GM
3209 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3210
759880bf 3211 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3212 (vc-bzr-pull): Require vc-dispatcher.
3213 * vc/vc-git.el (vc-compilation-mode): Declare.
3214 (vc-git-pull): Require vc-dispatcher.
3215
08d66420
GM
3216 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3217
30b626e9
GM
3218 * progmodes/octave.el (help-button-action): Declare.
3219
8c05cb10
GM
3220 * shell.el (shell-directory-tracker): Output error as a message
3221 rather than just returning it as a string.
3222 (shell-process-pushd): Remove useless use of message.
3223
30213927
GM
3224 * dframe.el (dframe-timer-fn):
3225 * files.el (dir-locals-read-from-file):
3226 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3227 (mpc-format):
3228 * reveal.el (reveal-post-command):
3229 * saveplace.el (load-save-place-alist-from-file):
3230 * shell.el (shell-resync-dirs):
3231 * w32-common-fns.el (x-get-selection-value):
3232 * emacs-lisp/copyright.el (copyright-find-copyright):
3233 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3234 * emulation/tpu-edt.el (tpu-copy-keyfile):
3235 * play/bubbles.el (bubbles--mark-neighbourhood):
3236 * progmodes/executable.el
3237 (executable-make-buffer-file-executable-if-script-p):
3238 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3239
d3b049e6
SM
32402013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3241
170266d0
SM
3242 Cleanup Eshell to rely less on dynamic scoping.
3243 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3244 last-value, and ext-command here. Bind `args' closer to `body'.
3245 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3246 (eshell--args): Declare new dynamic var.
3247 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3248 last-value, and ext-command. Pass `args' to `body'.
3249 (eshell-process-args): Bind eshell--args.
3250 (eshell-set-option): Use eshell--args.
3251 * eshell/eshell.el (eshell): Use derived-mode-p.
3252 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3253 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3254 (eshell-glob-function): Declare.
3255 * eshell/esh-util.el: Require cl-lib.
3256 (eshell-read-hosts-file): Avoid add-to-list.
3257 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3258 `err'.
3259 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3260 Declare.
3261 (eshell/diff): Remove unused var `err'.
3262 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3263 `killflag'.
3264 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3265 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3266 first use.
3267 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3268 Move declaration before first use.
3269 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3270 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3271 rely on cl-return.
3272
56834f3b
GM
32732013-09-12 Glenn Morris <rgm@gnu.org>
3274
3275 * term/ns-win.el (global-map): Remove binding for ispell-next,
3276 deleted 1999-05-29. (Bug#15357)
3277
5c91a2b8
GM
32782013-09-11 Glenn Morris <rgm@gnu.org>
3279
da712f22
GM
3280 * echistory.el (electric-command-history): Remove call to deleted func.
3281
512e4cdc
GM
3282 * play/landmark.el (landmark-mode): Fix typos.
3283
d3506ca5
GM
3284 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3285 Check cvs-sort-ignore-file is bound.
3286
5c91a2b8
GM
3287 * savehist.el: No need for cl when compiling on Emacs.
3288
feeff482
SM
32892013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3290
656bd483
SM
3291 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3292 (bug#15338).
d3b049e6
SM
3293 (eshell-self-insert-command, eshell-send-invisible):
3294 Remove unused argument.
656bd483
SM
3295 (eshell-handle-control-codes): Remove unused var `orig'.
3296 Avoid delete-backward-char.
3297
feeff482
SM
3298 * files.el (set-auto-mode): Simplify a bit further.
3299
2a08047a
GM
33002013-09-11 Glenn Morris <rgm@gnu.org>
3301
3302 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3303 (set-auto-mode): Don't regexp-quote elements.
3304 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3305 * progmodes/cc-mode.el (interpreter-mode-alist):
3306 * progmodes/ruby-mode.el (interpreter-mode-alist):
3307 Revert previous change.
3308
34675540
SM
33092013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3310
1b3b87df
SM
3311 * play/snake.el (snake-mode):
3312 * play/mpuz.el (mpuz-mode):
3313 * play/landmark.el (lm-mode):
3314 * play/blackbox.el (blackbox-mode):
3315 * play/5x5.el (5x5-mode):
3316 * obsolete/options.el (Edit-options-mode):
3317 * net/quickurl.el (quickurl-list-mode):
3318 * net/newst-treeview.el (newsticker-treeview-mode):
3319 * mail/rmailsum.el (rmail-summary-mode):
3320 * mail/mspools.el (mspools-mode):
3321 * locate.el (locate-mode):
3322 * ibuffer.el (ibuffer-mode):
3323 * emulation/ws-mode.el (wordstar-mode):
3324 * emacs-lisp/debug.el (debugger-mode):
3325 * array.el (array-mode):
3326 * net/eudc.el (eudc-mode): Use define-derived-mode.
3327 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3328 Move initialization into declaration.
3329 (mairix-searches-mode): Use define-derived-mode.
3330 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3331 (eudc-edit-hotlist): Use dolist.
3332 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3333 (Man-mode): Use define-derived-mode.
3334 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3335 (Info-edit-mode): Use define-derived-mode.
3336 (Info-cease-edit): Use Info-mode.
3337 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3338 into declaration.
3339 (eshell-mode): Use define-derived-mode.
3340 * chistory.el (command-history-mode-map): Rename from
3341 command-history-map.
3342 (command-history-mode): Use define-derived-mode.
da712f22 3343 (Command-history-setup): Remove function.
1b3b87df
SM
3344 * calc/calc.el (calc-trail-mode-map): New var.
3345 (calc-trail-mode): Use define-derived-mode.
3346 (calc-trail-buffer): Set calc-main-buffer manually.
3347 * bookmark.el (bookmark-insert-annotation): New function.
3348 (bookmark-edit-annotation): Use it.
3349 (bookmark-edit-annotation-mode): Make it a proper major mode.
3350 (bookmark-send-edited-annotation): Use derived-mode-p.
3351 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3352 closer to its ideal place. Use \' to match EOS.
3353
34675540
SM
3354 * profiler.el (profiler-calltree-find): Use function-equal.
3355
6a5c15d9
GM
33562013-09-10 Glenn Morris <rgm@gnu.org>
3357
1af4c220
GM
3358 * files.el (interpreter-mode-alist): Convert to regexps.
3359 (set-auto-mode): Adapt for this. (Bug#15306)
3360 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3361 Comment out unused variable.
3362 * progmodes/cc-mode.el (interpreter-mode-alist):
3363 * progmodes/python.el (interpreter-mode-alist):
3364 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3365 * progmodes/sh-script.el (sh-set-shell):
3366 No longer use interpreter-mode-alist to get list of shells.
3367
6a5c15d9
GM
3368 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3369
8c27f5ff
SM
33702013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3371
02ef6c1a 3372 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3373 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3374 Bind switch-frame explicitly. Replace universal-argument-minus with
3375 a conditional binding.
3376 (universal-argument-num-events, saved-overriding-map): Remove.
3377 (restore-overriding-map): Remove.
3378 (universal-argument--mode): Rename from save&set-overriding-map,
3379 and rewrite.
3380 (universal-argument, universal-argument-more, negative-argument)
3381 (digit-argument): Adjust accordingly.
3382 (universal-argument-minus): Remove.
3383 (universal-argument-other-key): Remove.
3384
8c27f5ff
SM
3385 * subr.el (with-demoted-errors): Add `format' argument.
3386
6480194c
MA
33872013-09-10 Michael Albinus <michael.albinus@gmx.de>
3388
3389 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3390 `tramp-cleanup-connection'.
3391
3392 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3393 parameters KEEP-DEBUG and KEEP-PASSWORD.
3394
3395 * net/tramp.el (tramp-file-name-handler):
3396 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3397 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3398 (tramp-maybe-open-connection):
8c27f5ff
SM
3399 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3400 Use `tramp-cleanup-connection'.
6480194c 3401
8c27f5ff
SM
3402 * net/tramp-sh.el (tramp-maybe-open-connection):
3403 Catch 'uname-changed inside the progress reporter.
6480194c 3404
e5e916d8
GM
34052013-09-10 Glenn Morris <rgm@gnu.org>
3406
9a2c9b47
GM
3407 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3408
e5e916d8
GM
3409 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3410 returns "alternate access method" in mode (eg "-rw-r--r--.").
3411
144e38fe
GM
34122013-09-08 Glenn Morris <rgm@gnu.org>
3413
3414 * saveplace.el (load-save-place-alist-from-file):
3415 Demote errors. (Bug#15305)
3416
af9ff9e8
MA
34172013-09-08 Michael Albinus <michael.albinus@gmx.de>
3418
3419 Improve compatibility with older Emacsen, and XEmacs.
3420
3421 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3422 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3423 (with-tramp-progress-reporter): Do not let-bind `result'.
3424 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3425 (tramp-handle-make-auto-save-file-name): New function, moved from
3426 tramp-sh.el.
3427
3428 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3429 for `make-auto-save-file-name'.
8c27f5ff
SM
3430 (tramp-adb--gnu-switches-to-ash):
3431 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3432
3433 * net/tramp-cache.el (tramp-cache-print): Call
3434 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3435
3436 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3437 bound. It isn't for XEmacs.
3438
8c27f5ff
SM
3439 * net/tramp-compat.el (tramp-compat-copy-file):
3440 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3441 (tramp-compat-replace-regexp-in-string): New defun.
3442
3443 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3444 for `make-auto-save-file-name'.
3445 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3446 `copy-file'.
3447 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3448 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3449 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3450
8c27f5ff
SM
3451 * net/tramp-gw.el (tramp-gw-open-network-stream):
3452 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3453
8c27f5ff
SM
3454 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3455 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3456 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3457 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3458 (tramp-sh-file-inotifywait-process-filter):
3459 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3460 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3461
3462 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3463 for `make-auto-save-file-name'.
8c27f5ff
SM
3464 (tramp-smb-handle-copy-directory):
3465 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3466 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3467 (tramp-smb-handle-copy-file): Improve error message.
3468 (tramp-smb-handle-rename-file): Rename directly only in case
3469 `newname' does not exist yet. This is a restriction of smbclient.
3470 (tramp-smb-maybe-open-connection): Rerun the function only when
3471 `auth-sources' is non-nil.
3472
0ca754d0
KH
34732013-09-08 Kenichi Handa <handa@gnu.org>
3474
3475 * international/characters.el: Set category "^" (Combining) for
3476 more characters.
3477
e8dd0787
AM
34782013-09-07 Alan Mackenzie <acm@muc.de>
3479
3480 Correctly fontify Java class constructors.
3481 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3482 in Java Mode.
3483 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3484 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3485 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3486 "typeless" declaration there.
3487
f2f248e7
RW
34882013-09-07 Roland Winkler <winkler@gnu.org>
3489
3490 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3491 field subtitle for entry type book.
3492
67982e2b
SM
34932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * minibuffer.el: Make minibuffer-complete call completion-in-region
3496 rather than other way around.
3497 (completion--some, completion-pcm--find-all-completions):
3498 Don't delay signals when debugging.
3499 (minibuffer-completion-contents): Beware fields within the
3500 minibuffer contents.
3501 (completion-all-sorted-completions): Use defvar-local.
3502 (completion--do-completion, completion--cache-all-sorted-completions)
3503 (completion-all-sorted-completions, minibuffer-force-complete):
3504 Add args `beg' and `end'.
3505 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3506 (minibuffer-complete): Use completion-in-region.
3507 (completion-complete-and-exit): New fun, extracted from
3508 minibuffer-complete-and-exit.
3509 (minibuffer-complete-and-exit): Use it.
3510 (completion--complete-and-exit): Rename from
3511 minibuffer--complete-and-exit.
3512 (completion-in-region--single-word): New function, extracted from
3513 minibuffer-complete-word.
3514 (minibuffer-complete-word): Use it.
3515 (display-completion-list): Make `common-substring' argument obsolete.
3516 (completion--in-region): Call completion--in-region-1 instead of
3517 minibuffer-complete.
3518 (completion-help-at-point): Pass boundaries to
3519 minibuffer-completion-help as args rather than via an overlay.
3520 (completion-pcm--string->pattern): Use `any-delim'.
3521 (completion-pcm--optimize-pattern): New function.
3522 (completion-pcm--pattern->regex): Handle `any-delim'.
3523 * icomplete.el (icomplete-forward-completions)
3524 (icomplete-backward-completions, icomplete-completions):
3525 Adjust calls to completion-all-sorted-completions and
3526 completion--cache-all-sorted-completions.
3527 (icomplete-with-completion-tables): Default to t.
3528 * emacs-lisp/crm.el (crm--current-element): Rename from
3529 crm--select-current-element. Don't put an overlay but return the
3530 boundaries instead.
3531 (crm--completion-command): Take two new args to bind to the boundaries.
3532 (crm-completion-help): Adjust accordingly.
3533 (crm-complete): Use completion-in-region.
3534 (crm-complete-word): Use completion-in-region--single-word.
3535 (crm-complete-and-exit): Use completion-complete-and-exit.
3536
e17d94a5
SM
35372013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3540 than dynamically.
3541
96727100
JL
35422013-09-06 Juri Linkov <juri@jurta.org>
3543
3544 * info.el (Info-display-images-node): When image file doesn't exist
3545 display text version of the image if it's provided in the Info file.
3546 Otherwise, display the location of missing image from SRC attribute.
3547 Add help-echo text property from ALT attribute. (Bug#15279)
3548
86cf7329
SM
35492013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3550
3551 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3552 (edit-abbrevs-mode): Use define-derived-mode.
3553
3554 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3555 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3556 that it's defined.
3557 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3558 Use define-derived-mode.
3559
3560 * epg.el (epg-start-encrypt): Minor CSE simplification.
3561
816244a2
WX
35622013-09-06 William Xu <william.xwl@gmail.com>
3563
3564 * arc-mode.el: Add support for 7za (bug#15264).
3565 (archive-7z-program): New var.
3566 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3567 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3568 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3569
1486fa31
MA
35702013-09-06 Michael Albinus <michael.albinus@gmx.de>
3571
3572 Remove URL syntax.
3573
3574 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3575 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3576 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3577 (tramp-postfix-host-format, tramp-file-name-regexp)
3578 (tramp-completion-file-name-regexp)
3579 (tramp-completion-dissect-file-name)
3580 (tramp-handle-substitute-in-file-name): Remove 'url case.
3581 (tramp-file-name-regexp-url)
3582 (tramp-completion-file-name-regexp-url): Remove constants.
3583
39785324
GM
35842013-09-06 Glenn Morris <rgm@gnu.org>
3585
3586 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3587
1f896cb7
DG
35882013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3589
3590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3591 keywords" below "here-doc beginnings" (Bug#15270).
3592
c0458e0b
SM
35932013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * subr.el (pop): Use `car-safe'.
3596 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3597 to detect unused `pop' return value.
3598
3599 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3600 var `block-regexp'.
3601 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3602 (python-fill-string): Remove unused var `marker'.
3603 (python-skeleton-add-menu-items): Remove unused var `items'.
3604
3605 * international/mule-cmds.el: Require CL.
3606 (find-coding-systems-for-charsets): Avoid add-to-list.
3607 (sanitize-coding-system-list): New function, extracted from
3608 select-safe-coding-system-interactively.
3609 (select-safe-coding-system-interactively): Use it.
3610 (read-input-method-name): Accept symbols for `default'.
3611
3612 * emacs-lisp/advice.el (defadvice): Add indent rule.
3613
6c42fc3e
DH
36142013-09-05 Daniel Hackney <dan@haxney.org>
3615
3616 * dired-x.el:
3617 * net/ange-ftp.el:
3618 * net/browse-url.el:
3619 * net/dbus.el:
3620 * net/eudc.el:
3621 * net/eudcb-ldap.el:
3622 * net/eww.el:
3623 * net/imap.el:
3624 * printing.el:
3625 * vc/ediff-diff.el:
3626 * vc/ediff-init.el:
3627 * vc/ediff-merg.el:
3628 * vc/ediff-mult.el:
3629 * vc/ediff-util.el:
3630 * vc/ediff-wind.el:
3631 * vc/ediff.el:
3632 * vc/emerge.el:
3633 * vc/pcvs.el:
3634 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3635 byte compiler. Remove some unused let-bound variables.
3636
4c528aab
SM
36372013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3640 a "ref-cell", since it gets better optimized (bug#14883).
3641
bd15c390
GM
36422013-09-05 Glenn Morris <rgm@gnu.org>
3643
3644 * progmodes/cc-awk.el (c-forward-sws): Declare.
3645
1c3ac2e5
GM
36462013-09-04 Glenn Morris <rgm@gnu.org>
3647
3648 * generic-x.el [rul-generic-mode]: Require cc-mode.
3649 (c++-mode-syntax-table): Declare.
3650 (rul-generic-mode-syntax-table): Init in the defvar.
3651
52b1cc79
SM
36522013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3653
c828af56
SM
3654 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3655 (vc-do-command, vc-set-async-update):
3656 * vc/vc-mtn.el (vc-mtn-dir-status):
3657 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3658 (vc-hg-pull, vc-hg-merge-branch):
3659 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3660 (vc-git-merge-branch):
3661 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3662 (vc-cvs-dir-status-files):
3663 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3664 (vc-bzr-dir-status-files):
3665 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3666 * vc/vc-annotate.el: Use lexical-binding.
3667 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3668 (vc-sentinel-movepoint): Declare.
3669 (vc-annotate): Don't use `goto-line'.
3670 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3671 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3672 (vc-sentinel-movepoint): Declare.
3673 * vc/vc-svn.el: Use lexical-binding.
3674 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3675 * vc/vc-sccs.el:
3676 * vc/vc-rcs.el: Use lexical-binding.
3677
abae272c
SM
3678 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3679 `deleted'. Don't drop errors silently.
3680
52b1cc79
SM
3681 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3682
63191d9f
XF
36832013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3684
3685 * vc/vc.el (vc-ignore): Rewrite.
3686 (vc-default-ignore): New function.
3687 (vc-default-ignore-completion-table): Use find-ignore-file.
3688
3689 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3690 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3691 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3692 Remove. Most code moved to vc.el.
3693
9d3f707c
SM
36942013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3695
abae272c 3696 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3697 * net/tramp-smb.el (tramp-smb-get-file-entries):
3698 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3699 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3700
fde38d49
SM
3701 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3702 Update call to it.
3703 (eww-change-select): Remove unused var `properties'.
3704 (eww-make-unique-file-name): Remove unused var `base'.
3705
3706 * finder.el (finder-compile-keywords): Don't mess with windows.
3707
84032db7
SM
3708 * calculator.el (calculator-funcall): Fix typo in last change.
3709
724f5e41
SM
3710 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3711
14b511d4
SM
3712 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3713 <pkg>-autoloads.el file stop us.
3714
9d3f707c 3715 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3716 warnings, and factor out common code.
9d3f707c 3717
88527bc0
DG
37182013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3719
3720 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3721 two-character operators and whether the character preceding them
3722 changes their meaning (Bug#15208).
3723
96edb677
FEG
37242013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3725
3726 Format code sent to Python shell for robustness.
9d3f707c
SM
3727 * progmodes/python.el (python-shell-buffer-substring):
3728 New function.
96edb677
FEG
3729 (python-shell-send-region, python-shell-send-buffer): Use it.
3730
95beaef3
MA
37312013-09-02 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3734 * net/tramp.el (tramp-user-error): ... here.
3735 (tramp-find-method, tramp-check-proper-host)
3736 (tramp-dissect-file-name, tramp-debug-message)
3737 (tramp-handle-shell-command):
3738 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3739 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3740
3741 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3742
f167c27b
MR
37432013-09-02 Martin Rudalics <rudalics@gmx.at>
3744
3745 * avoid.el (mouse-avoidance-point-position)
3746 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3747 returns nil.
3748
cd16c5f1
FEG
37492013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3750
3751 * progmodes/python.el (python-shell-completion-get-completions):
3752 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3753 (python-nav-if-name-main): New command.
cd16c5f1 3754
e73c3a0d
GM
37552013-09-01 Glenn Morris <rgm@gnu.org>
3756
f8ccce03
GM
3757 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3758 Avoid leading space in $wins. Otherwise the sed command used by
3759 eg compile-main ends up containing "/*.el". (Bug#15170)
3760
e73c3a0d
GM
3761 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3762
415f808e
GM
37632013-08-30 Glenn Morris <rgm@gnu.org>
3764
3765 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3766 Fix is-this-a-directory logic. (Bug#15220)
3767
f069bba8
SM
37682013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3769
112798c1
SM
3770 * textmodes/css-mode.el: Use SMIE.
3771 (css-smie-grammar): New var.
3772 (css-smie--forward-token, css-smie--backward-token)
3773 (css-smie-rules): New functions.
3774 (css-mode): Use them.
3775 (css-navigation-syntax-table): Remove var.
3776 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3777 (css-indent-calculate, css-indent-line): Remove functions.
3778
3779 Misc changes to reduce use of `(lambda...); and other cleanups.
3780 * cus-edit.el: Use lexical-binding.
3781 (customize-push-and-save, customize-apropos)
3782 (custom-buffer-create-internal): Use closures.
3783 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3784 * progmodes/ada-xref.el: Use setq.
3785 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3786 * dframe.el: Use lexical-binding.
3787 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3788 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3789 * descr-text.el: Use lexical-binding.
3790 (describe-text-widget, describe-text-sexp, describe-property-list):
3791 Use closures.
3792 * comint.el (comint-history-isearch-push-state): Use a closure.
3793 * calculator.el: Use lexical-binding.
3794 (calculator-number-to-string): Make it work with lexical-binding.
3795 (calculator-funcall): Same and use cl-letf.
3796
2da4c3ab
SM
3797 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3798 (lisp--company-doc-string, lisp--company-location): New functions.
3799 (lisp-completion-at-point): Use them to improve Company support.
3800
f069bba8
SM
3801 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3802 params of lambda expressions.
3803 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3804 (ruby-smie--opening-pipe-p): New function.
3805 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3806 symbols and matched |...| for formal params.
3807 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3808 from being treated as hanging. Handle "rescue".
3809
6758b6a8
GM
38102013-08-29 Glenn Morris <rgm@gnu.org>
3811
3812 * progmodes/cc-engine.el (c-pull-open-brace):
3813 Move definition before use.
3814
e8dfd197
SM
38152013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3818 are immutable. Don't use `unsafe' any more.
3819 (cl--defsubst-expand): Don't substitute at the same time as keeping
3820 a residual unused let-binding. Don't use `unsafe' any more.
3821
cc585c96
GM
38222013-08-29 Glenn Morris <rgm@gnu.org>
3823
ba579ea6
GM
3824 * calendar/cal-china.el (calendar-chinese-year-cache):
3825 Recenter on 2015.
3826
8201a87e
GM
3827 * nxml/nxml-util.el (nxml-debug-clear-inside):
3828 Use cl-loop rather than loop.
3829
6ee877c7
GM
3830 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3831
cc585c96
GM
3832 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3833
27be8d39
GM
38342013-08-28 Glenn Morris <rgm@gnu.org>
3835
397440a1
GM
3836 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3837
2bb762d4
GM
3838 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3839
27be8d39
GM
3840 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3841
2d69b99e
SM
38422013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3843
f663baa7
SM
3844 * simple.el (repeat-complex-command--called-interactively-skip):
3845 New function.
3846 (repeat-complex-command): Use it (bug#14136).
3847
dd4f8b74
SM
3848 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3849 (c-define-abbrev-table): Add `doc' argument.
3850 (c-mode-abbrev-table, c++-mode-abbrev-table)
3851 (objc-mode-abbrev-table, java-mode-abbrev-table)
3852 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3853 (awk-mode-abbrev-table): Use it.
3854 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3855 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3856 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3857 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3858 Move initialization into the declaration; and remove any
3859 autoload cookie.
3860
b58969f7
SM
3861 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3862 and dynamic let binding.
3863
4021d6a6
SM
3864 * vc/smerge-mode.el: Remove redundant :group args.
3865
2d69b99e
SM
3866 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3867 to load-path.
3868
274919fd
JL
38692013-08-28 Juri Linkov <juri@jurta.org>
3870
3871 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3872 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3873 (isearch-other-meta-char): Handle an undefined shifted printing
3874 character by downshifting it. (Bug#15200)
3875
121f8c95
JL
38762013-08-28 Juri Linkov <juri@jurta.org>
3877
3878 * isearch.el (isearch-search): Change regexp error message for
3879 non-regexp searches. (Bug#15166)
3880
50b13cde
PE
38812013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3882
3883 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3884 for portability to hosts where /bin/sh has problems.
3885
95888bca
SM
38862013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3889
bbe558f1
JL
38902013-08-27 Juri Linkov <juri@jurta.org>
3891
3892 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3893 in the keyboard macro. (Bug#15126)
3894
26f98a7d
JL
38952013-08-27 Juri Linkov <juri@jurta.org>
3896
3897 * isearch.el (isearch-quote-char): Comment out converting unibyte
3898 to multibyte, thus syncing with its `quoted-insert' counterpart.
3899 (Bug#15166)
3900
7c97d35e
MR
39012013-08-27 Martin Rudalics <rudalics@gmx.at>
3902
3903 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3904 argument in call of get-largest-window (Bug#15185).
3905 Reported by Stephen Leake.
7c97d35e 3906
a0b5606e 39072013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3908
3909 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3910
9e89d835
SM
39112013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3912
3913 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3914 from a matcher-function unless there's no more matches (bug#15161).
3915
78fc2530
MA
39162013-08-26 Michael Albinus <michael.albinus@gmx.de>
3917
3918 * minibuffer.el: Revert change from 2013-08-20.
3919
3920 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3921 with text property `tramp-default', if appropriate.
3922 (tramp-check-proper-host): New defun.
3923 (tramp-dissect-file-name): Do not check hostname. Revert change
3924 of 2013-03-18.
3925 (tramp-backtrace): Make VEC-OR-PROC optional.
3926
3927 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3928 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3929 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3930 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3931 Apply `tramp-check-proper-host'.
78fc2530 3932
edca97cd
TH
39332013-08-26 Tassilo Horn <tsdh@gnu.org>
3934
3935 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3936 lambda expression in order to have `describe-variable' display it.
3937
df54bcbd
MA
39382013-08-26 Michael Albinus <michael.albinus@gmx.de>
3939
3940 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3941 BUF can be optional. (Bug#15186)
3942
eed99101
XF
39432013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3944
3945 * progmodes/flymake.el (flymake-get-real-file-name-function):
3946 Fix broken customization. (Bug#15184)
3947
b5eb9035
AM
39482013-08-25 Alan Mackenzie <acm@muc.de>
3949
8a51e842
AM
3950 Improve indentation of bracelists defined by macros (without "=").
3951
3952 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3953 expansion begins with "{", regard it as bracelist when it doesn't
3954 contain a ";".
3955
869455d4
AM
3956 Parse C++ inher-intro when there's a template split over 2 lines.
3957
3958 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3959 rigorously the search for "class" etc. followed by ":".
3960
3961 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3962 random languages a regexp which never matches rather than nil.
3963
b5eb9035
AM
3964 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3965
3966 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3967 (c-awk-regexp-one-line-possibly-open-char-list-re)
3968 (c-awk-one-line-possibly-open-regexp-re)
3969 (c-awk-one-line-non-syn-ws*-re): Remove.
3970 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3971 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3972 (c-awk-space*-unclosed-regexp-/-re): New constants.
3973 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3974 aren't regexp delimiters.
3975
3976 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3977 handling for a rare situation in AWK Mode involving unterminated
3978 strings/regexps.
3979
61611d54
GM
39802013-08-23 Glenn Morris <rgm@gnu.org>
3981
2d85dc34
GM
3982 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3983
cb8d2612
GM
3984 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3985
bb35f42f
GM
3986 * files.el (create-file-buffer): If the result would begin with
3987 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3988
b9808e77
SM
39892013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3990
e3a66363
SM
3991 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3992 text-properties (bug#15155).
3993
b9808e77
SM
3994 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3995 exist any more.
3996 (calc-keypad-redraw): Remove unused var `pad'.
3997 (calc-keypad-press): Remove unused var `menu'.
3998
7fd5f65e
MR
39992013-08-23 Martin Rudalics <rudalics@gmx.at>
4000
b9808e77
SM
4001 * window.el (display-buffer-pop-up-frame):
4002 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4003 use it as the new frame's buffer (Bug#15133).
4004
8352b530
SM
40052013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * calendar/timeclock.el: Minor cleanups.
4008 (timeclock-ask-before-exiting, timeclock-use-display-time):
4009 Use `symbol'.
4010 (timeclock-modeline-display): Define as alias before the
4011 actual definition.
4012 (timeclock-mode-line-display): Use define-minor-mode.
4013 (timeclock-day-list-template): Make it a function, add an argument.
4014 (timeclock-day-list-required, timeclock-day-list-length)
4015 (timeclock-day-list-debt, timeclock-day-list-span)
4016 (timeclock-day-list-break): Adjust calls accordingly.
4017
9f7b1925
SM
40182013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4021 Use read--expression so that completion works again.
4022
6e50e983
SS
40232013-08-21 Sam Steingold <sds@gnu.org>
4024
4025 Add rudimentary inferior shell interaction
4026 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4027 (sh-set-shell): Reset it.
9f7b1925
SM
4028 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4029 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4030
dbb0d350
SM
40312013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * align.el: Use lexical-binding.
4034 (align-region): Simplify accordingly.
4035
c88586a9
MA
40362013-08-20 Michael Albinus <michael.albinus@gmx.de>
4037
4038 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4039
4040 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4041 `non-essential' up.
4042
f95527c8
MA
40432013-08-17 Michael Albinus <michael.albinus@gmx.de>
4044
4045 * net/tramp.el:
4046 * net/tramp-adb.el:
4047 * net/tramp-cmds.el:
4048 * net/tramp-ftp.el:
4049 * net/tramp-gvfs.el:
4050 * net/tramp-gw.el:
4051 * net/tramp-sh.el: Don't wrap external variable declarations by
4052 `eval-when-compile'.
4053
4b5fe4ee
LMI
40542013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4055
4056 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4057 now that Emacs supports ImageMagick animations.
4058
13c366c9
MA
40592013-08-16 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4062 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4063
3dfc5cd6
MR
40642013-08-16 Martin Rudalics <rudalics@gmx.at>
4065
4066 * window.el (mouse-autoselect-window-select): Do autoselect when
4067 mouse pointer is on margin.
4068
4bbb4381
WP
40692013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4070
4071 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4072
3a2ddc2d
GM
40732013-08-16 Glenn Morris <rgm@gnu.org>
4074
e8bedf5a
GM
4075 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4076 Handle "Remote Directory" response of some clients. (Bug#15058)
4077
58c4682f
GM
4078 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4079 Tweak warning. (Bug#14926)
4080
57953f49
GM
4081 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4082 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4083
3a2ddc2d
GM
4084 * image-mode.el (image-mode-map): Add menu items to reverse,
4085 increase, decrease, reset animation speed.
4086 (image--set-speed, image-increase-speed, image-decrease-speed)
4087 (image-reverse-speed, image-reset-speed): New functions.
4088 (image-mode-map): Add bindings for speed commands.
4089
4090 * image.el (image-animate-get-speed, image-animate-set-speed):
4091 New functions.
4092 (image-animate-timeout): Respect image :speed property.
4093
10fa0ed3
SM
40942013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4097 previous line (bug#15101).
4098 (debugger-eval-expression, debugger-record-expression):
4099 Use read--expression (bug#15102).
4100
5d89d9d2
MA
41012013-08-15 Michael Albinus <michael.albinus@gmx.de>
4102
4103 Remove byte compiler warnings, visible when compiling with
4104 `byte-compile-force-lexical-warnings' set to t.
4105
4106 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4107 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4108 (tramp-handle-unhandled-file-name-directory)
4109 (tramp-handle-file-notify-add-watch, tramp-action-login)
4110 (tramp-action-succeed, tramp-action-permission-denied)
4111 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4112 arguments with "_".
4113
4114 * net/tramp-adb.el (tramp-adb-parse-device-names)
4115 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4116 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4117 (tramp-adb-handle-file-truename): Remove unused arguments.
4118
4119 * net/tramp-cache.el (tramp-flush-directory-property)
4120 (tramp-flush-connection-property, tramp-list-connections)
4121 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4122
10fa0ed3
SM
4123 * net/tramp-compat.el (tramp-compat-make-temp-file):
4124 Rename FILENAME to F.
5d89d9d2
MA
4125
4126 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4127 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4128 (tramp-zeroconf-parse-workstation-device-names)
4129 (tramp-zeroconf-parse-webdav-device-names)
4130 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4131
4132 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4133 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4134
4135 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4136 arguments.
4137 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4138 (tramp-sh-handle-insert-file-contents-literally)
4139 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4140 with "_".
4141 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4142 Remove unused variables.
4143
4144 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4145 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4146 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4147
4148 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4149 Make them a defconst.
4150 (tramp-uuencode-region): Remove unused variable.
4151
62f33bae
JB
41522013-08-14 Juanma Barranquero <lekktu@gmail.com>
4153
4154 * frameset.el (frameset--prop-setter): New function.
4155 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4156 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4157 parameter was already set in FILTERED. Doc fix.
4158 (frameset--record-minibuffer-relationships): Allow saving a
4159 minibufferless frame without its corresponding minibuffer frame.
4160 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4161 frame, if the frame id matches.
4162 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4163 frames before orphaned ones.
4164 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4165
c660a885
MR
41662013-08-14 Martin Rudalics <rudalics@gmx.at>
4167
4168 * window.el (window-make-atom): Don't overwrite parameter
4169 already present.
4170 (display-buffer-in-atom-window): Handle special case where we
4171 split an already atomic window.
4172 (window--major-non-side-window, display-buffer-in-side-window)
4173 (window--side-check): Ignore minibuffer window when walking
4174 window tree.
4175 (window-deletable-p): Return 'frame only if no other frame uses
4176 our minibuffer window.
4177 (record-window-buffer): Run buffer-list-update-hook.
4178 (split-window): Make sure window--check-frame won't destroy an
4179 existing atomic window in case the new window gets nested
4180 inside.
4181 (display-buffer-at-bottom): Ignore minibuffer window when
4182 walking window tree. Don't split a side window.
4183 (pop-to-buffer): Don't set-buffer here, the select-window call
4184 should do that.
4185 (mouse-autoselect-window-select): Autoselect only if we are in the
4186 text portion of the window.
4187
8259030d
LMI
41882013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4189
21c58ae2
LMI
4190 * net/shr.el (shr-parse-image-data): New function to grab both the
4191 data itself and the Content-Type.
4192 (shr-put-image): Use it.
4193
4194 * net/eww.el (eww-display-image): Ditto.
4195
8259030d
LMI
4196 * image.el (image-content-type-suffixes): New variable.
4197
ad756449
FEG
41982013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4199
4200 * progmodes/python.el (python-imenu--build-tree)
4201 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4202
f73f4ce6
XF
42032013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4204
4205 * simple.el (backward-word): Mention the optional argument.
4206
1f585e65
SM
42072013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * frameset.el (frameset--make): Rename constructor from make-frameset.
4210 (frameset-p, frameset-valid-p): Don't autoload.
4211 (frameset-valid-p): Use normal accessors.
4212
af1c6c84
GM
42132013-08-13 Glenn Morris <rgm@gnu.org>
4214
55e47f95
GM
4215 * progmodes/compile.el (compile-command): Tweak example in doc.
4216 * obsolete/scribe.el (scribe-mode):
4217 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4218
f0024d8c
GM
4219 * mail/feedmail.el (feedmail-confirm-outgoing)
4220 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4221
4222 * cus-start.el (truncate-partial-width-windows): Fix type.
4223
4224 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4225
af1c6c84
GM
4226 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4227
5514cc4c
SM
42282013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * emacs-lisp/timer.el (timer--time-setter): New function.
4231 (timer--time): Use it as gv-setter.
4232
4233 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4234 setter is not a symbol.
4235
7997a2f1
GJ
42362013-08-12 Grégoire Jadi <daimrod@gmail.com>
4237
4238 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4239 if sending fails. This makes debugging easier.
4240
01f1a9ab
JB
42412013-08-12 Juanma Barranquero <lekktu@gmail.com>
4242
4243 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4244 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4245 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4246
594a4307
EZ
42472013-08-12 Eli Zaretskii <eliz@gnu.org>
4248
4249 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4250
7a22490f 42512013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4252
4253 * format.el (format-annotate-function):
4254 Handle read-only text properties in the source. (Bug#14887)
4255
3e41a054
LMI
42562013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4257
5514cc4c
SM
4258 * net/eww.el (eww-display-html): Ignore coding system errors.
4259 One web site uses "utf-8lias" as the coding system.
3e41a054 4260
7ec326db
JB
42612013-08-11 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4264
5660113b
JB
42652013-08-10 Juanma Barranquero <lekktu@gmail.com>
4266
9a4ebc74
JB
4267 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4268 (tutorial--detailed-help): Remove unused local variables.
4269 (tutorial--save-tutorial-to): Use ignore-errors.
4270 (help-with-tutorial): Use looking-at-p.
4271
4272 * view.el (view-buffer-other-window, view-buffer-other-frame):
4273 Mark unused arguments.
4274
4275 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4276 (woman-select-symbol-fonts, woman, woman-find-file)
4277 (woman-insert-file-contents, woman-non-underline-faces):
4278 Use string-match-p.
4279 (woman1-unquote): Move declaration.
4280
4281 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4282 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4283 argument. Remove unused local variable.
4284 (xml-parse-elem-type): Use string-match-p.
4285 (xml-substitute-numeric-entities): Use ignore-errors.
4286
45fdb482
JB
4287 * calculator.el (calculator): Mark unused argument.
4288 (calculator-paste, calculator-quit, calculator-integer-p):
4289 Use ignore-errors.
4290 (calculator-string-to-number, calculator-decimal, calculator-exp)
4291 (calculator-op-or-exp): Use string-match-p.
4292
4293 * dired.el (dired-buffer-more-recently-used-p): Declare.
4294 (dired-insert-set-properties, dired-insert-old-subdirs):
4295 Use ignore-errors.
4296
4297 * dired-aux.el (dired-compress): Use ignore-errors.
4298 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4299 (dired-do-async-shell-command, dired-do-shell-command)
4300 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4301 (dired-insert-subdir-validate): Use string-match-p.
4302 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4303 (dired-add-entry): Use string-match-p, looking-at-p.
4304 (dired-insert-subdir-newpos): Remove unused local variable.
4305
4306 * filenotify.el (file-notify-callback): Remove unused local variable.
4307
4308 * filesets.el (filesets-error): Mark unused argument.
4309 (filesets-which-command-p, filesets-filter-dir-names)
4310 (filesets-directory-files, filesets-get-external-viewer)
4311 (filesets-ingroup-get-data): Use string-match-p.
4312
4313 * find-file.el (ff-other-file-name, ff-other-file-name)
4314 (ff-find-the-other-file, ff-cc-hh-converter):
4315 Remove unused local variables.
4316 (ff-get-file-name): Use string-match-p.
4317 (ff-all-dirs-under): Use ignore-errors.
4318
4319 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4320 (follow-select-if-visible): Remove unused local variable.
4321
4322 * forms.el (read-file-filter): Move declaration.
4323 (forms--make-format, forms--make-parser, forms-insert-record):
4324 Quote function with #'.
4325 (forms--update): Use string-match-p. Quote function with #'.
4326
4327 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4328 (help-make-xrefs): Use looking-at-p.
4329 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4330
4331 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4332 (ibuffer-confirm-operation-on): Use string-match-p.
4333
4334 * msb.el (msb-item-handler, msb-dired-item-handler):
4335 Mark unused arguments.
4336
4337 * ses.el (ses-decode-cell-symbol)
4338 (ses-kill-override): Remove unused local variable.
4339 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4340 (ses-load): Use ignore-errors, looking-at-p.
4341 (ses-jump-safe): Use ignore-errors.
4342 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4343
4344 * tabify.el (untabify, tabify): Mark unused arguments.
4345
4346 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4347 Mark unused argument.
4348 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4349 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4350
c880af52
JB
4351 * emacs-lisp/timer.el (timer--time): Define setter with
4352 gv-define-setter to avoid deprecation warning.
4353
5660113b 4354 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4355 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4356 (cmpl-statistics-block): Remove (body was commented out).
4357 All callers changed.
4358 (add-completions-from-buffer, load-completions-from-file):
4359 Remove unused variables.
4360
156aab80
JB
43612013-08-09 Juanma Barranquero <lekktu@gmail.com>
4362
5c5dee78
JB
4363 * filecache.el (file-cache-delete-file-list):
4364 Print message only when told so.
4365 (file-cache-files-matching): Use #' in mapconcat argument.
4366
156aab80
JB
4367 * ffap.el (ffap-url-at-point): Fix reference to variable
4368 thing-at-point-default-mail-uri-scheme.
4369
ad9dcd70
SM
43702013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4371
54bd972f
SM
4372 * subr.el (define-error): New function.
4373 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4374 error-file-not-found and define with define-error.
4375 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4376 and define with define-error.
4377 * userlock.el (file-locked, file-supersession):
4378 * simple.el (mark-inactive):
4379 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4380 * progmodes/ada-mode.el (ada-mode-errors):
4381 * play/life.el (life-extinct):
4382 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4383 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4384 * nxml/rng-util.el (rng-error):
4385 * nxml/rng-uri.el (rng-uri-error):
4386 * nxml/rng-match.el (rng-compile-error):
4387 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4388 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4389 * nxml/nxml-rap.el (nxml-scan-error):
4390 * nxml/nxml-outln.el (nxml-outline-error):
4391 * net/soap-client.el (soap-error):
4392 * net/gnutls.el (gnutls-error):
4393 * net/ange-ftp.el (ftp-error):
4394 * mpc.el (mpc-proc-error):
4395 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4396 (json-number-format, json-string-escape, json-string-format)
4397 (json-key-format, json-object-format):
4398 * jka-compr.el (compression-error):
4399 * international/quail.el (quail-error):
4400 * international/kkc.el (kkc-error):
4401 * emacs-lisp/ert.el (ert-test-failed):
4402 * calc/calc.el (calc-error, inexact-result, math-overflow)
4403 (math-underflow):
4404 * bookmark.el (bookmark-error-no-filename):
4405 * epg.el (epg-error): Define with define-error.
4406
0ea9e53a
SM
4407 * time.el (display-time-event-handler)
4408 (display-time-next-load-average): Don't call sit-for since it seems
4409 unnecessary (bug#15045).
4410
b0429158
SM
4411 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4412 Use #' instead of ' to quote functions.
4413 (checkdoc-output-mode): Use setq-local.
4414 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4415 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4416 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4417 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4418 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4419 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4420 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4421 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4422
ad9dcd70
SM
4423 * ido.el (ido-completion-help): Fix up compiler warning.
4424
77187e6f
JB
44252013-08-09 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * frameset.el (frameset-p): Add autoload cookie.
4428 (frameset--jump-to-register): New function, based on code moved from
4429 register.el.
4430 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4431
4432 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4433 (frameset-restore, frameset-save, frameset-session-filter-alist):
4434 Remove declarations.
4435 (register-alist): Doc fix.
4436 (frameset-to-register): Move to frameset.el.
4437 (jump-to-register, describe-register-1): Remove frameset-specific code.
4438
9d3aa82c
JB
44392013-08-08 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * allout-widgets.el (allout-widgets-pre-command-business)
4442 (allout-widgets-post-command-business)
4443 (allout-widgets-after-change-handler)
4444 (allout-decorate-item-and-context, allout-set-boundary-marker)
4445 (allout-body-modification-handler)
4446 (allout-graphics-modification-handler): Mark ignored arguments.
4447 (allout-widgets-post-command-business)
4448 (allout-widgets-exposure-change-processor)
4449 (allout-widgets-exposure-undo-processor)
4450 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4451 (allout-parse-item-at-point, allout-decorate-item-guides)
4452 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4453 * allout.el (epa-passphrase-callback-function): Declare.
4454 (allout-overlay-insert-in-front-handler)
4455 (allout-overlay-interior-modification-handler)
4456 (allout-isearch-end-handler, allout-chart-siblings)
4457 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4458 (allout-yank-processing, allout-process-exposed)
4459 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4460 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4461 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4462 (lisp-indent-defform): Mark ignored arguments.
4463 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4464 (calculate-lisp-indent): Remove unused variables.
4465 * international/characters.el (indian-2-column, arabic-2-column)
4466 (tibetan): Mark ignored arguments.
4467 (use-cjk-char-width-table): Mark ignored arguments.
4468 Remove unused variables.
4469 * international/fontset.el (build-default-fontset-data)
4470 (x-compose-font-name, create-fontset-from-fontset-spec):
4471 Mark ignored arguments.
4472 (fontset-plain-name): Remove unused variables.
4473 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4474 (keyboard-coding-system): Mark ignored arguments.
4475 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4476 * help.el (resize-temp-buffer-window):
4477 * window.el (display-buffer-in-major-side-window)
4478 (display-buffer-in-side-window, display-buffer-in-previous-window):
4479 Remove unused variables.
4480 * isearch.el (isearch-forward-symbol):
4481 * version.el (emacs-bzr-version-bzr):
4482 * international/mule-cmds.el (current-language-environment):
4483 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4484 (x-handle-display):
4485 * term/pc-win.el (x-list-fonts, x-display-planes)
4486 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4487 (x-server-version, x-display-screens, x-display-mm-height)
4488 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4489 (x-selection-owner-p, x-own-selection-internal)
4490 (x-disown-selection-internal, x-get-selection-internal)
4491 (msdos-initialize-window-system):
4492 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4493 * term/x-win.el (x-handle-no-bitmap-icon):
4494 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4495 (vc-default-find-file-hook, vc-default-extra-menu):
4496 Mark ignored arguments.
4497
0ca3f70e
SM
44982013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4501 break-condition in the context of the debugged code (bug#12685).
4502
74c5d24c
CS
45032013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4504
4505 * comint.el:
4506 Do not use an overlay to highlight the last prompt. (Bug#14744)
4507 (comint-mode): Make comint-last-prompt buffer local.
4508 (comint-last-prompt): New variable.
4509 (comint-last-prompt-overlay): Remove. Superseded by
4510 comint-last-prompt.
0ca3f70e
SM
4511 (comint-snapshot-last-prompt, comint-output-filter):
4512 Use comint-last-prompt.
74c5d24c 4513
c03c02ee
JB
45142013-08-08 Juanma Barranquero <lekktu@gmail.com>
4515
a3738d20 4516 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4517 (frameset-save): Check validity of the resulting frameset.
4518
04263d23
XF
45192013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4520
4521 * ido.el (ido-record-command): Add doc string.
4522
76c5e5ab
JB
45232013-08-08 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * frameset.el (frameset): Do not disable creation of the default
4526 frameset-p predicate. Doc fix.
4527 (frameset-valid-p): New function, copied from the old predicate-p.
4528 Add additional checks.
4529 (frameset-restore): Check with frameset-valid-p.
4530 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4531 (frameset-name, frameset-description, frameset-properties)
4532 (frameset-states): Add docstring.
f9dbf1cb
JB
4533 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4534 (frameset-filter-alist): Doc fixes.
76c5e5ab 4535
bd0c3c0b
JB
45362013-08-08 Juanma Barranquero <lekktu@gmail.com>
4537
4538 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4539
c735544c
SM
45402013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4543 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4544 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4545 (byte-compile-normal-call): Remove obsolescence check.
4546
2805a651
JB
45472013-08-08 Juanma Barranquero <lekktu@gmail.com>
4548
3677ffeb
JB
4549 * frameset.el (frameset-restore): Doc fix.
4550
2805a651
JB
4551 * register.el (frameset-frame-id, frameset-frame-with-id)
4552 (frameset-p, frameset-restore, frameset-save): Declare.
4553 (register-alist): Document framesets.
4554 (frameset-session-filter-alist): Declare.
4555 (frameset-to-register): New function.
4556 (jump-to-register): Implement jumping to framesets. Doc fix.
4557 (describe-register-1): Describe framesets.
4558
4559 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4560
a912c016
JB
45612013-08-07 Juanma Barranquero <lekktu@gmail.com>
4562
4563 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4564 Use lexical-binding.
4565
4566 * frameset.el (frameset): Use type vector, not list (incompatible
4567 change). Do not declare a new constructor, use the default one.
4568 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4569 `name' and `description', respectively, and add read-only slot
4570 `timestamp'. Doc fixes.
4571 (frameset-copy, frameset-persistent-filter-alist)
4572 (frameset-filter-alist, frameset-switch-to-gui-p)
4573 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4574 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4575 (frameset-filter-iconified, frameset-keep-original-display-p):
4576 Doc fixes.
4577 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4578 Rename from frameset-filter-(save|restore)-param. All callers changed.
4579 Doc fix.
4580 (frameset-p): Adapt to change to vector and be more thorough.
4581 Change arg name to OBJECT. Doc fix.
4582 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4583 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4584 All callers changed.
4585 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4586 All callers changed.
4587 (frameset--record-minibuffer-relationships): Rename from
4588 frameset--process-minibuffer-frames. All callers changed.
4589 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4590 Use new default constructor (again). Doc fix.
4591 (frameset--find-frame-if): Rename from `frameset--find-frame.
4592 All callers changed.
4593 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4594 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4595 Doc fix.
4596 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4597 PARAMETERS and WINDOW-STATE, respectively.
4598 (frameset-restore): Add new keyword argument PREDICATE.
4599 Reset frameset--target-display to nil. Doc fix.
4600
bb41480a
SM
46012013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4602
f001e98e
SM
4603 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4604 (bat-mode): Use it.
4605 (bat-mode-syntax-table): Mark \n as end-of-comment.
4606 (bat-font-lock-keywords): Remove comment rule.
4607
7679edb1
SM
4608 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4609 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4610
bb41480a
SM
4611 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4612 (byte-compile-callargs-warn): Use `push'.
4613 (byte-compile-arglist-warn): Ignore higher-order "calls".
4614 (byte-compile-file-form-autoload): Use `pcase'.
4615 (byte-compile-function-form): If quoting a symbol, check that it exists.
4616
cdc1ebb9
EZ
46172013-08-07 Eli Zaretskii <eliz@gnu.org>
4618
4619 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4620 and add a few popular commands found in batch files.
4621 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4622 (dos-mode): Doc fixes.
4623
312b1740
SM
46242013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4627 (dos-mode): Use setq-local. Add space after "rem".
4628 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4629 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4630
400a3178
AM
46312013-08-07 Arni Magnusson <arnima@hafro.is>
4632
4633 * progmodes/dos.el: New file.
4634 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4635 dos-mode.
4636
3b5c03d3
GM
46372013-08-06 Glenn Morris <rgm@gnu.org>
4638
4639 * calendar/calendar.el: Add new faces, and day-header-array.
4640 (calendar-weekday-header, calendar-weekend-header)
4641 (calendar-month-header): New faces.
4642 (calendar-day-header-construct): New function.
4643 (calendar-day-header-width): Also :set calendar-day-header-array.
4644 (calendar-american-month-header, calendar-european-month-header)
4645 (calendar-iso-month-header): Use calendar- faces.
4646 (calendar-generate-month):
4647 Use calendar-day-header-array for day headers; apply faces to them.
4648 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4649 (calendar-abbrev-construct): Add optional maxlen argument.
4650 (calendar-day-name-array): Doc fix.
4651 (calendar-day-name-array, calendar-abbrev-length)
4652 (calendar-day-abbrev-array):
4653 Also :set calendar-day-header-array, and maybe redraw.
4654 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4655 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4656 (calendar-day-name): Add option to use header array.
4657
ec6a2d7a
LMI
46582013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4659
4660 * net/shr.el (shr-render-td): Remove debugging.
4661 (shr-render-td): Make width computation consistent by defaulting
4662 all zero-width columns to 10 characters. This may not be optimal,
4663 but it's at least consistent.
2122cb6d
LMI
4664 (shr-make-table-1): Redo last change to fix the real problem in
4665 colspan handling.
ec6a2d7a 4666
ed4fd9c5
DA
46672013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4668
0ca3f70e
SM
4669 * files.el (cache-long-line-scans):
4670 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4671
64e22afe
JB
46722013-08-06 Juanma Barranquero <lekktu@gmail.com>
4673
024b38fc
JB
4674 * frameset.el (frameset, frameset-filter-alist)
4675 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4676 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4677 (frameset-compute-pos): Rename from frameset--compute-pos,
4678 and add docstring.
4679 (frameset-move-onscreen): Use frameset-compute-pos.
4680 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4681
64e22afe
JB
4682 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4683 Fix typos in docstrings.
4684
c8c2aca8
DA
46852013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4686
4687 * frame.el (get-other-frame): Tiny cleanup.
4688
1d237bba
JB
46892013-08-06 Juanma Barranquero <lekktu@gmail.com>
4690
8951efef
JB
4691 * vc/vc.el (vc-default-ignore-completion-table):
4692 Silence byte-compiler warning.
4693
307764cc
JB
4694 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4695 slot , which can indeed be nil.
4696 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4697 Move entry for `left' from persistent to live filter alist.
4698 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4699 Doc fixes.
4700 (frameset-filter-params): When restoring a frame, copy items added to
4701 `filtered', to avoid unwittingly modifying the original parameters.
4702 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4703 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4704
1d237bba
JB
4705 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4706 to use looking-at-p instead of looking-at. (Bug#15028)
4707
dc6c0eda
SM
47082013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 Revert introduction of isearch-filter-predicates (bug#14714).
4711 Rely on add-function instead.
4712 * isearch.el (isearch-filter-predicates): Rename it back to
4713 isearch-filter-predicate.
4714 (isearch-message-prefix): Use advice-function-mapc and advice
4715 properties to get the isearch-message-prefix.
4716 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4717 instead of run-hook-with-args-until-failure.
4718 (isearch-filter-visible): Not obsolete any more.
4719 * loadup.el: Preload nadvice.
4720 * replace.el (perform-replace): Revert to funcall
4721 instead of run-hook-with-args-until-failure.
4722 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4723 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4724 dired-isearch-filenames-toggle; make it into a proper minor mode.
4725 Use add/remove-function.
4726 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4727 Call the minor-mode rather than add/remove-hook.
4728 (dired-isearch-filter-filenames):
4729 Remove isearch-message-prefix property.
4730 * info.el (Info--search-loop): New function, extracted from Info-search.
4731 Funcall isearch-filter-predicate instead of
4732 run-hook-with-args-until-failure isearch-filter-predicates.
4733 (Info-search): Use it.
4734 (Info-mode): Use isearch-filter-predicate instead of
4735 isearch-filter-predicates.
4736
290d5b58
DA
47372013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4738
4739 Do not call to `selected-window' where it is assumed by default.
4740 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4741 `window-hscroll', `window-width', `window-height', `window-buffer',
4742 `window-frame', `window-start', `window-point', `next-window'
4743 and `window-display-table'.
4744 * abbrev.el (abbrev--default-expand):
4745 * bs.el (bs--show-with-configuration):
4746 * buff-menu.el (Buffer-menu-mouse-select):
4747 * calc/calc.el (calc):
4748 * calendar/calendar.el (calendar-generate-window):
4749 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4750 (diary-make-entry):
4751 * comint.el (send-invisible, comint-dynamic-complete-filename)
4752 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4753 * completion.el (complete):
4754 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4755 * disp-table.el (describe-current-display-table):
4756 * doc-view.el (doc-view-insert-image):
4757 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4758 * ehelp.el (with-electric-help):
4759 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4760 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4761 * emacs-lisp/helper.el (Helper-help-scroller):
4762 * emulation/cua-base.el (cua--post-command-handler-1):
4763 * eshell/esh-mode.el (eshell-output-filter):
4764 * ffap.el (ffap-gnus-wrapper):
4765 * help-macro.el (make-help-screen):
4766 * hilit-chg.el (highlight-compare-buffers):
4767 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4768 * hl-line.el (global-hl-line-highlight):
4769 * icomplete.el (icomplete-simple-completing-p):
4770 * isearch.el (isearch-done):
4771 * jit-lock.el (jit-lock-stealth-fontify):
4772 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4773 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4774 * mpc.el (mpc-tagbrowser, mpc):
4775 * net/rcirc.el (rcirc-any-buffer):
4776 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4777 * play/landmark.el (landmark-max-width, landmark-max-height):
4778 * play/zone.el (zone):
4779 * progmodes/compile.el (compilation-goto-locus):
4780 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4781 * progmodes/etags.el (find-tag-other-window):
4782 * progmodes/fortran.el (fortran-column-ruler):
4783 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4784 * progmodes/verilog-mode.el (verilog-point-text):
4785 * reposition.el (reposition-window):
4786 * rot13.el (toggle-rot13-mode):
4787 * server.el (server-switch-buffer):
4788 * shell.el (shell-dynamic-complete-command)
4789 (shell-dynamic-complete-environment-variable):
4790 * simple.el (insert-buffer, set-selective-display)
4791 (delete-completion-window):
4792 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4793 (speedbar-recenter):
4794 * startup.el (fancy-splash-head):
4795 * textmodes/ispell.el (ispell-command-loop):
4796 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4797 * tutorial.el (help-with-tutorial):
4798 * vc/add-log.el (add-change-log-entry):
4799 * vc/compare-w.el (compare-windows):
4800 * vc/ediff-help.el (ediff-indent-help-message):
4801 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4802 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4803 (ediff-setup-control-frame):
4804 * vc/emerge.el (emerge-position-region):
4805 * vc/pcvs-util.el (cvs-bury-buffer):
4806 * window.el (walk-windows, mouse-autoselect-window-select):
4807 * winner.el (winner-set-conf, winner-undo): Related users changed.
4808
38276e01
JB
48092013-08-05 Juanma Barranquero <lekktu@gmail.com>
4810
4811 * frameset.el (frameset--set-id): Doc fix.
4812 (frameset-frame-id, frameset-frame-id-equal-p)
4813 (frameset-locate-frame-id): New functions.
4814 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4815 (frameset-restore): Use them.
4816
12b4c0ea
DA
48172013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4818
4819 Do not call to `selected-frame' where it is assumed by default.
4820 Affected functions are `raise-frame', `redraw-frame',
4821 `frame-first-window', `frame-terminal' and `delete-frame'.
4822 * calendar/appt.el (appt-disp-window):
4823 * epg.el (epg-wait-for-completion):
4824 * follow.el (follow-delete-other-windows-and-split)
4825 (follow-avoid-tail-recenter):
4826 * international/mule.el (set-terminal-coding-system):
4827 * mail/rmail.el (rmail-mail-return):
4828 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4829 * progmodes/f90.el (f90-add-imenu-menu):
4830 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4831 * server.el (server-switch-buffer):
4832 * simple.el (delete-completion-window):
4833 * talk.el (talk):
4834 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4835 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4836 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4837 * vc/ediff.el (ediff-documentation): Related users changed.
4838 * frame.el (selected-terminal): Remove the leftover.
4839
17f25e76
GM
48402013-08-05 Glenn Morris <rgm@gnu.org>
4841
4842 * calendar/calendar.el (calendar-generate-month):
4843 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4844 (calendar-generate-month, calendar-font-lock-keywords):
4845 Fix for calendar-day-header-width > length of any day name.
17f25e76 4846
063233c3
JB
48472013-08-05 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * desktop.el (desktop-clear): Use new name of sort predicate.
4850
4851 * frameset.el (frameset): Add docstring. Move :version property to its
4852 own `version' slot.
4853 (frameset-copy): Rename from copy-frameset.
4854 (frameset-p): Check more thoroughly.
4855 (frameset-prop): Do not check for :version, which is no longer a prop.
4856 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4857 Use new :never value instead of t.
4858 (frameset-filter-alist): Expand and clarify docstring.
4859 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4860 (frameset-filter-minibuffer, frameset-filter-save-param)
4861 (frameset-filter-restore-param, frameset-filter-iconified):
4862 Add pointer to docstring of frameset-filter-alist.
4863 (frameset-filter-params): Rename filter values to be more meaningful:
4864 :never instead of t, and reverse the meanings of :save and :restore.
4865 (frameset--process-minibuffer-frames): Clarify error message.
4866 (frameset-save): Avoid unnecessary and confusing call to framep.
4867 Use new BOA constructor for framesets.
4868 (frameset--reuse-list): Doc fix.
4869 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4870 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4871 (frameset-minibufferless-first-p): Doc fix.
4872 Rename from frameset-sort-frames-for-deletion.
4873 (frameset-restore): Doc fixes. Use new function names.
4874 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4875
d5671a82
JB
48762013-08-04 Juanma Barranquero <lekktu@gmail.com>
4877
4878 * desktop.el (desktop-restore-forces-onscreen)
4879 (desktop-restore-reuses-frames): Document :keyword constant values.
4880 (desktop-filter-parameters-alist): Remove, now identical to
4881 frameset-filter-alist.
4882 (desktop--filter-tty*): Remove, moved to frameset.el.
4883 (desktop-save-frameset, desktop-restore-frameset):
4884 Do not pass :filters argument.
4885
4886 * frameset.el (frameset-live-filter-alist)
4887 (frameset-persistent-filter-alist): New variables.
4888 (frameset-filter-alist): Use them. Add autoload cookie.
4889 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4890 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4891 `frameset--id' (it's supposed to be internal to frameset.el).
4892 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4893 (frameset--initial-params): New function.
4894 (frameset--get-frame): Use it. Doc fix.
4895 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4896 Accept :all, not 'all.
4897 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4898 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4899 with fbound symbols. Fix frame id matching, and remove matching ids if
4900 the frame being restored is deleted. Obey :delete.
4901
671d5c16
SM
49022013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * subr.el (macrop): New function.
4905 (text-clone--maintaining): New var.
4906 (text-clone--maintain): Rename from text-clone-maintain. Use it
4907 instead of inhibit-modification-hooks.
4908
4909 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4910 a proxy, so as handle autoloads and redefinitions of the target.
4911 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4912
4913 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4914 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4915 (pcase--mutually-exclusive-p): New function.
4916 (pcase--split-consp): Use it.
4917 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4918 mutually exclusive with the current predicate.
4919
4920 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4921 (edebug-macrop): Remove. Use `macrop' instead.
4922 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4923 (ad-macro-p):
4924 * eshell/esh-cmd.el (eshell-macrop):
4925 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4926
1d44e9dc
SM
49272013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4930 (advice-mapc): New function, using it.
4931 (advice-function-member-p): New function.
4932 (advice--normalize): Store the cdr in advice--saved-rewrite since
4933 that's the part that will be changed.
4934 (advice--symbol-function): New function.
4935 (advice-remove): Handle removal before the function is defined.
4936 Adjust to new advice--saved-rewrite.
4937 (advice-member-p): Use advice-function-member-p and
4938 advice--symbol-function.
4939
5414a283
JB
49402013-08-04 Juanma Barranquero <lekktu@gmail.com>
4941
51d30f2c
JB
4942 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4943 (frameset-filter-minibuffer): Doc fix.
4944 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4945 (frameset--set-id, frameset--process-minibuffer-frames)
4946 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4947 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4948
5414a283
JB
4949 * desktop.el (desktop-clear): Only delete frames when called
4950 interactively and desktop-restore-frames is non-nil. Doc fix.
4951 (desktop-read): Set desktop-saved-frameset to nil.
4952
ab419665
XF
49532013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4954
4955 * vc/vc.el (vc-ignore): Rewrite.
4956 (vc-default-ignore-completion-table):
4957 (vc--read-lines):
4958 (vc--add-line, vc--remove-regexp): New functions.
4959
4960 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4961 (vc-svn-ignore-completion-table): New function.
4962
4963 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4964 (vc-hg-ignore-completion-table):
4965 (vc-hg-find-ignore-file): New functions.
4966
4967 * vc/vc-git.el (vc-git-ignore): Rewrite.
4968 (vc-git-ignore-completion-table):
4969 (vc-git-find-ignore-file): New functions.
4970
4971 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4972
4973 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4974 (vc-bzr-ignore-completion-table):
4975 (vc-bzr-find-ignore-file): New functions.
4976
2613dea2
JB
49772013-08-03 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * frameset.el (frameset-prop): New function and setter.
4980 (frameset-save): Do not modify frame list passed by the caller.
4981
9c959872
SM
49822013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4985
a104f656
SM
49862013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4987
70122acf
SM
4988 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4989 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4990
a104f656
SM
4991 * custom.el (custom-initialize-default, custom-initialize-set)
4992 (custom-initialize-reset, custom-initialize-changed): Affect the
4993 toplevel-default-value (bug#6275, bug#14586).
4994 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4995 for bug#6275.
4996
f078d570
JB
49972013-08-02 Juanma Barranquero <lekktu@gmail.com>
4998
185e3b5a
JB
4999 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5000 Add cl-def* expressions.
5001
f078d570
JB
5002 * frameset.el (frameset-filter-params): Fix order of arguments.
5003
9421876d
JB
50042013-08-02 Juanma Barranquero <lekktu@gmail.com>
5005
5006 Move code related to saving frames to frameset.el.
5007 * desktop.el: Require frameset.
5008 (desktop-restore-frames): Doc fix.
5009 (desktop-restore-reuses-frames): Rename from
5010 desktop-restoring-reuses-frames.
5011 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5012 (desktop-clear): Clear frames too.
5013 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5014 (desktop--filter-tty*, desktop-save, desktop-read):
5015 Use frameset functions.
5016 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5017 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5018 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5019 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5020 (desktop--process-minibuffer-frames, desktop-save-frames)
5021 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5022 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5023 (desktop--sort-states, desktop-restoring-frames-p)
5024 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5025 (desktop-restoring-frameset-p, desktop-restore-frameset)
5026 (desktop--check-dont-save, desktop-save-frameset): New functions.
5027 (desktop--app-id): New constant.
5028 (desktop-first-buffer, desktop-buffer-ok-count)
5029 (desktop-buffer-fail-count): Move before first use.
5030 * frameset.el: New file.
5031
76dc5996
SM
50322013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * files.el: Use lexical-binding.
5035 (dir-locals-read-from-file): Remove unused `err' variable.
5036 (hack-dir-local-variables--warned-coding): New var.
5037 (hack-dir-local-variables): Use it to avoid repeated warnings.
5038 (make-backup-file-name--default-function): New function.
5039 (make-backup-file-name-function): Use it as default.
5040 (buffer-stale--default-function): New function.
5041 (buffer-stale-function): Use it as default.
5042 (revert-buffer-insert-file-contents--default-function): New function.
5043 (revert-buffer-insert-file-contents-function): Use it as default.
5044 (insert-directory): Avoid add-to-list.
5045
5046 * autorevert.el (auto-revert-handler): Simplify.
5047 Use buffer-stale--default-function.
5048
06d36e2b
TH
50492013-08-01 Tassilo Horn <tsdh@gnu.org>
5050
5f648ab4
TH
5051 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5052
06d36e2b
TH
5053 * whitespace.el (whitespace-ensure-local-variables): New function.
5054 (whitespace-cleanup-region): Call it.
5055 (whitespace-turn-on): Call it.
5056
a43dc424
MA
50572013-08-01 Michael Albinus <michael.albinus@gmx.de>
5058
5059 Complete file name handlers.
5060
5061 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5062 (tramp-handle-verify-visited-file-modtime)
5063 (tramp-handle-file-notify-rm-watch): New functions.
5064 (tramp-call-process): Do not bind `default-directory'.
5065
44e18199
JB
5066 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5067 Order alphabetically.
a43dc424
MA
5068 [access-file, add-name-to-file, dired-call-process]:
5069 [dired-compress-file, file-acl, file-notify-rm-watch]:
5070 [file-ownership-preserved-p, file-selinux-context]:
5071 [make-directory-internal, make-symbolic-link, set-file-acl]:
5072 [set-file-selinux-context, set-visited-file-modtime]:
5073 [verify-visited-file-modtime]: Add handler.
5074 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5075
5076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5077 [file-notify-add-watch, file-notify-rm-watch]:
5078 [set-file-times, set-visited-file-modtime]:
5079 [verify-visited-file-modtime]: Add handler.
5080 (with-tramp-gvfs-error-message)
5081 (tramp-gvfs-handle-set-visited-file-modtime)
5082 (tramp-gvfs-fuse-file-name): Remove.
5083 (tramp-gvfs-handle-file-notify-add-watch)
5084 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5085 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5086
44e18199
JB
5087 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5088 Order alphabetically.
a43dc424
MA
5089 [file-notify-rm-watch ]: Use default Tramp handler.
5090 [executable-find]: Remove private handler.
5091 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5092 `default-directory'.
5093 (tramp-sh-handle-executable-find)
5094 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5095 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5096 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5097 Do not use `format' in `tramp-message'.
5098
5099 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5100 [file-notify-rm-watch, set-visited-file-modtime]:
5101 [verify-visited-file-modtime]: Add handler.
5102 (tramp-smb-call-winexe): Do not bind `default-directory'.
5103
7188b515
XF
51042013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5105
5106 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5107
2412ee1a
DG
51082013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5109
5110 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5111 use it.
5112 (log-view-diff-changeset): Same.
5113 (log-view-diff-common): Call backend command `previous-revision'
5114 to find out the previous revision, in both cases. Swap the
5115 variables `to' and `fr', so that `fr' usually refers to the
5116 earlier revision (Bug#14989).
5117
5002a754
KRC
51182013-07-31 Kan-Ru Chen <kanru@kanru.info>
5119
5120 * ibuf-ext.el (ibuffer-filter-by-filename):
5121 Make it work with dired buffers too.
5122
44e18199 51232013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5124
5125 * emacs-lisp/re-builder.el (reb-color-display-p):
5126 * files.el (save-buffers-kill-terminal):
5127 * net/browse-url.el (browse-url):
5128 * server.el (server-save-buffers-kill-terminal):
5129 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5130 Prefer nil to selected-frame for the first arg of frame-parameter.
5131
aeca3fbb
XF
51322013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5133
5134 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5135
158bc55c
SB
51362013-07-30 Stephen Berman <stephen.berman@gmx.net>
5137
5138 * minibuffer.el (completion--twq-all): Try and preserve each
5139 completion's case choice (bug#14907).
5140
d50fceab
LMI
51412013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142
ac38e731
LMI
5143 * net/network-stream.el (open-network-stream): Mention the new
5144 :nogreeting parameter.
5145 (network-stream-open-starttls): Use the :nogreeting parameter
5146 (bug#14938).
5147
1211de50
LMI
5148 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5149
997798bf
LMI
5150 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5151 more natural than popping.
5152
d50fceab 5153 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5154 (shr-urlify): Highlight under mouse.
d50fceab 5155
5c09de04
XF
51562013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5157
207d1d04
XF
5158 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5159
5160 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5161
5c09de04
XF
5162 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5163 buffer for output.
5164
3cd51eaa
XF
5165 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5166 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5167
44e18199 5168 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5169 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5170
5171 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5172
5173 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5174 buffer for output.
5175
35a89bdd
EZ
51762013-07-29 Eli Zaretskii <eliz@gnu.org>
5177
5178 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5179 initial frame is minibuffer-less. (Bug#14841)
5180
78822e94
MA
51812013-07-29 Michael Albinus <michael.albinus@gmx.de>
5182
5183 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5184 option.
5185
5186 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5187 (tramp-maybe-open-connection): Use it.
5188
9503c190
JB
51892013-07-28 Juanma Barranquero <lekktu@gmail.com>
5190
5191 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5192 minimal set of parameters passed when creating a frame, because
5193 the minibuffer status of a frame cannot be changed later.
5194
d5a845b4
SB
51952013-07-28 Stephen Berman <stephen.berman@gmx.net>
5196
5197 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5198 replace-regexp-in-string and inadvertent omissions in previous change.
5199 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5200 name of filtered items buffer.
d5a845b4 5201
ddeffb17
JB
52022013-07-28 Juanma Barranquero <lekktu@gmail.com>
5203
5204 * desktop.el: Optionally force offscreen frames back onscreen.
5205 (desktop-restoring-reuses-frames): New option.
5206 (desktop--compute-pos, desktop--move-onscreen): New functions.
5207 (desktop--make-frame): Use desktop--move-onscreen.
5208
f5950f7a
AM
52092013-07-27 Alan Mackenzie <acm@muc.de>
5210
5211 Fontify a Java generic method as a function.
5212 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5213 value to t.
5214
ae43b66a
SB
52152013-07-27 Stephen Berman <stephen.berman@gmx.net>
5216
5217 * calendar/todo-mode.el: Add command to rename todo files.
5218 (todo-rename-file): New command.
5219 (todo-key-bindings-t): Add key binding for it. Change the
5220 bindings of todo-filter-regexp-items(-multifile) to use `x'
5221 instead of `r', since the latter is better suited to the new
5222 renaming command.
5223
5ab78d3d
AM
52242013-07-27 Alan Mackenzie <acm@muc.de>
5225
5226 Make Java try-with-resources statement parse properly.
5227 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5228 (c-block-stmt-1-2-key): New language constants/variables.
5229 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5230 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5231 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5232 with c-block-stmt-1-2-key.
5ab78d3d 5233
d85c4d50
JB
52342013-07-27 Juanma Barranquero <lekktu@gmail.com>
5235
5236 * desktop.el (desktop--make-frame): Apply most frame parameters after
5237 creating the frame to force (partially or totally) offscreen frames to
5238 be restored as such.
5239
e4c467f9
XF
52402013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5241
5242 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5243 (Bug#14948)
e4c467f9 5244
7ced0d04
SM
52452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5248 `base' arg of backtrace-frame.
5249
fec92060
EZ
52502013-07-26 Eli Zaretskii <eliz@gnu.org>
5251
5252 * simple.el (list-processes): Doc fix.
5253
d58d31fb
JB
52542013-07-26 Juanma Barranquero <lekktu@gmail.com>
5255
5256 * desktop.el (desktop--select-frame):
d85c4d50 5257 Try harder to reuse existing frames.
d58d31fb 5258
53ff3e77
SM
52592013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5262 (edebug-eval): Use backtrace-eval.
5263 (edebug--display, edebug--recursive-edit): Don't let-bind the
5264 edebug-outer-* vars that keep track of variables we locally let-bind.
5265 (edebug-outside-excursion): Don't restore outside values of locally
5266 let-bound vars.
5267 (edebug--display): Use user-error.
5268 (cl-lexical-debug, cl-debug-env): Remove.
5269
045f7a53
JB
52702013-07-26 Juanma Barranquero <lekktu@gmail.com>
5271
5272 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5273 are restored to be sure that they are visible before deleting any
5274 remaining ones.
5275
59070b32
MM
52762013-07-26 Matthias Meulien <orontee@gmail.com>
5277
742a3501
XF
5278 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5279 vc-print-root-log. (Bug#14948)
59070b32 5280
b1fb3596
RS
52812013-07-26 Richard Stallman <rms@gnu.org>
5282
5283 Add aliases for encrypting mail.
5284 * epa.el (epa-mail-aliases): New option.
5285 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5286 Bind inhibit-read-only so read-only text doesn't ruin everything.
5287 (epa-mail-default-recipients): New subroutine broken out.
5288 Handle epa-mail-aliases.
5289
56ea7291
SM
52902013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 Add support for lexical variables to the debugger's `e' command.
5293 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5294 vars, except for debugger-outer-match-data.
5295 (debugger-frame-number): Move check for "on a function call" from
5296 callers into it. Add `skip-base' argument.
5297 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5298 (debugger-env-macro): Only reset the state stored in non-variables,
5299 i.e. current-buffer and match-data.
5300 (debugger-eval-expression): Rewrite using backtrace-eval.
5301 * subr.el (internal--called-interactively-p--get-frame): Remove.
5302 (called-interactively-p):
5303 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5304 `base' arg of backtrace-frame instead.
5305
15ac32d5
GM
53062013-07-26 Glenn Morris <rgm@gnu.org>
5307
8358a09d
GM
5308 * align.el (align-regexp): Doc fix. (Bug#14857)
5309 (align-region): Explicit error if subexpression missing/does not match.
5310
15ac32d5
GM
5311 * simple.el (global-visual-line-mode):
5312 Do not duplicate the mode lighter. (Bug#14858)
5313
f47ad11b
MR
53142013-07-25 Martin Rudalics <rudalics@gmx.at>
5315
5316 * window.el (display-buffer): In display-buffer bind
5317 split-window-keep-point to t, bug#14829.
5318
02530987
JB
53192013-07-25 Juanma Barranquero <lekktu@gmail.com>
5320
5321 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5322 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5323 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5324 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5325 Change accordingly.
f63ebeb5
JB
5326 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5327 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5328
6ccb9cab 53292013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5330
6ccb9cab 5331 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5332
cb3a56d2
JB
53332013-07-25 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5336 parameter to modify-frame-parameters if the value has not changed;
5337 this is a workaround for bug#14949.
5338 (desktop--make-frame): On cl-delete-if call, check parameter name,
5339 not full parameter.
5340
7aa7fff0
XF
53412013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5342
5343 * vc/vc.el (vc-ignore): New function.
5344
5345 * vc/vc-svn.el (vc-svn-ignore): New function.
5346
5347 * vc/vc-hg.el (vc-hg-ignore): New function.
5348
5349 * vc/vc-git.el (vc-git-ignore): New function.
5350
5351 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5352 (vc-dir-ignore): New function.
5353
5354 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5355 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5356
5357 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5358
5359 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5360
889acc5c
JB
53612013-07-24 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5364 (desktop-restore-frames): Warn when deleting an existing frame failed.
5365
86c40970
GM
53662013-07-24 Glenn Morris <rgm@gnu.org>
5367
5368 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5369
d5d3c58a
MA
53702013-07-24 Michael Albinus <michael.albinus@gmx.de>
5371
5372 * filenotify.el (file-notify-supported-p):
5373 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5374 Remove functions.
5375
5376 * autorevert.el (auto-revert-use-notify):
5377 (auto-revert-notify-add-watch):
5378 * net/tramp.el (tramp-file-name-for-operation):
5379 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5380 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5381 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5382 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5383 Remove `file-notify-supported-p' entry.
5384
d100084b
GM
53852013-07-24 Glenn Morris <rgm@gnu.org>
5386
5387 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5388 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5389
ac93e56b
SM
53902013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5391
249eea30
SM
5392 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5393 checked with memq (bug#14935).
5394
ac93e56b
SM
5395 * files.el (revert-buffer-function): Use a non-nil default.
5396 (revert-buffer-preserve-modes): Declare var to
5397 provide access to the `preserve-modes' argument.
5398 (revert-buffer): Let-bind it.
5399 (revert-buffer--default): New function, extracted from revert-buffer.
5400
2cdeb903
SM
54012013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * lpr.el: Signal print errors more prominently.
5404 (print-region-function): Don't default to nil.
5405 (lpr-print-region): New function, extracted from print-region-1.
5406 Check lpr's return value and signal an error in case of problem.
5407 (print-region-1): Use it.
5408 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5409 versions instead.
5410 (ps-printer-name): Default to nil.
5411 (ps-printer-name-option): Default to lpr-printer-switch.
5412 (ps-print-region-function): Don't default to nil.
5413 (ps-postscript-code-directory): Simplify default.
5414 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5415 (ps-string-list, ps-eval-switch, ps-flatten-list)
5416 (ps-flatten-list-1): Remove.
5417 (ps-multibyte-buffer): Avoid setq.
5418 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5419 (print-region-function, ps-print-region-function): Don't set them here.
5420
73600831
XF
54212013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5422
0e55c076
XF
5423 * ido.el (ido-fractionp):
5424 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5425 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5426 (ido-max-directory-size, ido-max-dir-file-cache)
5427 (ido-decorations): Doc fix.
5428
73600831
XF
5429 * ansi-color.el: Fix old URL.
5430
3d012865
MM
54312013-07-23 Michael R. Mauger <michael@mauger.com>
5432
e903c210 5433 * progmodes/sql.el: Version 3.3
3d012865
MM
5434 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5435 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5436 (sql-interactive-remove-continuation-prompt): Rewrite, use
5437 functions above. Fix continuation prompt and complete output line
5438 handling.
5439 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5440 redirected output buffer.
5441 (sql-mode): Restore deleted code (Bug#13591).
5442
da77a2e2
JB
54432013-07-23 Juanma Barranquero <lekktu@gmail.com>
5444
5445 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5446
80ff0c71
MA
54472013-07-23 Michael Albinus <michael.albinus@gmx.de>
5448
5449 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5450
5451 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5452 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5453 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5454
b61d71e4
JB
54552013-07-23 Juanma Barranquero <lekktu@gmail.com>
5456
5457 * desktop.el (desktop-clear): Simplify; remove useless checks
5458 against invalid buffer names.
5459 (desktop-list*): Use cl-list*.
5460 (desktop-buffer-info, desktop-create-buffer): Simplify.
5461
c3512092
LL
54622013-07-23 Leo Liu <sdl.web@gmail.com>
5463
5464 * bookmark.el (bookmark-make-record): Restore NAME as a default
5465 value. (Bug#14933)
5466
0ac26976
SM
54672013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5468
7d22ce18
SM
5469 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5470 extracted from autoload--insert-text.
5471 (autoload--insert-text): Remove.
5472 (autoload--print-cookie-text): New function, extracted from
5473 autoload--insert-cookie-text.
5474 (autoload--insert-cookie-text): Remove.
5475 (autoload-generate-file-autoloads): Adjust calls accordingly.
5476
9b2607e8
SM
5477 * winner.el (winner-hook-installed-p): Remove.
5478 (winner-mode): Simplify accordingly.
5479
c43a8618
SM
5480 * subr.el (add-to-list): Fix compiler-macro when `append' is
5481 not constant. Don't use `cl-member' for the base case.
5482
0ac26976
SM
5483 * progmodes/subword.el: Fix boundary case (bug#13758).
5484 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5485 own group.
5486 (subword-backward-regexp): Make it a constant.
5487 (subword-forward-internal): Don't treat a trailing capital as the
5488 beginning of a word.
5489
6874724a
AR
54902013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5491
5492 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5493 global value of tabulated-list-revert-hook (bug#14930).
5494
70f1b5e8
JB
54952013-07-22 Juanma Barranquero <lekktu@gmail.com>
5496
a1c80d9d
JB
5497 * desktop.el: Require 'cl-lib.
5498 (desktop-before-saving-frames-functions): New hook.
5499 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5500 for frames being saved. Rename from desktop--save-minibuffer-frames.
5501 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5502 Do not save frames with non-nil `desktop-dont-save' parameter.
5503 Filter out deleted frames.
a1c80d9d
JB
5504 (desktop--find-frame): Use cl-find-if.
5505 (desktop--select-frame): Use cl-(first|second|third) to access values
5506 of desktop-mini.
5507 (desktop--make-frame): Use cl-delete-if.
5508 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5509 (desktop-restore-frames): Use cl-(first|second|third) to access values
5510 of desktop-mini. Look for visible frame at the end, not while
5511 restoring frames.
5512
70f1b5e8
JB
5513 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5514 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5515 Use string-match-p, looking-at-p (bug#14927).
5516
728dc3cc
JB
55172013-07-21 Juanma Barranquero <lekktu@gmail.com>
5518
56bc453c
JB
5519 * desktop.el (desktop-saved-frame-states):
5520 Rename from desktop--saved-states; all users changed.
5521 (desktop-save-frames): Rename from desktop--save-frames.
5522 Do not save state to desktop file.
5523 (desktop-save): Save desktop-saved-frame-states to desktop file
5524 and reset to nil.
5525 (desktop-restoring-frames-p): New function.
5526 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5527 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5528 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5529
728dc3cc
JB
5530 * desktop.el: Correctly restore iconified frames.
5531 (desktop--filter-iconified-position): New function.
5532 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5533
862f1c9c
GM
55342013-07-20 Glenn Morris <rgm@gnu.org>
5535
c4074c9f
GM
5536 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5537 Let `message' do the formatting.
5538 (def-gdb-preempt-display-buffer): Add explicit format.
5539
d828e5f9
GM
5540 * image-dired.el (image-dired-track-original-file):
5541 Use with-current-buffer.
5542 (image-dired-track-thumbnail): Use with-current-buffer.
5543 Avoid changing point of wrong window.
5544
862f1c9c
GM
5545 * image-dired.el (image-dired-track-original-file):
5546 Avoid changing point of wrong window. (Bug#14909)
5547
f0398ec1 55482013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5549
5550 * progmodes/gdb-mi.el (gdb-done-or-error):
5551 Guard against "%" in gdb output. (Bug#14127)
5552
1451928f
AS
55532013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5554
763a086d
JB
5555 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5556 (Bug#14826)
f7a03897 5557
1451928f
AS
5558 * international/mule.el (coding-system-iso-2022-flags): Fix last
5559 change.
5560
99107004
KH
55612013-07-20 Kenichi Handa <handa@gnu.org>
5562
763a086d
JB
5563 * international/mule.el (coding-system-iso-2022-flags):
5564 Add `8-bit-level-4'. (Bug#8522)
99107004 5565
48494e06
LMI
55662013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5567
8ba8eec5
LMI
5568 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5569 (bug#14815).
5570
dfbc66e3
LMI
5571 * net/eww.el (eww-process-text-input): Allow inputting when the
5572 point is at the start of the line, as the properties aren't
5573 front-sticky.
5574
48494e06
LMI
5575 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5576 degenerate widths.
5577
77c92cb9
RS
55782013-07-19 Richard Stallman <rms@gnu.org>
5579
aec7da77
RS
5580 * epa.el (epa-popup-info-window): Doc fix.
5581
77c92cb9
RS
5582 * subr.el (split-string): New arg TRIM.
5583
945c5bb1
JB
55842013-07-18 Juanma Barranquero <lekktu@gmail.com>
5585
5586 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5587 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5588
e06ec67f
MA
55892013-07-18 Michael Albinus <michael.albinus@gmx.de>
5590
c7064f05 5591 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5592 `file-notify-support'. Do not autoload. Adapt all uses.
5593 (file-notify-supported-p): New defun.
5594
c7064f05
JB
5595 * autorevert.el (auto-revert-use-notify):
5596 Use `file-notify-supported-p' instead of `file-notify-support'.
5597 Adapt docstring.
e06ec67f
MA
5598 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5599
5600 * net/tramp.el (tramp-file-name-for-operation):
5601 Add `file-notify-supported-p'.
5602
5603 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5604 New defun.
5605 (tramp-sh-file-name-handler-alist): Add it as handler for
5606 `file-notify-supported-p '.
5607
5608 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5609 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5610 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5611 Add `ignore' as handler for `file-notify-*' functions.
5612
5dc8a629
EZ
56132013-07-17 Eli Zaretskii <eliz@gnu.org>
5614
5615 * simple.el (line-move-partial, line-move): Don't start vscroll or
5616 scroll-up if the current line is not taller than the window.
5617 (Bug#14881)
5618
77aea2fb
DG
56192013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5620
5621 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5622 highlight question marks in the method names as strings.
ac72c08d
DG
5623 (ruby-block-beg-keywords): Inline.
5624 (ruby-font-lock-keyword-beg-re): Extract from
5625 `ruby-font-lock-keywords'.
77aea2fb 5626
18c26d81
JD
56272013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5628
5629 * frame.el (blink-cursor-blinks): New defcustom.
5630 (blink-cursor-blinks-done): New defvar.
5631 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5632 (blink-cursor-timer-function): Check if number of blinks has been
5633 done on X and NS.
5634 (blink-cursor-suspend, blink-cursor-check): New defuns.
5635
da48522e
GM
56362013-07-15 Glenn Morris <rgm@gnu.org>
5637
5638 * edmacro.el (edmacro-format-keys): Fix previous change.
5639
0463c1ef
PE
56402013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5641
5642 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5643 The hack didn't work outside English locales anyway.
5644
b43f6451
JB
56452013-07-15 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * simple.el (define-alternatives): Rename from alternatives-define,
5648 per RMS' suggestion.
5649
b958c0ad
JB
56502013-07-14 Juanma Barranquero <lekktu@gmail.com>
5651
5652 * desktop.el (desktop-restore-frames): Change default to t.
5653 (desktop-restore-in-current-display): Now offer more options.
5654 (desktop-restoring-reuses-frames): New customization option.
5655 (desktop--saved-states): Doc fix.
5656 (desktop-filter-parameters-alist): New variable, renamed and expanded
5657 from desktop--excluded-frame-parameters.
5658 (desktop--target-display): New variable.
5659 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5660 (desktop--filter-tty*, desktop--filter-*-color)
5661 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5662 (desktop--filter-save-desktop-parm)
5663 (desktop-restore-in-original-display-p): New functions.
5664 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5665 (desktop--save-minibuffer-frames): New function, inspired by a similar
5666 function from Martin Rudalics.
5667 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5668 (desktop--restore-in-this-display-p): Remove.
5669 (desktop--find-frame): Rename from desktop--find-frame-in-display
5670 and add predicate argument.
5671 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5672 (desktop--reuse-list): New variable.
5673 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5674 New functions.
5675 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5676
f6dd8b36
MA
56772013-07-14 Michael Albinus <michael.albinus@gmx.de>
5678
5679 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5680
2ce3c565
DG
56812013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5682
763a086d
JB
5683 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5684 Highlight conversion methods on Kernel.
2ce3c565 5685
2cdb7698
AM
56862013-07-13 Alan Mackenzie <acm@muc.de>
5687
5688 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5689 and comment it out. This out-commenting enables certain C++
5690 declarations to be parsed correctly.
5691
1a67b811
EZ
56922013-07-13 Eli Zaretskii <eliz@gnu.org>
5693
1b796d6b
EZ
5694 * international/mule.el (define-coding-system): Doc fix.
5695
1a67b811
EZ
5696 * simple.el (default-font-height): Don't call font-info if the
5697 frame's default font didn't change since the frame was created.
5698 (Bug#14838)
5699
58fbe886
LL
57002013-07-13 Leo Liu <sdl.web@gmail.com>
5701
5702 * ido.el (ido-read-file-name): Guard against non-symbol value.
5703
1f0480d4
FEG
57042013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5705
5706 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5707 in nested defuns.
5708
97ead0e5
LL
57092013-07-13 Leo Liu <sdl.web@gmail.com>
5710
5711 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5712 ido-set-matches call. (Bug#6852)
5713
0880a952
DG
57142013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5715
5716 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5717 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5718 Ruby 2.0.
5719 (ruby-font-lock-keywords): Distinguish calls to functions with
5720 module-like names from module references. Highlight character
5721 literals.
5722
a7d8babb
SDJ
57232013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5724
5725 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5726 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5727
acfcc8c5
JB
57282013-07-12 Juanma Barranquero <lekktu@gmail.com>
5729
5730 * desktop.el (desktop--v2s): Remove unused local variable.
5731 (desktop-save-buffer): Make defvar-local; adjust docstring.
5732 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5733 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5734
051f2775
AS
57352013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5738
f24e7572
GM
57392013-07-12 Eli Zaretskii <eliz@gnu.org>
5740
5741 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5742 (Bug#14842)
5743
539a920c
GM
57442013-07-12 Glenn Morris <rgm@gnu.org>
5745
5746 * doc-view.el: Require cl-lib at runtime too.
5747 (doc-view-remove-if): Remove.
5748 (doc-view-search-next-match, doc-view-search-previous-match):
5749 Use cl-remove-if.
5750
5751 * edmacro.el: Require cl-lib at runtime too.
5752 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5753 (edmacro-mismatch, edmacro-subseq): Remove.
5754
5755 * shadowfile.el: Require cl-lib.
5756 (shadow-remove-if): Remove.
5757 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5758 Use cl-remove-if.
5759
5760 * wid-edit.el: Require cl-lib.
5761 (widget-choose): Use cl-remove-if.
5762 (widget-remove-if): Remove.
5763
5764 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5765 (ebrowse-delete-if-not): Remove.
5766 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5767 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5768 Use cl-delete-if-not.
5769
1048af7c
JB
57702013-07-12 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5773 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5774
6c0674ee
LL
57752013-07-12 Leo Liu <sdl.web@gmail.com>
5776
5777 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5778
a19b3c2d
GM
57792013-07-11 Glenn Morris <rgm@gnu.org>
5780
4582a01c
GM
5781 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5782 (edebug-gensym-index, edebug-gensym):
5783 Remove reimplementation of cl-gensym.
5784 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5785
5786 * thumbs.el: Require cl-lib at run-time too.
5787 (thumbs-gensym-counter, thumbs-gensym):
5788 Remove reimplementation of cl-gensym.
5789 (thumbs-temp-file): Use cl-gensym.
5790
a19b3c2d
GM
5791 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5792 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5793 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5794 (ert--union, ert--gensym-counter, ert--gensym-counter)
5795 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5796 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5797 (ert-make-test-unbound, ert--expand-should-1)
5798 (ert--expand-should, ert--should-error-handle-error)
5799 (should-error, ert--explain-equal-rec)
5800 (ert--plist-difference-explanation, ert-select-tests)
5801 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5802 Use cl-lib functions rather than reimplementations.
5803
88f6a933
MA
58042013-07-11 Michael Albinus <michael.albinus@gmx.de>
5805
5806 * net/tramp.el (tramp-methods): Extend docstring.
5807 (tramp-connection-timeout): New defcustom.
5808 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5809 (with-tramp-progress-reporter): Simplify.
5810 (tramp-process-actions): Improve messages.
5811
5812 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5813 * net/tramp-sh.el (tramp-maybe-open-connection):
5814 Use `tramp-connection-timeout'.
5815 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5816 (Bug#14808)
5817
a43d577e
LL
58182013-07-11 Leo Liu <sdl.web@gmail.com>
5819
5820 * ido.el (ido-read-file-name): Conform to the requirements of
5821 read-file-name. (Bug#11861)
5822 (ido-read-directory-name): Conform to the requirements of
5823 read-directory-name.
5824
d77974bf
JB
58252013-07-11 Juanma Barranquero <lekktu@gmail.com>
5826
5827 * subr.el (delay-warning): New function.
5828
35cb8a3e
EZ
58292013-07-10 Eli Zaretskii <eliz@gnu.org>
5830
5831 * simple.el (default-line-height): New function.
5832 (line-move-partial, line-move): Use it instead of computing the
5833 line height inline.
5834 (line-move-partial): Always compute ROWH. If the last line is
5835 partially-visible, but its text is completely visible, allow
5836 cursor to enter such a partially-visible line.
5837
525c5c77
MA
58382013-07-10 Michael Albinus <michael.albinus@gmx.de>
5839
5840 Improve error messages. (Bug#14808)
5841
5842 * net/tramp.el (tramp-current-connection): New defvar, moved from
5843 tramp-sh.el.
0ac26976 5844 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5845 needed anymore.
0ac26976
SM
5846 (tramp-error-with-buffer): Show message in minibuffer.
5847 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5848 (with-tramp-progress-reporter): Improve messages.
5849 (tramp-process-actions): Use progress reporter. Delete process in
5850 case of error. Improve messages.
5851
763a086d
JB
5852 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5853 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5854 (tramp-current-connection): Remove.
525c5c77
MA
5855 (tramp-maybe-open-connection): The car of
5856 `tramp-current-connection' are the first 3 slots of the vector.
5857
c7a4d368
TZ
58582013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5859
5860 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5861 inside continued strings.
5862
954b166e
PE
58632013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5864
5865 Timestamp fixes for undo (Bug#14824).
5866 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5867
56973319
LL
58682013-07-10 Leo Liu <sdl.web@gmail.com>
5869
5870 * files.el (require-final-newline): Allow safe local value.
5871 (Bug#14834)
5872
5550a72c
LL
58732013-07-09 Leo Liu <sdl.web@gmail.com>
5874
5875 * ido.el (ido-read-directory-name): Handle fallback.
5876 (ido-read-file-name): Update DIR to ido-current-directory.
5877 (Bug#1516)
c28b9050 5878 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5879
70c46b28
DG
58802013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5881
5882 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5883 "autoload". Remove "warn lower camel case" section, previously
5884 commented out. Highlight negation char. Do not highlight the
5885 target in singleton method definitions.
5886
0b64b838
SM
58872013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5888
7fd72e2c
SM
5889 * faces.el (tty-setup-hook): Declare the hook.
5890
0b64b838
SM
5891 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5892 and detect when a guard/pred depends on local vars (bug#14773).
5893 (pcase--u1): Adjust caller.
5894
ab49d60b
EZ
58952013-07-08 Eli Zaretskii <eliz@gnu.org>
5896
5897 * simple.el (line-move-partial, line-move): Account for
5898 line-spacing.
701d79aa
EZ
5899 (line-move-partial): Avoid setting vscroll when the last
5900 partially-visible line in window is of default height.
ab49d60b 5901
2d756ae0
LMI
59022013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5903
5904 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5905 been used a while.
5906
ed095bd7
JB
59072013-07-07 Juanma Barranquero <lekktu@gmail.com>
5908
5909 * subr.el (read-quoted-char): Remove unused local variable `char'.
5910
f1e6674b
MK
59112013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5912
584ee3fc
GM
5913 * ediff.el (ediff-version): Version update.
5914 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5915 (ediff-merge-with-ancestor-command, ediff-directories-command)
5916 (ediff-directories3-command, ediff-merge-directories-command)
5917 (ediff-merge-directories-with-ancestor-command): New functions.
5918 All are command-line interfaces to ediff: to facilitate calling
5919 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5920
5921 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5922 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5923
584ee3fc
GM
5924 * viper.el (viper-version): Version update.
5925 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5926
584ee3fc
GM
59272013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5930 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5931 (viper-intercept-ESC-key): Simplify.
5932 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5933 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5934 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5935 (viper-setup-ESC-to-escape): New functions.
5936 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5937 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5938
9aff9b38
EZ
59392013-07-07 Eli Zaretskii <eliz@gnu.org>
5940
5165d44a
JB
5941 * simple.el (default-font-height, window-screen-lines):
5942 New functions.
9aff9b38
EZ
5943 (line-move, line-move-partial): Use them instead of
5944 frame-char-height and window-text-height. This makes scrolling
5945 text smoother when the buffer's default face uses a font that is
5946 different from the frame's default font.
5947
1afb1d07
JD
59482013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5949
5950 * files.el (write-file): Do not display confirm dialog for NS,
5951 it does its own dialog, which can't be cancelled (Bug#14578).
5952
23de972a
EZ
59532013-07-06 Eli Zaretskii <eliz@gnu.org>
5954
5955 * simple.el (line-move-partial): Adjust the row returned by
5956 posn-at-point for the current window-vscroll. (Bug#14567)
5957
54a42486
MA
59582013-07-06 Michael Albinus <michael.albinus@gmx.de>
5959
5960 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5961 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5962 spaces.
5963
34ada5f4
MR
59642013-07-06 Martin Rudalics <rudalics@gmx.at>
5965
5966 * window.el (window-state-put-stale-windows): New variable.
5967 (window--state-put-2): Save list of windows without matching buffer.
5968 (window-state-put): Remove "bufferless" windows if possible.
5969
11e03d89
JB
59702013-07-06 Juanma Barranquero <lekktu@gmail.com>
5971
5972 * simple.el (alternatives-define): Remove leftover :group keyword.
5973 Tweak docstring.
5974
3504a4be
LL
59752013-07-06 Leo Liu <sdl.web@gmail.com>
5976
5977 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5978 (ido-enable-virtual-buffers): New variable.
5979 (ido-buffer-internal, ido-toggle-virtual-buffers)
5980 (ido-make-buffer-list): Use it.
5981 (ido-exhibit): Support turning on and off virtual buffers
5982 automatically.
5983
61e56e2c
JB
59842013-07-06 Juanma Barranquero <lekktu@gmail.com>
5985
5986 * simple.el (alternatives-define): New macro.
5987
321e1a9c
SM
59882013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * subr.el (read-quoted-char): Use read-key.
5991 (sit-for): Let read-event decode tty input (bug#14782).
5992
d610f6dd
SB
59932013-07-05 Stephen Berman <stephen.berman@gmx.net>
5994
5995 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5996 mode command and externally. Fix various related bugs.
5997 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5998 (todo-delete-file): New command.
5999 (todo-check-file): New function.
6000 (todo-show): Handle external deletion of the file we're trying to
6001 show (bug#14688). Replace called-interactively-p by an optional
6002 prefix argument to avoid problematic interaction with catch form
6003 when byte compiled (bug#14702).
6004 (todo-quit): Handle external deletion of the archive's todo file.
6005 Make sure the buffer that was visiting the archive file is still
6006 live before trying to bury it.
6007 (todo-category-completions): Handle external deletion of any
6008 category completion files.
6009 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6010 of todo files, in case of external deletion.
6011 (todo-add-file): Replace unnecessary setq by let-binding.
6012 (todo-find-archive): Check whether there are any archives.
6013 Replace unnecessary setq by let-binding.
6014 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6015 archive buffer whether or not the archive already exists.
6016 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6017 check if the archive is new; if it is, update list of archives.
6018 (todo-default-todo-file): Allow nil to be a valid value for when
6019 there are no todo files.
6020 (todo-reevaluate-default-file-defcustom): Use corrected definition
6021 of todo-default-todo-file.
6022 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6023 (todo-delete-category, todo-show-categories-table)
6024 (todo-category-number): Clarify comment.
6025 (todo-filter-items): Clarify documentation string.
6026 (todo-show-current-file, todo-display-as-todo-file)
6027 (todo-reset-and-enable-done-separator): Tweak documentation string.
6028 (todo-done-separator): Make separator length window-width, since
6029 bug#2749 is now fixed.
6030
ddbdfd6f
MA
60312013-07-05 Michael Albinus <michael.albinus@gmx.de>
6032
321e1a9c
SM
6033 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6034 Support both "gvfs-monitor-dir" and "inotifywait".
6035 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6036 `tramp-sh-file-notify-process-filter'.
6037 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6038 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6039
96eb829a
LL
60402013-07-05 Leo Liu <sdl.web@gmail.com>
6041
6042 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6043
cf13177e
YM
60442013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6045
6046 * frame.el (display-pixel-height, display-pixel-width)
6047 (display-mm-height, display-mm-width): Mention behavior on
6048 multi-monitor setups in docstrings.
6049 (w32-display-monitor-attributes-list): Declare function.
6050 (display-monitor-attributes-list): Use it.
6051
864c58ca
MA
60522013-07-04 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * filenotify.el: New package.
6055
6056 * autorevert.el (top): Require filenotify.el.
6057 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6058 instead.
6059 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6060 (auto-revert-notify-handler): Use `file-notify-*' functions.
6061
6062 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6063
321e1a9c
SM
6064 * net/tramp.el (tramp-file-name-for-operation):
6065 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6066
6067 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6068 for `file-notify-add-watch' and `file-notify-rm-watch'.
6069 (tramp-process-sentinel): Improve trace.
6070 (tramp-sh-handle-file-notify-add-watch)
6071 (tramp-sh-file-notify-process-filter)
6072 (tramp-sh-handle-file-notify-rm-watch)
6073 (tramp-get-remote-inotifywait): New defuns.
6074
96673afe
JL
60752013-07-03 Juri Linkov <juri@jurta.org>
6076
6077 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6078 call of `occur-read-primary-args' to interactive spec.
6079
6080 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6081 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6082
924494f4
MM
60832013-07-03 Matthias Meulien <orontee@gmail.com>
6084
6085 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6086 `Buffer-menu-multi-occur'. Add it to the menu.
6087 (Buffer-menu-mode): Document it in docstring.
6088 (Buffer-menu-multi-occur): New command. (Bug#14673)
6089
56f75efc
DG
60902013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6093 keywords and built-ins.
6094
9b057d61
GM
60952013-07-03 Glenn Morris <rgm@gnu.org>
6096
208dee4d
GM
6097 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6098
9b057d61
GM
6099 Make info-xref checks case-sensitive by default
6100 * info.el (Info-find-node, Info-find-in-tag-table)
6101 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6102 Add option for exact case matching of nodes.
6103 * info-xref.el (info-xref): New custom group.
6104 (info-xref-case-fold): New option.
6105 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6106
e01aa29c
LL
61072013-07-03 Leo Liu <sdl.web@gmail.com>
6108
6109 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6110
3086ca2e
DG
61112013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6112
6113 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6114 middle of block statement initially, lower the depth. Remove
6115 FIXME comment, not longer valid. Remove middle of block statement
6116 detection, no need to do that anymore since we've been using
6117 `ruby-parse-region' here.
6118
a3b49114
JD
61192013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6120
6121 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6122
08e5c823 61232013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6124
6125 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6126
2addf922
JB
61272013-07-01 Juanma Barranquero <lekktu@gmail.com>
6128
6129 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6130 (desktop-restore-in-current-display): New customization option.
6131 (desktop--excluded-frame-parameters): Add `font'.
6132 (desktop--save-frames): Rename from desktop--save-windows.
6133 (desktop--restore-in-this-display-p): New function.
6134 (desktop--make-full-frame): Remove unwanted width/height from
6135 full(width|height) frames.
6136 (desktop--restore-frames): Rename from desktop--restore-windows.
6137 Obey desktop-restore-current-display. Do not delete old frames or
6138 select a new frame unless we were able to restore at least one frame.
6139
ef099a94
MN
61402013-06-30 Michal Nazarewicz <mina86@mina86.com>
6141
6142 * files.el (find-file-noselect): Simplify conditional expression.
6143
6144 * remember.el (remember-append-to-file):
6145 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6146
6147 Add `remember-notes' function to store random notes across Emacs
6148 restarts.
6149 * remember.el (remember-data-file): Add :set callback to affect
6150 notes buffer (if any).
6151 (remember-notes): New command.
6152 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6153 New defcustoms for the `remember-notes' function.
6154 (remember-notes-save-and-bury-buffer): New command.
6155 (remember-notes-mode-map): New variable.
6156 (remember-mode): New minor mode.
6157 (remember-notes--kill-buffer-query): New function.
6158 * startup.el (initial-buffer-choice): Add notes to custom type.
6159
0865d506
EZ
61602013-06-30 Eli Zaretskii <eliz@gnu.org>
6161
0ba54312
EZ
6162 * bindings.el (right-char, left-char): Don't call sit-for, this is
6163 no longer needed. Use arithmetic comparison only for numerical
6164 arguments.
6165
ef099a94
MN
6166 * international/mule-cmds.el (select-safe-coding-system):
6167 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6168
2fae38e5
LMI
61692013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6170
6171 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6172 progression on degenerate tables.
ef099a94 6173 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6174
a47cbd64
JB
61752013-06-30 Juanma Barranquero <lekktu@gmail.com>
6176
6177 Some fixes and improvements for desktop frame restoration.
6178 It is still experimental and disabled by default.
6179 * desktop.el (desktop--save-windows): Put the selected frame at
6180 the head of the list.
6181 (desktop--make-full-frame): New function.
6182 (desktop--restore-windows): Try to re-select the frame that was
6183 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6184 just show an error message and continue. Set up maximized frames
6185 so they have default non-maximized dimensions.
a47cbd64 6186
6dbafa30
DG
61872013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6188
ef099a94
MN
6189 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6190 Don't start heredoc inside a string or comment.
6dbafa30 6191
4c672a0f
EZ
61922013-06-29 Eli Zaretskii <eliz@gnu.org>
6193
6194 * bindings.el (visual-order-cursor-movement): New defcustom.
6195 (right-char, left-char): Provide visual-order cursor motion by
6196 calling move-point-visually. Update the doc strings.
6197
50960f36
KH
61982013-06-28 Kenichi Handa <handa@gnu.org>
6199
6200 * international/mule.el (define-coding-system): New coding system
6201 properties :inhibit-null-byte-detection,
6202 :inhibit-iso-escape-detection, and :prefer-utf-8.
6203 (set-buffer-file-coding-system): If :charset-list property of
6204 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6205 appropriate for setting.
6206
c1ea3abf
JB
6207 * international/mule-cmds.el (select-safe-coding-system):
6208 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6209 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6210
6211 * international/mule-conf.el (prefer-utf-8): New coding system.
6212 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6213 files.
6214
75dbaf9d
IK
62152013-06-28 Ivan Kanis <ivan@kanis.fr>
6216
eadb6068
IK
6217 * net/shr.el (shr-render-region): New function.
6218
75dbaf9d
IK
6219 * net/eww.el: Autoload `eww-browse-url'.
6220
9ea5cf9f
DG
62212013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6222
c1ea3abf
JB
6223 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6224 Adapt to `package-desc-version' being a list.
6225 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6226 archive element.
6227
39c0e36f
JB
62282013-06-27 Juanma Barranquero <lekktu@gmail.com>
6229
6230 New experimental feature to save&restore window and frame setup.
6231 * desktop.el (desktop-save-windows): New defcustom.
6232 (desktop--saved-states): New var.
6233 (desktop--excluded-frame-parameters): New defconst.
6234 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6235 (desktop--restore-windows, desktop--save-windows): New functions.
6236 (desktop-save): Call `desktop--save-windows'.
6237 (desktop-read): Call `desktop--restore-windows'.
6238
7f13406b
LMI
62392013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6240
ef099a94 6241 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6242
1e072639
SB
62432013-06-27 Stephen Berman <stephen.berman@gmx.net>
6244
6245 * info.el (Info-try-follow-nearest-node): Move search for footnote
6246 above search for node name to prevent missing a footnote (bug#14717).
6247
f3e2cbde
SB
62482013-06-27 Stephen Berman <stephen.berman@gmx.net>
6249
6250 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6251
99906aa0
LL
62522013-06-27 Leo Liu <sdl.web@gmail.com>
6253
6254 * net/eww.el (eww-read-bookmarks): Check file size.
6255
539f75f4
SM
62562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6259 advice--pending if newdef is nil or an autoload (bug#13820).
6260 (advice-mapc): New function.
6261
843571cb
LMI
62622013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6263
6264 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6265 probably.
23a75d7f 6266 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6267 (eww-add-bookmark): New command.
6268 (eww-bookmark-mode): New mode and commands.
a285ce99 6269 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6270 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6271
f2136e1e
GM
62722013-06-26 Glenn Morris <rgm@gnu.org>
6273
eab35f39
GM
6274 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6275 (hfy-size): Handle ttys. (Bug#14668)
6276
f2136e1e
GM
6277 * info-xref.el: Update for Texinfo 5 change in *note format.
6278 (info-xref-node-re, info-xref-note-re): New constants.
6279 (info-xref-check-buffer): Use info-xref-note-re.
6280
a49ff80c
SM
62812013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6282
a343d218
SM
6283 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6284
a49ff80c
SM
6285 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6286 nil terminate the loop (bug#14718).
6287
8308f184
LMI
62882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6289
6290 * net/eww.el: Rework history traversal. When going forward/back,
6291 put these actions into the history, too, so that they can be
6292 replayed.
26bf2b82 6293 (eww-render): Move the history reset to the correct buffer.
8308f184 6294
ec64c273
JL
62952013-06-25 Juri Linkov <juri@jurta.org>
6296
6297 * files-x.el (modify-dir-local-variable): Change the header comment
6298 in the file with directory local variables. (Bug#14692)
6299
e080a9d7
JL
6300 * files-x.el (read-file-local-variable-value): Add `default'.
6301 (Bug#14710)
6302
bfbc93a1
IK
63032013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6304
6305 * net/eww.el (eww-make-unique-file-name): Create a unique file
6306 name before saving to entering `y' accidentally asynchronously.
6307
63082013-06-25 Ivan Kanis <ivan@kanis.fr>
6309
6310 * net/eww.el (eww-download): New command and keystroke.
6311
16f74f10
LMI
63122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6313
a49ff80c 6314 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6315
6316 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6317 be more consistent with Info and dired.
6318
6319 * net/eww.el (eww-mode-map): Ditto.
6320
12059709
SM
63212013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6324 packages from archives.
6325 (package-archive-contents): Change format; include obsolete packages.
6326 (package-desc): Use `dir' to mark builtin packages.
6327 (package--from-builtin): Set the `dir' field to `builtin'.
6328 (generated-autoload-file, version-control): Declare.
6329 (package-compute-transaction): Change first arg and return value to be
6330 lists of package-descs. Adjust to new package-archive-contents format.
6331 (package--add-to-archive-contents): Adjust to new
6332 package-archive-contents format.
6333 (package-download-transaction): Arg is now a list of package-descs.
6334 (package-install): If `pkg' is a package name, pass it as
6335 a requirement, so it is subject to the usual (e.g. disabled) checks.
6336 (describe-package): Accept package-desc as well.
6337 (describe-package-1): Describe a specific package-desc. Add links to
6338 other package-descs for the same package name.
6339 (package-menu-describe-package): Pass the actual package-desc.
6340 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6341 works correctly.
6342 (package-desc-status): New function.
6343 (package-menu--refresh): New function, extracted
6344 from package-menu--generate.
6345 (package-menu--generate): Use it.
6346 (package-delete): Update package-alist.
6347 (package-menu-execute): Don't call package-initialize.
6348
6349 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6350 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6351 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6352 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6353 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6354 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6355
8bbdea0f
MR
63562013-06-25 Martin Rudalics <rudalics@gmx.at>
6357
6358 * window.el (window--state-get-1): Workaround for bug#14527.
6359 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6360
e82b0991
LMI
63612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6362
6363 * net/eww.el (eww-back-url): Implement the history by stashing all
6364 the data into a list.
d3f0f918 6365 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6366
c763842b
SM
63672013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6368
6369 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6370 for values and use read--expression for expressions (bug#14710).
6371 (read-file-local-variable): Avoid setq.
6372 (read-file-local-variable-mode): Use minor-mode-list.
6373
bceff189
RW
63742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6375
864c58ca 6376 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6377 for DOI URLs.
6378
45f431c6
RW
63792013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6380
864c58ca 6381 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6382 Update imenu-support when dialect changes.
6383
f42d8237
LL
63842013-06-25 Leo Liu <sdl.web@gmail.com>
6385
6386 * ido.el (ido-read-internal): Allow forward slash on windows.
6387
be549ce6
LMI
63882013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389
6390 * net/eww.el (eww): Start of strings is \\`, not ^.
6391
71d4c19d
IK
63922013-06-24 Ivan Kanis <ivan@kanis.fr>
6393
5196f88a
IK
6394 * net/shr.el (shr-browse-url): Fix interactive spec.
6395
71d4c19d
IK
6396 * net/eww.el (eww): Add a trailing slash to domain names.
6397
ae36ca55
JB
63982013-06-24 Juanma Barranquero <lekktu@gmail.com>
6399
6400 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6401
0ebd92a3
LMI
64022013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403
bdaa086b
LMI
6404 * net/shr.el (shr-browse-url): Use an external browser if given a
6405 prefix.
6406
c763842b 6407 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6408
b89fc156
IK
64092013-06-24 Ivan Kanis <ivan@kanis.fr>
6410
6411 * net/eww.el (eww): Work more correctly for file: URLs.
6412 (eww-detect-charset): Allow quoted charsets.
6413 (eww-yank-page-url): New command and keystroke.
6414
18eb4bca
DU
64152013-06-24 Daiki Ueno <ueno@gnu.org>
6416
6417 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6418 file name of gpg executable.
6419 (epg-context-program): New function.
6420 (epg-context-home-directory): New function.
6421 (epg-context-set-program): New function.
6422 (epg-context-set-home-directory): New function.
6423 (epg--start): Use `epg-context-program' instead of
6424 'epg-gpg-program'.
6425 (epg--list-keys-1): Likewise.
6426
6c6268c8
LL
64272013-06-24 Leo Liu <sdl.web@gmail.com>
6428
6429 * ido.el (ido-read-internal): Fix bug#14620.
6430
5e400cb3
JB
64312013-06-23 Juanma Barranquero <lekktu@gmail.com>
6432
6433 * faces.el (face-documentation): Simplify.
6434 (read-face-attribute, tty-find-type, x-resolve-font-name):
6435 Use `string-match-p'.
6436 (list-faces-display): Use `string-match-p'. Simplify.
6437 (face-spec-recalc): Check face to avoid face alias loops.
6438 (read-color): Use `string-match-p' and non-capturing parenthesis.
6439
f3f9606c
LMI
64402013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441
6442 * net/shr.el (shr-rescale-image): Use the new
6443 :max-width/:max-height functionality.
6444
a3ca09b9
IK
64452013-06-23 Ivan Kanis <ivan@kanis.fr>
6446
6447 * net/eww.el (eww-search-prefix): New variable.
6448 (eww): Use it.
f865b474
IK
6449 (eww-external-browser): New variable.
6450 (eww-mode-map): New keystroke.
6451 (eww-browse-with-external-browser): New command.
a3ca09b9 6452
e854cfc7
IK
6453 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6454
18bb9e21
JB
64552013-06-23 Juanma Barranquero <lekktu@gmail.com>
6456
6457 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6458 Don't skip aligning the next header field when padding is 0;
6459 otherwise, field width is not respected unless the title is as
6460 wide as the field.
6461
5b165ade
SM
64622013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * emacs-lisp/package.el (package-el-version): Remove.
6465 (package-process-define-package): Fix inf-loop.
6466 (package-install): Allow symbols as arguments again.
6467
12adebe9
DG
64682013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6469
6470 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6471 add some more keyword-like methods.
6472 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6473
388573ee
JB
64742013-06-22 Juanma Barranquero <lekktu@gmail.com>
6475
6476 * bs.el (bs-buffer-show-mark): Make defvar-local.
6477 (bs-mode): Use setq-local.
6478
6479 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6480 (emacs-lock--try-unlocking): Make defvar-local.
6481
4582a01c 64822013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6483
2663dd23
GM
6484 * play/cookie1.el (cookie-apropos): Minor simplification.
6485
3d94f3ad
GM
6486 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6487
f72e2fdb
DG
64882013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6489
6490 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6491 `regexp-opt', it breaks the build during dumping.
6492
73eab938
DG
64932013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6494
c763842b
SM
6495 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6496 Highlight keyword-like methods on Kernel and Module with
73eab938 6497 font-lock-builtin-face.
5cf8176d
DG
6498 (auto-mode-alist): Consolidate different entries into one regexp
6499 and add more *file-s.
73eab938 6500
d26255f6
SB
65012013-06-21 Stephen Berman <stephen.berman@gmx.net>
6502
6503 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6504
6505 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6506 (diary-entry): Use it in the action of this button type instead of
6507 diary-goto-entry.
6508
6509 * calendar/todo-mode.el: New version.
6510 (todo-add-category): Append new category to end of file and give
6511 it the highest number, instead of putting it at the beginning and
6512 giving it 0. Incorporate noninteractive functionality.
6513 (todo-forward-category): Adapt to 1-based category numbering.
6514 Allow skipping over archived categories.
6515 (todo-backward-category): Derive from todo-forward-category.
6516 (todo-backward-item, todo-forward-item): Make noninteractive and
6517 delegate interactive part to new commands. Make sensitive to done items.
6518 (todo-categories): Make value an alist of category names and
6519 vectors of item counts.
6520 (todo-category-beg): Make a defconst.
6521 (todo-category-number): Use 1 instead of 0 as initial value.
6522 (todo-category-select): Make sensitive to overlays, optional item
6523 highlighting and done items.
6524 (todo-delete-item): Make sensitive to overlays and marked and done items.
6525 (todo-edit-item): Make sensitive to overlays and editing of
6526 date/time header optional. Add format checks.
6527 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6528 no-op if point is not on an item. Advertise using todo-edit-quit.
6529 (todo-edit-mode): Make sensitive to new format, font-locking, and
6530 multiple todo files.
6531 (todo-insert-item, todo-insert-item-here): Derive from
6532 todo-basic-insert-item and extend functionality.
6533 (todo-item-end, todo-item-start): Make sensitive to done items.
6534 (todo-item-string): Don't return text properties. Restore point.
6535 (todo-jump-to-category): Make sensitive to multiple todo files and
6536 todo archives. Use extended category completion.
6537 (todo-lower-item, todo-raise-item): Rename to *-priority and
6538 derive from todo-set-item-priority.
6539 (todo-mode): Derive from special-mode. Make sensitive to new
6540 format, font-locking and multiple todo files. Make read-only.
6541 (todo-mode-map): Don't suppress digit keys, so they can supply
6542 prefix arguments. Add many new key bindings.
6543 (todo-prefix): Insert as an overlay instead of file text.
6544 Change semantics from diary date expression to purely visual mark.
6545 (todo-print): Rename to todo-print-buffer. Make buffer display
6546 features printable. Remove option to restrict number of items
6547 printed. Add option to print to file.
6548 (todo-print-function): Rename to todo-print-buffer-function.
6549 (todo-quit): Extend to handle exiting new todo modes.
6550 (todo-remove-item): Make sensitive to overlays.
6551 (todo-save): Extend to buffers of filtered items.
6552 (todo-show): Make sensitive to done items, multiple todo files and
6553 new todo modes. Offer to convert legacy todo file before creating
6554 first new todo file.
6555 (todo-show-priorities): Rename to todo-top-priorities.
6556 Change semantics of value 0.
6557 (todo-top-priorities): Rename to todo-filter-top-priorities,
6558 derive from todo-filter-items and extend functionality.
6559 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6560 and extend functionality to other types of filtered items.
6561 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6562 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6563 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6564 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6565 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6566 (todo-edit-mode-hook, todo-entry-prefix-function)
6567 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6568 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6569 (todo-initials, todo-insert-threshold, todo-item-string-start)
6570 (todo-line-string, todo-menu, todo-mode-hook)
6571 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6572 (todo-print-priorities, todo-remove-separator)
6573 (todo-save-top-priorities-too, todo-string-count-lines)
6574 (todo-string-multiline-p, todo-time-string-format)
6575 (todo-tmp-buffer-name): Remove.
6576 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6577 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6578 (todo-edit-category-diary-inclusion)
6579 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6580 (todo-edit-file, todo-edit-item-date-day)
6581 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6582 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6583 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6584 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6585 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6586 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6587 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6588 (todo-filter-top-priorities-multifile, todo-find-archive)
6589 (todo-find-filtered-items-file, todo-go-to-source-item)
6590 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6591 (todo-jump-to-archive-category, todo-lower-category)
6592 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6593 (todo-move-category, todo-move-item, todo-next-button)
6594 (todo-next-item, todo-padded-string, todo-powerset)
6595 (todo-previous-button, todo-previous-item)
6596 (todo-print-buffer-to-file, todo-raise-category)
6597 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6598 (todo-set-category-number, todo-set-item-priority)
6599 (todo-set-top-priorities-in-category)
6600 (todo-set-top-priorities-in-file, todo-show-categories-table)
6601 (todo-sort-categories-alphabetically-or-numerically)
6602 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6603 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6604 (todo-toggle-item-header, todo-toggle-item-highlighting)
6605 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6606 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6607 (todo-unarchive-items, todo-unmark-category): New commands.
6608 (todo-absolute-file-name, todo-add-to-buffer-list)
6609 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6610 (todo-basic-insert-item, todo-category-completions)
6611 (todo-category-number, todo-category-string-matcher-1)
6612 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6613 (todo-check-format, todo-clear-matches)
6614 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6615 (todo-current-category, todo-date-string-matcher)
6616 (todo-define-insertion-command, todo-diary-expired-matcher)
6617 (todo-diary-goto-entry, todo-diary-item-p)
6618 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6619 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6620 (todo-done-item-section-p, todo-done-separator)
6621 (todo-done-string-matcher, todo-files, todo-filter-items)
6622 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6623 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6624 (todo-insert-category-line, todo-insert-item-from-calendar)
6625 (todo-insert-sort-button, todo-insert-with-overlays)
6626 (todo-insertion-command-name, todo-insertion-key-bindings)
6627 (todo-label-to-key, todo-longest-category-name-length)
6628 (todo-make-categories-list, todo-mode-external-set)
6629 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6630 (todo-modes-set-3, todo-multiple-filter-files)
6631 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6632 (todo-read-category, todo-read-date, todo-read-dayname)
6633 (todo-read-file-name, todo-read-time)
6634 (todo-reevaluate-category-completions-files-defcustom)
6635 (todo-reevaluate-default-file-defcustom)
6636 (todo-reevaluate-filelist-defcustoms)
6637 (todo-reevaluate-filter-files-defcustom)
6638 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6639 (todo-reset-done-separator, todo-reset-done-separator-string)
6640 (todo-reset-done-string, todo-reset-global-current-todo-file)
6641 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6642 (todo-reset-prefix, todo-set-categories)
6643 (todo-set-date-from-calendar, todo-set-show-current-file)
6644 (todo-set-top-priorities, todo-short-file-name)
6645 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6646 (todo-total-item-counts, todo-update-buffer-list)
6647 (todo-update-categories-display, todo-update-categories-sexp)
6648 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6649 New functions.
6650 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6651 New major modes.
6652 (todo-categories, todo-display, todo-edit, todo-faces)
6653 (todo-filtered): New defgroups.
6654 (todo-archived-only, todo-button, todo-category-string, todo-date)
6655 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6656 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6657 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6658 (todo-add-item-if-new-category, todo-always-add-time-string)
6659 (todo-categories-align, todo-categories-archived-label)
6660 (todo-categories-category-label, todo-categories-diary-label)
6661 (todo-categories-done-label, todo-categories-number-separator)
6662 (todo-categories-todo-label, todo-categories-totals-label)
6663 (todo-category-completions-files, todo-completion-ignore-case)
6664 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6665 (todo-done-separator-string, todo-done-string)
6666 (todo-files-function, todo-filter-done-items, todo-filter-files)
6667 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6668 (todo-initial-category, todo-initial-file, todo-item-mark)
6669 (todo-legacy-date-time-regexp, todo-mode-line-function)
6670 (todo-nondiary-marker, todo-number-prefix)
6671 (todo-print-buffer-function, todo-show-current-file)
6672 (todo-show-done-only, todo-show-first, todo-show-with-done)
6673 (todo-skip-archived-categories, todo-top-priorities-overrides)
6674 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6675 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6676 New defcustoms.
6677 (todo-category-done, todo-date-pattern, todo-date-string-start)
6678 (todo-diary-items-buffer, todo-done-string-start)
6679 (todo-filtered-items-buffer, todo-item-start)
6680 (todo-month-abbrev-array, todo-month-name-array)
6681 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6682 (todo-top-priorities-buffer): New defconsts.
6683 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6684 (todo-categories-with-marks, todo-category-string-face)
6685 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6686 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6687 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6688 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6689 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6690 (todo-font-lock-keywords, todo-global-current-todo-file)
6691 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6692 (todo-insertion-commands-args)
6693 (todo-insertion-commands-args-genlist)
6694 (todo-insertion-commands-names, todo-insertion-map)
6695 (todo-key-bindings-t, todo-key-bindings-t+a)
6696 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6697 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6698 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6699 (todo-visited): New variables.
6700
cad5d1cb
GM
67012013-06-21 Glenn Morris <rgm@gnu.org>
6702
6703 * play/cookie1.el (cookie-apropos): Add optional display argument.
6704 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6705 (psychoanalyze-pinhead): Use cookie-doctor.
6706
9e277302
JB
67072013-06-21 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * emacs-lisp/package.el (tar-get-file-descriptor)
6710 (tar--extract): Declare.
6711
c5b0993e
EW
67122013-06-21 Eduard Wiebe <usenet@pusto.de>
6713
6714 Extend flymake's warning predicate to be a function (bug#14217).
6715 * progmodes/flymake.el (flymake-warning-predicate): New.
6716 (flymake-parse-line): Use it.
6717 (flymake-warning-re): Make obsolete alias to
6718 `flymake-warning-predicate'.
6719
a7d2d465
SM
67202013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6723 (package-obsolete-list): Remove.
6724 (package-activate): Remove min-version argument. Add `force' argument.
6725 Adjust to new package-alist format.
6726 (package-mark-obsolete): Remove.
6727 (package-unpack): Force reload of the package's autoloads.
6728 (package-installed-p): Check builtins if the installed package is not
6729 recent enough.
6730 (package-initialize): Don't reset package-obsolete-list.
6731 Don't specify which package version to activate.
6732 (package-process-define-package, describe-package-1)
6733 (package-menu--generate): Adjust to new package-alist format.
6734
cedf5c9d
JB
67352013-06-21 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * allout-widgets.el (allout-widgets-mode-off)
6738 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6739 (allout-widgets-post-command-business)
6740 (allout-widgets-after-copy-or-kill-function)
6741 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6742 (allout-decorate-item-and-context)
6743 (allout-graphics-modification-handler): Fix typos in docstrings.
6744 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6745
6746 * cmuscheme.el (scheme-start-file): Doc fix.
6747 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6748 (scheme-input-filter): Use `string-match-p'.
6749
6750 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6751
6752 * dired-x.el: Use Dired consistently in docstrings.
6753
6754 * dired.el: Use Dired consistently in docstrings.
6755 (dired-readin, dired-mode): Use `setq-local'.
6756 (dired-switches-alist): Make defvar-local.
6757 (dired-buffers-for-dir): Use `zerop'.
6758 (dired-safe-switches-p, dired-switches-escape-p)
6759 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6760 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6761 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6762 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6763 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6764 (dired-toggle-marks, dired-mark-files-containing-regexp)
6765 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6766 (dired-flag-auto-save-files, dired-flag-backup-files):
6767 Use `looking-at-p'.
6768 (dired-mark-files-regexp, dired-build-subdir-alist):
6769 Use `string-match-p', `looking-at-p'.
6770
6771 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6772 (direct-print-region-helper): Use `string-match-p'.
6773
aed838b5
LL
67742013-06-21 Leo Liu <sdl.web@gmail.com>
6775
cedf5c9d
JB
6776 * comint.el (comint-redirect-results-list-from-process):
6777 Fix infinite loop.
aed838b5 6778
d80a808f
LMI
67792013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6780
6781 * net/eww.el (eww-update-header-line-format): Quote % characters.
6782
e7a526e3
GM
67832013-06-21 Glenn Morris <rgm@gnu.org>
6784
6785 * play/cookie1.el (cookie): New custom group.
6786 (cookie-file): New option.
6787 (cookie-check-file): New function.
6788 (cookie): Make it interactive. Make start and end messages optional.
6789 Interactively, display the result. Default to cookie-file.
6790 (cookie-insert): Default to cookie-file.
6791 (cookie-snarf): Make start and end messages optional.
6792 Default to cookie-file. Use with-temp-buffer.
6793 (cookie-read): Rename from read-cookie.
6794 Make start and end messages optional. Default to cookie-file.
6795 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6796 Do not autoload it.
e7a526e3
GM
6797 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6798 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6799
62efb35e
LL
68002013-06-21 Leo Liu <sdl.web@gmail.com>
6801
6802 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6803
21e3f963
GM
68042013-06-21 Glenn Morris <rgm@gnu.org>
6805
6806 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6807
fd846ab4
SM
68082013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6809 Daniel Hackney <dan@haxney.org>
6810
6811 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6812 Consolidate the single-file vs tarball code.
6813 (package-desc-suffix): New function.
6814 (package-desc-full-name): Don't bother inlining it.
6815 (package-load-descriptor): Return the new package-desc.
6816 (package-mark-obsolete): Remove unused arg `package'.
6817 (package-unpack): Make it work for single files as well.
6818 Make it update package-alist.
6819 (package--make-autoloads-and-stuff): Rename from
6820 package--make-autoloads-and-compile. Don't compile any more.
6821 (package--compile): New function.
6822 (package-generate-description-file): New function, extracted from
6823 package-unpack-single.
6824 (package-unpack-single): Remove.
6825 (package--with-work-buffer): Add indentation and debugging info.
6826 (package-download-single): Remove.
6827 (package-install-from-archive): Rename from package-download-tar, make
6828 it take a pkg-desc, and make it work for single files as well.
6829 (package-download-transaction): Simplify.
6830 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6831 external tar program.
6832 (package-install-from-buffer): Remove `pkg-desc' argument.
6833 Use package-tar-file-info for tar-mode buffers.
6834 (package-install-file): Simplify accordingly.
6835 (package-archive-base): Change to take a pkg-desc.
6836 * tar-mode.el (tar--check-descriptor): New function, extracted from
6837 tar-get-descriptor.
6838 (tar-get-descriptor): Use it.
6839 (tar-get-file-descriptor): New function.
6840 (tar--extract): New function, extracted from tar-extract.
6841 (tar--extract): Use it.
6842 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6843 case the summary uses non-ascii. Adjust to new calling convention of
6844 package-tar-file-info.
6845
b7deae5e
LL
68462013-06-21 Leo Liu <sdl.web@gmail.com>
6847
fd846ab4
SM
6848 * comint.el (comint-redirect-results-list-from-process):
6849 Fix random delay. (Bug#14681)
b7deae5e 6850
7a65a0b2
JB
68512013-06-21 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * profiler.el (profiler-format-number): Use log, not log10.
6854
1493c2af
JB
68552013-06-20 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6858
aff6371e
SM
68592013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6862 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6863 yet available.
6864 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6865 (AUTOGENEL): ... here.
6866 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6867 (cl--defsubst-expand): Use it.
6868
89561f72
PE
68692013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6870
6871 * subr.el (log10): Move here from C code, and declare as obsolete.
6872 All uses of (log10 X) replaced with (log X 10).
6873
47199123
JB
68742013-06-20 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6877 Declare with `defvar-local'.
6878 (tabulated-list-use-header-line, tabulated-list-entries)
6879 (tabulated-list-padding, tabulated-list-printer)
6880 (tabulated-list-sort-key): Declare with `defvar-local'.
6881 (tabulated-list-init-header, tabulated-list-print-fake-header):
6882 Use `setq-local'.
6883
4a172eab
MA
68842013-06-20 Michael Albinus <michael.albinus@gmx.de>
6885
47199123
JB
6886 * arc-mode.el (archive-mode): Add `archive-write-file' to
6887 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6888
5fc0acc0
JB
68892013-06-20 Juanma Barranquero <lekktu@gmail.com>
6890
d5b27848
JB
6891 * cus-edit.el (custom-commands): Fix typos.
6892 (custom-display): Fix tooltip text.
6893 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6894 Fix typos in docstrings.
6895 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6896 (custom-unlispify-menu-entry, custom-magic-value-create)
6897 (custom-add-see-also, custom-group-value-create): Use ?\s.
6898 (custom-guess-type, customize-apropos, editable-field)
6899 (custom-face-value-create): Use `string-match-p'.
6900 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6901
6902 * custom.el (custom-load-symbol): Use `string-match-p'.
6903
a5c581d8
JB
6904 * ansi-color.el: Convert to lexical binding.
6905 (ansi-colors): Fix URL.
6906 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6907 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6908 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6909
970ad972
G
69102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6911
6912 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6913
6914 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6915
69162013-06-19 Tom Tromey <tromey@redhat.com>
6917
6918 * net/eww.el (eww-top-url): Remove.
6919 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6920 (eww-render): Set new variables. Don't set eww-top-url.
6921 (eww-handle-link): Handle "prev", "home", and "contents".
6922 Downcase the rel text.
6923 (eww-top-url): Choose best top URL.
6924
69252013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6926
6927 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6928 relying in widget.el. Using widget.el leads to too many
6929 user interface inconsistencies.
6930 (eww-self-insert): Implement entering commands in text fields.
6931 (eww-process-text-input): New function to make text input field editing
6932 work.
6933 (eww-submit): Rewrite to use the new-style form methods.
6934 (eww-select-display): Display the correct selected item.
6935 (eww-change-select): Implement changing the select value.
6936 (eww-toggle-checkbox): Implement radio/checkboxes.
6937 (eww-update-field): Fix compilation error.
6938 (eww-tag-textarea): Implement <textarea>.
6939
6940 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6941 we don't shadow mode-specific bindings.
6942
6943 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6944 nothing to push.
6945
6946 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6947
4582a01c 69482013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6949
6950 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6951
15b263dc
MA
69522013-06-19 Michael Albinus <michael.albinus@gmx.de>
6953
6954 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6955 not needed.
6956
6957 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6958
8f5297f7
LMI
69592013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6960
6961 * net/browse-url.el (browse-url-browser-function):
6962 `eww-browse-url' has the right calling signature, `eww' does not.
6963
011c4552
GM
69642013-06-19 Glenn Morris <rgm@gnu.org>
6965
2285bd27
GM
6966 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6967 Only eval autoloaded macros.
6968 (byte-compile-autoload): Only give the macro warning for macros.
6969
1d653303
GM
6970 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6971 (ps-underlined-faces): Declare.
6972
bdd779ec
GM
6973 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6974 (speedbar-add-supported-extension): Declare.
6975
011c4552
GM
6976 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6977 Don't include a date stamp in the header of the generated file;
6978 it leads to needless differences between output files.
6979
e59dfb0e
MA
69802013-06-19 Michael Albinus <michael.albinus@gmx.de>
6981
c763842b
SM
6982 * net/secrets.el (secrets-struct-secret-content-type):
6983 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6984 Some servers do not offer introspection.
e59dfb0e 6985
102626e2
SM
69862013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * electric.el (electric-pair-mode): Improve interaction with
6989 electric-layout-mode.
6990 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6991 (electric-pair-syntax): Use text-mode-syntax-table in comments
6992 and strings.
6993 (electric-pair--insert): New function.
6994 (electric-pair-post-self-insert-function): Use it and
6995 electric--after-char-pos.
6996
ad528125
LL
69972013-06-19 Leo Liu <sdl.web@gmail.com>
6998
6999 * progmodes/octave.el (octave-help): Fix regexp.
7000
924d6997
G
70012013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7002
7003 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7004 (shr-table-horizontal-line): Allow nil as a value, and change the
7005 default.
7006 (shr-insert-table-ruler): Respect the nil value.
7007
70082013-06-18 Tom Tromey <tromey@barimba>
7009
7010 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7011 New defvars.
7012 (eww-open-file): New defun.
7013 (eww-render): Initialize new variables.
7014 (eww-display-html): Handle "link" and "a".
7015 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7016 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7017 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7018 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7019 New defuns.
924d6997 7020
d1bbba4f
DG
70212013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7022
7023 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7024 Distinguish ternary operator tokens from slash symbol and slash
7025 char literal.
7026
14dd22d2
JB
70272013-06-18 Juanma Barranquero <lekktu@gmail.com>
7028
7029 Convert symbol prettification into minor mode and global minor mode.
7030
7031 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7032 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7033 (prettify-symbols--keywords): Rename from
7034 `prog-prettify-symbols-alist' and make a local defvar.
7035 (prettify-symbols--compose-symbol): Rename from
7036 `prog--prettify-font-lock-compose-symbol'.
7037 (prettify-symbols--make-keywords): Rename from
7038 `prog-prettify-font-lock-symbols-keywords' and simplify.
7039 (prog-prettify-install): Remove.
7040 (prettify-symbols-mode): New minor mode, based on
7041 `prog-prettify-install'.
7042 (turn-on-prettify-symbols-mode): New function.
7043 (global-prettify-symbols-mode): New globalized minor mode.
7044
7045 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7046 * progmodes/cfengine.el (cfengine3-mode):
7047 * progmodes/perl-mode.el (perl-mode): Don't call
7048 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7049
292c880c
JL
70502013-06-18 Juri Linkov <juri@jurta.org>
7051
7052 * files-x.el (modify-file-local-variable-message): New function.
7053 (modify-file-local-variable)
7054 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7055 and call `modify-file-local-variable-message' when it's non-nil.
7056 (add-file-local-variable, delete-file-local-variable)
7057 (add-file-local-variable-prop-line)
7058 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7059 and use it. (Bug#9820)
7060
0950aa27
JL
70612013-06-18 Juri Linkov <juri@jurta.org>
7062
7063 * emulation/vi.el (vi-shell-op):
7064 * emulation/vip.el (vip-execute-com, ex-command):
7065 * emulation/viper-cmd.el (viper-exec-bang):
7066 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7067 the call of `shell-command-on-region'. (Bug#14637)
7068
7069 * simple.el (shell-command-on-region): Doc fix.
7070
8fbcca16
SM
70712013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7074 (bug#14633).
7075
dd7426ea
GM
70762013-06-18 Glenn Morris <rgm@gnu.org>
7077
4ba54f7d
GM
7078 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7079
dd7426ea
GM
7080 * newcomment.el (comment-search-forward, comment-search-backward):
7081 Doc fix. (Bug#14376)
7082
58aa805b
JB
70832013-06-18 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7086 (buffer-face-mode-invoke): Doc fix.
7087
9a08a617
MM
70882013-06-18 Matthias Meulien <orontee@gmail.com>
7089
7090 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7091 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7092
f2f426ca
GM
70932013-06-18 Glenn Morris <rgm@gnu.org>
7094
9445f99b
GM
7095 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7096 Replace obsolete function generic-make-keywords with its expansion.
7097
e0df2d14
GM
7098 * progmodes/python.el (ffap-alist): Declare.
7099
f2f426ca
GM
7100 * textmodes/reftex.el (bibtex-mode-map): Declare.
7101
f7f9a720
SM
71022013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7105 (package-unpack, package-unpack-single): Return the pkg-dir.
7106 (package-download-transaction): Use it to update package-alist.
7107
57ff04e0
LMI
71082013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7109
7110 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7111 possible choice.
7112
c048c022
JL
71132013-06-17 Juri Linkov <juri@jurta.org>
7114
7115 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7116
b5bcaee5
DG
71172013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7118
a020afb9
JB
7119 * emacs-lisp/package.el (package-load-descriptor):
7120 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7121 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7122
551e07e5
JB
71232013-06-17 Juanma Barranquero <lekktu@gmail.com>
7124
7125 * startup.el (command-line): Expand package name returned by
7126 `package--description-file' (bug#14639).
7127
d363bffb
DG
71282013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7129
7130 * emacs-lisp/package.el (package-load-descriptor): Do not call
7131 `emacs-lisp-mode', just use its syntax table.
7132
f612933b
JB
71332013-06-17 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7136 `font-lock-extra-managed-props' if any prettifying keyword is added.
7137 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7138 (prog-mode): Use `setq-local'.
7139
db3b7db5
SM
71402013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * international/characters.el (standard-case-table): Set syntax of ?»
7143 and ?« to punctuation.
7144
f3d674df
JB
71452013-06-16 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7148 Save relevant match data before calling `syntax-ppss' (bug#14595).
7149
31489a32
JL
71502013-06-15 Juri Linkov <juri@jurta.org>
7151
7152 * files-x.el (modify-file-local-variable-prop-line): Add local
7153 variables to the end of the existing comment on the first line.
7154 Use `file-auto-mode-skip' to skip interpreter magic line,
7155 and also skip XML declaration.
7156
66bd25ab
SM
71572013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * startup.el (package--builtin-versions): New var.
7160 (package-subdirectory-regexp): Remove.
7161 (package--description-file): Hard code its value instead.
7162
7163 * emacs-lisp/package.el: Don't activate packages older than builtin.
7164 (package-obsolete-list): Rename from package-obsolete-alist, and make
7165 it into a simple list of package-desc.
7166 (package-strip-version): Remove.
7167 (package-built-in-p): Use package--builtin-versions.
7168 (package-mark-obsolete): Simplify.
7169 (package-process-define-package): Mark it obsolete if older than the
7170 builtin version.
7171 (package-handle-response): Use line-end-position.
7172 (package-read-archive-contents, package--download-one-archive):
7173 Simplify.
7174 (package--add-to-archive-contents): Skip if older than the builtin or
7175 installed version.
7176 (package-menu-describe-package): Fix last change.
7177 (package-list-unversioned): New var.
7178 (package-menu--generate): Use it.
7179
7180 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7181 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7182 (autoload-builtin-package-versions): New variable.
7183 (autoload-generate-file-autoloads): Use them.
7184 Remove the list of autoloaded functions/macros from the
7185 (autoload...) comments.
7186
7187 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7188
9583ec36
EZ
71892013-06-15 Eli Zaretskii <eliz@gnu.org>
7190
7191 * simple.el (line-move-partial): Don't jump to the next screen
7192 line as soon as it becomes visible. Instead, continue enlarging
7193 the vscroll until the portion of a tall screen line that's left on
7194 display is about the height of the frame's default font.
7195 (Bug#14567)
7196
f0100d8a
GM
71972013-06-15 Glenn Morris <rgm@gnu.org>
7198
b86a85ca
GM
7199 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7200 compilation-error-regexp-alist void, or local while let-bound.
7201
f0100d8a
GM
7202 * progmodes/make-mode.el (makefile-mode-syntax-table):
7203 Treat "=" as punctuation. (Bug#14614)
7204
05e7ce90
JB
72052013-06-15 Juanma Barranquero <lekktu@gmail.com>
7206
7207 * help-fns.el (describe-variable):
7208 Add extra line for permanent-local variables.
7209
12e5e86e
SH
72102013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7211
7212 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7213 Add export, import, library. (Bug#9164)
7214 (library): Set indent function.
7215
230dcbaf
GM
72162013-06-14 Glenn Morris <rgm@gnu.org>
7217
7218 * term/xterm.el (xterm--query):
7219 Stop after first matching handler. (Bug#14615)
7220
e36b2d20 72212013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7222
7223 Add support for dired in saveplace.
7224 * dired.el (dired-initial-position-hook): New variable.
7225 (dired-initial-position): Call hook to place cursor position.
7226 * saveplace.el (save-place-to-alist): Add dired position.
7227 (save-place-dired-hook): New function.
7228
0b31660d
SM
72292013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7230
bf1e6ae8
SM
7231 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7232 through a symbol rather than letrec.
7233
1b8dff23
SM
7234 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7235 (package-desc): Add `dir' field.
7236 (package-desc-full-name): New function.
7237 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7238 (package-maybe-load-descriptor): Remove.
7239 (package-load-all-descriptors): Just call package-load-descriptor.
7240 (package--disabled-p): New function.
7241 (package-desc-vers, package-desc-doc): Remove aliases.
7242 (package--dir): Remove function.
7243 (package-activate): Check if a package is disabled.
7244 (package-process-define-package): New function, extracted from
7245 define-package.
7246 (define-package): Turn into a place holder.
7247 (package-unpack-single, package-tar-file-info):
7248 Use package--description-file.
7249 (package-compute-transaction): Use package--disabled-p.
7250 (package-download-transaction): Don't call
7251 package-maybe-load-descriptor since they're all loaded anyway.
7252 (package-install): Change argument to be a pkg-desc.
7253 (package-delete): Use a single pkg-desc argument.
7254 (describe-package-1): Use package-desc-dir instead of package--dir.
7255 Use package-desc property instead of package-symbol.
7256 (package-install-button-action): Adjust accordingly.
7257 (package--push): Rewrite.
7258 (package-menu--print-info): Adjust accordingly. Change the ID format
7259 to be a pkg-desc.
7260 (package-menu-describe-package, package-menu-get-status)
7261 (package-menu--find-upgrades, package-menu-mark-upgrades)
7262 (package-menu-execute, package-menu--name-predicate):
7263 Adjust accordingly.
7264 * startup.el (package--description-file): New function.
7265 (command-line): Use it.
7266 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7267 Use package-desc-version.
7268
0b31660d
SM
7269 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7270 (byte-compile-preprocess): Use it.
7271 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7272 can't quite recognize.
7273 (byte-compile-add-to-list): Remove.
7274 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7275 (cconv-closure-convert): Add assertion.
7276
7277 * emacs-lisp/map-ynp.el: Use lexical-binding.
7278 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7279 Factor out some repeated code.
7280
de0503df
SM
72812013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * subr.el (with-eval-after-load): New macro.
7284 (eval-after-load): Allow form to be a function.
7285 take advantage of lexical-binding.
7286 (do-after-load-evaluation): Use dolist and adjust to new format.
7287 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7288
bc5c8c5a
JL
72892013-06-13 Juri Linkov <juri@jurta.org>
7290
7291 * replace.el (perform-replace): Display "symbol " and other search
7292 modes from `isearch-message-prefix' in the *Help* buffer.
7293
7294 * isearch.el (isearch-query-replace): Add " symbol" and other
7295 possible search modes from `isearch-message-prefix' to the prompt.
7296 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7297 when reading a regexp to collect.
7298
a22289f7
JL
72992013-06-13 Juri Linkov <juri@jurta.org>
7300
7301 * isearch.el (word-search-regexp): Match whitespace if the search
7302 string begins or ends in whitespace. The LAX arg is applied to
7303 both ends of the search string. Use `regexp-quote' and explicit
7304 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7305 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7306 boundaries are replaced with symbol boundaries, and characters
7307 between symbols match non-word non-symbol syntax. (Bug#14602)
7308
cb89acab
JL
73092013-06-13 Juri Linkov <juri@jurta.org>
7310
7311 * isearch.el (isearch-del-char): Don't exceed the length of
7312 `isearch-string' by the prefix arg. (Bug#14563)
7313
6e8cfc81
JL
73142013-06-13 Juri Linkov <juri@jurta.org>
7315
7316 * isearch.el (isearch-yank-word, isearch-yank-line)
7317 (isearch-char-by-name, isearch-quote-char)
7318 (isearch-printing-char, isearch-process-search-char):
7319 Add optional count prefix arg. (Bug#14563)
7320
7321 * international/isearch-x.el
7322 (isearch-process-search-multibyte-characters):
7323 Add optional count prefix arg.
7324
c23d55f4
VS
73252013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7328 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7329 lexical-binding.
7330
73312013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7332
7333 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7334
ba947bc4
GM
73352013-06-13 Glenn Morris <rgm@gnu.org>
7336
8baeb37a
GM
7337 * startup.el (tty-handle-args):
7338 Don't just discard "--" and anything after. (Bug#14608)
7339
ba947bc4
GM
7340 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7341
9abefce4
MA
73422013-06-13 Michael Albinus <michael.albinus@gmx.de>
7343
7344 Implement changes in Secret Service API. Make it backward compatible.
7345 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7346 (secrets-create-item): Use it. Prefix properties with interface.
7347
5755011f
MH
73482013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7349
7350 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7351 (term-emulate-terminal): Respect term-suppress-hard-newline.
7352
1261d2da
S
73532013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7354
7355 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7356 Only remove a `thumb-file' overlay. (Bug#14548)
7357
868490bb
GJ
73582013-06-12 Grégoire Jadi <daimrod@gmail.com>
7359
7360 * mail/reporter.el (reporter-submit-bug-report):
7361 Handle missing package-name. (Bug#14600)
7362
79d7167f
TH
73632013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7364
7365 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7366 (reftex-citation-prompt, reftex-default-bibliography)
7367 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7368 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7369 (reftex-bib-sort-author, reftex-bib-sort-year)
7370 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7371 (reftex-extract-bib-entries-from-thebibliography)
7372 (reftex-get-bibkey-default, reftex-get-bib-names)
7373 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7374 (reftex-format-bib-entry, reftex-parse-bibitem)
7375 (reftex-format-bibitem, reftex-do-citation)
7376 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7377 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7378 (reftex-insert-bib-matches, reftex-format-citation)
7379 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7380 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7381 existing comments into docstrings.
7382
5f9dbd7a
XF
73832013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7384
7385 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7386
94df41ab
AS
73872013-06-12 Andreas Schwab <schwab@suse.de>
7388
7389 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7390 for auto-save files.
7391
a7f3fecc
GM
73922013-06-12 Glenn Morris <rgm@gnu.org>
7393
001809f6
GM
7394 * ido.el (ido-delete-ignored-files): Remove.
7395 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7396 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7397
834b5ded
EL
73982013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7399
08c73ed2
EL
7400 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7401
834b5ded
EL
7402 * ido.el (ido-delete-ignored-files): New function,
7403 split from ido-make-file-list-1.
7404 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7405 (ido-make-file-list-1): Use ido-delete-ignored-files.
7406
daabf15a
LL
74072013-06-12 Leo Liu <sdl.web@gmail.com>
7408
7409 * progmodes/octave.el (inferior-octave-startup)
7410 (inferior-octave-completion-table)
7411 (inferior-octave-track-window-width-change)
7412 (octave-eldoc-function-signatures, octave-help)
7413 (octave-find-definition): Use single quoted strings.
7414 (inferior-octave-startup-args): Change default value.
7415 (inferior-octave-startup): Do not hard code "-i" and
7416 "--no-line-editing".
7417 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7418 (inferior-octave-directory-tracker): Use it.
7419 (octave-goto-function-definition): Robustify.
7420 (octave-help): Support highlighting operators in 'See also'.
7421 (octave-find-definition): Find subfunctions only in Octave mode.
7422
cf4e5178
SM
74232013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * help-fns.el (help-fns--compiler-macro): If the handler function is
7426 named, then put a link to it.
7427 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7428 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7429 (cl-typep): Use it.
7430 (cl-eval-when): Simplify debug spec.
7431 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7432 compiler-macro function instead of setting `compiler-macro-file'.
7433
99c81280 74342013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7435
7436 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7437 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7438
f56be016
SM
74392013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7440 Daniel Hackney <dan@haxney.org>
7441
7442 First part of Daniel Hackney's patch to package.el.
7443 * emacs-lisp/package.el: Use defstruct.
7444 (package-desc): New, main struct.
7445 (package--bi-desc, package--ac-desc): New structs, used to describe the
7446 format in external files.
7447 (package-desc-vers): Replace with package-desc-version accessor.
7448 (package-desc-doc): Replace with package-desc-summary accessor.
7449 (package-activate-1): Remove `package' arg since the pkg-vec now
7450 includes the name.
7451 (define-package): Use package-desc-from-define.
7452 (package-unpack-single): Change file-name arg to be a symbol.
7453 (package--add-to-archive-contents): Use package-desc-create and new
7454 accessor functions to package--ac-desc.
7455 (package-buffer-info, package-tar-file-info): Return a package-desc.
7456 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7457 arg to be a package-desc.
7458 (package-install-file): Adjust accordingly. Use \' to match EOS.
7459 (package--from-builtin): New function.
7460 (describe-package-1, package-menu--generate): Use it.
7461 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7462 (package-generate-autoloads): Idem and return the name of the file.
7463 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7464 Change pkg-info arg to be a package-desc.
7465 Use package-make-ac-desc.
7466 (package-upload-file): Use \' to match EOS.
7467 * finder.el (finder-compile-keywords): Use package-make-builtin.
7468
31119d63
SM
74692013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7470
931a2762
SM
7471 * vc/vc.el (vc-deduce-fileset): Change error message.
7472 (vc-read-backend): New function.
7473 (vc-next-action): Use it.
7474
5a3eb0c6
SM
7475 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7476
e3eb1bb7
SM
7477 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7478 (prolog-font-lock-keywords): Use regexp-opt instead.
7479 Don't manually highlight strings.
7480 (prolog-mode-variables): Simplify comment-start-skip.
7481 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7482
31119d63
SM
7483 * emacs-lisp/generic.el (generic--normalise-comments)
7484 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7485 (generic-mode-set-comments): Use them.
7486 (generic-bracket-support): Use setq-local.
7487 (generic-make-keywords-list): Declare obsolete.
7488
7de135d0
GM
74892013-06-11 Glenn Morris <rgm@gnu.org>
7490
7491 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7492 Prettify after setting font-lock-defaults. (Bug#14574)
7493
fa6bc6fd
JB
74942013-06-11 Juanma Barranquero <lekktu@gmail.com>
7495
7496 * replace.el (query-replace, occur-read-regexp-defaults-function)
7497 (replace-search):
7498 * subr.el (declare-function, number-sequence, local-set-key)
7499 (substitute-key-definition, locate-user-emacs-file)
7500 (with-silent-modifications, split-string, eval-after-load):
7501 Fix typos, remove unneeded backslashes and reflow some docstrings.
7502
cf1f9b9a
SM
75032013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7506 default for Elisp files.
7507
56602a4b
GM
75082013-06-11 Glenn Morris <rgm@gnu.org>
7509
7510 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7511 although define-derived-mode was doing this anyway. (Bug#14583)
7512
30ae0b2c
JB
75132013-06-10 Juanma Barranquero <lekktu@gmail.com>
7514
7515 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7516 Fix make-variable-buffer-local call to refer to the correct variable.
7517
fa472906
AG
75182013-06-10 Aidan Gauland <aidalgol@amuri.net>
7519
7520 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7521 (eshell-visual-subcommands, eshell-visual-options):
7522 Add summary line to docstrings. Add cross-references.
fa472906 7523
ff4871b9
GM
75242013-06-10 Glenn Morris <rgm@gnu.org>
7525
7526 * epa.el (epa-read-file-name): New function. (Bug#14510)
7527 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7528
04fcf1b0
AG
75292013-06-09 Aidan Gauland <aidalgol@amuri.net>
7530
7531 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7532 output redirection to be ignored with visual commands.
7533
88b00caa
AG
75342013-06-09 Aidan Gauland <aidalgol@amuri.net>
7535
7536 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7537 (eshell-term-initialize): Move long lambda to separate function
7538 eshell-visual-command-p.
e7b41c4c
JB
7539 * eshell/em-dirs.el (eshell-dirs-initialise):
7540 * eshell/em-script.el (eshell-script-initialize):
7541 Add missing #' to lambda.
88b00caa 7542
fda74125
LL
75432013-06-08 Leo Liu <sdl.web@gmail.com>
7544
7545 * progmodes/octave.el (octave-add-log-current-defun): New function.
7546 (octave-mode): Set add-log-current-defun-function.
7547 (octave-goto-function-definition): Do not move point if not found.
7548 (octave-find-definition): Enhance to try subfunctions first.
7549
467f3b33
GM
75502013-06-08 Glenn Morris <rgm@gnu.org>
7551
7552 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7553 (byte-compile-backward-char, byte-compile-backward-word):
7554 Improve previous change, to handle non-explicit nil.
7555
544badc3
SM
75562013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7559 (smie--opener/closer-at-point): New function.
7560 (smie--matching-block-data): Use it. Don't match from right after an
7561 opener or right before a closer. Obey smie-blink-matching-inners.
7562 Don't signal a mismatch for repeated inners like "switch..case..case".
7563
a175bf33
LL
75642013-06-07 Leo Liu <sdl.web@gmail.com>
7565
7566 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7567 to t. (Bug#14303)
ce8209d4
LL
7568 (octave-function-header-regexp): Fix. (Bug#14570)
7569 (octave-help-mode-finish-hook, octave-help-mode-finish):
7570 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7571
7572 * newcomment.el (comment-search-backward): Revert last change.
7573 (Bug#14434)
7574
7575 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7576
a822acff
EZ
75772013-06-07 Eli Zaretskii <eliz@gnu.org>
7578
7579 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7580 through xargs, to avoid failure due to MS-Windows limitations on
7581 command-line length.
7582
961166f5
GM
75832013-06-06 Glenn Morris <rgm@gnu.org>
7584
d0341459
GM
7585 * font-lock.el (lisp-font-lock-keywords-2):
7586 Treat user-error like error.
7587
961166f5
GM
7588 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7589 (byte-compile-backward-char, byte-compile-backward-word):
7590 Handle explicit nil arguments. (Bug#14565)
7591
80fa505f
AM
75922013-06-05 Alan Mackenzie <acm@muc.de>
7593
7594 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7595 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7596 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7597 (Bug#9706)
80fa505f 7598
fccdc796
SM
75992013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * autorevert.el (auto-revert-notify-handler): Use memq.
7602 Hide assertion failure.
7603
7604 * skeleton.el: Use cl-lib.
7605 (skeleton-further-elements): Use defvar-local.
7606 (skeleton-insert): Use cl-progv.
7607
9bfff84b
TZ
76082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7609
7610 * progmodes/prog-mode.el (prog-prettify-symbols)
7611 (prog-prettify-install): Update docstrings.
7612
55577e7c
SM
76132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * simple.el: Move all the prog-mode code to prog-mode.el.
7616 * progmodes/prog-mode.el: New file.
7617 * loadup.el: Add prog-mode.el.
7618
8fc57765
TZ
76192013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7620
7621 * simple.el (prog-prettify-symbols): Add version.
7622 (prog-prettify-install): Add convenience function to prettify symbols.
7623
7624 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7625 (perl--augmented-font-lock-keywords-1)
7626 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7627 variables and use it.
7628
7629 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7630 (cfengine3-mode): Remove unneeded variable and use it.
7631
7632 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7633 (lisp--augmented-font-lock-keywords-1)
7634 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7635 Remove unneeded variables and use it.
7636
650645d5 76372013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7638
7639 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7640 to point when opening the connection. (Bug#14380)
28f5da6d 7641
781b4af6
SM
76422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * subr.el (load-history-regexp, load-history-filename-element)
7645 (eval-after-load, after-load-functions, do-after-load-evaluation)
7646 (eval-next-after-load, display-delayed-warnings)
7647 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7648 definition of save-match-data.
7649 (overriding-local-map): Remove accidental obsolescence declaration.
7650
7651 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7652
3ca0d0b4
TZ
76532013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7654
7655 Generalize symbol prettify support to prog-mode and implement it
7656 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7657 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7658 (prog--prettify-font-lock-compose-symbol)
7659 (prog-prettify-font-lock-symbols-keywords): New variables and
7660 functions to support symbol prettification.
7661 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7662 (lisp--augmented-font-lock-keywords-1)
7663 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7664 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7665 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7666 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7667 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7668 * progmodes/perl-mode.el (perl-prettify-symbols)
7669 (perl--font-lock-compose-symbol)
7670 (perl--font-lock-symbols-keywords): Move to prog-mode.
7671 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7672 (perl-font-lock-keywords-1)
7673 (perl-font-lock-keywords-2): Remove explicit prettify support.
7674 (perl--augmented-font-lock-keywords)
7675 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7676 (perl--augmented-font-lock-keywords-2, perl-mode):
7677 Implement prettify support.
3ca0d0b4 7678
976cb066
LL
76792013-06-05 Leo Liu <sdl.web@gmail.com>
7680
7681 Re-implement smie matching block highlight using
7682 show-paren-data-function. (Bug#14395)
7683 * emacs-lisp/smie.el (smie-matching-block-highlight)
7684 (smie--highlight-matching-block-overlay)
7685 (smie--highlight-matching-block-lastpos)
7686 (smie-highlight-matching-block)
7687 (smie-highlight-matching-block-mode): Remove.
7688 (smie--matching-block-data-cache): New variable.
7689 (smie--matching-block-data): New function.
7690 (smie-setup): Use smie--matching-block-data for
7691 show-paren-data-function.
7692
7693 * progmodes/octave.el (octave-mode-menu): Fix.
7694 (octave-find-definition): Skip garbage lines.
7695
208d0342
SM
76962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 Fix compilation error with simultaneous dynamic+lexical scoping.
7699 Add warning when a defvar appears after the first let-binding.
7700 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7701 (byte-compile-close-variables): Initialize it.
7702 (byte-compile--declare-var): New function.
7703 (byte-compile-file-form-defvar)
7704 (byte-compile-file-form-define-abbrev-table)
7705 (byte-compile-file-form-custom-declare-variable): Use it.
7706 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7707 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7708 (byte-compile-bind): Handle dynamic bindings that shadow
7709 lexical bindings.
7710 (byte-compile-unbind): Make arg non-optional.
7711 (byte-compile-let): Simplify.
7712 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7713 (cconv--analyse-function, cconv-analyse-form): Populate it.
7714 Protect byte-compile-bound-variables to limit the scope of defvars.
7715 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7716 Remove unneeded rule for `declare'.
7717
7718 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7719 so as to avoid depending on cl-adjoin at run-time.
7720 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7721
7722 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7723 (macroexp--warn-and-return): Use it.
7724
1ac2891e
GM
77252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * lisp/subr.el: Convert to lexical binding.
7728 (overriding-local-map): Make obsolete.
7729 (add-to-list): Doc fix. Add compiler macro.
7730 (read-key): Swap values of local maps.
7731
2587b005
LL
77322013-06-05 Leo Liu <sdl.web@gmail.com>
7733
7734 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7735
f1da3c88
LL
77362013-06-04 Leo Liu <sdl.web@gmail.com>
7737
7738 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7739 (compilation-auto-jump): Suppress the "Mark set" message to give
7740 way to exit message.
7741
3caa391f
AM
77422013-06-04 Alan Mackenzie <acm@muc.de>
7743
7744 Remove faulty optimisation from indentation calculation.
7745 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7746 search limit based on 2000 characters back from indent-point.
7747
068922a2
TH
77482013-06-03 Tassilo Horn <tsdh@gnu.org>
7749
7750 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7751
1f8fdd53
SM
77522013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7753
bbcc4d97
SM
7754 * emacs-lisp/lisp.el: Use lexical-binding.
7755 (lisp--local-variables-1, lisp--local-variables): New functions.
7756 (lisp--local-variables-completion-table): New var.
208d0342 7757 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7758
1f8fdd53
SM
7759 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7760 eagerly (bug#14422).
7761
c9628c79
MA
77622013-06-03 Michael Albinus <michael.albinus@gmx.de>
7763
7764 * autorevert.el (auto-revert-notify-enabled)
7765 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7766 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7767 (auto-revert-notify-handler): Handle also gfilenotify.
7768
e7b41c4c 7769 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7770 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7771 Remove.
c9628c79 7772
e5e4a942
JL
77732013-06-03 Juri Linkov <juri@jurta.org>
7774
7775 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7776 `M-s h .'. (Bug#14427)
7777
7778 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7779 command `hi-lock-face-symbol-at-point'.
7780 (hi-lock-face-symbol-at-point): New command.
7781 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7782 (hi-lock-menu): Add `highlight-symbol-at-point'.
7783 (hi-lock-mode): Doc fix.
7784
7785 * isearch.el (isearch-forward-symbol-at-point): New command.
7786 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7787 (isearch-highlight-regexp): Add a regexp which matches
7788 words/symbols for word/symbol mode.
7789
7790 * subr.el (find-tag-default-bounds): New function with the body
7791 mostly moved from `find-tag-default'.
7792 (find-tag-default): Move most code to `find-tag-default-bounds',
7793 call it and apply `buffer-substring-no-properties' afterwards.
7794
26b3353a
TH
77952013-06-03 Tassilo Horn <tsdh@gnu.org>
7796
781b4af6
SM
7797 * eshell/em-term.el (eshell-term-initialize):
7798 Use `cl-intersection' rather than `intersection'.
26b3353a 7799
51b60f53
XF
78002013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7801
fe054b63 7802 * vc/log-view.el: Doc fix.
d3ffe17c 7803 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7804
a0eb10b3 78052013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7806
7807 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7808 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7809 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7810 (eieio-unbound, eieio-default-superclass)
7811 (eieio--define-field-accessors, method-static, method-before)
7812 (method-primary, method-after, method-num-lists)
7813 (method-generic-before, method-generic-primary)
7814 (method-generic-after, method-num-slots)
7815 (eieio-specialized-key-to-generic-key)
7816 (eieio--check-type, class-v, class-p)
7817 (eieio-class-name, define-obsolete-function-alias)
7818 (eieio-class-parents-fast, eieio-class-children-fast)
7819 (same-class-fast-p, class-constructor, generic-p)
7820 (generic-primary-only-p, generic-primary-only-one-p)
7821 (class-option-assoc, class-option, eieio-object-p)
7822 (class-abstract-p, class-method-invocation-order)
7823 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7824 (eieio-class-un-autoload, eieio-defclass)
7825 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7826 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7827 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7828 (eieio-defgeneric-reset-generic-form)
7829 (eieio-defgeneric-form-primary-only)
7830 (eieio-defgeneric-reset-generic-form-primary-only)
7831 (eieio-defgeneric-form-primary-only-one)
7832 (eieio-defgeneric-reset-generic-form-primary-only-one)
7833 (eieio-unbind-method-implementations)
7834 (eieio--defmethod, eieio--typep)
7835 (eieio-perform-slot-validation, eieio-validate-slot-value)
7836 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7837 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7838 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7839 (eieio-slot-name-index, eieio-class-slot-name-index)
7840 (eieio-set-defaults, eieio-initarg-to-attribute)
7841 (eieio-attribute-to-initarg, eieio-c3-candidate)
7842 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7843 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7844 (eieio-class-precedence-list, eieio-generic-call-methodname)
7845 (eieio-generic-call-arglst, eieio-generic-call-key)
7846 (eieio-generic-call-next-method-list)
7847 (eieio-pre-method-execution-functions, eieio-generic-call)
7848 (eieio-generic-call-primary-only, eieiomt-method-list)
7849 (eieiomt-optimizing-obarray, eieiomt-install)
7850 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7851 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7852 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7853 (defclass): Remove `eval-and-compile' from macro.
7854 (call-next-method, shared-initialize): Instead of using
7855 `scoped-class' variable, use new eieio--scoped-class, and
7856 eieio--with-scoped-class.
7857 (initialize-instance): Rename local variable 'scoped-class' to
7858 'this-class' to remove ambiguitity from old global.
7859
7860 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7861 eieio.el.
4f405069
JB
7862 (eieio--scoped-class-stack): New variable.
7863 (eieio--scoped-class): New fcn.
890f7890
DE
7864 (eieio--with-scoped-class): New scoping macro.
7865 (eieio-defclass): Use pushnew instead of add-to-list.
7866 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7867 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7868 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7869 `scoped-class' variable, use new eieio--scoped-class, and
7870 eieio--with-scoped-class.
7871
7872 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7873
d105b0e2
TH
78742013-06-02 Tassilo Horn <tsdh@gnu.org>
7875
7876 * eshell/esh-ext.el (eshell-external-command): Pass args to
7877 `eshell-find-interpreter'.
7878 (eshell-find-interpreter): Add new second parameter ARGS.
7879
7880 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7881 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7882
7883 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7884 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7885
7886 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7887 (eshell-visual-options): New defcustom.
7888 (eshell-escape-control-x): Adapt docstring.
7889 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7890 `eshell-visual-options' in addition to `eshell-visual-commands'.
7891 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7892
f46305c8 78932013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7894
7895 * progmodes/python.el (python-indent-block-enders): Add break,
7896 continue and raise keywords.
7897
d870df21
GM
78982013-06-01 Glenn Morris <rgm@gnu.org>
7899
9133b82e
GM
7900 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7901
02c992ec 7902 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7903 * progmodes/cc-cmds.el (delete-forward-p):
7904 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7905 * progmodes/cc-engine.el (buffer-syntactic-context):
7906 * progmodes/cc-fonts.el (face-property-instance):
7907 * progmodes/cc-mode.el (set-keymap-parents):
7908 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7909 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7910 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7911 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7912 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7913
31e7b090
GM
7914 * progmodes/cc-vars.el (other): Emacs has this widget since
7915 at least 21.1, so don't (re)define it.
7916
d870df21
GM
7917 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7918 Replace the obsolete alias pcomplete-arg-quote-list.
7919
c75c93c7
LL
79202013-06-01 Leo Liu <sdl.web@gmail.com>
7921
7922 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7923 punctuation syntax.
7924 (inferior-octave-minimal-columns)
7925 (inferior-octave-last-column-width): New variables.
7926 (inferior-octave-track-window-width-change): New function.
7927 (inferior-octave-mode): Adjust column width so that Octave output,
7928 for example from 'ls', can fit into the window nicely.
7929
973d1e12
DG
79302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7931
7932 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7933 Highlight expansions inside regexp literals.
7934
0888c286
GM
79352013-05-31 Glenn Morris <rgm@gnu.org>
7936
e26aac1f
GM
7937 * obsolete/sym-comp.el (symbol-complete):
7938 Replace obsolete completion-annotate-function.
7939
0888c286
GM
7940 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7941
19bb8e62
DG
79422013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7943
781b4af6
SM
7944 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7945 New function, checks if point is inside a literal that allows
19bb8e62
DG
7946 expression expansion.
7947 (ruby-syntax-propertize-expansion): Use it.
7948 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7949 around the body.
7950
01dea85f
JL
79512013-05-30 Juri Linkov <juri@jurta.org>
7952
7953 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7954 to "\M-si".
7955 (isearch-invisible): New variable.
7956 (isearch-forward): Doc fix.
7957 (isearch-mode): Set `isearch-invisible'
7958 to the value of `search-invisible'.
7959 (isearch-toggle-case-fold): Doc fix.
7960 (isearch-toggle-invisible): New command.
7961 (isearch-query-replace): Let-bind `search-invisible'
7962 to the value of `isearch-invisible'.
7963 (isearch-search): Use `isearch-invisible' instead of
7964 `search-invisible'. Let-bind `search-invisible'
7965 to the value of `isearch-invisible'. (Bug#11378)
7966
ab1bdce5
JL
79672013-05-30 Juri Linkov <juri@jurta.org>
7968
7969 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7970 call when `query-flag' is nil and `search-invisible' is non-nil.
7971 (Bug#11746)
7972
d6d236e2
GM
79732013-05-30 Glenn Morris <rgm@gnu.org>
7974
8accd027
GM
7975 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7976
2a8bed1c
GM
7977 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7978 (cc-require): Suppress spurious "noruntime" warnings.
7979 (cc-require-when-compile): Use fboundp, for sake of compiler.
7980
d6d236e2
GM
7981 * progmodes/cc-mode.el: Move load of cc-vars before that of
7982 cc-langs (which in turn loads cc-vars), to quieten compiler.
7983
9190b35b
SM
79842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * paren.el: Simplify the code.
7987 (show-paren-mode): Always start the timer.
7988 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7989 (show-paren--overlay, show-paren--overlay-1): Rename from
7990 show-paren-overlay and show-paren-overlay-1, and initialize to an
7991 overlay rather than to nil.
7992 (show-paren-function): Misc cleanup and simplifications.
7993
4f8d1cf6
SM
79942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * paren.el (show-paren-data-function): New hook.
7997 (show-paren--default): New function, extracted from show-paren-function.
7998 (show-paren-function): Use show-paren-data-function.
7999
02d844b5
GM
80002013-05-30 Glenn Morris <rgm@gnu.org>
8001
d209d4a9
GM
8002 * ielm.el (ielm-map, ielm-complete-symbol):
8003 Use completion-at-point rather than obsolete functions.
8004 (inferior-emacs-lisp-mode): Doc fix.
8005 Set completion-at-point-functions, rather than
8006 comint-dynamic-complete-functions.
8007
2082faa6
GM
8008 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8009 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8010 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8011
dd8620de
GM
8012 * image.el (image-animated-p): Tweak definition.
8013
ceca95b1
GM
8014 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8015 (rlogin-process-connection-type): Tweak default. Add set-after.
8016 (rlogin-host): Doc fix.
8017 (rlogin): Tweak prompt.
8018 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8019
ee9f1acc
GM
8020 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8021 * progmodes/tcl.el (inferior-tcl-mode-map):
8022 Use completion-at-point rather than obsolete alias.
8023
45ce222e
GM
8024 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8025
02d844b5
GM
8026 * minibuffer.el (read-file-name-completion-ignore-case):
8027 Move before completion--in-region, for eager macro expansion.
8028
ac44d6c1
JL
80292013-05-29 Juri Linkov <juri@jurta.org>
8030
8031 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8032 for total count of matching lines. Add `global-matches' for total
8033 count of matches. Rename `matches' to `lines' for count of
8034 matching lines. Add `matches' for count of matches.
8035 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8036 to `prev-line' for line number of prev match endpt.
8037 Increment `matches' for every match. Print the number of
8038 matching lines in the header.
8039 (occur-context-lines): Rename `lines' to `curr-line'.
8040 Rename `prev-lines' to `prev-line'. (Bug#14017)
8041
3c9c9d38
JL
80422013-05-29 Juri Linkov <juri@jurta.org>
8043
8044 * replace.el (perform-replace): Add `skip-read-only-count',
8045 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8046 Increment them for corresponding conditions and report the number
8047 of skipped occurrences in the final message. (Bug#11746)
8048 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8049 (replace-string, replace-regexp): Doc fix.
8050
33e249a2
SM
80512013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8e399682
SM
8053 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8054
33e249a2 8055 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8056 prog-mode-map (bug#14504).
33e249a2 8057
f236dd84
LL
80582013-05-29 Leo Liu <sdl.web@gmail.com>
8059
8060 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8061 (octave-help): Small simplification.
8062
8063 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8064 off the highlight first.
8065
3694d13f
GM
80662013-05-29 Glenn Morris <rgm@gnu.org>
8067
03983bdc
GM
8068 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8069 Handle idlwave-last-system-routine-info-cons-cell being nil.
8070
bc74a74a
GM
8071 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8072 (idlwave-write-paths): Simplify via with-temp-buffer.
8073
8b394200
GM
8074 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8075 * emulation/cua-rect.el: Also load cua-base at run time.
8076
3694d13f
GM
8077 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8078 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8079 (cperl-imenu-on-info): Require imenu.
8080
336d7284
AM
80812013-05-28 Alan Mackenzie <acm@muc.de>
8082
8083 Handle "capitalised keywords" correctly.
33e249a2 8084 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8085
cb29c582
AG
80862013-05-28 Aidan Gauland <aidalgol@amuri.net>
8087
781b4af6 8088 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8089
690e44b2
GM
80902013-05-28 Glenn Morris <rgm@gnu.org>
8091
e658d75c
GM
8092 * vc/vc-arch.el (vc-exec-after): Declare.
8093 (vc-switches): Autoload.
8094 * vc/vc-bzr.el: No need to require vc when compiling.
8095 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8096 (vc-resynch-buffer, vc-dir-refresh): Declare.
8097 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8098 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8099 (vc-resynch-buffer): Declare.
8100 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8101 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8102 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8103 (grep-read-regexp, grep-read-files, grep-expand-template)
8104 (vc-dir-refresh): Declare.
8105 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8106 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8107 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8108 * vc/vc-mtn.el (vc-exec-after): Declare.
8109 (vc-switches): Autoload.
8110 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8111 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8112 (vc-file-tree-walk): Declare.
712b9732
GM
8113 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8114 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8115 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8116 * vc/vc-svn.el (vc-exec-after): Declare.
8117 (vc-switches, vc-setup-buffer): Autoload.
8118 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8119 Autoload.
8120 (vc-resynch-buffer): Declare.
8121
98e87fb3
GM
8122 * obsolete/fast-lock.el (byte-compile-warnings):
8123 Don't warn about obsolete features in this obsolete file.
8124
f5379553
GM
8125 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8126 Move definition before use.
8127
7a20ef83
GM
8128 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8129 (dun-unix-verbs): Remove dun-zippy.
8130 (dun-zippy): Remove function.
8131
690e44b2
GM
8132 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8133
3a52ccf7
JL
81342013-05-27 Juri Linkov <juri@jurta.org>
8135
8136 * replace.el (replace-search): New function with code moved out
8137 from `perform-replace'.
8138 (replace-highlight, replace-dehighlight): Move function definitions
8139 up closer to `replace-search'. (Bug#11746)
8140
d289938a
JL
81412013-05-27 Juri Linkov <juri@jurta.org>
8142
8143 * replace.el (perform-replace): Ignore invisible matches.
8144 In addition to checking `query-replace-skip-read-only', also
8145 filter out matches by calling `run-hook-with-args-until-failure'
8146 on `isearch-filter-predicates', and also check `search-invisible'
8147 for t or call `isearch-range-invisible'.
8148 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8149
66fc57e3
JL
81502013-05-27 Juri Linkov <juri@jurta.org>
8151
8152 * isearch.el (isearch-filter-predicates): Rename from
8153 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8154 (isearch-message-prefix): Display text from the property
8155 `isearch-message-prefix' of the currently active filters.
8156 (isearch-search): Don't compare `isearch-filter-predicate' with
8157 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8158 on `isearch-filter-predicates'. Also check `search-invisible' for t
8159 or call `isearch-range-invisible'.
8160 (isearch-filter-visible): Make obsolete.
8161 (isearch-lazy-highlight-search):
8162 Call `run-hook-with-args-until-failure' on
8163 `isearch-filter-predicates' and use `isearch-range-invisible'.
8164
8165 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8166 `isearch-filter-predicates' instead of `funcall'ing
8167 `isearch-filter-predicate'.
8168 (Info-mode): Set `Info-isearch-filter' to
8169 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8170
8171 * dired-aux.el (dired-isearch-filter-predicate-orig):
8172 Remove variable.
8173 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8174 (dired-isearch-filenames-end): Add and remove
8175 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8176 instead of changing the value of `isearch-filter-predicate'.
8177 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8178 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8179 Put property `isearch-message-prefix' to "filename " on
8180 `dired-isearch-filter-filenames'.
8181
8182 * wdired.el (wdired-change-to-wdired-mode):
8183 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8184 locally instead of changing `isearch-filter-predicate'.
8185 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8186
f1a60a0f
DG
81872013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8188
8189 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8190 return the commit hash (Bug#14459). Also set the
8191 `vc-git-detached' property.
8192 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8193 (vc-git-mode-line-string): Use the same help-echo format whether
8194 in detached mode or not, because we know the actual revision now.
8195 When in detached mode, shorten the revision to 7 chars.
8196
7f17cc40
SM
81972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * emacs-lisp/easy-mmode.el (define-minor-mode):
8200 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8201 mode hook and provide a docstring.
8202
25c8401c
AM
82032013-05-27 Alan Mackenzie <acm@muc.de>
8204
8205 Remove spurious syntax-table text properties inserted by C-y.
8206 * progmodes/cc-mode.el (c-after-change): Also clear hard
8207 syntax-table property with value nil.
8208
dde84790
MA
82092013-05-27 Michael Albinus <michael.albinus@gmx.de>
8210
8211 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8212 when reading the events; the buffer layout shall not be changed.
8213
837fd9af
LL
82142013-05-27 Leo Liu <sdl.web@gmail.com>
8215
8216 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8217 New variable.
8218 (inferior-octave-directory-tracker): Automatically re-sync
8219 default-directory.
8220 (octave-help): Improve handling of 'See also'.
8221
4fd996b3
SM
82222013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8223
416f1802
SM
8224 * doc-view.el: Minor naming convention tweaks.
8225 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8226
4fd996b3
SM
8227 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8228 even if there's no `display' property yet (bug#14435).
8229
a052ef3b
EZ
82302013-05-25 Eli Zaretskii <eliz@gnu.org>
8231
4fd996b3 8232 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8233
8234 * Makefile.in (custom-deps, finder-data, autoloads)
8235 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8236 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8237 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8238
c9023370
SM
82392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8242 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8243 Don't burp at EOB.
c9023370 8244
24d699fa
LL
82452013-05-25 Leo Liu <sdl.web@gmail.com>
8246
8247 * comint.el (comint-previous-matching-input): Do not flood the
8248 *Messages* buffer with trivial messages.
8249
17e5c0cc
SM
82502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8251
8252 * progmodes/flymake.el (flymake-nop): Don't return a string.
8253 (flymake-set-at): Fix typo.
8254
8255 * simple.el (read--expression): New function, extracted from
8256 eval-expression. Set completion-at-point-functions (bug#14465).
8257 (eval-expression, eval-minibuffer): Use it.
8258
5d028165
XF
82592013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8260
8261 * progmodes/flymake.el (flymake-save-buffer-in-file)
8262 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8263 (flymake-selected-frame, flymake-log, flymake-ins-after)
8264 (flymake-set-at, flymake-get-buildfile-from-cache)
8265 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8266 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8267 Refine the doc string.
8268 (flymake-get-file-name-mode-and-masks): Reformat.
8269 (flymake-get-real-file-name-function): Fix a minor bug.
8270
7a1d7ba7
JL
82712013-05-24 Juri Linkov <juri@jurta.org>
8272
8273 * progmodes/grep.el (grep-mode-font-lock-keywords):
8274 Support =linenumber= format used by git-grep for lines with
8275 function names. (Bug#13549)
8276
650cff3d
SM
82772013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8280 0 after a semi-colon; it works better for smie-auto-fill.
8281 (octave--indent-new-comment-line): New function.
8282 (octave-indent-new-comment-line): Use it (indirectly).
8283 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8284 modify comment-line-break-function.
8285
8286 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8287 (smie-setup): Use add-function to set it.
8288
9631677d
SS
82892013-05-24 Sam Steingold <sds@gnu.org>
8290
8291 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8292 argument (before the `interactive' argument).
8293
50105835
SM
82942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * image-mode.el (image-mode-winprops): Add winprops to
8297 image-mode-winprops-alist before running
8298 image-mode-new-window-functions.
8299 * doc-view.el (doc-view-new-window-function): Don't delay
8300 doc-view-goto-page via timers (bug#14435).
8301
57b9823e
TH
83022013-05-24 Tassilo Horn <tsdh@gnu.org>
8303
8304 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8305 (doc-view-desktop-save-buffer): New function.
8306 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8307 (desktop-buffer-mode-handlers):
8308 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8309 handler.
8310 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8311 `desktop-save-buffer' function.
8312
91aafa16
MA
83132013-05-24 Michael Albinus <michael.albinus@gmx.de>
8314
8315 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8316 (tramp-gvfs-file-name-handler): Raise a user error when
8317 `tramp-gvfs-enabled' is nil.
8318 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8319 Do not raise a user error when loading package. (Bug#14447)
8320
ec076379
MA
8321 * net/xesam.el: Move to obsolete/.
8322
db785726
GM
83232013-05-24 Glenn Morris <rgm@gnu.org>
8324
af5c7606
GM
8325 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8326
e5d1916a
GM
8327 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8328
ded62b08
GM
8329 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8330 (Info-find-node, Man-getpage-in-background): Declare.
8331
9e614a3f
GM
8332 * mail/unrmail.el (unrmail):
8333 Replace obsolete detect-coding-with-priority.
8334
892f8ca3
GM
8335 * net/socks.el (socks-split-string): Use this rather than split-string.
8336 (socks-nslookup-host): Update for above change.
8337 (dynamic-choice, s5-dynamic-choice-match)
8338 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8339 Comment out unused code.
8340
3c291973
GM
8341 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8342 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8343 (gud-tooltip-echo-area): Make obsolete.
8344 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8345
43cc956b
GM
8346 * progmodes/js.el (js--optimize-arglist): Declare.
8347
dab49a3b
GM
8348 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8349
36b9d085
GM
8350 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8351 (ediff-window-C): Declare.
8352
e354ae76
GM
8353 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8354 Tweak requires to silence compiler.
8355
b8e57bf4
GM
8356 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8357 (he-search-string, he-tried-table, he-expand-list)
8358 (he-init-string, he-string-member, he-substitute-string)
8359 (he-reset-string): Declare.
8360
db785726
GM
8361 * obsolete/options.el (list-options): Use custom-variable-p,
8362 rather than obsolete alias.
8363
b3531901
SS
83642013-05-23 Sam Steingold <sds@gnu.org>
8365
8366 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8367 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8368 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8369
bdda4c66
SM
83702013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/smie.el (smie-indent-forward-token)
8373 (smie-indent-backward-token): Handle string tokens (bug#14381).
8374
c43d45f9
TH
83752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8376
fe1eb856
RS
8377 * ielm.el (ielm-menu): New menu.
8378 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8379
fe1eb856
RS
83802013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8381
8382 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8383 Fix deactivate action.
8384
8385 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8386 Add cleveref macros.
074dd971 8387
c43d45f9
TH
8388 * lisp/textmodes/reftex-parse.el
8389 (reftex-locate-bibliography-files): Accept options for
8390 bibliography commands.
8391 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8392 Add addbibresource. Basic Biblatex support.
8393
7764286e
MA
83942013-05-23 Michael Albinus <michael.albinus@gmx.de>
8395
8396 * net/tramp-gvfs.el (top):
8397 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8398 when loading package. (Bug#14447)
8399
d361bc10
GM
84002013-05-23 Glenn Morris <rgm@gnu.org>
8401
8fa23984
GM
8402 * progmodes/js.el: No need to load comint when compiling.
8403 (ring-insert, comint-send-string, comint-send-input)
8404 (comint-last-input-end, ido-chop): Declare.
8405
a5c7df1a
GM
8406 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8407 * vc/ediff-mult.el: Adjust requires.
8408 (ediff-directories-internal, ediff-directory-revisions-internal)
8409 (ediff-patch-file-internal): Declare.
8410 * vc/ediff-ptch.el: Adjust requires.
8411 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8412 (ediff-find-file): Autoload.
8413 * vc/ediff-util.el: No need to load ediff when compiling.
8414 (ediff-regions-internal): Declare.
8415 * vc/ediff-wind.el: Adjust requires.
8416 (ediff-compute-toolbar-width): Define when compiling.
8417 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8418 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8419 (dired-get-filename, dired-get-marked-files)
8420 (ediff-last-dir-patch, ediff-patch-default-directory)
8421 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8422 (ediff-patch-buffer-internal): Declare.
8423
e2aec513
GM
8424 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8425 (ispell-process, ispell-buffer-local-words, lm-summary)
8426 (lm-section-start, lm-section-end): Declare.
8427 (checkdoc-ispell-init): Simplify.
8428
e68bbd7c
GM
8429 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8430 (he-string-member, he-reset-string, he-substitute-string): Declare.
8431
7efe0991
GM
8432 * eshell/em-ls.el: Adjust requires.
8433 (eshell-glob-regexp): Declare.
f87b1284
GM
8434 * eshell/em-tramp.el: Adjust requires.
8435 (eshell-parse-command): Autoload.
8436 * eshell/em-xtra.el: Adjust requires.
8437 (eshell-parse-command): Autoload.
8438 * eshell/esh-ext.el: Adjust requires.
8439 (eshell-parse-command, eshell-close-handles): Autoload.
8440 * eshell/esh-io.el: Adjust requires.
8441 (eshell-output-filter): Autoload.
8442 * eshell/esh-util.el: No need to load tramp when compiling.
8443 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8444 Declare.
8445 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8446 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8447 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8448 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8449 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8450 * eshell/esh-opt.el, eshell/esh-proc.el:
8451 * eshell/esh-var.el: Adjust requires.
8452 * eshell/eshell.el: Do not require esh-util twice.
8453 (eshell-add-input-to-history): Declare.
8454 (eshell-command): Check history module is active before using it.
8455
d361bc10
GM
8456 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8457
85d090a9
LL
84582013-05-22 Leo Liu <sdl.web@gmail.com>
8459
8460 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8461
5d0acd9d
MA
84622013-05-22 Michael Albinus <michael.albinus@gmx.de>
8463
8464 * autorevert.el (auto-revert-notify-add-watch)
8465 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8466 it indicates changes in file modification time.
8467
0cdffd7d
GM
84682013-05-22 Glenn Morris <rgm@gnu.org>
8469
ca5995ec
GM
8470 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8471 Always delete the autoloaded function from the noruntime and
8472 unresolved functions lists.
8473
6450907e
GM
8474 * allout.el: No need to load epa, epg, overlay when compiling.
8475 (epg-context-set-passphrase-callback, epg-list-keys)
8476 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8477 (epg-key-user-id-list): Declare.
8478
9c6906f6
GM
8479 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8480 (viper-set-parsing-style-toggling-macro)
8481 (viper-set-emacs-state-searchstyle-macros):
8482 Use called-interactively-p on Emacs.
8483 (viper-looking-back): Make it an obsolete alias. Update callers.
8484 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8485 Use looking-back rather than viper-looking-back.
8486 (viper-tmp-insert-at-eob, viper-enlarge-region)
8487 (viper-read-string-with-history, viper-register-to-point)
8488 (viper-append-to-register, viper-change-state-to-vi)
8489 (viper-backward-char-carefully, viper-forward-char-carefully)
8490 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8491 (viper-change-state-to-emacs): Declare.
8492 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8493 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8494 * emulation/viper-mous.el: Do not load viper-cmd.
8495 (viper-backward-char-carefully, viper-forward-char-carefully)
8496 (viper-forward-word, viper-adjust-window): Declare.
8497
5f70c169
GM
8498 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8499
b1b7f300
GM
8500 * progmodes/idlw-help.el (idlwave-help-fontify):
8501 Use called-interactively-p.
8502
f6ebbb46
GM
8503 * term/w32console.el (w32-get-console-codepage)
8504 (w32-get-console-output-codepage): Declare.
8505
0cdffd7d
GM
8506 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8507 Remove unnecessary declarations.
8508 (dframe-message): Doc fix.
8509
8510 * info.el (dframe-select-attached-frame, dframe-current-frame):
8511 Declare.
8512
8513 * speedbar.el (speedbar-message): Make it an obsolete alias.
8514 Update all callers.
8515 (speedbar-with-attached-buffer)
8516 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8517 (speedbar-with-writable): Use backquote.
8518 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8519 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8520 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8521 rather than speedbar- aliases.
8522 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8523 (speedbar-make-specialized-keymap, speedbar-insert-button)
8524 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8525 (speedbar-do-function-pointer): Declare.
8526 (rmail-speedbar-button, rmail-speedbar-find-file)
8527 (rmail-speedbar-move-message):
8528 Use dframe-with-attached-buffer rather than speedbar- alias.
8529 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8530 (dframe-message, speedbar-make-specialized-keymap)
8531 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8532 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8533 (speedbar-insert-button, dframe-select-attached-frame)
8534 (dframe-maybee-jump-to-attached-frame)
8535 (speedbar-change-initial-expansion-list)
8536 (speedbar-previously-used-expansion-list-name): Declare.
8537 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8538 Use dframe-message, dframe-with-attached-buffer rather than
8539 speedbar- aliases.
8540 (gud-sentinel): Silence compiler.
8541 * progmodes/vhdl-mode.el (speedbar-refresh)
8542 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8543 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8544 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8545 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8546 (speedbar-file-lists, speedbar-make-tag-line)
8547 (speedbar-line-directory, speedbar-goto-this-file)
8548 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8549 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8550 (speedbar-make-button, speedbar-reset-scanners)
8551 (speedbar-files-item-info, speedbar-line-text)
8552 (speedbar-find-file-in-frame, speedbar-set-timer)
8553 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8554 (speedbar-with-writable): Do not (re)define it.
8555 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8556 rather than speedbar- alias.
8557
ee44b62a
LL
85582013-05-21 Leo Liu <sdl.web@gmail.com>
8559
8560 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8561 menu items.
8562 (octave-mode): Tweak fill-nobreak-predicate.
8563 (inferior-octave-startup): Check process to avoid infinite loop.
8564 (inferior-octave): Pop to buffer first to show abornmal process
8565 exit information.
8566
640f050f
GM
85672013-05-21 Glenn Morris <rgm@gnu.org>
8568
79458038
GM
8569 * printing.el (pr-menu-bar): Define when compiling.
8570
9cc3e83f
LL
85712013-05-21 Leo Liu <sdl.web@gmail.com>
8572
8573 * progmodes/octave.el (octave-auto-fill): Remove.
8574 (octave-indent-new-comment-line): Improve.
8575 (octave-mode): Use auto fill mode through
4f405069 8576 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8577 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8578 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8579 (octave-help): Show parent directory.
8580
f440830d
GM
85812013-05-21 Glenn Morris <rgm@gnu.org>
8582
8583 * files.el (dired-unmark):
8584 * progmodes/gud.el (gdb-input): Update declarations.
8585
8586 * calculator.el (electric, ehelp): No need to load when compiling.
8587 (Electric-command-loop, electric-describe-mode): Declare.
8588
8589 * doc-view.el (doc-view-current-converter-processes): Move before use.
8590
8591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8592 Move MODE-set-explicitly definition before use.
8593
8594 * international/mule-diag.el (mule-diag):
8595 Don't use obsolete window-system-version.
8596
8597 * mail/feedmail.el (smtpmail): No need to load when compiling.
8598 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8599
8600 * mail/mail-utils.el (rfc822): No need to load when compiling.
8601 (rfc822-addresses): Autoload it.
8602 (mail-strip-quoted-names): Trivial simplification.
8603
8604 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8605 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8606
8607 * net/snmp-mode.el (tempo): Don't duplicate requires.
8608
8609 * progmodes/prolog.el (info): No need to load when compiling.
8610 (comint): Require before shell requires it.
8611 (Info-goto-node): Autoload it.
8612 (Info-follow-nearest-node): Declare.
8613 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8614
8615 * textmodes/artist.el (picture-mode-exit): Declare.
8616
8617 * textmodes/reftex-parse.el (reftex-parse-from-file):
8618 Trivial rewrite so the compiler can parse it better.
8619
b4da2cbb
LL
86202013-05-20 Leo Liu <sdl.web@gmail.com>
8621
8622 * progmodes/octave.el (octave-help-mode-map)
8623 (octave-help-mode-finish-hook): New variables.
8624 (octave-help-mode, octave-help-mode-finish): New functions.
8625 (octave-help): Use octave-help-mode.
8626
33c0f65b
GM
86272013-05-20 Glenn Morris <rgm@gnu.org>
8628
8629 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8630
1a0a0a8a
DG
86312013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8632
8633 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8634 start at point, so that expansion starting right after opening
8635 slash in a regexp is recognized.
8636 (ruby-syntax-before-regexp-re): New defvar, extracted from
8637 ruby-syntax-propertize-function. Since the value of this regexp
8638 is looked up at runtime now, we should be able to turn
8639 `ruby-syntax-methods-before-regexp' into a defcustom later.
8640 (ruby-syntax-propertize-function): Split regexp matching into two
8641 parts, for opening and closing slashes. That allows us to skip
8642 over string interpolations and support multiline regexps.
8643 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8644 for them, which calls `ruby-syntax-propertize-expansion'.
8645 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8646 call to `ruby-syntax-propertize-function'.
8647 (ruby-syntax-propertize-expansion): Extracted from
8648 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8649 (ruby-syntax-propertize-percent-literal): Leave point right after
8650 the percent symbol, so that the expression expansion rule can
8651 propertize the contents.
462388b6
DG
8652 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8653 heredoc openers.
8654 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8655
c1a6c0a4
JL
86562013-05-18 Juri Linkov <juri@jurta.org>
8657
8658 * man.el (Man-default-man-entry): Remove `-' from the end
8659 of the default value. (Bug#14400)
8660
8051fccd
GM
86612013-05-18 Glenn Morris <rgm@gnu.org>
8662
8663 * comint.el (comint-password-prompt-regexp):
8664 Allow "password for XXX" where XXX contains colons (eg https://...).
8665
5e80b74f
LL
86662013-05-18 Leo Liu <sdl.web@gmail.com>
8667
8668 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8669 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8670 (octave-source-directories): Don't check process.
8671 (octave-source-directories, octave-find-definition): Doc fix.
8672
521a54c5
GM
86732013-05-18 Glenn Morris <rgm@gnu.org>
8674
86a94b05
GM
8675 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8676 Remove backspace/delete bindings. (Bug#14392)
8677
521a54c5
GM
8678 * cus-dep.el (custom-make-dependencies): Sort the output.
8679 (custom-versions-load-alist): Convert comment to doc.
8680
42caeb89
LL
86812013-05-17 Leo Liu <sdl.web@gmail.com>
8682
8683 * newcomment.el (comment-search-backward): Stricter in finding
8684 comment start. (Bug#14303)
8685
8686 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8687 (octave-comment-start-skip): Properly anchored.
8688
e219dd97
LL
86892013-05-17 Leo Liu <sdl.web@gmail.com>
8690
fe1eb856
RS
8691 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8692 Clean up when turned off. (Bug#14395)
e219dd97
LL
8693 (smie--highlight-matching-block-overlay): No longer buffer-local.
8694 (smie-highlight-matching-block): Adjust.
8695
dc5dcb4b
PE
86962013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8697
8698 Doc string fix for "nanoseconds" (Bug#14406).
8699 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8700 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8701
1db165f0
JB
87022013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8703
8704 * calc/calc-units.el (math-extract-units): Preserve powers
8705 of units.
8706
c7a8fcac
LL
87072013-05-17 Leo Liu <sdl.web@gmail.com>
8708
8709 * subr.el (delete-consecutive-dups): New function.
8710 * ido.el (ido-set-matches-1): Use it.
8711 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8712 * ido.el (ido-remove-consecutive-dups): Remove.
8713
f678b18a
SM
87142013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8717 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8718 regexp-opt's `words'.
8719
ebfe68e8
LL
87202013-05-16 Leo Liu <sdl.web@gmail.com>
8721
8722 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8723 (smie--highlight-matching-block-overlay)
8724 (smie--highlight-matching-block-lastpos)
8725 (smie--highlight-matching-block-timer): New variables.
8726 (smie-highlight-matching-block): New function.
8727 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8728 (smie-setup): Conditionally enable smie-blink-matching-open.
8729
bc8bc17d
WS
87302013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8731
8732 Sync with upstream verilog-mode r840.
8733 * progmodes/verilog-mode.el (verilog-mode-version)
8734 (verilog-mode-release-date): Update.
8735 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8736 (verilog-sig-tieoff): Fix string error on
8737 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8738 (verilog-read-decls): Fix parameters confusing
8739 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8740
df065a0b
EZ
87412013-05-16 Eli Zaretskii <eliz@gnu.org>
8742
8743 * subr.el (reveal-filename): New function.
8744
8745 * loadup.el: Compute Emacs executable versions on MS-Windows,
8746 where executables have the .exe extension. Add a hard link
8747 emacs-XX.YY.ZZ.exe on MS-Windows.
8748
8749 * Makefile.in (XARGS_LIMIT): New variable.
8750 (custom-deps, finder-data, autoloads)
8751 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8752 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8753 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8754 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8755
2d4bf34b
LL
87562013-05-16 Leo Liu <sdl.web@gmail.com>
8757
8758 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8759 (octave-mode-menu, octave-mode-map): Remove its uses.
8760
6b9c2d85
RZ
87612013-05-16 Reto Zimmermann <reto@gnu.org>
8762
8763 Sync with upstream vhdl mode v3.34.2.
8764 * progmodes/vhdl-mode.el: Use `push' throughout.
8765 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8766 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8767 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8768 (vhdl-actual-generic-name): New option to derive actual generic name.
8769 (vhdl-port-paste-signals): Replace formal by actual generics.
8770 (vhdl-beautify): New name for old group vhdl-align. Update users.
8771 (vhdl-beautify-options): New option.
8772 (vhdl-last-input-event): New compat alias. Use throughout.
8773 (vhdl-goto-line): Replace user level function `goto-line'.
8774 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8775 vhdl-fix-statement-buffer.
8776 (vhdl-create-mode-menu): Add some entries.
8777 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8778 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8779 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8780 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8781 to force statements on one line.
8782 (vhdl-remove-trailing-spaces-region):
8783 New, split from vhdl-remove-trailing-spaces.
8784 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8785 Respect vhdl-beautify-options.
8786 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8787 (vhdl-update-sensitivity-list): Not add with index if exists without.
8788 Not include array index with signal. Ignore keywords in comments.
8789 (vhdl-get-visible-signals): Regexp tweaks.
8790 (vhdl-template-component-inst): Handle empty library.
8791 (vhdl-template-type): Add template for 'enum' type.
8792 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8793 Use vhdl-replace-string.
8794 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8795 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8796 (vhdl-speedbar-initialize): Update for above name change.
8797 (vhdl-compose-wire-components): Fix in handling of constants.
8798 (vhdl-error-regexp-emacs-alist): New variable.
8799 (vhdl-error-regexp-add-emacs): New function;
8800 adds support for new compile.el (Emacs 22+)
8801 (vhdl-generate-makefile-1): Change target order for single lib. units.
8802 Allow use of absolute file names.
8803
9df4ec5e
LL
88042013-05-16 Leo Liu <sdl.web@gmail.com>
8805
8806 * simple.el (prog-indent-sexp): Indent enclosing defun.
8807
f5ba00a6
GM
88082013-05-15 Glenn Morris <rgm@gnu.org>
8809
ed8be7ff
GM
8810 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8811 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8812 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8813 (whitespace-highlight): Move to whitespace group.
8814
8815 * comint.el (comint-source):
8816 * pcmpl-linux.el (pcmpl-linux):
8817 * shell.el (shell-faces):
8818 * eshell/esh-opt.el (eshell-opt):
8819 * international/ccl.el (ccl): Remove empty custom groups.
8820
8821 * completion.el (dynamic-completion-mode):
8822 * jit-lock.el (jit-lock-debug-mode):
8823 * minibuffer.el (completion-in-region-mode):
8824 * type-break.el (type-break-mode-line-message-mode)
8825 (type-break-query-mode):
8826 * emulation/tpu-edt.el (tpu-edt-mode):
8827 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8828 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8829 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8830
8831 * term/xterm.el (xterm): Change parent group to terminals.
8832
8833 * master.el (master): Remove empty custom group.
8834 (master-mode): Remove unused :group argument.
8835 * textmodes/refill.el (refill): Remove empty custom group.
8836 (refill-mode): Remove unused :group argument.
8837
8838 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8839
82a7c41b
GM
8840 * cus-dep.el: Provide a feature.
8841 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8842 Don't mistakenly ignore files whose basenames match a basename
8843 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8844 Add a fallback method for getting :group.
f5ba00a6 8845
6d65486d
JL
88462013-05-15 Juri Linkov <juri@jurta.org>
8847
da547b32
JL
8848 * isearch.el (isearch-char-by-name): Rename from
8849 `isearch-insert-char-by-name'. Doc fix.
8850 (isearch-forward): Mention `isearch-char-by-name' in
8851 the docstring. (Bug#13348)
8852
6d65486d
JL
8853 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8854 `exit-minibuffer' instead of
8855 `isearch-nonincremental-exit-minibuffer'.
8856 (isearch-edit-string): Remove mention of
8857 `isearch-nonincremental-exit-minibuffer' from docstring.
8858 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8859 (isearch-forward-exit-minibuffer)
8860 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8861
c9990474
SM
88622013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8863
6e911150
SM
8864 * loadup.el: Just use unversioned DOC.
8865
c9990474
SM
8866 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8867 literals as extending to EOB.
8868 (nxml-last-fontify-end): Remove unused variable.
8869 (nxml-after-change1): Use with-silent-modifications.
8870 (nxml-extend-after-change-region): Simplify.
8871 (nxml-extend-after-change-region1): Remove function.
8872 (nxml-after-change1): Don't adjust for dependent regions.
8873 (nxml-fontify-matcher): Simplify.
8874 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8875 (xmltok-add-dependent): Remove function.
8876 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8877 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8878 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8879 unclosed <[[, <?, comment, and other literals as extending to EOB.
8880 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8881 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8882 Remove functions.
8883 (rng-do-some-validation-1): Don't mark dependent regions.
8884 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8885 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8886 (nxml-clear-dependent-regions): Remove functions.
8887 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8888 (nxml-ensure-scan-up-to-date):
8889 Don't clear&mark dependent regions.
8890
e3772e98
LL
88912013-05-15 Leo Liu <sdl.web@gmail.com>
8892
c9990474
SM
8893 * progmodes/octave.el (octave-goto-function-definition):
8894 Improve and fix callers.
e3772e98 8895
5ac2eb34
SM
88962013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8897
c46c57b0
SM
8898 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8899 the setter (bug#14387).
8900
5ac2eb34
SM
8901 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8902 surrounding group (bug#14402).
8903
180ed218
JL
89042013-05-14 Juri Linkov <juri@jurta.org>
8905
8906 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8907 (Bug#14390)
8908
0ac0fecb
GM
89092013-05-14 Glenn Morris <rgm@gnu.org>
8910
8911 * progmodes/f90.el (f90-imenu-generic-expression):
8912 Fix typo in 2013-05-08 change. (Bug#14402)
8913
2e78e6a7
JPG
89142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8915
5ac2eb34
SM
8916 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8917 Remove signals for which replies are never received.
2e78e6a7 8918
53267cca
JPG
89192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8920
8921 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8922 (gdb-handler-alist, gdb-handler-number): Remove variables.
8923 (gdb-handler-list): New variable.
8924 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8925 (gdb-pending-handler-p, gdb-handle-reply)
8926 (gdb-remove-all-pending-triggers): New functions.
8927 (gdb-discard-unordered-replies): New defcustom.
8928 (gdb-handler): New defstruct.
8929 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8930 instead of gdb-pending-triggers. Update docstring.
8931 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8932 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8933 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8934 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8935 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8936 (gdb-frame-handler): Pending triggers are now automatically managed.
8937 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8938 Remove argument.
8939 (gdb-input): Automatically handles pending triggers. Update docstring.
8940 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8941 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8942 Update comments.
8943 (gdb-done-or-error): Now use gdb-handle-reply.
8944
d04ce803
JPG
89452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8946
8947 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8948 gdb-debug-log.
8949
0114073a
GM
89502013-05-14 Glenn Morris <rgm@gnu.org>
8951
8952 * subr.el (user-emacs-directory-warning): New option.
8953 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8954
4d25fd7e
LL
89552013-05-14 Leo Liu <sdl.web@gmail.com>
8956
8957 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8958 during redisplay.
8959 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8960 (octave-font-lock-texinfo-comment): Fix invalid search bound
8961 error: wrong side of point.
4d25fd7e 8962
27c8b6eb
GM
89632013-05-14 Glenn Morris <rgm@gnu.org>
8964
61aaeb01
GM
8965 * progmodes/flymake.el (flymake-xml-program): New option.
8966 (flymake-xml-init): Use it.
8967
5bf90bc5
GM
8968 * term/xterm.el: Provide a feature.
8969
8970 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8971
f4c7dfd2
GM
89722013-05-13 Glenn Morris <rgm@gnu.org>
8973
8974 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8975 Add compat aliases as a hack workaround. (Bug#14384)
8976
2aeb3a1d
LL
89772013-05-13 Leo Liu <sdl.web@gmail.com>
8978
b0e069c2
LL
8979 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8980 ###, and %!.
f5a9432f
LL
8981 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8982 C-M-q.
b0e069c2
LL
8983 (octave-comment-start-skip): Include %!.
8984 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8985
30ea8374
LL
89862013-05-12 Leo Liu <sdl.web@gmail.com>
8987
8988 * progmodes/octave.el (inferior-octave-startup): Store the value
8989 of __octave_srcdir__ for octave-source-directories.
8990 (inferior-octave-check-process): New function refactored out of
8991 inferior-octave-send-list-and-digest.
8992 (octave-source-directories)
8993 (octave-find-definition-filename-function): New variables.
8994 (octave-source-directories)
8995 (octave-find-definition-default-filename): New functions.
8996 (octave-find-definition): Improve to find functions implemented in C++.
8997
472a3834
GM
89982013-05-12 Glenn Morris <rgm@gnu.org>
8999
9000 * calendar/diary-lib.el (diary-outlook-format-1):
9001 Don't include dayname in the output. (Bug#14349)
9002
3191b52f
GM
90032013-05-11 Glenn Morris <rgm@gnu.org>
9004
0060ac73
GM
9005 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9006
3191b52f
GM
9007 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9008 Treat cc-provide like provide.
9009
e065ba74
KR
90102013-05-11 Kevin Ryde <user42@zip.com.au>
9011
9012 * cus-dep.el (custom-make-dependencies):
9013 Use generated-autoload-load-name for the sake of files such
9014 such cedet/semantic/bovine/c.el, where the base file name
9015 is not in load-path. (Bug#5277)
9016
36f84c37
GM
90172013-05-11 Glenn Morris <rgm@gnu.org>
9018
9019 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9020 Provide features.
9021
c8730c3a
LL
90222013-05-11 Leo Liu <sdl.web@gmail.com>
9023
9024 * progmodes/octave.el (octave-indent-comment): Improve.
9025 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9026 (octave-eldoc-function-signatures, octave-eldoc-function):
9027 New functions.
c8730c3a
LL
9028 (octave-mode, inferior-octave-mode): Add eldoc support.
9029
212e29f2
RS
90302013-05-11 Richard Stallman <rms@gnu.org>
9031
9032 * epa.el (epa-decrypt-file): Take output file name as argument
9033 and read it using `interactive'.
9034
083fe0d7
LL
90352013-05-11 Leo Liu <sdl.web@gmail.com>
9036
9037 * progmodes/octave.el (octave-beginning-of-line)
9038 (octave-end-of-line): Check before using up-list because it jumps
9039 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9040 (octave-indent-comment): New function.
9041 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9042 (octave-begin-keywords, octave-end-keywords)
9043 (octave-reserved-words, octave-smie-bnf-table)
9044 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9045
8582e4c4
GM
90462013-05-11 Glenn Morris <rgm@gnu.org>
9047
f20def1f
GM
9048 * faces.el (internal-face-x-get-resource):
9049 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9050 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9051 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9052 Fix declarations.
f20def1f 9053
445f95e2
GM
9054 * calc/calc-menu.el: Make it loadable in isolation.
9055
9056 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9057 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9058 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9059 (eudc-bbdb-query-internal): Require 'bbdb.
9060
99fb2756
GM
9061 * lpr.el (lpr-headers-switches):
9062 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9063
9064 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9065
0da7ad96
GM
9066 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9067
8582e4c4
GM
9068 * term.el (term-set-escape-char): Make it idempotent.
9069
f71c50d0
LL
90702013-05-10 Leo Liu <sdl.web@gmail.com>
9071
5ac2eb34
SM
9072 * progmodes/octave.el (inferior-octave-completion-table):
9073 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9074 completion due to bug#11906.
9075 (octave-beginning-of-defun): Re-write to be more general.
9076
d5837773
GM
90772013-05-10 Glenn Morris <rgm@gnu.org>
9078
9079 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9080
027c0f75
SM
90812013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * comint.el (comint-redirect-send-command-to-process): Use :around
9084 rather than :override for comint-redirect-filter.
9085 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9086 Call it instead of comint-redirect-original-filter-function (which
9087 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9088
4465bfb4
JD
90892013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9090
9091 * frame.el (display-monitor-attributes-list): Add NS case.
9092 (ns-display-monitor-attributes-list): Declare.
9093
2d809ffa 90942013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9095
9096 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9097
e54eeb9b
GM
90982013-05-09 Glenn Morris <rgm@gnu.org>
9099
56cd351d
GM
9100 * international/fontset.el (vertical-centering-font-regexp):
9101 Set standard-value.
9102
d84b6108
GM
9103 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9104
a931698a
GM
9105 * bookmark.el (bookmark-search-delay):
9106 * cus-start.el (vertical-centering-font-regexp):
9107 * ps-mule.el (ps-mule-font-info-database-default):
9108 * ps-print.el (ps-default-fg, ps-default-bg):
9109 * type-break.el (type-break-good-break-interval):
9110 * whitespace.el (whitespace-indentation-regexp)
9111 (whitespace-space-after-tab-regexp):
9112 * emacs-lisp/testcover.el (testcover-1value-functions)
9113 (testcover-noreturn-functions, testcover-progn-functions)
9114 (testcover-prog1-functions):
9115 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9116 * eshell/em-glob.el (eshell-glob-translate-alist):
9117 * play/tetris.el (tetris-tty-colors):
9118 * progmodes/cpp.el (cpp-face-default-list):
9119 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9120 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9121 (idlwave-help-browser-generic-args):
9122 * progmodes/make-mode.el (makefile-special-targets-list):
9123 * progmodes/python.el (python-shell-virtualenv-path):
9124 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9125 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9126 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9127 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9128 * textmodes/reftex-vars.el (reftex-format-label-function):
9129 * textmodes/remember.el (remember-diary-file): Fix custom types.
9130
e54eeb9b
GM
9131 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9132 Add :version.
9133
455851dd
LL
91342013-05-09 Leo Liu <sdl.web@gmail.com>
9135
9136 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9137 Restore file completion. (Bug#14300)
455851dd
LL
9138 (inferior-octave-startup): Fix incorrect highlighting for the
9139 first prompt.
9140
a9e4425b
SM
91412013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * progmodes/ruby-mode.el: First cut at SMIE support.
9144 (ruby-use-smie): New var.
9145 (ruby-smie-grammar): New constant.
9146 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9147 (ruby-smie--forward-token, ruby-smie--backward-token)
9148 (ruby-smie-rules): New functions.
9149 (ruby-mode-variables): Setup SMIE if applicable.
9150
060ca408
EZ
91512013-05-08 Eli Zaretskii <eliz@gnu.org>
9152
9153 * simple.el (line-move-visual): Signal beginning/end of buffer
9154 only if vertical-motion moved less than it was requested. Avoids
9155 silly incorrect error messages when there are display strings with
9156 multiple newlines at EOL.
9157
1d5963cc
SM
91582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9161 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9162 (prolog-char-quote-workaround):
9163 * progmodes/cperl-mode.el (cperl-under-as-char):
9164 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9165 Mark as obsolete.
9166 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9167 their declaration.
9168 (vhdl-mode-syntax-table-init): Remove.
9169
c9990474
SM
9170 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9171 last change.
1d5963cc
SM
9172
9173 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9174 syntax for "_".
9175 (ld-script-font-lock-keywords):
9176 Change regexps to use things like \_< and \_>.
9177
9178 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9179 Change all regexps to use things like \_< and \_>.
9180
9181 * progmodes/autoconf.el (autoconf-definition-regexp)
9182 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9183 Handle a _ with symbol syntax.
9184 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9185
c9990474
SM
9186 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9187 Consolidate declaration.
1d5963cc
SM
9188 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9189 the declaration.
9190 (ada-create-syntax-table): Remove.
9191 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9192 already has the right syntax nowadays.
9193 (ada-goto-next-word): Don't change the syntax of "_".
9194
9195 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9196 with-wrapper-hook.
9197
72d3cfca
SS
91982013-05-08 Sam Steingold <sds@gnu.org>
9199
9200 * thingatpt.el (thing-at-point): Accept optional second argument
9201 NO-PROPERTIES to strip the text properties from the return value.
9202 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9203 to `thing-at-point' instead of stripping the properties ourselves.
9204 Also, when `thing-at-point' fails to find a url, prepend "http://"
9205 to the filename at point on the assumption that the user is
9206 pointing at something like gnu.org/gnu.
9207
5cb15713
JB
92082013-05-08 Juanma Barranquero <lekktu@gmail.com>
9209
9210 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9211 * faces.el (crm-separator):
9212 Silence byte-compiler.
9213
9214 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9215 (tool-bar-map): Remove unneeded defvars.
9216
ea78b95b
LL
92172013-05-08 Leo Liu <sdl.web@gmail.com>
9218
9219 Re-work a fix for bug#10994 based on Le Wang's patch.
9220 * ido.el (ido-remove-consecutive-dups): New helper.
9221 (ido-completing-read): Use it.
9222 (ido-chop): Revert fix for bug#10994.
9223
dc7466df
AS
92242013-05-08 Adam Spiers <emacs@adamspiers.org>
9225
9226 * cus-edit.el (custom-save-variables):
9227 Pretty-print long values. (Bug#14187)
9228
9ecf672a
GM
92292013-05-08 Glenn Morris <rgm@gnu.org>
9230
9231 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9232 (m4-mode-syntax-table): Init in the defvar.
9233 (m4-mode-abbrev-table): Let define-derived-mode define it.
9234
3f555be8
TT
92352013-05-08 Tom Tromey <tromey@redhat.com>
9236
9237 * progmodes/m4-mode.el (m4-mode-syntax-table):
9238 Do not treat "_" as word constituent. (Bug#14167)
9239
7cc8ae06
GM
92402013-05-07 Glenn Morris <rgm@gnu.org>
9241
4f58bc06
GM
9242 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9243 Remove explicit eshell-isearch-cancel-map.
9244
7cc8ae06
GM
9245 * progmodes/f90.el (f90-smart-end-names): New option.
9246 (f90-smart-end): Doc fix.
9247 (f90-end-block-optional-name): New constant.
9248 (f90-block-match): Respect f90-smart-end-names.
9249
ceb57e59
SM
92502013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9253 about implicit semi-colons (bug#14218).
9254
4e3f9230
YM
92552013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9256
9257 * frame.el (display-monitor-attributes-list)
9258 (frame-monitor-attributes): New functions.
9259
203a5572
LL
92602013-05-06 Leo Liu <sdl.web@gmail.com>
9261
9262 * progmodes/octave.el (octave-syntax-propertize-function): Change
9263 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9264 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9265 (octave-completion-at-point): Rename from
203a5572
LL
9266 octave-completion-at-point-function.
9267 (inferior-octave-directory-tracker): Robustify.
9268 (octave-text-functions): Remove and fix its uses. No such things
9269 any more.
9270
ee6cff99
SM
92712013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * emacs-lisp/trace.el (trace--display-buffer): New function.
9274 (trace-make-advice): Use it.
9275
32985194
JL
92762013-05-06 Juri Linkov <juri@jurta.org>
9277
9278 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9279 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9280 Doc fix.
9281 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9282 in the help string. (Bug#12985)
9283
a1c700de
KD
92842013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9285
9286 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9287
c67c0839
SM
92882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9289
323885fd
SM
9290 * progmodes/perl-mode.el: Add support for here documents.
9291 (perl-syntax-propertize-function): Match here-doc markers.
9292 (perl-syntax-propertize-special-constructs): Find their end.
9293 (perl-imenu-generic-expression): Use [:alnum:].
9294
c67c0839
SM
9295 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9296 (advice--add-function): Refresh the advice if already present
9297 (bug#14317).
9298
d491e7a8
IA
92992013-05-06 Ivan Andrus <darthandrus@gmail.com>
9300
9301 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9302
ddf9925e
GM
93032013-05-06 Glenn Morris <rgm@gnu.org>
9304
7cc3af27
GM
9305 * w32-fns.el (w32-charset-info-alist): Declare.
9306
16e343d6
GM
9307 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9308 of its defcustom properties.
9309 (eshell-cmpl-initialize): No need to load pcomplete.
9310
7d889a47
GM
9311 * generic-x.el: No need to require comint when compiling.
9312
ddf9925e
GM
9313 * net/eudc-export.el: Make it loadable without bbdb.
9314 (top-level): Use require rather than load-library.
9315 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9316 (eudc-batch-export-records-to-bbdb)
9317 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9318 Require bbdb.
9319
1e2c18df
SM
93202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9323 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9324 some tweaks, instead.
9325
02502a5f
LL
93262013-05-05 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave.el (octave-font-lock-keywords)
9329 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9330 (inferior-octave-send-list-and-digest): Improve error message.
9331 (octave-mode, inferior-octave-mode): Use setq-local.
9332 (octave-help): Set info-lookup-mode.
9333
0dc04f42
RS
93342013-05-05 Richard Stallman <rms@gnu.org>
9335
6c54491c
RS
9336 * vc/compare-w.el (compare-windows-whitespace):
9337 Treat no-break space as whitespace.
9338
0dc04f42
RS
9339 * mail/rmailsum.el (rmail-summary-rmail-update):
9340 Detect empty summary and don't change selected message.
9341 (rmail-summary-goto-msg): Likewise.
9342
df8f35df
RS
9343 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9344 Doc fixes, rename args.
9345
5356e1a3
AM
93462013-05-05 Alan Mackenzie <acm@muc.de>
9347
9348 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9349
d44014cb
JL
93502013-05-05 Juri Linkov <juri@jurta.org>
9351
9352 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9353 to not add the length of the summary segment to the return value.
9354 (Bug#14125)
9355
c129b51f
LL
93562013-05-05 Leo Liu <sdl.web@gmail.com>
9357
9358 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9359 (inferior-octave-output-filter): Remove.
9360 (octave-send-region, inferior-octave-startup): Fix callers.
9361 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9362 (octave-binary-file-extensions): New user variable.
9363 (octave-find-definition): Confirm if opening binary files.
9364 (octave-help-file): Use octave-find-definition to get the binary
9365 confirmation.
9366 (octave-help): Adjust for octave-help-file change.
9367
aa7dab97
SM
93682013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9371 Merge the two entries that handle function definitions.
9372 (pascal--syntax-propertize): New const.
9373 (pascal-mode): Use it. Use setq-local.
9374
fd3a9a6b
GM
93752013-05-04 Glenn Morris <rgm@gnu.org>
9376
9377 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9378 (diary-from-outlook): Respect diary-from-outlook-function.
9379
30c7e542
SM
93802013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9383 Move the declaration from C.
9384 (read-minibuffer, eval-minibuffer): Move from C.
9385 (completion-setup-function): Avoid minibuffer-completion-contents.
9386
b54f978b
LL
93872013-05-03 Leo Liu <sdl.web@gmail.com>
9388
9389 * progmodes/octave.el (octave-font-lock-keywords): Do not
9390 dehighlight 'end' in comments or strings.
30c7e542
SM
9391 (octave-completing-read, octave-goto-function-definition):
9392 New helpers.
d4d0f9b3
LL
9393 (octave-help-buffer): New user variable.
9394 (octave-help-file, octave-help-function): New button types.
9395 (octave-help): New command and bind it to C-h ;.
9396 (octave-find-definition): New command and bind it to M-.
d74a1581 9397 (user-error): Alias to error if not defined.
b54f978b 9398
27135018
LL
93992013-05-02 Leo Liu <sdl.web@gmail.com>
9400
9401 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9402 for \. (bug#14332)
9403 (octave-font-lock-keywords): Include [ and {.
9404
0d634d3a
LL
94052013-05-02 Leo Liu <sdl.web@gmail.com>
9406
9407 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9408 (inferior-octave): Remove calling comint-mode and return the buffer.
9409 (inferior-octave-startup): Cosmetic changes.
9410
b4c8295e
LL
94112013-05-02 Leo Liu <sdl.web@gmail.com>
9412
30c7e542
SM
9413 * progmodes/octave.el (octave-syntax-propertize-function):
9414 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9415
f12ad6ec
GM
94162013-05-02 Glenn Morris <rgm@gnu.org>
9417
9418 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9419 * desktop.el (vc-dir-mode): Just autoload it here.
9420
30cac1e0
AM
94212013-05-02 Alan Mackenzie <acm@muc.de>
9422
9423 Eliminate variable c-standard-font-lock-fontify-region-function.
9424 * progmodes/cc-mode.el
9425 (c-standard-font-lock-fontify-region-function): Remove.
9426 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9427
d8ef28b1
LL
94282013-05-01 Leo Liu <sdl.web@gmail.com>
9429
2640d52e 9430 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9431 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9432 variables were removed from Octave in 2007.
d8ef28b1
LL
9433 (inferior-octave-startup): Fix uses.
9434 (comint-line-beginning-position): Remove compatibility code for
9435 emacs 21.
9436
ac63ec89
JL
94372013-05-01 Juri Linkov <juri@jurta.org>
9438
9439 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9440
9e9be37c
JL
94412013-05-01 Juri Linkov <juri@jurta.org>
9442
9443 * comint.el (comint-previous-matching-input): Don't print message
9444 "History item: %d" when `isearch-mode' is active.
9445 (comint-history-isearch-message): Print message "History item: %d"
9446 when `comint-input-ring-index' is not empty and this function is
9447 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9448
9b92c13b
LL
94492013-05-01 Leo Liu <sdl.web@gmail.com>
9450
9451 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9452 definitions. Use completion-at-point to insert keywords.
9453 (octave-abbrev-start): Remove.
9454 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9455
b12d33d7
LL
94562013-04-30 Leo Liu <sdl.web@gmail.com>
9457
9458 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9459 change.
9460
3d1c39fa
AM
94612013-04-30 Alan Mackenzie <acm@muc.de>
9462
9463 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9464 * progmodes/cc-engine.el (c-back-over-member-initializers):
9465 new function.
3d1c39fa
AM
9466 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9467 (most) member init lists.
9468
5147fc17
RS
94692013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9470
9471 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9472 variable.
9473
5b78d7fc
LL
94742013-04-30 Leo Liu <sdl.web@gmail.com>
9475
9476 * progmodes/octave.el (octave-variables): Remove. No builtin
9477 variables any more. All converted to functions.
9478 (octave-font-lock-keywords, octave-completion-at-point-function):
9479 Fix uses.
9480 (octave-font-lock-texinfo-comment): New user variable.
9481 (octave-texinfo-font-lock-keywords): New variable for texinfo
9482 comment block.
9483 (octave-function-comment-block): New face.
9484 (octave-font-lock-texinfo-comment): New function.
9485 (octave-mode): Font lock texinfo comment block.
9486
38d8527b
LL
94872013-04-29 Leo Liu <sdl.web@gmail.com>
9488
9489 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9490 indexing expression.
9491 (octave-continuation-string): Do not use \.
9492 (inferior-octave-complete-impossible): Remove.
9493 (inferior-octave-completion-table)
9494 (inferior-octave-completion-at-point): Remove its uses.
9495 (inferior-octave-startup): completion_matches was introduced to
9496 Octave in 1996 so safe to assume it.
9497 (octave-function-file-comment): Improve to follow how Octave does it.
9498 (octave-update-function-file-comment): Tweak.
9499
2ec12cb0
LL
95002013-04-29 Leo Liu <sdl.web@gmail.com>
9501
9502 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9503 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9504 (octave-function-file-comment): Fix typo.
9505 (octave-sync-function-file-names): Use read-char-choice.
9506
6eaed048
JB
95072013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9508
9509 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9510 to t for the less important warnings.
9511
3ffa2d4f
DH
95122013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9513
9514 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9515
685c9501
GM
95162013-04-27 Glenn Morris <rgm@gnu.org>
9517
9518 * vc/log-view.el (log-view-current-entry):
9519 Treat "---" separator lines as part of the following rev. (Bug#14169)
9520
0208ede7
JL
95212013-04-27 Juri Linkov <juri@jurta.org>
9522
9523 * subr.el (read-number): Doc fix about using it by interactive
9524 code letter `n'. (Bug#14254)
9525
5db9dace
JL
95262013-04-27 Juri Linkov <juri@jurta.org>
9527
9528 * desktop.el (desktop-auto-save-timeout): New option.
9529 (desktop-file-checksum): New variable.
9530 (desktop-save): Add optional arg `auto-save' and don't auto-save
9531 if nothing changed.
9532 (desktop-auto-save-timer): New variable.
9533 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9534 (after-init-hook): Call `desktop-auto-save-set-timer'.
9535 Suggested by Reuben Thomas <rrt@sc3d.org> in
9536 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9537
b7260dd4
LL
95382013-04-27 Leo Liu <sdl.web@gmail.com>
9539
9540 * progmodes/octave.el (octave-function-file-p)
9541 (octave-skip-comment-forward, octave-function-file-comment)
9542 (octave-update-function-file-comment): New functions.
9543 (octave-mode-map): Bind C-c ; to
9544 octave-update-function-file-comment.
9545 (octave-mode-menu): Add octave-update-function-file-comment.
9546 (octave-mode, inferior-octave-mode): Fix doc-string.
9547 (octave-insert-defun): Conform to Octave's coding convention.
9548 (Bug#14285)
9549
9550 * files.el (basic-save-buffer): Don't let errors in
9551 before-save-hook prevent saving buffer.
9552
c46da669
RW
95532013-04-20 Roland Winkler <winkler@gnu.org>
9554
9555 * faces.el (read-face-name): Use completing-read if arg multiple
9556 is nil.
9557
a81ee1eb
IL
95582013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9559
9560 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9561 displayed, move point to after the totals line.
9562 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9563 for the details.
9564
4fac34ce
SM
95652013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9568 Add current dir to the load-path.
9569 (package-generate-autoloads): Don't rely on
9570 autoload-ensure-default-file.
9571
f6bfc063
RT
95722013-04-26 Reuben Thomas <rrt@sc3d.org>
9573
d40ab5cf
BG
9574 * textmodes/remember.el (remember-store-in-files): Document that
9575 the file name format is passed to `format-time-string'.
f6bfc063 9576
e55d3b04
LL
95772013-04-26 Leo Liu <sdl.web@gmail.com>
9578
9579 * progmodes/octave.el (octave-sync-function-file-names): New function.
9580 (octave-mode): Use it in before-save-hook.
9581
e53052d3
SM
95822013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9583
140ef50c
SM
9584 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9585 (bug#14274).
9586
e53052d3
SM
9587 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9588 \n and comment, even if it's not an implicit ; (bug#14218).
9589
af80458d 95902013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9591
9592 * subr.el (read-number): Once more use `read' rather than
9593 `string-to-number', to trap non-numeric input. (Bug#14254)
9594
af80458d 95952013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9596
9597 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9598 Use `syntax-multiline' text property consistently instead of
8a621d53 9599 `font-lock-multiline'. (Bug#14237)
70203c2e 9600
e6ea1f6c
GM
96012013-04-26 Glenn Morris <rgm@gnu.org>
9602
9603 * emacs-lisp/shadow.el (list-load-path-shadows):
9604 No longer necessary to check for duplicate simple.el, since
9605 2012-07-07 change to init_lread to not include installation lisp
9606 directories in load-path when running uninstalled. (Bug#14270)
9607
070ccca4
LL
96082013-04-26 Leo Liu <sdl.web@gmail.com>
9609
9610 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9611 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9612 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9613 octave-in-string-or-comment-p.
9614 (octave-in-comment-p, octave-in-string-p)
9615 (octave-in-string-or-comment-p): Replace defsubst with defun.
9616
9d1c5fb6
PE
96172013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9618
9619 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9620
c034abda
BG
96212013-04-25 Bastien Guerry <bzg@gnu.org>
9622
9623 * textmodes/remember.el (remember-data-directory)
9624 (remember-directory-file-name-format): Fix custom types.
9625
584ea277
LL
96262013-04-25 Leo Liu <sdl.web@gmail.com>
9627
e53052d3
SM
9628 * progmodes/octave.el (octave-completion-at-point-function):
9629 Make use of inferior octave process.
584ea277
LL
9630 (octave-initialize-completions): Remove.
9631 (inferior-octave-completion-table): New function.
9632 (inferior-octave-completion-at-point): Use it.
9633 (octave-completion-alist): Remove.
9634
1693b06a
SM
96352013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9638 (opascal-mode-syntax-table): New var.
9639 (opascal-literal-kind, opascal-is-literal-end)
9640 (opascal-literal-token-at): Rewrite.
9641 (opascal--literal-start-re, opascal-font-lock-keywords)
9642 (opascal--syntax-propertize): New constants.
9643 (opascal-font-lock-defaults): Adjust.
9644 (opascal-mode): Use them. Set comment-<foo> variables as well.
9645 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9646 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9647 (delphi-other-face, opascal-other-face): Remove face variables.
9648 (opascal-save-state): Remove macro.
9649 (opascal-fontifying-progress-step): Remove constant.
9650 (opascal--ignore-changes): Remove var.
9651 (opascal-set-token-property, opascal-parse-next-literal)
9652 (opascal-is-stable-literal, opascal-complete-literal)
9653 (opascal-is-literal-start, opascal-face-of)
9654 (opascal-parse-region, opascal-parse-region-until-stable)
9655 (opascal-fontify-region, opascal-after-change)
9656 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9657 (opascal-debug-parse-region, opascal-debug-parse-window)
9658 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9659 (opascal-debug-fontify-buffer): Remove.
9660 (opascal-debug-mode-map): Adjust accordingly.
9661
be64c05d
LL
96622013-04-25 Leo Liu <sdl.web@gmail.com>
9663
9664 Merge octave-mod.el and octave-inf.el into octave.el with some
9665 cleanups.
9666 * progmodes/octave.el: New file renamed from octave-mod.el.
9667 * progmodes/octave-inf.el: Merged into octave.el.
9668 * progmodes/octave-mod.el: Renamed to octave.el.
9669
d79d37bd
TH
96702013-04-25 Tassilo Horn <tsdh@gnu.org>
9671
9672 * textmodes/reftex-vars.el
9673 (reftex-label-ignored-macros-and-environments): New defcustom.
9674
9675 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9676
ced3fc5d
SM
96772013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9680 (smie-indent-keyword): Improve the check to ensure that the next
9681 comment is really on the same line.
9682 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9683
9684 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9685 semi-colons if the line is not otherwise empty (bug#14218).
9686
1c141dad
GM
96872013-04-25 Glenn Morris <rgm@gnu.org>
9688
9689 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9690
5058062a
SM
96912013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * progmodes/opascal.el (opascal-set-token-property): Rename from
9694 opascal-set-text-properties and only set `token' (bug#14134).
9695 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9696 (opascal-literal-text-properties): Remove.
9697 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9698 Adjust callers.
9699
5db9dace 97002013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9701
9702 * textmodes/remember.el (remember-handler-functions): Add an
9703 option for a new handler `remember-store-in-files'.
9704 (remember-data-directory, remember-directory-file-name-format):
9705 New options.
9706 (remember-store-in-files): New function to store remember notes
9707 as separate files within a directory.
9708
4391916c
MH
97092013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9710
9711 * progmodes/compile.el (compilation-next-error-function):
9712 Pass "formats" to compilation-find-file (bug#11777).
9713
bb7cdf58
GM
97142013-04-24 Glenn Morris <rgm@gnu.org>
9715
3b8fe752 9716 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9717 * vc/vc-hg.el (vc-hg-print-log):
9718 * vc/vc-svn.el (vc-svn-print-log):
9719 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9720
bb7cdf58
GM
9721 * vc/vc-bzr.el (vc-bzr-print-log):
9722 * vc/vc-cvs.el (vc-cvs-print-log):
9723 * vc/vc-git.el (vc-git-print-log):
9724 * vc/vc-hg.el (vc-hg-print-log):
9725 * vc/vc-mtn.el (vc-mtn-print-log):
9726 * vc/vc-rcs.el (vc-rcs-print-log):
9727 * vc/vc-sccs.el (vc-sccs-print-log):
9728 * vc/vc-svn.el (vc-svn-print-log):
9729 * vc/vc.el (vc-print-log-internal): Doc fixes.
9730
b46a056e
GM
97312013-04-23 Glenn Morris <rgm@gnu.org>
9732
9733 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9734 Remove venerable code attempting to avoid substitute-command-keys.
9735
0aecf718
TH
97362013-04-23 Tassilo Horn <tsdh@gnu.org>
9737
4391916c
MH
9738 * textmodes/reftex-vars.el (reftex-label-regexps):
9739 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9740
117f94cf
SM
97412013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9742
4391916c 9743 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9744 Use lexical-binding.
9745 (jit-lock-force-redisplay): Use markers, check buffer's continued
9746 existence and beware narrowed buffers.
9747 (jit-lock-fontify-now): Adjust call accordingly.
9748
1d829c64
SM
97492013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9752 to avoid misleading the user.
9753
72d548a9
LL
97542013-04-22 Leo Liu <sdl.web@gmail.com>
9755
9756 * info-look.el: Prefer latex2e.info. (Bug#14240)
9757
d0853629
MA
97582013-04-22 Michael Albinus <michael.albinus@gmx.de>
9759
9760 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9761
9762 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9763 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9764 (tramp-set-completion-function, tramp-parse-putty):
9765 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9766 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9767 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9768 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9769 (tramp-call-local-coding-command): Use `tramp-call-process'
9770 instead of `tramp-compat-call-process'.
9771
9772 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9773 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9774 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9775 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9776 (tramp-maybe-send-script): Check for Perl binary.
9777 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9778
38cc0210
DU
97792013-04-22 Daiki Ueno <ueno@gnu.org>
9780
9781 * epg.el (epg-context-pinentry-mode): New function.
9782 (epg-context-set-pinentry-mode): New function.
9783 (epg--start): Pass --pinentry-mode option to gpg command.
9784
cc641ee1
XF
97852013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9786
02d844b5 9787 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9788 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9789 `completion-at-point'. (Bug#13774)
5d4e5c31 9790
cc641ee1
XF
9791 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9792 default key binding for `describe-distribution' has been moved to
9793 `C-h C-o'. (Bug#13970)
9794
1b42ee43
GM
97952013-04-21 Glenn Morris <rgm@gnu.org>
9796
9797 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9798 Add doc strings.
9799 (vc-print-log): Clarify interactive prompt.
9800
a6d63d97
GM
98012013-04-20 Glenn Morris <rgm@gnu.org>
9802
9803 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9804 No longer include timestamp etc information.
9805
d7f5c16f
RW
98062013-04-20 Roland Winkler <winkler@gnu.org>
9807
9808 * faces.el (read-face-name): Bug fix, return just one face if arg
9809 multiple is nil. (Bug#14209)
9810
bcd7a0a4
SM
98112013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9814 (remove-function): Autoload.
9815
9816 * comint.el (comint-redirect-original-filter-function): Remove.
9817 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9818 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9819 (vc-cvs-annotate-command):
bcd7a0a4
SM
9820 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9821 * progmodes/prolog.el (prolog-consult-compile):
9822 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9823 Use add/remove-function instead.
9824 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9825 (gud-tooltip-process-output, gud-tooltip-tips):
9826 Use add/remove-function instead.
9827 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9828 (scheme-interaction-mode, exit-scheme-interaction-mode):
9829 Use add/remove-function instead.
9830
9831 * vc/vc-dispatcher.el: Use lexical-binding.
9832 (vc--process-sentinel): Rename from vc-process-sentinel.
9833 Change last arg to be the code to run. Don't use vc-previous-sentinel
9834 and vc-sentinel-commands any more.
9835 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9836 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9837
e36b2d20 98382013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9839
bcd7a0a4 9840 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9841 Handle function names with a single character. (Bug#14111)
4d3268ba 9842
781b4af6 98432013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9844
9845 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9846 for subroutines defined in an eval (bug#14182).
9847
7d688336
TV
98482013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9849
9850 * bookmark.el (bookmark-completing-read): Improve handling of empty
9851 string (bug#14176).
9852
31dcede0
SM
98532013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9856
adc31213
FEG
98572013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9858
9859 New faster Imenu implementation (bug#14058).
9860 * progmodes/python.el:
9861 (python-imenu-prev-index-position):
9862 (python-imenu-format-item-label-function)
9863 (python-imenu-format-parent-item-label-function)
9864 (python-imenu-format-parent-item-jump-label-function):
9865 New vars.
9866 (python-imenu-format-item-label)
9867 (python-imenu-format-parent-item-label)
9868 (python-imenu-format-parent-item-jump-label)
9869 (python-imenu--put-parent, python-imenu--build-tree)
9870 (python-imenu-create-index, python-imenu-create-flat-index)
9871 (python-util-popn): New functions.
9872 (python-mode): Set imenu-create-index-function to
9873 python-imenu-create-index.
9874
cdca8255
SM
98752013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * winner.el (winner-active-region): Use region-active-p, activate-mark
9878 and deactivate-mark (bug#14225).
9879
9880 * simple.el (deactivate-mark): Don't inline it.
9881
beb42340
MA
98822013-04-18 Michael Albinus <michael.albinus@gmx.de>
9883
9884 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9885
fc7f4d7e
TH
98862013-04-18 Tassilo Horn <tsdh@gnu.org>
9887
9888 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9889 file extensions from the archive-mode entry in order to prefer
9890 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9891
29f47822
LL
98922013-04-18 Leo Liu <sdl.web@gmail.com>
9893
9894 * bindings.el (help-event-list): Add ?\?.
9895
d36ed1c8
SM
98962013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * subr.el (with-wrapper-hook): Declare obsolete.
9899 * simple.el (filter-buffer-substring-function): New hook.
9900 (filter-buffer-substring): Use it.
9901 (filter-buffer-substring-functions): Mark obsolete.
9902 * minibuffer.el (completion-in-region-function): New hook.
9903 (completion-in-region): Use it.
9904 (completion-in-region-functions): Mark obsolete.
9905 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9906 * abbrev.el (abbrev-expand-function): New hook.
9907 (expand-abbrev): Use it.
9908 (abbrev-expand-functions): Mark obsolete.
9909 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9910 and :filter-return.
9911
04754d36
FEG
99122013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9913
9914 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9915 and do not care about match data.
9916
dd8791e9
SM
99172013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9920 completion tables when completing error conditions and
9921 `declare' arguments.
9922 (lisp-complete-symbol, field-complete): Mark as obsolete.
9923 (check-parens): Unmatched parens are user errors.
9924 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9925
ffe54a13
AM
99262013-04-17 Michal Nazarewicz <mina86@mina86.com>
9927
dd8791e9
SM
9928 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9929 command changed buffer (ie. `flyspell-pre-buffer' is not current
9930 buffer), which prevents making decisions based on invalid value of
9931 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9932 cause an error when `flyspell-pre-point' was nil after switching
9933 buffers.
9934 (flyspell-post-command-hook): No longer needs to change buffers when
9935 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9936
ec7e39f2
AM
99372013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9938
9939 * textmodes/ispell.el (ispell-add-per-file-word-list):
9940 Fix `flyspell-correct-word-before-point' error when accepting
9941 words and `coment-padding' is an integer by using
9942 `comment-normalize-vars' (Bug #14214).
9943
083850a6
FEG
99442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9945
9946 New defun movement commands.
9947 * progmodes/python.el (python-nav--syntactically)
9948 (python-nav--forward-defun, python-nav-backward-defun)
9949 (python-nav-forward-defun): New functions.
9950
619ed6e1
FEG
99512013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9952
9953 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9954 (python-syntax-context): Use named compiler-macro for backwards
9955 compatibility with Emacs 24.x.
9956
7a1beb6c
LL
99572013-04-17 Leo Liu <sdl.web@gmail.com>
9958
9959 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9960 octave-hide-process-buffer.
9961
2d3fa3e5
SM
99622013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9965 (bug#14216).
9966
7ce5be54
JPG
99672013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9968
9969 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9970 Fix adjustment of offset when receiving incomplete responses from GDB
9971 (bug#14129).
9972
351edece
SM
99732013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9976 python-mode-abbrev-table.
9977 (python-skeleton-define): Adjust accordingly.
9978 (python-mode-abbrev-table): New table that inherits from it so that
9979 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9980
9981 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9982 (abbrev-symbol): Use it.
9983 (abbrev--before-point): Use it since we already handle inheritance.
9984
613f9481
LL
99852013-04-16 Leo Liu <sdl.web@gmail.com>
9986
9987 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9988 binding to info-lookup-symbol.
9989
51646b62
JB
99902013-04-16 Juanma Barranquero <lekktu@gmail.com>
9991
9992 * minibuffer.el (completion--twq-all):
9993 * term/ns-win.el (ns-initialize-window-system):
9994 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9995
efb3f01d
SM
99962013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9997
36c0a301
SM
9998 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9999 global bindings.
10000
efb3f01d
SM
10001 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10002
fb549d64
DG
100032013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10004
10005 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10006 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10007 to nil.
10008 (ruby-end-of-defun): Remove the unused arg, change the docstring
10009 to reflect that this function is only used as the value of
10010 `end-of-defun-function'.
10011 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10012 to reflect an earlier change that beginning/end-of-defun functions
10013 jump between methods in a class definition, as well as top-level
10014 functions.
10015
21e8fe2f
SM
100162013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * minibuffer.el (minibuffer-complete): Don't just scroll
10019 a *Completions* that's been iconified.
10020 (minibuffer-force-complete): Make sure repetitions do cycle when going
10021 through completion-in-region -> minibuffer-complete.
10022
20e527d0
AM
100232013-04-15 Alan Mackenzie <acm@muc.de>
10024
10025 Correct the placement of c-cpp-delimiters when there're #s not at
10026 col 0.
10027
10028 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10029 place a submatch around the #.
21e8fe2f
SM
10030 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10031 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10032 on the #, not BOL.
10033
dabefae5
SM
100342013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10037 (advice--member-p): New arg `name'.
10038 (advice--add-function, advice-member-p): Use it (bug#14202).
10039
85c9ab64
AM
100402013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10041
10042 Reformulate java imenu-generic-expression.
10043 The old expression contained ill formed regexps.
10044
10045 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10046 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10047 (cc-imenu-java-method-arg-regexp): New defconsts.
10048 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10049 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10050 handling of spaces in the regexp.
10051
0f821d99
AM
100522013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10053
10054 * textmodes/ispell.el (ispell-command-loop): Remove
10055 flyspell highlight of a word when ispell accepts it (bug #14178).
10056
eb922adf
MA
100572013-04-15 Michael Albinus <michael.albinus@gmx.de>
10058
10059 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10060 uses code from the previous `ange-ftp-run-real-handler'.
10061 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10062 only in case that function exist. This is needed for proper
10063 unloading of Tramp.
10064
4d9a0979
TH
100652013-04-15 Tassilo Horn <tsdh@gnu.org>
10066
10067 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10068
10069 * textmodes/reftex.el (reftex-compile-variables): Use it.
10070
a829b0dc
SM
100712013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10072
91e8293c
SM
10073 * files.el (normal-mode): Only use default major-mode if no other mode
10074 was specified.
10075
830aed4d
SM
10076 * emacs-lisp/trace.el (trace-values): New function.
10077
a829b0dc
SM
10078 * files.el: Allow : in local variables (bug#14089).
10079 (hack-local-variable-regexp): New var.
10080 (hack-local-variables-prop-line, hack-local-variables): Use it.
10081
7ae9f0fb
RW
100822013-04-13 Roland Winkler <winkler@gnu.org>
10083
10084 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10085 data before it gets modified by bibtex-beginning-of-entry.
10086
6646e848
RW
100872013-04-13 Roland Winkler <winkler@gnu.org>
10088
10089 * textmodes/bibtex.el (bibtex-url): Doc fix.
10090
100912013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10092
10093 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10094 does not visit a BibTeX file, exclude it from the list of buffers
10095 returned by bibtex-initialize.
10096
0aa3616e
SB
100972013-04-13 Stephen Berman <stephen.berman@gmx.net>
10098
10099 * window.el (split-window): Remove interactive form, since as a
10100 command this function is a special case of split-window-below.
10101 Correct doc string.
10102
011cddd6
RW
101032013-04-12 Roland Winkler <winkler@gnu.org>
10104
10105 * faces.el (read-face-name): Do not override value of arg default.
10106 Allow single faces and strings as default values. Remove those
10107 elements from return value that are not faces.
10108 (describe-face): Simplify.
10109 (face-at-point): New optional args thing and multiple so that this
10110 function can provide the same functionality previously provided by
10111 read-face-name.
10112 (make-face-bold, make-face-unbold, make-face-italic)
10113 (make-face-unitalic, make-face-bold-italic, invert-face)
10114 (modify-face, read-face-and-attribute): Use face-at-point.
10115
10116 * cus-edit.el (customize-face, customize-face-other-window)
10117 * cus-theme.el (custom-theme-add-face)
10118 * face-remap.el (buffer-face-set)
10119 * facemenu.el (facemenu-set-face): Use face-at-point.
10120
f24e0036
MA
101212013-04-12 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10124
da3cda2d
TH
101252013-04-10 Tassilo Horn <tsdh@gnu.org>
10126
10127 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10128 off leading { and trailing } from field values.
10129
15e54145
SM
101302013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10131
78ce603d
SM
10132 * emacs-lisp/timer.el (timer--check): New function.
10133 (timer--time, timer-set-function, timer-event-handler): Use it.
10134 (timer-set-idle-time): Simplify.
10135 (timer--activate): CSE.
10136 (timer-event-handler): Give more info in error message.
10137 (internal-timer-start-idle): New function, moved from C.
10138
15e54145
SM
10139 * mpc.el (mpc-proc): Add `restart' argument.
10140 (mpc-proc-cmd): Use it.
10141 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10142 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10143 less often.
10144
7144c627
MY
101452013-04-10 Masatake YAMATO <yamato@redhat.com>
10146
10147 * progmodes/sh-script.el: Implement `sh-mode' own
10148 `add-log-current-defun-function' (bug#14112).
10149 (sh-current-defun-name): New function.
10150 (sh-mode): Use the function.
10151
b39792eb
BG
101522013-04-09 Bastien Guerry <bzg@gnu.org>
10153
10154 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10155
8acdeb71
SM
101562013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10157
6fcdab68
SM
10158 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10159
8acdeb71
SM
10160 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10161 timer (bug#14156).
10162
e3e7b504
NF
101632013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10164
10165 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10166 declaration.
10167
201bb296
LL
101682013-04-07 Leo Liu <sdl.web@gmail.com>
10169
10170 * pcmpl-x.el: New file.
10171
ebb19708
DA
101722013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10173
10174 Do not set x-display-name until X connection is established.
10175 This is needed to prevent from weird situation described at
10176 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10177 * frame.el (make-frame): Set x-display-name after call to
10178 window system initialization function, not before.
10179 * term/x-win.el (x-initialize-window-system): Add optional
10180 display argument and use it.
10181 * term/w32-win.el (w32-initialize-window-system):
10182 * term/ns-win.el (ns-initialize-window-system):
10183 * term/pc-win.el (msdos-initialize-window-system):
10184 Add compatible optional display argument.
10185
33bb237a
EZ
101862013-04-06 Eli Zaretskii <eliz@gnu.org>
10187
10188 * files.el (normal-backup-enable-predicate): On MS-Windows and
10189 MS-DOS compare truenames of temporary-file-directory and of the
10190 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10191 don't fail comparison by compare-strings. Also, compare file
10192 names case-insensitively on MS-Windows and MS-DOS.
10193
134abf1f
SM
101942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10197 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10198
d695cb94
DG
101992013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10200
e3e7b504
NF
10201 * whitespace.el (whitespace-color-on, whitespace-color-off):
10202 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10203
f4ad7ea1 102042013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10205
10206 * ispell.el (ispell-set-spellchecker-params):
10207 Really set `ispell-args' for all equivs.
10208
632556e4
SM
102092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * ido.el (ido-completions): Use extra elements of ido-decorations
10212 (bug#14143).
10213 (ido-decorations): Update docstring.
10214
2a417372
MA
102152013-04-05 Michael Albinus <michael.albinus@gmx.de>
10216
10217 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10218 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10219 nil during initialization, in order not to miss changes since the
10220 file was opened. (Bug#14140)
10221
fc164b0c
LL
102222013-04-05 Leo Liu <sdl.web@gmail.com>
10223
10224 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10225
0ccecc08
JB
102262013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10227
10228 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10229
51af1aa2
GM
102302013-04-04 Glenn Morris <rgm@gnu.org>
10231
10232 * electric.el (electric-pair-inhibit-predicate): Add :version.
10233
b208ebc6
SM
102342013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10237 when a package is required several times (bug#14082).
10238
f3d3eaf0
RW
102392013-04-04 Roland Winkler <winkler@gnu.org>
10240
10241 * faces.el (read-face-name): Behave as promised by the docstring.
10242 Assume that arg default is a list of faces.
10243 (describe-face): Call read-face-name with list of default faces.
10244
2575da50
TV
102452013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10246
10247 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10248 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10249 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10250 the header.
10251 (bookmark-exit-hook-internal): Save even if list is empty.
10252
397703b4
YH
102532013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10254
10255 * emacs-lisp/package.el (package-pinned-packages): New var.
10256 (package--add-to-archive-contents): Obey it (bug#14118).
10257
691e26ae
AM
102582013-04-03 Alan Mackenzie <acm@muc.de>
10259
8a621d53
JB
10260 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10261 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10262
10263 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10264 parameter `not-in-delimiter'. Handle being inside comment opener.
10265 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10266 character in case we're typing a '*' after a '/'.
10267 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10268 instead by passing the parameter to c-state-pp-to-literal.
10269
10270 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10271 for elt. 7 of a parse state.
10272
4b725a70
PE
102732013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10274
10275 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10276 * international/latin1-disp.el, international/mule-util.el:
10277 * language/cyril-util.el, language/european.el, language/ind-util.el:
10278 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10279 * language/tibetan.el, language/viet-util.el:
10280 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10281
15c579f0
SM
102822013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10285 (electric-pair-post-self-insert-function): Use it.
10286 (electric-pair-default-inhibit): New function, extracted from
10287 electric-pair-post-self-insert-function.
10288
a77e2924
RW
102892013-03-31 Roland Winkler <winkler@gnu.org>
10290
10291 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10292
2bd8a4a8
SM
102932013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10294
10295 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10296
8d3655be 102972013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10298
10299 Un-indent after "pass" and "return" statements (Bug#13888)
10300 * progmodes/python.el (python-indent-block-enders): New var.
10301 (python-indent-calculate-indentation): Use it.
10302
8d3655be 103032013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10304
10305 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10306 defun. Defining it as defalias could introduce too eager
10307 byte-compiler optimization. (Bug#14030)
10308
8d3655be 103092013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10310
10311 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10312
0b1619da
LL
103132013-03-30 Leo Liu <sdl.web@gmail.com>
10314
10315 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10316 (kmacro-execute-from-register): Pass the keyboard macro to
10317 kmacro-call-macro or repeating won't work correctly.
10318
0b938190
TZ
103192013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10320
10321 * progmodes/subword.el: Back to using `forward-symbol'.
10322
10323 * subr.el (forward-whitespace, forward-symbol)
10324 (forward-same-syntax): Move from thingatpt.el.
10325
35710234
LL
103262013-03-29 Leo Liu <sdl.web@gmail.com>
10327
10328 * kmacro.el (kmacro-to-register): New command.
10329 (kmacro-execute-from-register): New function.
10330 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10331
efc0bb73
SM
103322013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * mpc.el: Use defvar-local and setq-local.
10335 (mpc--proc-connect): Connection failures are not bugs.
10336 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10337 (mpc-volume-map): Bind to the up-events.
10338
75a2f981
TZ
103392013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10340
10341 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10342 instead of `forward-symbol'.
10343
17c781d1
SM
103442013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10347 (edebug--recursive-edit): Use it.
10348 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10349 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10350
f67bfbcf
LL
103512013-03-28 Leo Liu <sdl.web@gmail.com>
10352
10353 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10354
b59f639d
EZ
103552013-03-27 Eli Zaretskii <eliz@gnu.org>
10356
10357 * facemenu.el (list-colors-callback): New defvar.
10358 (list-colors-redisplay): New function.
10359 (list-colors-display): Install list-colors-redisplay as the
10360 revert-buffer-function. (Bug#14063)
10361
f557c1b1
SM
103622013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10363
b1da2957
SM
10364 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10365 and suffixes don't overlap (bug#14061).
10366
f557c1b1
SM
10367 * case-table.el: Use lexical-binding.
10368 (case-table-get-table): New function.
10369 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10370
002668e1
TZ
103712013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10372
10373 * progmodes/subword.el: Add `superword-mode' to do word motion
10374 over symbol_words (parallels and leverages `subword-mode' which
10375 does word motion inside MixedCaseWords).
10376
73572c72
AG
103772013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10378
78b8f320 10379 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10380 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10381
69b2c07e
SM
103822013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10385 Change return value to be a sexp. Delay `get-buffer' to after
10386 restoring the desktop (bug#13951).
10387
08bb5ee2
LL
103882013-03-26 Leo Liu <sdl.web@gmail.com>
10389
10390 * register.el: Move semantic tag handling back to
10391 cedet/semantic/senator.el. (Bug#14052)
10392
8d4c974e
SM
103932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10396 into the prompt either (bug#13963).
10397
b234d92c
SM
103982013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10401 part of "(error-foo)".
10402
ddfa3cb4
JL
104032013-03-24 Juri Linkov <juri@jurta.org>
10404
10405 * replace.el (list-matching-lines-prefix-face): New defcustom.
10406 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10407 `occur-engine' if `face-differs-from-default-p' returns t.
10408 (occur-engine): Add `,' inside backquote construct to evaluate
10409 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10410 Pass `prefix-face' to the functions `occur-context-lines' and
10411 `occur-engine-add-prefix'.
10412 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10413 `prefix-face' and propertize the prefix with `prefix-face'.
10414 (Bug#14017)
10415
7b0e2f85
LL
104162013-03-24 Leo Liu <sdl.web@gmail.com>
10417
10418 * nxml/rng-valid.el (rng-validate-while-idle)
10419 (rng-validate-quick-while-idle): Guard against deleted buffer.
10420 (Bug#13999)
10421
10422 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10423 is the last entry in kill-buffer-hook.
10424
10425 * files.el (kill-buffer-hook): Doc fix.
10426
b3082f49
DG
104272013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10428
b234d92c
SM
10429 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10430 Make it safe-local.
bde73d27 10431
b3082f49
DG
10432 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10433
a320a2db
LL
104342013-03-23 Leo Liu <sdl.web@gmail.com>
10435
7e74b0fb
LL
10436 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10437 Remove.
10438
10439 * nxml/rng-valid.el (rng-validate-mode)
10440 (rng-after-change-function, rng-do-some-validation):
10441 * nxml/rng-maint.el (rng-validate-buffer):
10442 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10443 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10444 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10445 (nxml-extend-after-change-region): Use with-silent-modifications.
10446
a320a2db
LL
10447 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10448 timer-idle-list.
10449
10450 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10451 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10452 timer-idle-list. (Bug#13999)
10453
e38e6780
JL
104542013-03-23 Juri Linkov <juri@jurta.org>
10455
10456 * info.el (info-index-match): New face.
10457 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10458 main pattern and add text properties with the new face to matches
10459 in index entries relative to the beginning of the index entry.
10460 (Bug#14015)
10461
e8cc7880
DE
104622013-03-21 Eric Ludlam <zappo@gnu.org>
10463
10464 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10465 Inhibit read only while inserting objects.
10466
9bb0d822
TZ
104672013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10468
10469 * progmodes/cfengine.el: Update docs to mention
10470 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10471 symbol motion. Remove "_" from the word syntax.
10472
aa703640
TZ
104732013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10474
10475 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10476 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10477
afff09d0
JL
104782013-03-20 Juri Linkov <juri@jurta.org>
10479
10480 * info.el (Info-next-reference-or-link)
10481 (Info-prev-reference-or-link): New functions.
10482 (Info-next-reference, Info-prev-reference): Use them.
10483 (Info-try-follow-nearest-node): Handle footnote navigation.
10484 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10485
9a1ff164
SM
104862013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10489 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10490
2667d15d
PE
104912013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10492
10493 Suppress unnecessary non-ASCII chatter during build process.
10494 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10495 (batch-skkdic-convert): Suppress most of the chatter.
10496 It's not needed so much now that machines are faster,
10497 and its non-ASCII component was confusing; see Dmitry Gutov in
10498 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10499
438b0579
LL
105002013-03-20 Leo Liu <sdl.web@gmail.com>
10501
10502 * ido.el (ido-chop): Fix bug#10994.
10503
c128ab07
DG
105042013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10505
10506 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10507 Remove vars.
9a1ff164
SM
10508 (whitespace-color-on, whitespace-color-off):
10509 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10510
0e6008c5
SM
105112013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10514 remapping in mode-line.
10515 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10516
627b52b0
DG
105172013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10518
10519 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10520 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10521 (whitespace-font-lock-keywords): Change description.
10522 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10523 the constructed keywords instead.
10524 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10525
50c3a20b
LL
105262013-03-19 Leo Liu <sdl.web@gmail.com>
10527
10528 * progmodes/compile.el (compilation-display-error): New command.
10529 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10530 C-o. (Bug#13992)
10531
2aa2157b
PE
105322013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10533
10534 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10535
e477dbfa
JD
105362013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10537
10538 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10539
64ab82d1
MA
105402013-03-18 Michael Albinus <michael.albinus@gmx.de>
10541
10542 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10543
10544 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10545 * net/tramp-gvfs.el (top):
10546 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10547 (tramp-handle-shell-command): Use it.
10548 (tramp-dissect-file-name): Raise an error when hostname is a
10549 method name, and neither method nor user is specified.
10550
10551 * net/trampver.el: Update release number.
10552
33cef733
LL
105532013-03-18 Leo Liu <sdl.web@gmail.com>
10554
10555 Make sure eldoc can be turned off properly.
10556 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10557 eldoc-mode.
10558 (eldoc-display-message-p): Revert last change.
10559 (eldoc-display-message-no-interference-p)
10560 (eldoc-print-current-symbol-info): Tweak.
10561
2167b7b2
TH
105622013-03-18 Tassilo Horn <tsdh@gnu.org>
10563
10564 * doc-view.el (doc-view-new-window-function): Check the new window
10565 overlay's display property instead the char property of the
10566 buffer's first char. Use `with-selected-window' instead of
10567 `save-window-excursion' with `select-window'.
10568 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10569 display property instead the char property of the buffer's first char.
2167b7b2 10570
982efbcd
PE
105712013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10572
10573 Automate the build of ja-dic.el (Bug#13984).
10574 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10575 from the input, rather than assume that it's been done for us by the
10576 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10577 the current date into a ja-dic.el comment, as that complicates
10578 regression testing.
10579
2fcc7665
SM
105802013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * whitespace.el: Fix double evaluation.
10583 (whitespace-space, whitespace-hspace, whitespace-tab)
10584 (whitespace-newline, whitespace-trailing, whitespace-line)
10585 (whitespace-space-before-tab, whitespace-indentation)
10586 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10587 obsolete defvars.
10588 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10589 (whitespace-color-on): Use a single font-lock-add-keywords call.
10590 Fix double-evaluation of face variables.
10591
67c0a6e6
MA
105922013-03-17 Michael Albinus <michael.albinus@gmx.de>
10593
2fcc7665
SM
10594 * net/tramp-adb.el (tramp-adb-parse-device-names):
10595 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10596 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10597
69489f1d
LL
105982013-03-17 Leo Liu <sdl.web@gmail.com>
10599
10600 Extend eldoc to display info in the mode-line. (Bug#13978)
10601 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10602 (eldoc-mode-line-string): New variable.
10603 (eldoc-minibuffer-message): New function.
10604 (eldoc-message-function): New variable.
10605 (eldoc-message): Use it.
10606 (eldoc-display-message-p)
2fcc7665
SM
10607 (eldoc-display-message-no-interference-p):
10608 Support eldoc-post-insert-mode.
69489f1d
LL
10609
10610 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10611 (eval-expression): Run it.
10612
9c44569e
RW
106132013-03-17 Roland Winkler <winkler@gnu.org>
10614
10615 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10616 strings in the list of return values.
10617
327f1f6f
JB
106182013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10619
10620 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10621 radix before checking for HMS forms.
10622
67ed8fcd
LL
106232013-03-16 Leo Liu <sdl.web@gmail.com>
10624
10625 * progmodes/scheme.el: Add indentation and font-locking for λ.
10626 (Bug#13975)
10627
78be8b64 106282013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10629
10630 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10631 token before point (bug#13942).
10632
78be8b64 106332013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10634
95b43468 10635 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10636
98e775e6
EZ
106372013-03-16 Eli Zaretskii <eliz@gnu.org>
10638
10639 * startup.el (command-line-normalize-file-name): Fix handling of
10640 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10641 <xfq.free@gmail.com> in
10642 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10643
2edd6029
MA
106442013-03-15 Michael Albinus <michael.albinus@gmx.de>
10645
10646 Sync with Tramp 2.2.7.
10647
10648 * net/trampver.el: Update release number.
10649
d35f5864
TH
106502013-03-14 Tassilo Horn <tsdh@gnu.org>
10651
e903c210 10652 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10653 (doc-view-insert-image): Don't modify overlay associated to
10654 non-live windows, and implement horizontal centering of image in
10655 case it's smaller than the window.
10656 (doc-view-new-window-function): Force redisplay of new windows on
10657 doc-view buffers.
d35f5864 10658
1c4a85ed
KF
106592013-03-13 Karl Fogel <kfogel@red-bean.com>
10660
10661 * saveplace.el (save-place-alist-to-file): Don't sort
10662 `save-place-alist', just pretty-print it (bug#13882).
10663
85b66a21
MA
106642013-03-13 Michael Albinus <michael.albinus@gmx.de>
10665
a020afb9
JB
10666 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10667 Check whether `default-file-name-coding-system' is bound.
10668 It isn't in XEmacs.
85b66a21 10669
175600da
SM
106702013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10671
e7f7cb1a
SM
10672 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10673 backquotes for `obsolete' (bug#13929).
10674
175600da
SM
10675 * international/mule.el (find-auto-coding): Include file name in
10676 obsolescence warning (bug#13922).
10677
ca68a22e
TZ
106782013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10679
10680 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10681 for CFEngine 3-specific indentation.
10682 (cfengine3-indent-line): Use it. Fix up category regex.
10683 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10684
940e5099
SM
106852013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10686
10687 * type-break.el (type-break-file-name):
10688 * textmodes/remember.el (remember-data-file):
10689 * strokes.el (strokes-file):
10690 * shadowfile.el (shadow-initialize):
10691 * saveplace.el (save-place-file):
10692 * ps-bdf.el (bdf-cache-file):
10693 * progmodes/idlwave.el (idlwave-config-directory):
10694 * net/quickurl.el (quickurl-url-file):
10695 * international/kkc.el (kkc-init-file-name):
10696 * ido.el (ido-save-directory-list-file):
10697 * emulation/viper.el (viper-custom-file-name):
10698 * emulation/vip.el (vip-startup-file):
10699 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10700 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10701
cc725808
PE
107022013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10703
10704 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10705 * language/thai-word.el: Switch to UTF-8.
10706
a020afb9 10707See ChangeLog.16 for earlier changes.
e3d51b27
MR
10708
10709;; Local Variables:
10710;; coding: utf-8
e3d51b27
MR
10711;; End:
10712
ab422c4d 10713 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10714
10715 This file is part of GNU Emacs.
10716
10717 GNU Emacs is free software: you can redistribute it and/or modify
10718 it under the terms of the GNU General Public License as published by
10719 the Free Software Foundation, either version 3 of the License, or
10720 (at your option) any later version.
10721
10722 GNU Emacs is distributed in the hope that it will be useful,
10723 but WITHOUT ANY WARRANTY; without even the implied warranty of
10724 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10725 GNU General Public License for more details.
10726
10727 You should have received a copy of the GNU General Public License
10728 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.