* alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8212d9c0
DG
12013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4 after the end of a percent literal.
5
8f48d131
CD
62013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
7
8 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
9 caret-delimited strings (Bug#16079).
10
ff8c9764
DG
112013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12
13 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
14 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15 `ruby-parse-partial' (Bug#16078).
16
d64643b4
LL
172013-12-09 Leo Liu <sdl.web@gmail.com>
18
19 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
20
47e59c66
DG
212013-12-08 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
24 (js-switch-indent-offset): New option.
25 (js--proper-indentation): Use it. And handle the case when
26 "default" is actually a key in an object literal.
27 (js--same-line): New function.
28 (js--multi-line-declaration-indentation): Use it.
29 (js--indent-in-array-comp, js--array-comp-indentation): New
30 functions.
31 (js--proper-indentation): Use them, to handle array comprehension
32 continuations.
33
974ebc9c
LL
342013-12-08 Leo Liu <sdl.web@gmail.com>
35
36 * progmodes/flymake.el (flymake-highlight-line): Re-write.
37 (flymake-make-overlay): Remove arg MOUSE-FACE.
38 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
39
27262e39
SM
402013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
43 New function.
44 (redisplay-highlight-region-function): Use it.
45
46 * emulation/cua-base.el (cua--explicit-region-start)
47 (cua--last-region-shifted): Remove.
48 (cua--deactivate): Use deactivate-mark.
49 (cua--pre-command-handler-1): Don't handle shift-selection.
50 (cua--post-command-handler-1): Don't change transient-mark-mode.
51 (cua--select-keymaps): Use region-active-p rather than
52 cua--explicit-region-start or cua--last-region-shifted.
53 (cua-mode): Enable shift-select-mode.
54
6407822c
LL
552013-12-08 Leo Liu <sdl.web@gmail.com>
56
27262e39
SM
57 * progmodes/flymake.el (flymake-popup-current-error-menu):
58 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
59 (flymake-posn-at-point-as-event, flymake-popup-menu)
60 (flymake-make-emacs-menu): Remove. (Bug#16077)
61
00a2b823
SM
622013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
63
02033d49
SM
64 * rect.el (rectangle-mark-mode): Activate mark even if
65 transient-mark-mode is off (bug#16066).
66 (rectangle--highlight-for-redisplay): Fix boundary condition when point
67 is > mark and at bolp.
68
6f8dfccf
SM
69 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
70 (region-extract-function): Use it.
71 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
72 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
73 Delete functions.
74 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
75 kill-ring-save, kill-region, delete-char, delete-forward-char.
76 Ignore self-insert-iso.
77
78 * emulation/cua-gmrk.el (cua--init-global-mark):
79 Ignore `self-insert-iso'.
80
81 * emulation/cua-base.el (cua--prefix-copy-handler)
82 (cua--prefix-cut-handler): Rely on region-extract-function rather than
83 checking cua--rectangle.
84 (cua-delete-region): Use region-extract-function.
85 (cua-replace-region): Delete function.
86 (cua-copy-region, cua-cut-region): Obey region-extract-function.
87 (cua--pre-command-handler-1): Don't do the delete-selection thing.
88 (cua--self-insert-char-p): Ignore `self-insert-iso'.
89 (cua--init-keymaps): Don't remap delete-selection commands.
90 (cua-mode): Use delete-selection-mode instead of rolling our own
91 (bug#16085).
92
93 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
94 Obey region-extract-function.
95
00a2b823
SM
96 Make registers and delete-selection-mode work on rectangles.
97 * register.el (describe-register-1): Don't modify the register's value.
98 (copy-to-register): Obey region-extract-function.
99 * delsel.el (delete-active-region): Obey region-extract-function.
100
a92fa5f1
LL
1012013-12-08 Leo Liu <sdl.web@gmail.com>
102
103 * progmodes/flymake.el (flymake, flymake-error-bitmap)
104 (flymake-warning-bitmap, flymake-fringe-indicator-position)
105 (flymake-compilation-prevents-syntax-check)
106 (flymake-start-syntax-check-on-newline)
107 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
108 (flymake-start-syntax-check-on-find-file, flymake-log-level)
109 (flymake-xml-program, flymake-master-file-dirs)
110 (flymake-master-file-count-limit)
111 (flymake-allowed-file-name-masks): Relocate.
112 (flymake-makehash, flymake-float-time)
113 (flymake-replace-regexp-in-string, flymake-split-string)
114 (flymake-get-temp-dir): Remove.
115 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
116 (flymake-current-row, flymake-selected-frame)
117 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
118 related functions. (Bug#16077)
119
73c8ceea
BB
1202013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
121
122 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
123
faec28d9
TH
1242013-12-07 Tassilo Horn <tsdh@gnu.org>
125
126 * help-fns.el (describe-function-1): Use new advice-* functions
127 rather than old ad-* functions. Fix function type description and
128 source links for advised functions and subrs.
129
e330b646
LMI
1302013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
131
00a2b823 132 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 133
4803595d
MA
1342013-12-06 Michael Albinus <michael.albinus@gmx.de>
135
136 * progmodes/compile.el (compilation-start):
137 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
138
139 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
140 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
141
fa834a93
DG
1422013-12-06 Dmitry Gutov <dgutov@yandex.ru>
143
00a2b823
SM
144 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
145 Touch up the last change.
fa834a93 146
b2856a6f
LL
1472013-12-06 Leo Liu <sdl.web@gmail.com>
148
149 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
150 (inferior-octave-startup): Always use "octave> " for prompt.
151 (octave-goto-function-definition)
152 (octave-sync-function-file-names)
153 (octave-find-definition-default-filename): Remove redundant backquotes.
154
af67e79a
DG
1552013-12-06 Dmitry Gutov <dgutov@yandex.ru>
156
157 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
158 syntax for `?'.
159 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
160 where appropriate already.
161 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
162 end of method names (Bug#15874).
163
bf093209
JL
1642013-12-06 Juri Linkov <juri@jurta.org>
165
166 * isearch.el (isearch--saved-overriding-local-map):
167 New internal variable.
168 (isearch-mode): Set it to the initial value of
169 `overriding-terminal-local-map'.
170 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
171 with `isearch--saved-overriding-local-map'. (Bug#16035)
172
16588fad
DG
1732013-12-06 Dmitry Gutov <dgutov@yandex.ru>
174
00a2b823
SM
175 * progmodes/octave.el (inferior-octave-completion-table):
176 Turn back into function, use `completion-table-with-cache'
16588fad
DG
177 (Bug#11906). Update all references.
178
179 * minibuffer.el (completion-table-with-cache): New function.
180
bf4906d7
CD
1812013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
182
183 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
184
ff69c18f
TZ
1852013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
186
187 * net/eww.el (eww-current-source): New variable to store page
188 source.
189 (eww-display-html, eww-mode, eww-save-history)
190 (eww-restore-history): Use it.
191 (eww-view-source): New command to view page source.
192 Opportunistically uses `html-mode' to highlight the buffer.
193 (eww-mode-map): Install it.
194
b85eff45
MA
1952013-12-05 Michael Albinus <michael.albinus@gmx.de>
196
197 * net/dbus.el (dbus-unregister-service)
198 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
199 Fix docstring.
200 (dbus-unregister-service): Skip :serial entries in
201 `dbus-registered-objects-table'.
202 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
203
39eb0899
TZ
2042013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
205
206 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
207 around keywords with extra `split-string' argument.
208
456760a5
MR
2092013-12-04 Martin Rudalics <rudalics@gmx.at>
210
211 * windmove.el (windmove-other-window-loc): Handle navigation
212 between windows (excluding the minibuffer window - Bug#16017).
213
81961e4c
MA
2142013-12-04 Michael Albinus <michael.albinus@gmx.de>
215
216 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
217 in D-Bus type syntax.
218 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
219 preserve unibyte strings. (Bug#16048)
220
8497f938
SM
2212013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
224 Call force-mode-line-update is the proper buffer (bug#16042).
225
dda61916
DG
2262013-12-04 Dmitry Gutov <dgutov@yandex.ru>
227
228 * vc/log-edit.el (log-edit-add-new-comment): Rename to
229 `log-edit-remember-comment', make argument optional. Adjust all
230 callers.
231 (log-edit-mode): Add `log-edit-remember-comment' to
232 `kill-buffer-hook' locally.
233 (log-edit-kill-buffer): Don't remember comment explicitly since
234 the buffer is killed anyway.
235
c085e5b9
JL
2362013-12-04 Juri Linkov <juri@jurta.org>
237
238 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
239 add-hook and remove-hook for multi-buffer search. (Bug#16035)
240
d6f2380e
TR
2412013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
242
243 * notifications.el (notifications-close-notification): Call the
81961e4c 244 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 245
39fa32d6
KY
2462013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
247
248 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
249
9139632a
JL
2502013-12-03 Juri Linkov <juri@jurta.org>
251
252 * progmodes/compile.el (compilation-start): Rename window alist
253 entry `no-display-ok' to `allow-no-window'.
254
255 * simple.el (shell-command): Add window alist entry
256 `allow-no-window' to `display-buffer'.
257 (async-shell-command): Doc fix.
258
259 * window.el (display-buffer-no-window): New action function.
260 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
261
0f457a37
DG
2622013-12-02 Dmitry Gutov <dgutov@yandex.ru>
263
264 * vc/log-edit.el (log-edit-set-header): Extract from
265 `log-edit-toggle-header'.
266 (log-edit-extract-headers): Separate the summary, when extracted
267 from header, from the rest of the message with an empty line.
268
269 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
270 line, if present, to the Summary header.
271
0962f376
SM
2722013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
275 in current-buffer (bug#16029).
276
f345395c
HE
2772013-12-02 Helmut Eller <eller.helmut@gmail.com>
278
279 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
280 (debugger-mode-map): Bind it.
281 (debugger--backtrace-base): New function.
282 (debugger-eval-expression): Use it.
283 (debugger-frame-number): Skip local vars when present.
284 (debugger--locals-visible-p, debugger--insert-locals)
285 (debugger--show-locals, debugger--hide-locals): New functions.
286
a8a15d9d
MA
2872013-12-02 Michael Albinus <michael.albinus@gmx.de>
288
289 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
290 "LC_ALL".
291 (tramp-get-remote-locale): New defun.
292 (tramp-open-connection-setup-interactive-shell): Use it.
293
0518b057
LL
2942013-12-02 Leo Liu <sdl.web@gmail.com>
295
296 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
297
298 * progmodes/sh-script.el (sh-shell-process):
299 * progmodes/octave.el (inferior-octave-process-live-p):
300 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
301 (gdb-inferior-io-sentinel):
302 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
303
3adc9c6d
DG
3042013-12-02 Dmitry Gutov <dgutov@yandex.ru>
305
306 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
307 `save-selected-window' to `log-edit-hide-buf'. This makes
308 `log-edit-show-files' idempotent.
309 (log-edit-show-files): Mark the new window as dedicated.
310
47e8b74e
DG
3112013-12-02 Dmitry Gutov <dgutov@yandex.ru>
312
313 * vc/log-edit.el (log-edit-mode-map): Add binding for
314 `log-edit-kill-biffer'.
315 (log-edit-hide-buf): Add a FIXME comment.
316 (log-edit-add-new-comment): New function, extracted from
317 `log-edit-done'.
318 (log-edit-done, log-edit-add-to-changelog): Use it.
319 (log-edit-kill-buffer): New command.
320
1f6e1bb0
LMI
3212013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
322
323 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
324 instead of killing the buffer.
325
fb651d15
SM
3262013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
329
8feacce0
RS
3302013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
331
fb651d15 332 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 333 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
334 (eww-form-checkbox, eww-toggle-checkbox):
335 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
336
337 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
338 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
339 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
340 no :src tag was specified.
341
fb651d15 342 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
343 (eww-render): Handle `eww-use-external-browser-for-content-type'.
344 Use \\` to match beginning of string instead of ^.
345 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 346 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 347
177948a5
RS
348 * net/shr.el (shr-tag-video): Display content for video if no
349 poster is available.
eb2dd24d 350 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
351
352 * net/eww.el (eww-text-input-types): : New const.
353 (eww-process-text-input): Treat input types in
354 `eww-text-input-types' as text.
355
8feacce0
RS
356 * net/shr.el (shr-tag-table): Fix comment typo.
357
513562a1
LMI
3582013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
359
360 * net/eww.el (eww-follow-link): New command to avoid reloading
361 pages when we follow #target links (bug#15243).
de8a5633 362 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 363
9dd99753
KN
3642013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
365
366 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
367 forms.
368
3e9876de
LMI
3692013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
370
371 * net/eww.el (eww-restore-history): Update the window title after
372 moving in the history.
ab6dea82 373 (eww-current-dom): New variable used to save the current DOM.
3e9876de 374
52789f7f
DG
3752013-12-01 Dmitry Gutov <dgutov@yandex.ru>
376
377 * vc/log-edit.el (log-edit-mode-map): Add binding for
378 `log-edit-beginning-of-line'.
379 (log-edit-setup-add-author): New user option.
380 (log-edit-beginning-of-line): New command.
381 (log-edit): Move major mode call above the contents setup so that
382 the local variable values are already applied.
383 (log-edit): Only insert "Author: " when
384 `log-edit-setup-add-author' is non-nil.
385 (log-edit): When SETUP is non-nil, position point after ": "
386 instead of point-min.
387
2e6710c3
GM
3882013-12-01 Glenn Morris <rgm@gnu.org>
389
390 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
391
fadec31f
EZ
3922013-11-30 Eli Zaretskii <eliz@gnu.org>
393
394 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 395 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
396 visible. (Bug#16014)
397
10634b40 3982013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
399
400 Support resizing frames and windows pixelwise.
401 * cus-start.el (frame-resize-pixelwise)
402 (window-resize-pixelwise): New entries.
403 * emacs-lisp/debug.el (debug): Use window-total-height instead
404 of window-total-size.
405 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
406 * help.el (describe-bindings-internal): Call help-buffer
407 (temp-buffer-max-width): New option.
408 (resize-temp-buffer-window, help-window-setup)
409 (with-help-window): Rewrite.
410 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
411 dragging dividers.
412 * window.el (frame-char-size, window-min-pixel-height)
413 (window-safe-min-pixel-height, window-safe-min-pixel-width)
414 (window-min-pixel-width, window-safe-min-pixel-size)
415 (window-combination-p, window-safe-min-size)
416 (window-resizable-p, window--size-to-pixel)
417 (window--pixel-to-size, window--resize-apply-p): New functions.
418 (window-safe-min-height): Fix doc-string.
419 (window-size, window-min-size, window--min-size-1)
420 (window-sizable, window-sizable-p, window--min-delta-1)
421 (window-min-delta, window--max-delta-1, window-max-delta)
422 (window--resizable, window--resizable-p, window-resizable)
423 (window-full-height-p, window-full-width-p, window-at-side-p)
424 (window--in-direction-2, window-in-direction)
425 (window--resize-reset-1, window--resize-mini-window)
426 (window-resize, window-resize-no-error)
427 (window--resize-child-windows-normal)
428 (window--resize-child-windows, window--resize-siblings)
429 (window--resize-this-window, window--resize-root-window)
430 (window--resize-root-window-vertically)
431 (adjust-window-trailing-edge, enlarge-window, shrink-window)
432 (maximize-window, minimize-window, delete-window)
433 (quit-restore-window, window-split-min-size, split-window)
434 (balance-windows-2, balance-windows)
435 (balance-windows-area-adjust, balance-windows-area)
436 (window--state-get-1, window-state-get, window--state-put-1)
437 (window--state-put-2, window-state-put)
fb651d15
SM
438 (display-buffer-record-window, window--display-buffer):
439 Make functions handle pixelwise sizing of windows.
880e6158 440 (display-buffer--action-function-custom-type)
fb651d15
SM
441 (display-buffer-fallback-action):
442 Add display-buffer-in-previous-window.
880e6158
MR
443 (display-buffer-use-some-window): Resize window to height it had
444 before.
445 (fit-window-to-buffer-horizontally): New option.
446 (fit-frame-to-buffer): Describe new values.
447 (fit-frame-to-buffer-bottom-margin): Replace with
448 fit-frame-to-buffer-margins.
449 (window--sanitize-margin): New function.
450 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
451 using window-text-pixel-size.
452
f9b697dd
GM
4532013-11-30 Glenn Morris <rgm@gnu.org>
454
3e2fb4db
GM
455 * emacs-lisp/bytecomp.el (byte-compile-form):
456 Make the `interactive-only' warning like the `obsolete' one.
457 * comint.el (comint-run):
458 * files.el (insert-file-literally, insert-file):
459 * replace.el (replace-string, replace-regexp):
460 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
461 (goto-line, insert-buffer, next-line, previous-line):
462 Tweak `interactive-only' spec.
463
f9b697dd
GM
464 Stop keeping (most) generated cedet grammar files in the repository.
465 * Makefile.in (semantic): New.
466 (compile-main): Depend on semantic.
467
da048127
SM
4682013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
469
7784b779
SM
470 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
471 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
472
4e36a6a6
SM
473 * uniquify.el (uniquify-buffer-name-style): Change default.
474
475 * loadup.el: Preload "uniquify".
476
e0ba1308
SM
477 * time.el (display-time-update): Update all mode lines (bug#15999).
478
da048127
SM
479 * electric.el (electric-indent-mode): Enable by default.
480 * loadup.el: Preload "electric".
481
015b3b3e
BB
4822013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
483
484 * emacs-lisp/helpers.el (string-empty-p): New function.
485 (string-blank-p): New function.
486
7efb806d
AP
4872013-11-29 Andreas Politz <politza@hochschule-trier.de>
488
489 * imenu.el (imenu--index-alist): Add missing dot to the docstring
490 (Bug#14029).
491
c8f0efc2
AP
4922013-11-29 Andreas Politz <politza@fh-trier.de>
493 * imenu.el (imenu--subalist-p): Don't error on non-conses and
494 allow non-lambda lists as functions.
495 (imenu--in-alist): Don't recurse into non-subalists.
496 (imenu): Don't pass function itself as an argument (Bug#14029).
497
bd15d9d1
SM
4982013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * progmodes/python.el (python-mode-map): Remove binding for ":".
501 (python-indent-electric-colon): Remove command.
502 (python-indent-post-self-insert-function): Integrate the previous code
503 of python-indent-electric-colon. Make it conditional on
504 electric-indent-mode.
505 (python-mode): Add ?: to electric-indent-chars.
506 Move python-indent-post-self-insert-function to the end of
507 post-self-insert-hook.
508
1b10adb6
SM
5092013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
510
655ab9a3
SM
511 * doc-view.el (doc-view-goto-page): Update mode-line.
512
1b10adb6
SM
513 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
514
7e3bf78c
GM
5152013-11-27 Glenn Morris <rgm@gnu.org>
516
517 * international/charprop.el, international/uni-bidi.el:
518 * international/uni-category.el, international/uni-combining.el:
519 * international/uni-comment.el, international/uni-decimal.el:
520 * international/uni-decomposition.el, international/uni-digit.el:
521 * international/uni-lowercase.el, international/uni-mirrored.el:
522 * international/uni-name.el, international/uni-numeric.el:
523 * international/uni-old-name.el, international/uni-titlecase.el:
524 * international/uni-uppercase.el:
525 Remove generated files from VCS repository.
526
fb6a5d68
EZ
5272013-11-27 Eli Zaretskii <eliz@gnu.org>
528
529 * filenotify.el (file-notify-add-watch): Don't special-case
530 w32notify when computing the directory to watch.
531
cb6c95a3
GM
5322013-11-27 Glenn Morris <rgm@gnu.org>
533
20372d0c
GM
534 Make bootstrap without generated uni-*.el files possible again.
535 * loadup.el: Update command-line-args checking for unidata-gen.
536 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
537 * composite.el, international/characters.el:
538 Handle unicode tables being undefined.
539
52d6635f 540 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
541 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
542 (compile-main): Depend on leim rule.
543 (leim): New rule.
544 * loadup.el: Move leim-list.el to leim/ subdirectory.
545 * startup.el (normal-top-level): No more leim directory.
546 * international/ja-dic-cnv.el (skkdic-convert):
547 Disable version-control and autoloads in output files.
548 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
549 Disable version-control and autoloads in output files.
550 * leim/quail: Move here from ../leim.
551 * leim/quail/hangul.el (hangul-input-method-activate):
552 Add autoload cookie.
553 (generated-autoload-load-name): Set file-local value.
554 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
555 (generated-autoload-load-name): Set file-local value.
556
0449d6cd 5572013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
558
559 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
560 (eww-add-bookmark): ask confirmation when add to bookmarks
561 (eww-quit): ask confirmation before quitting eww
562
0e2c793f
EZ
5632013-11-26 Eli Zaretskii <eliz@gnu.org>
564
565 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
566 reading output from Diff on MS-Windows and MS-DOS.
567
447bdcb8
BB
5682013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
569
570 * emacs-lisp/helpers.el (string-reverse): New function.
571
5fbf6856
MA
5722013-11-26 Michael Albinus <michael.albinus@gmx.de>
573
574 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
575 names on MS Windows, like "/[::1]:".
576
577 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
578 SWITCHES.
579
624780f0
GM
5802013-11-26 Glenn Morris <rgm@gnu.org>
581
0bf3f0fa
GM
582 * progmodes/python.el (python-indent-guess-indent-offset):
583 Avoid corner-case error. (Bug#15975)
584
624780f0
GM
585 Preload leim-list.el. (Bug#4789)
586 * loadup.el: Load leim-list.el when found.
587 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
588
4301875e 5892013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
590
591 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
592
4301875e
BB
593 * emacs-lisp/helpers.el (string-join): New function.
594
1633a815 5952013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
596
597 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
598 Mark as obsolete and replace it with a symbol property.
599 (byte-compile-form): Use new 'interactive-only property.
600 * comint.el, files.el, replace.el, simple.el:
601 Apply new 'interactive-only properly.
602
00139435
MR
6032013-11-25 Martin Rudalics <rudalics@gmx.at>
604
605 * window.el (display-buffer-at-bottom): Make sure that
606 split-window-sensibly creates the new window on bottom
607 (Bug#15961).
608
5f5b128d
DK
6092013-11-23 David Kastrup <dak@gnu.org>
610
611 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
612 on the conflict markers when available.
613 (smerge--get-marker): New function.
614 (smerge-end-re, smerge-base-re): Add subgroup.
615
623891e5
SM
6162013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * frame.el (handle-focus-in, handle-focus-out): Add missing
619 interactive spec.
620
05ca27d8
MA
6212013-11-25 Michael Albinus <michael.albinus@gmx.de>
622
623 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
624 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
625
511fa0d3
SM
6262013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
627
e82ad66c
SM
628 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
629 (gomoku--last-pos): New var.
630 (gomoku--intangible-chars): New const.
631 (gomoku--intangible): New function.
632 (gomoku-mode): Use it. Derive from special-mode.
633 (gomoku-move-up): Adjust line count.
634 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
635 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
636 Simplify accordingly.
637
511fa0d3
SM
638 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
639 Remove blink-cursor code.
640 (blink-cursor-timer-function, blink-cursor-suspend):
641 Don't special-case GUIs.
642 (blink-cursor-mode): Use focus-in/out-hook.
643
6f20dd03
DG
6442013-11-25 Dmitry Gutov <dgutov@yandex.ru>
645
646 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
647 work when annotation is invisible (Bug#13886).
648
431dec31 6492013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
650
651 * json.el (json-alist-p): Only return non-nil if the alist has
652 simple keys (Bug#13518).
653
431dec31 6542013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
655
656 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
657 when control-statement is the first statement in a buffer (Bug#15956).
658
ee4f0261
DG
6592013-11-24 Dmitry Gutov <dgutov@yandex.ru>
660
661 * imenu.el (imenu-generic-skip-comments-and-strings):
662 New option (Bug#15560).
663 (imenu--generic-function): Use it.
664
c484f866
JS
6652013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
666
667 * minibuffer.el (completion--in-region-1): Scroll the correct
668 window. (Bug#13898)
669
41ce6f70
BB
6702013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
671
b55aea38
BB
672 * emacs-lisp/helpers.el: Add some string helpers.
673 (string-trim-left): Removes leading whitespace.
674 (string-trim-right): Removes trailing whitespace.
675 (string-trim): Removes leading and trailing whitespace.
676
41ce6f70
BB
677 * subr.el (string-suffix-p): New function.
678
3cfb6af3
GM
6792013-11-23 Glenn Morris <rgm@gnu.org>
680
681 * progmodes/python.el (python-shell-send-file):
682 Add option to delete file when done. (Bug#15647)
683 (python-shell-send-string, python-shell-send-region): Use it.
684
c27924b7
IS
6852013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
686
e1b01c7f
IS
687 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
688 to set buffer-read-only to t, never to nil. (Bug#15938)
689
c27924b7
IS
690 * textmodes/tex-mode.el (latex-noindent-environments):
691 Add safe-local-variable property. (Bug#15936)
692
17e0445b
GM
6932013-11-23 Glenn Morris <rgm@gnu.org>
694
92f78ea3
GM
695 * textmodes/enriched.el (enriched-mode): Doc fix.
696 * emacs-lisp/authors.el (authors-renamed-files-alist):
697 Add enriched.doc -> enriched.txt.
698
17e0445b
GM
699 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
700
965bb23a
LL
7012013-11-22 Leo Liu <sdl.web@gmail.com>
702
703 * progmodes/octave.el (inferior-octave-startup): Spit out error
704 message.
705
d19ffd64
BB
7062013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
707
708 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
709 Improve docstring.
15ba2182
BB
710 Add :version.
711 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 712
7a7567d2
LL
7132013-11-22 Leo Liu <sdl.web@gmail.com>
714
715 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
716 (Bug#15076)
8c09f64b
LL
717 (octave-help-mode): Adapt to change to help-mode-finish to use
718 derived-mode-p on 2013-09-17.
719 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 720 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 721
724bc265
LL
7222013-11-22 Leo Liu <sdl.web@gmail.com>
723
724 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
725 (inferior-octave-startup, inferior-octave-check-process)
726 (inferior-octave-track-window-width-change)
727 (octave-completion-at-point, octave-eldoc-function): Use it.
728 (octave-kill-process): Provide confirmation. (Bug#10564)
729
38637cca
LL
7302013-11-21 Leo Liu <sdl.web@gmail.com>
731
511fa0d3
SM
732 * progmodes/octave.el (octave-mode, inferior-octave-mode):
733 Fix obsolete variable comment-use-global-state.
38637cca 734
06e752b4
RS
7352013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
736
511fa0d3
SM
737 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
738 Add `octave-source-file'.
06e752b4
RS
739 (octave-source-file): New function. (Bug#15935)
740
0449d6cd 7412013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
742
743 * net/eww.el (eww-local-regex): New variable.
744 (eww): Use it to detect localhost and similar.
745
b6ffa04a
LL
7462013-11-21 Leo Liu <sdl.web@gmail.com>
747
748 Add completion for command `ag'.
2021a200
LL
749 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
750 (pcomplete/ag): New function.
751 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 752
d1a6bccc
SM
7532013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
756 (bug#14646).
757 (make-obsolete): Remove interactive spec.
758
2df10228
GM
7592013-11-21 Glenn Morris <rgm@gnu.org>
760
761 * startup.el (command-line-1): Use path-separator with -L.
762
86fd16b6
TZ
7632013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
764
765 * emacs-lisp/package.el (describe-package-1): Add package archive
766 to shown fields.
767
0449d6cd 7682013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
769
770 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
771 Change default to "# encoding: %s" to differentiate it from the
772 default Ruby encoding comment template.
773
dc7e8c17 7742013-11-20 era eriksson <era+emacsbugs@iki.fi>
775
776 * ses.el (ses-mode): Doc fix. (Bug#14748)
777
f0cfa5fe
LL
7782013-11-20 Leo Liu <sdl.web@gmail.com>
779
780 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
781
826dc7b6
DN
7822013-11-19 Dan Nicolaescu <dann@gnu.org>
783
784 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
785 when rebase or bisect are in progress.
786
a6e3a5d5
XF
7872013-11-19 Xue Fuqiao <xfq.free@gmail.com>
788
789 * filenotify.el (file-notify-add-watch): Doc fix.
790
f130cb76
LL
7912013-11-19 Leo Liu <sdl.web@gmail.com>
792
e0855d7d
LL
793 * obsolete/rcompile.el: Mark obsolete.
794
f130cb76 795 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
796 (compilation-goto-locus, compilation-find-file):
797 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
798 (Bug#13594)
799
800 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
801 new parameter no-display-ok. Return either a window or nil
802 but never a non-window value.
f130cb76 803
1f35d401
SM
8042013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
805
25158c76
SM
806 * electric.el (electric-indent-mode-map): Remove.
807 (electric-indent-mode): Change the global-map instead (bug#15915).
808
809 * textmodes/text-mode.el (paragraph-indent-minor-mode):
810 Use add-function.
1f35d401 811
9bc67baa
SM
8122013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
813
986545b5
SM
814 * emacs-lisp/nadvice.el (remove-function): Align with
815 add-function's behavior.
816
9bc67baa
SM
817 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
818 (gdb--string-regexp): New constant.
819 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
820 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
821 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
822 submatch 1.
823 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
824 Adjust use accordingly.
825 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
826
56cd894e
AS
8272013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
828
829 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
830 interpolation curlies (Bug#15914).
831
014690de
JB
8322013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
833
834 * calc/calc.el (calc-context-sensitive-enter): New variable.
835 (calc-enter): Use `calc-context-sensitive-enter'.
836
7e26a6c3
TZ
8372013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
838
839 * progmodes/cfengine.el: Version bump.
840 (cfengine-cf-promises): New defcustom to locate cf-promises.
841 (cfengine3-vartypes): Add new "data" type.
842 (cfengine3--current-word): New function to get current name-like
843 word or its bounds.
844 (cfengine3--current-function): New function to look up a CFEngine
845 function's definition.
846 (cfengine3-format-function-docstring): New function.
847 (cfengine3-make-syntax-cache): New function.
848 (cfengine3-documentation-function): New function: ElDoc glue.
849 (cfengine3-completion-function): New function: completion glue.
850 (cfengine3-mode): Set `compile-command',
851 `eldoc-documentation-function', and add to
852 `completion-at-point-functions'.
853
355204dd
MA
8542013-11-16 Michael Albinus <michael.albinus@gmx.de>
855
856 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
857 `tramp-current-connection'.
858
43cebc23
DG
8592013-11-15 Dmitry Gutov <dgutov@yandex.ru>
860
861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
862 nil/self/true/false with "end of symbol".
863
a3fed6ff
BB
8642013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
865
866 * subr.el (version-regexp-alist): Fix a typo.
867
e675b3e4
MA
8682013-11-15 Michael Albinus <michael.albinus@gmx.de>
869
870 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
871 "en_US.utf8" and "LC_CTYPE" to "".
872 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
873 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
874
a1f03e89
LL
8752013-11-15 Leo Liu <sdl.web@gmail.com>
876
877 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
878
5d9d9451
SM
8792013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
880
58362662
CS
881 * progmodes/gud.el (ctl-x-map):
882 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
883 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
884
6c1bf086
BB
8852013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
886
0d5363c4
BB
887 * subr.el (version-regexp-alist):
888 Recognize hg, svn and darcs versions as snapshot versions.
889
4e9fc48c
BB
890 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
891 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
892 (ruby--encoding-comment-required-p): Extract from
893 `ruby-mode-set-encoding'.
894 (ruby-mode-set-encoding): Add the ability to always insert an
895 utf-8 encoding comment. Fix and simplify coding comment update
896 logic.
6c1bf086 897
2f7e72f8
MA
8982013-11-14 Michael Albinus <michael.albinus@gmx.de>
899
900 * net/tramp-gvfs.el (top): Run init code only when
901 `tramp-gvfs-enabled' is not nil.
902 (tramp-gvfs-enabled): Check also :system bus.
903
0f137a73
SM
9042013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 Sync with upstream verilog-mode revision 78e66ba.
907 * progmodes/verilog-mode.el (verilog-end-of-defun)
908 (verilog-type-completion, verilog-get-list): Remove unused funcs.
909 (verilog-get-end-of-defun): Remove unused argument.
910 (verilog-comment-depth): Remove unused local `e'.
911 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
912 Don't pass arg to verilog-get-end-of-defun.
913
1c276bdd
GM
9142013-11-14 Glenn Morris <rgm@gnu.org>
915
916 * obsolete/assoc.el (aget): Prefix dynamic variable.
917
918 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
919
ff6ec81d
SM
9202013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * widget.el, hfy-cmap.el: Remove bogus package version number.
923
75f777b6
GM
9242013-11-13 Glenn Morris <rgm@gnu.org>
925
1d43dba1
GM
926 * replace.el (replace-eval-replacement):
927 Try to give more helpful error message. (Bug#15836)
928
ff4b7bd5
GM
929 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
930 (archive-7z-update): Avoid custom type mismatches.
931
75f777b6
GM
932 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
933
11151a06
MA
9342013-11-13 Michael Albinus <michael.albinus@gmx.de>
935
e675b3e4 936 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
937 address can be empty.
938
939 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
940 Accept nil SWITCHES.
941 (tramp-gvfs-handle-write-region): Implement APPEND.
942
7b08f97e
DG
9432013-11-12 Dmitry Gutov <dgutov@yandex.ru>
944
945 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
946 binary "|" operator and closing block args delimiter.
947 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
948 (ruby-smie--implicit-semi-p): Not after "|" operator.
949 (ruby-smie--closing-pipe-p): New function.
950 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
951 (ruby-smie-rules): Indent after "|".
952
f201cf3a
GM
9532013-11-12 Glenn Morris <rgm@gnu.org>
954
955 * ps-print.el (ps-face-attribute-list):
956 Handle anonymous faces. (Bug#15827)
957
e6f759f9
MR
9582013-11-12 Martin Rudalics <rudalics@gmx.at>
959
960 * window.el (display-buffer-other-frame): Fix doc-string.
961 (Bug#15868)
962
ecda65d4
SM
9632013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * subr.el (force-mode-line-update): Delete, move to buffer.c.
966
7ce8fcc3
MA
9672013-11-11 Michael Albinus <michael.albinus@gmx.de>
968
969 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
970 (tramp-sh-handle-file-local-copy): Don't write a message when
971 saving temporary files.
972
973 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
974 both directories are remote.
975 (tramp-smb-handle-directory-files): Do not return double entries.
976 Do not expand full file names.
977 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
978 (tramp-smb-handle-write-region): Implement APPEND.
979 (tramp-smb-get-stat-capability): Fix a stupid bug.
980
7818df11
SM
9812013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
984
608c2085
NT
9852013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
986
987 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
988 throwing error over malformed let/let* (bug#15814).
989
122a7e46
SM
9902013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * iswitchb.el (iswitchb-mode): Mark obsolete.
993
766284d9
GM
9942013-11-11 Glenn Morris <rgm@gnu.org>
995
996 * international/uni-bidi.el, international/uni-category.el:
997 * international/uni-name.el, international/uni-numeric.el:
998 Regenerate for Unicode 6.3.0.
999
7072a4e9
MA
10002013-11-10 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp.el (tramp-methods):
1003 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1004 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1005
c9df215b
AS
10062013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1007
608c2085
NT
1008 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1009 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1010
fa47d796
DG
10112013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1012
1013 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1014 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1015 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1016 (ispell-complete-word): Call `ispell-lookup-words' with the value
1017 independent of `ispell-look-p'.
1018
1629a329
DG
10192013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1022 Not after "||".
1023 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1024 their parent.
1025
ad16897c
SM
10262013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1029 (ruby-font-lock-keywords): Use backquote.
1030
ffa2df72
DG
10312013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1032
1033 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1034 (ruby-smie--backward-token): Only consider full-string matches.
1035
5b97b4c0
JD
10362013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1037
1038 * faces.el (describe-face): Add distant-foreground.
1039
71731c03
BB
10402013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1041
4e9fc48c
BB
1042 * progmodes/ruby-mode.el: Improve encoding comment handling.
1043 (ruby-encoding-magic-comment-style): New option.
1044 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1045 (ruby--insert-coding-comment, ruby--detect-encoding):
1046 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1047 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1048 to control the style of the auto-inserted encoding comment.
71731c03 1049
da3b328d
DG
10502013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1051
ad16897c
SM
1052 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1053 Use `smie-backward-sexp' with token argument.
da3b328d 1054
1606c2d3
MA
10552013-11-08 Michael Albinus <michael.albinus@gmx.de>
1056
1057 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1058 Remove instrumentation code.
1059
b0f4c320
GM
10602013-11-08 Glenn Morris <rgm@gnu.org>
1061
1062 * progmodes/autoconf.el (autoconf-mode):
1063 Tweak comment-start-skip. (Bug#15822)
1064
43668fb1
SM
10652013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1068 at bobp (bug#15826).
1069 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1070
daddb3fd
DH
10712013-11-08 Darren Hoo <darren.hoo@gmail.com>
1072
1073 * man.el (Man-start-calling): New macro, extracted from
1074 Man-getpage-in-background.
1075 (Man-getpage-in-background): Use it.
1076 (Man-update-manpage): New command.
1077 (Man-mode-map): Bind it.
1078
1f923923
DG
10792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1080
1081 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1082 of "and", "or", "&&" and "||".
1083 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1084 argument. Prohibit opening curly brace because it could only be a
1085 block opener in that position.
daddb3fd
DH
1086 (ruby-smie--forward-token, ruby-smie--backward-token):
1087 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1088 arguments.
1089 (ruby-smie--indent-to-stmt): New function, seeks the end of
1090 previous statement or beginning of buffer.
1091 (ruby-smie-rules): Use it.
1092 (ruby-smie-rules): Check if there's a ":" before a curly block
1093 opener candidate; if there is, it's a hash.
1094
3220d527
SM
10952013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1098 (cl--block-wrapper): Fix last accidental change.
1099
1eb1f9e0
MA
11002013-11-07 Michael Albinus <michael.albinus@gmx.de>
1101
1102 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1103 Instrument, in order to hunt failure on hydra.
1104
e6e4db3c
NT
11052013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1106
1107 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1108 malformed bindings form (bug#15814).
1109
b420ccfc
DG
11102013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1113 "." compared to " @ ". This incidentally fixes some indentation
1114 examples with "do".
e6e4db3c 1115 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1116 (ruby-smie-grammar): New tokens: "and" and "or".
1117 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1118 Exclude "and" and "or". Remove "do" in order to work around token
1119 priorities.
1120 (ruby-smie-rules): Add all infix tokens. Handle the case of
1121 beginning-of-buffer.
b420ccfc 1122
6b4ac03e
GM
11232013-11-06 Glenn Morris <rgm@gnu.org>
1124
1125 * Makefile.in (setwins_almost, setwins_for_subdirs):
1126 Avoid accidental matches.
1127
5ca114d1
SM
11282013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * menu-bar.el (popup-menu): Use key-binding.
1131
f72552bd
EZ
11322013-11-06 Eli Zaretskii <eliz@gnu.org>
1133
1134 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1135 menus, support also the menus produced by minor modes.
1136 (Bug#15817)
1137
5d5c701e
LL
11382013-11-06 Leo Liu <sdl.web@gmail.com>
1139
1140 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1141 DISTANCE to bound the search. All uses changed. (Bug#15808)
1142
0a8b75e2
GM
11432013-11-06 Glenn Morris <rgm@gnu.org>
1144
1145 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1146 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1147 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1148
a35287ea
SM
11492013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1150
feca4e2d
SM
1151 * electric.el (electric-indent-just-newline): New command.
1152 (electric-indent-mode-map): New keymap.
1153 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1154 Re-add :group which weren't redundant.
1155
a35287ea
SM
1156 * electric.el (electric-indent-local-mode): New minor mode.
1157 (electric-indent-functions-without-reindent): New var.
1158 (electric-indent-post-self-insert-function): Use it.
1159 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1160
375761b2
EZ
11612013-11-05 Eli Zaretskii <eliz@gnu.org>
1162
9a6ad735
EZ
1163 * international/quail.el (quail-help): Be more explicit about the
1164 meaning of the labels shown on the keys. (Bug#15800)
1165
375761b2
EZ
1166 * startup.el (normal-top-level): Load the subdirs.el files before
1167 setting the locale environment. (Bug#15805)
1168
520a6e4a
SM
11692013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1170
0acfafef
SM
1171 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1172 via arguments so as to get the right ones (bug#15418).
1173
520a6e4a
SM
1174 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1175
15826261
MA
11762013-11-05 Michael Albinus <michael.albinus@gmx.de>
1177
1178 Fix problems found while writing a test suite.
1179
1180 * net/tramp-compat.el (tramp-compat-load): New defun.
1181 * net/tramp.el (tramp-handle-load): Use it.
1182
1183 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1184 "(numberp ok-if-already-exists)" correctly.
1185
d35f31a4
XF
11862013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1187
1188 * international/characters.el (glyphless-char-display-control):
1189 Add usage note.
1190
ae93bc74
BB
11912013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1192
520a6e4a
SM
1193 * progmodes/python.el (python-mode):
1194 * progmodes/scheme.el (scheme-mode):
1195 * progmodes/prolog.el (prolog-mode):
1196 * progmodes/ruby-mode.el (ruby-mode):
1197 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1198 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1199
0ade65b5
SM
12002013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1201
a0d5f7a4
SM
1202 * rect.el (rectangle--highlight-for-redisplay):
1203 * emacs-lisp/smie.el (smie--next-indent-change):
1204 Use buffer-chars-modified-tick.
1205
c93f3f5c
SM
1206 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1207
0ade65b5
SM
1208 * electric.el (electric-indent-post-self-insert-function):
1209 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1210
ef9dd188
HE
12112013-11-04 Helmut Eller <eller.helmut@gmail.com>
1212
1213 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1214
306e7308
NT
12152013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1216
1217 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1218 (bug#15786).
1219
e5afbcac
SM
12202013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1d01ad41
SM
1222 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1223
e5afbcac
SM
1224 * progmodes/python.el: Fix up last change.
1225 (python-shell--save-temp-file): New function.
1226 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1227 `string' comes from the current buffer.
1228 (python-shell-send-string-no-output): Remove `msg' arg.
1229 (python--use-fake-loc): New var.
1230 (python-shell-buffer-substring): Obey it. Try to compensate for the
1231 extra coding line added by python-shell--save-temp-file.
1232 (python-shell-send-region): Use python-shell--save-temp-file and
1233 python-shell-send-file directly. Add `nomain' argument.
1234 (python-shell-send-buffer): Use python-shell-send-region.
1235 (python-electric-pair-string-delimiter): New function.
1236 (python-mode): Use it.
1237
d0065ff1
EZ
12382013-11-04 Eli Zaretskii <eliz@gnu.org>
1239
1240 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1241 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1242 environment and decoding all of the default-directory's to here
1243 from command-line.
1244 (command-line): Decode also argv[0].
1245
1246 * loadup.el: Error out if default-directory is a multibyte string
1247 when we are dumping.
1248
1249 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1250
7397c587
TZ
12512013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1252
1253 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1254 (package-menu--print-info, package-menu--archive-predicate):
1255 Add Archive column to package list.
7397c587 1256
b27cc9fc
MA
12572013-11-04 Michael Albinus <michael.albinus@gmx.de>
1258
1259 Fix problems found while writing a test suite.
1260
1261 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1262 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1263 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1264 to nil when running original file name handler. Otherwise,
1265 there are problems with constructs like "$$FOO".
1266
1267 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1268 for `localname'.
1269
d8c4f18a
BB
12702013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1271
7b530552
BB
1272 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1273
1274 * subr.el (version<, version<=, version=):
1275 Update docstrings with information for snapshot versions.
1276
d8c4f18a
BB
1277 * helpers.el: New library for misc helper functions.
1278 (hash-table-keys): New function returning a list of hash keys.
1279 (hash-table-values): New function returning a list of hash values.
1280
dca01b09
DG
12812013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1282
1283 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1284 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1285
0a749fa0
MN
12862013-11-04 Michal Nazarewicz <mina86@mina86.com>
1287
1288 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1289 checking whether point is after a 1-letter word.
1290
12912013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1292
1293 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1294 Don't infloop when expanding region over `multiline' syntax-type that
1295 begins a line (bug#15778).
1296
4aca7145
SM
12972013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1300 Make it into a proper minor mode.
1301 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1302 (rectangle-mark-mode-map): New keymap.
1303 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1304
a0833f62
GM
13052013-11-04 Glenn Morris <rgm@gnu.org>
1306
1307 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1308
e61845c1
SM
13092013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1312 (ruby-smie-rules): Use smie-rule-parent instead.
1313
1314 * emacs-lisp/smie.el (smie-rule-parent): Always call
1315 smie-indent-virtual rather than only for hanging tokens.
1316 (smie--next-indent-change): New helper command.
1317
62942f89
GM
13182013-11-03 Glenn Morris <rgm@gnu.org>
1319
1320 * Makefile.in (abs_srcdir): Remove.
1321 (emacs): Unset EMACSLOADPATH.
1322
b0b9e592
GM
13232013-11-02 Glenn Morris <rgm@gnu.org>
1324
18ba6a33 1325 * Makefile.in (EMACS): Use a relative filename.
8061810d 1326 (abs_top_builddir): Remove.
18ba6a33
GM
1327 (custom-deps, finder-data, autoloads): Use --chdir.
1328
6a8b929e
GM
1329 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1330
c617f3d0
GM
1331 Use relative filenames in TAGS files.
1332 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1333 (lisptagsfiles4, TAGS): Use relative file names.
1334 (TAGS-LISP): Remove.
1335 (maintainer-clean): No more TAGS-LISP file.
1336
b0b9e592
GM
1337 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1338 (lisptagsfiles4): Use absolute filenames again.
1339 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1340 Remove all *loaddefs files, not just the first. Remove esh-groups.
1341 (maintainer-clean): Delete TAGS, TAGS-LISP.
1342
d1c0ea6a
BB
13432013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1344
e61845c1
SM
1345 * emacs-lisp/package.el (package-version-join):
1346 Recognize snapshot versions.
d1c0ea6a 1347
684d71c6
BB
13482013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1349
1350 * subr.el (version-regexp-alist): Add support for snapshot versions.
1351
3d42b968
DG
13522013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1353
e61845c1
SM
1354 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1355 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1356 skip over our direct parent if it's an assignment token..
1357 (ruby-smie-rules): Use it.
1358
7ffd3721
DG
13592013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1362 unconditionally. Remove now unnecessary forward declarations.
1363 Remove XEmacs-specific setup.
1364 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1365 (ruby-font-lock-syntactic-keywords)
1366 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1367 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1368 (ruby-here-doc-end-syntax): Remove.
1369 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1370 defined as function.
1371
a3996a2e
BB
13722013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1373
1374 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1375
6f9260e8
BB
13762013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1377
1378 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1379 table and abbrev table, `define-derived-mode' does that for us
1380 anyway.
1381
6014de84
GM
13822013-11-01 Glenn Morris <rgm@gnu.org>
1383
1384 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1385 files is atomic for some time, so no parallel compilation issues).
1386
3c334c14
JD
13872013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1388
1389 * faces.el (face-x-resources): Add :distant-foreground.
1390 (region): Use :distant-foreground for gtk and ns.
1391
9bc236c8
TH
13922013-11-01 Tassilo Horn <tsdh@gnu.org>
1393
5246583b 1394 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1395 BibTeX.
1396 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1397 (reftex-locate-bibliography-files): Us it.
1398
d14c81ee
CB
13992013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1400
0e7690de
CB
1401 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1402 allow comments in pbm files.
1403
d14c81ee
CB
1404 * term/w32-win.el (dynamic-library-alist): Support newer versions
1405 of libjpeg starting with v7: look only for the DLL from the
1406 version against which Emacs was built.
ac1bf374 1407 Support versions of libpng beyond 1.4.x.
019c8218 1408 Support libtiff v4.x.
d14c81ee 1409
983d0df5
BB
14102013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1411
1412 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1413 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1414 Add property :safe.
1415 (ruby-deep-arglist): Add property :type.
1416
47f58d85
GM
14172013-10-31 Glenn Morris <rgm@gnu.org>
1418
1419 * Makefile.in (custom-deps, finder-data): No need to setq the target
1420 variables, we are in the right directory and the defaults work fine.
1421
4f85b479
GM
14222013-10-30 Glenn Morris <rgm@gnu.org>
1423
ca7dd4cd
GM
1424 * Makefile.in (autoloads): Do not use abs_lisp.
1425
4f85b479
GM
1426 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1427 `newline' does not respect `standard-output', so use `princ'.
1428
cf59e41c
AA
14292013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1430
1431 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1432 * buff-menu.el (Buffer-menu--unmark): New function.
1433 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1434
74cf04fb
GM
14352013-10-30 Glenn Morris <rgm@gnu.org>
1436
b040b60e
GM
1437 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1438
f53d3815
GM
1439 * emacs-lisp/package.el (lm-homepage): Declare.
1440
5413d873
GM
1441 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1442 Fix doc typos.
1443
cecedb36
GM
1444 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1445
74cf04fb
GM
1446 * Makefile.in (finder-data, autoloads, update-subdirs)
1447 (compile-main, compile-clean, compile-always, bootstrap-clean):
1448 Check return value of cd.
1449 (compile-calc): Remove.
1450
195ee2f0
SM
14512013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1452
ae4002ce
SM
1453 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1454
1455 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1456 (byte-compile-and-folded): New function.
1457 (=, <, >, <=, >=): Use it.
1458
1459 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1460 (path-separator, null-device, buffer-file-coding-system)
1461 (lpr-headers-switches): Check system-type before modifying them.
1462 (find-buffer-file-type-coding-system): Mark obsolete.
1463 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1464 find-file-not-found-set-buffer-file-coding-system.
1465 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1466 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1467 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1468 (w32-direct-print-region-helper, w32-direct-print-region-function)
1469 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1470 * startup.el (normal-top-level-add-subdirs-to-load-path):
1471 * ps-print.el (ps-print-region-function):
1472 * lpr.el (print-region-function): Use new name.
1473
53b39e89
SM
1474 * subr.el (custom-declare-variable-early): Remove function.
1475 (custom-declare-variable-list): Remove var.
1476 (error, user-error): Remove `while' loop.
1477 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1478 (user-emacs-directory-warning, locate-user-emacs-file):
1479 Move to files.el.
1480 * simple.el (read-quoted-char-radix, read-quoted-char):
1481 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1482 Move from subr.el.
1483 * custom.el (custom-declare-variable-list): Don't process
1484 custom-declare-variable-list.
1485
195ee2f0
SM
1486 * progmodes/python.el (python-shell-get-buffer): New function.
1487 (python-shell-get-process): Use it.
1488 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1489 Python which encoding was used. Don't split-string since we only care
1490 about the first line. Return the temp-file, if applicable.
1491 (python-shell-send-region): Tell compile.el how to turn locations in
1492 the temp-file into locations in the source buffer.
1493
7e3561ee
SM
14942013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1495
4c9797cb
SM
1496 * subr.el (undefined): Add missing behavior from the C code for
1497 unbound keys.
1498
3472b6c6
SM
1499 * rect.el: Use lexical-binding. Add new rectangular region support.
1500 (rectangle-mark): New command.
1501 (rectangle--region): New var.
1502 (deactivate-mark-hook): Reset rectangle--region.
1503 (rectangle--extract-region, rectangle--insert-for-yank)
1504 (rectangle--highlight-for-redisplay)
1505 (rectangle--unhighlight-for-redisplay): New functions.
1506 (region-extract-function, redisplay-unhighlight-region-function)
1507 (redisplay-highlight-region-function): Use them to handle
1508 rectangular region.
1509 * simple.el (region-extract-function): New var.
1510 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1511 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1512 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1513 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1514 (redisplay-unhighlight-region-function)
1515 (redisplay-highlight-region-function): New vars.
1516 (redisplay--update-region-highlight): New function.
1517 (pre-redisplay-function): Use it.
1518 (exchange-point-and-mark): Don't deactivate the mark before
1519 reactivate-it anyway.
1520 * comint.el (comint-kill-region): Remove yank-handler argument.
1521 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1522 (delete-char): Remove property, since it's now part of their
1523 default behavior.
1524 (self-insert-iso): Remove property since this command doesn't exist.
1525
7e3561ee
SM
1526 * emacs-lisp/package.el (package--download-one-archive)
1527 (describe-package-1): Don't query the user about final newline.
1528
b9bef71f
DC
15292013-10-29 Daniel Colascione <dancol@dancol.org>
1530
1531 * net/tramp.el (tramp-methods): Document new functionality.
1532 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1533 tramp-hostname-checker if method provides one instead of scanning
1534 argument list for "%h" to decide hostname acceptability.
1535
4efc33f0
MA
15362013-10-28 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1539 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1540 Handle COPY-CONTENTS. (Bug#15737)
1541
ed42a877
DU
15422013-10-28 Daiki Ueno <ueno@gnu.org>
1543
1544 * epa-file.el
7e3561ee
SM
1545 (epa-file-cache-passphrase-for-symmetric-encryption):
1546 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1547
18c9f8a2
XF
15482013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1549
7a4bc7be
XF
1550 * image.el (defimage):
1551 (image-load-path): Doc fixes.
18c9f8a2 1552
b1e8e010
AM
15532013-10-27 Alan Mackenzie <acm@muc.de>
1554
1555 Indent statements in macros following "##" correctly.
7e3561ee
SM
1556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1557 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1558
73d40d1e 15592013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1560
1561 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1562
c8c605ac
DG
15632013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1564
1565 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1566 after `=' is probably a new expression.
1567
ca7e59d4
RS
15682013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1569
1570 * man.el (man-imenu-title): New option.
1571 (Man-mode-map): Add menu. (Bug#15722)
1572 (Man-mode): Add imenu to menu.
1573
bae91342
DG
15742013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1575
1576 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1577 specific in what the first arg can be: a non-keyword word,
1578 string/regexp/percent literal opener, opening paren, or unary
1579 operator followed directly by word.
1580
eb89dc14
SM
15812013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1584 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1585 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1586 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1587 Remove vars, they do not apply any more.
1588 (prolog-mode-abbrev-table): Remove redundant declaration.
1589 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1590 (prolog-use-smie): Remove.
1591 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1592 supported by prolog-electric-if-then-else-flag.
1593 (prolog-mode-variables, prolog-menu): Use setq-local.
1594 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1595 Remove binding to `Backspace' since this key doesn't exist anyway.
1596 Remove bindings for electric self-inserting keys.
1597 (prog-mode): Assume it's defined.
1598 (prolog-post-self-insert): New function.
1599 (prolog-mode): Use it.
1600 (prolog-indent-line, prolog-indent-level)
1601 (prolog-find-indent-of-matching-paren)
1602 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1603 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1604 (prolog-goto-next-paren, prolog-in-string-or-comment)
1605 (prolog-tokenize, prolog-inside-mline-comment)
1606 (prolog-find-start-of-mline-comment): Remove functions.
1607 (prolog-find-unmatched-paren, prolog-clause-end)
1608 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1609 (prolog-electric--if-then-else): Rename from
1610 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1611 (prolog-tokenize-searchkey): Remove const.
1612 (prolog-clause-info): Use forward-sexp.
1613 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1614 (prolog-electric-if-then-else): Remove commands.
1615 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1616 for use in post-self-insert-hook.
1617 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1618 for use in post-self-insert-hook.
1619 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1620 for use in post-self-insert-hook.
1621 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1622 adapt it for use in post-self-insert-hook.
1623
3dab0a83
MA
16242013-10-25 Michael Albinus <michael.albinus@gmx.de>
1625
1626 * emacs-lisp/ert.el (ert-run-tests-interactively):
1627 Use `completing-read'. (Bug#9756)
1628
fbfd0e1d
EZ
16292013-10-25 Eli Zaretskii <eliz@gnu.org>
1630
1631 * simple.el (line-move): Call line-move-1 instead of
1632 line-move-visual when the current window hscroll is zero, but
1633 temporary-goal-column indicates we will need to hscroll as result
1634 of the movement. (Bug#15712)
1635
963ce636
DG
16362013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1637
1638 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1639 capitalization. Use :visible instead of :active.
1640 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1641 commands that are used with SMIE.
1642 (ruby-do-end-to-brace): Insert space after `{'.
1643
a0be396a
JA
16442013-10-25 John Anthony <john@jo.hnanthony.com>
1645
f73754c9
JA
1646 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1647
1648 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1649
f5bf77df
GM
16502013-10-25 Glenn Morris <rgm@gnu.org>
1651
1652 * vc/vc.el (vc-print-log): Don't use a working revision unless
1653 one was explicitly specified. (Bug#15322)
1654
37241f62
SM
16552013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * subr.el (add-to-list): Preserve return value in compiler-macro
1658 (bug#15692).
1659
6408a65d
RS
16602013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1661
1662 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1663 result. Ask user to retry using '-all' flag. (Bug#15701)
1664
71e3276b
SM
16652013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * emacs-lisp/smie.el: New smie-config system.
1668 (smie-config): New defcustom.
1669 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1670 (smie-config-guess, smie-config-save): New commands.
1671 (smie-config--mode-local, smie-config--buffer-local)
1672 (smie-config--trace, smie-config--modefuns): New vars.
1673 (smie-config--advice, smie-config--mode-hook)
1674 (smie-config--setter, smie-config-local, smie-config--get-trace)
1675 (smie-config--guess-value, smie-config--guess): New functions.
1676 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1677 text properties. Treat "string fence" syntax like string syntax.
1678
1679 * progmodes/sh-script.el (sh-use-smie): Change default.
1680 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1681 (sh-var-value): Simplify by CSE.
1682 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1683 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1684 is used.
1685 (sh-guess-basic-offset): Use cl-incf.
1686 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1687
60db713e
HE
16882013-10-24 Helmut Eller <eller.helmut@gmail.com>
1689
1690 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1691 (bug#15699).
1692
8b251df6
GM
16932013-10-24 Glenn Morris <rgm@gnu.org>
1694
1695 * Makefile.in (abs_top_srcdir): Remove.
1696 (update-subdirs): Use relative path to update-subdirs.
1697
6be0e22b
EZ
16982013-10-24 Eli Zaretskii <eliz@gnu.org>
1699
1700 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1701 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1702 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1703 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1704
50b5b857
MA
17052013-10-24 Michael Albinus <michael.albinus@gmx.de>
1706
1707 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1708 (ert-test-skipped): New error.
1709 (ert-skip, ert-stats-skipped): New defuns.
1710 (ert--skip-unless): New macro.
1711 (ert-test-skipped): New struct.
1712 (ert--run-test-debugger, ert-test-result-type-p)
1713 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1714 (ert--stats-set-test-and-result, ert-char-for-test-result)
1715 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1716 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1717 Handle skipped tests. (Bug#9803)
50b5b857 1718
6f317c2f
GM
17192013-10-24 Glenn Morris <rgm@gnu.org>
1720
e43817c1
GM
1721 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1722
6f317c2f
GM
1723 * Makefile.in (abs_top_srcdir): New, set by configure.
1724 (update-subdirs): Correct build-aux location.
1725
369bbf71
DG
17262013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1727
8297b2cf
DG
1728 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1729 value, whether we could auto-deduce `backend', or not.
1730
369bbf71
DG
1731 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1732 with parameters" example. Simplify the "is it block or is it
1733 hash" check, but also make it more thorough.
1734
d5f1282f
MF
17352013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1736
1737 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1738
bc4aaa31
SM
17392013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1740
03d44565
SM
1741 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1742 { if it is hanging.
1743
bc4aaa31
SM
1744 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1745 :before ";".
1746
f493ff19
JB
17472013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1748
1749 * progmodes/compile.el (compilation-directory-matcher)
1750 (compilation-page-delimiter):
1751 Support GNU Make-4.0 directory quoting. (Bug#15678)
1752
c744a3b9
LL
17532013-10-23 Leo Liu <sdl.web@gmail.com>
1754
1755 * ido.el (ido-tidy): Handle read-only text.
1756
b8e3b0a9
GM
17572013-10-23 Glenn Morris <rgm@gnu.org>
1758
1759 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1760 (emacs, compile, compile-always):
1761 Quote entities that might contain whitespace.
1762 (custom-deps, finder-data, autoloads): Use abs_lisp.
1763 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1764 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1765 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1766
ee4282cd
DG
17672013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1768
bc4aaa31
SM
1769 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1770 Use `following-char'.
7790a270 1771
ee4282cd 17722013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1773
1774 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1775 * progmodes/ruby-mode.el (ruby-smie-rules):
1776 Remove corresponding workaround. Fix indentation rule of ";" so it
1777 also applies when ";" is the parent.
1778
d40a46d7
XF
17792013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1780
1781 * frame.el (display-screens, display-pixel-height)
1782 (display-pixel-width, display-mm-width, display-backing-store)
1783 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1784 (display-visual-class, display-monitor-attributes-list):
1785 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1786
a0f143c9
MG
17872013-10-22 Michael Gauland <mikelygee@amuri.net>
1788
1789 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1790 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1791
18cacc39
DG
17922013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1793
1794 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1795 TODO. Add "." after " @ ".
1796 (ruby-smie--at-dot-call): New function. Checks if point at method
1797 call with explicit target.
1798 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1799 to the method name tokens when it precedes them.
1800 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1801 (ruby-smie-rules): Add rule for indentation before and after "."
1802 token.
1803
df74c4be
SM
18042013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1805
c6dab55f
SM
1806 * textmodes/remember.el (remember-diary-extract-entries):
1807 Avoid add-to-list.
1808
df74c4be
SM
1809 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1810 an instruction.
1811
8c1ae481
DG
18122013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1813
cfef16c0
DG
1814 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1815 (ruby-smie--implicit-semi-p): Add new operator chars.
1816
8c1ae481
DG
1817 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1818 `smie-down-list'.
1819 (ruby-smie--args-separator-p): Check that there's no newline
1820 between method call and its arguments.
1821
87756ca9
AM
18222013-10-20 Alan Mackenzie <acm@muc.de>
1823
1824 Allow comma separated lists after Java "implements".
1825
df74c4be
SM
1826 * progmodes/cc-engine.el (c-backward-over-enum-header):
1827 Parse commas.
87756ca9
AM
1828 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1829 from a "disallowed" list in enum fontification.
1830
c25f8957
JB
18312013-10-20 Johan Bockgård <bojohan@gnu.org>
1832
df74c4be 1833 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1834
c25f8957
JB
1835 * progmodes/verilog-mode.el (verilog-mode): Don't set
1836 comment-indent-function globally.
1837
aca5fcdc
JD
18382013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1839
5f161884
JD
1840 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1841 Move Info menu item creation to ns-win.el.
1842
1843 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1844 in menu bar.
1845
aca5fcdc
JD
1846 * menu-bar.el: Move GNUStep specific menus...
1847
1848 * term/ns-win.el (ns-initialize-window-system): ... to here.
1849
914b7f98
SM
18502013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * simple.el (newline): Only run post-self-insert-hook when
1853 called interactively.
1854
846ffe77
JB
18552013-10-19 Johan Bockgård <bojohan@gnu.org>
1856
1857 * icomplete.el (icomplete-with-completion-tables): Add :version.
1858
033f22dd
AM
18592013-10-19 Alan Mackenzie <acm@muc.de>
1860
1861 Fix fontification bugs with constructors and const.
1862
1863 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1864 CASE 2) Remove the check for the absence of a suffix construct
1865 after a function declaration with only types (no identifiers) in
1866 the parentheses. Also, accept a function declaration with just a
1867 type inside the parentheses, if this type can be positively
1868 recognised as such, or if a prefix keyword like "explicit" nails
1869 down the construct as a declaration.
1870
58ce0cfc
EZ
18712013-10-19 Eli Zaretskii <eliz@gnu.org>
1872
1873 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1874 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1875 the problem whereby selecting a menu item that leads to a
1876 minibuffer prompt moves the cursor out of the minibuffer window,
1877 making it hard to type at the prompt. Suggested by Stefan Monnier
1878 <monnier@iro.umontreal.ca>.
1879
50e28e7d
JD
18802013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1881
1882 * menu-bar.el: Don't make Services menu.
1883
7deed4bf
RS
18842013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1885
1886 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1887 (ffap-alist): Use ffap-c++-mode for c++-mode.
1888 (ffap-c++-path): New variable.
1889 (ffap-c++-mode): New function.
1890
7bcb455b
JVJ
18912013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1892
1893 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1894
f0ff1cd5
MA
18952013-10-18 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1898 introduced on 2013-09-08, which results in an infinite loop
1899 requesting a password.
1900
d64da4b7
GM
19012013-10-18 Glenn Morris <rgm@gnu.org>
1902
1903 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1904
ea89ff08
WS
19052013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1906
1907 Sync with upstream verilog-mode revision 1a6ecec7.
1908 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1909 (verilog-mode-release-date): Remove.
1910 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1911 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1912 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1913 (verilog-auto-tieoff-ignore-regexp)
1914 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1915 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1916 (verilog-signals-with, verilog-dir-cache-preserving)
1917 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1918 Doc fixes.
1919 (verilog-case-fold): New option, to control case folding in
1920 regexp searches, bug597.
1921 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1922 (verilog-string-match-fold, verilog-in-paren-count)
1923 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1924 (verilog-at-close-struct-p): New functions.
1925 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1926 (verilog-forward-sexp, verilog-set-auto-endcomments):
1927 (verilog-leap-to-case-head): Handle "unique0" case.
1928 (verilog-in-constraint-re): New constant.
1929 (verilog-keywords, verilog-type-font-keywords):
1930 Add some SystemVerilog 1800-2012 keywords.
1931 (verilog-label-be): Remove unimplemented argument, bug669.
1932 (verilog-batch-execute-func): When batch expanding clear
1933 create-lockfiles to prevent spurious user locks when a file ends
1934 up not changing.
1935 (verilog-calculate-indent, verilog-calc-1)
1936 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1937 (verilog-do-indent): Fix indentation of nested constraints
1938 and structures.
1939 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1940 (verilog-auto-inst-param): Use verilog-string-match-fold.
1941 (verilog-read-inst-module-matcher):
1942 Fix AUTOINST on gate primitives with #1.
1943 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1944 Reads all user-defined typed variables.
1945 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1946 (verilog-signals-matching-regexp)
1947 (verilog-signals-not-matching-regexp, verilog-auto):
1948 Respect verilog-case-fold.
1949 (verilog-diff-report): Fix line count.
1950 (verilog-auto-assign-modport): Remove unused local `modi'.
1951 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1952 better handle multidimensional arrays.
1953 Fix packed array ports misadding bit index in AUTOINST, bug637.
1954 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1955 to not double-declare existing outputs and inputs, respectively.
1956 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1957 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1958 (verilog-sk-uvm-component): New skeleton.
1959 (verilog-submit-bug-report): Add verilog-case-fold,
1960 remove verilog-mode-release-date.
1961
ef566920
BR
19622013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1963
1964 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1965 as before.
1966
29df8a0b
RT
19672013-10-18 Reuben Thomas <rrt@sc3d.org>
1968
1969 * textmodes/remember.el (remember): set buffer-offer-save in
1970 remember buffers (bug#13566).
1971
04a19a79
DC
19722013-10-18 Daniel Colascione <dancol@dancol.org>
1973
1974 When evaluating forms in ielm, direct standard output to ielm
1975 buffer. Add new ielm-return-for-effect command. Remove trailing
1976 whitespace throughout.
1977
1978 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1979 (ielm-return-for-effect): New command.
1980 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1981 (ielm-eval-input): Accept optional `for-effect' parameter.
1982 Bind `standard-output' to stream we create using
04a19a79
DC
1983 `ielm-standard-output-impl'. Suppress printing result when
1984 `for-effect'.
1985 (ielm-standard-output-impl): New function.
1986 (inferior-emacs-lisp-mode): Explain new features in documentation.
1987
4c1f03ef
MA
19882013-10-17 Michael Albinus <michael.albinus@gmx.de>
1989
1990 Code cleanup.
1991
1992 * net/tramp.el (tramp-debug-message): Do not check for connection
1993 buffer.
1994 (tramp-message): Use "vector" connection property.
1995
1996 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1997 (tramp-equal-remote, tramp-eshell-directory-change)
1998 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1999 (tramp-adb-handle-rename-file)
2000 * net/tramp-cmds.el (tramp-list-remote-buffers)
2001 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2002 * net/tramp-compat.el (tramp-compat-process-running-p)
2003 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2004 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2005 (tramp-gvfs-handle-rename-file)
2006 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2007 (tramp-set-file-uid-gid)
2008 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2009 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2010 of `file-remote-p'.
2011
2012 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2013 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2014 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2015 (tramp-gw-open-network-stream): Suppress unrelated traces.
2016
2017 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2018 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2021 connection property.
2022
2023 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2024 persistency file.
4c1f03ef
MA
2025
2026 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2027 Refactor common code. Improve debug message.
2028 (tramp-maybe-open-connection)
2029 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2030 connection buffer too early.
2031
2032 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2033 from `tramp-smb-actions-with-acl'.
2034 (tramp-smb-actions-set-acl): New defconst.
2035 (tramp-smb-handle-copy-directory)
2036 (tramp-smb-action-get-acl): New defun, renamed from
2037 `tramp-smb-action-with-acl'.
2038 (tramp-smb-action-set-acl): New defun.
2039 (tramp-smb-handle-set-file-acl): Rewrite.
2040
642eb8b6
GM
20412013-10-17 Glenn Morris <rgm@gnu.org>
2042
2043 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2044
85527ff3
SM
20452013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2046
921c1d62
SM
2047 * skeleton.el (skeleton-newline): Remove.
2048 (skeleton-internal-1): Use (insert "\n") instead.
2049
e333fb10
SM
2050 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2051 let-bindings.
2052
85527ff3
SM
2053 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2054 forward-sexp-function while we redo its job (bug#15613).
2055
c8722a97
JB
20562013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2057
2058 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2059 represented by lists.
2060
7a550bbb
GM
20612013-10-16 Glenn Morris <rgm@gnu.org>
2062
2063 * tmm.el (tmm--history): New dynamic variable.
2064 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2065
f19da8ad
MA
20662013-10-16 Michael Albinus <michael.albinus@gmx.de>
2067
2068 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2069 (tramp-smb-errors): Add error messages.
2070 (tramp-smb-actions-with-acl): New defconst.
2071 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2072 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2073 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2074 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2075 (tramp-smb-get-stat-capability): Fix tests.
2076
a24b9961
DK
20772013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2078
2079 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2080 (bug#15580).
2081
62ad85e6
GM
20822013-10-16 Glenn Morris <rgm@gnu.org>
2083
0283d6b0
GM
2084 * ansi-color.el (ansi-color-drop-regexp):
2085 Add 1J, 1K, 2K. (Bug#15617)
2086
012e2f9f
GM
2087 * files.el (hack-local-variables--warned-lexical): New.
2088 (hack-local-variables):
2089 Warn about misplaced lexical-binding. (Bug#15616)
2090
62ad85e6
GM
2091 * net/eww.el (eww-render): Always set eww-current-url,
2092 and update header line. (Bug#15622)
2093 (eww-display-html): ... Rather than just doing it here.
2094
6456c0ea
EZ
20952013-10-15 Eli Zaretskii <eliz@gnu.org>
2096
2097 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2098 menu navigations commands.
2099
c2de5588
DK
21002013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2101
2102 * progmodes/subword.el (subword-capitalize): Be careful when
2103 the search for [[:alpha:]] fails (bug#15580).
2104
ccd4a783
EZ
21052013-10-14 Eli Zaretskii <eliz@gnu.org>
2106
2107 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2108 to commands that scroll the menu.
2109
1eda1d8d
DG
21102013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2111
c2de5588
DK
2112 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2113 Handle methods ending with `?' and `!'.
1eda1d8d 2114
e70181b8
AM
21152013-10-14 Akinori MUSHA <knu@iDaemons.org>
2116
2117 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2118 `japanese-cp932' to `cp932' to fix the problem where saving a
2119 source file written in Shift_JIS twice would end up having
2120 `coding: japanese-cp932' which Ruby could not recognize.
2121 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2122 in `ruby-encoding-map'.
2123 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2124 doesn't need to be explicitly declared in magic comment.
2125 (ruby-encoding-map): Add type declaration for better customize UI.
2126
9148ee92
GM
21272013-10-13 Glenn Morris <rgm@gnu.org>
2128
a5d38e34
GM
2129 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2130 Occur buffers are read-only. http://bugs.debian.org/720775
2131
9148ee92
GM
2132 * emacs-lisp/authors.el (authors-fixed-entries):
2133 Comment out old alpha stuff.
2134
a9ba094b
DG
21352013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2138 to `after-save-hook' instead of `before-save-hook'.
2139 (ruby-mode-set-encoding): Use the value of coding system used to
2140 write the file. Call `basic-save-buffer-1' after modifying the
2141 buffer.
2142
7a068717
AM
21432013-10-13 Alan Mackenzie <acm@muc.de>
2144
2145 Fix indentation/fontification of Java enum with
2146 "implements"/generic.
2147
c2de5588
DK
2148 * progmodes/cc-engine.el (c-backward-over-enum-header):
2149 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2150 (c-inside-bracelist-p): Uses new function above.
2151 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2152 function above.
2153 (c-font-lock-enum-tail): Uses new function above.
2154
85b64f02
KH
21552013-10-13 Kenichi Handa <handa@gnu.org>
2156
2157 * international/mule-cmds.el (select-safe-coding-system): Remove a
2158 superfluous condition in chekcing whether a coding system is safe
2159 or not.
2160
fc7f501b
OK
21612013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2162
2163 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2164
fdcb2049
AP
21652013-10-13 Andreas Politz <politza@hochschule-trier.de>
2166
2167 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2168
8c106d17
GM
21692013-10-13 Glenn Morris <rgm@gnu.org>
2170
feab892d
GM
2171 * menu-bar.el (menu-bar-update-buffers):
2172 Unify Buffers menu prompt string. (Bug#15576)
2173
b22d0686
GM
2174 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2175
8c106d17
GM
2176 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2177 Add some entries.
2178 (authors-fixed-entries): Use accented form of name.
2179
1b12c797
SM
21802013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2181
650fa7bf 2182 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2183 method calls (bug#15594).
650fa7bf
SM
2184 (ruby-smie--args-separator-p): New function.
2185 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2186 recognize paren-free method calls.
2187
1b12c797
SM
2188 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2189 internals of universal-argument.
2190
029619c8
EZ
21912013-10-11 Eli Zaretskii <eliz@gnu.org>
2192
2193 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2194 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2195 dropped menu on second mouse click on the menu bar.
029619c8 2196
dd070019
SM
21972013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2200 (explicit-shell-file-name): Declare.
2201 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2202 (sh-completion-at-point-function): New function.
2203 (sh-mode): Use it.
2204 (sh-smie--keyword-p): Remove unused argument.
2205 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2206 vars.
2207 (sh-set-shell): Always setup SMIE, even if we use the
2208 old indentation code.
2209
0922b826
DG
22102013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2211
b68e2926
DG
2212 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2213 cases of ? and =.
2214 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2215 predicate would return nil are almost non-existent.
2216 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2217
0922b826
DG
2218 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2219 cache also after commands that modify the buffer but don't move
2220 point.
2221
ee041f2d
SM
22222013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * env.el (substitute-env-in-file-name): New function.
2225 (substitute-env-vars): Extend the meaning of the optional arg.
2226
a5dab159
EZ
22272013-10-10 Eli Zaretskii <eliz@gnu.org>
2228
2229 * term/w32-win.el (dynamic-library-alist): Define separate lists
2230 of GIF DLLs for versions before and after 5.0.0 of giflib.
2231 (Bug#15531)
2232
0449d6cd 22332013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2234
2235 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2236 not locked, use last revision and current source as
2237 defaults. (Bug#15569)
2238
2f6e161e
MY
22392013-10-10 Masatake YAMATO <yamato@redhat.com>
2240
2241 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2242 menu-bar is hidden.
2243
6c8413fc
MR
22442013-10-10 Martin Rudalics <rudalics@gmx.at>
2245
2246 * window.el (pop-to-buffer-same-window): Fix doc-string.
2247 (Bug#15492)
2248
20832de0
SM
22492013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2252
c6e8ae77
AC
22532013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2254
2255 * calendar/icalendar.el (icalendar-import-file):
2256 Fix interactive spec. (Bug#15482)
2257
9db13baf
GM
22582013-10-10 Glenn Morris <rgm@gnu.org>
2259
9271e90e
GM
2260 * desktop.el (desktop-save): Default to saving in .emacs.d,
2261 since PWD is no longer in desktop-path by default. (Bug#15319)
2262
9db13baf
GM
2263 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2264 now that text mode has a menu with the same entry.
2265 (menu-bar-text-mode-auto-fill): Remove now unused func.
2266 * textmodes/text-mode.el (text-mode-map):
2267 Use auto-fill help text from menu-bar.el.
2268
a0be396a 22692013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2270
2271 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2272
2edcd3c7
JL
22732013-10-09 Juri Linkov <juri@jurta.org>
2274
2275 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2276 instead of this-command-keys. Add universal-argument-more and
2277 universal-argument-minus to the list of prefix commands. (Bug#15568)
2278
574411d0
GM
22792013-10-09 Glenn Morris <rgm@gnu.org>
2280
14afa541
GM
2281 * vc/vc-svn.el (vc-svn-create-repo):
2282 Expand paths in file://... url. (Bug#15446)
2283
574411d0
GM
2284 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2285 Add some entries.
2286 (authors): Remove unused local variables.
2287
79804536
SM
22882013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * profiler.el: Create a more coherent calltree from partial backtraces.
2291 (profiler-format): Hide the tail with `invisible' so that C-s can still
2292 find the hidden elements.
2293 (profiler-calltree-depth): Don't recurse so enthusiastically.
2294 (profiler-function-equal): New hash-table-test.
2295 (profiler-calltree-build-unified): New function.
2296 (profiler-calltree-build): Use it.
2297 (profiler-report-make-name-part): Indent the calltree less.
2298 (profiler-report-mode): Add visibility specs for profiler-format.
2299 (profiler-report-expand-entry, profiler-report-toggle-entry):
2300 Expand the whole subtree when provided with a prefix arg.
2301
238150c8
DG
23022013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2303
2304 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2305 iuwu-mod token.
2306 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2307 hanging iuwu-mod token.
2308 (ruby-smie--forward-token): Do not include a dot after a token in
2309 that token.
2310 (ruby-smie--backward-token): Likewise.
2311
b0949cc4
JL
23122013-10-08 Juri Linkov <juri@jurta.org>
2313
2314 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2315 to isearch-other-control-char.
2316 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2317 and isearch-post-command-hook to post-command-hook.
2318 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2319 and isearch-post-command-hook from post-command-hook.
2320 (isearch-unread-key-sequence)
2321 (isearch-reread-key-sequence-naturally)
2322 (isearch-lookup-scroll-key, isearch-other-control-char)
2323 (isearch-other-meta-char): Remove functions.
2324 (isearch-pre-command-hook, isearch-post-command-hook):
2325 New functions based on isearch-other-meta-char rewritten
2326 relying on the new behavior of overriding-terminal-local-map
2327 that does not replace the local keymaps any more. (Bug#15200)
2328
4ed77415
EZ
23292013-10-08 Eli Zaretskii <eliz@gnu.org>
2330
2331 Support menus on text-mode terminals.
2332 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2333 functionality.
2334
2335 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2336
c2de5588
DK
2337 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2338 Move here from mouse.el.
4ed77415
EZ
2339 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2340 and arrow keys.
2341 (tty-menu-navigation-map): New map for TTY menu navigation.
2342
2343 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2344
2345 * frame.el (display-mouse-p): Report text-mode mouse as available
2346 on w32.
2347 (display-popup-menus-p): Report availability if mouse is
2348 available; don't condition on window-system.
2349
2350 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2351 (tty-menu-selected-face): New faces.
2352
b7d5bd82
TL
23532013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2354
06286513
SM
2355 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2356 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2357 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2358 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2359 New constants.
2360 (lisp-mode-variables): New `elisp' argument.
2361 (emacs-lisp-mode): Use it.
2362 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2363 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2364
b7d5bd82
TL
2365 * indent.el: Use lexical-binding.
2366 (indent-region): Add progress reporter.
2367 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2368 last step.
2369 (indent--next-tab-stop): New function to implement this behavior.
2370 (tab-to-tab-stop, move-to-tab-stop): Use it.
2371
23722013-10-08 Teemu Likonen <tlikonen@iki.fi>
2373
2374 * indent.el (indent-rigidly--current-indentation): New function.
2375 (indent-rigidly-map): New var.
2376 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2377
5ea75d23
BG
23782013-10-08 Bastien Guerry <bzg@gnu.org>
2379
2380 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2381
cc5da1ec
SM
23822013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2383
8ffa1a0b
SM
2384 * progmodes/perl-mode.el: Use lexical-binding.
2385 Remove redundant :group args.
2386 (perl-nochange): Change default to be closer to other major modes's
2387 standard behavior.
2388 (perl-indent-line): Don't consider text on current line as a
2389 valid beginning of function from which to indent.
2390
f2223371
SM
2391 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2392 with more than one argument (bug#15538).
2393
44256060
SM
2394 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2395
cc5da1ec
SM
2396 * vc/pcvs.el: Use lexical-binding.
2397 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2398 environment of `eval'.
2399 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2400 than a list of expressions. Adjust callers.
2401 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2402
0ea1599d
DG
24032013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2404
2405 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2406 case of the dot in a chained method call being on the following line.
0ea1599d 2407
da3e5ebb
SM
24082013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2abb4e65
SM
2410 * electric.el (electric-indent-inhibit): New var.
2411 (electric-indent-post-self-insert-function): Use it.
2412 * progmodes/python.el (python-mode): Set it.
2413
d2e0e795
SM
2414 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2415 open braces.
2416
2417 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2418
bdc6b4c8
SM
2419 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2420 (css-mode): Use electric-indent-chars.
2421
da3e5ebb
SM
2422 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2423 (font-lock-beg, font-lock-end): Move before first use.
2424 (nxml-mode): Use syntax-propertize-function.
2425 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2426 (nxml-extend-after-change-region): Remove.
2427 * nxml/xmltok.el: Use lexical-binding.
2428 (xmltok-save): Use `declare'.
2429 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2430 * nxml/nxml-util.el: Use lexical-binding.
2431 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2432 Use `declare'.
2433 * nxml/nxml-ns.el: Use lexical-binding.
2434 (nxml-ns-save): Use `declare'.
2435 (nxml-ns-prefixes-for): Avoid add-to-list.
2436 * nxml/rng-match.el: Use lexical-binding.
2437 (rng--ipattern): Use cl-defstruct.
2438 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2439 (rng-cons-group-after, rng-subst-group-after)
2440 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2441 Use closures instead of `(lambda...).
2442
f8f91d5d
MA
24432013-10-07 Michael Albinus <michael.albinus@gmx.de>
2444
2445 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2446 of BEG and END.
2447
da3e5ebb
SM
2448 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2449 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2450 (tramp-gvfs-handle-insert-file-contents): Remove function.
2451
da3e5ebb
SM
2452 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2453 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2454
2455 * net/trampver.el: Update release number.
2456
7ccae3b1
SM
24572013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2458
55ca2c0d
SM
2459 * progmodes/compile.el (compilation-parse-errors):
2460 Use compilation--put-prop.
2461 (compilation--ensure-parse): Check compilation-multiline.
2462
731fc3ae
SM
2463 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2464
da3e5ebb
SM
2465 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2466 lexical-binding.
a5833280 2467
2e7ba2c2
SM
2468 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2469
7ccae3b1
SM
2470 * progmodes/ruby-mode.el: Fix recently added tests.
2471 (ruby-smie-grammar): Add - and +.
2472 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2473 (ruby-smie--backward-id): New functions.
2474 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2475 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2476 any more.
2477
85698d63
LL
24782013-10-07 Leo Liu <sdl.web@gmail.com>
2479
2480 * register.el (register-preview-delay)
2481 (register-preview-functions): New variables.
2482 (register-read-with-preview, register-preview)
2483 (register-describe-oneline): New functions.
2484 (point-to-register, window-configuration-to-register)
2485 (frame-configuration-to-register, jump-to-register)
2486 (number-to-register, view-register, insert-register)
2487 (copy-to-register, append-to-register, prepend-to-register)
2488 (copy-rectangle-to-register): Use register-read-with-preview to
2489 read register. (Bug#15525)
2490
3986af6c
DS
24912013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2492
2493 * net/network-stream.el (network-stream-open-starttls): Don't add
2494 --insecure if it's already present, because that gnutls-cli
2495 rejects getting that parameter twice.
2496
5cd9cda9
DG
24972013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2498
2499 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2500 keyword, too.
2501
da9ea6d9
DG
25022013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2503
2504 * newcomment.el (comment-use-global-state): Change default value
2505 to t, mark obsolete (Bug#15251).
2506 (comment-beginning): In addition to `comment-to-syntax', check the
2507 value of `comment-use-global-state'.
2508
34d1a133
SM
25092013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2512 (ruby-comment-column): Follow the global default, by default.
2513 (ruby-smie-grammar): Add assignment syntax.
2514 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2515 open-paren, a comma, or a \.
2516 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2517 and line continuations.
2518 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2519 followed by implicit semi-colons. Add rule for string concatenation
2520 and for indentation at BOB.
2521 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2522
2523 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2524 calling next-sexp, since next-token may have skipped chars which
2525 next-sexp doesn't know should be skipped!
2526
6f6ab820
LL
25272013-10-05 Leo Liu <sdl.web@gmail.com>
2528
34d1a133
SM
2529 * progmodes/octave.el (octave-send-region):
2530 Call compilation-forget-errors.
6f6ab820 2531
34ca0f4c
XF
25322013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2533
2534 * vc/vc-svn.el (vc-svn-find-admin-dir):
2535 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2536 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2537 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2538 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2539
a27c1b72
SM
25402013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2543
258ab3bc
SM
25442013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * subr.el (read-passwd): Hide chars even when called within a context
2547 where after-change-functions is disabled (bug#15501).
2548 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2549 until we removed ourself from overriding-terminal-local-map.
2550
939fb29c
LL
25512013-10-04 Leo Liu <sdl.web@gmail.com>
2552
258ab3bc
SM
2553 * progmodes/octave.el (inferior-octave-mode):
2554 Call compilation-forget-errors.
939fb29c 2555
63bd7f35
XF
25562013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2557
2558 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2559
9e6229fa
MA
25602013-10-04 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * net/secrets.el (secrets-create-collection): Add optional
2563 argument ALIAS. Use proper Label keyword. Append ALIAS as
2564 dbus-call-method argument. (Bug#15516)
2565
1dab32a3
LL
25662013-10-04 Leo Liu <sdl.web@gmail.com>
2567
2568 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2569 (inferior-octave-compilation-font-lock-keywords): New variables.
2570 (compilation-error-regexp-alist)
2571 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2572 (inferior-octave-mode): Use compilation-shell-minor-mode.
2573
6cad7ba3
JS
25742013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2575
2576 * minibuffer.el (completion--replace): Be careful that `end' might be
2577 a marker.
2578
acbadd00
DU
25792013-10-03 Daiki Ueno <ueno@gnu.org>
2580
2581 Add support for package signature checking.
2582 * emacs-lisp/package.el (url-http-file-exists-p)
2583 (epg-make-context, epg-context-set-home-directory)
2584 (epg-verify-string, epg-context-result-for)
2585 (epg-signature-status, epg-signature-to-string)
2586 (epg-check-configuration, epg-configuration)
2587 (epg-import-keys-from-file): Declare.
2588 (package-check-signature): New user option.
2589 (package-unsigned-archives): New user option.
2590 (package-desc): Add `signed' field.
2591 (package-load-descriptor): Set `signed' field if .signed file exists.
2592 (package--archive-file-exists-p): New function.
2593 (package--check-signature): New function.
2594 (package-install-from-archive): Check package signature.
2595 (package--download-one-archive): Check archive signature.
2596 (package-delete): Remove .signed file.
2597 (package-import-keyring): New command.
2598 (package-refresh-contents): Import default keyring.
2599 (package-desc-status): Add "unsigned" status.
2600 (describe-package-1, package-menu--print-info)
2601 (package-menu-mark-delete, package-menu--find-upgrades)
2602 (package-menu--status-predicate): Support "unsigned" status.
2603
adf2aa61
SM
26042013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2607 the new compilation scheme using the new byte-codes.
2608
2609 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2610 (byte-pophandler): New byte codes.
2611 (byte-goto-ops): Adjust accordingly.
2612 (byte-compile--use-old-handlers): New var.
2613 (byte-compile-catch): Use new byte codes depending on
2614 byte-compile--use-old-handlers.
2615 (byte-compile-condition-case--old): Rename from
2616 byte-compile-condition-case.
2617 (byte-compile-condition-case--new): New function.
2618 (byte-compile-condition-case): New function that dispatches depending
2619 on byte-compile--use-old-handlers.
2620 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2621 when we can.
2622
2623 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2624 Optimize under `condition-case' and `catch' if
2625 byte-compile--use-old-handlers is nil.
2626 (disassemble-offset): Handle new bytecodes.
2627
328a8179
SM
26282013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * subr.el (error): Use `declare'.
2631 (decode-char, encode-char): Use advertised-calling-convention instead
2632 of the docstring to discourage use of the `restriction' arg.
2633
15a1e936
DU
26342013-10-03 Daiki Ueno <ueno@gnu.org>
2635
2636 * epg.el (epg-verify-file): Add a comment saying that it does not
2637 notify verification error as a return value nor a signal.
2638 (epg-verify-string): Ditto.
2639
376f862a
KR
26402013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2641
2642 * progmodes/compile.el (compilation-start): Try globbing the arg to
2643 `cd' (bug#15417).
2644
a2f93a5f
MA
26452013-10-02 Michael Albinus <michael.albinus@gmx.de>
2646
2647 Sync with Tramp 2.2.8.
2648
2649 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2650 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2651 * net/trampver.el: Update release number.
2652
0daa0804
JD
26532013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2654
2655 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2656 and default-process-coding-system for darwin only.
2657
abd1ae34
SM
26582013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2661
be4e325d
MH
26622013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2663
2664 * vc/vc-git.el (vc-git-grep): Disable pager.
2665
e9155c4a
DG
26662013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2667
494e898b
DG
2668 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2669 Use :url instead of :homepage, as per
2670 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2671
e9155c4a
DG
2672 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2673 non-nil, use `syntax-ppss' (Bug#15251).
2674
481a8e0f
RS
26752013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2676
be4e325d
MH
2677 * progmodes/octave.el (inferior-octave-startup-file):
2678 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2679
056453c6
DG
26802013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2681
be4e325d
MH
2682 * emacs-lisp/package.el (package-desc-from-define):
2683 Accept additional arguments as plist, convert them to an alist and store
2684 them in the `extras' slot.
056453c6
DG
2685 (package-generate-description-file): Convert extras alist back to
2686 plist and append to the `define-package' form arguments.
2687 (package--alist-to-plist): New function.
2688 (package--ac-desc): Add `extras' slot.
2689 (package--add-to-archive-contents): Check if the archive-contents
2690 vector is long enough, and if it is, pass its `extras' slot value
2691 to `package-desc-create'.
2692 (package-buffer-info): Call `lm-homepage', pass the returned value
2693 to `package-desc-from-define'.
2694 (describe-package-1): Render the homepage button (Bug#13291).
2695
be4e325d
MH
2696 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2697 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2698
832966e5
JD
26992013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2700
2701 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2702 and default-process-coding-system to utf-8-unix (Bug#15402).
2703
6cfe977d
XF
27042013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2705
2706 * subr.el (looking-back): Do not recommend using looking-back.
2707
38de11bd
AM
27082013-09-28 Alan Mackenzie <acm@muc.de>
2709
2710 Fix indentation/fontification of Java enum with "implements".
2711
2712 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2713 regexp which matches "implements", etc., in Java.
2714 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2715 specifier clauses coming after "enum".
2716 * progmodes/cc-fonts.el (c-font-lock-declarations)
2717 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2718 after "enum".
2719
1610938f
JD
27202013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2721
2722 * faces.el (region): Change ns_selection_color to
2723 ns_selection_fg_color, add ns_selection_bg_color.
2724
e090f499
LL
27252013-09-28 Leo Liu <sdl.web@gmail.com>
2726
4d2e94d1
LL
2727 * progmodes/octave.el (inferior-octave-completion-table)
2728 (inferior-octave-completion-at-point): Minor tweaks.
2729
e090f499
LL
2730 * textmodes/ispell.el (ispell-lookup-words): Rename from
2731 lookup-words. (Bug#15460)
2732 (lookup-words): Obsolete.
2733 (ispell-complete-word, ispell-command-loop): All uses changed.
2734
7e138a62
RS
27352013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2736
2737 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2738 (octave-mode-menu): Add octave-send-buffer.
2739 (octave-send-buffer): New function.
2740
5af5ed08
RS
27412013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2742
2743 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2744 octave-lookfor.
2745 (octave-mode-menu): Add octave-lookfor.
2746 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2747 octave-lookfor.
2748 (octave-lookfor): New function.
2749
3b7b2692
SM
27502013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * emacs-lisp/cl-macs.el:
2753 (cl--loop-destr-temps): Remove.
2754 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2755 its convention.
2756 (cl--loop-set-iterator-function): New function.
2757 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2758 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2759 Bind `it' with `let' instead of substituting it with `cl-subst'.
2760 (cl--unused-var-p): New function.
2761 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2762 Eliminate some unused variable warnings (bug#15326).
2763
529fb53f
TH
27642013-09-27 Tassilo Horn <tsdh@gnu.org>
2765
2766 * doc-view.el (doc-view-scale-reset): Rename from
2767 `doc-view-reset-zoom-level'.
2768 (doc-view-scale-adjust): New command.
2769 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2770 `doc-view-scale-adjust'.
2771
0550c95a
TH
27722013-09-26 Tassilo Horn <tsdh@gnu.org>
2773
2774 * doc-view.el (doc-view-reset-zoom-level): New command.
2775 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2776 zoom commands (bug#15466).
2777
6950f152
KH
27782013-09-26 Kenichi Handa <handa@gnu.org>
2779
2780 * international/quail.el (quail-help): Make it not a command.
2781
39587580
LL
27822013-09-26 Leo Liu <sdl.web@gmail.com>
2783
2784 * minibuffer.el (completion-all-sorted-completions): Make args
2785 optional as they are.
2786
00578659
DC
27872013-09-25 Daniel Colascione <dancol@dancol.org>
2788
2789 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2790 specs are and that they're not evaluated.
2791
0c173878
SS
27922013-09-24 Sam Steingold <sds@gnu.org>
2793
2794 * midnight.el (clean-buffer-list-kill-regexps)
2795 (clean-buffer-list-kill-buffer-names): Update for the new Man
2796 buffer naming which includes the object name.
2797
84998447
SM
27982013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2801 (eshell-parse-command, eshell-parse-pipeline): Use it since
2802 eshell-separate-commands requires a dynamic scoped var.
2803 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2804
33215353
LL
28052013-09-23 Leo Liu <sdl.web@gmail.com>
2806
2807 * autoinsert.el (auto-insert-alist): Make the value of
2808 lexical-binding match its file setting.
2809
57b16162
JB
28102013-09-23 Juanma Barranquero <lekktu@gmail.com>
2811
c8af4e67
JB
2812 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2813
57b16162
JB
2814 * autoarg.el (autoarg-kp-digit-argument):
2815 * electric.el (Electric-command-loop):
2816 * kmacro.el (kmacro-step-edit-insert):
2817 Do not set universal-argument-num-events.
2818
7186ba60
LL
28192013-09-22 Leo Liu <sdl.web@gmail.com>
2820
2821 * files.el (interpreter-mode-alist): Add octave.
2822
ece15004
AM
28232013-09-21 Alan Mackenzie <acm@muc.de>
2824
2825 C++: fontify identifier in declaration following "public:" correctly.
2826 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2827 to match "public", etc.
2828 (c-decl-prefix-re): Add ":" into the C++ value.
2829 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2830 bit. Add a check for a ":" preceded by "public", etc.
2831
75d83e22
EZ
28322013-09-21 Eli Zaretskii <eliz@gnu.org>
2833
2834 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2835 recognized by GDB 7.5 and later.
2836
d052d3bd
XF
28372013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2838
2839 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2840
31dca772
R
28412013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * subr.el (internal--call-interactively): New const.
2844 (called-interactively-p): Use it (bug#3984).
2845
98ccf24e
XF
28462013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2847
2848 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2849 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2850 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2851
c39cc7d1
SM
28522013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2853
2854 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2855 (eshell-ls-orig-insert-directory): Remove.
2856 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2857 (eshell-ls-use-in-dired): Use advice-add/remove.
2858 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2859 Add `orig-fun' arg for use in :around advice.
2860 Make it check (redundantly) eshell-ls-use-in-dired.
2861
9a0289a2
GM
28622013-09-19 Glenn Morris <rgm@gnu.org>
2863
a2c501b8
GM
2864 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2865
c440407a
GM
2866 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2867
9a0289a2
GM
2868 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2869
85e05915
MA
28702013-09-19 Michael Albinus <michael.albinus@gmx.de>
2871
2872 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2873 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2874 (tramp-get-remote-python): New defuns.
2875 (tramp-get-remote-uid-with-perl)
2876 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2877 contributed by yary <not.com@gmail.com> (tiny change).
2878 (tramp-get-remote-uid-with-python)
2879 (tramp-get-remote-gid-with-python): New defuns. Python code
2880 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2881 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2882
ce503312
GM
28832013-09-19 Glenn Morris <rgm@gnu.org>
2884
f7544773
GM
2885 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2886
72fd2877
GM
2887 * eshell/em-unix.el (eshell-remove-entries):
2888 Rename argument to avoid name-clash with global `top-level'.
2889
336b5a56
GM
2890 * eshell/esh-proc.el (eshell-kill-process-function):
2891 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2892 (eshell-reset-after-proc): Remove unused arg `proc'.
2893
57a3a53d
GM
2894 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2895 (directory-files-and-attributes): Mark unused arg.
2896
3261d4af
GM
2897 * eshell/em-unix.el (eshell-remove-entries):
2898 Remove unused arg `path'. Update callers.
2899
8e51b5d0
GM
2900 * eshell/em-hist.el (eshell-hist-parse-arguments):
2901 Remove unused arg `silent'. Update callers.
2902
ce503312
GM
2903 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2904 Fix (f)boundp mix-up.
2905
2906 * eshell/em-smart.el (eshell-smart-scroll-window)
2907 (eshell-disable-after-change):
336b5a56 2908 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2909
ee3ce8a7
AM
29102013-09-18 Alan Mackenzie <acm@muc.de>
2911
2912 Fix fontification of type when followed by "const".
2913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2914 "known" types from fontification.
2915
ec9177ba
GM
29162013-09-18 Glenn Morris <rgm@gnu.org>
2917
7bb3e768
GM
2918 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2919 (chart-face-list): Drop Emacsen without display-color-p.
2920
5148da15
GM
2921 * net/eww.el (libxml-parse-html-region): Declare.
2922 (eww-display-html): Explicit error if no libxml2 support.
2923
2f68e157
GM
2924 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2925
9019d095
GM
2926 * image.el (image-type-from-buffer, image-multi-frame-p):
2927 Remove --without-x warning/error.
67645389 2928
5f30349b 2929 * mouse.el (mouse-yank-primary):
45069b2e 2930 * term.el (term-mouse-paste):
5f30349b
GM
2931 Reorder to silence --without-x compilation.
2932
cd8edbbe
GM
2933 * mpc.el (doc-view-mode): Silence --without-x compilation.
2934
8a78544e
GM
2935 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2936 Silence --without-x compilation.
2937
12679bfd
GM
2938 * progmodes/gud.el (gud-find-file, gud-mode):
2939 Silence --without-x compilation.
2940 (tooltip-mode): Declare.
30810a05 2941
f0047cb9
GM
2942 * wdired.el (dired-backup-overwrite): Remove declaration.
2943 (wdired-mode-map): Add doc string.
2944
e740f9d2
GM
2945 * custom.el (x-get-resource): Declare.
2946
92d77c89
GM
2947 * eshell/em-glob.el (ange-cache):
2948 * eshell/em-unix.el (ange-cache): Declare.
2949
76e69577
GM
2950 * faces.el (x-display-list, x-open-connection, x-get-resource):
2951 Declare.
7e58af4b
GM
2952
2953 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2954 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2955 Declare.
76e69577 2956
4bd4c0af 2957 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2958
ffb82dbd
GM
2959 * net/gnutls.el (gnutls-log-level): Declare.
2960
986ed135
GM
2961 * net/shr.el (image-size, image-animate): Declare.
2962
e740f9d2
GM
2963 * simple.el (font-info): Declare.
2964
d2f3e9f8
GM
2965 * subr.el (x-popup-dialog): Declare.
2966
047a1a4c
GM
2967 * term/common-win.el (x-select-enable-primary)
2968 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2969 Declare.
2970
f4a1d572
GM
2971 * term/ns-win.el (x-handle-args): Declare.
2972
e843de77
GM
2973 * term/x-win.el (x-select-enable-clipboard): Declare.
2974
5fa89513
GM
2975 * term/w32-win.el (create-default-fontset): Declare.
2976
38702b5b
GM
2977 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2978 Declare.
2979
e740f9d2
GM
2980 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2981 (fit-frame-to-buffer): Explicit error if --without-x.
2982 (mouse-autoselect-window-select): Silence compiler.
2983
49a053fc
GM
2984 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2985
2986 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2987 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2988 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2989 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2990 Remove unused local variables.
2991
2992 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2993
ec9177ba
GM
2994 * textmodes/two-column.el: Make 2C-split work for --without-x.
2995 (scroll-bar-columns): Autoload.
2996 (top-level): Require fringe when compiling.
2997
9f25cb77
LL
29982013-09-18 Leo Liu <sdl.web@gmail.com>
2999
3000 * subr.el (add-hook): Robustify to handle closure as well.
3001
2b42da98
GM
30022013-09-17 Glenn Morris <rgm@gnu.org>
3003
3004 * simple.el (messages-buffer-mode-map): Unbind "g".
3005
e8b66a6a
SM
30062013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3007
9c0ad4f7
SM
3008 * help-mode.el (help-mode-finish): Use derived-mode-p.
3009 Remove obsolete highlighting.
3010
7a806dfb
SM
3011 * play/life.el (life-mode): Use define-derived-mode. Derive from
3012 special-mode.
3013 (life): Let-bind inhibit-read-only.
3014 (life-setup): Avoid `setq'. Use `life-mode'.
3015
96dbf5a8
SM
3016 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3017 which should not be needed any more.
3018 (package-menu-refresh, package-menu-describe-package): Use user-error.
3019
e8b66a6a
SM
3020 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3021 (eshell-post-rewrite-command-hook): Make obsolete.
3022 (eshell-parse-command): Simplify.
3023 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3024 (eshell--cmd): Declare.
3025 (eshell-parse-pipeline): Remove unused var `final-p'.
3026 Pass a dynvar to eshell-post-rewrite-command-hook.
3027 Implement the new eshell-post-rewrite-command-function.
3028 (eshell-invoke-directly): Remove unused arg `input'.
3029 * eshell/esh-io.el (eshell-io-initialize):
3030 Use eshell-post-rewrite-command-function (bug#15399).
3031 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3032 adjust to new calling convention.
3033 (eshell-create-handles): Rename args to avoid clashing with dynvar
3034 `standard-output'.
3035
90582f05
GM
30362013-09-17 Glenn Morris <rgm@gnu.org>
3037
3038 * simple.el (messages-buffer-mode): New major mode.
3039 (messages-buffer): New function.
3040 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3041 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3042 (ert-run-test): Use `messages-buffer' function.
90582f05 3043 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3044 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3045 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3046
39eb0cb5 30472013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3048
3049 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3050
1f1e06e2
SM
3051 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3052
70568a90
SM
30532013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3054
504a0381
SM
3055 * icomplete.el (icomplete-in-buffer): New var.
3056 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3057 vars and replace them with functions.
3058 (icomplete-minibuffer-setup): Adjust accordingly.
3059 (icomplete--completion-table, icomplete--completion-predicate)
3060 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3061 New functions.
3062 (icomplete-forward-completions, icomplete-backward-completions)
3063 (icomplete-simple-completing-p, icomplete-exhibit)
3064 (icomplete-completions): Use them.
3065 (icomplete--in-region-buffer): New var.
3066 (icomplete--in-region-setup): New function.
3067 (icomplete-mode): Use it.
3068
70568a90
SM
3069 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3070 (bug#15379).
3071 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3072 return args and options.
3073 (eshell-eval-using-options): Use the new return value of
3074 eshell--do-opts to set the options's vars in their scope.
3075 (eshell--set-option): Rename from eshell-set-option.
3076 Add arg `opt-vals'.
3077 (eshell--process-option): Rename from eshell-process-option.
3078 Add arg `opt-vals'.
3079 (eshell--process-args): Use an `opt-vals' alist to store the options's
3080 values during their processing and return them additionally to the
3081 remaining args.
3082
578c21bc
DG
30832013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3086 continuation character an operator, as far as indentation is
3087 concerned (Bug#15369).
3088
c089653d
MR
30892013-09-15 Martin Rudalics <rudalics@gmx.at>
3090
3091 * window.el (window--state-put-2): Don't process buffer state
3092 when buffer doesn't exist any more (Bug#15382).
3093
1e53bb4b
GM
30942013-09-15 Glenn Morris <rgm@gnu.org>
3095
30753242
GM
3096 * eshell/em-unix.el (eshell/rm):
3097 Make -f ignore missing files. (Bug#15373)
3098
1e53bb4b
GM
3099 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3100 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3101 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3102
0d8863b3
GM
31032013-09-14 Glenn Morris <rgm@gnu.org>
3104
3105 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3106
d3fc6549
GM
31072013-09-13 Glenn Morris <rgm@gnu.org>
3108
3109 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3110 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3111
fcd42c11
DA
31122013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3113
3114 * frame.el (x-focus-frame): Mark as declared in frame.c.
3115
7830899f
SM
31162013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * ls-lisp.el: Use advice-add.
3119 (original-insert-directory): Remove.
3120 (ls-lisp--insert-directory): Rename from insert-directory; add
3121 `orig-fun' argument.
3122 (insert-directory): Advise.
3123
84387cd2
EZ
31242013-09-13 Eli Zaretskii <eliz@gnu.org>
3125
3126 * term.el (term-emulate-terminal): Decode the command string
3127 before passing it to term-command-hook. (Bug#15337)
3128
35ffc6ba
GM
31292013-09-13 Glenn Morris <rgm@gnu.org>
3130
5c3f9bcc
GM
3131 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3132
2ada368a
GM
3133 * eshell/esh-ext.el (eshell-search-path): Declare.
3134
fcef2e13
GM
3135 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3136 Otherwise an error occurs if eshell-dirs module not loaded.
3137
35ffc6ba
GM
3138 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3139
35c3d36e
MA
31402013-09-13 Michael Albinus <michael.albinus@gmx.de>
3141
3142 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3143 `tramp-check-proper-host'. Check for a valid method name.
3144
3145 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3146 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3147 * net/tramp-sh.el (tramp-maybe-open-connection):
3148 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3149
3150 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3151 also for hash values.
3152
ae5e4c48
SM
31532013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3154
379add74
SM
3155 * term/ns-win.el (parameters): Don't declare as dynamic.
3156 (before-make-frame-hook): Don't add ineffective function.
3157
ae5e4c48
SM
3158 * eshell/*.el: Use lexical-binding (bug#15231).
3159
b5623270
KH
31602013-09-12 Kenichi Handa <handa@gnu.org>
3161
ae5e4c48 3162 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3163
30213927
GM
31642013-09-12 Glenn Morris <rgm@gnu.org>
3165
be94d713 3166 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3167 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3168
44915370
GM
3169 * subr.el (do-after-load-evaluation): Also give compiler warnings
3170 when obsolete files are used (except by obsolete files).
3171
a6ae021f
GM
3172 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3173 in the status output, assume `filename' is the first. (Bug#15322)
3174
40e64f0c
GM
3175 * vc/vc.el (vc-deduce-fileset): Doc fix.
3176
16d9f896
GM
3177 * calc/calc-help.el (Info-goto-node):
3178 * progmodes/cperl-mode.el (Info-find-node):
3179 * vc/ediff.el (Info-goto-node): Update declarations.
3180
dea01c6e
GM
3181 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3182
759880bf 3183 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3184 (vc-bzr-pull): Require vc-dispatcher.
3185 * vc/vc-git.el (vc-compilation-mode): Declare.
3186 (vc-git-pull): Require vc-dispatcher.
3187
08d66420
GM
3188 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3189
30b626e9
GM
3190 * progmodes/octave.el (help-button-action): Declare.
3191
8c05cb10
GM
3192 * shell.el (shell-directory-tracker): Output error as a message
3193 rather than just returning it as a string.
3194 (shell-process-pushd): Remove useless use of message.
3195
30213927
GM
3196 * dframe.el (dframe-timer-fn):
3197 * files.el (dir-locals-read-from-file):
3198 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3199 (mpc-format):
3200 * reveal.el (reveal-post-command):
3201 * saveplace.el (load-save-place-alist-from-file):
3202 * shell.el (shell-resync-dirs):
3203 * w32-common-fns.el (x-get-selection-value):
3204 * emacs-lisp/copyright.el (copyright-find-copyright):
3205 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3206 * emulation/tpu-edt.el (tpu-copy-keyfile):
3207 * play/bubbles.el (bubbles--mark-neighbourhood):
3208 * progmodes/executable.el
3209 (executable-make-buffer-file-executable-if-script-p):
3210 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3211
d3b049e6
SM
32122013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3213
170266d0
SM
3214 Cleanup Eshell to rely less on dynamic scoping.
3215 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3216 last-value, and ext-command here. Bind `args' closer to `body'.
3217 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3218 (eshell--args): Declare new dynamic var.
3219 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3220 last-value, and ext-command. Pass `args' to `body'.
3221 (eshell-process-args): Bind eshell--args.
3222 (eshell-set-option): Use eshell--args.
3223 * eshell/eshell.el (eshell): Use derived-mode-p.
3224 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3225 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3226 (eshell-glob-function): Declare.
3227 * eshell/esh-util.el: Require cl-lib.
3228 (eshell-read-hosts-file): Avoid add-to-list.
3229 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3230 `err'.
3231 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3232 Declare.
3233 (eshell/diff): Remove unused var `err'.
3234 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3235 `killflag'.
3236 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3237 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3238 first use.
3239 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3240 Move declaration before first use.
3241 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3242 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3243 rely on cl-return.
3244
56834f3b
GM
32452013-09-12 Glenn Morris <rgm@gnu.org>
3246
3247 * term/ns-win.el (global-map): Remove binding for ispell-next,
3248 deleted 1999-05-29. (Bug#15357)
3249
5c91a2b8
GM
32502013-09-11 Glenn Morris <rgm@gnu.org>
3251
da712f22
GM
3252 * echistory.el (electric-command-history): Remove call to deleted func.
3253
512e4cdc
GM
3254 * play/landmark.el (landmark-mode): Fix typos.
3255
d3506ca5
GM
3256 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3257 Check cvs-sort-ignore-file is bound.
3258
5c91a2b8
GM
3259 * savehist.el: No need for cl when compiling on Emacs.
3260
feeff482
SM
32612013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3262
656bd483
SM
3263 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3264 (bug#15338).
d3b049e6
SM
3265 (eshell-self-insert-command, eshell-send-invisible):
3266 Remove unused argument.
656bd483
SM
3267 (eshell-handle-control-codes): Remove unused var `orig'.
3268 Avoid delete-backward-char.
3269
feeff482
SM
3270 * files.el (set-auto-mode): Simplify a bit further.
3271
2a08047a
GM
32722013-09-11 Glenn Morris <rgm@gnu.org>
3273
3274 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3275 (set-auto-mode): Don't regexp-quote elements.
3276 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3277 * progmodes/cc-mode.el (interpreter-mode-alist):
3278 * progmodes/ruby-mode.el (interpreter-mode-alist):
3279 Revert previous change.
3280
34675540
SM
32812013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3282
1b3b87df
SM
3283 * play/snake.el (snake-mode):
3284 * play/mpuz.el (mpuz-mode):
3285 * play/landmark.el (lm-mode):
3286 * play/blackbox.el (blackbox-mode):
3287 * play/5x5.el (5x5-mode):
3288 * obsolete/options.el (Edit-options-mode):
3289 * net/quickurl.el (quickurl-list-mode):
3290 * net/newst-treeview.el (newsticker-treeview-mode):
3291 * mail/rmailsum.el (rmail-summary-mode):
3292 * mail/mspools.el (mspools-mode):
3293 * locate.el (locate-mode):
3294 * ibuffer.el (ibuffer-mode):
3295 * emulation/ws-mode.el (wordstar-mode):
3296 * emacs-lisp/debug.el (debugger-mode):
3297 * array.el (array-mode):
3298 * net/eudc.el (eudc-mode): Use define-derived-mode.
3299 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3300 Move initialization into declaration.
3301 (mairix-searches-mode): Use define-derived-mode.
3302 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3303 (eudc-edit-hotlist): Use dolist.
3304 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3305 (Man-mode): Use define-derived-mode.
3306 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3307 (Info-edit-mode): Use define-derived-mode.
3308 (Info-cease-edit): Use Info-mode.
3309 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3310 into declaration.
3311 (eshell-mode): Use define-derived-mode.
3312 * chistory.el (command-history-mode-map): Rename from
3313 command-history-map.
3314 (command-history-mode): Use define-derived-mode.
da712f22 3315 (Command-history-setup): Remove function.
1b3b87df
SM
3316 * calc/calc.el (calc-trail-mode-map): New var.
3317 (calc-trail-mode): Use define-derived-mode.
3318 (calc-trail-buffer): Set calc-main-buffer manually.
3319 * bookmark.el (bookmark-insert-annotation): New function.
3320 (bookmark-edit-annotation): Use it.
3321 (bookmark-edit-annotation-mode): Make it a proper major mode.
3322 (bookmark-send-edited-annotation): Use derived-mode-p.
3323 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3324 closer to its ideal place. Use \' to match EOS.
3325
34675540
SM
3326 * profiler.el (profiler-calltree-find): Use function-equal.
3327
6a5c15d9
GM
33282013-09-10 Glenn Morris <rgm@gnu.org>
3329
1af4c220
GM
3330 * files.el (interpreter-mode-alist): Convert to regexps.
3331 (set-auto-mode): Adapt for this. (Bug#15306)
3332 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3333 Comment out unused variable.
3334 * progmodes/cc-mode.el (interpreter-mode-alist):
3335 * progmodes/python.el (interpreter-mode-alist):
3336 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3337 * progmodes/sh-script.el (sh-set-shell):
3338 No longer use interpreter-mode-alist to get list of shells.
3339
6a5c15d9
GM
3340 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3341
8c27f5ff
SM
33422013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3343
02ef6c1a 3344 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3345 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3346 Bind switch-frame explicitly. Replace universal-argument-minus with
3347 a conditional binding.
3348 (universal-argument-num-events, saved-overriding-map): Remove.
3349 (restore-overriding-map): Remove.
3350 (universal-argument--mode): Rename from save&set-overriding-map,
3351 and rewrite.
3352 (universal-argument, universal-argument-more, negative-argument)
3353 (digit-argument): Adjust accordingly.
3354 (universal-argument-minus): Remove.
3355 (universal-argument-other-key): Remove.
3356
8c27f5ff
SM
3357 * subr.el (with-demoted-errors): Add `format' argument.
3358
6480194c
MA
33592013-09-10 Michael Albinus <michael.albinus@gmx.de>
3360
3361 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3362 `tramp-cleanup-connection'.
3363
3364 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3365 parameters KEEP-DEBUG and KEEP-PASSWORD.
3366
3367 * net/tramp.el (tramp-file-name-handler):
3368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3369 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3370 (tramp-maybe-open-connection):
8c27f5ff
SM
3371 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3372 Use `tramp-cleanup-connection'.
6480194c 3373
8c27f5ff
SM
3374 * net/tramp-sh.el (tramp-maybe-open-connection):
3375 Catch 'uname-changed inside the progress reporter.
6480194c 3376
e5e916d8
GM
33772013-09-10 Glenn Morris <rgm@gnu.org>
3378
9a2c9b47
GM
3379 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3380
e5e916d8
GM
3381 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3382 returns "alternate access method" in mode (eg "-rw-r--r--.").
3383
144e38fe
GM
33842013-09-08 Glenn Morris <rgm@gnu.org>
3385
3386 * saveplace.el (load-save-place-alist-from-file):
3387 Demote errors. (Bug#15305)
3388
af9ff9e8
MA
33892013-09-08 Michael Albinus <michael.albinus@gmx.de>
3390
3391 Improve compatibility with older Emacsen, and XEmacs.
3392
3393 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3394 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3395 (with-tramp-progress-reporter): Do not let-bind `result'.
3396 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3397 (tramp-handle-make-auto-save-file-name): New function, moved from
3398 tramp-sh.el.
3399
3400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3401 for `make-auto-save-file-name'.
8c27f5ff
SM
3402 (tramp-adb--gnu-switches-to-ash):
3403 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3404
3405 * net/tramp-cache.el (tramp-cache-print): Call
3406 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3407
3408 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3409 bound. It isn't for XEmacs.
3410
8c27f5ff
SM
3411 * net/tramp-compat.el (tramp-compat-copy-file):
3412 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3413 (tramp-compat-replace-regexp-in-string): New defun.
3414
3415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3416 for `make-auto-save-file-name'.
3417 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3418 `copy-file'.
3419 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3420 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3421 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3422
8c27f5ff
SM
3423 * net/tramp-gw.el (tramp-gw-open-network-stream):
3424 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3425
8c27f5ff
SM
3426 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3427 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3428 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3429 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3430 (tramp-sh-file-inotifywait-process-filter):
3431 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3432 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3433
3434 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3435 for `make-auto-save-file-name'.
8c27f5ff
SM
3436 (tramp-smb-handle-copy-directory):
3437 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3438 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3439 (tramp-smb-handle-copy-file): Improve error message.
3440 (tramp-smb-handle-rename-file): Rename directly only in case
3441 `newname' does not exist yet. This is a restriction of smbclient.
3442 (tramp-smb-maybe-open-connection): Rerun the function only when
3443 `auth-sources' is non-nil.
3444
0ca754d0
KH
34452013-09-08 Kenichi Handa <handa@gnu.org>
3446
3447 * international/characters.el: Set category "^" (Combining) for
3448 more characters.
3449
e8dd0787
AM
34502013-09-07 Alan Mackenzie <acm@muc.de>
3451
3452 Correctly fontify Java class constructors.
3453 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3454 in Java Mode.
3455 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3457 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3458 "typeless" declaration there.
3459
f2f248e7
RW
34602013-09-07 Roland Winkler <winkler@gnu.org>
3461
3462 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3463 field subtitle for entry type book.
3464
67982e2b
SM
34652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * minibuffer.el: Make minibuffer-complete call completion-in-region
3468 rather than other way around.
3469 (completion--some, completion-pcm--find-all-completions):
3470 Don't delay signals when debugging.
3471 (minibuffer-completion-contents): Beware fields within the
3472 minibuffer contents.
3473 (completion-all-sorted-completions): Use defvar-local.
3474 (completion--do-completion, completion--cache-all-sorted-completions)
3475 (completion-all-sorted-completions, minibuffer-force-complete):
3476 Add args `beg' and `end'.
3477 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3478 (minibuffer-complete): Use completion-in-region.
3479 (completion-complete-and-exit): New fun, extracted from
3480 minibuffer-complete-and-exit.
3481 (minibuffer-complete-and-exit): Use it.
3482 (completion--complete-and-exit): Rename from
3483 minibuffer--complete-and-exit.
3484 (completion-in-region--single-word): New function, extracted from
3485 minibuffer-complete-word.
3486 (minibuffer-complete-word): Use it.
3487 (display-completion-list): Make `common-substring' argument obsolete.
3488 (completion--in-region): Call completion--in-region-1 instead of
3489 minibuffer-complete.
3490 (completion-help-at-point): Pass boundaries to
3491 minibuffer-completion-help as args rather than via an overlay.
3492 (completion-pcm--string->pattern): Use `any-delim'.
3493 (completion-pcm--optimize-pattern): New function.
3494 (completion-pcm--pattern->regex): Handle `any-delim'.
3495 * icomplete.el (icomplete-forward-completions)
3496 (icomplete-backward-completions, icomplete-completions):
3497 Adjust calls to completion-all-sorted-completions and
3498 completion--cache-all-sorted-completions.
3499 (icomplete-with-completion-tables): Default to t.
3500 * emacs-lisp/crm.el (crm--current-element): Rename from
3501 crm--select-current-element. Don't put an overlay but return the
3502 boundaries instead.
3503 (crm--completion-command): Take two new args to bind to the boundaries.
3504 (crm-completion-help): Adjust accordingly.
3505 (crm-complete): Use completion-in-region.
3506 (crm-complete-word): Use completion-in-region--single-word.
3507 (crm-complete-and-exit): Use completion-complete-and-exit.
3508
e17d94a5
SM
35092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3512 than dynamically.
3513
96727100
JL
35142013-09-06 Juri Linkov <juri@jurta.org>
3515
3516 * info.el (Info-display-images-node): When image file doesn't exist
3517 display text version of the image if it's provided in the Info file.
3518 Otherwise, display the location of missing image from SRC attribute.
3519 Add help-echo text property from ALT attribute. (Bug#15279)
3520
86cf7329
SM
35212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3524 (edit-abbrevs-mode): Use define-derived-mode.
3525
3526 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3527 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3528 that it's defined.
3529 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3530 Use define-derived-mode.
3531
3532 * epg.el (epg-start-encrypt): Minor CSE simplification.
3533
816244a2
WX
35342013-09-06 William Xu <william.xwl@gmail.com>
3535
3536 * arc-mode.el: Add support for 7za (bug#15264).
3537 (archive-7z-program): New var.
3538 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3539 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3540 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3541
1486fa31
MA
35422013-09-06 Michael Albinus <michael.albinus@gmx.de>
3543
3544 Remove URL syntax.
3545
3546 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3547 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3548 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3549 (tramp-postfix-host-format, tramp-file-name-regexp)
3550 (tramp-completion-file-name-regexp)
3551 (tramp-completion-dissect-file-name)
3552 (tramp-handle-substitute-in-file-name): Remove 'url case.
3553 (tramp-file-name-regexp-url)
3554 (tramp-completion-file-name-regexp-url): Remove constants.
3555
39785324
GM
35562013-09-06 Glenn Morris <rgm@gnu.org>
3557
3558 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3559
1f896cb7
DG
35602013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3561
3562 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3563 keywords" below "here-doc beginnings" (Bug#15270).
3564
c0458e0b
SM
35652013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * subr.el (pop): Use `car-safe'.
3568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3569 to detect unused `pop' return value.
3570
3571 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3572 var `block-regexp'.
3573 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3574 (python-fill-string): Remove unused var `marker'.
3575 (python-skeleton-add-menu-items): Remove unused var `items'.
3576
3577 * international/mule-cmds.el: Require CL.
3578 (find-coding-systems-for-charsets): Avoid add-to-list.
3579 (sanitize-coding-system-list): New function, extracted from
3580 select-safe-coding-system-interactively.
3581 (select-safe-coding-system-interactively): Use it.
3582 (read-input-method-name): Accept symbols for `default'.
3583
3584 * emacs-lisp/advice.el (defadvice): Add indent rule.
3585
6c42fc3e
DH
35862013-09-05 Daniel Hackney <dan@haxney.org>
3587
3588 * dired-x.el:
3589 * net/ange-ftp.el:
3590 * net/browse-url.el:
3591 * net/dbus.el:
3592 * net/eudc.el:
3593 * net/eudcb-ldap.el:
3594 * net/eww.el:
3595 * net/imap.el:
3596 * printing.el:
3597 * vc/ediff-diff.el:
3598 * vc/ediff-init.el:
3599 * vc/ediff-merg.el:
3600 * vc/ediff-mult.el:
3601 * vc/ediff-util.el:
3602 * vc/ediff-wind.el:
3603 * vc/ediff.el:
3604 * vc/emerge.el:
3605 * vc/pcvs.el:
3606 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3607 byte compiler. Remove some unused let-bound variables.
3608
4c528aab
SM
36092013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3612 a "ref-cell", since it gets better optimized (bug#14883).
3613
bd15c390
GM
36142013-09-05 Glenn Morris <rgm@gnu.org>
3615
3616 * progmodes/cc-awk.el (c-forward-sws): Declare.
3617
1c3ac2e5
GM
36182013-09-04 Glenn Morris <rgm@gnu.org>
3619
3620 * generic-x.el [rul-generic-mode]: Require cc-mode.
3621 (c++-mode-syntax-table): Declare.
3622 (rul-generic-mode-syntax-table): Init in the defvar.
3623
52b1cc79
SM
36242013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3625
c828af56
SM
3626 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3627 (vc-do-command, vc-set-async-update):
3628 * vc/vc-mtn.el (vc-mtn-dir-status):
3629 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3630 (vc-hg-pull, vc-hg-merge-branch):
3631 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3632 (vc-git-merge-branch):
3633 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3634 (vc-cvs-dir-status-files):
3635 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3636 (vc-bzr-dir-status-files):
3637 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3638 * vc/vc-annotate.el: Use lexical-binding.
3639 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3640 (vc-sentinel-movepoint): Declare.
3641 (vc-annotate): Don't use `goto-line'.
3642 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3643 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3644 (vc-sentinel-movepoint): Declare.
3645 * vc/vc-svn.el: Use lexical-binding.
3646 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3647 * vc/vc-sccs.el:
3648 * vc/vc-rcs.el: Use lexical-binding.
3649
abae272c
SM
3650 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3651 `deleted'. Don't drop errors silently.
3652
52b1cc79
SM
3653 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3654
63191d9f
XF
36552013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3656
3657 * vc/vc.el (vc-ignore): Rewrite.
3658 (vc-default-ignore): New function.
3659 (vc-default-ignore-completion-table): Use find-ignore-file.
3660
3661 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3662 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3663 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3664 Remove. Most code moved to vc.el.
3665
9d3f707c
SM
36662013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3667
abae272c 3668 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3669 * net/tramp-smb.el (tramp-smb-get-file-entries):
3670 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3671 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3672
fde38d49
SM
3673 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3674 Update call to it.
3675 (eww-change-select): Remove unused var `properties'.
3676 (eww-make-unique-file-name): Remove unused var `base'.
3677
3678 * finder.el (finder-compile-keywords): Don't mess with windows.
3679
84032db7
SM
3680 * calculator.el (calculator-funcall): Fix typo in last change.
3681
724f5e41
SM
3682 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3683
14b511d4
SM
3684 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3685 <pkg>-autoloads.el file stop us.
3686
9d3f707c 3687 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3688 warnings, and factor out common code.
9d3f707c 3689
88527bc0
DG
36902013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3691
3692 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3693 two-character operators and whether the character preceding them
3694 changes their meaning (Bug#15208).
3695
96edb677
FEG
36962013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3697
3698 Format code sent to Python shell for robustness.
9d3f707c
SM
3699 * progmodes/python.el (python-shell-buffer-substring):
3700 New function.
96edb677
FEG
3701 (python-shell-send-region, python-shell-send-buffer): Use it.
3702
95beaef3
MA
37032013-09-02 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3706 * net/tramp.el (tramp-user-error): ... here.
3707 (tramp-find-method, tramp-check-proper-host)
3708 (tramp-dissect-file-name, tramp-debug-message)
3709 (tramp-handle-shell-command):
3710 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3711 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3712
3713 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3714
f167c27b
MR
37152013-09-02 Martin Rudalics <rudalics@gmx.at>
3716
3717 * avoid.el (mouse-avoidance-point-position)
3718 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3719 returns nil.
3720
cd16c5f1
FEG
37212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3722
3723 * progmodes/python.el (python-shell-completion-get-completions):
3724 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3725 (python-nav-if-name-main): New command.
cd16c5f1 3726
e73c3a0d
GM
37272013-09-01 Glenn Morris <rgm@gnu.org>
3728
f8ccce03
GM
3729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3730 Avoid leading space in $wins. Otherwise the sed command used by
3731 eg compile-main ends up containing "/*.el". (Bug#15170)
3732
e73c3a0d
GM
3733 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3734
415f808e
GM
37352013-08-30 Glenn Morris <rgm@gnu.org>
3736
3737 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3738 Fix is-this-a-directory logic. (Bug#15220)
3739
f069bba8
SM
37402013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3741
112798c1
SM
3742 * textmodes/css-mode.el: Use SMIE.
3743 (css-smie-grammar): New var.
3744 (css-smie--forward-token, css-smie--backward-token)
3745 (css-smie-rules): New functions.
3746 (css-mode): Use them.
3747 (css-navigation-syntax-table): Remove var.
3748 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3749 (css-indent-calculate, css-indent-line): Remove functions.
3750
3751 Misc changes to reduce use of `(lambda...); and other cleanups.
3752 * cus-edit.el: Use lexical-binding.
3753 (customize-push-and-save, customize-apropos)
3754 (custom-buffer-create-internal): Use closures.
3755 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3756 * progmodes/ada-xref.el: Use setq.
3757 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3758 * dframe.el: Use lexical-binding.
3759 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3760 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3761 * descr-text.el: Use lexical-binding.
3762 (describe-text-widget, describe-text-sexp, describe-property-list):
3763 Use closures.
3764 * comint.el (comint-history-isearch-push-state): Use a closure.
3765 * calculator.el: Use lexical-binding.
3766 (calculator-number-to-string): Make it work with lexical-binding.
3767 (calculator-funcall): Same and use cl-letf.
3768
2da4c3ab
SM
3769 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3770 (lisp--company-doc-string, lisp--company-location): New functions.
3771 (lisp-completion-at-point): Use them to improve Company support.
3772
f069bba8
SM
3773 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3774 params of lambda expressions.
3775 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3776 (ruby-smie--opening-pipe-p): New function.
3777 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3778 symbols and matched |...| for formal params.
3779 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3780 from being treated as hanging. Handle "rescue".
3781
6758b6a8
GM
37822013-08-29 Glenn Morris <rgm@gnu.org>
3783
3784 * progmodes/cc-engine.el (c-pull-open-brace):
3785 Move definition before use.
3786
e8dfd197
SM
37872013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3790 are immutable. Don't use `unsafe' any more.
3791 (cl--defsubst-expand): Don't substitute at the same time as keeping
3792 a residual unused let-binding. Don't use `unsafe' any more.
3793
cc585c96
GM
37942013-08-29 Glenn Morris <rgm@gnu.org>
3795
ba579ea6
GM
3796 * calendar/cal-china.el (calendar-chinese-year-cache):
3797 Recenter on 2015.
3798
8201a87e
GM
3799 * nxml/nxml-util.el (nxml-debug-clear-inside):
3800 Use cl-loop rather than loop.
3801
6ee877c7
GM
3802 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3803
cc585c96
GM
3804 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3805
27be8d39
GM
38062013-08-28 Glenn Morris <rgm@gnu.org>
3807
397440a1
GM
3808 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3809
2bb762d4
GM
3810 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3811
27be8d39
GM
3812 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3813
2d69b99e
SM
38142013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3815
f663baa7
SM
3816 * simple.el (repeat-complex-command--called-interactively-skip):
3817 New function.
3818 (repeat-complex-command): Use it (bug#14136).
3819
dd4f8b74
SM
3820 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3821 (c-define-abbrev-table): Add `doc' argument.
3822 (c-mode-abbrev-table, c++-mode-abbrev-table)
3823 (objc-mode-abbrev-table, java-mode-abbrev-table)
3824 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3825 (awk-mode-abbrev-table): Use it.
3826 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3827 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3828 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3829 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3830 Move initialization into the declaration; and remove any
3831 autoload cookie.
3832
b58969f7
SM
3833 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3834 and dynamic let binding.
3835
4021d6a6
SM
3836 * vc/smerge-mode.el: Remove redundant :group args.
3837
2d69b99e
SM
3838 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3839 to load-path.
3840
274919fd
JL
38412013-08-28 Juri Linkov <juri@jurta.org>
3842
3843 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3844 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3845 (isearch-other-meta-char): Handle an undefined shifted printing
3846 character by downshifting it. (Bug#15200)
3847
121f8c95
JL
38482013-08-28 Juri Linkov <juri@jurta.org>
3849
3850 * isearch.el (isearch-search): Change regexp error message for
3851 non-regexp searches. (Bug#15166)
3852
50b13cde
PE
38532013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3854
3855 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3856 for portability to hosts where /bin/sh has problems.
3857
95888bca
SM
38582013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3861
bbe558f1
JL
38622013-08-27 Juri Linkov <juri@jurta.org>
3863
3864 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3865 in the keyboard macro. (Bug#15126)
3866
26f98a7d
JL
38672013-08-27 Juri Linkov <juri@jurta.org>
3868
3869 * isearch.el (isearch-quote-char): Comment out converting unibyte
3870 to multibyte, thus syncing with its `quoted-insert' counterpart.
3871 (Bug#15166)
3872
7c97d35e
MR
38732013-08-27 Martin Rudalics <rudalics@gmx.at>
3874
3875 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3876 argument in call of get-largest-window (Bug#15185).
3877 Reported by Stephen Leake.
7c97d35e 3878
a0b5606e 38792013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3880
3881 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3882
9e89d835
SM
38832013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3886 from a matcher-function unless there's no more matches (bug#15161).
3887
78fc2530
MA
38882013-08-26 Michael Albinus <michael.albinus@gmx.de>
3889
3890 * minibuffer.el: Revert change from 2013-08-20.
3891
3892 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3893 with text property `tramp-default', if appropriate.
3894 (tramp-check-proper-host): New defun.
3895 (tramp-dissect-file-name): Do not check hostname. Revert change
3896 of 2013-03-18.
3897 (tramp-backtrace): Make VEC-OR-PROC optional.
3898
3899 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3900 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3901 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3902 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3903 Apply `tramp-check-proper-host'.
78fc2530 3904
edca97cd
TH
39052013-08-26 Tassilo Horn <tsdh@gnu.org>
3906
3907 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3908 lambda expression in order to have `describe-variable' display it.
3909
df54bcbd
MA
39102013-08-26 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3913 BUF can be optional. (Bug#15186)
3914
eed99101
XF
39152013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3916
3917 * progmodes/flymake.el (flymake-get-real-file-name-function):
3918 Fix broken customization. (Bug#15184)
3919
b5eb9035
AM
39202013-08-25 Alan Mackenzie <acm@muc.de>
3921
8a51e842
AM
3922 Improve indentation of bracelists defined by macros (without "=").
3923
3924 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3925 expansion begins with "{", regard it as bracelist when it doesn't
3926 contain a ";".
3927
869455d4
AM
3928 Parse C++ inher-intro when there's a template split over 2 lines.
3929
3930 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3931 rigorously the search for "class" etc. followed by ":".
3932
3933 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3934 random languages a regexp which never matches rather than nil.
3935
b5eb9035
AM
3936 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3937
3938 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3939 (c-awk-regexp-one-line-possibly-open-char-list-re)
3940 (c-awk-one-line-possibly-open-regexp-re)
3941 (c-awk-one-line-non-syn-ws*-re): Remove.
3942 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3943 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3944 (c-awk-space*-unclosed-regexp-/-re): New constants.
3945 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3946 aren't regexp delimiters.
3947
3948 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3949 handling for a rare situation in AWK Mode involving unterminated
3950 strings/regexps.
3951
61611d54
GM
39522013-08-23 Glenn Morris <rgm@gnu.org>
3953
2d85dc34
GM
3954 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3955
cb8d2612
GM
3956 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3957
bb35f42f
GM
3958 * files.el (create-file-buffer): If the result would begin with
3959 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3960
b9808e77
SM
39612013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3962
e3a66363
SM
3963 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3964 text-properties (bug#15155).
3965
b9808e77
SM
3966 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3967 exist any more.
3968 (calc-keypad-redraw): Remove unused var `pad'.
3969 (calc-keypad-press): Remove unused var `menu'.
3970
7fd5f65e
MR
39712013-08-23 Martin Rudalics <rudalics@gmx.at>
3972
b9808e77
SM
3973 * window.el (display-buffer-pop-up-frame):
3974 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3975 use it as the new frame's buffer (Bug#15133).
3976
8352b530
SM
39772013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * calendar/timeclock.el: Minor cleanups.
3980 (timeclock-ask-before-exiting, timeclock-use-display-time):
3981 Use `symbol'.
3982 (timeclock-modeline-display): Define as alias before the
3983 actual definition.
3984 (timeclock-mode-line-display): Use define-minor-mode.
3985 (timeclock-day-list-template): Make it a function, add an argument.
3986 (timeclock-day-list-required, timeclock-day-list-length)
3987 (timeclock-day-list-debt, timeclock-day-list-span)
3988 (timeclock-day-list-break): Adjust calls accordingly.
3989
9f7b1925
SM
39902013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3993 Use read--expression so that completion works again.
3994
6e50e983
SS
39952013-08-21 Sam Steingold <sds@gnu.org>
3996
3997 Add rudimentary inferior shell interaction
3998 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3999 (sh-set-shell): Reset it.
9f7b1925
SM
4000 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4001 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4002
dbb0d350
SM
40032013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * align.el: Use lexical-binding.
4006 (align-region): Simplify accordingly.
4007
c88586a9
MA
40082013-08-20 Michael Albinus <michael.albinus@gmx.de>
4009
4010 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4011
4012 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4013 `non-essential' up.
4014
f95527c8
MA
40152013-08-17 Michael Albinus <michael.albinus@gmx.de>
4016
4017 * net/tramp.el:
4018 * net/tramp-adb.el:
4019 * net/tramp-cmds.el:
4020 * net/tramp-ftp.el:
4021 * net/tramp-gvfs.el:
4022 * net/tramp-gw.el:
4023 * net/tramp-sh.el: Don't wrap external variable declarations by
4024 `eval-when-compile'.
4025
4b5fe4ee
LMI
40262013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4027
4028 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4029 now that Emacs supports ImageMagick animations.
4030
13c366c9
MA
40312013-08-16 Michael Albinus <michael.albinus@gmx.de>
4032
4033 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4034 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4035
3dfc5cd6
MR
40362013-08-16 Martin Rudalics <rudalics@gmx.at>
4037
4038 * window.el (mouse-autoselect-window-select): Do autoselect when
4039 mouse pointer is on margin.
4040
4bbb4381
WP
40412013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4042
4043 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4044
3a2ddc2d
GM
40452013-08-16 Glenn Morris <rgm@gnu.org>
4046
e8bedf5a
GM
4047 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4048 Handle "Remote Directory" response of some clients. (Bug#15058)
4049
58c4682f
GM
4050 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4051 Tweak warning. (Bug#14926)
4052
57953f49
GM
4053 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4054 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4055
3a2ddc2d
GM
4056 * image-mode.el (image-mode-map): Add menu items to reverse,
4057 increase, decrease, reset animation speed.
4058 (image--set-speed, image-increase-speed, image-decrease-speed)
4059 (image-reverse-speed, image-reset-speed): New functions.
4060 (image-mode-map): Add bindings for speed commands.
4061
4062 * image.el (image-animate-get-speed, image-animate-set-speed):
4063 New functions.
4064 (image-animate-timeout): Respect image :speed property.
4065
10fa0ed3
SM
40662013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4069 previous line (bug#15101).
4070 (debugger-eval-expression, debugger-record-expression):
4071 Use read--expression (bug#15102).
4072
5d89d9d2
MA
40732013-08-15 Michael Albinus <michael.albinus@gmx.de>
4074
4075 Remove byte compiler warnings, visible when compiling with
4076 `byte-compile-force-lexical-warnings' set to t.
4077
4078 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4079 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4080 (tramp-handle-unhandled-file-name-directory)
4081 (tramp-handle-file-notify-add-watch, tramp-action-login)
4082 (tramp-action-succeed, tramp-action-permission-denied)
4083 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4084 arguments with "_".
4085
4086 * net/tramp-adb.el (tramp-adb-parse-device-names)
4087 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4088 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4089 (tramp-adb-handle-file-truename): Remove unused arguments.
4090
4091 * net/tramp-cache.el (tramp-flush-directory-property)
4092 (tramp-flush-connection-property, tramp-list-connections)
4093 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4094
10fa0ed3
SM
4095 * net/tramp-compat.el (tramp-compat-make-temp-file):
4096 Rename FILENAME to F.
5d89d9d2
MA
4097
4098 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4099 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4100 (tramp-zeroconf-parse-workstation-device-names)
4101 (tramp-zeroconf-parse-webdav-device-names)
4102 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4103
4104 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4105 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4106
4107 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4108 arguments.
4109 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4110 (tramp-sh-handle-insert-file-contents-literally)
4111 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4112 with "_".
4113 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4114 Remove unused variables.
4115
4116 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4117 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4118 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4119
4120 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4121 Make them a defconst.
4122 (tramp-uuencode-region): Remove unused variable.
4123
62f33bae
JB
41242013-08-14 Juanma Barranquero <lekktu@gmail.com>
4125
4126 * frameset.el (frameset--prop-setter): New function.
4127 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4128 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4129 parameter was already set in FILTERED. Doc fix.
4130 (frameset--record-minibuffer-relationships): Allow saving a
4131 minibufferless frame without its corresponding minibuffer frame.
4132 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4133 frame, if the frame id matches.
4134 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4135 frames before orphaned ones.
4136 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4137
c660a885
MR
41382013-08-14 Martin Rudalics <rudalics@gmx.at>
4139
4140 * window.el (window-make-atom): Don't overwrite parameter
4141 already present.
4142 (display-buffer-in-atom-window): Handle special case where we
4143 split an already atomic window.
4144 (window--major-non-side-window, display-buffer-in-side-window)
4145 (window--side-check): Ignore minibuffer window when walking
4146 window tree.
4147 (window-deletable-p): Return 'frame only if no other frame uses
4148 our minibuffer window.
4149 (record-window-buffer): Run buffer-list-update-hook.
4150 (split-window): Make sure window--check-frame won't destroy an
4151 existing atomic window in case the new window gets nested
4152 inside.
4153 (display-buffer-at-bottom): Ignore minibuffer window when
4154 walking window tree. Don't split a side window.
4155 (pop-to-buffer): Don't set-buffer here, the select-window call
4156 should do that.
4157 (mouse-autoselect-window-select): Autoselect only if we are in the
4158 text portion of the window.
4159
8259030d
LMI
41602013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4161
21c58ae2
LMI
4162 * net/shr.el (shr-parse-image-data): New function to grab both the
4163 data itself and the Content-Type.
4164 (shr-put-image): Use it.
4165
4166 * net/eww.el (eww-display-image): Ditto.
4167
8259030d
LMI
4168 * image.el (image-content-type-suffixes): New variable.
4169
ad756449
FEG
41702013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4171
4172 * progmodes/python.el (python-imenu--build-tree)
4173 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4174
f73f4ce6
XF
41752013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4176
4177 * simple.el (backward-word): Mention the optional argument.
4178
1f585e65
SM
41792013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * frameset.el (frameset--make): Rename constructor from make-frameset.
4182 (frameset-p, frameset-valid-p): Don't autoload.
4183 (frameset-valid-p): Use normal accessors.
4184
af1c6c84
GM
41852013-08-13 Glenn Morris <rgm@gnu.org>
4186
55e47f95
GM
4187 * progmodes/compile.el (compile-command): Tweak example in doc.
4188 * obsolete/scribe.el (scribe-mode):
4189 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4190
f0024d8c
GM
4191 * mail/feedmail.el (feedmail-confirm-outgoing)
4192 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4193
4194 * cus-start.el (truncate-partial-width-windows): Fix type.
4195
4196 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4197
af1c6c84
GM
4198 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4199
5514cc4c
SM
42002013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * emacs-lisp/timer.el (timer--time-setter): New function.
4203 (timer--time): Use it as gv-setter.
4204
4205 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4206 setter is not a symbol.
4207
7997a2f1
GJ
42082013-08-12 Grégoire Jadi <daimrod@gmail.com>
4209
4210 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4211 if sending fails. This makes debugging easier.
4212
01f1a9ab
JB
42132013-08-12 Juanma Barranquero <lekktu@gmail.com>
4214
4215 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4216 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4217 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4218
594a4307
EZ
42192013-08-12 Eli Zaretskii <eliz@gnu.org>
4220
4221 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4222
7a22490f 42232013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4224
4225 * format.el (format-annotate-function):
4226 Handle read-only text properties in the source. (Bug#14887)
4227
3e41a054
LMI
42282013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4229
5514cc4c
SM
4230 * net/eww.el (eww-display-html): Ignore coding system errors.
4231 One web site uses "utf-8lias" as the coding system.
3e41a054 4232
7ec326db
JB
42332013-08-11 Juanma Barranquero <lekktu@gmail.com>
4234
4235 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4236
5660113b
JB
42372013-08-10 Juanma Barranquero <lekktu@gmail.com>
4238
9a4ebc74
JB
4239 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4240 (tutorial--detailed-help): Remove unused local variables.
4241 (tutorial--save-tutorial-to): Use ignore-errors.
4242 (help-with-tutorial): Use looking-at-p.
4243
4244 * view.el (view-buffer-other-window, view-buffer-other-frame):
4245 Mark unused arguments.
4246
4247 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4248 (woman-select-symbol-fonts, woman, woman-find-file)
4249 (woman-insert-file-contents, woman-non-underline-faces):
4250 Use string-match-p.
4251 (woman1-unquote): Move declaration.
4252
4253 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4254 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4255 argument. Remove unused local variable.
4256 (xml-parse-elem-type): Use string-match-p.
4257 (xml-substitute-numeric-entities): Use ignore-errors.
4258
45fdb482
JB
4259 * calculator.el (calculator): Mark unused argument.
4260 (calculator-paste, calculator-quit, calculator-integer-p):
4261 Use ignore-errors.
4262 (calculator-string-to-number, calculator-decimal, calculator-exp)
4263 (calculator-op-or-exp): Use string-match-p.
4264
4265 * dired.el (dired-buffer-more-recently-used-p): Declare.
4266 (dired-insert-set-properties, dired-insert-old-subdirs):
4267 Use ignore-errors.
4268
4269 * dired-aux.el (dired-compress): Use ignore-errors.
4270 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4271 (dired-do-async-shell-command, dired-do-shell-command)
4272 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4273 (dired-insert-subdir-validate): Use string-match-p.
4274 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4275 (dired-add-entry): Use string-match-p, looking-at-p.
4276 (dired-insert-subdir-newpos): Remove unused local variable.
4277
4278 * filenotify.el (file-notify-callback): Remove unused local variable.
4279
4280 * filesets.el (filesets-error): Mark unused argument.
4281 (filesets-which-command-p, filesets-filter-dir-names)
4282 (filesets-directory-files, filesets-get-external-viewer)
4283 (filesets-ingroup-get-data): Use string-match-p.
4284
4285 * find-file.el (ff-other-file-name, ff-other-file-name)
4286 (ff-find-the-other-file, ff-cc-hh-converter):
4287 Remove unused local variables.
4288 (ff-get-file-name): Use string-match-p.
4289 (ff-all-dirs-under): Use ignore-errors.
4290
4291 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4292 (follow-select-if-visible): Remove unused local variable.
4293
4294 * forms.el (read-file-filter): Move declaration.
4295 (forms--make-format, forms--make-parser, forms-insert-record):
4296 Quote function with #'.
4297 (forms--update): Use string-match-p. Quote function with #'.
4298
4299 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4300 (help-make-xrefs): Use looking-at-p.
4301 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4302
4303 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4304 (ibuffer-confirm-operation-on): Use string-match-p.
4305
4306 * msb.el (msb-item-handler, msb-dired-item-handler):
4307 Mark unused arguments.
4308
4309 * ses.el (ses-decode-cell-symbol)
4310 (ses-kill-override): Remove unused local variable.
4311 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4312 (ses-load): Use ignore-errors, looking-at-p.
4313 (ses-jump-safe): Use ignore-errors.
4314 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4315
4316 * tabify.el (untabify, tabify): Mark unused arguments.
4317
4318 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4319 Mark unused argument.
4320 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4321 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4322
c880af52
JB
4323 * emacs-lisp/timer.el (timer--time): Define setter with
4324 gv-define-setter to avoid deprecation warning.
4325
5660113b 4326 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4327 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4328 (cmpl-statistics-block): Remove (body was commented out).
4329 All callers changed.
4330 (add-completions-from-buffer, load-completions-from-file):
4331 Remove unused variables.
4332
156aab80
JB
43332013-08-09 Juanma Barranquero <lekktu@gmail.com>
4334
5c5dee78
JB
4335 * filecache.el (file-cache-delete-file-list):
4336 Print message only when told so.
4337 (file-cache-files-matching): Use #' in mapconcat argument.
4338
156aab80
JB
4339 * ffap.el (ffap-url-at-point): Fix reference to variable
4340 thing-at-point-default-mail-uri-scheme.
4341
ad9dcd70
SM
43422013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4343
54bd972f
SM
4344 * subr.el (define-error): New function.
4345 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4346 error-file-not-found and define with define-error.
4347 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4348 and define with define-error.
4349 * userlock.el (file-locked, file-supersession):
4350 * simple.el (mark-inactive):
4351 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4352 * progmodes/ada-mode.el (ada-mode-errors):
4353 * play/life.el (life-extinct):
4354 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4355 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4356 * nxml/rng-util.el (rng-error):
4357 * nxml/rng-uri.el (rng-uri-error):
4358 * nxml/rng-match.el (rng-compile-error):
4359 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4360 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4361 * nxml/nxml-rap.el (nxml-scan-error):
4362 * nxml/nxml-outln.el (nxml-outline-error):
4363 * net/soap-client.el (soap-error):
4364 * net/gnutls.el (gnutls-error):
4365 * net/ange-ftp.el (ftp-error):
4366 * mpc.el (mpc-proc-error):
4367 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4368 (json-number-format, json-string-escape, json-string-format)
4369 (json-key-format, json-object-format):
4370 * jka-compr.el (compression-error):
4371 * international/quail.el (quail-error):
4372 * international/kkc.el (kkc-error):
4373 * emacs-lisp/ert.el (ert-test-failed):
4374 * calc/calc.el (calc-error, inexact-result, math-overflow)
4375 (math-underflow):
4376 * bookmark.el (bookmark-error-no-filename):
4377 * epg.el (epg-error): Define with define-error.
4378
0ea9e53a
SM
4379 * time.el (display-time-event-handler)
4380 (display-time-next-load-average): Don't call sit-for since it seems
4381 unnecessary (bug#15045).
4382
b0429158
SM
4383 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4384 Use #' instead of ' to quote functions.
4385 (checkdoc-output-mode): Use setq-local.
4386 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4387 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4388 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4389 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4390 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4391 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4392 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4393 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4394
ad9dcd70
SM
4395 * ido.el (ido-completion-help): Fix up compiler warning.
4396
77187e6f
JB
43972013-08-09 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * frameset.el (frameset-p): Add autoload cookie.
4400 (frameset--jump-to-register): New function, based on code moved from
4401 register.el.
4402 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4403
4404 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4405 (frameset-restore, frameset-save, frameset-session-filter-alist):
4406 Remove declarations.
4407 (register-alist): Doc fix.
4408 (frameset-to-register): Move to frameset.el.
4409 (jump-to-register, describe-register-1): Remove frameset-specific code.
4410
9d3aa82c
JB
44112013-08-08 Juanma Barranquero <lekktu@gmail.com>
4412
4413 * allout-widgets.el (allout-widgets-pre-command-business)
4414 (allout-widgets-post-command-business)
4415 (allout-widgets-after-change-handler)
4416 (allout-decorate-item-and-context, allout-set-boundary-marker)
4417 (allout-body-modification-handler)
4418 (allout-graphics-modification-handler): Mark ignored arguments.
4419 (allout-widgets-post-command-business)
4420 (allout-widgets-exposure-change-processor)
4421 (allout-widgets-exposure-undo-processor)
4422 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4423 (allout-parse-item-at-point, allout-decorate-item-guides)
4424 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4425 * allout.el (epa-passphrase-callback-function): Declare.
4426 (allout-overlay-insert-in-front-handler)
4427 (allout-overlay-interior-modification-handler)
4428 (allout-isearch-end-handler, allout-chart-siblings)
4429 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4430 (allout-yank-processing, allout-process-exposed)
4431 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4432 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4433 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4434 (lisp-indent-defform): Mark ignored arguments.
4435 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4436 (calculate-lisp-indent): Remove unused variables.
4437 * international/characters.el (indian-2-column, arabic-2-column)
4438 (tibetan): Mark ignored arguments.
4439 (use-cjk-char-width-table): Mark ignored arguments.
4440 Remove unused variables.
4441 * international/fontset.el (build-default-fontset-data)
4442 (x-compose-font-name, create-fontset-from-fontset-spec):
4443 Mark ignored arguments.
4444 (fontset-plain-name): Remove unused variables.
4445 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4446 (keyboard-coding-system): Mark ignored arguments.
4447 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4448 * help.el (resize-temp-buffer-window):
4449 * window.el (display-buffer-in-major-side-window)
4450 (display-buffer-in-side-window, display-buffer-in-previous-window):
4451 Remove unused variables.
4452 * isearch.el (isearch-forward-symbol):
4453 * version.el (emacs-bzr-version-bzr):
4454 * international/mule-cmds.el (current-language-environment):
4455 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4456 (x-handle-display):
4457 * term/pc-win.el (x-list-fonts, x-display-planes)
4458 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4459 (x-server-version, x-display-screens, x-display-mm-height)
4460 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4461 (x-selection-owner-p, x-own-selection-internal)
4462 (x-disown-selection-internal, x-get-selection-internal)
4463 (msdos-initialize-window-system):
4464 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4465 * term/x-win.el (x-handle-no-bitmap-icon):
4466 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4467 (vc-default-find-file-hook, vc-default-extra-menu):
4468 Mark ignored arguments.
4469
0ca3f70e
SM
44702013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4473 break-condition in the context of the debugged code (bug#12685).
4474
74c5d24c
CS
44752013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4476
4477 * comint.el:
4478 Do not use an overlay to highlight the last prompt. (Bug#14744)
4479 (comint-mode): Make comint-last-prompt buffer local.
4480 (comint-last-prompt): New variable.
4481 (comint-last-prompt-overlay): Remove. Superseded by
4482 comint-last-prompt.
0ca3f70e
SM
4483 (comint-snapshot-last-prompt, comint-output-filter):
4484 Use comint-last-prompt.
74c5d24c 4485
c03c02ee
JB
44862013-08-08 Juanma Barranquero <lekktu@gmail.com>
4487
a3738d20 4488 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4489 (frameset-save): Check validity of the resulting frameset.
4490
04263d23
XF
44912013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4492
4493 * ido.el (ido-record-command): Add doc string.
4494
76c5e5ab
JB
44952013-08-08 Juanma Barranquero <lekktu@gmail.com>
4496
4497 * frameset.el (frameset): Do not disable creation of the default
4498 frameset-p predicate. Doc fix.
4499 (frameset-valid-p): New function, copied from the old predicate-p.
4500 Add additional checks.
4501 (frameset-restore): Check with frameset-valid-p.
4502 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4503 (frameset-name, frameset-description, frameset-properties)
4504 (frameset-states): Add docstring.
f9dbf1cb
JB
4505 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4506 (frameset-filter-alist): Doc fixes.
76c5e5ab 4507
bd0c3c0b
JB
45082013-08-08 Juanma Barranquero <lekktu@gmail.com>
4509
4510 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4511
c735544c
SM
45122013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4515 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4516 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4517 (byte-compile-normal-call): Remove obsolescence check.
4518
2805a651
JB
45192013-08-08 Juanma Barranquero <lekktu@gmail.com>
4520
3677ffeb
JB
4521 * frameset.el (frameset-restore): Doc fix.
4522
2805a651
JB
4523 * register.el (frameset-frame-id, frameset-frame-with-id)
4524 (frameset-p, frameset-restore, frameset-save): Declare.
4525 (register-alist): Document framesets.
4526 (frameset-session-filter-alist): Declare.
4527 (frameset-to-register): New function.
4528 (jump-to-register): Implement jumping to framesets. Doc fix.
4529 (describe-register-1): Describe framesets.
4530
4531 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4532
a912c016
JB
45332013-08-07 Juanma Barranquero <lekktu@gmail.com>
4534
4535 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4536 Use lexical-binding.
4537
4538 * frameset.el (frameset): Use type vector, not list (incompatible
4539 change). Do not declare a new constructor, use the default one.
4540 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4541 `name' and `description', respectively, and add read-only slot
4542 `timestamp'. Doc fixes.
4543 (frameset-copy, frameset-persistent-filter-alist)
4544 (frameset-filter-alist, frameset-switch-to-gui-p)
4545 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4546 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4547 (frameset-filter-iconified, frameset-keep-original-display-p):
4548 Doc fixes.
4549 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4550 Rename from frameset-filter-(save|restore)-param. All callers changed.
4551 Doc fix.
4552 (frameset-p): Adapt to change to vector and be more thorough.
4553 Change arg name to OBJECT. Doc fix.
4554 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4555 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4556 All callers changed.
4557 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4558 All callers changed.
4559 (frameset--record-minibuffer-relationships): Rename from
4560 frameset--process-minibuffer-frames. All callers changed.
4561 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4562 Use new default constructor (again). Doc fix.
4563 (frameset--find-frame-if): Rename from `frameset--find-frame.
4564 All callers changed.
4565 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4566 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4567 Doc fix.
4568 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4569 PARAMETERS and WINDOW-STATE, respectively.
4570 (frameset-restore): Add new keyword argument PREDICATE.
4571 Reset frameset--target-display to nil. Doc fix.
4572
bb41480a
SM
45732013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4574
f001e98e
SM
4575 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4576 (bat-mode): Use it.
4577 (bat-mode-syntax-table): Mark \n as end-of-comment.
4578 (bat-font-lock-keywords): Remove comment rule.
4579
7679edb1
SM
4580 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4581 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4582
bb41480a
SM
4583 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4584 (byte-compile-callargs-warn): Use `push'.
4585 (byte-compile-arglist-warn): Ignore higher-order "calls".
4586 (byte-compile-file-form-autoload): Use `pcase'.
4587 (byte-compile-function-form): If quoting a symbol, check that it exists.
4588
cdc1ebb9
EZ
45892013-08-07 Eli Zaretskii <eliz@gnu.org>
4590
4591 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4592 and add a few popular commands found in batch files.
4593 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4594 (dos-mode): Doc fixes.
4595
312b1740
SM
45962013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4599 (dos-mode): Use setq-local. Add space after "rem".
4600 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4601 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4602
400a3178
AM
46032013-08-07 Arni Magnusson <arnima@hafro.is>
4604
4605 * progmodes/dos.el: New file.
4606 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4607 dos-mode.
4608
3b5c03d3
GM
46092013-08-06 Glenn Morris <rgm@gnu.org>
4610
4611 * calendar/calendar.el: Add new faces, and day-header-array.
4612 (calendar-weekday-header, calendar-weekend-header)
4613 (calendar-month-header): New faces.
4614 (calendar-day-header-construct): New function.
4615 (calendar-day-header-width): Also :set calendar-day-header-array.
4616 (calendar-american-month-header, calendar-european-month-header)
4617 (calendar-iso-month-header): Use calendar- faces.
4618 (calendar-generate-month):
4619 Use calendar-day-header-array for day headers; apply faces to them.
4620 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4621 (calendar-abbrev-construct): Add optional maxlen argument.
4622 (calendar-day-name-array): Doc fix.
4623 (calendar-day-name-array, calendar-abbrev-length)
4624 (calendar-day-abbrev-array):
4625 Also :set calendar-day-header-array, and maybe redraw.
4626 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4627 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4628 (calendar-day-name): Add option to use header array.
4629
ec6a2d7a
LMI
46302013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4631
4632 * net/shr.el (shr-render-td): Remove debugging.
4633 (shr-render-td): Make width computation consistent by defaulting
4634 all zero-width columns to 10 characters. This may not be optimal,
4635 but it's at least consistent.
2122cb6d
LMI
4636 (shr-make-table-1): Redo last change to fix the real problem in
4637 colspan handling.
ec6a2d7a 4638
ed4fd9c5
DA
46392013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4640
0ca3f70e
SM
4641 * files.el (cache-long-line-scans):
4642 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4643
64e22afe
JB
46442013-08-06 Juanma Barranquero <lekktu@gmail.com>
4645
024b38fc
JB
4646 * frameset.el (frameset, frameset-filter-alist)
4647 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4648 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4649 (frameset-compute-pos): Rename from frameset--compute-pos,
4650 and add docstring.
4651 (frameset-move-onscreen): Use frameset-compute-pos.
4652 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4653
64e22afe
JB
4654 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4655 Fix typos in docstrings.
4656
c8c2aca8
DA
46572013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4658
4659 * frame.el (get-other-frame): Tiny cleanup.
4660
1d237bba
JB
46612013-08-06 Juanma Barranquero <lekktu@gmail.com>
4662
8951efef
JB
4663 * vc/vc.el (vc-default-ignore-completion-table):
4664 Silence byte-compiler warning.
4665
307764cc
JB
4666 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4667 slot , which can indeed be nil.
4668 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4669 Move entry for `left' from persistent to live filter alist.
4670 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4671 Doc fixes.
4672 (frameset-filter-params): When restoring a frame, copy items added to
4673 `filtered', to avoid unwittingly modifying the original parameters.
4674 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4675 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4676
1d237bba
JB
4677 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4678 to use looking-at-p instead of looking-at. (Bug#15028)
4679
dc6c0eda
SM
46802013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 Revert introduction of isearch-filter-predicates (bug#14714).
4683 Rely on add-function instead.
4684 * isearch.el (isearch-filter-predicates): Rename it back to
4685 isearch-filter-predicate.
4686 (isearch-message-prefix): Use advice-function-mapc and advice
4687 properties to get the isearch-message-prefix.
4688 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4689 instead of run-hook-with-args-until-failure.
4690 (isearch-filter-visible): Not obsolete any more.
4691 * loadup.el: Preload nadvice.
4692 * replace.el (perform-replace): Revert to funcall
4693 instead of run-hook-with-args-until-failure.
4694 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4695 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4696 dired-isearch-filenames-toggle; make it into a proper minor mode.
4697 Use add/remove-function.
4698 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4699 Call the minor-mode rather than add/remove-hook.
4700 (dired-isearch-filter-filenames):
4701 Remove isearch-message-prefix property.
4702 * info.el (Info--search-loop): New function, extracted from Info-search.
4703 Funcall isearch-filter-predicate instead of
4704 run-hook-with-args-until-failure isearch-filter-predicates.
4705 (Info-search): Use it.
4706 (Info-mode): Use isearch-filter-predicate instead of
4707 isearch-filter-predicates.
4708
290d5b58
DA
47092013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4710
4711 Do not call to `selected-window' where it is assumed by default.
4712 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4713 `window-hscroll', `window-width', `window-height', `window-buffer',
4714 `window-frame', `window-start', `window-point', `next-window'
4715 and `window-display-table'.
4716 * abbrev.el (abbrev--default-expand):
4717 * bs.el (bs--show-with-configuration):
4718 * buff-menu.el (Buffer-menu-mouse-select):
4719 * calc/calc.el (calc):
4720 * calendar/calendar.el (calendar-generate-window):
4721 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4722 (diary-make-entry):
4723 * comint.el (send-invisible, comint-dynamic-complete-filename)
4724 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4725 * completion.el (complete):
4726 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4727 * disp-table.el (describe-current-display-table):
4728 * doc-view.el (doc-view-insert-image):
4729 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4730 * ehelp.el (with-electric-help):
4731 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4732 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4733 * emacs-lisp/helper.el (Helper-help-scroller):
4734 * emulation/cua-base.el (cua--post-command-handler-1):
4735 * eshell/esh-mode.el (eshell-output-filter):
4736 * ffap.el (ffap-gnus-wrapper):
4737 * help-macro.el (make-help-screen):
4738 * hilit-chg.el (highlight-compare-buffers):
4739 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4740 * hl-line.el (global-hl-line-highlight):
4741 * icomplete.el (icomplete-simple-completing-p):
4742 * isearch.el (isearch-done):
4743 * jit-lock.el (jit-lock-stealth-fontify):
4744 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4745 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4746 * mpc.el (mpc-tagbrowser, mpc):
4747 * net/rcirc.el (rcirc-any-buffer):
4748 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4749 * play/landmark.el (landmark-max-width, landmark-max-height):
4750 * play/zone.el (zone):
4751 * progmodes/compile.el (compilation-goto-locus):
4752 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4753 * progmodes/etags.el (find-tag-other-window):
4754 * progmodes/fortran.el (fortran-column-ruler):
4755 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4756 * progmodes/verilog-mode.el (verilog-point-text):
4757 * reposition.el (reposition-window):
4758 * rot13.el (toggle-rot13-mode):
4759 * server.el (server-switch-buffer):
4760 * shell.el (shell-dynamic-complete-command)
4761 (shell-dynamic-complete-environment-variable):
4762 * simple.el (insert-buffer, set-selective-display)
4763 (delete-completion-window):
4764 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4765 (speedbar-recenter):
4766 * startup.el (fancy-splash-head):
4767 * textmodes/ispell.el (ispell-command-loop):
4768 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4769 * tutorial.el (help-with-tutorial):
4770 * vc/add-log.el (add-change-log-entry):
4771 * vc/compare-w.el (compare-windows):
4772 * vc/ediff-help.el (ediff-indent-help-message):
4773 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4774 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4775 (ediff-setup-control-frame):
4776 * vc/emerge.el (emerge-position-region):
4777 * vc/pcvs-util.el (cvs-bury-buffer):
4778 * window.el (walk-windows, mouse-autoselect-window-select):
4779 * winner.el (winner-set-conf, winner-undo): Related users changed.
4780
38276e01
JB
47812013-08-05 Juanma Barranquero <lekktu@gmail.com>
4782
4783 * frameset.el (frameset--set-id): Doc fix.
4784 (frameset-frame-id, frameset-frame-id-equal-p)
4785 (frameset-locate-frame-id): New functions.
4786 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4787 (frameset-restore): Use them.
4788
12b4c0ea
DA
47892013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4790
4791 Do not call to `selected-frame' where it is assumed by default.
4792 Affected functions are `raise-frame', `redraw-frame',
4793 `frame-first-window', `frame-terminal' and `delete-frame'.
4794 * calendar/appt.el (appt-disp-window):
4795 * epg.el (epg-wait-for-completion):
4796 * follow.el (follow-delete-other-windows-and-split)
4797 (follow-avoid-tail-recenter):
4798 * international/mule.el (set-terminal-coding-system):
4799 * mail/rmail.el (rmail-mail-return):
4800 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4801 * progmodes/f90.el (f90-add-imenu-menu):
4802 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4803 * server.el (server-switch-buffer):
4804 * simple.el (delete-completion-window):
4805 * talk.el (talk):
4806 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4807 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4808 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4809 * vc/ediff.el (ediff-documentation): Related users changed.
4810 * frame.el (selected-terminal): Remove the leftover.
4811
17f25e76
GM
48122013-08-05 Glenn Morris <rgm@gnu.org>
4813
4814 * calendar/calendar.el (calendar-generate-month):
4815 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4816 (calendar-generate-month, calendar-font-lock-keywords):
4817 Fix for calendar-day-header-width > length of any day name.
17f25e76 4818
063233c3
JB
48192013-08-05 Juanma Barranquero <lekktu@gmail.com>
4820
4821 * desktop.el (desktop-clear): Use new name of sort predicate.
4822
4823 * frameset.el (frameset): Add docstring. Move :version property to its
4824 own `version' slot.
4825 (frameset-copy): Rename from copy-frameset.
4826 (frameset-p): Check more thoroughly.
4827 (frameset-prop): Do not check for :version, which is no longer a prop.
4828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4829 Use new :never value instead of t.
4830 (frameset-filter-alist): Expand and clarify docstring.
4831 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4832 (frameset-filter-minibuffer, frameset-filter-save-param)
4833 (frameset-filter-restore-param, frameset-filter-iconified):
4834 Add pointer to docstring of frameset-filter-alist.
4835 (frameset-filter-params): Rename filter values to be more meaningful:
4836 :never instead of t, and reverse the meanings of :save and :restore.
4837 (frameset--process-minibuffer-frames): Clarify error message.
4838 (frameset-save): Avoid unnecessary and confusing call to framep.
4839 Use new BOA constructor for framesets.
4840 (frameset--reuse-list): Doc fix.
4841 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4842 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4843 (frameset-minibufferless-first-p): Doc fix.
4844 Rename from frameset-sort-frames-for-deletion.
4845 (frameset-restore): Doc fixes. Use new function names.
4846 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4847
d5671a82
JB
48482013-08-04 Juanma Barranquero <lekktu@gmail.com>
4849
4850 * desktop.el (desktop-restore-forces-onscreen)
4851 (desktop-restore-reuses-frames): Document :keyword constant values.
4852 (desktop-filter-parameters-alist): Remove, now identical to
4853 frameset-filter-alist.
4854 (desktop--filter-tty*): Remove, moved to frameset.el.
4855 (desktop-save-frameset, desktop-restore-frameset):
4856 Do not pass :filters argument.
4857
4858 * frameset.el (frameset-live-filter-alist)
4859 (frameset-persistent-filter-alist): New variables.
4860 (frameset-filter-alist): Use them. Add autoload cookie.
4861 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4862 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4863 `frameset--id' (it's supposed to be internal to frameset.el).
4864 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4865 (frameset--initial-params): New function.
4866 (frameset--get-frame): Use it. Doc fix.
4867 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4868 Accept :all, not 'all.
4869 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4870 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4871 with fbound symbols. Fix frame id matching, and remove matching ids if
4872 the frame being restored is deleted. Obey :delete.
4873
671d5c16
SM
48742013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * subr.el (macrop): New function.
4877 (text-clone--maintaining): New var.
4878 (text-clone--maintain): Rename from text-clone-maintain. Use it
4879 instead of inhibit-modification-hooks.
4880
4881 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4882 a proxy, so as handle autoloads and redefinitions of the target.
4883 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4884
4885 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4886 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4887 (pcase--mutually-exclusive-p): New function.
4888 (pcase--split-consp): Use it.
4889 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4890 mutually exclusive with the current predicate.
4891
4892 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4893 (edebug-macrop): Remove. Use `macrop' instead.
4894 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4895 (ad-macro-p):
4896 * eshell/esh-cmd.el (eshell-macrop):
4897 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4898
1d44e9dc
SM
48992013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4902 (advice-mapc): New function, using it.
4903 (advice-function-member-p): New function.
4904 (advice--normalize): Store the cdr in advice--saved-rewrite since
4905 that's the part that will be changed.
4906 (advice--symbol-function): New function.
4907 (advice-remove): Handle removal before the function is defined.
4908 Adjust to new advice--saved-rewrite.
4909 (advice-member-p): Use advice-function-member-p and
4910 advice--symbol-function.
4911
5414a283
JB
49122013-08-04 Juanma Barranquero <lekktu@gmail.com>
4913
51d30f2c
JB
4914 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4915 (frameset-filter-minibuffer): Doc fix.
4916 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4917 (frameset--set-id, frameset--process-minibuffer-frames)
4918 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4919 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4920
5414a283
JB
4921 * desktop.el (desktop-clear): Only delete frames when called
4922 interactively and desktop-restore-frames is non-nil. Doc fix.
4923 (desktop-read): Set desktop-saved-frameset to nil.
4924
ab419665
XF
49252013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4926
4927 * vc/vc.el (vc-ignore): Rewrite.
4928 (vc-default-ignore-completion-table):
4929 (vc--read-lines):
4930 (vc--add-line, vc--remove-regexp): New functions.
4931
4932 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4933 (vc-svn-ignore-completion-table): New function.
4934
4935 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4936 (vc-hg-ignore-completion-table):
4937 (vc-hg-find-ignore-file): New functions.
4938
4939 * vc/vc-git.el (vc-git-ignore): Rewrite.
4940 (vc-git-ignore-completion-table):
4941 (vc-git-find-ignore-file): New functions.
4942
4943 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4944
4945 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4946 (vc-bzr-ignore-completion-table):
4947 (vc-bzr-find-ignore-file): New functions.
4948
2613dea2
JB
49492013-08-03 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * frameset.el (frameset-prop): New function and setter.
4952 (frameset-save): Do not modify frame list passed by the caller.
4953
9c959872
SM
49542013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4957
a104f656
SM
49582013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4959
70122acf
SM
4960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4961 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4962
a104f656
SM
4963 * custom.el (custom-initialize-default, custom-initialize-set)
4964 (custom-initialize-reset, custom-initialize-changed): Affect the
4965 toplevel-default-value (bug#6275, bug#14586).
4966 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4967 for bug#6275.
4968
f078d570
JB
49692013-08-02 Juanma Barranquero <lekktu@gmail.com>
4970
185e3b5a
JB
4971 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4972 Add cl-def* expressions.
4973
f078d570
JB
4974 * frameset.el (frameset-filter-params): Fix order of arguments.
4975
9421876d
JB
49762013-08-02 Juanma Barranquero <lekktu@gmail.com>
4977
4978 Move code related to saving frames to frameset.el.
4979 * desktop.el: Require frameset.
4980 (desktop-restore-frames): Doc fix.
4981 (desktop-restore-reuses-frames): Rename from
4982 desktop-restoring-reuses-frames.
4983 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4984 (desktop-clear): Clear frames too.
4985 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4986 (desktop--filter-tty*, desktop-save, desktop-read):
4987 Use frameset functions.
4988 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4989 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4990 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4991 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4992 (desktop--process-minibuffer-frames, desktop-save-frames)
4993 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4994 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4995 (desktop--sort-states, desktop-restoring-frames-p)
4996 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4997 (desktop-restoring-frameset-p, desktop-restore-frameset)
4998 (desktop--check-dont-save, desktop-save-frameset): New functions.
4999 (desktop--app-id): New constant.
5000 (desktop-first-buffer, desktop-buffer-ok-count)
5001 (desktop-buffer-fail-count): Move before first use.
5002 * frameset.el: New file.
5003
76dc5996
SM
50042013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * files.el: Use lexical-binding.
5007 (dir-locals-read-from-file): Remove unused `err' variable.
5008 (hack-dir-local-variables--warned-coding): New var.
5009 (hack-dir-local-variables): Use it to avoid repeated warnings.
5010 (make-backup-file-name--default-function): New function.
5011 (make-backup-file-name-function): Use it as default.
5012 (buffer-stale--default-function): New function.
5013 (buffer-stale-function): Use it as default.
5014 (revert-buffer-insert-file-contents--default-function): New function.
5015 (revert-buffer-insert-file-contents-function): Use it as default.
5016 (insert-directory): Avoid add-to-list.
5017
5018 * autorevert.el (auto-revert-handler): Simplify.
5019 Use buffer-stale--default-function.
5020
06d36e2b
TH
50212013-08-01 Tassilo Horn <tsdh@gnu.org>
5022
5f648ab4
TH
5023 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5024
06d36e2b
TH
5025 * whitespace.el (whitespace-ensure-local-variables): New function.
5026 (whitespace-cleanup-region): Call it.
5027 (whitespace-turn-on): Call it.
5028
a43dc424
MA
50292013-08-01 Michael Albinus <michael.albinus@gmx.de>
5030
5031 Complete file name handlers.
5032
5033 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5034 (tramp-handle-verify-visited-file-modtime)
5035 (tramp-handle-file-notify-rm-watch): New functions.
5036 (tramp-call-process): Do not bind `default-directory'.
5037
44e18199
JB
5038 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5039 Order alphabetically.
a43dc424
MA
5040 [access-file, add-name-to-file, dired-call-process]:
5041 [dired-compress-file, file-acl, file-notify-rm-watch]:
5042 [file-ownership-preserved-p, file-selinux-context]:
5043 [make-directory-internal, make-symbolic-link, set-file-acl]:
5044 [set-file-selinux-context, set-visited-file-modtime]:
5045 [verify-visited-file-modtime]: Add handler.
5046 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5047
5048 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5049 [file-notify-add-watch, file-notify-rm-watch]:
5050 [set-file-times, set-visited-file-modtime]:
5051 [verify-visited-file-modtime]: Add handler.
5052 (with-tramp-gvfs-error-message)
5053 (tramp-gvfs-handle-set-visited-file-modtime)
5054 (tramp-gvfs-fuse-file-name): Remove.
5055 (tramp-gvfs-handle-file-notify-add-watch)
5056 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5057 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5058
44e18199
JB
5059 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5060 Order alphabetically.
a43dc424
MA
5061 [file-notify-rm-watch ]: Use default Tramp handler.
5062 [executable-find]: Remove private handler.
5063 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5064 `default-directory'.
5065 (tramp-sh-handle-executable-find)
5066 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5067 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5068 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5069 Do not use `format' in `tramp-message'.
5070
5071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5072 [file-notify-rm-watch, set-visited-file-modtime]:
5073 [verify-visited-file-modtime]: Add handler.
5074 (tramp-smb-call-winexe): Do not bind `default-directory'.
5075
7188b515
XF
50762013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5077
5078 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5079
2412ee1a
DG
50802013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5081
5082 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5083 use it.
5084 (log-view-diff-changeset): Same.
5085 (log-view-diff-common): Call backend command `previous-revision'
5086 to find out the previous revision, in both cases. Swap the
5087 variables `to' and `fr', so that `fr' usually refers to the
5088 earlier revision (Bug#14989).
5089
5002a754
KRC
50902013-07-31 Kan-Ru Chen <kanru@kanru.info>
5091
5092 * ibuf-ext.el (ibuffer-filter-by-filename):
5093 Make it work with dired buffers too.
5094
44e18199 50952013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5096
5097 * emacs-lisp/re-builder.el (reb-color-display-p):
5098 * files.el (save-buffers-kill-terminal):
5099 * net/browse-url.el (browse-url):
5100 * server.el (server-save-buffers-kill-terminal):
5101 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5102 Prefer nil to selected-frame for the first arg of frame-parameter.
5103
aeca3fbb
XF
51042013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5105
5106 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5107
158bc55c
SB
51082013-07-30 Stephen Berman <stephen.berman@gmx.net>
5109
5110 * minibuffer.el (completion--twq-all): Try and preserve each
5111 completion's case choice (bug#14907).
5112
d50fceab
LMI
51132013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5114
ac38e731
LMI
5115 * net/network-stream.el (open-network-stream): Mention the new
5116 :nogreeting parameter.
5117 (network-stream-open-starttls): Use the :nogreeting parameter
5118 (bug#14938).
5119
1211de50
LMI
5120 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5121
997798bf
LMI
5122 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5123 more natural than popping.
5124
d50fceab 5125 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5126 (shr-urlify): Highlight under mouse.
d50fceab 5127
5c09de04
XF
51282013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5129
207d1d04
XF
5130 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5131
5132 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5133
5c09de04
XF
5134 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5135 buffer for output.
5136
3cd51eaa
XF
5137 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5138 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5139
44e18199 5140 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5141 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5142
5143 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5144
5145 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5146 buffer for output.
5147
35a89bdd
EZ
51482013-07-29 Eli Zaretskii <eliz@gnu.org>
5149
5150 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5151 initial frame is minibuffer-less. (Bug#14841)
5152
78822e94
MA
51532013-07-29 Michael Albinus <michael.albinus@gmx.de>
5154
5155 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5156 option.
5157
5158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5159 (tramp-maybe-open-connection): Use it.
5160
9503c190
JB
51612013-07-28 Juanma Barranquero <lekktu@gmail.com>
5162
5163 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5164 minimal set of parameters passed when creating a frame, because
5165 the minibuffer status of a frame cannot be changed later.
5166
d5a845b4
SB
51672013-07-28 Stephen Berman <stephen.berman@gmx.net>
5168
5169 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5170 replace-regexp-in-string and inadvertent omissions in previous change.
5171 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5172 name of filtered items buffer.
d5a845b4 5173
ddeffb17
JB
51742013-07-28 Juanma Barranquero <lekktu@gmail.com>
5175
5176 * desktop.el: Optionally force offscreen frames back onscreen.
5177 (desktop-restoring-reuses-frames): New option.
5178 (desktop--compute-pos, desktop--move-onscreen): New functions.
5179 (desktop--make-frame): Use desktop--move-onscreen.
5180
f5950f7a
AM
51812013-07-27 Alan Mackenzie <acm@muc.de>
5182
5183 Fontify a Java generic method as a function.
5184 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5185 value to t.
5186
ae43b66a
SB
51872013-07-27 Stephen Berman <stephen.berman@gmx.net>
5188
5189 * calendar/todo-mode.el: Add command to rename todo files.
5190 (todo-rename-file): New command.
5191 (todo-key-bindings-t): Add key binding for it. Change the
5192 bindings of todo-filter-regexp-items(-multifile) to use `x'
5193 instead of `r', since the latter is better suited to the new
5194 renaming command.
5195
5ab78d3d
AM
51962013-07-27 Alan Mackenzie <acm@muc.de>
5197
5198 Make Java try-with-resources statement parse properly.
5199 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5200 (c-block-stmt-1-2-key): New language constants/variables.
5201 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5202 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5203 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5204 with c-block-stmt-1-2-key.
5ab78d3d 5205
d85c4d50
JB
52062013-07-27 Juanma Barranquero <lekktu@gmail.com>
5207
5208 * desktop.el (desktop--make-frame): Apply most frame parameters after
5209 creating the frame to force (partially or totally) offscreen frames to
5210 be restored as such.
5211
e4c467f9
XF
52122013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5213
5214 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5215 (Bug#14948)
e4c467f9 5216
7ced0d04
SM
52172013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5220 `base' arg of backtrace-frame.
5221
fec92060
EZ
52222013-07-26 Eli Zaretskii <eliz@gnu.org>
5223
5224 * simple.el (list-processes): Doc fix.
5225
d58d31fb
JB
52262013-07-26 Juanma Barranquero <lekktu@gmail.com>
5227
5228 * desktop.el (desktop--select-frame):
d85c4d50 5229 Try harder to reuse existing frames.
d58d31fb 5230
53ff3e77
SM
52312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5234 (edebug-eval): Use backtrace-eval.
5235 (edebug--display, edebug--recursive-edit): Don't let-bind the
5236 edebug-outer-* vars that keep track of variables we locally let-bind.
5237 (edebug-outside-excursion): Don't restore outside values of locally
5238 let-bound vars.
5239 (edebug--display): Use user-error.
5240 (cl-lexical-debug, cl-debug-env): Remove.
5241
045f7a53
JB
52422013-07-26 Juanma Barranquero <lekktu@gmail.com>
5243
5244 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5245 are restored to be sure that they are visible before deleting any
5246 remaining ones.
5247
59070b32
MM
52482013-07-26 Matthias Meulien <orontee@gmail.com>
5249
742a3501
XF
5250 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5251 vc-print-root-log. (Bug#14948)
59070b32 5252
b1fb3596
RS
52532013-07-26 Richard Stallman <rms@gnu.org>
5254
5255 Add aliases for encrypting mail.
5256 * epa.el (epa-mail-aliases): New option.
5257 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5258 Bind inhibit-read-only so read-only text doesn't ruin everything.
5259 (epa-mail-default-recipients): New subroutine broken out.
5260 Handle epa-mail-aliases.
5261
56ea7291
SM
52622013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 Add support for lexical variables to the debugger's `e' command.
5265 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5266 vars, except for debugger-outer-match-data.
5267 (debugger-frame-number): Move check for "on a function call" from
5268 callers into it. Add `skip-base' argument.
5269 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5270 (debugger-env-macro): Only reset the state stored in non-variables,
5271 i.e. current-buffer and match-data.
5272 (debugger-eval-expression): Rewrite using backtrace-eval.
5273 * subr.el (internal--called-interactively-p--get-frame): Remove.
5274 (called-interactively-p):
5275 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5276 `base' arg of backtrace-frame instead.
5277
15ac32d5
GM
52782013-07-26 Glenn Morris <rgm@gnu.org>
5279
8358a09d
GM
5280 * align.el (align-regexp): Doc fix. (Bug#14857)
5281 (align-region): Explicit error if subexpression missing/does not match.
5282
15ac32d5
GM
5283 * simple.el (global-visual-line-mode):
5284 Do not duplicate the mode lighter. (Bug#14858)
5285
f47ad11b
MR
52862013-07-25 Martin Rudalics <rudalics@gmx.at>
5287
5288 * window.el (display-buffer): In display-buffer bind
5289 split-window-keep-point to t, bug#14829.
5290
02530987
JB
52912013-07-25 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5294 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5295 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5296 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5297 Change accordingly.
f63ebeb5
JB
5298 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5299 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5300
6ccb9cab 53012013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5302
6ccb9cab 5303 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5304
cb3a56d2
JB
53052013-07-25 Juanma Barranquero <lekktu@gmail.com>
5306
5307 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5308 parameter to modify-frame-parameters if the value has not changed;
5309 this is a workaround for bug#14949.
5310 (desktop--make-frame): On cl-delete-if call, check parameter name,
5311 not full parameter.
5312
7aa7fff0
XF
53132013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5314
5315 * vc/vc.el (vc-ignore): New function.
5316
5317 * vc/vc-svn.el (vc-svn-ignore): New function.
5318
5319 * vc/vc-hg.el (vc-hg-ignore): New function.
5320
5321 * vc/vc-git.el (vc-git-ignore): New function.
5322
5323 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5324 (vc-dir-ignore): New function.
5325
5326 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5327 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5328
5329 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5330
5331 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5332
889acc5c
JB
53332013-07-24 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5336 (desktop-restore-frames): Warn when deleting an existing frame failed.
5337
86c40970
GM
53382013-07-24 Glenn Morris <rgm@gnu.org>
5339
5340 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5341
d5d3c58a
MA
53422013-07-24 Michael Albinus <michael.albinus@gmx.de>
5343
5344 * filenotify.el (file-notify-supported-p):
5345 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5346 Remove functions.
5347
5348 * autorevert.el (auto-revert-use-notify):
5349 (auto-revert-notify-add-watch):
5350 * net/tramp.el (tramp-file-name-for-operation):
5351 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5353 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5355 Remove `file-notify-supported-p' entry.
5356
d100084b
GM
53572013-07-24 Glenn Morris <rgm@gnu.org>
5358
5359 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5360 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5361
ac93e56b
SM
53622013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5363
249eea30
SM
5364 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5365 checked with memq (bug#14935).
5366
ac93e56b
SM
5367 * files.el (revert-buffer-function): Use a non-nil default.
5368 (revert-buffer-preserve-modes): Declare var to
5369 provide access to the `preserve-modes' argument.
5370 (revert-buffer): Let-bind it.
5371 (revert-buffer--default): New function, extracted from revert-buffer.
5372
2cdeb903
SM
53732013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * lpr.el: Signal print errors more prominently.
5376 (print-region-function): Don't default to nil.
5377 (lpr-print-region): New function, extracted from print-region-1.
5378 Check lpr's return value and signal an error in case of problem.
5379 (print-region-1): Use it.
5380 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5381 versions instead.
5382 (ps-printer-name): Default to nil.
5383 (ps-printer-name-option): Default to lpr-printer-switch.
5384 (ps-print-region-function): Don't default to nil.
5385 (ps-postscript-code-directory): Simplify default.
5386 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5387 (ps-string-list, ps-eval-switch, ps-flatten-list)
5388 (ps-flatten-list-1): Remove.
5389 (ps-multibyte-buffer): Avoid setq.
5390 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5391 (print-region-function, ps-print-region-function): Don't set them here.
5392
73600831
XF
53932013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5394
0e55c076
XF
5395 * ido.el (ido-fractionp):
5396 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5397 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5398 (ido-max-directory-size, ido-max-dir-file-cache)
5399 (ido-decorations): Doc fix.
5400
73600831
XF
5401 * ansi-color.el: Fix old URL.
5402
3d012865
MM
54032013-07-23 Michael R. Mauger <michael@mauger.com>
5404
e903c210 5405 * progmodes/sql.el: Version 3.3
3d012865
MM
5406 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5407 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5408 (sql-interactive-remove-continuation-prompt): Rewrite, use
5409 functions above. Fix continuation prompt and complete output line
5410 handling.
5411 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5412 redirected output buffer.
5413 (sql-mode): Restore deleted code (Bug#13591).
5414
da77a2e2
JB
54152013-07-23 Juanma Barranquero <lekktu@gmail.com>
5416
5417 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5418
80ff0c71
MA
54192013-07-23 Michael Albinus <michael.albinus@gmx.de>
5420
5421 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5422
5423 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5426
b61d71e4
JB
54272013-07-23 Juanma Barranquero <lekktu@gmail.com>
5428
5429 * desktop.el (desktop-clear): Simplify; remove useless checks
5430 against invalid buffer names.
5431 (desktop-list*): Use cl-list*.
5432 (desktop-buffer-info, desktop-create-buffer): Simplify.
5433
c3512092
LL
54342013-07-23 Leo Liu <sdl.web@gmail.com>
5435
5436 * bookmark.el (bookmark-make-record): Restore NAME as a default
5437 value. (Bug#14933)
5438
0ac26976
SM
54392013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5440
7d22ce18
SM
5441 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5442 extracted from autoload--insert-text.
5443 (autoload--insert-text): Remove.
5444 (autoload--print-cookie-text): New function, extracted from
5445 autoload--insert-cookie-text.
5446 (autoload--insert-cookie-text): Remove.
5447 (autoload-generate-file-autoloads): Adjust calls accordingly.
5448
9b2607e8
SM
5449 * winner.el (winner-hook-installed-p): Remove.
5450 (winner-mode): Simplify accordingly.
5451
c43a8618
SM
5452 * subr.el (add-to-list): Fix compiler-macro when `append' is
5453 not constant. Don't use `cl-member' for the base case.
5454
0ac26976
SM
5455 * progmodes/subword.el: Fix boundary case (bug#13758).
5456 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5457 own group.
5458 (subword-backward-regexp): Make it a constant.
5459 (subword-forward-internal): Don't treat a trailing capital as the
5460 beginning of a word.
5461
6874724a
AR
54622013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5463
5464 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5465 global value of tabulated-list-revert-hook (bug#14930).
5466
70f1b5e8
JB
54672013-07-22 Juanma Barranquero <lekktu@gmail.com>
5468
a1c80d9d
JB
5469 * desktop.el: Require 'cl-lib.
5470 (desktop-before-saving-frames-functions): New hook.
5471 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5472 for frames being saved. Rename from desktop--save-minibuffer-frames.
5473 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5474 Do not save frames with non-nil `desktop-dont-save' parameter.
5475 Filter out deleted frames.
a1c80d9d
JB
5476 (desktop--find-frame): Use cl-find-if.
5477 (desktop--select-frame): Use cl-(first|second|third) to access values
5478 of desktop-mini.
5479 (desktop--make-frame): Use cl-delete-if.
5480 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5481 (desktop-restore-frames): Use cl-(first|second|third) to access values
5482 of desktop-mini. Look for visible frame at the end, not while
5483 restoring frames.
5484
70f1b5e8
JB
5485 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5486 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5487 Use string-match-p, looking-at-p (bug#14927).
5488
728dc3cc
JB
54892013-07-21 Juanma Barranquero <lekktu@gmail.com>
5490
56bc453c
JB
5491 * desktop.el (desktop-saved-frame-states):
5492 Rename from desktop--saved-states; all users changed.
5493 (desktop-save-frames): Rename from desktop--save-frames.
5494 Do not save state to desktop file.
5495 (desktop-save): Save desktop-saved-frame-states to desktop file
5496 and reset to nil.
5497 (desktop-restoring-frames-p): New function.
5498 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5499 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5500 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5501
728dc3cc
JB
5502 * desktop.el: Correctly restore iconified frames.
5503 (desktop--filter-iconified-position): New function.
5504 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5505
862f1c9c
GM
55062013-07-20 Glenn Morris <rgm@gnu.org>
5507
c4074c9f
GM
5508 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5509 Let `message' do the formatting.
5510 (def-gdb-preempt-display-buffer): Add explicit format.
5511
d828e5f9
GM
5512 * image-dired.el (image-dired-track-original-file):
5513 Use with-current-buffer.
5514 (image-dired-track-thumbnail): Use with-current-buffer.
5515 Avoid changing point of wrong window.
5516
862f1c9c
GM
5517 * image-dired.el (image-dired-track-original-file):
5518 Avoid changing point of wrong window. (Bug#14909)
5519
f0398ec1 55202013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5521
5522 * progmodes/gdb-mi.el (gdb-done-or-error):
5523 Guard against "%" in gdb output. (Bug#14127)
5524
1451928f
AS
55252013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5526
763a086d
JB
5527 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5528 (Bug#14826)
f7a03897 5529
1451928f
AS
5530 * international/mule.el (coding-system-iso-2022-flags): Fix last
5531 change.
5532
99107004
KH
55332013-07-20 Kenichi Handa <handa@gnu.org>
5534
763a086d
JB
5535 * international/mule.el (coding-system-iso-2022-flags):
5536 Add `8-bit-level-4'. (Bug#8522)
99107004 5537
48494e06
LMI
55382013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539
8ba8eec5
LMI
5540 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5541 (bug#14815).
5542
dfbc66e3
LMI
5543 * net/eww.el (eww-process-text-input): Allow inputting when the
5544 point is at the start of the line, as the properties aren't
5545 front-sticky.
5546
48494e06
LMI
5547 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5548 degenerate widths.
5549
77c92cb9
RS
55502013-07-19 Richard Stallman <rms@gnu.org>
5551
aec7da77
RS
5552 * epa.el (epa-popup-info-window): Doc fix.
5553
77c92cb9
RS
5554 * subr.el (split-string): New arg TRIM.
5555
945c5bb1
JB
55562013-07-18 Juanma Barranquero <lekktu@gmail.com>
5557
5558 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5559 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5560
e06ec67f
MA
55612013-07-18 Michael Albinus <michael.albinus@gmx.de>
5562
c7064f05 5563 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5564 `file-notify-support'. Do not autoload. Adapt all uses.
5565 (file-notify-supported-p): New defun.
5566
c7064f05
JB
5567 * autorevert.el (auto-revert-use-notify):
5568 Use `file-notify-supported-p' instead of `file-notify-support'.
5569 Adapt docstring.
e06ec67f
MA
5570 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5571
5572 * net/tramp.el (tramp-file-name-for-operation):
5573 Add `file-notify-supported-p'.
5574
5575 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5576 New defun.
5577 (tramp-sh-file-name-handler-alist): Add it as handler for
5578 `file-notify-supported-p '.
5579
5580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5582 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5583 Add `ignore' as handler for `file-notify-*' functions.
5584
5dc8a629
EZ
55852013-07-17 Eli Zaretskii <eliz@gnu.org>
5586
5587 * simple.el (line-move-partial, line-move): Don't start vscroll or
5588 scroll-up if the current line is not taller than the window.
5589 (Bug#14881)
5590
77aea2fb
DG
55912013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5592
5593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5594 highlight question marks in the method names as strings.
ac72c08d
DG
5595 (ruby-block-beg-keywords): Inline.
5596 (ruby-font-lock-keyword-beg-re): Extract from
5597 `ruby-font-lock-keywords'.
77aea2fb 5598
18c26d81
JD
55992013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5600
5601 * frame.el (blink-cursor-blinks): New defcustom.
5602 (blink-cursor-blinks-done): New defvar.
5603 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5604 (blink-cursor-timer-function): Check if number of blinks has been
5605 done on X and NS.
5606 (blink-cursor-suspend, blink-cursor-check): New defuns.
5607
da48522e
GM
56082013-07-15 Glenn Morris <rgm@gnu.org>
5609
5610 * edmacro.el (edmacro-format-keys): Fix previous change.
5611
0463c1ef
PE
56122013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5613
5614 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5615 The hack didn't work outside English locales anyway.
5616
b43f6451
JB
56172013-07-15 Juanma Barranquero <lekktu@gmail.com>
5618
5619 * simple.el (define-alternatives): Rename from alternatives-define,
5620 per RMS' suggestion.
5621
b958c0ad
JB
56222013-07-14 Juanma Barranquero <lekktu@gmail.com>
5623
5624 * desktop.el (desktop-restore-frames): Change default to t.
5625 (desktop-restore-in-current-display): Now offer more options.
5626 (desktop-restoring-reuses-frames): New customization option.
5627 (desktop--saved-states): Doc fix.
5628 (desktop-filter-parameters-alist): New variable, renamed and expanded
5629 from desktop--excluded-frame-parameters.
5630 (desktop--target-display): New variable.
5631 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5632 (desktop--filter-tty*, desktop--filter-*-color)
5633 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5634 (desktop--filter-save-desktop-parm)
5635 (desktop-restore-in-original-display-p): New functions.
5636 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5637 (desktop--save-minibuffer-frames): New function, inspired by a similar
5638 function from Martin Rudalics.
5639 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5640 (desktop--restore-in-this-display-p): Remove.
5641 (desktop--find-frame): Rename from desktop--find-frame-in-display
5642 and add predicate argument.
5643 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5644 (desktop--reuse-list): New variable.
5645 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5646 New functions.
5647 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5648
f6dd8b36
MA
56492013-07-14 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5652
2ce3c565
DG
56532013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5654
763a086d
JB
5655 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5656 Highlight conversion methods on Kernel.
2ce3c565 5657
2cdb7698
AM
56582013-07-13 Alan Mackenzie <acm@muc.de>
5659
5660 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5661 and comment it out. This out-commenting enables certain C++
5662 declarations to be parsed correctly.
5663
1a67b811
EZ
56642013-07-13 Eli Zaretskii <eliz@gnu.org>
5665
1b796d6b
EZ
5666 * international/mule.el (define-coding-system): Doc fix.
5667
1a67b811
EZ
5668 * simple.el (default-font-height): Don't call font-info if the
5669 frame's default font didn't change since the frame was created.
5670 (Bug#14838)
5671
58fbe886
LL
56722013-07-13 Leo Liu <sdl.web@gmail.com>
5673
5674 * ido.el (ido-read-file-name): Guard against non-symbol value.
5675
1f0480d4
FEG
56762013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5677
5678 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5679 in nested defuns.
5680
97ead0e5
LL
56812013-07-13 Leo Liu <sdl.web@gmail.com>
5682
5683 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5684 ido-set-matches call. (Bug#6852)
5685
0880a952
DG
56862013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5687
5688 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5689 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5690 Ruby 2.0.
5691 (ruby-font-lock-keywords): Distinguish calls to functions with
5692 module-like names from module references. Highlight character
5693 literals.
5694
a7d8babb
SDJ
56952013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5696
5697 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5698 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5699
acfcc8c5
JB
57002013-07-12 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * desktop.el (desktop--v2s): Remove unused local variable.
5703 (desktop-save-buffer): Make defvar-local; adjust docstring.
5704 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5705 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5706
051f2775
AS
57072013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5708
5709 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5710
f24e7572
GM
57112013-07-12 Eli Zaretskii <eliz@gnu.org>
5712
5713 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5714 (Bug#14842)
5715
539a920c
GM
57162013-07-12 Glenn Morris <rgm@gnu.org>
5717
5718 * doc-view.el: Require cl-lib at runtime too.
5719 (doc-view-remove-if): Remove.
5720 (doc-view-search-next-match, doc-view-search-previous-match):
5721 Use cl-remove-if.
5722
5723 * edmacro.el: Require cl-lib at runtime too.
5724 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5725 (edmacro-mismatch, edmacro-subseq): Remove.
5726
5727 * shadowfile.el: Require cl-lib.
5728 (shadow-remove-if): Remove.
5729 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5730 Use cl-remove-if.
5731
5732 * wid-edit.el: Require cl-lib.
5733 (widget-choose): Use cl-remove-if.
5734 (widget-remove-if): Remove.
5735
5736 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5737 (ebrowse-delete-if-not): Remove.
5738 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5739 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5740 Use cl-delete-if-not.
5741
1048af7c
JB
57422013-07-12 Juanma Barranquero <lekktu@gmail.com>
5743
5744 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5745 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5746
6c0674ee
LL
57472013-07-12 Leo Liu <sdl.web@gmail.com>
5748
5749 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5750
a19b3c2d
GM
57512013-07-11 Glenn Morris <rgm@gnu.org>
5752
4582a01c
GM
5753 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5754 (edebug-gensym-index, edebug-gensym):
5755 Remove reimplementation of cl-gensym.
5756 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5757
5758 * thumbs.el: Require cl-lib at run-time too.
5759 (thumbs-gensym-counter, thumbs-gensym):
5760 Remove reimplementation of cl-gensym.
5761 (thumbs-temp-file): Use cl-gensym.
5762
a19b3c2d
GM
5763 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5764 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5765 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5766 (ert--union, ert--gensym-counter, ert--gensym-counter)
5767 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5768 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5769 (ert-make-test-unbound, ert--expand-should-1)
5770 (ert--expand-should, ert--should-error-handle-error)
5771 (should-error, ert--explain-equal-rec)
5772 (ert--plist-difference-explanation, ert-select-tests)
5773 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5774 Use cl-lib functions rather than reimplementations.
5775
88f6a933
MA
57762013-07-11 Michael Albinus <michael.albinus@gmx.de>
5777
5778 * net/tramp.el (tramp-methods): Extend docstring.
5779 (tramp-connection-timeout): New defcustom.
5780 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5781 (with-tramp-progress-reporter): Simplify.
5782 (tramp-process-actions): Improve messages.
5783
5784 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5785 * net/tramp-sh.el (tramp-maybe-open-connection):
5786 Use `tramp-connection-timeout'.
5787 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5788 (Bug#14808)
5789
a43d577e
LL
57902013-07-11 Leo Liu <sdl.web@gmail.com>
5791
5792 * ido.el (ido-read-file-name): Conform to the requirements of
5793 read-file-name. (Bug#11861)
5794 (ido-read-directory-name): Conform to the requirements of
5795 read-directory-name.
5796
d77974bf
JB
57972013-07-11 Juanma Barranquero <lekktu@gmail.com>
5798
5799 * subr.el (delay-warning): New function.
5800
35cb8a3e
EZ
58012013-07-10 Eli Zaretskii <eliz@gnu.org>
5802
5803 * simple.el (default-line-height): New function.
5804 (line-move-partial, line-move): Use it instead of computing the
5805 line height inline.
5806 (line-move-partial): Always compute ROWH. If the last line is
5807 partially-visible, but its text is completely visible, allow
5808 cursor to enter such a partially-visible line.
5809
525c5c77
MA
58102013-07-10 Michael Albinus <michael.albinus@gmx.de>
5811
5812 Improve error messages. (Bug#14808)
5813
5814 * net/tramp.el (tramp-current-connection): New defvar, moved from
5815 tramp-sh.el.
0ac26976 5816 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5817 needed anymore.
0ac26976
SM
5818 (tramp-error-with-buffer): Show message in minibuffer.
5819 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5820 (with-tramp-progress-reporter): Improve messages.
5821 (tramp-process-actions): Use progress reporter. Delete process in
5822 case of error. Improve messages.
5823
763a086d
JB
5824 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5825 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5826 (tramp-current-connection): Remove.
525c5c77
MA
5827 (tramp-maybe-open-connection): The car of
5828 `tramp-current-connection' are the first 3 slots of the vector.
5829
c7a4d368
TZ
58302013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5831
5832 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5833 inside continued strings.
5834
954b166e
PE
58352013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5836
5837 Timestamp fixes for undo (Bug#14824).
5838 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5839
56973319
LL
58402013-07-10 Leo Liu <sdl.web@gmail.com>
5841
5842 * files.el (require-final-newline): Allow safe local value.
5843 (Bug#14834)
5844
5550a72c
LL
58452013-07-09 Leo Liu <sdl.web@gmail.com>
5846
5847 * ido.el (ido-read-directory-name): Handle fallback.
5848 (ido-read-file-name): Update DIR to ido-current-directory.
5849 (Bug#1516)
c28b9050 5850 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5851
70c46b28
DG
58522013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5853
5854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5855 "autoload". Remove "warn lower camel case" section, previously
5856 commented out. Highlight negation char. Do not highlight the
5857 target in singleton method definitions.
5858
0b64b838
SM
58592013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5860
7fd72e2c
SM
5861 * faces.el (tty-setup-hook): Declare the hook.
5862
0b64b838
SM
5863 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5864 and detect when a guard/pred depends on local vars (bug#14773).
5865 (pcase--u1): Adjust caller.
5866
ab49d60b
EZ
58672013-07-08 Eli Zaretskii <eliz@gnu.org>
5868
5869 * simple.el (line-move-partial, line-move): Account for
5870 line-spacing.
701d79aa
EZ
5871 (line-move-partial): Avoid setting vscroll when the last
5872 partially-visible line in window is of default height.
ab49d60b 5873
2d756ae0
LMI
58742013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5875
5876 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5877 been used a while.
5878
ed095bd7
JB
58792013-07-07 Juanma Barranquero <lekktu@gmail.com>
5880
5881 * subr.el (read-quoted-char): Remove unused local variable `char'.
5882
f1e6674b
MK
58832013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5884
584ee3fc
GM
5885 * ediff.el (ediff-version): Version update.
5886 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5887 (ediff-merge-with-ancestor-command, ediff-directories-command)
5888 (ediff-directories3-command, ediff-merge-directories-command)
5889 (ediff-merge-directories-with-ancestor-command): New functions.
5890 All are command-line interfaces to ediff: to facilitate calling
5891 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5892
5893 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5894 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5895
584ee3fc
GM
5896 * viper.el (viper-version): Version update.
5897 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5898
584ee3fc
GM
58992013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5902 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5903 (viper-intercept-ESC-key): Simplify.
5904 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5905 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5906 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5907 (viper-setup-ESC-to-escape): New functions.
5908 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5909 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5910
9aff9b38
EZ
59112013-07-07 Eli Zaretskii <eliz@gnu.org>
5912
5165d44a
JB
5913 * simple.el (default-font-height, window-screen-lines):
5914 New functions.
9aff9b38
EZ
5915 (line-move, line-move-partial): Use them instead of
5916 frame-char-height and window-text-height. This makes scrolling
5917 text smoother when the buffer's default face uses a font that is
5918 different from the frame's default font.
5919
1afb1d07
JD
59202013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5921
5922 * files.el (write-file): Do not display confirm dialog for NS,
5923 it does its own dialog, which can't be cancelled (Bug#14578).
5924
23de972a
EZ
59252013-07-06 Eli Zaretskii <eliz@gnu.org>
5926
5927 * simple.el (line-move-partial): Adjust the row returned by
5928 posn-at-point for the current window-vscroll. (Bug#14567)
5929
54a42486
MA
59302013-07-06 Michael Albinus <michael.albinus@gmx.de>
5931
5932 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5933 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5934 spaces.
5935
34ada5f4
MR
59362013-07-06 Martin Rudalics <rudalics@gmx.at>
5937
5938 * window.el (window-state-put-stale-windows): New variable.
5939 (window--state-put-2): Save list of windows without matching buffer.
5940 (window-state-put): Remove "bufferless" windows if possible.
5941
11e03d89
JB
59422013-07-06 Juanma Barranquero <lekktu@gmail.com>
5943
5944 * simple.el (alternatives-define): Remove leftover :group keyword.
5945 Tweak docstring.
5946
3504a4be
LL
59472013-07-06 Leo Liu <sdl.web@gmail.com>
5948
5949 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5950 (ido-enable-virtual-buffers): New variable.
5951 (ido-buffer-internal, ido-toggle-virtual-buffers)
5952 (ido-make-buffer-list): Use it.
5953 (ido-exhibit): Support turning on and off virtual buffers
5954 automatically.
5955
61e56e2c
JB
59562013-07-06 Juanma Barranquero <lekktu@gmail.com>
5957
5958 * simple.el (alternatives-define): New macro.
5959
321e1a9c
SM
59602013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * subr.el (read-quoted-char): Use read-key.
5963 (sit-for): Let read-event decode tty input (bug#14782).
5964
d610f6dd
SB
59652013-07-05 Stephen Berman <stephen.berman@gmx.net>
5966
5967 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5968 mode command and externally. Fix various related bugs.
5969 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5970 (todo-delete-file): New command.
5971 (todo-check-file): New function.
5972 (todo-show): Handle external deletion of the file we're trying to
5973 show (bug#14688). Replace called-interactively-p by an optional
5974 prefix argument to avoid problematic interaction with catch form
5975 when byte compiled (bug#14702).
5976 (todo-quit): Handle external deletion of the archive's todo file.
5977 Make sure the buffer that was visiting the archive file is still
5978 live before trying to bury it.
5979 (todo-category-completions): Handle external deletion of any
5980 category completion files.
5981 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5982 of todo files, in case of external deletion.
5983 (todo-add-file): Replace unnecessary setq by let-binding.
5984 (todo-find-archive): Check whether there are any archives.
5985 Replace unnecessary setq by let-binding.
5986 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5987 archive buffer whether or not the archive already exists.
5988 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5989 check if the archive is new; if it is, update list of archives.
5990 (todo-default-todo-file): Allow nil to be a valid value for when
5991 there are no todo files.
5992 (todo-reevaluate-default-file-defcustom): Use corrected definition
5993 of todo-default-todo-file.
5994 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5995 (todo-delete-category, todo-show-categories-table)
5996 (todo-category-number): Clarify comment.
5997 (todo-filter-items): Clarify documentation string.
5998 (todo-show-current-file, todo-display-as-todo-file)
5999 (todo-reset-and-enable-done-separator): Tweak documentation string.
6000 (todo-done-separator): Make separator length window-width, since
6001 bug#2749 is now fixed.
6002
ddbdfd6f
MA
60032013-07-05 Michael Albinus <michael.albinus@gmx.de>
6004
321e1a9c
SM
6005 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6006 Support both "gvfs-monitor-dir" and "inotifywait".
6007 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6008 `tramp-sh-file-notify-process-filter'.
6009 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6010 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6011
96eb829a
LL
60122013-07-05 Leo Liu <sdl.web@gmail.com>
6013
6014 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6015
cf13177e
YM
60162013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6017
6018 * frame.el (display-pixel-height, display-pixel-width)
6019 (display-mm-height, display-mm-width): Mention behavior on
6020 multi-monitor setups in docstrings.
6021 (w32-display-monitor-attributes-list): Declare function.
6022 (display-monitor-attributes-list): Use it.
6023
864c58ca
MA
60242013-07-04 Michael Albinus <michael.albinus@gmx.de>
6025
6026 * filenotify.el: New package.
6027
6028 * autorevert.el (top): Require filenotify.el.
6029 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6030 instead.
6031 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6032 (auto-revert-notify-handler): Use `file-notify-*' functions.
6033
6034 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6035
321e1a9c
SM
6036 * net/tramp.el (tramp-file-name-for-operation):
6037 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6038
6039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6040 for `file-notify-add-watch' and `file-notify-rm-watch'.
6041 (tramp-process-sentinel): Improve trace.
6042 (tramp-sh-handle-file-notify-add-watch)
6043 (tramp-sh-file-notify-process-filter)
6044 (tramp-sh-handle-file-notify-rm-watch)
6045 (tramp-get-remote-inotifywait): New defuns.
6046
96673afe
JL
60472013-07-03 Juri Linkov <juri@jurta.org>
6048
6049 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6050 call of `occur-read-primary-args' to interactive spec.
6051
6052 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6053 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6054
924494f4
MM
60552013-07-03 Matthias Meulien <orontee@gmail.com>
6056
6057 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6058 `Buffer-menu-multi-occur'. Add it to the menu.
6059 (Buffer-menu-mode): Document it in docstring.
6060 (Buffer-menu-multi-occur): New command. (Bug#14673)
6061
56f75efc
DG
60622013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6063
6064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6065 keywords and built-ins.
6066
9b057d61
GM
60672013-07-03 Glenn Morris <rgm@gnu.org>
6068
208dee4d
GM
6069 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6070
9b057d61
GM
6071 Make info-xref checks case-sensitive by default
6072 * info.el (Info-find-node, Info-find-in-tag-table)
6073 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6074 Add option for exact case matching of nodes.
6075 * info-xref.el (info-xref): New custom group.
6076 (info-xref-case-fold): New option.
6077 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6078
e01aa29c
LL
60792013-07-03 Leo Liu <sdl.web@gmail.com>
6080
6081 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6082
3086ca2e
DG
60832013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6084
6085 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6086 middle of block statement initially, lower the depth. Remove
6087 FIXME comment, not longer valid. Remove middle of block statement
6088 detection, no need to do that anymore since we've been using
6089 `ruby-parse-region' here.
6090
a3b49114
JD
60912013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6092
6093 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6094
08e5c823 60952013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6096
6097 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6098
2addf922
JB
60992013-07-01 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6102 (desktop-restore-in-current-display): New customization option.
6103 (desktop--excluded-frame-parameters): Add `font'.
6104 (desktop--save-frames): Rename from desktop--save-windows.
6105 (desktop--restore-in-this-display-p): New function.
6106 (desktop--make-full-frame): Remove unwanted width/height from
6107 full(width|height) frames.
6108 (desktop--restore-frames): Rename from desktop--restore-windows.
6109 Obey desktop-restore-current-display. Do not delete old frames or
6110 select a new frame unless we were able to restore at least one frame.
6111
ef099a94
MN
61122013-06-30 Michal Nazarewicz <mina86@mina86.com>
6113
6114 * files.el (find-file-noselect): Simplify conditional expression.
6115
6116 * remember.el (remember-append-to-file):
6117 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6118
6119 Add `remember-notes' function to store random notes across Emacs
6120 restarts.
6121 * remember.el (remember-data-file): Add :set callback to affect
6122 notes buffer (if any).
6123 (remember-notes): New command.
6124 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6125 New defcustoms for the `remember-notes' function.
6126 (remember-notes-save-and-bury-buffer): New command.
6127 (remember-notes-mode-map): New variable.
6128 (remember-mode): New minor mode.
6129 (remember-notes--kill-buffer-query): New function.
6130 * startup.el (initial-buffer-choice): Add notes to custom type.
6131
0865d506
EZ
61322013-06-30 Eli Zaretskii <eliz@gnu.org>
6133
0ba54312
EZ
6134 * bindings.el (right-char, left-char): Don't call sit-for, this is
6135 no longer needed. Use arithmetic comparison only for numerical
6136 arguments.
6137
ef099a94
MN
6138 * international/mule-cmds.el (select-safe-coding-system):
6139 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6140
2fae38e5
LMI
61412013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6142
6143 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6144 progression on degenerate tables.
ef099a94 6145 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6146
a47cbd64
JB
61472013-06-30 Juanma Barranquero <lekktu@gmail.com>
6148
6149 Some fixes and improvements for desktop frame restoration.
6150 It is still experimental and disabled by default.
6151 * desktop.el (desktop--save-windows): Put the selected frame at
6152 the head of the list.
6153 (desktop--make-full-frame): New function.
6154 (desktop--restore-windows): Try to re-select the frame that was
6155 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6156 just show an error message and continue. Set up maximized frames
6157 so they have default non-maximized dimensions.
a47cbd64 6158
6dbafa30
DG
61592013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6160
ef099a94
MN
6161 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6162 Don't start heredoc inside a string or comment.
6dbafa30 6163
4c672a0f
EZ
61642013-06-29 Eli Zaretskii <eliz@gnu.org>
6165
6166 * bindings.el (visual-order-cursor-movement): New defcustom.
6167 (right-char, left-char): Provide visual-order cursor motion by
6168 calling move-point-visually. Update the doc strings.
6169
50960f36
KH
61702013-06-28 Kenichi Handa <handa@gnu.org>
6171
6172 * international/mule.el (define-coding-system): New coding system
6173 properties :inhibit-null-byte-detection,
6174 :inhibit-iso-escape-detection, and :prefer-utf-8.
6175 (set-buffer-file-coding-system): If :charset-list property of
6176 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6177 appropriate for setting.
6178
c1ea3abf
JB
6179 * international/mule-cmds.el (select-safe-coding-system):
6180 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6181 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6182
6183 * international/mule-conf.el (prefer-utf-8): New coding system.
6184 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6185 files.
6186
75dbaf9d
IK
61872013-06-28 Ivan Kanis <ivan@kanis.fr>
6188
eadb6068
IK
6189 * net/shr.el (shr-render-region): New function.
6190
75dbaf9d
IK
6191 * net/eww.el: Autoload `eww-browse-url'.
6192
9ea5cf9f
DG
61932013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6194
c1ea3abf
JB
6195 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6196 Adapt to `package-desc-version' being a list.
6197 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6198 archive element.
6199
39c0e36f
JB
62002013-06-27 Juanma Barranquero <lekktu@gmail.com>
6201
6202 New experimental feature to save&restore window and frame setup.
6203 * desktop.el (desktop-save-windows): New defcustom.
6204 (desktop--saved-states): New var.
6205 (desktop--excluded-frame-parameters): New defconst.
6206 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6207 (desktop--restore-windows, desktop--save-windows): New functions.
6208 (desktop-save): Call `desktop--save-windows'.
6209 (desktop-read): Call `desktop--restore-windows'.
6210
7f13406b
LMI
62112013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6212
ef099a94 6213 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6214
1e072639
SB
62152013-06-27 Stephen Berman <stephen.berman@gmx.net>
6216
6217 * info.el (Info-try-follow-nearest-node): Move search for footnote
6218 above search for node name to prevent missing a footnote (bug#14717).
6219
f3e2cbde
SB
62202013-06-27 Stephen Berman <stephen.berman@gmx.net>
6221
6222 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6223
99906aa0
LL
62242013-06-27 Leo Liu <sdl.web@gmail.com>
6225
6226 * net/eww.el (eww-read-bookmarks): Check file size.
6227
539f75f4
SM
62282013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6231 advice--pending if newdef is nil or an autoload (bug#13820).
6232 (advice-mapc): New function.
6233
843571cb
LMI
62342013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235
6236 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6237 probably.
23a75d7f 6238 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6239 (eww-add-bookmark): New command.
6240 (eww-bookmark-mode): New mode and commands.
a285ce99 6241 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6242 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6243
f2136e1e
GM
62442013-06-26 Glenn Morris <rgm@gnu.org>
6245
eab35f39
GM
6246 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6247 (hfy-size): Handle ttys. (Bug#14668)
6248
f2136e1e
GM
6249 * info-xref.el: Update for Texinfo 5 change in *note format.
6250 (info-xref-node-re, info-xref-note-re): New constants.
6251 (info-xref-check-buffer): Use info-xref-note-re.
6252
a49ff80c
SM
62532013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6254
a343d218
SM
6255 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6256
a49ff80c
SM
6257 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6258 nil terminate the loop (bug#14718).
6259
8308f184
LMI
62602013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6261
6262 * net/eww.el: Rework history traversal. When going forward/back,
6263 put these actions into the history, too, so that they can be
6264 replayed.
26bf2b82 6265 (eww-render): Move the history reset to the correct buffer.
8308f184 6266
ec64c273
JL
62672013-06-25 Juri Linkov <juri@jurta.org>
6268
6269 * files-x.el (modify-dir-local-variable): Change the header comment
6270 in the file with directory local variables. (Bug#14692)
6271
e080a9d7
JL
6272 * files-x.el (read-file-local-variable-value): Add `default'.
6273 (Bug#14710)
6274
bfbc93a1
IK
62752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6276
6277 * net/eww.el (eww-make-unique-file-name): Create a unique file
6278 name before saving to entering `y' accidentally asynchronously.
6279
62802013-06-25 Ivan Kanis <ivan@kanis.fr>
6281
6282 * net/eww.el (eww-download): New command and keystroke.
6283
16f74f10
LMI
62842013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6285
a49ff80c 6286 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6287
6288 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6289 be more consistent with Info and dired.
6290
6291 * net/eww.el (eww-mode-map): Ditto.
6292
12059709
SM
62932013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6296 packages from archives.
6297 (package-archive-contents): Change format; include obsolete packages.
6298 (package-desc): Use `dir' to mark builtin packages.
6299 (package--from-builtin): Set the `dir' field to `builtin'.
6300 (generated-autoload-file, version-control): Declare.
6301 (package-compute-transaction): Change first arg and return value to be
6302 lists of package-descs. Adjust to new package-archive-contents format.
6303 (package--add-to-archive-contents): Adjust to new
6304 package-archive-contents format.
6305 (package-download-transaction): Arg is now a list of package-descs.
6306 (package-install): If `pkg' is a package name, pass it as
6307 a requirement, so it is subject to the usual (e.g. disabled) checks.
6308 (describe-package): Accept package-desc as well.
6309 (describe-package-1): Describe a specific package-desc. Add links to
6310 other package-descs for the same package name.
6311 (package-menu-describe-package): Pass the actual package-desc.
6312 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6313 works correctly.
6314 (package-desc-status): New function.
6315 (package-menu--refresh): New function, extracted
6316 from package-menu--generate.
6317 (package-menu--generate): Use it.
6318 (package-delete): Update package-alist.
6319 (package-menu-execute): Don't call package-initialize.
6320
6321 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6322 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6323 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6324 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6325 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6326 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6327
8bbdea0f
MR
63282013-06-25 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (window--state-get-1): Workaround for bug#14527.
6331 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6332
e82b0991
LMI
63332013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6334
6335 * net/eww.el (eww-back-url): Implement the history by stashing all
6336 the data into a list.
d3f0f918 6337 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6338
c763842b
SM
63392013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6342 for values and use read--expression for expressions (bug#14710).
6343 (read-file-local-variable): Avoid setq.
6344 (read-file-local-variable-mode): Use minor-mode-list.
6345
bceff189
RW
63462013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6347
864c58ca 6348 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6349 for DOI URLs.
6350
45f431c6
RW
63512013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6352
864c58ca 6353 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6354 Update imenu-support when dialect changes.
6355
f42d8237
LL
63562013-06-25 Leo Liu <sdl.web@gmail.com>
6357
6358 * ido.el (ido-read-internal): Allow forward slash on windows.
6359
be549ce6
LMI
63602013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6361
6362 * net/eww.el (eww): Start of strings is \\`, not ^.
6363
71d4c19d
IK
63642013-06-24 Ivan Kanis <ivan@kanis.fr>
6365
5196f88a
IK
6366 * net/shr.el (shr-browse-url): Fix interactive spec.
6367
71d4c19d
IK
6368 * net/eww.el (eww): Add a trailing slash to domain names.
6369
ae36ca55
JB
63702013-06-24 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6373
0ebd92a3
LMI
63742013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6375
bdaa086b
LMI
6376 * net/shr.el (shr-browse-url): Use an external browser if given a
6377 prefix.
6378
c763842b 6379 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6380
b89fc156
IK
63812013-06-24 Ivan Kanis <ivan@kanis.fr>
6382
6383 * net/eww.el (eww): Work more correctly for file: URLs.
6384 (eww-detect-charset): Allow quoted charsets.
6385 (eww-yank-page-url): New command and keystroke.
6386
18eb4bca
DU
63872013-06-24 Daiki Ueno <ueno@gnu.org>
6388
6389 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6390 file name of gpg executable.
6391 (epg-context-program): New function.
6392 (epg-context-home-directory): New function.
6393 (epg-context-set-program): New function.
6394 (epg-context-set-home-directory): New function.
6395 (epg--start): Use `epg-context-program' instead of
6396 'epg-gpg-program'.
6397 (epg--list-keys-1): Likewise.
6398
6c6268c8
LL
63992013-06-24 Leo Liu <sdl.web@gmail.com>
6400
6401 * ido.el (ido-read-internal): Fix bug#14620.
6402
5e400cb3
JB
64032013-06-23 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * faces.el (face-documentation): Simplify.
6406 (read-face-attribute, tty-find-type, x-resolve-font-name):
6407 Use `string-match-p'.
6408 (list-faces-display): Use `string-match-p'. Simplify.
6409 (face-spec-recalc): Check face to avoid face alias loops.
6410 (read-color): Use `string-match-p' and non-capturing parenthesis.
6411
f3f9606c
LMI
64122013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413
6414 * net/shr.el (shr-rescale-image): Use the new
6415 :max-width/:max-height functionality.
6416
a3ca09b9
IK
64172013-06-23 Ivan Kanis <ivan@kanis.fr>
6418
6419 * net/eww.el (eww-search-prefix): New variable.
6420 (eww): Use it.
f865b474
IK
6421 (eww-external-browser): New variable.
6422 (eww-mode-map): New keystroke.
6423 (eww-browse-with-external-browser): New command.
a3ca09b9 6424
e854cfc7
IK
6425 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6426
18bb9e21
JB
64272013-06-23 Juanma Barranquero <lekktu@gmail.com>
6428
6429 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6430 Don't skip aligning the next header field when padding is 0;
6431 otherwise, field width is not respected unless the title is as
6432 wide as the field.
6433
5b165ade
SM
64342013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * emacs-lisp/package.el (package-el-version): Remove.
6437 (package-process-define-package): Fix inf-loop.
6438 (package-install): Allow symbols as arguments again.
6439
12adebe9
DG
64402013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6441
6442 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6443 add some more keyword-like methods.
6444 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6445
388573ee
JB
64462013-06-22 Juanma Barranquero <lekktu@gmail.com>
6447
6448 * bs.el (bs-buffer-show-mark): Make defvar-local.
6449 (bs-mode): Use setq-local.
6450
6451 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6452 (emacs-lock--try-unlocking): Make defvar-local.
6453
4582a01c 64542013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6455
2663dd23
GM
6456 * play/cookie1.el (cookie-apropos): Minor simplification.
6457
3d94f3ad
GM
6458 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6459
f72e2fdb
DG
64602013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6461
6462 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6463 `regexp-opt', it breaks the build during dumping.
6464
73eab938
DG
64652013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6466
c763842b
SM
6467 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6468 Highlight keyword-like methods on Kernel and Module with
73eab938 6469 font-lock-builtin-face.
5cf8176d
DG
6470 (auto-mode-alist): Consolidate different entries into one regexp
6471 and add more *file-s.
73eab938 6472
d26255f6
SB
64732013-06-21 Stephen Berman <stephen.berman@gmx.net>
6474
6475 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6476
6477 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6478 (diary-entry): Use it in the action of this button type instead of
6479 diary-goto-entry.
6480
6481 * calendar/todo-mode.el: New version.
6482 (todo-add-category): Append new category to end of file and give
6483 it the highest number, instead of putting it at the beginning and
6484 giving it 0. Incorporate noninteractive functionality.
6485 (todo-forward-category): Adapt to 1-based category numbering.
6486 Allow skipping over archived categories.
6487 (todo-backward-category): Derive from todo-forward-category.
6488 (todo-backward-item, todo-forward-item): Make noninteractive and
6489 delegate interactive part to new commands. Make sensitive to done items.
6490 (todo-categories): Make value an alist of category names and
6491 vectors of item counts.
6492 (todo-category-beg): Make a defconst.
6493 (todo-category-number): Use 1 instead of 0 as initial value.
6494 (todo-category-select): Make sensitive to overlays, optional item
6495 highlighting and done items.
6496 (todo-delete-item): Make sensitive to overlays and marked and done items.
6497 (todo-edit-item): Make sensitive to overlays and editing of
6498 date/time header optional. Add format checks.
6499 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6500 no-op if point is not on an item. Advertise using todo-edit-quit.
6501 (todo-edit-mode): Make sensitive to new format, font-locking, and
6502 multiple todo files.
6503 (todo-insert-item, todo-insert-item-here): Derive from
6504 todo-basic-insert-item and extend functionality.
6505 (todo-item-end, todo-item-start): Make sensitive to done items.
6506 (todo-item-string): Don't return text properties. Restore point.
6507 (todo-jump-to-category): Make sensitive to multiple todo files and
6508 todo archives. Use extended category completion.
6509 (todo-lower-item, todo-raise-item): Rename to *-priority and
6510 derive from todo-set-item-priority.
6511 (todo-mode): Derive from special-mode. Make sensitive to new
6512 format, font-locking and multiple todo files. Make read-only.
6513 (todo-mode-map): Don't suppress digit keys, so they can supply
6514 prefix arguments. Add many new key bindings.
6515 (todo-prefix): Insert as an overlay instead of file text.
6516 Change semantics from diary date expression to purely visual mark.
6517 (todo-print): Rename to todo-print-buffer. Make buffer display
6518 features printable. Remove option to restrict number of items
6519 printed. Add option to print to file.
6520 (todo-print-function): Rename to todo-print-buffer-function.
6521 (todo-quit): Extend to handle exiting new todo modes.
6522 (todo-remove-item): Make sensitive to overlays.
6523 (todo-save): Extend to buffers of filtered items.
6524 (todo-show): Make sensitive to done items, multiple todo files and
6525 new todo modes. Offer to convert legacy todo file before creating
6526 first new todo file.
6527 (todo-show-priorities): Rename to todo-top-priorities.
6528 Change semantics of value 0.
6529 (todo-top-priorities): Rename to todo-filter-top-priorities,
6530 derive from todo-filter-items and extend functionality.
6531 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6532 and extend functionality to other types of filtered items.
6533 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6534 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6535 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6536 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6537 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6538 (todo-edit-mode-hook, todo-entry-prefix-function)
6539 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6540 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6541 (todo-initials, todo-insert-threshold, todo-item-string-start)
6542 (todo-line-string, todo-menu, todo-mode-hook)
6543 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6544 (todo-print-priorities, todo-remove-separator)
6545 (todo-save-top-priorities-too, todo-string-count-lines)
6546 (todo-string-multiline-p, todo-time-string-format)
6547 (todo-tmp-buffer-name): Remove.
6548 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6549 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6550 (todo-edit-category-diary-inclusion)
6551 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6552 (todo-edit-file, todo-edit-item-date-day)
6553 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6554 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6555 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6556 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6557 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6558 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6559 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6560 (todo-filter-top-priorities-multifile, todo-find-archive)
6561 (todo-find-filtered-items-file, todo-go-to-source-item)
6562 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6563 (todo-jump-to-archive-category, todo-lower-category)
6564 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6565 (todo-move-category, todo-move-item, todo-next-button)
6566 (todo-next-item, todo-padded-string, todo-powerset)
6567 (todo-previous-button, todo-previous-item)
6568 (todo-print-buffer-to-file, todo-raise-category)
6569 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6570 (todo-set-category-number, todo-set-item-priority)
6571 (todo-set-top-priorities-in-category)
6572 (todo-set-top-priorities-in-file, todo-show-categories-table)
6573 (todo-sort-categories-alphabetically-or-numerically)
6574 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6575 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6576 (todo-toggle-item-header, todo-toggle-item-highlighting)
6577 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6578 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6579 (todo-unarchive-items, todo-unmark-category): New commands.
6580 (todo-absolute-file-name, todo-add-to-buffer-list)
6581 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6582 (todo-basic-insert-item, todo-category-completions)
6583 (todo-category-number, todo-category-string-matcher-1)
6584 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6585 (todo-check-format, todo-clear-matches)
6586 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6587 (todo-current-category, todo-date-string-matcher)
6588 (todo-define-insertion-command, todo-diary-expired-matcher)
6589 (todo-diary-goto-entry, todo-diary-item-p)
6590 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6591 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6592 (todo-done-item-section-p, todo-done-separator)
6593 (todo-done-string-matcher, todo-files, todo-filter-items)
6594 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6595 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6596 (todo-insert-category-line, todo-insert-item-from-calendar)
6597 (todo-insert-sort-button, todo-insert-with-overlays)
6598 (todo-insertion-command-name, todo-insertion-key-bindings)
6599 (todo-label-to-key, todo-longest-category-name-length)
6600 (todo-make-categories-list, todo-mode-external-set)
6601 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6602 (todo-modes-set-3, todo-multiple-filter-files)
6603 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6604 (todo-read-category, todo-read-date, todo-read-dayname)
6605 (todo-read-file-name, todo-read-time)
6606 (todo-reevaluate-category-completions-files-defcustom)
6607 (todo-reevaluate-default-file-defcustom)
6608 (todo-reevaluate-filelist-defcustoms)
6609 (todo-reevaluate-filter-files-defcustom)
6610 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6611 (todo-reset-done-separator, todo-reset-done-separator-string)
6612 (todo-reset-done-string, todo-reset-global-current-todo-file)
6613 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6614 (todo-reset-prefix, todo-set-categories)
6615 (todo-set-date-from-calendar, todo-set-show-current-file)
6616 (todo-set-top-priorities, todo-short-file-name)
6617 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6618 (todo-total-item-counts, todo-update-buffer-list)
6619 (todo-update-categories-display, todo-update-categories-sexp)
6620 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6621 New functions.
6622 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6623 New major modes.
6624 (todo-categories, todo-display, todo-edit, todo-faces)
6625 (todo-filtered): New defgroups.
6626 (todo-archived-only, todo-button, todo-category-string, todo-date)
6627 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6628 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6629 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6630 (todo-add-item-if-new-category, todo-always-add-time-string)
6631 (todo-categories-align, todo-categories-archived-label)
6632 (todo-categories-category-label, todo-categories-diary-label)
6633 (todo-categories-done-label, todo-categories-number-separator)
6634 (todo-categories-todo-label, todo-categories-totals-label)
6635 (todo-category-completions-files, todo-completion-ignore-case)
6636 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6637 (todo-done-separator-string, todo-done-string)
6638 (todo-files-function, todo-filter-done-items, todo-filter-files)
6639 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6640 (todo-initial-category, todo-initial-file, todo-item-mark)
6641 (todo-legacy-date-time-regexp, todo-mode-line-function)
6642 (todo-nondiary-marker, todo-number-prefix)
6643 (todo-print-buffer-function, todo-show-current-file)
6644 (todo-show-done-only, todo-show-first, todo-show-with-done)
6645 (todo-skip-archived-categories, todo-top-priorities-overrides)
6646 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6647 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6648 New defcustoms.
6649 (todo-category-done, todo-date-pattern, todo-date-string-start)
6650 (todo-diary-items-buffer, todo-done-string-start)
6651 (todo-filtered-items-buffer, todo-item-start)
6652 (todo-month-abbrev-array, todo-month-name-array)
6653 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6654 (todo-top-priorities-buffer): New defconsts.
6655 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6656 (todo-categories-with-marks, todo-category-string-face)
6657 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6658 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6659 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6660 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6661 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6662 (todo-font-lock-keywords, todo-global-current-todo-file)
6663 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6664 (todo-insertion-commands-args)
6665 (todo-insertion-commands-args-genlist)
6666 (todo-insertion-commands-names, todo-insertion-map)
6667 (todo-key-bindings-t, todo-key-bindings-t+a)
6668 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6669 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6670 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6671 (todo-visited): New variables.
6672
cad5d1cb
GM
66732013-06-21 Glenn Morris <rgm@gnu.org>
6674
6675 * play/cookie1.el (cookie-apropos): Add optional display argument.
6676 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6677 (psychoanalyze-pinhead): Use cookie-doctor.
6678
9e277302
JB
66792013-06-21 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * emacs-lisp/package.el (tar-get-file-descriptor)
6682 (tar--extract): Declare.
6683
c5b0993e
EW
66842013-06-21 Eduard Wiebe <usenet@pusto.de>
6685
6686 Extend flymake's warning predicate to be a function (bug#14217).
6687 * progmodes/flymake.el (flymake-warning-predicate): New.
6688 (flymake-parse-line): Use it.
6689 (flymake-warning-re): Make obsolete alias to
6690 `flymake-warning-predicate'.
6691
a7d2d465
SM
66922013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6695 (package-obsolete-list): Remove.
6696 (package-activate): Remove min-version argument. Add `force' argument.
6697 Adjust to new package-alist format.
6698 (package-mark-obsolete): Remove.
6699 (package-unpack): Force reload of the package's autoloads.
6700 (package-installed-p): Check builtins if the installed package is not
6701 recent enough.
6702 (package-initialize): Don't reset package-obsolete-list.
6703 Don't specify which package version to activate.
6704 (package-process-define-package, describe-package-1)
6705 (package-menu--generate): Adjust to new package-alist format.
6706
cedf5c9d
JB
67072013-06-21 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * allout-widgets.el (allout-widgets-mode-off)
6710 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6711 (allout-widgets-post-command-business)
6712 (allout-widgets-after-copy-or-kill-function)
6713 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6714 (allout-decorate-item-and-context)
6715 (allout-graphics-modification-handler): Fix typos in docstrings.
6716 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6717
6718 * cmuscheme.el (scheme-start-file): Doc fix.
6719 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6720 (scheme-input-filter): Use `string-match-p'.
6721
6722 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6723
6724 * dired-x.el: Use Dired consistently in docstrings.
6725
6726 * dired.el: Use Dired consistently in docstrings.
6727 (dired-readin, dired-mode): Use `setq-local'.
6728 (dired-switches-alist): Make defvar-local.
6729 (dired-buffers-for-dir): Use `zerop'.
6730 (dired-safe-switches-p, dired-switches-escape-p)
6731 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6732 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6733 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6734 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6735 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6736 (dired-toggle-marks, dired-mark-files-containing-regexp)
6737 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6738 (dired-flag-auto-save-files, dired-flag-backup-files):
6739 Use `looking-at-p'.
6740 (dired-mark-files-regexp, dired-build-subdir-alist):
6741 Use `string-match-p', `looking-at-p'.
6742
6743 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6744 (direct-print-region-helper): Use `string-match-p'.
6745
aed838b5
LL
67462013-06-21 Leo Liu <sdl.web@gmail.com>
6747
cedf5c9d
JB
6748 * comint.el (comint-redirect-results-list-from-process):
6749 Fix infinite loop.
aed838b5 6750
d80a808f
LMI
67512013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6752
6753 * net/eww.el (eww-update-header-line-format): Quote % characters.
6754
e7a526e3
GM
67552013-06-21 Glenn Morris <rgm@gnu.org>
6756
6757 * play/cookie1.el (cookie): New custom group.
6758 (cookie-file): New option.
6759 (cookie-check-file): New function.
6760 (cookie): Make it interactive. Make start and end messages optional.
6761 Interactively, display the result. Default to cookie-file.
6762 (cookie-insert): Default to cookie-file.
6763 (cookie-snarf): Make start and end messages optional.
6764 Default to cookie-file. Use with-temp-buffer.
6765 (cookie-read): Rename from read-cookie.
6766 Make start and end messages optional. Default to cookie-file.
6767 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6768 Do not autoload it.
e7a526e3
GM
6769 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6770 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6771
62efb35e
LL
67722013-06-21 Leo Liu <sdl.web@gmail.com>
6773
6774 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6775
21e3f963
GM
67762013-06-21 Glenn Morris <rgm@gnu.org>
6777
6778 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6779
fd846ab4
SM
67802013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6781 Daniel Hackney <dan@haxney.org>
6782
6783 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6784 Consolidate the single-file vs tarball code.
6785 (package-desc-suffix): New function.
6786 (package-desc-full-name): Don't bother inlining it.
6787 (package-load-descriptor): Return the new package-desc.
6788 (package-mark-obsolete): Remove unused arg `package'.
6789 (package-unpack): Make it work for single files as well.
6790 Make it update package-alist.
6791 (package--make-autoloads-and-stuff): Rename from
6792 package--make-autoloads-and-compile. Don't compile any more.
6793 (package--compile): New function.
6794 (package-generate-description-file): New function, extracted from
6795 package-unpack-single.
6796 (package-unpack-single): Remove.
6797 (package--with-work-buffer): Add indentation and debugging info.
6798 (package-download-single): Remove.
6799 (package-install-from-archive): Rename from package-download-tar, make
6800 it take a pkg-desc, and make it work for single files as well.
6801 (package-download-transaction): Simplify.
6802 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6803 external tar program.
6804 (package-install-from-buffer): Remove `pkg-desc' argument.
6805 Use package-tar-file-info for tar-mode buffers.
6806 (package-install-file): Simplify accordingly.
6807 (package-archive-base): Change to take a pkg-desc.
6808 * tar-mode.el (tar--check-descriptor): New function, extracted from
6809 tar-get-descriptor.
6810 (tar-get-descriptor): Use it.
6811 (tar-get-file-descriptor): New function.
6812 (tar--extract): New function, extracted from tar-extract.
6813 (tar--extract): Use it.
6814 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6815 case the summary uses non-ascii. Adjust to new calling convention of
6816 package-tar-file-info.
6817
b7deae5e
LL
68182013-06-21 Leo Liu <sdl.web@gmail.com>
6819
fd846ab4
SM
6820 * comint.el (comint-redirect-results-list-from-process):
6821 Fix random delay. (Bug#14681)
b7deae5e 6822
7a65a0b2
JB
68232013-06-21 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * profiler.el (profiler-format-number): Use log, not log10.
6826
1493c2af
JB
68272013-06-20 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6830
aff6371e
SM
68312013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6834 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6835 yet available.
6836 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6837 (AUTOGENEL): ... here.
6838 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6839 (cl--defsubst-expand): Use it.
6840
89561f72
PE
68412013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6842
6843 * subr.el (log10): Move here from C code, and declare as obsolete.
6844 All uses of (log10 X) replaced with (log X 10).
6845
47199123
JB
68462013-06-20 Juanma Barranquero <lekktu@gmail.com>
6847
6848 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6849 Declare with `defvar-local'.
6850 (tabulated-list-use-header-line, tabulated-list-entries)
6851 (tabulated-list-padding, tabulated-list-printer)
6852 (tabulated-list-sort-key): Declare with `defvar-local'.
6853 (tabulated-list-init-header, tabulated-list-print-fake-header):
6854 Use `setq-local'.
6855
4a172eab
MA
68562013-06-20 Michael Albinus <michael.albinus@gmx.de>
6857
47199123
JB
6858 * arc-mode.el (archive-mode): Add `archive-write-file' to
6859 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6860
5fc0acc0
JB
68612013-06-20 Juanma Barranquero <lekktu@gmail.com>
6862
d5b27848
JB
6863 * cus-edit.el (custom-commands): Fix typos.
6864 (custom-display): Fix tooltip text.
6865 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6866 Fix typos in docstrings.
6867 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6868 (custom-unlispify-menu-entry, custom-magic-value-create)
6869 (custom-add-see-also, custom-group-value-create): Use ?\s.
6870 (custom-guess-type, customize-apropos, editable-field)
6871 (custom-face-value-create): Use `string-match-p'.
6872 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6873
6874 * custom.el (custom-load-symbol): Use `string-match-p'.
6875
a5c581d8
JB
6876 * ansi-color.el: Convert to lexical binding.
6877 (ansi-colors): Fix URL.
6878 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6879 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6880 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6881
970ad972
G
68822013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883
6884 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6885
6886 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6887
68882013-06-19 Tom Tromey <tromey@redhat.com>
6889
6890 * net/eww.el (eww-top-url): Remove.
6891 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6892 (eww-render): Set new variables. Don't set eww-top-url.
6893 (eww-handle-link): Handle "prev", "home", and "contents".
6894 Downcase the rel text.
6895 (eww-top-url): Choose best top URL.
6896
68972013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898
6899 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6900 relying in widget.el. Using widget.el leads to too many
6901 user interface inconsistencies.
6902 (eww-self-insert): Implement entering commands in text fields.
6903 (eww-process-text-input): New function to make text input field editing
6904 work.
6905 (eww-submit): Rewrite to use the new-style form methods.
6906 (eww-select-display): Display the correct selected item.
6907 (eww-change-select): Implement changing the select value.
6908 (eww-toggle-checkbox): Implement radio/checkboxes.
6909 (eww-update-field): Fix compilation error.
6910 (eww-tag-textarea): Implement <textarea>.
6911
6912 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6913 we don't shadow mode-specific bindings.
6914
6915 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6916 nothing to push.
6917
6918 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6919
4582a01c 69202013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6921
6922 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6923
15b263dc
MA
69242013-06-19 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6927 not needed.
6928
6929 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6930
8f5297f7
LMI
69312013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6932
6933 * net/browse-url.el (browse-url-browser-function):
6934 `eww-browse-url' has the right calling signature, `eww' does not.
6935
011c4552
GM
69362013-06-19 Glenn Morris <rgm@gnu.org>
6937
2285bd27
GM
6938 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6939 Only eval autoloaded macros.
6940 (byte-compile-autoload): Only give the macro warning for macros.
6941
1d653303
GM
6942 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6943 (ps-underlined-faces): Declare.
6944
bdd779ec
GM
6945 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6946 (speedbar-add-supported-extension): Declare.
6947
011c4552
GM
6948 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6949 Don't include a date stamp in the header of the generated file;
6950 it leads to needless differences between output files.
6951
e59dfb0e
MA
69522013-06-19 Michael Albinus <michael.albinus@gmx.de>
6953
c763842b
SM
6954 * net/secrets.el (secrets-struct-secret-content-type):
6955 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6956 Some servers do not offer introspection.
e59dfb0e 6957
102626e2
SM
69582013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * electric.el (electric-pair-mode): Improve interaction with
6961 electric-layout-mode.
6962 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6963 (electric-pair-syntax): Use text-mode-syntax-table in comments
6964 and strings.
6965 (electric-pair--insert): New function.
6966 (electric-pair-post-self-insert-function): Use it and
6967 electric--after-char-pos.
6968
ad528125
LL
69692013-06-19 Leo Liu <sdl.web@gmail.com>
6970
6971 * progmodes/octave.el (octave-help): Fix regexp.
6972
924d6997
G
69732013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6974
6975 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6976 (shr-table-horizontal-line): Allow nil as a value, and change the
6977 default.
6978 (shr-insert-table-ruler): Respect the nil value.
6979
69802013-06-18 Tom Tromey <tromey@barimba>
6981
6982 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6983 New defvars.
6984 (eww-open-file): New defun.
6985 (eww-render): Initialize new variables.
6986 (eww-display-html): Handle "link" and "a".
6987 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6988 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6989 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6990 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6991 New defuns.
924d6997 6992
d1bbba4f
DG
69932013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6994
6995 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6996 Distinguish ternary operator tokens from slash symbol and slash
6997 char literal.
6998
14dd22d2
JB
69992013-06-18 Juanma Barranquero <lekktu@gmail.com>
7000
7001 Convert symbol prettification into minor mode and global minor mode.
7002
7003 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7004 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7005 (prettify-symbols--keywords): Rename from
7006 `prog-prettify-symbols-alist' and make a local defvar.
7007 (prettify-symbols--compose-symbol): Rename from
7008 `prog--prettify-font-lock-compose-symbol'.
7009 (prettify-symbols--make-keywords): Rename from
7010 `prog-prettify-font-lock-symbols-keywords' and simplify.
7011 (prog-prettify-install): Remove.
7012 (prettify-symbols-mode): New minor mode, based on
7013 `prog-prettify-install'.
7014 (turn-on-prettify-symbols-mode): New function.
7015 (global-prettify-symbols-mode): New globalized minor mode.
7016
7017 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7018 * progmodes/cfengine.el (cfengine3-mode):
7019 * progmodes/perl-mode.el (perl-mode): Don't call
7020 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7021
292c880c
JL
70222013-06-18 Juri Linkov <juri@jurta.org>
7023
7024 * files-x.el (modify-file-local-variable-message): New function.
7025 (modify-file-local-variable)
7026 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7027 and call `modify-file-local-variable-message' when it's non-nil.
7028 (add-file-local-variable, delete-file-local-variable)
7029 (add-file-local-variable-prop-line)
7030 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7031 and use it. (Bug#9820)
7032
0950aa27
JL
70332013-06-18 Juri Linkov <juri@jurta.org>
7034
7035 * emulation/vi.el (vi-shell-op):
7036 * emulation/vip.el (vip-execute-com, ex-command):
7037 * emulation/viper-cmd.el (viper-exec-bang):
7038 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7039 the call of `shell-command-on-region'. (Bug#14637)
7040
7041 * simple.el (shell-command-on-region): Doc fix.
7042
8fbcca16
SM
70432013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7046 (bug#14633).
7047
dd7426ea
GM
70482013-06-18 Glenn Morris <rgm@gnu.org>
7049
4ba54f7d
GM
7050 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7051
dd7426ea
GM
7052 * newcomment.el (comment-search-forward, comment-search-backward):
7053 Doc fix. (Bug#14376)
7054
58aa805b
JB
70552013-06-18 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7058 (buffer-face-mode-invoke): Doc fix.
7059
9a08a617
MM
70602013-06-18 Matthias Meulien <orontee@gmail.com>
7061
7062 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7063 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7064
f2f426ca
GM
70652013-06-18 Glenn Morris <rgm@gnu.org>
7066
9445f99b
GM
7067 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7068 Replace obsolete function generic-make-keywords with its expansion.
7069
e0df2d14
GM
7070 * progmodes/python.el (ffap-alist): Declare.
7071
f2f426ca
GM
7072 * textmodes/reftex.el (bibtex-mode-map): Declare.
7073
f7f9a720
SM
70742013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7077 (package-unpack, package-unpack-single): Return the pkg-dir.
7078 (package-download-transaction): Use it to update package-alist.
7079
57ff04e0
LMI
70802013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7081
7082 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7083 possible choice.
7084
c048c022
JL
70852013-06-17 Juri Linkov <juri@jurta.org>
7086
7087 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7088
b5bcaee5
DG
70892013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7090
a020afb9
JB
7091 * emacs-lisp/package.el (package-load-descriptor):
7092 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7093 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7094
551e07e5
JB
70952013-06-17 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * startup.el (command-line): Expand package name returned by
7098 `package--description-file' (bug#14639).
7099
d363bffb
DG
71002013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7101
7102 * emacs-lisp/package.el (package-load-descriptor): Do not call
7103 `emacs-lisp-mode', just use its syntax table.
7104
f612933b
JB
71052013-06-17 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7108 `font-lock-extra-managed-props' if any prettifying keyword is added.
7109 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7110 (prog-mode): Use `setq-local'.
7111
db3b7db5
SM
71122013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * international/characters.el (standard-case-table): Set syntax of ?»
7115 and ?« to punctuation.
7116
f3d674df
JB
71172013-06-16 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7120 Save relevant match data before calling `syntax-ppss' (bug#14595).
7121
31489a32
JL
71222013-06-15 Juri Linkov <juri@jurta.org>
7123
7124 * files-x.el (modify-file-local-variable-prop-line): Add local
7125 variables to the end of the existing comment on the first line.
7126 Use `file-auto-mode-skip' to skip interpreter magic line,
7127 and also skip XML declaration.
7128
66bd25ab
SM
71292013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * startup.el (package--builtin-versions): New var.
7132 (package-subdirectory-regexp): Remove.
7133 (package--description-file): Hard code its value instead.
7134
7135 * emacs-lisp/package.el: Don't activate packages older than builtin.
7136 (package-obsolete-list): Rename from package-obsolete-alist, and make
7137 it into a simple list of package-desc.
7138 (package-strip-version): Remove.
7139 (package-built-in-p): Use package--builtin-versions.
7140 (package-mark-obsolete): Simplify.
7141 (package-process-define-package): Mark it obsolete if older than the
7142 builtin version.
7143 (package-handle-response): Use line-end-position.
7144 (package-read-archive-contents, package--download-one-archive):
7145 Simplify.
7146 (package--add-to-archive-contents): Skip if older than the builtin or
7147 installed version.
7148 (package-menu-describe-package): Fix last change.
7149 (package-list-unversioned): New var.
7150 (package-menu--generate): Use it.
7151
7152 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7153 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7154 (autoload-builtin-package-versions): New variable.
7155 (autoload-generate-file-autoloads): Use them.
7156 Remove the list of autoloaded functions/macros from the
7157 (autoload...) comments.
7158
7159 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7160
9583ec36
EZ
71612013-06-15 Eli Zaretskii <eliz@gnu.org>
7162
7163 * simple.el (line-move-partial): Don't jump to the next screen
7164 line as soon as it becomes visible. Instead, continue enlarging
7165 the vscroll until the portion of a tall screen line that's left on
7166 display is about the height of the frame's default font.
7167 (Bug#14567)
7168
f0100d8a
GM
71692013-06-15 Glenn Morris <rgm@gnu.org>
7170
b86a85ca
GM
7171 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7172 compilation-error-regexp-alist void, or local while let-bound.
7173
f0100d8a
GM
7174 * progmodes/make-mode.el (makefile-mode-syntax-table):
7175 Treat "=" as punctuation. (Bug#14614)
7176
05e7ce90
JB
71772013-06-15 Juanma Barranquero <lekktu@gmail.com>
7178
7179 * help-fns.el (describe-variable):
7180 Add extra line for permanent-local variables.
7181
12e5e86e
SH
71822013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7183
7184 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7185 Add export, import, library. (Bug#9164)
7186 (library): Set indent function.
7187
230dcbaf
GM
71882013-06-14 Glenn Morris <rgm@gnu.org>
7189
7190 * term/xterm.el (xterm--query):
7191 Stop after first matching handler. (Bug#14615)
7192
e36b2d20 71932013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7194
7195 Add support for dired in saveplace.
7196 * dired.el (dired-initial-position-hook): New variable.
7197 (dired-initial-position): Call hook to place cursor position.
7198 * saveplace.el (save-place-to-alist): Add dired position.
7199 (save-place-dired-hook): New function.
7200
0b31660d
SM
72012013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7202
bf1e6ae8
SM
7203 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7204 through a symbol rather than letrec.
7205
1b8dff23
SM
7206 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7207 (package-desc): Add `dir' field.
7208 (package-desc-full-name): New function.
7209 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7210 (package-maybe-load-descriptor): Remove.
7211 (package-load-all-descriptors): Just call package-load-descriptor.
7212 (package--disabled-p): New function.
7213 (package-desc-vers, package-desc-doc): Remove aliases.
7214 (package--dir): Remove function.
7215 (package-activate): Check if a package is disabled.
7216 (package-process-define-package): New function, extracted from
7217 define-package.
7218 (define-package): Turn into a place holder.
7219 (package-unpack-single, package-tar-file-info):
7220 Use package--description-file.
7221 (package-compute-transaction): Use package--disabled-p.
7222 (package-download-transaction): Don't call
7223 package-maybe-load-descriptor since they're all loaded anyway.
7224 (package-install): Change argument to be a pkg-desc.
7225 (package-delete): Use a single pkg-desc argument.
7226 (describe-package-1): Use package-desc-dir instead of package--dir.
7227 Use package-desc property instead of package-symbol.
7228 (package-install-button-action): Adjust accordingly.
7229 (package--push): Rewrite.
7230 (package-menu--print-info): Adjust accordingly. Change the ID format
7231 to be a pkg-desc.
7232 (package-menu-describe-package, package-menu-get-status)
7233 (package-menu--find-upgrades, package-menu-mark-upgrades)
7234 (package-menu-execute, package-menu--name-predicate):
7235 Adjust accordingly.
7236 * startup.el (package--description-file): New function.
7237 (command-line): Use it.
7238 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7239 Use package-desc-version.
7240
0b31660d
SM
7241 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7242 (byte-compile-preprocess): Use it.
7243 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7244 can't quite recognize.
7245 (byte-compile-add-to-list): Remove.
7246 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7247 (cconv-closure-convert): Add assertion.
7248
7249 * emacs-lisp/map-ynp.el: Use lexical-binding.
7250 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7251 Factor out some repeated code.
7252
de0503df
SM
72532013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * subr.el (with-eval-after-load): New macro.
7256 (eval-after-load): Allow form to be a function.
7257 take advantage of lexical-binding.
7258 (do-after-load-evaluation): Use dolist and adjust to new format.
7259 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7260
bc5c8c5a
JL
72612013-06-13 Juri Linkov <juri@jurta.org>
7262
7263 * replace.el (perform-replace): Display "symbol " and other search
7264 modes from `isearch-message-prefix' in the *Help* buffer.
7265
7266 * isearch.el (isearch-query-replace): Add " symbol" and other
7267 possible search modes from `isearch-message-prefix' to the prompt.
7268 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7269 when reading a regexp to collect.
7270
a22289f7
JL
72712013-06-13 Juri Linkov <juri@jurta.org>
7272
7273 * isearch.el (word-search-regexp): Match whitespace if the search
7274 string begins or ends in whitespace. The LAX arg is applied to
7275 both ends of the search string. Use `regexp-quote' and explicit
7276 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7277 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7278 boundaries are replaced with symbol boundaries, and characters
7279 between symbols match non-word non-symbol syntax. (Bug#14602)
7280
cb89acab
JL
72812013-06-13 Juri Linkov <juri@jurta.org>
7282
7283 * isearch.el (isearch-del-char): Don't exceed the length of
7284 `isearch-string' by the prefix arg. (Bug#14563)
7285
6e8cfc81
JL
72862013-06-13 Juri Linkov <juri@jurta.org>
7287
7288 * isearch.el (isearch-yank-word, isearch-yank-line)
7289 (isearch-char-by-name, isearch-quote-char)
7290 (isearch-printing-char, isearch-process-search-char):
7291 Add optional count prefix arg. (Bug#14563)
7292
7293 * international/isearch-x.el
7294 (isearch-process-search-multibyte-characters):
7295 Add optional count prefix arg.
7296
c23d55f4
VS
72972013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7300 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7301 lexical-binding.
7302
73032013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7304
7305 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7306
ba947bc4
GM
73072013-06-13 Glenn Morris <rgm@gnu.org>
7308
8baeb37a
GM
7309 * startup.el (tty-handle-args):
7310 Don't just discard "--" and anything after. (Bug#14608)
7311
ba947bc4
GM
7312 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7313
9abefce4
MA
73142013-06-13 Michael Albinus <michael.albinus@gmx.de>
7315
7316 Implement changes in Secret Service API. Make it backward compatible.
7317 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7318 (secrets-create-item): Use it. Prefix properties with interface.
7319
5755011f
MH
73202013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7321
7322 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7323 (term-emulate-terminal): Respect term-suppress-hard-newline.
7324
1261d2da
S
73252013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7326
7327 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7328 Only remove a `thumb-file' overlay. (Bug#14548)
7329
868490bb
GJ
73302013-06-12 Grégoire Jadi <daimrod@gmail.com>
7331
7332 * mail/reporter.el (reporter-submit-bug-report):
7333 Handle missing package-name. (Bug#14600)
7334
79d7167f
TH
73352013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7336
7337 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7338 (reftex-citation-prompt, reftex-default-bibliography)
7339 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7340 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7341 (reftex-bib-sort-author, reftex-bib-sort-year)
7342 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7343 (reftex-extract-bib-entries-from-thebibliography)
7344 (reftex-get-bibkey-default, reftex-get-bib-names)
7345 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7346 (reftex-format-bib-entry, reftex-parse-bibitem)
7347 (reftex-format-bibitem, reftex-do-citation)
7348 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7349 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7350 (reftex-insert-bib-matches, reftex-format-citation)
7351 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7352 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7353 existing comments into docstrings.
7354
5f9dbd7a
XF
73552013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7356
7357 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7358
94df41ab
AS
73592013-06-12 Andreas Schwab <schwab@suse.de>
7360
7361 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7362 for auto-save files.
7363
a7f3fecc
GM
73642013-06-12 Glenn Morris <rgm@gnu.org>
7365
001809f6
GM
7366 * ido.el (ido-delete-ignored-files): Remove.
7367 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7368 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7369
834b5ded
EL
73702013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7371
08c73ed2
EL
7372 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7373
834b5ded
EL
7374 * ido.el (ido-delete-ignored-files): New function,
7375 split from ido-make-file-list-1.
7376 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7377 (ido-make-file-list-1): Use ido-delete-ignored-files.
7378
daabf15a
LL
73792013-06-12 Leo Liu <sdl.web@gmail.com>
7380
7381 * progmodes/octave.el (inferior-octave-startup)
7382 (inferior-octave-completion-table)
7383 (inferior-octave-track-window-width-change)
7384 (octave-eldoc-function-signatures, octave-help)
7385 (octave-find-definition): Use single quoted strings.
7386 (inferior-octave-startup-args): Change default value.
7387 (inferior-octave-startup): Do not hard code "-i" and
7388 "--no-line-editing".
7389 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7390 (inferior-octave-directory-tracker): Use it.
7391 (octave-goto-function-definition): Robustify.
7392 (octave-help): Support highlighting operators in 'See also'.
7393 (octave-find-definition): Find subfunctions only in Octave mode.
7394
cf4e5178
SM
73952013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * help-fns.el (help-fns--compiler-macro): If the handler function is
7398 named, then put a link to it.
7399 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7400 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7401 (cl-typep): Use it.
7402 (cl-eval-when): Simplify debug spec.
7403 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7404 compiler-macro function instead of setting `compiler-macro-file'.
7405
99c81280 74062013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7407
7408 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7409 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7410
f56be016
SM
74112013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7412 Daniel Hackney <dan@haxney.org>
7413
7414 First part of Daniel Hackney's patch to package.el.
7415 * emacs-lisp/package.el: Use defstruct.
7416 (package-desc): New, main struct.
7417 (package--bi-desc, package--ac-desc): New structs, used to describe the
7418 format in external files.
7419 (package-desc-vers): Replace with package-desc-version accessor.
7420 (package-desc-doc): Replace with package-desc-summary accessor.
7421 (package-activate-1): Remove `package' arg since the pkg-vec now
7422 includes the name.
7423 (define-package): Use package-desc-from-define.
7424 (package-unpack-single): Change file-name arg to be a symbol.
7425 (package--add-to-archive-contents): Use package-desc-create and new
7426 accessor functions to package--ac-desc.
7427 (package-buffer-info, package-tar-file-info): Return a package-desc.
7428 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7429 arg to be a package-desc.
7430 (package-install-file): Adjust accordingly. Use \' to match EOS.
7431 (package--from-builtin): New function.
7432 (describe-package-1, package-menu--generate): Use it.
7433 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7434 (package-generate-autoloads): Idem and return the name of the file.
7435 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7436 Change pkg-info arg to be a package-desc.
7437 Use package-make-ac-desc.
7438 (package-upload-file): Use \' to match EOS.
7439 * finder.el (finder-compile-keywords): Use package-make-builtin.
7440
31119d63
SM
74412013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7442
931a2762
SM
7443 * vc/vc.el (vc-deduce-fileset): Change error message.
7444 (vc-read-backend): New function.
7445 (vc-next-action): Use it.
7446
5a3eb0c6
SM
7447 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7448
e3eb1bb7
SM
7449 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7450 (prolog-font-lock-keywords): Use regexp-opt instead.
7451 Don't manually highlight strings.
7452 (prolog-mode-variables): Simplify comment-start-skip.
7453 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7454
31119d63
SM
7455 * emacs-lisp/generic.el (generic--normalise-comments)
7456 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7457 (generic-mode-set-comments): Use them.
7458 (generic-bracket-support): Use setq-local.
7459 (generic-make-keywords-list): Declare obsolete.
7460
7de135d0
GM
74612013-06-11 Glenn Morris <rgm@gnu.org>
7462
7463 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7464 Prettify after setting font-lock-defaults. (Bug#14574)
7465
fa6bc6fd
JB
74662013-06-11 Juanma Barranquero <lekktu@gmail.com>
7467
7468 * replace.el (query-replace, occur-read-regexp-defaults-function)
7469 (replace-search):
7470 * subr.el (declare-function, number-sequence, local-set-key)
7471 (substitute-key-definition, locate-user-emacs-file)
7472 (with-silent-modifications, split-string, eval-after-load):
7473 Fix typos, remove unneeded backslashes and reflow some docstrings.
7474
cf1f9b9a
SM
74752013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7478 default for Elisp files.
7479
56602a4b
GM
74802013-06-11 Glenn Morris <rgm@gnu.org>
7481
7482 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7483 although define-derived-mode was doing this anyway. (Bug#14583)
7484
30ae0b2c
JB
74852013-06-10 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7488 Fix make-variable-buffer-local call to refer to the correct variable.
7489
fa472906
AG
74902013-06-10 Aidan Gauland <aidalgol@amuri.net>
7491
7492 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7493 (eshell-visual-subcommands, eshell-visual-options):
7494 Add summary line to docstrings. Add cross-references.
fa472906 7495
ff4871b9
GM
74962013-06-10 Glenn Morris <rgm@gnu.org>
7497
7498 * epa.el (epa-read-file-name): New function. (Bug#14510)
7499 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7500
04fcf1b0
AG
75012013-06-09 Aidan Gauland <aidalgol@amuri.net>
7502
7503 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7504 output redirection to be ignored with visual commands.
7505
88b00caa
AG
75062013-06-09 Aidan Gauland <aidalgol@amuri.net>
7507
7508 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7509 (eshell-term-initialize): Move long lambda to separate function
7510 eshell-visual-command-p.
e7b41c4c
JB
7511 * eshell/em-dirs.el (eshell-dirs-initialise):
7512 * eshell/em-script.el (eshell-script-initialize):
7513 Add missing #' to lambda.
88b00caa 7514
fda74125
LL
75152013-06-08 Leo Liu <sdl.web@gmail.com>
7516
7517 * progmodes/octave.el (octave-add-log-current-defun): New function.
7518 (octave-mode): Set add-log-current-defun-function.
7519 (octave-goto-function-definition): Do not move point if not found.
7520 (octave-find-definition): Enhance to try subfunctions first.
7521
467f3b33
GM
75222013-06-08 Glenn Morris <rgm@gnu.org>
7523
7524 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7525 (byte-compile-backward-char, byte-compile-backward-word):
7526 Improve previous change, to handle non-explicit nil.
7527
544badc3
SM
75282013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7531 (smie--opener/closer-at-point): New function.
7532 (smie--matching-block-data): Use it. Don't match from right after an
7533 opener or right before a closer. Obey smie-blink-matching-inners.
7534 Don't signal a mismatch for repeated inners like "switch..case..case".
7535
a175bf33
LL
75362013-06-07 Leo Liu <sdl.web@gmail.com>
7537
7538 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7539 to t. (Bug#14303)
ce8209d4
LL
7540 (octave-function-header-regexp): Fix. (Bug#14570)
7541 (octave-help-mode-finish-hook, octave-help-mode-finish):
7542 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7543
7544 * newcomment.el (comment-search-backward): Revert last change.
7545 (Bug#14434)
7546
7547 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7548
a822acff
EZ
75492013-06-07 Eli Zaretskii <eliz@gnu.org>
7550
7551 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7552 through xargs, to avoid failure due to MS-Windows limitations on
7553 command-line length.
7554
961166f5
GM
75552013-06-06 Glenn Morris <rgm@gnu.org>
7556
d0341459
GM
7557 * font-lock.el (lisp-font-lock-keywords-2):
7558 Treat user-error like error.
7559
961166f5
GM
7560 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7561 (byte-compile-backward-char, byte-compile-backward-word):
7562 Handle explicit nil arguments. (Bug#14565)
7563
80fa505f
AM
75642013-06-05 Alan Mackenzie <acm@muc.de>
7565
7566 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7567 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7568 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7569 (Bug#9706)
80fa505f 7570
fccdc796
SM
75712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * autorevert.el (auto-revert-notify-handler): Use memq.
7574 Hide assertion failure.
7575
7576 * skeleton.el: Use cl-lib.
7577 (skeleton-further-elements): Use defvar-local.
7578 (skeleton-insert): Use cl-progv.
7579
9bfff84b
TZ
75802013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7581
7582 * progmodes/prog-mode.el (prog-prettify-symbols)
7583 (prog-prettify-install): Update docstrings.
7584
55577e7c
SM
75852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * simple.el: Move all the prog-mode code to prog-mode.el.
7588 * progmodes/prog-mode.el: New file.
7589 * loadup.el: Add prog-mode.el.
7590
8fc57765
TZ
75912013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7592
7593 * simple.el (prog-prettify-symbols): Add version.
7594 (prog-prettify-install): Add convenience function to prettify symbols.
7595
7596 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7597 (perl--augmented-font-lock-keywords-1)
7598 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7599 variables and use it.
7600
7601 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7602 (cfengine3-mode): Remove unneeded variable and use it.
7603
7604 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7605 (lisp--augmented-font-lock-keywords-1)
7606 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7607 Remove unneeded variables and use it.
7608
650645d5 76092013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7610
7611 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7612 to point when opening the connection. (Bug#14380)
28f5da6d 7613
781b4af6
SM
76142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * subr.el (load-history-regexp, load-history-filename-element)
7617 (eval-after-load, after-load-functions, do-after-load-evaluation)
7618 (eval-next-after-load, display-delayed-warnings)
7619 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7620 definition of save-match-data.
7621 (overriding-local-map): Remove accidental obsolescence declaration.
7622
7623 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7624
3ca0d0b4
TZ
76252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7626
7627 Generalize symbol prettify support to prog-mode and implement it
7628 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7629 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7630 (prog--prettify-font-lock-compose-symbol)
7631 (prog-prettify-font-lock-symbols-keywords): New variables and
7632 functions to support symbol prettification.
7633 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7634 (lisp--augmented-font-lock-keywords-1)
7635 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7636 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7637 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7638 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7639 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7640 * progmodes/perl-mode.el (perl-prettify-symbols)
7641 (perl--font-lock-compose-symbol)
7642 (perl--font-lock-symbols-keywords): Move to prog-mode.
7643 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7644 (perl-font-lock-keywords-1)
7645 (perl-font-lock-keywords-2): Remove explicit prettify support.
7646 (perl--augmented-font-lock-keywords)
7647 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7648 (perl--augmented-font-lock-keywords-2, perl-mode):
7649 Implement prettify support.
3ca0d0b4 7650
976cb066
LL
76512013-06-05 Leo Liu <sdl.web@gmail.com>
7652
7653 Re-implement smie matching block highlight using
7654 show-paren-data-function. (Bug#14395)
7655 * emacs-lisp/smie.el (smie-matching-block-highlight)
7656 (smie--highlight-matching-block-overlay)
7657 (smie--highlight-matching-block-lastpos)
7658 (smie-highlight-matching-block)
7659 (smie-highlight-matching-block-mode): Remove.
7660 (smie--matching-block-data-cache): New variable.
7661 (smie--matching-block-data): New function.
7662 (smie-setup): Use smie--matching-block-data for
7663 show-paren-data-function.
7664
7665 * progmodes/octave.el (octave-mode-menu): Fix.
7666 (octave-find-definition): Skip garbage lines.
7667
208d0342
SM
76682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 Fix compilation error with simultaneous dynamic+lexical scoping.
7671 Add warning when a defvar appears after the first let-binding.
7672 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7673 (byte-compile-close-variables): Initialize it.
7674 (byte-compile--declare-var): New function.
7675 (byte-compile-file-form-defvar)
7676 (byte-compile-file-form-define-abbrev-table)
7677 (byte-compile-file-form-custom-declare-variable): Use it.
7678 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7679 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7680 (byte-compile-bind): Handle dynamic bindings that shadow
7681 lexical bindings.
7682 (byte-compile-unbind): Make arg non-optional.
7683 (byte-compile-let): Simplify.
7684 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7685 (cconv--analyse-function, cconv-analyse-form): Populate it.
7686 Protect byte-compile-bound-variables to limit the scope of defvars.
7687 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7688 Remove unneeded rule for `declare'.
7689
7690 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7691 so as to avoid depending on cl-adjoin at run-time.
7692 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7693
7694 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7695 (macroexp--warn-and-return): Use it.
7696
1ac2891e
GM
76972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * lisp/subr.el: Convert to lexical binding.
7700 (overriding-local-map): Make obsolete.
7701 (add-to-list): Doc fix. Add compiler macro.
7702 (read-key): Swap values of local maps.
7703
2587b005
LL
77042013-06-05 Leo Liu <sdl.web@gmail.com>
7705
7706 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7707
f1da3c88
LL
77082013-06-04 Leo Liu <sdl.web@gmail.com>
7709
7710 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7711 (compilation-auto-jump): Suppress the "Mark set" message to give
7712 way to exit message.
7713
3caa391f
AM
77142013-06-04 Alan Mackenzie <acm@muc.de>
7715
7716 Remove faulty optimisation from indentation calculation.
7717 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7718 search limit based on 2000 characters back from indent-point.
7719
068922a2
TH
77202013-06-03 Tassilo Horn <tsdh@gnu.org>
7721
7722 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7723
1f8fdd53
SM
77242013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7725
bbcc4d97
SM
7726 * emacs-lisp/lisp.el: Use lexical-binding.
7727 (lisp--local-variables-1, lisp--local-variables): New functions.
7728 (lisp--local-variables-completion-table): New var.
208d0342 7729 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7730
1f8fdd53
SM
7731 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7732 eagerly (bug#14422).
7733
c9628c79
MA
77342013-06-03 Michael Albinus <michael.albinus@gmx.de>
7735
7736 * autorevert.el (auto-revert-notify-enabled)
7737 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7738 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7739 (auto-revert-notify-handler): Handle also gfilenotify.
7740
e7b41c4c 7741 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7742 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7743 Remove.
c9628c79 7744
e5e4a942
JL
77452013-06-03 Juri Linkov <juri@jurta.org>
7746
7747 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7748 `M-s h .'. (Bug#14427)
7749
7750 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7751 command `hi-lock-face-symbol-at-point'.
7752 (hi-lock-face-symbol-at-point): New command.
7753 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7754 (hi-lock-menu): Add `highlight-symbol-at-point'.
7755 (hi-lock-mode): Doc fix.
7756
7757 * isearch.el (isearch-forward-symbol-at-point): New command.
7758 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7759 (isearch-highlight-regexp): Add a regexp which matches
7760 words/symbols for word/symbol mode.
7761
7762 * subr.el (find-tag-default-bounds): New function with the body
7763 mostly moved from `find-tag-default'.
7764 (find-tag-default): Move most code to `find-tag-default-bounds',
7765 call it and apply `buffer-substring-no-properties' afterwards.
7766
26b3353a
TH
77672013-06-03 Tassilo Horn <tsdh@gnu.org>
7768
781b4af6
SM
7769 * eshell/em-term.el (eshell-term-initialize):
7770 Use `cl-intersection' rather than `intersection'.
26b3353a 7771
51b60f53
XF
77722013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7773
fe054b63 7774 * vc/log-view.el: Doc fix.
d3ffe17c 7775 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7776
a0eb10b3 77772013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7778
7779 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7780 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7781 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7782 (eieio-unbound, eieio-default-superclass)
7783 (eieio--define-field-accessors, method-static, method-before)
7784 (method-primary, method-after, method-num-lists)
7785 (method-generic-before, method-generic-primary)
7786 (method-generic-after, method-num-slots)
7787 (eieio-specialized-key-to-generic-key)
7788 (eieio--check-type, class-v, class-p)
7789 (eieio-class-name, define-obsolete-function-alias)
7790 (eieio-class-parents-fast, eieio-class-children-fast)
7791 (same-class-fast-p, class-constructor, generic-p)
7792 (generic-primary-only-p, generic-primary-only-one-p)
7793 (class-option-assoc, class-option, eieio-object-p)
7794 (class-abstract-p, class-method-invocation-order)
7795 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7796 (eieio-class-un-autoload, eieio-defclass)
7797 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7798 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7799 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7800 (eieio-defgeneric-reset-generic-form)
7801 (eieio-defgeneric-form-primary-only)
7802 (eieio-defgeneric-reset-generic-form-primary-only)
7803 (eieio-defgeneric-form-primary-only-one)
7804 (eieio-defgeneric-reset-generic-form-primary-only-one)
7805 (eieio-unbind-method-implementations)
7806 (eieio--defmethod, eieio--typep)
7807 (eieio-perform-slot-validation, eieio-validate-slot-value)
7808 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7809 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7810 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7811 (eieio-slot-name-index, eieio-class-slot-name-index)
7812 (eieio-set-defaults, eieio-initarg-to-attribute)
7813 (eieio-attribute-to-initarg, eieio-c3-candidate)
7814 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7815 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7816 (eieio-class-precedence-list, eieio-generic-call-methodname)
7817 (eieio-generic-call-arglst, eieio-generic-call-key)
7818 (eieio-generic-call-next-method-list)
7819 (eieio-pre-method-execution-functions, eieio-generic-call)
7820 (eieio-generic-call-primary-only, eieiomt-method-list)
7821 (eieiomt-optimizing-obarray, eieiomt-install)
7822 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7823 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7824 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7825 (defclass): Remove `eval-and-compile' from macro.
7826 (call-next-method, shared-initialize): Instead of using
7827 `scoped-class' variable, use new eieio--scoped-class, and
7828 eieio--with-scoped-class.
7829 (initialize-instance): Rename local variable 'scoped-class' to
7830 'this-class' to remove ambiguitity from old global.
7831
7832 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7833 eieio.el.
4f405069
JB
7834 (eieio--scoped-class-stack): New variable.
7835 (eieio--scoped-class): New fcn.
890f7890
DE
7836 (eieio--with-scoped-class): New scoping macro.
7837 (eieio-defclass): Use pushnew instead of add-to-list.
7838 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7839 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7840 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7841 `scoped-class' variable, use new eieio--scoped-class, and
7842 eieio--with-scoped-class.
7843
7844 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7845
d105b0e2
TH
78462013-06-02 Tassilo Horn <tsdh@gnu.org>
7847
7848 * eshell/esh-ext.el (eshell-external-command): Pass args to
7849 `eshell-find-interpreter'.
7850 (eshell-find-interpreter): Add new second parameter ARGS.
7851
7852 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7853 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7854
7855 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7856 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7857
7858 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7859 (eshell-visual-options): New defcustom.
7860 (eshell-escape-control-x): Adapt docstring.
7861 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7862 `eshell-visual-options' in addition to `eshell-visual-commands'.
7863 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7864
f46305c8 78652013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7866
7867 * progmodes/python.el (python-indent-block-enders): Add break,
7868 continue and raise keywords.
7869
d870df21
GM
78702013-06-01 Glenn Morris <rgm@gnu.org>
7871
9133b82e
GM
7872 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7873
02c992ec 7874 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7875 * progmodes/cc-cmds.el (delete-forward-p):
7876 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7877 * progmodes/cc-engine.el (buffer-syntactic-context):
7878 * progmodes/cc-fonts.el (face-property-instance):
7879 * progmodes/cc-mode.el (set-keymap-parents):
7880 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7881 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7882 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7883 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7884 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7885
31e7b090
GM
7886 * progmodes/cc-vars.el (other): Emacs has this widget since
7887 at least 21.1, so don't (re)define it.
7888
d870df21
GM
7889 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7890 Replace the obsolete alias pcomplete-arg-quote-list.
7891
c75c93c7
LL
78922013-06-01 Leo Liu <sdl.web@gmail.com>
7893
7894 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7895 punctuation syntax.
7896 (inferior-octave-minimal-columns)
7897 (inferior-octave-last-column-width): New variables.
7898 (inferior-octave-track-window-width-change): New function.
7899 (inferior-octave-mode): Adjust column width so that Octave output,
7900 for example from 'ls', can fit into the window nicely.
7901
973d1e12
DG
79022013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7903
7904 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7905 Highlight expansions inside regexp literals.
7906
0888c286
GM
79072013-05-31 Glenn Morris <rgm@gnu.org>
7908
e26aac1f
GM
7909 * obsolete/sym-comp.el (symbol-complete):
7910 Replace obsolete completion-annotate-function.
7911
0888c286
GM
7912 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7913
19bb8e62
DG
79142013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7915
781b4af6
SM
7916 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7917 New function, checks if point is inside a literal that allows
19bb8e62
DG
7918 expression expansion.
7919 (ruby-syntax-propertize-expansion): Use it.
7920 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7921 around the body.
7922
01dea85f
JL
79232013-05-30 Juri Linkov <juri@jurta.org>
7924
7925 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7926 to "\M-si".
7927 (isearch-invisible): New variable.
7928 (isearch-forward): Doc fix.
7929 (isearch-mode): Set `isearch-invisible'
7930 to the value of `search-invisible'.
7931 (isearch-toggle-case-fold): Doc fix.
7932 (isearch-toggle-invisible): New command.
7933 (isearch-query-replace): Let-bind `search-invisible'
7934 to the value of `isearch-invisible'.
7935 (isearch-search): Use `isearch-invisible' instead of
7936 `search-invisible'. Let-bind `search-invisible'
7937 to the value of `isearch-invisible'. (Bug#11378)
7938
ab1bdce5
JL
79392013-05-30 Juri Linkov <juri@jurta.org>
7940
7941 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7942 call when `query-flag' is nil and `search-invisible' is non-nil.
7943 (Bug#11746)
7944
d6d236e2
GM
79452013-05-30 Glenn Morris <rgm@gnu.org>
7946
8accd027
GM
7947 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7948
2a8bed1c
GM
7949 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7950 (cc-require): Suppress spurious "noruntime" warnings.
7951 (cc-require-when-compile): Use fboundp, for sake of compiler.
7952
d6d236e2
GM
7953 * progmodes/cc-mode.el: Move load of cc-vars before that of
7954 cc-langs (which in turn loads cc-vars), to quieten compiler.
7955
9190b35b
SM
79562013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * paren.el: Simplify the code.
7959 (show-paren-mode): Always start the timer.
7960 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7961 (show-paren--overlay, show-paren--overlay-1): Rename from
7962 show-paren-overlay and show-paren-overlay-1, and initialize to an
7963 overlay rather than to nil.
7964 (show-paren-function): Misc cleanup and simplifications.
7965
4f8d1cf6
SM
79662013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * paren.el (show-paren-data-function): New hook.
7969 (show-paren--default): New function, extracted from show-paren-function.
7970 (show-paren-function): Use show-paren-data-function.
7971
02d844b5
GM
79722013-05-30 Glenn Morris <rgm@gnu.org>
7973
d209d4a9
GM
7974 * ielm.el (ielm-map, ielm-complete-symbol):
7975 Use completion-at-point rather than obsolete functions.
7976 (inferior-emacs-lisp-mode): Doc fix.
7977 Set completion-at-point-functions, rather than
7978 comint-dynamic-complete-functions.
7979
2082faa6
GM
7980 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7981 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7982 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7983
dd8620de
GM
7984 * image.el (image-animated-p): Tweak definition.
7985
ceca95b1
GM
7986 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7987 (rlogin-process-connection-type): Tweak default. Add set-after.
7988 (rlogin-host): Doc fix.
7989 (rlogin): Tweak prompt.
7990 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7991
ee9f1acc
GM
7992 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7993 * progmodes/tcl.el (inferior-tcl-mode-map):
7994 Use completion-at-point rather than obsolete alias.
7995
45ce222e
GM
7996 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7997
02d844b5
GM
7998 * minibuffer.el (read-file-name-completion-ignore-case):
7999 Move before completion--in-region, for eager macro expansion.
8000
ac44d6c1
JL
80012013-05-29 Juri Linkov <juri@jurta.org>
8002
8003 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8004 for total count of matching lines. Add `global-matches' for total
8005 count of matches. Rename `matches' to `lines' for count of
8006 matching lines. Add `matches' for count of matches.
8007 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8008 to `prev-line' for line number of prev match endpt.
8009 Increment `matches' for every match. Print the number of
8010 matching lines in the header.
8011 (occur-context-lines): Rename `lines' to `curr-line'.
8012 Rename `prev-lines' to `prev-line'. (Bug#14017)
8013
3c9c9d38
JL
80142013-05-29 Juri Linkov <juri@jurta.org>
8015
8016 * replace.el (perform-replace): Add `skip-read-only-count',
8017 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8018 Increment them for corresponding conditions and report the number
8019 of skipped occurrences in the final message. (Bug#11746)
8020 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8021 (replace-string, replace-regexp): Doc fix.
8022
33e249a2
SM
80232013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8024
8e399682
SM
8025 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8026
33e249a2 8027 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8028 prog-mode-map (bug#14504).
33e249a2 8029
f236dd84
LL
80302013-05-29 Leo Liu <sdl.web@gmail.com>
8031
8032 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8033 (octave-help): Small simplification.
8034
8035 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8036 off the highlight first.
8037
3694d13f
GM
80382013-05-29 Glenn Morris <rgm@gnu.org>
8039
03983bdc
GM
8040 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8041 Handle idlwave-last-system-routine-info-cons-cell being nil.
8042
bc74a74a
GM
8043 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8044 (idlwave-write-paths): Simplify via with-temp-buffer.
8045
8b394200
GM
8046 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8047 * emulation/cua-rect.el: Also load cua-base at run time.
8048
3694d13f
GM
8049 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8050 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8051 (cperl-imenu-on-info): Require imenu.
8052
336d7284
AM
80532013-05-28 Alan Mackenzie <acm@muc.de>
8054
8055 Handle "capitalised keywords" correctly.
33e249a2 8056 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8057
cb29c582
AG
80582013-05-28 Aidan Gauland <aidalgol@amuri.net>
8059
781b4af6 8060 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8061
690e44b2
GM
80622013-05-28 Glenn Morris <rgm@gnu.org>
8063
e658d75c
GM
8064 * vc/vc-arch.el (vc-exec-after): Declare.
8065 (vc-switches): Autoload.
8066 * vc/vc-bzr.el: No need to require vc when compiling.
8067 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8068 (vc-resynch-buffer, vc-dir-refresh): Declare.
8069 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8070 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8071 (vc-resynch-buffer): Declare.
8072 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8073 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8074 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8075 (grep-read-regexp, grep-read-files, grep-expand-template)
8076 (vc-dir-refresh): Declare.
8077 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8078 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8079 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8080 * vc/vc-mtn.el (vc-exec-after): Declare.
8081 (vc-switches): Autoload.
8082 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8083 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8084 (vc-file-tree-walk): Declare.
712b9732
GM
8085 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8086 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8087 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8088 * vc/vc-svn.el (vc-exec-after): Declare.
8089 (vc-switches, vc-setup-buffer): Autoload.
8090 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8091 Autoload.
8092 (vc-resynch-buffer): Declare.
8093
98e87fb3
GM
8094 * obsolete/fast-lock.el (byte-compile-warnings):
8095 Don't warn about obsolete features in this obsolete file.
8096
f5379553
GM
8097 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8098 Move definition before use.
8099
7a20ef83
GM
8100 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8101 (dun-unix-verbs): Remove dun-zippy.
8102 (dun-zippy): Remove function.
8103
690e44b2
GM
8104 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8105
3a52ccf7
JL
81062013-05-27 Juri Linkov <juri@jurta.org>
8107
8108 * replace.el (replace-search): New function with code moved out
8109 from `perform-replace'.
8110 (replace-highlight, replace-dehighlight): Move function definitions
8111 up closer to `replace-search'. (Bug#11746)
8112
d289938a
JL
81132013-05-27 Juri Linkov <juri@jurta.org>
8114
8115 * replace.el (perform-replace): Ignore invisible matches.
8116 In addition to checking `query-replace-skip-read-only', also
8117 filter out matches by calling `run-hook-with-args-until-failure'
8118 on `isearch-filter-predicates', and also check `search-invisible'
8119 for t or call `isearch-range-invisible'.
8120 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8121
66fc57e3
JL
81222013-05-27 Juri Linkov <juri@jurta.org>
8123
8124 * isearch.el (isearch-filter-predicates): Rename from
8125 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8126 (isearch-message-prefix): Display text from the property
8127 `isearch-message-prefix' of the currently active filters.
8128 (isearch-search): Don't compare `isearch-filter-predicate' with
8129 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8130 on `isearch-filter-predicates'. Also check `search-invisible' for t
8131 or call `isearch-range-invisible'.
8132 (isearch-filter-visible): Make obsolete.
8133 (isearch-lazy-highlight-search):
8134 Call `run-hook-with-args-until-failure' on
8135 `isearch-filter-predicates' and use `isearch-range-invisible'.
8136
8137 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8138 `isearch-filter-predicates' instead of `funcall'ing
8139 `isearch-filter-predicate'.
8140 (Info-mode): Set `Info-isearch-filter' to
8141 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8142
8143 * dired-aux.el (dired-isearch-filter-predicate-orig):
8144 Remove variable.
8145 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8146 (dired-isearch-filenames-end): Add and remove
8147 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8148 instead of changing the value of `isearch-filter-predicate'.
8149 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8150 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8151 Put property `isearch-message-prefix' to "filename " on
8152 `dired-isearch-filter-filenames'.
8153
8154 * wdired.el (wdired-change-to-wdired-mode):
8155 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8156 locally instead of changing `isearch-filter-predicate'.
8157 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8158
f1a60a0f
DG
81592013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8160
8161 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8162 return the commit hash (Bug#14459). Also set the
8163 `vc-git-detached' property.
8164 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8165 (vc-git-mode-line-string): Use the same help-echo format whether
8166 in detached mode or not, because we know the actual revision now.
8167 When in detached mode, shorten the revision to 7 chars.
8168
7f17cc40
SM
81692013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * emacs-lisp/easy-mmode.el (define-minor-mode):
8172 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8173 mode hook and provide a docstring.
8174
25c8401c
AM
81752013-05-27 Alan Mackenzie <acm@muc.de>
8176
8177 Remove spurious syntax-table text properties inserted by C-y.
8178 * progmodes/cc-mode.el (c-after-change): Also clear hard
8179 syntax-table property with value nil.
8180
dde84790
MA
81812013-05-27 Michael Albinus <michael.albinus@gmx.de>
8182
8183 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8184 when reading the events; the buffer layout shall not be changed.
8185
837fd9af
LL
81862013-05-27 Leo Liu <sdl.web@gmail.com>
8187
8188 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8189 New variable.
8190 (inferior-octave-directory-tracker): Automatically re-sync
8191 default-directory.
8192 (octave-help): Improve handling of 'See also'.
8193
4fd996b3
SM
81942013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8195
416f1802
SM
8196 * doc-view.el: Minor naming convention tweaks.
8197 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8198
4fd996b3
SM
8199 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8200 even if there's no `display' property yet (bug#14435).
8201
a052ef3b
EZ
82022013-05-25 Eli Zaretskii <eliz@gnu.org>
8203
4fd996b3 8204 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8205
8206 * Makefile.in (custom-deps, finder-data, autoloads)
8207 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8208 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8209 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8210
c9023370
SM
82112013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8214 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8215 Don't burp at EOB.
c9023370 8216
24d699fa
LL
82172013-05-25 Leo Liu <sdl.web@gmail.com>
8218
8219 * comint.el (comint-previous-matching-input): Do not flood the
8220 *Messages* buffer with trivial messages.
8221
17e5c0cc
SM
82222013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * progmodes/flymake.el (flymake-nop): Don't return a string.
8225 (flymake-set-at): Fix typo.
8226
8227 * simple.el (read--expression): New function, extracted from
8228 eval-expression. Set completion-at-point-functions (bug#14465).
8229 (eval-expression, eval-minibuffer): Use it.
8230
5d028165
XF
82312013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8232
8233 * progmodes/flymake.el (flymake-save-buffer-in-file)
8234 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8235 (flymake-selected-frame, flymake-log, flymake-ins-after)
8236 (flymake-set-at, flymake-get-buildfile-from-cache)
8237 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8238 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8239 Refine the doc string.
8240 (flymake-get-file-name-mode-and-masks): Reformat.
8241 (flymake-get-real-file-name-function): Fix a minor bug.
8242
7a1d7ba7
JL
82432013-05-24 Juri Linkov <juri@jurta.org>
8244
8245 * progmodes/grep.el (grep-mode-font-lock-keywords):
8246 Support =linenumber= format used by git-grep for lines with
8247 function names. (Bug#13549)
8248
650cff3d
SM
82492013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8252 0 after a semi-colon; it works better for smie-auto-fill.
8253 (octave--indent-new-comment-line): New function.
8254 (octave-indent-new-comment-line): Use it (indirectly).
8255 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8256 modify comment-line-break-function.
8257
8258 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8259 (smie-setup): Use add-function to set it.
8260
9631677d
SS
82612013-05-24 Sam Steingold <sds@gnu.org>
8262
8263 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8264 argument (before the `interactive' argument).
8265
50105835
SM
82662013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * image-mode.el (image-mode-winprops): Add winprops to
8269 image-mode-winprops-alist before running
8270 image-mode-new-window-functions.
8271 * doc-view.el (doc-view-new-window-function): Don't delay
8272 doc-view-goto-page via timers (bug#14435).
8273
57b9823e
TH
82742013-05-24 Tassilo Horn <tsdh@gnu.org>
8275
8276 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8277 (doc-view-desktop-save-buffer): New function.
8278 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8279 (desktop-buffer-mode-handlers):
8280 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8281 handler.
8282 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8283 `desktop-save-buffer' function.
8284
91aafa16
MA
82852013-05-24 Michael Albinus <michael.albinus@gmx.de>
8286
8287 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8288 (tramp-gvfs-file-name-handler): Raise a user error when
8289 `tramp-gvfs-enabled' is nil.
8290 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8291 Do not raise a user error when loading package. (Bug#14447)
8292
ec076379
MA
8293 * net/xesam.el: Move to obsolete/.
8294
db785726
GM
82952013-05-24 Glenn Morris <rgm@gnu.org>
8296
af5c7606
GM
8297 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8298
e5d1916a
GM
8299 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8300
ded62b08
GM
8301 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8302 (Info-find-node, Man-getpage-in-background): Declare.
8303
9e614a3f
GM
8304 * mail/unrmail.el (unrmail):
8305 Replace obsolete detect-coding-with-priority.
8306
892f8ca3
GM
8307 * net/socks.el (socks-split-string): Use this rather than split-string.
8308 (socks-nslookup-host): Update for above change.
8309 (dynamic-choice, s5-dynamic-choice-match)
8310 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8311 Comment out unused code.
8312
3c291973
GM
8313 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8314 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8315 (gud-tooltip-echo-area): Make obsolete.
8316 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8317
43cc956b
GM
8318 * progmodes/js.el (js--optimize-arglist): Declare.
8319
dab49a3b
GM
8320 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8321
36b9d085
GM
8322 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8323 (ediff-window-C): Declare.
8324
e354ae76
GM
8325 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8326 Tweak requires to silence compiler.
8327
b8e57bf4
GM
8328 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8329 (he-search-string, he-tried-table, he-expand-list)
8330 (he-init-string, he-string-member, he-substitute-string)
8331 (he-reset-string): Declare.
8332
db785726
GM
8333 * obsolete/options.el (list-options): Use custom-variable-p,
8334 rather than obsolete alias.
8335
b3531901
SS
83362013-05-23 Sam Steingold <sds@gnu.org>
8337
8338 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8339 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8340 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8341
bdda4c66
SM
83422013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * emacs-lisp/smie.el (smie-indent-forward-token)
8345 (smie-indent-backward-token): Handle string tokens (bug#14381).
8346
c43d45f9
TH
83472013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8348
fe1eb856
RS
8349 * ielm.el (ielm-menu): New menu.
8350 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8351
fe1eb856
RS
83522013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8353
8354 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8355 Fix deactivate action.
8356
8357 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8358 Add cleveref macros.
074dd971 8359
c43d45f9
TH
8360 * lisp/textmodes/reftex-parse.el
8361 (reftex-locate-bibliography-files): Accept options for
8362 bibliography commands.
8363 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8364 Add addbibresource. Basic Biblatex support.
8365
7764286e
MA
83662013-05-23 Michael Albinus <michael.albinus@gmx.de>
8367
8368 * net/tramp-gvfs.el (top):
8369 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8370 when loading package. (Bug#14447)
8371
d361bc10
GM
83722013-05-23 Glenn Morris <rgm@gnu.org>
8373
8fa23984
GM
8374 * progmodes/js.el: No need to load comint when compiling.
8375 (ring-insert, comint-send-string, comint-send-input)
8376 (comint-last-input-end, ido-chop): Declare.
8377
a5c7df1a
GM
8378 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8379 * vc/ediff-mult.el: Adjust requires.
8380 (ediff-directories-internal, ediff-directory-revisions-internal)
8381 (ediff-patch-file-internal): Declare.
8382 * vc/ediff-ptch.el: Adjust requires.
8383 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8384 (ediff-find-file): Autoload.
8385 * vc/ediff-util.el: No need to load ediff when compiling.
8386 (ediff-regions-internal): Declare.
8387 * vc/ediff-wind.el: Adjust requires.
8388 (ediff-compute-toolbar-width): Define when compiling.
8389 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8390 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8391 (dired-get-filename, dired-get-marked-files)
8392 (ediff-last-dir-patch, ediff-patch-default-directory)
8393 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8394 (ediff-patch-buffer-internal): Declare.
8395
e2aec513
GM
8396 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8397 (ispell-process, ispell-buffer-local-words, lm-summary)
8398 (lm-section-start, lm-section-end): Declare.
8399 (checkdoc-ispell-init): Simplify.
8400
e68bbd7c
GM
8401 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8402 (he-string-member, he-reset-string, he-substitute-string): Declare.
8403
7efe0991
GM
8404 * eshell/em-ls.el: Adjust requires.
8405 (eshell-glob-regexp): Declare.
f87b1284
GM
8406 * eshell/em-tramp.el: Adjust requires.
8407 (eshell-parse-command): Autoload.
8408 * eshell/em-xtra.el: Adjust requires.
8409 (eshell-parse-command): Autoload.
8410 * eshell/esh-ext.el: Adjust requires.
8411 (eshell-parse-command, eshell-close-handles): Autoload.
8412 * eshell/esh-io.el: Adjust requires.
8413 (eshell-output-filter): Autoload.
8414 * eshell/esh-util.el: No need to load tramp when compiling.
8415 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8416 Declare.
8417 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8418 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8419 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8420 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8421 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8422 * eshell/esh-opt.el, eshell/esh-proc.el:
8423 * eshell/esh-var.el: Adjust requires.
8424 * eshell/eshell.el: Do not require esh-util twice.
8425 (eshell-add-input-to-history): Declare.
8426 (eshell-command): Check history module is active before using it.
8427
d361bc10
GM
8428 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8429
85d090a9
LL
84302013-05-22 Leo Liu <sdl.web@gmail.com>
8431
8432 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8433
5d0acd9d
MA
84342013-05-22 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * autorevert.el (auto-revert-notify-add-watch)
8437 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8438 it indicates changes in file modification time.
8439
0cdffd7d
GM
84402013-05-22 Glenn Morris <rgm@gnu.org>
8441
ca5995ec
GM
8442 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8443 Always delete the autoloaded function from the noruntime and
8444 unresolved functions lists.
8445
6450907e
GM
8446 * allout.el: No need to load epa, epg, overlay when compiling.
8447 (epg-context-set-passphrase-callback, epg-list-keys)
8448 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8449 (epg-key-user-id-list): Declare.
8450
9c6906f6
GM
8451 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8452 (viper-set-parsing-style-toggling-macro)
8453 (viper-set-emacs-state-searchstyle-macros):
8454 Use called-interactively-p on Emacs.
8455 (viper-looking-back): Make it an obsolete alias. Update callers.
8456 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8457 Use looking-back rather than viper-looking-back.
8458 (viper-tmp-insert-at-eob, viper-enlarge-region)
8459 (viper-read-string-with-history, viper-register-to-point)
8460 (viper-append-to-register, viper-change-state-to-vi)
8461 (viper-backward-char-carefully, viper-forward-char-carefully)
8462 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8463 (viper-change-state-to-emacs): Declare.
8464 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8465 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8466 * emulation/viper-mous.el: Do not load viper-cmd.
8467 (viper-backward-char-carefully, viper-forward-char-carefully)
8468 (viper-forward-word, viper-adjust-window): Declare.
8469
5f70c169
GM
8470 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8471
b1b7f300
GM
8472 * progmodes/idlw-help.el (idlwave-help-fontify):
8473 Use called-interactively-p.
8474
f6ebbb46
GM
8475 * term/w32console.el (w32-get-console-codepage)
8476 (w32-get-console-output-codepage): Declare.
8477
0cdffd7d
GM
8478 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8479 Remove unnecessary declarations.
8480 (dframe-message): Doc fix.
8481
8482 * info.el (dframe-select-attached-frame, dframe-current-frame):
8483 Declare.
8484
8485 * speedbar.el (speedbar-message): Make it an obsolete alias.
8486 Update all callers.
8487 (speedbar-with-attached-buffer)
8488 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8489 (speedbar-with-writable): Use backquote.
8490 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8491 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8492 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8493 rather than speedbar- aliases.
8494 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8495 (speedbar-make-specialized-keymap, speedbar-insert-button)
8496 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8497 (speedbar-do-function-pointer): Declare.
8498 (rmail-speedbar-button, rmail-speedbar-find-file)
8499 (rmail-speedbar-move-message):
8500 Use dframe-with-attached-buffer rather than speedbar- alias.
8501 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8502 (dframe-message, speedbar-make-specialized-keymap)
8503 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8504 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8505 (speedbar-insert-button, dframe-select-attached-frame)
8506 (dframe-maybee-jump-to-attached-frame)
8507 (speedbar-change-initial-expansion-list)
8508 (speedbar-previously-used-expansion-list-name): Declare.
8509 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8510 Use dframe-message, dframe-with-attached-buffer rather than
8511 speedbar- aliases.
8512 (gud-sentinel): Silence compiler.
8513 * progmodes/vhdl-mode.el (speedbar-refresh)
8514 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8515 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8516 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8517 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8518 (speedbar-file-lists, speedbar-make-tag-line)
8519 (speedbar-line-directory, speedbar-goto-this-file)
8520 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8521 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8522 (speedbar-make-button, speedbar-reset-scanners)
8523 (speedbar-files-item-info, speedbar-line-text)
8524 (speedbar-find-file-in-frame, speedbar-set-timer)
8525 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8526 (speedbar-with-writable): Do not (re)define it.
8527 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8528 rather than speedbar- alias.
8529
ee44b62a
LL
85302013-05-21 Leo Liu <sdl.web@gmail.com>
8531
8532 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8533 menu items.
8534 (octave-mode): Tweak fill-nobreak-predicate.
8535 (inferior-octave-startup): Check process to avoid infinite loop.
8536 (inferior-octave): Pop to buffer first to show abornmal process
8537 exit information.
8538
640f050f
GM
85392013-05-21 Glenn Morris <rgm@gnu.org>
8540
79458038
GM
8541 * printing.el (pr-menu-bar): Define when compiling.
8542
9cc3e83f
LL
85432013-05-21 Leo Liu <sdl.web@gmail.com>
8544
8545 * progmodes/octave.el (octave-auto-fill): Remove.
8546 (octave-indent-new-comment-line): Improve.
8547 (octave-mode): Use auto fill mode through
4f405069 8548 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8549 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8550 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8551 (octave-help): Show parent directory.
8552
f440830d
GM
85532013-05-21 Glenn Morris <rgm@gnu.org>
8554
8555 * files.el (dired-unmark):
8556 * progmodes/gud.el (gdb-input): Update declarations.
8557
8558 * calculator.el (electric, ehelp): No need to load when compiling.
8559 (Electric-command-loop, electric-describe-mode): Declare.
8560
8561 * doc-view.el (doc-view-current-converter-processes): Move before use.
8562
8563 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8564 Move MODE-set-explicitly definition before use.
8565
8566 * international/mule-diag.el (mule-diag):
8567 Don't use obsolete window-system-version.
8568
8569 * mail/feedmail.el (smtpmail): No need to load when compiling.
8570 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8571
8572 * mail/mail-utils.el (rfc822): No need to load when compiling.
8573 (rfc822-addresses): Autoload it.
8574 (mail-strip-quoted-names): Trivial simplification.
8575
8576 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8577 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8578
8579 * net/snmp-mode.el (tempo): Don't duplicate requires.
8580
8581 * progmodes/prolog.el (info): No need to load when compiling.
8582 (comint): Require before shell requires it.
8583 (Info-goto-node): Autoload it.
8584 (Info-follow-nearest-node): Declare.
8585 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8586
8587 * textmodes/artist.el (picture-mode-exit): Declare.
8588
8589 * textmodes/reftex-parse.el (reftex-parse-from-file):
8590 Trivial rewrite so the compiler can parse it better.
8591
b4da2cbb
LL
85922013-05-20 Leo Liu <sdl.web@gmail.com>
8593
8594 * progmodes/octave.el (octave-help-mode-map)
8595 (octave-help-mode-finish-hook): New variables.
8596 (octave-help-mode, octave-help-mode-finish): New functions.
8597 (octave-help): Use octave-help-mode.
8598
33c0f65b
GM
85992013-05-20 Glenn Morris <rgm@gnu.org>
8600
8601 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8602
1a0a0a8a
DG
86032013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8604
8605 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8606 start at point, so that expansion starting right after opening
8607 slash in a regexp is recognized.
8608 (ruby-syntax-before-regexp-re): New defvar, extracted from
8609 ruby-syntax-propertize-function. Since the value of this regexp
8610 is looked up at runtime now, we should be able to turn
8611 `ruby-syntax-methods-before-regexp' into a defcustom later.
8612 (ruby-syntax-propertize-function): Split regexp matching into two
8613 parts, for opening and closing slashes. That allows us to skip
8614 over string interpolations and support multiline regexps.
8615 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8616 for them, which calls `ruby-syntax-propertize-expansion'.
8617 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8618 call to `ruby-syntax-propertize-function'.
8619 (ruby-syntax-propertize-expansion): Extracted from
8620 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8621 (ruby-syntax-propertize-percent-literal): Leave point right after
8622 the percent symbol, so that the expression expansion rule can
8623 propertize the contents.
462388b6
DG
8624 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8625 heredoc openers.
8626 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8627
c1a6c0a4
JL
86282013-05-18 Juri Linkov <juri@jurta.org>
8629
8630 * man.el (Man-default-man-entry): Remove `-' from the end
8631 of the default value. (Bug#14400)
8632
8051fccd
GM
86332013-05-18 Glenn Morris <rgm@gnu.org>
8634
8635 * comint.el (comint-password-prompt-regexp):
8636 Allow "password for XXX" where XXX contains colons (eg https://...).
8637
5e80b74f
LL
86382013-05-18 Leo Liu <sdl.web@gmail.com>
8639
8640 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8641 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8642 (octave-source-directories): Don't check process.
8643 (octave-source-directories, octave-find-definition): Doc fix.
8644
521a54c5
GM
86452013-05-18 Glenn Morris <rgm@gnu.org>
8646
86a94b05
GM
8647 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8648 Remove backspace/delete bindings. (Bug#14392)
8649
521a54c5
GM
8650 * cus-dep.el (custom-make-dependencies): Sort the output.
8651 (custom-versions-load-alist): Convert comment to doc.
8652
42caeb89
LL
86532013-05-17 Leo Liu <sdl.web@gmail.com>
8654
8655 * newcomment.el (comment-search-backward): Stricter in finding
8656 comment start. (Bug#14303)
8657
8658 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8659 (octave-comment-start-skip): Properly anchored.
8660
e219dd97
LL
86612013-05-17 Leo Liu <sdl.web@gmail.com>
8662
fe1eb856
RS
8663 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8664 Clean up when turned off. (Bug#14395)
e219dd97
LL
8665 (smie--highlight-matching-block-overlay): No longer buffer-local.
8666 (smie-highlight-matching-block): Adjust.
8667
dc5dcb4b
PE
86682013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8669
8670 Doc string fix for "nanoseconds" (Bug#14406).
8671 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8672 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8673
1db165f0
JB
86742013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8675
8676 * calc/calc-units.el (math-extract-units): Preserve powers
8677 of units.
8678
c7a8fcac
LL
86792013-05-17 Leo Liu <sdl.web@gmail.com>
8680
8681 * subr.el (delete-consecutive-dups): New function.
8682 * ido.el (ido-set-matches-1): Use it.
8683 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8684 * ido.el (ido-remove-consecutive-dups): Remove.
8685
f678b18a
SM
86862013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8689 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8690 regexp-opt's `words'.
8691
ebfe68e8
LL
86922013-05-16 Leo Liu <sdl.web@gmail.com>
8693
8694 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8695 (smie--highlight-matching-block-overlay)
8696 (smie--highlight-matching-block-lastpos)
8697 (smie--highlight-matching-block-timer): New variables.
8698 (smie-highlight-matching-block): New function.
8699 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8700 (smie-setup): Conditionally enable smie-blink-matching-open.
8701
bc8bc17d
WS
87022013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8703
8704 Sync with upstream verilog-mode r840.
8705 * progmodes/verilog-mode.el (verilog-mode-version)
8706 (verilog-mode-release-date): Update.
8707 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8708 (verilog-sig-tieoff): Fix string error on
8709 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8710 (verilog-read-decls): Fix parameters confusing
8711 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8712
df065a0b
EZ
87132013-05-16 Eli Zaretskii <eliz@gnu.org>
8714
8715 * subr.el (reveal-filename): New function.
8716
8717 * loadup.el: Compute Emacs executable versions on MS-Windows,
8718 where executables have the .exe extension. Add a hard link
8719 emacs-XX.YY.ZZ.exe on MS-Windows.
8720
8721 * Makefile.in (XARGS_LIMIT): New variable.
8722 (custom-deps, finder-data, autoloads)
8723 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8724 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8725 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8726 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8727
2d4bf34b
LL
87282013-05-16 Leo Liu <sdl.web@gmail.com>
8729
8730 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8731 (octave-mode-menu, octave-mode-map): Remove its uses.
8732
6b9c2d85
RZ
87332013-05-16 Reto Zimmermann <reto@gnu.org>
8734
8735 Sync with upstream vhdl mode v3.34.2.
8736 * progmodes/vhdl-mode.el: Use `push' throughout.
8737 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8738 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8739 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8740 (vhdl-actual-generic-name): New option to derive actual generic name.
8741 (vhdl-port-paste-signals): Replace formal by actual generics.
8742 (vhdl-beautify): New name for old group vhdl-align. Update users.
8743 (vhdl-beautify-options): New option.
8744 (vhdl-last-input-event): New compat alias. Use throughout.
8745 (vhdl-goto-line): Replace user level function `goto-line'.
8746 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8747 vhdl-fix-statement-buffer.
8748 (vhdl-create-mode-menu): Add some entries.
8749 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8750 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8751 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8752 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8753 to force statements on one line.
8754 (vhdl-remove-trailing-spaces-region):
8755 New, split from vhdl-remove-trailing-spaces.
8756 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8757 Respect vhdl-beautify-options.
8758 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8759 (vhdl-update-sensitivity-list): Not add with index if exists without.
8760 Not include array index with signal. Ignore keywords in comments.
8761 (vhdl-get-visible-signals): Regexp tweaks.
8762 (vhdl-template-component-inst): Handle empty library.
8763 (vhdl-template-type): Add template for 'enum' type.
8764 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8765 Use vhdl-replace-string.
8766 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8767 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8768 (vhdl-speedbar-initialize): Update for above name change.
8769 (vhdl-compose-wire-components): Fix in handling of constants.
8770 (vhdl-error-regexp-emacs-alist): New variable.
8771 (vhdl-error-regexp-add-emacs): New function;
8772 adds support for new compile.el (Emacs 22+)
8773 (vhdl-generate-makefile-1): Change target order for single lib. units.
8774 Allow use of absolute file names.
8775
9df4ec5e
LL
87762013-05-16 Leo Liu <sdl.web@gmail.com>
8777
8778 * simple.el (prog-indent-sexp): Indent enclosing defun.
8779
f5ba00a6
GM
87802013-05-15 Glenn Morris <rgm@gnu.org>
8781
ed8be7ff
GM
8782 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8783 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8784 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8785 (whitespace-highlight): Move to whitespace group.
8786
8787 * comint.el (comint-source):
8788 * pcmpl-linux.el (pcmpl-linux):
8789 * shell.el (shell-faces):
8790 * eshell/esh-opt.el (eshell-opt):
8791 * international/ccl.el (ccl): Remove empty custom groups.
8792
8793 * completion.el (dynamic-completion-mode):
8794 * jit-lock.el (jit-lock-debug-mode):
8795 * minibuffer.el (completion-in-region-mode):
8796 * type-break.el (type-break-mode-line-message-mode)
8797 (type-break-query-mode):
8798 * emulation/tpu-edt.el (tpu-edt-mode):
8799 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8800 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8801 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8802
8803 * term/xterm.el (xterm): Change parent group to terminals.
8804
8805 * master.el (master): Remove empty custom group.
8806 (master-mode): Remove unused :group argument.
8807 * textmodes/refill.el (refill): Remove empty custom group.
8808 (refill-mode): Remove unused :group argument.
8809
8810 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8811
82a7c41b
GM
8812 * cus-dep.el: Provide a feature.
8813 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8814 Don't mistakenly ignore files whose basenames match a basename
8815 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8816 Add a fallback method for getting :group.
f5ba00a6 8817
6d65486d
JL
88182013-05-15 Juri Linkov <juri@jurta.org>
8819
da547b32
JL
8820 * isearch.el (isearch-char-by-name): Rename from
8821 `isearch-insert-char-by-name'. Doc fix.
8822 (isearch-forward): Mention `isearch-char-by-name' in
8823 the docstring. (Bug#13348)
8824
6d65486d
JL
8825 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8826 `exit-minibuffer' instead of
8827 `isearch-nonincremental-exit-minibuffer'.
8828 (isearch-edit-string): Remove mention of
8829 `isearch-nonincremental-exit-minibuffer' from docstring.
8830 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8831 (isearch-forward-exit-minibuffer)
8832 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8833
c9990474
SM
88342013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8835
6e911150
SM
8836 * loadup.el: Just use unversioned DOC.
8837
c9990474
SM
8838 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8839 literals as extending to EOB.
8840 (nxml-last-fontify-end): Remove unused variable.
8841 (nxml-after-change1): Use with-silent-modifications.
8842 (nxml-extend-after-change-region): Simplify.
8843 (nxml-extend-after-change-region1): Remove function.
8844 (nxml-after-change1): Don't adjust for dependent regions.
8845 (nxml-fontify-matcher): Simplify.
8846 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8847 (xmltok-add-dependent): Remove function.
8848 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8849 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8850 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8851 unclosed <[[, <?, comment, and other literals as extending to EOB.
8852 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8853 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8854 Remove functions.
8855 (rng-do-some-validation-1): Don't mark dependent regions.
8856 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8857 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8858 (nxml-clear-dependent-regions): Remove functions.
8859 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8860 (nxml-ensure-scan-up-to-date):
8861 Don't clear&mark dependent regions.
8862
e3772e98
LL
88632013-05-15 Leo Liu <sdl.web@gmail.com>
8864
c9990474
SM
8865 * progmodes/octave.el (octave-goto-function-definition):
8866 Improve and fix callers.
e3772e98 8867
5ac2eb34
SM
88682013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8869
c46c57b0
SM
8870 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8871 the setter (bug#14387).
8872
5ac2eb34
SM
8873 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8874 surrounding group (bug#14402).
8875
180ed218
JL
88762013-05-14 Juri Linkov <juri@jurta.org>
8877
8878 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8879 (Bug#14390)
8880
0ac0fecb
GM
88812013-05-14 Glenn Morris <rgm@gnu.org>
8882
8883 * progmodes/f90.el (f90-imenu-generic-expression):
8884 Fix typo in 2013-05-08 change. (Bug#14402)
8885
2e78e6a7
JPG
88862013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8887
5ac2eb34
SM
8888 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8889 Remove signals for which replies are never received.
2e78e6a7 8890
53267cca
JPG
88912013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8892
8893 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8894 (gdb-handler-alist, gdb-handler-number): Remove variables.
8895 (gdb-handler-list): New variable.
8896 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8897 (gdb-pending-handler-p, gdb-handle-reply)
8898 (gdb-remove-all-pending-triggers): New functions.
8899 (gdb-discard-unordered-replies): New defcustom.
8900 (gdb-handler): New defstruct.
8901 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8902 instead of gdb-pending-triggers. Update docstring.
8903 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8904 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8905 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8906 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8907 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8908 (gdb-frame-handler): Pending triggers are now automatically managed.
8909 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8910 Remove argument.
8911 (gdb-input): Automatically handles pending triggers. Update docstring.
8912 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8913 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8914 Update comments.
8915 (gdb-done-or-error): Now use gdb-handle-reply.
8916
d04ce803
JPG
89172013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8918
8919 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8920 gdb-debug-log.
8921
0114073a
GM
89222013-05-14 Glenn Morris <rgm@gnu.org>
8923
8924 * subr.el (user-emacs-directory-warning): New option.
8925 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8926
4d25fd7e
LL
89272013-05-14 Leo Liu <sdl.web@gmail.com>
8928
8929 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8930 during redisplay.
8931 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8932 (octave-font-lock-texinfo-comment): Fix invalid search bound
8933 error: wrong side of point.
4d25fd7e 8934
27c8b6eb
GM
89352013-05-14 Glenn Morris <rgm@gnu.org>
8936
61aaeb01
GM
8937 * progmodes/flymake.el (flymake-xml-program): New option.
8938 (flymake-xml-init): Use it.
8939
5bf90bc5
GM
8940 * term/xterm.el: Provide a feature.
8941
8942 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8943
f4c7dfd2
GM
89442013-05-13 Glenn Morris <rgm@gnu.org>
8945
8946 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8947 Add compat aliases as a hack workaround. (Bug#14384)
8948
2aeb3a1d
LL
89492013-05-13 Leo Liu <sdl.web@gmail.com>
8950
b0e069c2
LL
8951 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8952 ###, and %!.
f5a9432f
LL
8953 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8954 C-M-q.
b0e069c2
LL
8955 (octave-comment-start-skip): Include %!.
8956 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8957
30ea8374
LL
89582013-05-12 Leo Liu <sdl.web@gmail.com>
8959
8960 * progmodes/octave.el (inferior-octave-startup): Store the value
8961 of __octave_srcdir__ for octave-source-directories.
8962 (inferior-octave-check-process): New function refactored out of
8963 inferior-octave-send-list-and-digest.
8964 (octave-source-directories)
8965 (octave-find-definition-filename-function): New variables.
8966 (octave-source-directories)
8967 (octave-find-definition-default-filename): New functions.
8968 (octave-find-definition): Improve to find functions implemented in C++.
8969
472a3834
GM
89702013-05-12 Glenn Morris <rgm@gnu.org>
8971
8972 * calendar/diary-lib.el (diary-outlook-format-1):
8973 Don't include dayname in the output. (Bug#14349)
8974
3191b52f
GM
89752013-05-11 Glenn Morris <rgm@gnu.org>
8976
0060ac73
GM
8977 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8978
3191b52f
GM
8979 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8980 Treat cc-provide like provide.
8981
e065ba74
KR
89822013-05-11 Kevin Ryde <user42@zip.com.au>
8983
8984 * cus-dep.el (custom-make-dependencies):
8985 Use generated-autoload-load-name for the sake of files such
8986 such cedet/semantic/bovine/c.el, where the base file name
8987 is not in load-path. (Bug#5277)
8988
36f84c37
GM
89892013-05-11 Glenn Morris <rgm@gnu.org>
8990
8991 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8992 Provide features.
8993
c8730c3a
LL
89942013-05-11 Leo Liu <sdl.web@gmail.com>
8995
8996 * progmodes/octave.el (octave-indent-comment): Improve.
8997 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8998 (octave-eldoc-function-signatures, octave-eldoc-function):
8999 New functions.
c8730c3a
LL
9000 (octave-mode, inferior-octave-mode): Add eldoc support.
9001
212e29f2
RS
90022013-05-11 Richard Stallman <rms@gnu.org>
9003
9004 * epa.el (epa-decrypt-file): Take output file name as argument
9005 and read it using `interactive'.
9006
083fe0d7
LL
90072013-05-11 Leo Liu <sdl.web@gmail.com>
9008
9009 * progmodes/octave.el (octave-beginning-of-line)
9010 (octave-end-of-line): Check before using up-list because it jumps
9011 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9012 (octave-indent-comment): New function.
9013 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9014 (octave-begin-keywords, octave-end-keywords)
9015 (octave-reserved-words, octave-smie-bnf-table)
9016 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9017
8582e4c4
GM
90182013-05-11 Glenn Morris <rgm@gnu.org>
9019
f20def1f
GM
9020 * faces.el (internal-face-x-get-resource):
9021 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9022 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9023 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9024 Fix declarations.
f20def1f 9025
445f95e2
GM
9026 * calc/calc-menu.el: Make it loadable in isolation.
9027
9028 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9029 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9030 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9031 (eudc-bbdb-query-internal): Require 'bbdb.
9032
99fb2756
GM
9033 * lpr.el (lpr-headers-switches):
9034 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9035
9036 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9037
0da7ad96
GM
9038 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9039
8582e4c4
GM
9040 * term.el (term-set-escape-char): Make it idempotent.
9041
f71c50d0
LL
90422013-05-10 Leo Liu <sdl.web@gmail.com>
9043
5ac2eb34
SM
9044 * progmodes/octave.el (inferior-octave-completion-table):
9045 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9046 completion due to bug#11906.
9047 (octave-beginning-of-defun): Re-write to be more general.
9048
d5837773
GM
90492013-05-10 Glenn Morris <rgm@gnu.org>
9050
9051 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9052
027c0f75
SM
90532013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * comint.el (comint-redirect-send-command-to-process): Use :around
9056 rather than :override for comint-redirect-filter.
9057 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9058 Call it instead of comint-redirect-original-filter-function (which
9059 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9060
4465bfb4
JD
90612013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9062
9063 * frame.el (display-monitor-attributes-list): Add NS case.
9064 (ns-display-monitor-attributes-list): Declare.
9065
2d809ffa 90662013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9067
9068 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9069
e54eeb9b
GM
90702013-05-09 Glenn Morris <rgm@gnu.org>
9071
56cd351d
GM
9072 * international/fontset.el (vertical-centering-font-regexp):
9073 Set standard-value.
9074
d84b6108
GM
9075 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9076
a931698a
GM
9077 * bookmark.el (bookmark-search-delay):
9078 * cus-start.el (vertical-centering-font-regexp):
9079 * ps-mule.el (ps-mule-font-info-database-default):
9080 * ps-print.el (ps-default-fg, ps-default-bg):
9081 * type-break.el (type-break-good-break-interval):
9082 * whitespace.el (whitespace-indentation-regexp)
9083 (whitespace-space-after-tab-regexp):
9084 * emacs-lisp/testcover.el (testcover-1value-functions)
9085 (testcover-noreturn-functions, testcover-progn-functions)
9086 (testcover-prog1-functions):
9087 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9088 * eshell/em-glob.el (eshell-glob-translate-alist):
9089 * play/tetris.el (tetris-tty-colors):
9090 * progmodes/cpp.el (cpp-face-default-list):
9091 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9092 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9093 (idlwave-help-browser-generic-args):
9094 * progmodes/make-mode.el (makefile-special-targets-list):
9095 * progmodes/python.el (python-shell-virtualenv-path):
9096 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9097 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9098 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9099 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9100 * textmodes/reftex-vars.el (reftex-format-label-function):
9101 * textmodes/remember.el (remember-diary-file): Fix custom types.
9102
e54eeb9b
GM
9103 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9104 Add :version.
9105
455851dd
LL
91062013-05-09 Leo Liu <sdl.web@gmail.com>
9107
9108 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9109 Restore file completion. (Bug#14300)
455851dd
LL
9110 (inferior-octave-startup): Fix incorrect highlighting for the
9111 first prompt.
9112
a9e4425b
SM
91132013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * progmodes/ruby-mode.el: First cut at SMIE support.
9116 (ruby-use-smie): New var.
9117 (ruby-smie-grammar): New constant.
9118 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9119 (ruby-smie--forward-token, ruby-smie--backward-token)
9120 (ruby-smie-rules): New functions.
9121 (ruby-mode-variables): Setup SMIE if applicable.
9122
060ca408
EZ
91232013-05-08 Eli Zaretskii <eliz@gnu.org>
9124
9125 * simple.el (line-move-visual): Signal beginning/end of buffer
9126 only if vertical-motion moved less than it was requested. Avoids
9127 silly incorrect error messages when there are display strings with
9128 multiple newlines at EOL.
9129
1d5963cc
SM
91302013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9133 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9134 (prolog-char-quote-workaround):
9135 * progmodes/cperl-mode.el (cperl-under-as-char):
9136 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9137 Mark as obsolete.
9138 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9139 their declaration.
9140 (vhdl-mode-syntax-table-init): Remove.
9141
c9990474
SM
9142 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9143 last change.
1d5963cc
SM
9144
9145 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9146 syntax for "_".
9147 (ld-script-font-lock-keywords):
9148 Change regexps to use things like \_< and \_>.
9149
9150 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9151 Change all regexps to use things like \_< and \_>.
9152
9153 * progmodes/autoconf.el (autoconf-definition-regexp)
9154 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9155 Handle a _ with symbol syntax.
9156 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9157
c9990474
SM
9158 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9159 Consolidate declaration.
1d5963cc
SM
9160 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9161 the declaration.
9162 (ada-create-syntax-table): Remove.
9163 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9164 already has the right syntax nowadays.
9165 (ada-goto-next-word): Don't change the syntax of "_".
9166
9167 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9168 with-wrapper-hook.
9169
72d3cfca
SS
91702013-05-08 Sam Steingold <sds@gnu.org>
9171
9172 * thingatpt.el (thing-at-point): Accept optional second argument
9173 NO-PROPERTIES to strip the text properties from the return value.
9174 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9175 to `thing-at-point' instead of stripping the properties ourselves.
9176 Also, when `thing-at-point' fails to find a url, prepend "http://"
9177 to the filename at point on the assumption that the user is
9178 pointing at something like gnu.org/gnu.
9179
5cb15713
JB
91802013-05-08 Juanma Barranquero <lekktu@gmail.com>
9181
9182 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9183 * faces.el (crm-separator):
9184 Silence byte-compiler.
9185
9186 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9187 (tool-bar-map): Remove unneeded defvars.
9188
ea78b95b
LL
91892013-05-08 Leo Liu <sdl.web@gmail.com>
9190
9191 Re-work a fix for bug#10994 based on Le Wang's patch.
9192 * ido.el (ido-remove-consecutive-dups): New helper.
9193 (ido-completing-read): Use it.
9194 (ido-chop): Revert fix for bug#10994.
9195
dc7466df
AS
91962013-05-08 Adam Spiers <emacs@adamspiers.org>
9197
9198 * cus-edit.el (custom-save-variables):
9199 Pretty-print long values. (Bug#14187)
9200
9ecf672a
GM
92012013-05-08 Glenn Morris <rgm@gnu.org>
9202
9203 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9204 (m4-mode-syntax-table): Init in the defvar.
9205 (m4-mode-abbrev-table): Let define-derived-mode define it.
9206
3f555be8
TT
92072013-05-08 Tom Tromey <tromey@redhat.com>
9208
9209 * progmodes/m4-mode.el (m4-mode-syntax-table):
9210 Do not treat "_" as word constituent. (Bug#14167)
9211
7cc8ae06
GM
92122013-05-07 Glenn Morris <rgm@gnu.org>
9213
4f58bc06
GM
9214 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9215 Remove explicit eshell-isearch-cancel-map.
9216
7cc8ae06
GM
9217 * progmodes/f90.el (f90-smart-end-names): New option.
9218 (f90-smart-end): Doc fix.
9219 (f90-end-block-optional-name): New constant.
9220 (f90-block-match): Respect f90-smart-end-names.
9221
ceb57e59
SM
92222013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9225 about implicit semi-colons (bug#14218).
9226
4e3f9230
YM
92272013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9228
9229 * frame.el (display-monitor-attributes-list)
9230 (frame-monitor-attributes): New functions.
9231
203a5572
LL
92322013-05-06 Leo Liu <sdl.web@gmail.com>
9233
9234 * progmodes/octave.el (octave-syntax-propertize-function): Change
9235 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9236 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9237 (octave-completion-at-point): Rename from
203a5572
LL
9238 octave-completion-at-point-function.
9239 (inferior-octave-directory-tracker): Robustify.
9240 (octave-text-functions): Remove and fix its uses. No such things
9241 any more.
9242
ee6cff99
SM
92432013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 * emacs-lisp/trace.el (trace--display-buffer): New function.
9246 (trace-make-advice): Use it.
9247
32985194
JL
92482013-05-06 Juri Linkov <juri@jurta.org>
9249
9250 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9251 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9252 Doc fix.
9253 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9254 in the help string. (Bug#12985)
9255
a1c700de
KD
92562013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9257
9258 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9259
c67c0839
SM
92602013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9261
323885fd
SM
9262 * progmodes/perl-mode.el: Add support for here documents.
9263 (perl-syntax-propertize-function): Match here-doc markers.
9264 (perl-syntax-propertize-special-constructs): Find their end.
9265 (perl-imenu-generic-expression): Use [:alnum:].
9266
c67c0839
SM
9267 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9268 (advice--add-function): Refresh the advice if already present
9269 (bug#14317).
9270
d491e7a8
IA
92712013-05-06 Ivan Andrus <darthandrus@gmail.com>
9272
9273 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9274
ddf9925e
GM
92752013-05-06 Glenn Morris <rgm@gnu.org>
9276
7cc3af27
GM
9277 * w32-fns.el (w32-charset-info-alist): Declare.
9278
16e343d6
GM
9279 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9280 of its defcustom properties.
9281 (eshell-cmpl-initialize): No need to load pcomplete.
9282
7d889a47
GM
9283 * generic-x.el: No need to require comint when compiling.
9284
ddf9925e
GM
9285 * net/eudc-export.el: Make it loadable without bbdb.
9286 (top-level): Use require rather than load-library.
9287 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9288 (eudc-batch-export-records-to-bbdb)
9289 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9290 Require bbdb.
9291
1e2c18df
SM
92922013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9295 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9296 some tweaks, instead.
9297
02502a5f
LL
92982013-05-05 Leo Liu <sdl.web@gmail.com>
9299
9300 * progmodes/octave.el (octave-font-lock-keywords)
9301 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9302 (inferior-octave-send-list-and-digest): Improve error message.
9303 (octave-mode, inferior-octave-mode): Use setq-local.
9304 (octave-help): Set info-lookup-mode.
9305
0dc04f42
RS
93062013-05-05 Richard Stallman <rms@gnu.org>
9307
6c54491c
RS
9308 * vc/compare-w.el (compare-windows-whitespace):
9309 Treat no-break space as whitespace.
9310
0dc04f42
RS
9311 * mail/rmailsum.el (rmail-summary-rmail-update):
9312 Detect empty summary and don't change selected message.
9313 (rmail-summary-goto-msg): Likewise.
9314
df8f35df
RS
9315 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9316 Doc fixes, rename args.
9317
5356e1a3
AM
93182013-05-05 Alan Mackenzie <acm@muc.de>
9319
9320 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9321
d44014cb
JL
93222013-05-05 Juri Linkov <juri@jurta.org>
9323
9324 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9325 to not add the length of the summary segment to the return value.
9326 (Bug#14125)
9327
c129b51f
LL
93282013-05-05 Leo Liu <sdl.web@gmail.com>
9329
9330 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9331 (inferior-octave-output-filter): Remove.
9332 (octave-send-region, inferior-octave-startup): Fix callers.
9333 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9334 (octave-binary-file-extensions): New user variable.
9335 (octave-find-definition): Confirm if opening binary files.
9336 (octave-help-file): Use octave-find-definition to get the binary
9337 confirmation.
9338 (octave-help): Adjust for octave-help-file change.
9339
aa7dab97
SM
93402013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9343 Merge the two entries that handle function definitions.
9344 (pascal--syntax-propertize): New const.
9345 (pascal-mode): Use it. Use setq-local.
9346
fd3a9a6b
GM
93472013-05-04 Glenn Morris <rgm@gnu.org>
9348
9349 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9350 (diary-from-outlook): Respect diary-from-outlook-function.
9351
30c7e542
SM
93522013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9355 Move the declaration from C.
9356 (read-minibuffer, eval-minibuffer): Move from C.
9357 (completion-setup-function): Avoid minibuffer-completion-contents.
9358
b54f978b
LL
93592013-05-03 Leo Liu <sdl.web@gmail.com>
9360
9361 * progmodes/octave.el (octave-font-lock-keywords): Do not
9362 dehighlight 'end' in comments or strings.
30c7e542
SM
9363 (octave-completing-read, octave-goto-function-definition):
9364 New helpers.
d4d0f9b3
LL
9365 (octave-help-buffer): New user variable.
9366 (octave-help-file, octave-help-function): New button types.
9367 (octave-help): New command and bind it to C-h ;.
9368 (octave-find-definition): New command and bind it to M-.
d74a1581 9369 (user-error): Alias to error if not defined.
b54f978b 9370
27135018
LL
93712013-05-02 Leo Liu <sdl.web@gmail.com>
9372
9373 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9374 for \. (bug#14332)
9375 (octave-font-lock-keywords): Include [ and {.
9376
0d634d3a
LL
93772013-05-02 Leo Liu <sdl.web@gmail.com>
9378
9379 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9380 (inferior-octave): Remove calling comint-mode and return the buffer.
9381 (inferior-octave-startup): Cosmetic changes.
9382
b4c8295e
LL
93832013-05-02 Leo Liu <sdl.web@gmail.com>
9384
30c7e542
SM
9385 * progmodes/octave.el (octave-syntax-propertize-function):
9386 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9387
f12ad6ec
GM
93882013-05-02 Glenn Morris <rgm@gnu.org>
9389
9390 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9391 * desktop.el (vc-dir-mode): Just autoload it here.
9392
30cac1e0
AM
93932013-05-02 Alan Mackenzie <acm@muc.de>
9394
9395 Eliminate variable c-standard-font-lock-fontify-region-function.
9396 * progmodes/cc-mode.el
9397 (c-standard-font-lock-fontify-region-function): Remove.
9398 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9399
d8ef28b1
LL
94002013-05-01 Leo Liu <sdl.web@gmail.com>
9401
2640d52e 9402 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9403 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9404 variables were removed from Octave in 2007.
d8ef28b1
LL
9405 (inferior-octave-startup): Fix uses.
9406 (comint-line-beginning-position): Remove compatibility code for
9407 emacs 21.
9408
ac63ec89
JL
94092013-05-01 Juri Linkov <juri@jurta.org>
9410
9411 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9412
9e9be37c
JL
94132013-05-01 Juri Linkov <juri@jurta.org>
9414
9415 * comint.el (comint-previous-matching-input): Don't print message
9416 "History item: %d" when `isearch-mode' is active.
9417 (comint-history-isearch-message): Print message "History item: %d"
9418 when `comint-input-ring-index' is not empty and this function is
9419 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9420
9b92c13b
LL
94212013-05-01 Leo Liu <sdl.web@gmail.com>
9422
9423 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9424 definitions. Use completion-at-point to insert keywords.
9425 (octave-abbrev-start): Remove.
9426 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9427
b12d33d7
LL
94282013-04-30 Leo Liu <sdl.web@gmail.com>
9429
9430 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9431 change.
9432
3d1c39fa
AM
94332013-04-30 Alan Mackenzie <acm@muc.de>
9434
9435 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9436 * progmodes/cc-engine.el (c-back-over-member-initializers):
9437 new function.
3d1c39fa
AM
9438 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9439 (most) member init lists.
9440
5147fc17
RS
94412013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9442
9443 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9444 variable.
9445
5b78d7fc
LL
94462013-04-30 Leo Liu <sdl.web@gmail.com>
9447
9448 * progmodes/octave.el (octave-variables): Remove. No builtin
9449 variables any more. All converted to functions.
9450 (octave-font-lock-keywords, octave-completion-at-point-function):
9451 Fix uses.
9452 (octave-font-lock-texinfo-comment): New user variable.
9453 (octave-texinfo-font-lock-keywords): New variable for texinfo
9454 comment block.
9455 (octave-function-comment-block): New face.
9456 (octave-font-lock-texinfo-comment): New function.
9457 (octave-mode): Font lock texinfo comment block.
9458
38d8527b
LL
94592013-04-29 Leo Liu <sdl.web@gmail.com>
9460
9461 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9462 indexing expression.
9463 (octave-continuation-string): Do not use \.
9464 (inferior-octave-complete-impossible): Remove.
9465 (inferior-octave-completion-table)
9466 (inferior-octave-completion-at-point): Remove its uses.
9467 (inferior-octave-startup): completion_matches was introduced to
9468 Octave in 1996 so safe to assume it.
9469 (octave-function-file-comment): Improve to follow how Octave does it.
9470 (octave-update-function-file-comment): Tweak.
9471
2ec12cb0
LL
94722013-04-29 Leo Liu <sdl.web@gmail.com>
9473
9474 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9475 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9476 (octave-function-file-comment): Fix typo.
9477 (octave-sync-function-file-names): Use read-char-choice.
9478
6eaed048
JB
94792013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9480
9481 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9482 to t for the less important warnings.
9483
3ffa2d4f
DH
94842013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9485
9486 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9487
685c9501
GM
94882013-04-27 Glenn Morris <rgm@gnu.org>
9489
9490 * vc/log-view.el (log-view-current-entry):
9491 Treat "---" separator lines as part of the following rev. (Bug#14169)
9492
0208ede7
JL
94932013-04-27 Juri Linkov <juri@jurta.org>
9494
9495 * subr.el (read-number): Doc fix about using it by interactive
9496 code letter `n'. (Bug#14254)
9497
5db9dace
JL
94982013-04-27 Juri Linkov <juri@jurta.org>
9499
9500 * desktop.el (desktop-auto-save-timeout): New option.
9501 (desktop-file-checksum): New variable.
9502 (desktop-save): Add optional arg `auto-save' and don't auto-save
9503 if nothing changed.
9504 (desktop-auto-save-timer): New variable.
9505 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9506 (after-init-hook): Call `desktop-auto-save-set-timer'.
9507 Suggested by Reuben Thomas <rrt@sc3d.org> in
9508 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9509
b7260dd4
LL
95102013-04-27 Leo Liu <sdl.web@gmail.com>
9511
9512 * progmodes/octave.el (octave-function-file-p)
9513 (octave-skip-comment-forward, octave-function-file-comment)
9514 (octave-update-function-file-comment): New functions.
9515 (octave-mode-map): Bind C-c ; to
9516 octave-update-function-file-comment.
9517 (octave-mode-menu): Add octave-update-function-file-comment.
9518 (octave-mode, inferior-octave-mode): Fix doc-string.
9519 (octave-insert-defun): Conform to Octave's coding convention.
9520 (Bug#14285)
9521
9522 * files.el (basic-save-buffer): Don't let errors in
9523 before-save-hook prevent saving buffer.
9524
c46da669
RW
95252013-04-20 Roland Winkler <winkler@gnu.org>
9526
9527 * faces.el (read-face-name): Use completing-read if arg multiple
9528 is nil.
9529
a81ee1eb
IL
95302013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9531
9532 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9533 displayed, move point to after the totals line.
9534 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9535 for the details.
9536
4fac34ce
SM
95372013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9540 Add current dir to the load-path.
9541 (package-generate-autoloads): Don't rely on
9542 autoload-ensure-default-file.
9543
f6bfc063
RT
95442013-04-26 Reuben Thomas <rrt@sc3d.org>
9545
d40ab5cf
BG
9546 * textmodes/remember.el (remember-store-in-files): Document that
9547 the file name format is passed to `format-time-string'.
f6bfc063 9548
e55d3b04
LL
95492013-04-26 Leo Liu <sdl.web@gmail.com>
9550
9551 * progmodes/octave.el (octave-sync-function-file-names): New function.
9552 (octave-mode): Use it in before-save-hook.
9553
e53052d3
SM
95542013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9555
140ef50c
SM
9556 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9557 (bug#14274).
9558
e53052d3
SM
9559 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9560 \n and comment, even if it's not an implicit ; (bug#14218).
9561
af80458d 95622013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9563
9564 * subr.el (read-number): Once more use `read' rather than
9565 `string-to-number', to trap non-numeric input. (Bug#14254)
9566
af80458d 95672013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9568
9569 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9570 Use `syntax-multiline' text property consistently instead of
8a621d53 9571 `font-lock-multiline'. (Bug#14237)
70203c2e 9572
e6ea1f6c
GM
95732013-04-26 Glenn Morris <rgm@gnu.org>
9574
9575 * emacs-lisp/shadow.el (list-load-path-shadows):
9576 No longer necessary to check for duplicate simple.el, since
9577 2012-07-07 change to init_lread to not include installation lisp
9578 directories in load-path when running uninstalled. (Bug#14270)
9579
070ccca4
LL
95802013-04-26 Leo Liu <sdl.web@gmail.com>
9581
9582 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9583 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9584 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9585 octave-in-string-or-comment-p.
9586 (octave-in-comment-p, octave-in-string-p)
9587 (octave-in-string-or-comment-p): Replace defsubst with defun.
9588
9d1c5fb6
PE
95892013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9590
9591 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9592
c034abda
BG
95932013-04-25 Bastien Guerry <bzg@gnu.org>
9594
9595 * textmodes/remember.el (remember-data-directory)
9596 (remember-directory-file-name-format): Fix custom types.
9597
584ea277
LL
95982013-04-25 Leo Liu <sdl.web@gmail.com>
9599
e53052d3
SM
9600 * progmodes/octave.el (octave-completion-at-point-function):
9601 Make use of inferior octave process.
584ea277
LL
9602 (octave-initialize-completions): Remove.
9603 (inferior-octave-completion-table): New function.
9604 (inferior-octave-completion-at-point): Use it.
9605 (octave-completion-alist): Remove.
9606
1693b06a
SM
96072013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9610 (opascal-mode-syntax-table): New var.
9611 (opascal-literal-kind, opascal-is-literal-end)
9612 (opascal-literal-token-at): Rewrite.
9613 (opascal--literal-start-re, opascal-font-lock-keywords)
9614 (opascal--syntax-propertize): New constants.
9615 (opascal-font-lock-defaults): Adjust.
9616 (opascal-mode): Use them. Set comment-<foo> variables as well.
9617 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9618 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9619 (delphi-other-face, opascal-other-face): Remove face variables.
9620 (opascal-save-state): Remove macro.
9621 (opascal-fontifying-progress-step): Remove constant.
9622 (opascal--ignore-changes): Remove var.
9623 (opascal-set-token-property, opascal-parse-next-literal)
9624 (opascal-is-stable-literal, opascal-complete-literal)
9625 (opascal-is-literal-start, opascal-face-of)
9626 (opascal-parse-region, opascal-parse-region-until-stable)
9627 (opascal-fontify-region, opascal-after-change)
9628 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9629 (opascal-debug-parse-region, opascal-debug-parse-window)
9630 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9631 (opascal-debug-fontify-buffer): Remove.
9632 (opascal-debug-mode-map): Adjust accordingly.
9633
be64c05d
LL
96342013-04-25 Leo Liu <sdl.web@gmail.com>
9635
9636 Merge octave-mod.el and octave-inf.el into octave.el with some
9637 cleanups.
9638 * progmodes/octave.el: New file renamed from octave-mod.el.
9639 * progmodes/octave-inf.el: Merged into octave.el.
9640 * progmodes/octave-mod.el: Renamed to octave.el.
9641
d79d37bd
TH
96422013-04-25 Tassilo Horn <tsdh@gnu.org>
9643
9644 * textmodes/reftex-vars.el
9645 (reftex-label-ignored-macros-and-environments): New defcustom.
9646
9647 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9648
ced3fc5d
SM
96492013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9652 (smie-indent-keyword): Improve the check to ensure that the next
9653 comment is really on the same line.
9654 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9655
9656 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9657 semi-colons if the line is not otherwise empty (bug#14218).
9658
1c141dad
GM
96592013-04-25 Glenn Morris <rgm@gnu.org>
9660
9661 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9662
5058062a
SM
96632013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * progmodes/opascal.el (opascal-set-token-property): Rename from
9666 opascal-set-text-properties and only set `token' (bug#14134).
9667 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9668 (opascal-literal-text-properties): Remove.
9669 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9670 Adjust callers.
9671
5db9dace 96722013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9673
9674 * textmodes/remember.el (remember-handler-functions): Add an
9675 option for a new handler `remember-store-in-files'.
9676 (remember-data-directory, remember-directory-file-name-format):
9677 New options.
9678 (remember-store-in-files): New function to store remember notes
9679 as separate files within a directory.
9680
4391916c
MH
96812013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9682
9683 * progmodes/compile.el (compilation-next-error-function):
9684 Pass "formats" to compilation-find-file (bug#11777).
9685
bb7cdf58
GM
96862013-04-24 Glenn Morris <rgm@gnu.org>
9687
3b8fe752 9688 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9689 * vc/vc-hg.el (vc-hg-print-log):
9690 * vc/vc-svn.el (vc-svn-print-log):
9691 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9692
bb7cdf58
GM
9693 * vc/vc-bzr.el (vc-bzr-print-log):
9694 * vc/vc-cvs.el (vc-cvs-print-log):
9695 * vc/vc-git.el (vc-git-print-log):
9696 * vc/vc-hg.el (vc-hg-print-log):
9697 * vc/vc-mtn.el (vc-mtn-print-log):
9698 * vc/vc-rcs.el (vc-rcs-print-log):
9699 * vc/vc-sccs.el (vc-sccs-print-log):
9700 * vc/vc-svn.el (vc-svn-print-log):
9701 * vc/vc.el (vc-print-log-internal): Doc fixes.
9702
b46a056e
GM
97032013-04-23 Glenn Morris <rgm@gnu.org>
9704
9705 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9706 Remove venerable code attempting to avoid substitute-command-keys.
9707
0aecf718
TH
97082013-04-23 Tassilo Horn <tsdh@gnu.org>
9709
4391916c
MH
9710 * textmodes/reftex-vars.el (reftex-label-regexps):
9711 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9712
117f94cf
SM
97132013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9714
4391916c 9715 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9716 Use lexical-binding.
9717 (jit-lock-force-redisplay): Use markers, check buffer's continued
9718 existence and beware narrowed buffers.
9719 (jit-lock-fontify-now): Adjust call accordingly.
9720
1d829c64
SM
97212013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9724 to avoid misleading the user.
9725
72d548a9
LL
97262013-04-22 Leo Liu <sdl.web@gmail.com>
9727
9728 * info-look.el: Prefer latex2e.info. (Bug#14240)
9729
d0853629
MA
97302013-04-22 Michael Albinus <michael.albinus@gmx.de>
9731
9732 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9733
9734 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9735 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9736 (tramp-set-completion-function, tramp-parse-putty):
9737 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9738 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9739 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9740 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9741 (tramp-call-local-coding-command): Use `tramp-call-process'
9742 instead of `tramp-compat-call-process'.
9743
9744 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9745 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9746 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9747 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9748 (tramp-maybe-send-script): Check for Perl binary.
9749 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9750
38cc0210
DU
97512013-04-22 Daiki Ueno <ueno@gnu.org>
9752
9753 * epg.el (epg-context-pinentry-mode): New function.
9754 (epg-context-set-pinentry-mode): New function.
9755 (epg--start): Pass --pinentry-mode option to gpg command.
9756
cc641ee1
XF
97572013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9758
02d844b5 9759 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9760 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9761 `completion-at-point'. (Bug#13774)
5d4e5c31 9762
cc641ee1
XF
9763 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9764 default key binding for `describe-distribution' has been moved to
9765 `C-h C-o'. (Bug#13970)
9766
1b42ee43
GM
97672013-04-21 Glenn Morris <rgm@gnu.org>
9768
9769 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9770 Add doc strings.
9771 (vc-print-log): Clarify interactive prompt.
9772
a6d63d97
GM
97732013-04-20 Glenn Morris <rgm@gnu.org>
9774
9775 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9776 No longer include timestamp etc information.
9777
d7f5c16f
RW
97782013-04-20 Roland Winkler <winkler@gnu.org>
9779
9780 * faces.el (read-face-name): Bug fix, return just one face if arg
9781 multiple is nil. (Bug#14209)
9782
bcd7a0a4
SM
97832013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9786 (remove-function): Autoload.
9787
9788 * comint.el (comint-redirect-original-filter-function): Remove.
9789 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9790 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9791 (vc-cvs-annotate-command):
bcd7a0a4
SM
9792 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9793 * progmodes/prolog.el (prolog-consult-compile):
9794 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9795 Use add/remove-function instead.
9796 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9797 (gud-tooltip-process-output, gud-tooltip-tips):
9798 Use add/remove-function instead.
9799 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9800 (scheme-interaction-mode, exit-scheme-interaction-mode):
9801 Use add/remove-function instead.
9802
9803 * vc/vc-dispatcher.el: Use lexical-binding.
9804 (vc--process-sentinel): Rename from vc-process-sentinel.
9805 Change last arg to be the code to run. Don't use vc-previous-sentinel
9806 and vc-sentinel-commands any more.
9807 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9808 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9809
e36b2d20 98102013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9811
bcd7a0a4 9812 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9813 Handle function names with a single character. (Bug#14111)
4d3268ba 9814
781b4af6 98152013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9816
9817 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9818 for subroutines defined in an eval (bug#14182).
9819
7d688336
TV
98202013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9821
9822 * bookmark.el (bookmark-completing-read): Improve handling of empty
9823 string (bug#14176).
9824
31dcede0
SM
98252013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9826
9827 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9828
adc31213
FEG
98292013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9830
9831 New faster Imenu implementation (bug#14058).
9832 * progmodes/python.el:
9833 (python-imenu-prev-index-position):
9834 (python-imenu-format-item-label-function)
9835 (python-imenu-format-parent-item-label-function)
9836 (python-imenu-format-parent-item-jump-label-function):
9837 New vars.
9838 (python-imenu-format-item-label)
9839 (python-imenu-format-parent-item-label)
9840 (python-imenu-format-parent-item-jump-label)
9841 (python-imenu--put-parent, python-imenu--build-tree)
9842 (python-imenu-create-index, python-imenu-create-flat-index)
9843 (python-util-popn): New functions.
9844 (python-mode): Set imenu-create-index-function to
9845 python-imenu-create-index.
9846
cdca8255
SM
98472013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * winner.el (winner-active-region): Use region-active-p, activate-mark
9850 and deactivate-mark (bug#14225).
9851
9852 * simple.el (deactivate-mark): Don't inline it.
9853
beb42340
MA
98542013-04-18 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9857
fc7f4d7e
TH
98582013-04-18 Tassilo Horn <tsdh@gnu.org>
9859
9860 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9861 file extensions from the archive-mode entry in order to prefer
9862 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9863
29f47822
LL
98642013-04-18 Leo Liu <sdl.web@gmail.com>
9865
9866 * bindings.el (help-event-list): Add ?\?.
9867
d36ed1c8
SM
98682013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * subr.el (with-wrapper-hook): Declare obsolete.
9871 * simple.el (filter-buffer-substring-function): New hook.
9872 (filter-buffer-substring): Use it.
9873 (filter-buffer-substring-functions): Mark obsolete.
9874 * minibuffer.el (completion-in-region-function): New hook.
9875 (completion-in-region): Use it.
9876 (completion-in-region-functions): Mark obsolete.
9877 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9878 * abbrev.el (abbrev-expand-function): New hook.
9879 (expand-abbrev): Use it.
9880 (abbrev-expand-functions): Mark obsolete.
9881 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9882 and :filter-return.
9883
04754d36
FEG
98842013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9885
9886 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9887 and do not care about match data.
9888
dd8791e9
SM
98892013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9892 completion tables when completing error conditions and
9893 `declare' arguments.
9894 (lisp-complete-symbol, field-complete): Mark as obsolete.
9895 (check-parens): Unmatched parens are user errors.
9896 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9897
ffe54a13
AM
98982013-04-17 Michal Nazarewicz <mina86@mina86.com>
9899
dd8791e9
SM
9900 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9901 command changed buffer (ie. `flyspell-pre-buffer' is not current
9902 buffer), which prevents making decisions based on invalid value of
9903 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9904 cause an error when `flyspell-pre-point' was nil after switching
9905 buffers.
9906 (flyspell-post-command-hook): No longer needs to change buffers when
9907 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9908
ec7e39f2
AM
99092013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9910
9911 * textmodes/ispell.el (ispell-add-per-file-word-list):
9912 Fix `flyspell-correct-word-before-point' error when accepting
9913 words and `coment-padding' is an integer by using
9914 `comment-normalize-vars' (Bug #14214).
9915
083850a6
FEG
99162013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9917
9918 New defun movement commands.
9919 * progmodes/python.el (python-nav--syntactically)
9920 (python-nav--forward-defun, python-nav-backward-defun)
9921 (python-nav-forward-defun): New functions.
9922
619ed6e1
FEG
99232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9924
9925 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9926 (python-syntax-context): Use named compiler-macro for backwards
9927 compatibility with Emacs 24.x.
9928
7a1beb6c
LL
99292013-04-17 Leo Liu <sdl.web@gmail.com>
9930
9931 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9932 octave-hide-process-buffer.
9933
2d3fa3e5
SM
99342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9937 (bug#14216).
9938
7ce5be54
JPG
99392013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9940
9941 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9942 Fix adjustment of offset when receiving incomplete responses from GDB
9943 (bug#14129).
9944
351edece
SM
99452013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9948 python-mode-abbrev-table.
9949 (python-skeleton-define): Adjust accordingly.
9950 (python-mode-abbrev-table): New table that inherits from it so that
9951 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9952
9953 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9954 (abbrev-symbol): Use it.
9955 (abbrev--before-point): Use it since we already handle inheritance.
9956
613f9481
LL
99572013-04-16 Leo Liu <sdl.web@gmail.com>
9958
9959 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9960 binding to info-lookup-symbol.
9961
51646b62
JB
99622013-04-16 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * minibuffer.el (completion--twq-all):
9965 * term/ns-win.el (ns-initialize-window-system):
9966 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9967
efb3f01d
SM
99682013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9969
36c0a301
SM
9970 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9971 global bindings.
9972
efb3f01d
SM
9973 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9974
fb549d64
DG
99752013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9976
9977 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9978 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9979 to nil.
9980 (ruby-end-of-defun): Remove the unused arg, change the docstring
9981 to reflect that this function is only used as the value of
9982 `end-of-defun-function'.
9983 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9984 to reflect an earlier change that beginning/end-of-defun functions
9985 jump between methods in a class definition, as well as top-level
9986 functions.
9987
21e8fe2f
SM
99882013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * minibuffer.el (minibuffer-complete): Don't just scroll
9991 a *Completions* that's been iconified.
9992 (minibuffer-force-complete): Make sure repetitions do cycle when going
9993 through completion-in-region -> minibuffer-complete.
9994
20e527d0
AM
99952013-04-15 Alan Mackenzie <acm@muc.de>
9996
9997 Correct the placement of c-cpp-delimiters when there're #s not at
9998 col 0.
9999
10000 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10001 place a submatch around the #.
21e8fe2f
SM
10002 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10003 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10004 on the #, not BOL.
10005
dabefae5
SM
100062013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10009 (advice--member-p): New arg `name'.
10010 (advice--add-function, advice-member-p): Use it (bug#14202).
10011
85c9ab64
AM
100122013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10013
10014 Reformulate java imenu-generic-expression.
10015 The old expression contained ill formed regexps.
10016
10017 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10018 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10019 (cc-imenu-java-method-arg-regexp): New defconsts.
10020 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10021 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10022 handling of spaces in the regexp.
10023
0f821d99
AM
100242013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10025
10026 * textmodes/ispell.el (ispell-command-loop): Remove
10027 flyspell highlight of a word when ispell accepts it (bug #14178).
10028
eb922adf
MA
100292013-04-15 Michael Albinus <michael.albinus@gmx.de>
10030
10031 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10032 uses code from the previous `ange-ftp-run-real-handler'.
10033 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10034 only in case that function exist. This is needed for proper
10035 unloading of Tramp.
10036
4d9a0979
TH
100372013-04-15 Tassilo Horn <tsdh@gnu.org>
10038
10039 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10040
10041 * textmodes/reftex.el (reftex-compile-variables): Use it.
10042
a829b0dc
SM
100432013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10044
91e8293c
SM
10045 * files.el (normal-mode): Only use default major-mode if no other mode
10046 was specified.
10047
830aed4d
SM
10048 * emacs-lisp/trace.el (trace-values): New function.
10049
a829b0dc
SM
10050 * files.el: Allow : in local variables (bug#14089).
10051 (hack-local-variable-regexp): New var.
10052 (hack-local-variables-prop-line, hack-local-variables): Use it.
10053
7ae9f0fb
RW
100542013-04-13 Roland Winkler <winkler@gnu.org>
10055
10056 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10057 data before it gets modified by bibtex-beginning-of-entry.
10058
6646e848
RW
100592013-04-13 Roland Winkler <winkler@gnu.org>
10060
10061 * textmodes/bibtex.el (bibtex-url): Doc fix.
10062
100632013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10064
10065 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10066 does not visit a BibTeX file, exclude it from the list of buffers
10067 returned by bibtex-initialize.
10068
0aa3616e
SB
100692013-04-13 Stephen Berman <stephen.berman@gmx.net>
10070
10071 * window.el (split-window): Remove interactive form, since as a
10072 command this function is a special case of split-window-below.
10073 Correct doc string.
10074
011cddd6
RW
100752013-04-12 Roland Winkler <winkler@gnu.org>
10076
10077 * faces.el (read-face-name): Do not override value of arg default.
10078 Allow single faces and strings as default values. Remove those
10079 elements from return value that are not faces.
10080 (describe-face): Simplify.
10081 (face-at-point): New optional args thing and multiple so that this
10082 function can provide the same functionality previously provided by
10083 read-face-name.
10084 (make-face-bold, make-face-unbold, make-face-italic)
10085 (make-face-unitalic, make-face-bold-italic, invert-face)
10086 (modify-face, read-face-and-attribute): Use face-at-point.
10087
10088 * cus-edit.el (customize-face, customize-face-other-window)
10089 * cus-theme.el (custom-theme-add-face)
10090 * face-remap.el (buffer-face-set)
10091 * facemenu.el (facemenu-set-face): Use face-at-point.
10092
f24e0036
MA
100932013-04-12 Michael Albinus <michael.albinus@gmx.de>
10094
10095 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10096
da3cda2d
TH
100972013-04-10 Tassilo Horn <tsdh@gnu.org>
10098
10099 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10100 off leading { and trailing } from field values.
10101
15e54145
SM
101022013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10103
78ce603d
SM
10104 * emacs-lisp/timer.el (timer--check): New function.
10105 (timer--time, timer-set-function, timer-event-handler): Use it.
10106 (timer-set-idle-time): Simplify.
10107 (timer--activate): CSE.
10108 (timer-event-handler): Give more info in error message.
10109 (internal-timer-start-idle): New function, moved from C.
10110
15e54145
SM
10111 * mpc.el (mpc-proc): Add `restart' argument.
10112 (mpc-proc-cmd): Use it.
10113 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10114 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10115 less often.
10116
7144c627
MY
101172013-04-10 Masatake YAMATO <yamato@redhat.com>
10118
10119 * progmodes/sh-script.el: Implement `sh-mode' own
10120 `add-log-current-defun-function' (bug#14112).
10121 (sh-current-defun-name): New function.
10122 (sh-mode): Use the function.
10123
b39792eb
BG
101242013-04-09 Bastien Guerry <bzg@gnu.org>
10125
10126 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10127
8acdeb71
SM
101282013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10129
6fcdab68
SM
10130 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10131
8acdeb71
SM
10132 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10133 timer (bug#14156).
10134
e3e7b504
NF
101352013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10136
10137 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10138 declaration.
10139
201bb296
LL
101402013-04-07 Leo Liu <sdl.web@gmail.com>
10141
10142 * pcmpl-x.el: New file.
10143
ebb19708
DA
101442013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10145
10146 Do not set x-display-name until X connection is established.
10147 This is needed to prevent from weird situation described at
10148 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10149 * frame.el (make-frame): Set x-display-name after call to
10150 window system initialization function, not before.
10151 * term/x-win.el (x-initialize-window-system): Add optional
10152 display argument and use it.
10153 * term/w32-win.el (w32-initialize-window-system):
10154 * term/ns-win.el (ns-initialize-window-system):
10155 * term/pc-win.el (msdos-initialize-window-system):
10156 Add compatible optional display argument.
10157
33bb237a
EZ
101582013-04-06 Eli Zaretskii <eliz@gnu.org>
10159
10160 * files.el (normal-backup-enable-predicate): On MS-Windows and
10161 MS-DOS compare truenames of temporary-file-directory and of the
10162 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10163 don't fail comparison by compare-strings. Also, compare file
10164 names case-insensitively on MS-Windows and MS-DOS.
10165
134abf1f
SM
101662013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10167
10168 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10169 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10170
d695cb94
DG
101712013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10172
e3e7b504
NF
10173 * whitespace.el (whitespace-color-on, whitespace-color-off):
10174 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10175
f4ad7ea1 101762013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10177
10178 * ispell.el (ispell-set-spellchecker-params):
10179 Really set `ispell-args' for all equivs.
10180
632556e4
SM
101812013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * ido.el (ido-completions): Use extra elements of ido-decorations
10184 (bug#14143).
10185 (ido-decorations): Update docstring.
10186
2a417372
MA
101872013-04-05 Michael Albinus <michael.albinus@gmx.de>
10188
10189 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10190 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10191 nil during initialization, in order not to miss changes since the
10192 file was opened. (Bug#14140)
10193
fc164b0c
LL
101942013-04-05 Leo Liu <sdl.web@gmail.com>
10195
10196 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10197
0ccecc08
JB
101982013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10199
10200 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10201
51af1aa2
GM
102022013-04-04 Glenn Morris <rgm@gnu.org>
10203
10204 * electric.el (electric-pair-inhibit-predicate): Add :version.
10205
b208ebc6
SM
102062013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10209 when a package is required several times (bug#14082).
10210
f3d3eaf0
RW
102112013-04-04 Roland Winkler <winkler@gnu.org>
10212
10213 * faces.el (read-face-name): Behave as promised by the docstring.
10214 Assume that arg default is a list of faces.
10215 (describe-face): Call read-face-name with list of default faces.
10216
2575da50
TV
102172013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10218
10219 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10220 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10221 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10222 the header.
10223 (bookmark-exit-hook-internal): Save even if list is empty.
10224
397703b4
YH
102252013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10226
10227 * emacs-lisp/package.el (package-pinned-packages): New var.
10228 (package--add-to-archive-contents): Obey it (bug#14118).
10229
691e26ae
AM
102302013-04-03 Alan Mackenzie <acm@muc.de>
10231
8a621d53
JB
10232 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10233 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10234
10235 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10236 parameter `not-in-delimiter'. Handle being inside comment opener.
10237 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10238 character in case we're typing a '*' after a '/'.
10239 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10240 instead by passing the parameter to c-state-pp-to-literal.
10241
10242 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10243 for elt. 7 of a parse state.
10244
4b725a70
PE
102452013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10246
10247 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10248 * international/latin1-disp.el, international/mule-util.el:
10249 * language/cyril-util.el, language/european.el, language/ind-util.el:
10250 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10251 * language/tibetan.el, language/viet-util.el:
10252 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10253
15c579f0
SM
102542013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10257 (electric-pair-post-self-insert-function): Use it.
10258 (electric-pair-default-inhibit): New function, extracted from
10259 electric-pair-post-self-insert-function.
10260
a77e2924
RW
102612013-03-31 Roland Winkler <winkler@gnu.org>
10262
10263 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10264
2bd8a4a8
SM
102652013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10268
8d3655be 102692013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10270
10271 Un-indent after "pass" and "return" statements (Bug#13888)
10272 * progmodes/python.el (python-indent-block-enders): New var.
10273 (python-indent-calculate-indentation): Use it.
10274
8d3655be 102752013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10276
10277 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10278 defun. Defining it as defalias could introduce too eager
10279 byte-compiler optimization. (Bug#14030)
10280
8d3655be 102812013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10282
10283 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10284
0b1619da
LL
102852013-03-30 Leo Liu <sdl.web@gmail.com>
10286
10287 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10288 (kmacro-execute-from-register): Pass the keyboard macro to
10289 kmacro-call-macro or repeating won't work correctly.
10290
0b938190
TZ
102912013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10292
10293 * progmodes/subword.el: Back to using `forward-symbol'.
10294
10295 * subr.el (forward-whitespace, forward-symbol)
10296 (forward-same-syntax): Move from thingatpt.el.
10297
35710234
LL
102982013-03-29 Leo Liu <sdl.web@gmail.com>
10299
10300 * kmacro.el (kmacro-to-register): New command.
10301 (kmacro-execute-from-register): New function.
10302 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10303
efc0bb73
SM
103042013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * mpc.el: Use defvar-local and setq-local.
10307 (mpc--proc-connect): Connection failures are not bugs.
10308 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10309 (mpc-volume-map): Bind to the up-events.
10310
75a2f981
TZ
103112013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10312
10313 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10314 instead of `forward-symbol'.
10315
17c781d1
SM
103162013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10319 (edebug--recursive-edit): Use it.
10320 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10321 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10322
f67bfbcf
LL
103232013-03-28 Leo Liu <sdl.web@gmail.com>
10324
10325 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10326
b59f639d
EZ
103272013-03-27 Eli Zaretskii <eliz@gnu.org>
10328
10329 * facemenu.el (list-colors-callback): New defvar.
10330 (list-colors-redisplay): New function.
10331 (list-colors-display): Install list-colors-redisplay as the
10332 revert-buffer-function. (Bug#14063)
10333
f557c1b1
SM
103342013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10335
b1da2957
SM
10336 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10337 and suffixes don't overlap (bug#14061).
10338
f557c1b1
SM
10339 * case-table.el: Use lexical-binding.
10340 (case-table-get-table): New function.
10341 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10342
002668e1
TZ
103432013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10344
10345 * progmodes/subword.el: Add `superword-mode' to do word motion
10346 over symbol_words (parallels and leverages `subword-mode' which
10347 does word motion inside MixedCaseWords).
10348
73572c72
AG
103492013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10350
78b8f320 10351 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10352 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10353
69b2c07e
SM
103542013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10357 Change return value to be a sexp. Delay `get-buffer' to after
10358 restoring the desktop (bug#13951).
10359
08bb5ee2
LL
103602013-03-26 Leo Liu <sdl.web@gmail.com>
10361
10362 * register.el: Move semantic tag handling back to
10363 cedet/semantic/senator.el. (Bug#14052)
10364
8d4c974e
SM
103652013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10368 into the prompt either (bug#13963).
10369
b234d92c
SM
103702013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10373 part of "(error-foo)".
10374
ddfa3cb4
JL
103752013-03-24 Juri Linkov <juri@jurta.org>
10376
10377 * replace.el (list-matching-lines-prefix-face): New defcustom.
10378 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10379 `occur-engine' if `face-differs-from-default-p' returns t.
10380 (occur-engine): Add `,' inside backquote construct to evaluate
10381 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10382 Pass `prefix-face' to the functions `occur-context-lines' and
10383 `occur-engine-add-prefix'.
10384 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10385 `prefix-face' and propertize the prefix with `prefix-face'.
10386 (Bug#14017)
10387
7b0e2f85
LL
103882013-03-24 Leo Liu <sdl.web@gmail.com>
10389
10390 * nxml/rng-valid.el (rng-validate-while-idle)
10391 (rng-validate-quick-while-idle): Guard against deleted buffer.
10392 (Bug#13999)
10393
10394 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10395 is the last entry in kill-buffer-hook.
10396
10397 * files.el (kill-buffer-hook): Doc fix.
10398
b3082f49
DG
103992013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10400
b234d92c
SM
10401 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10402 Make it safe-local.
bde73d27 10403
b3082f49
DG
10404 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10405
a320a2db
LL
104062013-03-23 Leo Liu <sdl.web@gmail.com>
10407
7e74b0fb
LL
10408 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10409 Remove.
10410
10411 * nxml/rng-valid.el (rng-validate-mode)
10412 (rng-after-change-function, rng-do-some-validation):
10413 * nxml/rng-maint.el (rng-validate-buffer):
10414 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10415 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10416 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10417 (nxml-extend-after-change-region): Use with-silent-modifications.
10418
a320a2db
LL
10419 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10420 timer-idle-list.
10421
10422 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10423 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10424 timer-idle-list. (Bug#13999)
10425
e38e6780
JL
104262013-03-23 Juri Linkov <juri@jurta.org>
10427
10428 * info.el (info-index-match): New face.
10429 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10430 main pattern and add text properties with the new face to matches
10431 in index entries relative to the beginning of the index entry.
10432 (Bug#14015)
10433
e8cc7880
DE
104342013-03-21 Eric Ludlam <zappo@gnu.org>
10435
10436 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10437 Inhibit read only while inserting objects.
10438
9bb0d822
TZ
104392013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10440
10441 * progmodes/cfengine.el: Update docs to mention
10442 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10443 symbol motion. Remove "_" from the word syntax.
10444
aa703640
TZ
104452013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10446
10447 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10448 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10449
afff09d0
JL
104502013-03-20 Juri Linkov <juri@jurta.org>
10451
10452 * info.el (Info-next-reference-or-link)
10453 (Info-prev-reference-or-link): New functions.
10454 (Info-next-reference, Info-prev-reference): Use them.
10455 (Info-try-follow-nearest-node): Handle footnote navigation.
10456 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10457
9a1ff164
SM
104582013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10461 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10462
2667d15d
PE
104632013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10464
10465 Suppress unnecessary non-ASCII chatter during build process.
10466 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10467 (batch-skkdic-convert): Suppress most of the chatter.
10468 It's not needed so much now that machines are faster,
10469 and its non-ASCII component was confusing; see Dmitry Gutov in
10470 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10471
438b0579
LL
104722013-03-20 Leo Liu <sdl.web@gmail.com>
10473
10474 * ido.el (ido-chop): Fix bug#10994.
10475
c128ab07
DG
104762013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10477
10478 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10479 Remove vars.
9a1ff164
SM
10480 (whitespace-color-on, whitespace-color-off):
10481 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10482
0e6008c5
SM
104832013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10484
10485 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10486 remapping in mode-line.
10487 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10488
627b52b0
DG
104892013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10490
10491 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10492 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10493 (whitespace-font-lock-keywords): Change description.
10494 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10495 the constructed keywords instead.
10496 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10497
50c3a20b
LL
104982013-03-19 Leo Liu <sdl.web@gmail.com>
10499
10500 * progmodes/compile.el (compilation-display-error): New command.
10501 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10502 C-o. (Bug#13992)
10503
2aa2157b
PE
105042013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10505
10506 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10507
e477dbfa
JD
105082013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10509
10510 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10511
64ab82d1
MA
105122013-03-18 Michael Albinus <michael.albinus@gmx.de>
10513
10514 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10515
10516 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10517 * net/tramp-gvfs.el (top):
10518 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10519 (tramp-handle-shell-command): Use it.
10520 (tramp-dissect-file-name): Raise an error when hostname is a
10521 method name, and neither method nor user is specified.
10522
10523 * net/trampver.el: Update release number.
10524
33cef733
LL
105252013-03-18 Leo Liu <sdl.web@gmail.com>
10526
10527 Make sure eldoc can be turned off properly.
10528 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10529 eldoc-mode.
10530 (eldoc-display-message-p): Revert last change.
10531 (eldoc-display-message-no-interference-p)
10532 (eldoc-print-current-symbol-info): Tweak.
10533
2167b7b2
TH
105342013-03-18 Tassilo Horn <tsdh@gnu.org>
10535
10536 * doc-view.el (doc-view-new-window-function): Check the new window
10537 overlay's display property instead the char property of the
10538 buffer's first char. Use `with-selected-window' instead of
10539 `save-window-excursion' with `select-window'.
10540 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10541 display property instead the char property of the buffer's first char.
2167b7b2 10542
982efbcd
PE
105432013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10544
10545 Automate the build of ja-dic.el (Bug#13984).
10546 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10547 from the input, rather than assume that it's been done for us by the
10548 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10549 the current date into a ja-dic.el comment, as that complicates
10550 regression testing.
10551
2fcc7665
SM
105522013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * whitespace.el: Fix double evaluation.
10555 (whitespace-space, whitespace-hspace, whitespace-tab)
10556 (whitespace-newline, whitespace-trailing, whitespace-line)
10557 (whitespace-space-before-tab, whitespace-indentation)
10558 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10559 obsolete defvars.
10560 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10561 (whitespace-color-on): Use a single font-lock-add-keywords call.
10562 Fix double-evaluation of face variables.
10563
67c0a6e6
MA
105642013-03-17 Michael Albinus <michael.albinus@gmx.de>
10565
2fcc7665
SM
10566 * net/tramp-adb.el (tramp-adb-parse-device-names):
10567 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10568 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10569
69489f1d
LL
105702013-03-17 Leo Liu <sdl.web@gmail.com>
10571
10572 Extend eldoc to display info in the mode-line. (Bug#13978)
10573 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10574 (eldoc-mode-line-string): New variable.
10575 (eldoc-minibuffer-message): New function.
10576 (eldoc-message-function): New variable.
10577 (eldoc-message): Use it.
10578 (eldoc-display-message-p)
2fcc7665
SM
10579 (eldoc-display-message-no-interference-p):
10580 Support eldoc-post-insert-mode.
69489f1d
LL
10581
10582 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10583 (eval-expression): Run it.
10584
9c44569e
RW
105852013-03-17 Roland Winkler <winkler@gnu.org>
10586
10587 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10588 strings in the list of return values.
10589
327f1f6f
JB
105902013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10591
10592 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10593 radix before checking for HMS forms.
10594
67ed8fcd
LL
105952013-03-16 Leo Liu <sdl.web@gmail.com>
10596
10597 * progmodes/scheme.el: Add indentation and font-locking for λ.
10598 (Bug#13975)
10599
78be8b64 106002013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10601
10602 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10603 token before point (bug#13942).
10604
78be8b64 106052013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10606
95b43468 10607 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10608
98e775e6
EZ
106092013-03-16 Eli Zaretskii <eliz@gnu.org>
10610
10611 * startup.el (command-line-normalize-file-name): Fix handling of
10612 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10613 <xfq.free@gmail.com> in
10614 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10615
2edd6029
MA
106162013-03-15 Michael Albinus <michael.albinus@gmx.de>
10617
10618 Sync with Tramp 2.2.7.
10619
10620 * net/trampver.el: Update release number.
10621
d35f5864
TH
106222013-03-14 Tassilo Horn <tsdh@gnu.org>
10623
e903c210 10624 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10625 (doc-view-insert-image): Don't modify overlay associated to
10626 non-live windows, and implement horizontal centering of image in
10627 case it's smaller than the window.
10628 (doc-view-new-window-function): Force redisplay of new windows on
10629 doc-view buffers.
d35f5864 10630
1c4a85ed
KF
106312013-03-13 Karl Fogel <kfogel@red-bean.com>
10632
10633 * saveplace.el (save-place-alist-to-file): Don't sort
10634 `save-place-alist', just pretty-print it (bug#13882).
10635
85b66a21
MA
106362013-03-13 Michael Albinus <michael.albinus@gmx.de>
10637
a020afb9
JB
10638 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10639 Check whether `default-file-name-coding-system' is bound.
10640 It isn't in XEmacs.
85b66a21 10641
175600da
SM
106422013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10643
e7f7cb1a
SM
10644 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10645 backquotes for `obsolete' (bug#13929).
10646
175600da
SM
10647 * international/mule.el (find-auto-coding): Include file name in
10648 obsolescence warning (bug#13922).
10649
ca68a22e
TZ
106502013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10651
10652 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10653 for CFEngine 3-specific indentation.
10654 (cfengine3-indent-line): Use it. Fix up category regex.
10655 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10656
940e5099
SM
106572013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * type-break.el (type-break-file-name):
10660 * textmodes/remember.el (remember-data-file):
10661 * strokes.el (strokes-file):
10662 * shadowfile.el (shadow-initialize):
10663 * saveplace.el (save-place-file):
10664 * ps-bdf.el (bdf-cache-file):
10665 * progmodes/idlwave.el (idlwave-config-directory):
10666 * net/quickurl.el (quickurl-url-file):
10667 * international/kkc.el (kkc-init-file-name):
10668 * ido.el (ido-save-directory-list-file):
10669 * emulation/viper.el (viper-custom-file-name):
10670 * emulation/vip.el (vip-startup-file):
10671 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10672 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10673
cc725808
PE
106742013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10675
10676 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10677 * language/thai-word.el: Switch to UTF-8.
10678
a020afb9 10679See ChangeLog.16 for earlier changes.
e3d51b27
MR
10680
10681;; Local Variables:
10682;; coding: utf-8
e3d51b27
MR
10683;; End:
10684
ab422c4d 10685 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10686
10687 This file is part of GNU Emacs.
10688
10689 GNU Emacs is free software: you can redistribute it and/or modify
10690 it under the terms of the GNU General Public License as published by
10691 the Free Software Foundation, either version 3 of the License, or
10692 (at your option) any later version.
10693
10694 GNU Emacs is distributed in the hope that it will be useful,
10695 but WITHOUT ANY WARRANTY; without even the implied warranty of
10696 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10697 GNU General Public License for more details.
10698
10699 You should have received a copy of the GNU General Public License
10700 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.