Use libcrypto's checksum implementations if available, for speed.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6407822c
LL
12013-12-08 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/flymake.el (flymake-popup-current-error-menu): Rename
4 from flymake-display-err-menu-for-current-line. Reimplement.
5 (flymake-posn-at-point-as-event, flymake-popup-menu)
6 (flymake-make-emacs-menu): Remove. (Bug#16077)
7
00a2b823
SM
82013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9
02033d49
SM
10 * rect.el (rectangle-mark-mode): Activate mark even if
11 transient-mark-mode is off (bug#16066).
12 (rectangle--highlight-for-redisplay): Fix boundary condition when point
13 is > mark and at bolp.
14
6f8dfccf
SM
15 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
16 (region-extract-function): Use it.
17 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
18 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
19 Delete functions.
20 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
21 kill-ring-save, kill-region, delete-char, delete-forward-char.
22 Ignore self-insert-iso.
23
24 * emulation/cua-gmrk.el (cua--init-global-mark):
25 Ignore `self-insert-iso'.
26
27 * emulation/cua-base.el (cua--prefix-copy-handler)
28 (cua--prefix-cut-handler): Rely on region-extract-function rather than
29 checking cua--rectangle.
30 (cua-delete-region): Use region-extract-function.
31 (cua-replace-region): Delete function.
32 (cua-copy-region, cua-cut-region): Obey region-extract-function.
33 (cua--pre-command-handler-1): Don't do the delete-selection thing.
34 (cua--self-insert-char-p): Ignore `self-insert-iso'.
35 (cua--init-keymaps): Don't remap delete-selection commands.
36 (cua-mode): Use delete-selection-mode instead of rolling our own
37 (bug#16085).
38
39 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
40 Obey region-extract-function.
41
00a2b823
SM
42 Make registers and delete-selection-mode work on rectangles.
43 * register.el (describe-register-1): Don't modify the register's value.
44 (copy-to-register): Obey region-extract-function.
45 * delsel.el (delete-active-region): Obey region-extract-function.
46
a92fa5f1
LL
472013-12-08 Leo Liu <sdl.web@gmail.com>
48
49 * progmodes/flymake.el (flymake, flymake-error-bitmap)
50 (flymake-warning-bitmap, flymake-fringe-indicator-position)
51 (flymake-compilation-prevents-syntax-check)
52 (flymake-start-syntax-check-on-newline)
53 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
54 (flymake-start-syntax-check-on-find-file, flymake-log-level)
55 (flymake-xml-program, flymake-master-file-dirs)
56 (flymake-master-file-count-limit)
57 (flymake-allowed-file-name-masks): Relocate.
58 (flymake-makehash, flymake-float-time)
59 (flymake-replace-regexp-in-string, flymake-split-string)
60 (flymake-get-temp-dir): Remove.
61 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
62 (flymake-current-row, flymake-selected-frame)
63 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
64 related functions. (Bug#16077)
65
73c8ceea
BB
662013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
67
68 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
69
faec28d9
TH
702013-12-07 Tassilo Horn <tsdh@gnu.org>
71
72 * help-fns.el (describe-function-1): Use new advice-* functions
73 rather than old ad-* functions. Fix function type description and
74 source links for advised functions and subrs.
75
e330b646
LMI
762013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
77
00a2b823 78 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 79
4803595d
MA
802013-12-06 Michael Albinus <michael.albinus@gmx.de>
81
82 * progmodes/compile.el (compilation-start):
83 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
84
85 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
86 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
87
fa834a93
DG
882013-12-06 Dmitry Gutov <dgutov@yandex.ru>
89
00a2b823
SM
90 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
91 Touch up the last change.
fa834a93 92
b2856a6f
LL
932013-12-06 Leo Liu <sdl.web@gmail.com>
94
95 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
96 (inferior-octave-startup): Always use "octave> " for prompt.
97 (octave-goto-function-definition)
98 (octave-sync-function-file-names)
99 (octave-find-definition-default-filename): Remove redundant backquotes.
100
af67e79a
DG
1012013-12-06 Dmitry Gutov <dgutov@yandex.ru>
102
103 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
104 syntax for `?'.
105 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
106 where appropriate already.
107 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
108 end of method names (Bug#15874).
109
bf093209
JL
1102013-12-06 Juri Linkov <juri@jurta.org>
111
112 * isearch.el (isearch--saved-overriding-local-map):
113 New internal variable.
114 (isearch-mode): Set it to the initial value of
115 `overriding-terminal-local-map'.
116 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
117 with `isearch--saved-overriding-local-map'. (Bug#16035)
118
16588fad
DG
1192013-12-06 Dmitry Gutov <dgutov@yandex.ru>
120
00a2b823
SM
121 * progmodes/octave.el (inferior-octave-completion-table):
122 Turn back into function, use `completion-table-with-cache'
16588fad
DG
123 (Bug#11906). Update all references.
124
125 * minibuffer.el (completion-table-with-cache): New function.
126
bf4906d7
CD
1272013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
128
129 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
130
ff69c18f
TZ
1312013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
132
133 * net/eww.el (eww-current-source): New variable to store page
134 source.
135 (eww-display-html, eww-mode, eww-save-history)
136 (eww-restore-history): Use it.
137 (eww-view-source): New command to view page source.
138 Opportunistically uses `html-mode' to highlight the buffer.
139 (eww-mode-map): Install it.
140
b85eff45
MA
1412013-12-05 Michael Albinus <michael.albinus@gmx.de>
142
143 * net/dbus.el (dbus-unregister-service)
144 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
145 Fix docstring.
146 (dbus-unregister-service): Skip :serial entries in
147 `dbus-registered-objects-table'.
148 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
149
39eb0899
TZ
1502013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
151
152 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
153 around keywords with extra `split-string' argument.
154
456760a5
MR
1552013-12-04 Martin Rudalics <rudalics@gmx.at>
156
157 * windmove.el (windmove-other-window-loc): Handle navigation
158 between windows (excluding the minibuffer window - Bug#16017).
159
81961e4c
MA
1602013-12-04 Michael Albinus <michael.albinus@gmx.de>
161
162 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
163 in D-Bus type syntax.
164 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
165 preserve unibyte strings. (Bug#16048)
166
8497f938
SM
1672013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
170 Call force-mode-line-update is the proper buffer (bug#16042).
171
dda61916
DG
1722013-12-04 Dmitry Gutov <dgutov@yandex.ru>
173
174 * vc/log-edit.el (log-edit-add-new-comment): Rename to
175 `log-edit-remember-comment', make argument optional. Adjust all
176 callers.
177 (log-edit-mode): Add `log-edit-remember-comment' to
178 `kill-buffer-hook' locally.
179 (log-edit-kill-buffer): Don't remember comment explicitly since
180 the buffer is killed anyway.
181
c085e5b9
JL
1822013-12-04 Juri Linkov <juri@jurta.org>
183
184 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
185 add-hook and remove-hook for multi-buffer search. (Bug#16035)
186
d6f2380e
TR
1872013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
188
189 * notifications.el (notifications-close-notification): Call the
81961e4c 190 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 191
39fa32d6
KY
1922013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
193
194 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
195
9139632a
JL
1962013-12-03 Juri Linkov <juri@jurta.org>
197
198 * progmodes/compile.el (compilation-start): Rename window alist
199 entry `no-display-ok' to `allow-no-window'.
200
201 * simple.el (shell-command): Add window alist entry
202 `allow-no-window' to `display-buffer'.
203 (async-shell-command): Doc fix.
204
205 * window.el (display-buffer-no-window): New action function.
206 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
207
0f457a37
DG
2082013-12-02 Dmitry Gutov <dgutov@yandex.ru>
209
210 * vc/log-edit.el (log-edit-set-header): Extract from
211 `log-edit-toggle-header'.
212 (log-edit-extract-headers): Separate the summary, when extracted
213 from header, from the rest of the message with an empty line.
214
215 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
216 line, if present, to the Summary header.
217
0962f376
SM
2182013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
221 in current-buffer (bug#16029).
222
f345395c
HE
2232013-12-02 Helmut Eller <eller.helmut@gmail.com>
224
225 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
226 (debugger-mode-map): Bind it.
227 (debugger--backtrace-base): New function.
228 (debugger-eval-expression): Use it.
229 (debugger-frame-number): Skip local vars when present.
230 (debugger--locals-visible-p, debugger--insert-locals)
231 (debugger--show-locals, debugger--hide-locals): New functions.
232
a8a15d9d
MA
2332013-12-02 Michael Albinus <michael.albinus@gmx.de>
234
235 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
236 "LC_ALL".
237 (tramp-get-remote-locale): New defun.
238 (tramp-open-connection-setup-interactive-shell): Use it.
239
0518b057
LL
2402013-12-02 Leo Liu <sdl.web@gmail.com>
241
242 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
243
244 * progmodes/sh-script.el (sh-shell-process):
245 * progmodes/octave.el (inferior-octave-process-live-p):
246 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
247 (gdb-inferior-io-sentinel):
248 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
249
3adc9c6d
DG
2502013-12-02 Dmitry Gutov <dgutov@yandex.ru>
251
252 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
253 `save-selected-window' to `log-edit-hide-buf'. This makes
254 `log-edit-show-files' idempotent.
255 (log-edit-show-files): Mark the new window as dedicated.
256
47e8b74e
DG
2572013-12-02 Dmitry Gutov <dgutov@yandex.ru>
258
259 * vc/log-edit.el (log-edit-mode-map): Add binding for
260 `log-edit-kill-biffer'.
261 (log-edit-hide-buf): Add a FIXME comment.
262 (log-edit-add-new-comment): New function, extracted from
263 `log-edit-done'.
264 (log-edit-done, log-edit-add-to-changelog): Use it.
265 (log-edit-kill-buffer): New command.
266
1f6e1bb0
LMI
2672013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
268
269 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
270 instead of killing the buffer.
271
fb651d15
SM
2722013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
275
8feacce0
RS
2762013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
277
fb651d15 278 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 279 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
280 (eww-form-checkbox, eww-toggle-checkbox):
281 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
282
283 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
284 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
285 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
286 no :src tag was specified.
287
fb651d15 288 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
289 (eww-render): Handle `eww-use-external-browser-for-content-type'.
290 Use \\` to match beginning of string instead of ^.
291 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 292 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 293
177948a5
RS
294 * net/shr.el (shr-tag-video): Display content for video if no
295 poster is available.
eb2dd24d 296 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
297
298 * net/eww.el (eww-text-input-types): : New const.
299 (eww-process-text-input): Treat input types in
300 `eww-text-input-types' as text.
301
8feacce0
RS
302 * net/shr.el (shr-tag-table): Fix comment typo.
303
513562a1
LMI
3042013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
305
306 * net/eww.el (eww-follow-link): New command to avoid reloading
307 pages when we follow #target links (bug#15243).
de8a5633 308 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 309
9dd99753
KN
3102013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
311
312 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
313 forms.
314
3e9876de
LMI
3152013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
316
317 * net/eww.el (eww-restore-history): Update the window title after
318 moving in the history.
ab6dea82 319 (eww-current-dom): New variable used to save the current DOM.
3e9876de 320
52789f7f
DG
3212013-12-01 Dmitry Gutov <dgutov@yandex.ru>
322
323 * vc/log-edit.el (log-edit-mode-map): Add binding for
324 `log-edit-beginning-of-line'.
325 (log-edit-setup-add-author): New user option.
326 (log-edit-beginning-of-line): New command.
327 (log-edit): Move major mode call above the contents setup so that
328 the local variable values are already applied.
329 (log-edit): Only insert "Author: " when
330 `log-edit-setup-add-author' is non-nil.
331 (log-edit): When SETUP is non-nil, position point after ": "
332 instead of point-min.
333
2e6710c3
GM
3342013-12-01 Glenn Morris <rgm@gnu.org>
335
336 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
337
fadec31f
EZ
3382013-11-30 Eli Zaretskii <eliz@gnu.org>
339
340 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 341 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
342 visible. (Bug#16014)
343
10634b40 3442013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
345
346 Support resizing frames and windows pixelwise.
347 * cus-start.el (frame-resize-pixelwise)
348 (window-resize-pixelwise): New entries.
349 * emacs-lisp/debug.el (debug): Use window-total-height instead
350 of window-total-size.
351 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
352 * help.el (describe-bindings-internal): Call help-buffer
353 (temp-buffer-max-width): New option.
354 (resize-temp-buffer-window, help-window-setup)
355 (with-help-window): Rewrite.
356 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
357 dragging dividers.
358 * window.el (frame-char-size, window-min-pixel-height)
359 (window-safe-min-pixel-height, window-safe-min-pixel-width)
360 (window-min-pixel-width, window-safe-min-pixel-size)
361 (window-combination-p, window-safe-min-size)
362 (window-resizable-p, window--size-to-pixel)
363 (window--pixel-to-size, window--resize-apply-p): New functions.
364 (window-safe-min-height): Fix doc-string.
365 (window-size, window-min-size, window--min-size-1)
366 (window-sizable, window-sizable-p, window--min-delta-1)
367 (window-min-delta, window--max-delta-1, window-max-delta)
368 (window--resizable, window--resizable-p, window-resizable)
369 (window-full-height-p, window-full-width-p, window-at-side-p)
370 (window--in-direction-2, window-in-direction)
371 (window--resize-reset-1, window--resize-mini-window)
372 (window-resize, window-resize-no-error)
373 (window--resize-child-windows-normal)
374 (window--resize-child-windows, window--resize-siblings)
375 (window--resize-this-window, window--resize-root-window)
376 (window--resize-root-window-vertically)
377 (adjust-window-trailing-edge, enlarge-window, shrink-window)
378 (maximize-window, minimize-window, delete-window)
379 (quit-restore-window, window-split-min-size, split-window)
380 (balance-windows-2, balance-windows)
381 (balance-windows-area-adjust, balance-windows-area)
382 (window--state-get-1, window-state-get, window--state-put-1)
383 (window--state-put-2, window-state-put)
fb651d15
SM
384 (display-buffer-record-window, window--display-buffer):
385 Make functions handle pixelwise sizing of windows.
880e6158 386 (display-buffer--action-function-custom-type)
fb651d15
SM
387 (display-buffer-fallback-action):
388 Add display-buffer-in-previous-window.
880e6158
MR
389 (display-buffer-use-some-window): Resize window to height it had
390 before.
391 (fit-window-to-buffer-horizontally): New option.
392 (fit-frame-to-buffer): Describe new values.
393 (fit-frame-to-buffer-bottom-margin): Replace with
394 fit-frame-to-buffer-margins.
395 (window--sanitize-margin): New function.
396 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
397 using window-text-pixel-size.
398
f9b697dd
GM
3992013-11-30 Glenn Morris <rgm@gnu.org>
400
3e2fb4db
GM
401 * emacs-lisp/bytecomp.el (byte-compile-form):
402 Make the `interactive-only' warning like the `obsolete' one.
403 * comint.el (comint-run):
404 * files.el (insert-file-literally, insert-file):
405 * replace.el (replace-string, replace-regexp):
406 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
407 (goto-line, insert-buffer, next-line, previous-line):
408 Tweak `interactive-only' spec.
409
f9b697dd
GM
410 Stop keeping (most) generated cedet grammar files in the repository.
411 * Makefile.in (semantic): New.
412 (compile-main): Depend on semantic.
413
da048127
SM
4142013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
415
7784b779
SM
416 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
417 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
418
4e36a6a6
SM
419 * uniquify.el (uniquify-buffer-name-style): Change default.
420
421 * loadup.el: Preload "uniquify".
422
e0ba1308
SM
423 * time.el (display-time-update): Update all mode lines (bug#15999).
424
da048127
SM
425 * electric.el (electric-indent-mode): Enable by default.
426 * loadup.el: Preload "electric".
427
015b3b3e
BB
4282013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
429
430 * emacs-lisp/helpers.el (string-empty-p): New function.
431 (string-blank-p): New function.
432
7efb806d
AP
4332013-11-29 Andreas Politz <politza@hochschule-trier.de>
434
435 * imenu.el (imenu--index-alist): Add missing dot to the docstring
436 (Bug#14029).
437
c8f0efc2
AP
4382013-11-29 Andreas Politz <politza@fh-trier.de>
439 * imenu.el (imenu--subalist-p): Don't error on non-conses and
440 allow non-lambda lists as functions.
441 (imenu--in-alist): Don't recurse into non-subalists.
442 (imenu): Don't pass function itself as an argument (Bug#14029).
443
bd15d9d1
SM
4442013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * progmodes/python.el (python-mode-map): Remove binding for ":".
447 (python-indent-electric-colon): Remove command.
448 (python-indent-post-self-insert-function): Integrate the previous code
449 of python-indent-electric-colon. Make it conditional on
450 electric-indent-mode.
451 (python-mode): Add ?: to electric-indent-chars.
452 Move python-indent-post-self-insert-function to the end of
453 post-self-insert-hook.
454
1b10adb6
SM
4552013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
456
655ab9a3
SM
457 * doc-view.el (doc-view-goto-page): Update mode-line.
458
1b10adb6
SM
459 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
460
7e3bf78c
GM
4612013-11-27 Glenn Morris <rgm@gnu.org>
462
463 * international/charprop.el, international/uni-bidi.el:
464 * international/uni-category.el, international/uni-combining.el:
465 * international/uni-comment.el, international/uni-decimal.el:
466 * international/uni-decomposition.el, international/uni-digit.el:
467 * international/uni-lowercase.el, international/uni-mirrored.el:
468 * international/uni-name.el, international/uni-numeric.el:
469 * international/uni-old-name.el, international/uni-titlecase.el:
470 * international/uni-uppercase.el:
471 Remove generated files from VCS repository.
472
fb6a5d68
EZ
4732013-11-27 Eli Zaretskii <eliz@gnu.org>
474
475 * filenotify.el (file-notify-add-watch): Don't special-case
476 w32notify when computing the directory to watch.
477
cb6c95a3
GM
4782013-11-27 Glenn Morris <rgm@gnu.org>
479
20372d0c
GM
480 Make bootstrap without generated uni-*.el files possible again.
481 * loadup.el: Update command-line-args checking for unidata-gen.
482 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
483 * composite.el, international/characters.el:
484 Handle unicode tables being undefined.
485
52d6635f 486 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
487 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
488 (compile-main): Depend on leim rule.
489 (leim): New rule.
490 * loadup.el: Move leim-list.el to leim/ subdirectory.
491 * startup.el (normal-top-level): No more leim directory.
492 * international/ja-dic-cnv.el (skkdic-convert):
493 Disable version-control and autoloads in output files.
494 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
495 Disable version-control and autoloads in output files.
496 * leim/quail: Move here from ../leim.
497 * leim/quail/hangul.el (hangul-input-method-activate):
498 Add autoload cookie.
499 (generated-autoload-load-name): Set file-local value.
500 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
501 (generated-autoload-load-name): Set file-local value.
502
0449d6cd 5032013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
504
505 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
506 (eww-add-bookmark): ask confirmation when add to bookmarks
507 (eww-quit): ask confirmation before quitting eww
508
0e2c793f
EZ
5092013-11-26 Eli Zaretskii <eliz@gnu.org>
510
511 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
512 reading output from Diff on MS-Windows and MS-DOS.
513
447bdcb8
BB
5142013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
515
516 * emacs-lisp/helpers.el (string-reverse): New function.
517
5fbf6856
MA
5182013-11-26 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
521 names on MS Windows, like "/[::1]:".
522
523 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
524 SWITCHES.
525
624780f0
GM
5262013-11-26 Glenn Morris <rgm@gnu.org>
527
0bf3f0fa
GM
528 * progmodes/python.el (python-indent-guess-indent-offset):
529 Avoid corner-case error. (Bug#15975)
530
624780f0
GM
531 Preload leim-list.el. (Bug#4789)
532 * loadup.el: Load leim-list.el when found.
533 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
534
4301875e 5352013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
536
537 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
538
4301875e
BB
539 * emacs-lisp/helpers.el (string-join): New function.
540
1633a815 5412013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
542
543 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
544 Mark as obsolete and replace it with a symbol property.
545 (byte-compile-form): Use new 'interactive-only property.
546 * comint.el, files.el, replace.el, simple.el:
547 Apply new 'interactive-only properly.
548
00139435
MR
5492013-11-25 Martin Rudalics <rudalics@gmx.at>
550
551 * window.el (display-buffer-at-bottom): Make sure that
552 split-window-sensibly creates the new window on bottom
553 (Bug#15961).
554
5f5b128d
DK
5552013-11-23 David Kastrup <dak@gnu.org>
556
557 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
558 on the conflict markers when available.
559 (smerge--get-marker): New function.
560 (smerge-end-re, smerge-base-re): Add subgroup.
561
623891e5
SM
5622013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * frame.el (handle-focus-in, handle-focus-out): Add missing
565 interactive spec.
566
05ca27d8
MA
5672013-11-25 Michael Albinus <michael.albinus@gmx.de>
568
569 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
570 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
571
511fa0d3
SM
5722013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
573
e82ad66c
SM
574 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
575 (gomoku--last-pos): New var.
576 (gomoku--intangible-chars): New const.
577 (gomoku--intangible): New function.
578 (gomoku-mode): Use it. Derive from special-mode.
579 (gomoku-move-up): Adjust line count.
580 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
581 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
582 Simplify accordingly.
583
511fa0d3
SM
584 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
585 Remove blink-cursor code.
586 (blink-cursor-timer-function, blink-cursor-suspend):
587 Don't special-case GUIs.
588 (blink-cursor-mode): Use focus-in/out-hook.
589
6f20dd03
DG
5902013-11-25 Dmitry Gutov <dgutov@yandex.ru>
591
592 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
593 work when annotation is invisible (Bug#13886).
594
431dec31 5952013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
596
597 * json.el (json-alist-p): Only return non-nil if the alist has
598 simple keys (Bug#13518).
599
431dec31 6002013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
601
602 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
603 when control-statement is the first statement in a buffer (Bug#15956).
604
ee4f0261
DG
6052013-11-24 Dmitry Gutov <dgutov@yandex.ru>
606
607 * imenu.el (imenu-generic-skip-comments-and-strings):
608 New option (Bug#15560).
609 (imenu--generic-function): Use it.
610
c484f866
JS
6112013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
612
613 * minibuffer.el (completion--in-region-1): Scroll the correct
614 window. (Bug#13898)
615
41ce6f70
BB
6162013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
617
b55aea38
BB
618 * emacs-lisp/helpers.el: Add some string helpers.
619 (string-trim-left): Removes leading whitespace.
620 (string-trim-right): Removes trailing whitespace.
621 (string-trim): Removes leading and trailing whitespace.
622
41ce6f70
BB
623 * subr.el (string-suffix-p): New function.
624
3cfb6af3
GM
6252013-11-23 Glenn Morris <rgm@gnu.org>
626
627 * progmodes/python.el (python-shell-send-file):
628 Add option to delete file when done. (Bug#15647)
629 (python-shell-send-string, python-shell-send-region): Use it.
630
c27924b7
IS
6312013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
632
e1b01c7f
IS
633 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
634 to set buffer-read-only to t, never to nil. (Bug#15938)
635
c27924b7
IS
636 * textmodes/tex-mode.el (latex-noindent-environments):
637 Add safe-local-variable property. (Bug#15936)
638
17e0445b
GM
6392013-11-23 Glenn Morris <rgm@gnu.org>
640
92f78ea3
GM
641 * textmodes/enriched.el (enriched-mode): Doc fix.
642 * emacs-lisp/authors.el (authors-renamed-files-alist):
643 Add enriched.doc -> enriched.txt.
644
17e0445b
GM
645 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
646
965bb23a
LL
6472013-11-22 Leo Liu <sdl.web@gmail.com>
648
649 * progmodes/octave.el (inferior-octave-startup): Spit out error
650 message.
651
d19ffd64
BB
6522013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
653
654 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
655 Improve docstring.
15ba2182
BB
656 Add :version.
657 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 658
7a7567d2
LL
6592013-11-22 Leo Liu <sdl.web@gmail.com>
660
661 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
662 (Bug#15076)
8c09f64b
LL
663 (octave-help-mode): Adapt to change to help-mode-finish to use
664 derived-mode-p on 2013-09-17.
665 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 666 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 667
724bc265
LL
6682013-11-22 Leo Liu <sdl.web@gmail.com>
669
670 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
671 (inferior-octave-startup, inferior-octave-check-process)
672 (inferior-octave-track-window-width-change)
673 (octave-completion-at-point, octave-eldoc-function): Use it.
674 (octave-kill-process): Provide confirmation. (Bug#10564)
675
38637cca
LL
6762013-11-21 Leo Liu <sdl.web@gmail.com>
677
511fa0d3
SM
678 * progmodes/octave.el (octave-mode, inferior-octave-mode):
679 Fix obsolete variable comment-use-global-state.
38637cca 680
06e752b4
RS
6812013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
682
511fa0d3
SM
683 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
684 Add `octave-source-file'.
06e752b4
RS
685 (octave-source-file): New function. (Bug#15935)
686
0449d6cd 6872013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
688
689 * net/eww.el (eww-local-regex): New variable.
690 (eww): Use it to detect localhost and similar.
691
b6ffa04a
LL
6922013-11-21 Leo Liu <sdl.web@gmail.com>
693
694 Add completion for command `ag'.
2021a200
LL
695 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
696 (pcomplete/ag): New function.
697 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 698
d1a6bccc
SM
6992013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
702 (bug#14646).
703 (make-obsolete): Remove interactive spec.
704
2df10228
GM
7052013-11-21 Glenn Morris <rgm@gnu.org>
706
707 * startup.el (command-line-1): Use path-separator with -L.
708
86fd16b6
TZ
7092013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
710
711 * emacs-lisp/package.el (describe-package-1): Add package archive
712 to shown fields.
713
0449d6cd 7142013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
715
716 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
717 Change default to "# encoding: %s" to differentiate it from the
718 default Ruby encoding comment template.
719
dc7e8c17 7202013-11-20 era eriksson <era+emacsbugs@iki.fi>
721
722 * ses.el (ses-mode): Doc fix. (Bug#14748)
723
f0cfa5fe
LL
7242013-11-20 Leo Liu <sdl.web@gmail.com>
725
726 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
727
826dc7b6
DN
7282013-11-19 Dan Nicolaescu <dann@gnu.org>
729
730 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
731 when rebase or bisect are in progress.
732
a6e3a5d5
XF
7332013-11-19 Xue Fuqiao <xfq.free@gmail.com>
734
735 * filenotify.el (file-notify-add-watch): Doc fix.
736
f130cb76
LL
7372013-11-19 Leo Liu <sdl.web@gmail.com>
738
e0855d7d
LL
739 * obsolete/rcompile.el: Mark obsolete.
740
f130cb76 741 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
742 (compilation-goto-locus, compilation-find-file):
743 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
744 (Bug#13594)
745
746 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
747 new parameter no-display-ok. Return either a window or nil
748 but never a non-window value.
f130cb76 749
1f35d401
SM
7502013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
751
25158c76
SM
752 * electric.el (electric-indent-mode-map): Remove.
753 (electric-indent-mode): Change the global-map instead (bug#15915).
754
755 * textmodes/text-mode.el (paragraph-indent-minor-mode):
756 Use add-function.
1f35d401 757
9bc67baa
SM
7582013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
759
986545b5
SM
760 * emacs-lisp/nadvice.el (remove-function): Align with
761 add-function's behavior.
762
9bc67baa
SM
763 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
764 (gdb--string-regexp): New constant.
765 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
766 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
767 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
768 submatch 1.
769 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
770 Adjust use accordingly.
771 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
772
56cd894e
AS
7732013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
774
775 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
776 interpolation curlies (Bug#15914).
777
014690de
JB
7782013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
779
780 * calc/calc.el (calc-context-sensitive-enter): New variable.
781 (calc-enter): Use `calc-context-sensitive-enter'.
782
7e26a6c3
TZ
7832013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
784
785 * progmodes/cfengine.el: Version bump.
786 (cfengine-cf-promises): New defcustom to locate cf-promises.
787 (cfengine3-vartypes): Add new "data" type.
788 (cfengine3--current-word): New function to get current name-like
789 word or its bounds.
790 (cfengine3--current-function): New function to look up a CFEngine
791 function's definition.
792 (cfengine3-format-function-docstring): New function.
793 (cfengine3-make-syntax-cache): New function.
794 (cfengine3-documentation-function): New function: ElDoc glue.
795 (cfengine3-completion-function): New function: completion glue.
796 (cfengine3-mode): Set `compile-command',
797 `eldoc-documentation-function', and add to
798 `completion-at-point-functions'.
799
355204dd
MA
8002013-11-16 Michael Albinus <michael.albinus@gmx.de>
801
802 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
803 `tramp-current-connection'.
804
43cebc23
DG
8052013-11-15 Dmitry Gutov <dgutov@yandex.ru>
806
807 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
808 nil/self/true/false with "end of symbol".
809
a3fed6ff
BB
8102013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
811
812 * subr.el (version-regexp-alist): Fix a typo.
813
e675b3e4
MA
8142013-11-15 Michael Albinus <michael.albinus@gmx.de>
815
816 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
817 "en_US.utf8" and "LC_CTYPE" to "".
818 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
819 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
820
a1f03e89
LL
8212013-11-15 Leo Liu <sdl.web@gmail.com>
822
823 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
824
5d9d9451
SM
8252013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
826
58362662
CS
827 * progmodes/gud.el (ctl-x-map):
828 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
829 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
830
6c1bf086
BB
8312013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
832
0d5363c4
BB
833 * subr.el (version-regexp-alist):
834 Recognize hg, svn and darcs versions as snapshot versions.
835
4e9fc48c
BB
836 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
837 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
838 (ruby--encoding-comment-required-p): Extract from
839 `ruby-mode-set-encoding'.
840 (ruby-mode-set-encoding): Add the ability to always insert an
841 utf-8 encoding comment. Fix and simplify coding comment update
842 logic.
6c1bf086 843
2f7e72f8
MA
8442013-11-14 Michael Albinus <michael.albinus@gmx.de>
845
846 * net/tramp-gvfs.el (top): Run init code only when
847 `tramp-gvfs-enabled' is not nil.
848 (tramp-gvfs-enabled): Check also :system bus.
849
0f137a73
SM
8502013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 Sync with upstream verilog-mode revision 78e66ba.
853 * progmodes/verilog-mode.el (verilog-end-of-defun)
854 (verilog-type-completion, verilog-get-list): Remove unused funcs.
855 (verilog-get-end-of-defun): Remove unused argument.
856 (verilog-comment-depth): Remove unused local `e'.
857 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
858 Don't pass arg to verilog-get-end-of-defun.
859
1c276bdd
GM
8602013-11-14 Glenn Morris <rgm@gnu.org>
861
862 * obsolete/assoc.el (aget): Prefix dynamic variable.
863
864 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
865
ff6ec81d
SM
8662013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * widget.el, hfy-cmap.el: Remove bogus package version number.
869
75f777b6
GM
8702013-11-13 Glenn Morris <rgm@gnu.org>
871
1d43dba1
GM
872 * replace.el (replace-eval-replacement):
873 Try to give more helpful error message. (Bug#15836)
874
ff4b7bd5
GM
875 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
876 (archive-7z-update): Avoid custom type mismatches.
877
75f777b6
GM
878 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
879
11151a06
MA
8802013-11-13 Michael Albinus <michael.albinus@gmx.de>
881
e675b3e4 882 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
883 address can be empty.
884
885 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
886 Accept nil SWITCHES.
887 (tramp-gvfs-handle-write-region): Implement APPEND.
888
7b08f97e
DG
8892013-11-12 Dmitry Gutov <dgutov@yandex.ru>
890
891 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
892 binary "|" operator and closing block args delimiter.
893 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
894 (ruby-smie--implicit-semi-p): Not after "|" operator.
895 (ruby-smie--closing-pipe-p): New function.
896 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
897 (ruby-smie-rules): Indent after "|".
898
f201cf3a
GM
8992013-11-12 Glenn Morris <rgm@gnu.org>
900
901 * ps-print.el (ps-face-attribute-list):
902 Handle anonymous faces. (Bug#15827)
903
e6f759f9
MR
9042013-11-12 Martin Rudalics <rudalics@gmx.at>
905
906 * window.el (display-buffer-other-frame): Fix doc-string.
907 (Bug#15868)
908
ecda65d4
SM
9092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * subr.el (force-mode-line-update): Delete, move to buffer.c.
912
7ce8fcc3
MA
9132013-11-11 Michael Albinus <michael.albinus@gmx.de>
914
915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
916 (tramp-sh-handle-file-local-copy): Don't write a message when
917 saving temporary files.
918
919 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
920 both directories are remote.
921 (tramp-smb-handle-directory-files): Do not return double entries.
922 Do not expand full file names.
923 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
924 (tramp-smb-handle-write-region): Implement APPEND.
925 (tramp-smb-get-stat-capability): Fix a stupid bug.
926
7818df11
SM
9272013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
930
608c2085
NT
9312013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
932
933 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
934 throwing error over malformed let/let* (bug#15814).
935
122a7e46
SM
9362013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * iswitchb.el (iswitchb-mode): Mark obsolete.
939
766284d9
GM
9402013-11-11 Glenn Morris <rgm@gnu.org>
941
942 * international/uni-bidi.el, international/uni-category.el:
943 * international/uni-name.el, international/uni-numeric.el:
944 Regenerate for Unicode 6.3.0.
945
7072a4e9
MA
9462013-11-10 Michael Albinus <michael.albinus@gmx.de>
947
948 * net/tramp.el (tramp-methods):
949 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
950 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
951
c9df215b
AS
9522013-11-09 Andreas Schwab <schwab@linux-m68k.org>
953
608c2085
NT
954 * progmodes/sh-script.el (sh-font-lock-keywords-var):
955 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 956
fa47d796
DG
9572013-11-09 Dmitry Gutov <dgutov@yandex.ru>
958
959 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 960 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
961 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
962 (ispell-complete-word): Call `ispell-lookup-words' with the value
963 independent of `ispell-look-p'.
964
1629a329
DG
9652013-11-08 Dmitry Gutov <dgutov@yandex.ru>
966
967 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
968 Not after "||".
969 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
970 their parent.
971
ad16897c
SM
9722013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
975 (ruby-font-lock-keywords): Use backquote.
976
ffa2df72
DG
9772013-11-08 Dmitry Gutov <dgutov@yandex.ru>
978
979 * progmodes/ruby-mode.el (ruby-smie--forward-token)
980 (ruby-smie--backward-token): Only consider full-string matches.
981
5b97b4c0
JD
9822013-11-08 Jan Djärv <jan.h.d@swipnet.se>
983
984 * faces.el (describe-face): Add distant-foreground.
985
71731c03
BB
9862013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
987
4e9fc48c
BB
988 * progmodes/ruby-mode.el: Improve encoding comment handling.
989 (ruby-encoding-magic-comment-style): New option.
990 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
991 (ruby--insert-coding-comment, ruby--detect-encoding):
992 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
993 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
994 to control the style of the auto-inserted encoding comment.
71731c03 995
da3b328d
DG
9962013-11-08 Dmitry Gutov <dgutov@yandex.ru>
997
ad16897c
SM
998 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
999 Use `smie-backward-sexp' with token argument.
da3b328d 1000
1606c2d3
MA
10012013-11-08 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1004 Remove instrumentation code.
1005
b0f4c320
GM
10062013-11-08 Glenn Morris <rgm@gnu.org>
1007
1008 * progmodes/autoconf.el (autoconf-mode):
1009 Tweak comment-start-skip. (Bug#15822)
1010
43668fb1
SM
10112013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1014 at bobp (bug#15826).
1015 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1016
daddb3fd
DH
10172013-11-08 Darren Hoo <darren.hoo@gmail.com>
1018
1019 * man.el (Man-start-calling): New macro, extracted from
1020 Man-getpage-in-background.
1021 (Man-getpage-in-background): Use it.
1022 (Man-update-manpage): New command.
1023 (Man-mode-map): Bind it.
1024
1f923923
DG
10252013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1026
1027 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1028 of "and", "or", "&&" and "||".
1029 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1030 argument. Prohibit opening curly brace because it could only be a
1031 block opener in that position.
daddb3fd
DH
1032 (ruby-smie--forward-token, ruby-smie--backward-token):
1033 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1034 arguments.
1035 (ruby-smie--indent-to-stmt): New function, seeks the end of
1036 previous statement or beginning of buffer.
1037 (ruby-smie-rules): Use it.
1038 (ruby-smie-rules): Check if there's a ":" before a curly block
1039 opener candidate; if there is, it's a hash.
1040
3220d527
SM
10412013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1044 (cl--block-wrapper): Fix last accidental change.
1045
1eb1f9e0
MA
10462013-11-07 Michael Albinus <michael.albinus@gmx.de>
1047
1048 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1049 Instrument, in order to hunt failure on hydra.
1050
e6e4db3c
NT
10512013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1052
1053 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1054 malformed bindings form (bug#15814).
1055
b420ccfc
DG
10562013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1057
1058 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1059 "." compared to " @ ". This incidentally fixes some indentation
1060 examples with "do".
e6e4db3c 1061 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1062 (ruby-smie-grammar): New tokens: "and" and "or".
1063 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1064 Exclude "and" and "or". Remove "do" in order to work around token
1065 priorities.
1066 (ruby-smie-rules): Add all infix tokens. Handle the case of
1067 beginning-of-buffer.
b420ccfc 1068
6b4ac03e
GM
10692013-11-06 Glenn Morris <rgm@gnu.org>
1070
1071 * Makefile.in (setwins_almost, setwins_for_subdirs):
1072 Avoid accidental matches.
1073
5ca114d1
SM
10742013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * menu-bar.el (popup-menu): Use key-binding.
1077
f72552bd
EZ
10782013-11-06 Eli Zaretskii <eliz@gnu.org>
1079
1080 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1081 menus, support also the menus produced by minor modes.
1082 (Bug#15817)
1083
5d5c701e
LL
10842013-11-06 Leo Liu <sdl.web@gmail.com>
1085
1086 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1087 DISTANCE to bound the search. All uses changed. (Bug#15808)
1088
0a8b75e2
GM
10892013-11-06 Glenn Morris <rgm@gnu.org>
1090
1091 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1092 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1093 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1094
a35287ea
SM
10952013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1096
feca4e2d
SM
1097 * electric.el (electric-indent-just-newline): New command.
1098 (electric-indent-mode-map): New keymap.
1099 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1100 Re-add :group which weren't redundant.
1101
a35287ea
SM
1102 * electric.el (electric-indent-local-mode): New minor mode.
1103 (electric-indent-functions-without-reindent): New var.
1104 (electric-indent-post-self-insert-function): Use it.
1105 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1106
375761b2
EZ
11072013-11-05 Eli Zaretskii <eliz@gnu.org>
1108
9a6ad735
EZ
1109 * international/quail.el (quail-help): Be more explicit about the
1110 meaning of the labels shown on the keys. (Bug#15800)
1111
375761b2
EZ
1112 * startup.el (normal-top-level): Load the subdirs.el files before
1113 setting the locale environment. (Bug#15805)
1114
520a6e4a
SM
11152013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1116
0acfafef
SM
1117 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1118 via arguments so as to get the right ones (bug#15418).
1119
520a6e4a
SM
1120 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1121
15826261
MA
11222013-11-05 Michael Albinus <michael.albinus@gmx.de>
1123
1124 Fix problems found while writing a test suite.
1125
1126 * net/tramp-compat.el (tramp-compat-load): New defun.
1127 * net/tramp.el (tramp-handle-load): Use it.
1128
1129 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1130 "(numberp ok-if-already-exists)" correctly.
1131
d35f31a4
XF
11322013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1133
1134 * international/characters.el (glyphless-char-display-control):
1135 Add usage note.
1136
ae93bc74
BB
11372013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1138
520a6e4a
SM
1139 * progmodes/python.el (python-mode):
1140 * progmodes/scheme.el (scheme-mode):
1141 * progmodes/prolog.el (prolog-mode):
1142 * progmodes/ruby-mode.el (ruby-mode):
1143 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1144 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1145
0ade65b5
SM
11462013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1147
a0d5f7a4
SM
1148 * rect.el (rectangle--highlight-for-redisplay):
1149 * emacs-lisp/smie.el (smie--next-indent-change):
1150 Use buffer-chars-modified-tick.
1151
c93f3f5c
SM
1152 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1153
0ade65b5
SM
1154 * electric.el (electric-indent-post-self-insert-function):
1155 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1156
ef9dd188
HE
11572013-11-04 Helmut Eller <eller.helmut@gmail.com>
1158
1159 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1160
306e7308
NT
11612013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1162
1163 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1164 (bug#15786).
1165
e5afbcac
SM
11662013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1d01ad41
SM
1168 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1169
e5afbcac
SM
1170 * progmodes/python.el: Fix up last change.
1171 (python-shell--save-temp-file): New function.
1172 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1173 `string' comes from the current buffer.
1174 (python-shell-send-string-no-output): Remove `msg' arg.
1175 (python--use-fake-loc): New var.
1176 (python-shell-buffer-substring): Obey it. Try to compensate for the
1177 extra coding line added by python-shell--save-temp-file.
1178 (python-shell-send-region): Use python-shell--save-temp-file and
1179 python-shell-send-file directly. Add `nomain' argument.
1180 (python-shell-send-buffer): Use python-shell-send-region.
1181 (python-electric-pair-string-delimiter): New function.
1182 (python-mode): Use it.
1183
d0065ff1
EZ
11842013-11-04 Eli Zaretskii <eliz@gnu.org>
1185
1186 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1187 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1188 environment and decoding all of the default-directory's to here
1189 from command-line.
1190 (command-line): Decode also argv[0].
1191
1192 * loadup.el: Error out if default-directory is a multibyte string
1193 when we are dumping.
1194
1195 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1196
7397c587
TZ
11972013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1198
1199 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1200 (package-menu--print-info, package-menu--archive-predicate):
1201 Add Archive column to package list.
7397c587 1202
b27cc9fc
MA
12032013-11-04 Michael Albinus <michael.albinus@gmx.de>
1204
1205 Fix problems found while writing a test suite.
1206
1207 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1208 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1209 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1210 to nil when running original file name handler. Otherwise,
1211 there are problems with constructs like "$$FOO".
1212
1213 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1214 for `localname'.
1215
d8c4f18a
BB
12162013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1217
7b530552
BB
1218 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1219
1220 * subr.el (version<, version<=, version=):
1221 Update docstrings with information for snapshot versions.
1222
d8c4f18a
BB
1223 * helpers.el: New library for misc helper functions.
1224 (hash-table-keys): New function returning a list of hash keys.
1225 (hash-table-values): New function returning a list of hash values.
1226
dca01b09
DG
12272013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1228
1229 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1230 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1231
0a749fa0
MN
12322013-11-04 Michal Nazarewicz <mina86@mina86.com>
1233
1234 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1235 checking whether point is after a 1-letter word.
1236
12372013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1238
1239 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1240 Don't infloop when expanding region over `multiline' syntax-type that
1241 begins a line (bug#15778).
1242
4aca7145
SM
12432013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1246 Make it into a proper minor mode.
1247 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1248 (rectangle-mark-mode-map): New keymap.
1249 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1250
a0833f62
GM
12512013-11-04 Glenn Morris <rgm@gnu.org>
1252
1253 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1254
e61845c1
SM
12552013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1258 (ruby-smie-rules): Use smie-rule-parent instead.
1259
1260 * emacs-lisp/smie.el (smie-rule-parent): Always call
1261 smie-indent-virtual rather than only for hanging tokens.
1262 (smie--next-indent-change): New helper command.
1263
62942f89
GM
12642013-11-03 Glenn Morris <rgm@gnu.org>
1265
1266 * Makefile.in (abs_srcdir): Remove.
1267 (emacs): Unset EMACSLOADPATH.
1268
b0b9e592
GM
12692013-11-02 Glenn Morris <rgm@gnu.org>
1270
18ba6a33 1271 * Makefile.in (EMACS): Use a relative filename.
8061810d 1272 (abs_top_builddir): Remove.
18ba6a33
GM
1273 (custom-deps, finder-data, autoloads): Use --chdir.
1274
6a8b929e
GM
1275 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1276
c617f3d0
GM
1277 Use relative filenames in TAGS files.
1278 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1279 (lisptagsfiles4, TAGS): Use relative file names.
1280 (TAGS-LISP): Remove.
1281 (maintainer-clean): No more TAGS-LISP file.
1282
b0b9e592
GM
1283 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1284 (lisptagsfiles4): Use absolute filenames again.
1285 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1286 Remove all *loaddefs files, not just the first. Remove esh-groups.
1287 (maintainer-clean): Delete TAGS, TAGS-LISP.
1288
d1c0ea6a
BB
12892013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1290
e61845c1
SM
1291 * emacs-lisp/package.el (package-version-join):
1292 Recognize snapshot versions.
d1c0ea6a 1293
684d71c6
BB
12942013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1295
1296 * subr.el (version-regexp-alist): Add support for snapshot versions.
1297
3d42b968
DG
12982013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1299
e61845c1
SM
1300 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1301 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1302 skip over our direct parent if it's an assignment token..
1303 (ruby-smie-rules): Use it.
1304
7ffd3721
DG
13052013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1306
1307 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1308 unconditionally. Remove now unnecessary forward declarations.
1309 Remove XEmacs-specific setup.
1310 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1311 (ruby-font-lock-syntactic-keywords)
1312 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1313 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1314 (ruby-here-doc-end-syntax): Remove.
1315 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1316 defined as function.
1317
a3996a2e
BB
13182013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1319
1320 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1321
6f9260e8
BB
13222013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1323
1324 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1325 table and abbrev table, `define-derived-mode' does that for us
1326 anyway.
1327
6014de84
GM
13282013-11-01 Glenn Morris <rgm@gnu.org>
1329
1330 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1331 files is atomic for some time, so no parallel compilation issues).
1332
3c334c14
JD
13332013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1334
1335 * faces.el (face-x-resources): Add :distant-foreground.
1336 (region): Use :distant-foreground for gtk and ns.
1337
9bc236c8
TH
13382013-11-01 Tassilo Horn <tsdh@gnu.org>
1339
5246583b 1340 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1341 BibTeX.
1342 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1343 (reftex-locate-bibliography-files): Us it.
1344
d14c81ee
CB
13452013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1346
0e7690de
CB
1347 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1348 allow comments in pbm files.
1349
d14c81ee
CB
1350 * term/w32-win.el (dynamic-library-alist): Support newer versions
1351 of libjpeg starting with v7: look only for the DLL from the
1352 version against which Emacs was built.
ac1bf374 1353 Support versions of libpng beyond 1.4.x.
019c8218 1354 Support libtiff v4.x.
d14c81ee 1355
983d0df5
BB
13562013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1357
1358 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1359 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1360 Add property :safe.
1361 (ruby-deep-arglist): Add property :type.
1362
47f58d85
GM
13632013-10-31 Glenn Morris <rgm@gnu.org>
1364
1365 * Makefile.in (custom-deps, finder-data): No need to setq the target
1366 variables, we are in the right directory and the defaults work fine.
1367
4f85b479
GM
13682013-10-30 Glenn Morris <rgm@gnu.org>
1369
ca7dd4cd
GM
1370 * Makefile.in (autoloads): Do not use abs_lisp.
1371
4f85b479
GM
1372 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1373 `newline' does not respect `standard-output', so use `princ'.
1374
cf59e41c
AA
13752013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1376
1377 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1378 * buff-menu.el (Buffer-menu--unmark): New function.
1379 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1380
74cf04fb
GM
13812013-10-30 Glenn Morris <rgm@gnu.org>
1382
b040b60e
GM
1383 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1384
f53d3815
GM
1385 * emacs-lisp/package.el (lm-homepage): Declare.
1386
5413d873
GM
1387 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1388 Fix doc typos.
1389
cecedb36
GM
1390 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1391
74cf04fb
GM
1392 * Makefile.in (finder-data, autoloads, update-subdirs)
1393 (compile-main, compile-clean, compile-always, bootstrap-clean):
1394 Check return value of cd.
1395 (compile-calc): Remove.
1396
195ee2f0
SM
13972013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1398
ae4002ce
SM
1399 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1400
1401 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1402 (byte-compile-and-folded): New function.
1403 (=, <, >, <=, >=): Use it.
1404
1405 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1406 (path-separator, null-device, buffer-file-coding-system)
1407 (lpr-headers-switches): Check system-type before modifying them.
1408 (find-buffer-file-type-coding-system): Mark obsolete.
1409 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1410 find-file-not-found-set-buffer-file-coding-system.
1411 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1412 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1413 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1414 (w32-direct-print-region-helper, w32-direct-print-region-function)
1415 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1416 * startup.el (normal-top-level-add-subdirs-to-load-path):
1417 * ps-print.el (ps-print-region-function):
1418 * lpr.el (print-region-function): Use new name.
1419
53b39e89
SM
1420 * subr.el (custom-declare-variable-early): Remove function.
1421 (custom-declare-variable-list): Remove var.
1422 (error, user-error): Remove `while' loop.
1423 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1424 (user-emacs-directory-warning, locate-user-emacs-file):
1425 Move to files.el.
1426 * simple.el (read-quoted-char-radix, read-quoted-char):
1427 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1428 Move from subr.el.
1429 * custom.el (custom-declare-variable-list): Don't process
1430 custom-declare-variable-list.
1431
195ee2f0
SM
1432 * progmodes/python.el (python-shell-get-buffer): New function.
1433 (python-shell-get-process): Use it.
1434 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1435 Python which encoding was used. Don't split-string since we only care
1436 about the first line. Return the temp-file, if applicable.
1437 (python-shell-send-region): Tell compile.el how to turn locations in
1438 the temp-file into locations in the source buffer.
1439
7e3561ee
SM
14402013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1441
4c9797cb
SM
1442 * subr.el (undefined): Add missing behavior from the C code for
1443 unbound keys.
1444
3472b6c6
SM
1445 * rect.el: Use lexical-binding. Add new rectangular region support.
1446 (rectangle-mark): New command.
1447 (rectangle--region): New var.
1448 (deactivate-mark-hook): Reset rectangle--region.
1449 (rectangle--extract-region, rectangle--insert-for-yank)
1450 (rectangle--highlight-for-redisplay)
1451 (rectangle--unhighlight-for-redisplay): New functions.
1452 (region-extract-function, redisplay-unhighlight-region-function)
1453 (redisplay-highlight-region-function): Use them to handle
1454 rectangular region.
1455 * simple.el (region-extract-function): New var.
1456 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1457 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1458 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1459 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1460 (redisplay-unhighlight-region-function)
1461 (redisplay-highlight-region-function): New vars.
1462 (redisplay--update-region-highlight): New function.
1463 (pre-redisplay-function): Use it.
1464 (exchange-point-and-mark): Don't deactivate the mark before
1465 reactivate-it anyway.
1466 * comint.el (comint-kill-region): Remove yank-handler argument.
1467 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1468 (delete-char): Remove property, since it's now part of their
1469 default behavior.
1470 (self-insert-iso): Remove property since this command doesn't exist.
1471
7e3561ee
SM
1472 * emacs-lisp/package.el (package--download-one-archive)
1473 (describe-package-1): Don't query the user about final newline.
1474
b9bef71f
DC
14752013-10-29 Daniel Colascione <dancol@dancol.org>
1476
1477 * net/tramp.el (tramp-methods): Document new functionality.
1478 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1479 tramp-hostname-checker if method provides one instead of scanning
1480 argument list for "%h" to decide hostname acceptability.
1481
4efc33f0
MA
14822013-10-28 Michael Albinus <michael.albinus@gmx.de>
1483
1484 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1485 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1486 Handle COPY-CONTENTS. (Bug#15737)
1487
ed42a877
DU
14882013-10-28 Daiki Ueno <ueno@gnu.org>
1489
1490 * epa-file.el
7e3561ee
SM
1491 (epa-file-cache-passphrase-for-symmetric-encryption):
1492 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1493
18c9f8a2
XF
14942013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1495
7a4bc7be
XF
1496 * image.el (defimage):
1497 (image-load-path): Doc fixes.
18c9f8a2 1498
b1e8e010
AM
14992013-10-27 Alan Mackenzie <acm@muc.de>
1500
1501 Indent statements in macros following "##" correctly.
7e3561ee
SM
1502 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1503 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1504
73d40d1e 15052013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1506
1507 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1508
c8c605ac
DG
15092013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1510
1511 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1512 after `=' is probably a new expression.
1513
ca7e59d4
RS
15142013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1515
1516 * man.el (man-imenu-title): New option.
1517 (Man-mode-map): Add menu. (Bug#15722)
1518 (Man-mode): Add imenu to menu.
1519
bae91342
DG
15202013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1523 specific in what the first arg can be: a non-keyword word,
1524 string/regexp/percent literal opener, opening paren, or unary
1525 operator followed directly by word.
1526
eb89dc14
SM
15272013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1530 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1531 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1532 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1533 Remove vars, they do not apply any more.
1534 (prolog-mode-abbrev-table): Remove redundant declaration.
1535 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1536 (prolog-use-smie): Remove.
1537 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1538 supported by prolog-electric-if-then-else-flag.
1539 (prolog-mode-variables, prolog-menu): Use setq-local.
1540 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1541 Remove binding to `Backspace' since this key doesn't exist anyway.
1542 Remove bindings for electric self-inserting keys.
1543 (prog-mode): Assume it's defined.
1544 (prolog-post-self-insert): New function.
1545 (prolog-mode): Use it.
1546 (prolog-indent-line, prolog-indent-level)
1547 (prolog-find-indent-of-matching-paren)
1548 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1549 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1550 (prolog-goto-next-paren, prolog-in-string-or-comment)
1551 (prolog-tokenize, prolog-inside-mline-comment)
1552 (prolog-find-start-of-mline-comment): Remove functions.
1553 (prolog-find-unmatched-paren, prolog-clause-end)
1554 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1555 (prolog-electric--if-then-else): Rename from
1556 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1557 (prolog-tokenize-searchkey): Remove const.
1558 (prolog-clause-info): Use forward-sexp.
1559 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1560 (prolog-electric-if-then-else): Remove commands.
1561 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1562 for use in post-self-insert-hook.
1563 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1564 for use in post-self-insert-hook.
1565 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1566 for use in post-self-insert-hook.
1567 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1568 adapt it for use in post-self-insert-hook.
1569
3dab0a83
MA
15702013-10-25 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * emacs-lisp/ert.el (ert-run-tests-interactively):
1573 Use `completing-read'. (Bug#9756)
1574
fbfd0e1d
EZ
15752013-10-25 Eli Zaretskii <eliz@gnu.org>
1576
1577 * simple.el (line-move): Call line-move-1 instead of
1578 line-move-visual when the current window hscroll is zero, but
1579 temporary-goal-column indicates we will need to hscroll as result
1580 of the movement. (Bug#15712)
1581
963ce636
DG
15822013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1583
1584 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1585 capitalization. Use :visible instead of :active.
1586 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1587 commands that are used with SMIE.
1588 (ruby-do-end-to-brace): Insert space after `{'.
1589
a0be396a
JA
15902013-10-25 John Anthony <john@jo.hnanthony.com>
1591
f73754c9
JA
1592 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1593
1594 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1595
f5bf77df
GM
15962013-10-25 Glenn Morris <rgm@gnu.org>
1597
1598 * vc/vc.el (vc-print-log): Don't use a working revision unless
1599 one was explicitly specified. (Bug#15322)
1600
37241f62
SM
16012013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * subr.el (add-to-list): Preserve return value in compiler-macro
1604 (bug#15692).
1605
6408a65d
RS
16062013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1607
1608 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1609 result. Ask user to retry using '-all' flag. (Bug#15701)
1610
71e3276b
SM
16112013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * emacs-lisp/smie.el: New smie-config system.
1614 (smie-config): New defcustom.
1615 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1616 (smie-config-guess, smie-config-save): New commands.
1617 (smie-config--mode-local, smie-config--buffer-local)
1618 (smie-config--trace, smie-config--modefuns): New vars.
1619 (smie-config--advice, smie-config--mode-hook)
1620 (smie-config--setter, smie-config-local, smie-config--get-trace)
1621 (smie-config--guess-value, smie-config--guess): New functions.
1622 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1623 text properties. Treat "string fence" syntax like string syntax.
1624
1625 * progmodes/sh-script.el (sh-use-smie): Change default.
1626 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1627 (sh-var-value): Simplify by CSE.
1628 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1629 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1630 is used.
1631 (sh-guess-basic-offset): Use cl-incf.
1632 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1633
60db713e
HE
16342013-10-24 Helmut Eller <eller.helmut@gmail.com>
1635
1636 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1637 (bug#15699).
1638
8b251df6
GM
16392013-10-24 Glenn Morris <rgm@gnu.org>
1640
1641 * Makefile.in (abs_top_srcdir): Remove.
1642 (update-subdirs): Use relative path to update-subdirs.
1643
6be0e22b
EZ
16442013-10-24 Eli Zaretskii <eliz@gnu.org>
1645
1646 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1647 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1648 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1649 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1650
50b5b857
MA
16512013-10-24 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1654 (ert-test-skipped): New error.
1655 (ert-skip, ert-stats-skipped): New defuns.
1656 (ert--skip-unless): New macro.
1657 (ert-test-skipped): New struct.
1658 (ert--run-test-debugger, ert-test-result-type-p)
1659 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1660 (ert--stats-set-test-and-result, ert-char-for-test-result)
1661 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1662 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1663 Handle skipped tests. (Bug#9803)
50b5b857 1664
6f317c2f
GM
16652013-10-24 Glenn Morris <rgm@gnu.org>
1666
e43817c1
GM
1667 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1668
6f317c2f
GM
1669 * Makefile.in (abs_top_srcdir): New, set by configure.
1670 (update-subdirs): Correct build-aux location.
1671
369bbf71
DG
16722013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1673
8297b2cf
DG
1674 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1675 value, whether we could auto-deduce `backend', or not.
1676
369bbf71
DG
1677 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1678 with parameters" example. Simplify the "is it block or is it
1679 hash" check, but also make it more thorough.
1680
d5f1282f
MF
16812013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1682
1683 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1684
bc4aaa31
SM
16852013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1686
03d44565
SM
1687 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1688 { if it is hanging.
1689
bc4aaa31
SM
1690 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1691 :before ";".
1692
f493ff19
JB
16932013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1694
1695 * progmodes/compile.el (compilation-directory-matcher)
1696 (compilation-page-delimiter):
1697 Support GNU Make-4.0 directory quoting. (Bug#15678)
1698
c744a3b9
LL
16992013-10-23 Leo Liu <sdl.web@gmail.com>
1700
1701 * ido.el (ido-tidy): Handle read-only text.
1702
b8e3b0a9
GM
17032013-10-23 Glenn Morris <rgm@gnu.org>
1704
1705 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1706 (emacs, compile, compile-always):
1707 Quote entities that might contain whitespace.
1708 (custom-deps, finder-data, autoloads): Use abs_lisp.
1709 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1710 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1711 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1712
ee4282cd
DG
17132013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1714
bc4aaa31
SM
1715 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1716 Use `following-char'.
7790a270 1717
ee4282cd 17182013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1719
1720 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1721 * progmodes/ruby-mode.el (ruby-smie-rules):
1722 Remove corresponding workaround. Fix indentation rule of ";" so it
1723 also applies when ";" is the parent.
1724
d40a46d7
XF
17252013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1726
1727 * frame.el (display-screens, display-pixel-height)
1728 (display-pixel-width, display-mm-width, display-backing-store)
1729 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1730 (display-visual-class, display-monitor-attributes-list):
1731 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1732
a0f143c9
MG
17332013-10-22 Michael Gauland <mikelygee@amuri.net>
1734
1735 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1736 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1737
18cacc39
DG
17382013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1739
1740 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1741 TODO. Add "." after " @ ".
1742 (ruby-smie--at-dot-call): New function. Checks if point at method
1743 call with explicit target.
1744 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1745 to the method name tokens when it precedes them.
1746 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1747 (ruby-smie-rules): Add rule for indentation before and after "."
1748 token.
1749
df74c4be
SM
17502013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1751
c6dab55f
SM
1752 * textmodes/remember.el (remember-diary-extract-entries):
1753 Avoid add-to-list.
1754
df74c4be
SM
1755 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1756 an instruction.
1757
8c1ae481
DG
17582013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1759
cfef16c0
DG
1760 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1761 (ruby-smie--implicit-semi-p): Add new operator chars.
1762
8c1ae481
DG
1763 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1764 `smie-down-list'.
1765 (ruby-smie--args-separator-p): Check that there's no newline
1766 between method call and its arguments.
1767
87756ca9
AM
17682013-10-20 Alan Mackenzie <acm@muc.de>
1769
1770 Allow comma separated lists after Java "implements".
1771
df74c4be
SM
1772 * progmodes/cc-engine.el (c-backward-over-enum-header):
1773 Parse commas.
87756ca9
AM
1774 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1775 from a "disallowed" list in enum fontification.
1776
c25f8957
JB
17772013-10-20 Johan Bockgård <bojohan@gnu.org>
1778
df74c4be 1779 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1780
c25f8957
JB
1781 * progmodes/verilog-mode.el (verilog-mode): Don't set
1782 comment-indent-function globally.
1783
aca5fcdc
JD
17842013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1785
5f161884
JD
1786 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1787 Move Info menu item creation to ns-win.el.
1788
1789 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1790 in menu bar.
1791
aca5fcdc
JD
1792 * menu-bar.el: Move GNUStep specific menus...
1793
1794 * term/ns-win.el (ns-initialize-window-system): ... to here.
1795
914b7f98
SM
17962013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * simple.el (newline): Only run post-self-insert-hook when
1799 called interactively.
1800
846ffe77
JB
18012013-10-19 Johan Bockgård <bojohan@gnu.org>
1802
1803 * icomplete.el (icomplete-with-completion-tables): Add :version.
1804
033f22dd
AM
18052013-10-19 Alan Mackenzie <acm@muc.de>
1806
1807 Fix fontification bugs with constructors and const.
1808
1809 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1810 CASE 2) Remove the check for the absence of a suffix construct
1811 after a function declaration with only types (no identifiers) in
1812 the parentheses. Also, accept a function declaration with just a
1813 type inside the parentheses, if this type can be positively
1814 recognised as such, or if a prefix keyword like "explicit" nails
1815 down the construct as a declaration.
1816
58ce0cfc
EZ
18172013-10-19 Eli Zaretskii <eliz@gnu.org>
1818
1819 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1820 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1821 the problem whereby selecting a menu item that leads to a
1822 minibuffer prompt moves the cursor out of the minibuffer window,
1823 making it hard to type at the prompt. Suggested by Stefan Monnier
1824 <monnier@iro.umontreal.ca>.
1825
50e28e7d
JD
18262013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1827
1828 * menu-bar.el: Don't make Services menu.
1829
7deed4bf
RS
18302013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1831
1832 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1833 (ffap-alist): Use ffap-c++-mode for c++-mode.
1834 (ffap-c++-path): New variable.
1835 (ffap-c++-mode): New function.
1836
7bcb455b
JVJ
18372013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1838
1839 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1840
f0ff1cd5
MA
18412013-10-18 Michael Albinus <michael.albinus@gmx.de>
1842
1843 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1844 introduced on 2013-09-08, which results in an infinite loop
1845 requesting a password.
1846
d64da4b7
GM
18472013-10-18 Glenn Morris <rgm@gnu.org>
1848
1849 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1850
ea89ff08
WS
18512013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1852
1853 Sync with upstream verilog-mode revision 1a6ecec7.
1854 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1855 (verilog-mode-release-date): Remove.
1856 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1857 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1858 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1859 (verilog-auto-tieoff-ignore-regexp)
1860 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1861 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1862 (verilog-signals-with, verilog-dir-cache-preserving)
1863 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1864 Doc fixes.
1865 (verilog-case-fold): New option, to control case folding in
1866 regexp searches, bug597.
1867 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1868 (verilog-string-match-fold, verilog-in-paren-count)
1869 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1870 (verilog-at-close-struct-p): New functions.
1871 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1872 (verilog-forward-sexp, verilog-set-auto-endcomments):
1873 (verilog-leap-to-case-head): Handle "unique0" case.
1874 (verilog-in-constraint-re): New constant.
1875 (verilog-keywords, verilog-type-font-keywords):
1876 Add some SystemVerilog 1800-2012 keywords.
1877 (verilog-label-be): Remove unimplemented argument, bug669.
1878 (verilog-batch-execute-func): When batch expanding clear
1879 create-lockfiles to prevent spurious user locks when a file ends
1880 up not changing.
1881 (verilog-calculate-indent, verilog-calc-1)
1882 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1883 (verilog-do-indent): Fix indentation of nested constraints
1884 and structures.
1885 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1886 (verilog-auto-inst-param): Use verilog-string-match-fold.
1887 (verilog-read-inst-module-matcher):
1888 Fix AUTOINST on gate primitives with #1.
1889 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1890 Reads all user-defined typed variables.
1891 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1892 (verilog-signals-matching-regexp)
1893 (verilog-signals-not-matching-regexp, verilog-auto):
1894 Respect verilog-case-fold.
1895 (verilog-diff-report): Fix line count.
1896 (verilog-auto-assign-modport): Remove unused local `modi'.
1897 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1898 better handle multidimensional arrays.
1899 Fix packed array ports misadding bit index in AUTOINST, bug637.
1900 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1901 to not double-declare existing outputs and inputs, respectively.
1902 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1903 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1904 (verilog-sk-uvm-component): New skeleton.
1905 (verilog-submit-bug-report): Add verilog-case-fold,
1906 remove verilog-mode-release-date.
1907
ef566920
BR
19082013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1909
1910 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1911 as before.
1912
29df8a0b
RT
19132013-10-18 Reuben Thomas <rrt@sc3d.org>
1914
1915 * textmodes/remember.el (remember): set buffer-offer-save in
1916 remember buffers (bug#13566).
1917
04a19a79
DC
19182013-10-18 Daniel Colascione <dancol@dancol.org>
1919
1920 When evaluating forms in ielm, direct standard output to ielm
1921 buffer. Add new ielm-return-for-effect command. Remove trailing
1922 whitespace throughout.
1923
1924 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1925 (ielm-return-for-effect): New command.
1926 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1927 (ielm-eval-input): Accept optional `for-effect' parameter.
1928 Bind `standard-output' to stream we create using
04a19a79
DC
1929 `ielm-standard-output-impl'. Suppress printing result when
1930 `for-effect'.
1931 (ielm-standard-output-impl): New function.
1932 (inferior-emacs-lisp-mode): Explain new features in documentation.
1933
4c1f03ef
MA
19342013-10-17 Michael Albinus <michael.albinus@gmx.de>
1935
1936 Code cleanup.
1937
1938 * net/tramp.el (tramp-debug-message): Do not check for connection
1939 buffer.
1940 (tramp-message): Use "vector" connection property.
1941
1942 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1943 (tramp-equal-remote, tramp-eshell-directory-change)
1944 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1945 (tramp-adb-handle-rename-file)
1946 * net/tramp-cmds.el (tramp-list-remote-buffers)
1947 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1948 * net/tramp-compat.el (tramp-compat-process-running-p)
1949 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1950 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1951 (tramp-gvfs-handle-rename-file)
1952 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1953 (tramp-set-file-uid-gid)
1954 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1955 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1956 of `file-remote-p'.
1957
1958 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1959 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1960 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1961 (tramp-gw-open-network-stream): Suppress unrelated traces.
1962
1963 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1964 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1966 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1967 connection property.
1968
1969 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1970 persistency file.
4c1f03ef
MA
1971
1972 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1973 Refactor common code. Improve debug message.
1974 (tramp-maybe-open-connection)
1975 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1976 connection buffer too early.
1977
1978 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1979 from `tramp-smb-actions-with-acl'.
1980 (tramp-smb-actions-set-acl): New defconst.
1981 (tramp-smb-handle-copy-directory)
1982 (tramp-smb-action-get-acl): New defun, renamed from
1983 `tramp-smb-action-with-acl'.
1984 (tramp-smb-action-set-acl): New defun.
1985 (tramp-smb-handle-set-file-acl): Rewrite.
1986
642eb8b6
GM
19872013-10-17 Glenn Morris <rgm@gnu.org>
1988
1989 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1990
85527ff3
SM
19912013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1992
921c1d62
SM
1993 * skeleton.el (skeleton-newline): Remove.
1994 (skeleton-internal-1): Use (insert "\n") instead.
1995
e333fb10
SM
1996 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1997 let-bindings.
1998
85527ff3
SM
1999 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2000 forward-sexp-function while we redo its job (bug#15613).
2001
c8722a97
JB
20022013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2003
2004 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2005 represented by lists.
2006
7a550bbb
GM
20072013-10-16 Glenn Morris <rgm@gnu.org>
2008
2009 * tmm.el (tmm--history): New dynamic variable.
2010 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2011
f19da8ad
MA
20122013-10-16 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2015 (tramp-smb-errors): Add error messages.
2016 (tramp-smb-actions-with-acl): New defconst.
2017 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2018 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2019 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2020 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2021 (tramp-smb-get-stat-capability): Fix tests.
2022
a24b9961
DK
20232013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2024
2025 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2026 (bug#15580).
2027
62ad85e6
GM
20282013-10-16 Glenn Morris <rgm@gnu.org>
2029
0283d6b0
GM
2030 * ansi-color.el (ansi-color-drop-regexp):
2031 Add 1J, 1K, 2K. (Bug#15617)
2032
012e2f9f
GM
2033 * files.el (hack-local-variables--warned-lexical): New.
2034 (hack-local-variables):
2035 Warn about misplaced lexical-binding. (Bug#15616)
2036
62ad85e6
GM
2037 * net/eww.el (eww-render): Always set eww-current-url,
2038 and update header line. (Bug#15622)
2039 (eww-display-html): ... Rather than just doing it here.
2040
6456c0ea
EZ
20412013-10-15 Eli Zaretskii <eliz@gnu.org>
2042
2043 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2044 menu navigations commands.
2045
c2de5588
DK
20462013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2047
2048 * progmodes/subword.el (subword-capitalize): Be careful when
2049 the search for [[:alpha:]] fails (bug#15580).
2050
ccd4a783
EZ
20512013-10-14 Eli Zaretskii <eliz@gnu.org>
2052
2053 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2054 to commands that scroll the menu.
2055
1eda1d8d
DG
20562013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2057
c2de5588
DK
2058 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2059 Handle methods ending with `?' and `!'.
1eda1d8d 2060
e70181b8
AM
20612013-10-14 Akinori MUSHA <knu@iDaemons.org>
2062
2063 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2064 `japanese-cp932' to `cp932' to fix the problem where saving a
2065 source file written in Shift_JIS twice would end up having
2066 `coding: japanese-cp932' which Ruby could not recognize.
2067 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2068 in `ruby-encoding-map'.
2069 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2070 doesn't need to be explicitly declared in magic comment.
2071 (ruby-encoding-map): Add type declaration for better customize UI.
2072
9148ee92
GM
20732013-10-13 Glenn Morris <rgm@gnu.org>
2074
a5d38e34
GM
2075 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2076 Occur buffers are read-only. http://bugs.debian.org/720775
2077
9148ee92
GM
2078 * emacs-lisp/authors.el (authors-fixed-entries):
2079 Comment out old alpha stuff.
2080
a9ba094b
DG
20812013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2082
2083 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2084 to `after-save-hook' instead of `before-save-hook'.
2085 (ruby-mode-set-encoding): Use the value of coding system used to
2086 write the file. Call `basic-save-buffer-1' after modifying the
2087 buffer.
2088
7a068717
AM
20892013-10-13 Alan Mackenzie <acm@muc.de>
2090
2091 Fix indentation/fontification of Java enum with
2092 "implements"/generic.
2093
c2de5588
DK
2094 * progmodes/cc-engine.el (c-backward-over-enum-header):
2095 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2096 (c-inside-bracelist-p): Uses new function above.
2097 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2098 function above.
2099 (c-font-lock-enum-tail): Uses new function above.
2100
85b64f02
KH
21012013-10-13 Kenichi Handa <handa@gnu.org>
2102
2103 * international/mule-cmds.el (select-safe-coding-system): Remove a
2104 superfluous condition in chekcing whether a coding system is safe
2105 or not.
2106
fc7f501b
OK
21072013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2108
2109 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2110
fdcb2049
AP
21112013-10-13 Andreas Politz <politza@hochschule-trier.de>
2112
2113 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2114
8c106d17
GM
21152013-10-13 Glenn Morris <rgm@gnu.org>
2116
feab892d
GM
2117 * menu-bar.el (menu-bar-update-buffers):
2118 Unify Buffers menu prompt string. (Bug#15576)
2119
b22d0686
GM
2120 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2121
8c106d17
GM
2122 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2123 Add some entries.
2124 (authors-fixed-entries): Use accented form of name.
2125
1b12c797
SM
21262013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2127
650fa7bf 2128 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2129 method calls (bug#15594).
650fa7bf
SM
2130 (ruby-smie--args-separator-p): New function.
2131 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2132 recognize paren-free method calls.
2133
1b12c797
SM
2134 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2135 internals of universal-argument.
2136
029619c8
EZ
21372013-10-11 Eli Zaretskii <eliz@gnu.org>
2138
2139 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2140 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2141 dropped menu on second mouse click on the menu bar.
029619c8 2142
dd070019
SM
21432013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2146 (explicit-shell-file-name): Declare.
2147 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2148 (sh-completion-at-point-function): New function.
2149 (sh-mode): Use it.
2150 (sh-smie--keyword-p): Remove unused argument.
2151 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2152 vars.
2153 (sh-set-shell): Always setup SMIE, even if we use the
2154 old indentation code.
2155
0922b826
DG
21562013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2157
b68e2926
DG
2158 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2159 cases of ? and =.
2160 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2161 predicate would return nil are almost non-existent.
2162 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2163
0922b826
DG
2164 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2165 cache also after commands that modify the buffer but don't move
2166 point.
2167
ee041f2d
SM
21682013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * env.el (substitute-env-in-file-name): New function.
2171 (substitute-env-vars): Extend the meaning of the optional arg.
2172
a5dab159
EZ
21732013-10-10 Eli Zaretskii <eliz@gnu.org>
2174
2175 * term/w32-win.el (dynamic-library-alist): Define separate lists
2176 of GIF DLLs for versions before and after 5.0.0 of giflib.
2177 (Bug#15531)
2178
0449d6cd 21792013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2180
2181 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2182 not locked, use last revision and current source as
2183 defaults. (Bug#15569)
2184
2f6e161e
MY
21852013-10-10 Masatake YAMATO <yamato@redhat.com>
2186
2187 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2188 menu-bar is hidden.
2189
6c8413fc
MR
21902013-10-10 Martin Rudalics <rudalics@gmx.at>
2191
2192 * window.el (pop-to-buffer-same-window): Fix doc-string.
2193 (Bug#15492)
2194
20832de0
SM
21952013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2198
c6e8ae77
AC
21992013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2200
2201 * calendar/icalendar.el (icalendar-import-file):
2202 Fix interactive spec. (Bug#15482)
2203
9db13baf
GM
22042013-10-10 Glenn Morris <rgm@gnu.org>
2205
9271e90e
GM
2206 * desktop.el (desktop-save): Default to saving in .emacs.d,
2207 since PWD is no longer in desktop-path by default. (Bug#15319)
2208
9db13baf
GM
2209 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2210 now that text mode has a menu with the same entry.
2211 (menu-bar-text-mode-auto-fill): Remove now unused func.
2212 * textmodes/text-mode.el (text-mode-map):
2213 Use auto-fill help text from menu-bar.el.
2214
a0be396a 22152013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2216
2217 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2218
2edcd3c7
JL
22192013-10-09 Juri Linkov <juri@jurta.org>
2220
2221 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2222 instead of this-command-keys. Add universal-argument-more and
2223 universal-argument-minus to the list of prefix commands. (Bug#15568)
2224
574411d0
GM
22252013-10-09 Glenn Morris <rgm@gnu.org>
2226
14afa541
GM
2227 * vc/vc-svn.el (vc-svn-create-repo):
2228 Expand paths in file://... url. (Bug#15446)
2229
574411d0
GM
2230 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2231 Add some entries.
2232 (authors): Remove unused local variables.
2233
79804536
SM
22342013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * profiler.el: Create a more coherent calltree from partial backtraces.
2237 (profiler-format): Hide the tail with `invisible' so that C-s can still
2238 find the hidden elements.
2239 (profiler-calltree-depth): Don't recurse so enthusiastically.
2240 (profiler-function-equal): New hash-table-test.
2241 (profiler-calltree-build-unified): New function.
2242 (profiler-calltree-build): Use it.
2243 (profiler-report-make-name-part): Indent the calltree less.
2244 (profiler-report-mode): Add visibility specs for profiler-format.
2245 (profiler-report-expand-entry, profiler-report-toggle-entry):
2246 Expand the whole subtree when provided with a prefix arg.
2247
238150c8
DG
22482013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2249
2250 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2251 iuwu-mod token.
2252 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2253 hanging iuwu-mod token.
2254 (ruby-smie--forward-token): Do not include a dot after a token in
2255 that token.
2256 (ruby-smie--backward-token): Likewise.
2257
b0949cc4
JL
22582013-10-08 Juri Linkov <juri@jurta.org>
2259
2260 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2261 to isearch-other-control-char.
2262 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2263 and isearch-post-command-hook to post-command-hook.
2264 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2265 and isearch-post-command-hook from post-command-hook.
2266 (isearch-unread-key-sequence)
2267 (isearch-reread-key-sequence-naturally)
2268 (isearch-lookup-scroll-key, isearch-other-control-char)
2269 (isearch-other-meta-char): Remove functions.
2270 (isearch-pre-command-hook, isearch-post-command-hook):
2271 New functions based on isearch-other-meta-char rewritten
2272 relying on the new behavior of overriding-terminal-local-map
2273 that does not replace the local keymaps any more. (Bug#15200)
2274
4ed77415
EZ
22752013-10-08 Eli Zaretskii <eliz@gnu.org>
2276
2277 Support menus on text-mode terminals.
2278 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2279 functionality.
2280
2281 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2282
c2de5588
DK
2283 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2284 Move here from mouse.el.
4ed77415
EZ
2285 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2286 and arrow keys.
2287 (tty-menu-navigation-map): New map for TTY menu navigation.
2288
2289 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2290
2291 * frame.el (display-mouse-p): Report text-mode mouse as available
2292 on w32.
2293 (display-popup-menus-p): Report availability if mouse is
2294 available; don't condition on window-system.
2295
2296 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2297 (tty-menu-selected-face): New faces.
2298
b7d5bd82
TL
22992013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2300
06286513
SM
2301 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2302 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2303 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2304 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2305 New constants.
2306 (lisp-mode-variables): New `elisp' argument.
2307 (emacs-lisp-mode): Use it.
2308 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2309 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2310
b7d5bd82
TL
2311 * indent.el: Use lexical-binding.
2312 (indent-region): Add progress reporter.
2313 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2314 last step.
2315 (indent--next-tab-stop): New function to implement this behavior.
2316 (tab-to-tab-stop, move-to-tab-stop): Use it.
2317
23182013-10-08 Teemu Likonen <tlikonen@iki.fi>
2319
2320 * indent.el (indent-rigidly--current-indentation): New function.
2321 (indent-rigidly-map): New var.
2322 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2323
5ea75d23
BG
23242013-10-08 Bastien Guerry <bzg@gnu.org>
2325
2326 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2327
cc5da1ec
SM
23282013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2329
8ffa1a0b
SM
2330 * progmodes/perl-mode.el: Use lexical-binding.
2331 Remove redundant :group args.
2332 (perl-nochange): Change default to be closer to other major modes's
2333 standard behavior.
2334 (perl-indent-line): Don't consider text on current line as a
2335 valid beginning of function from which to indent.
2336
f2223371
SM
2337 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2338 with more than one argument (bug#15538).
2339
44256060
SM
2340 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2341
cc5da1ec
SM
2342 * vc/pcvs.el: Use lexical-binding.
2343 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2344 environment of `eval'.
2345 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2346 than a list of expressions. Adjust callers.
2347 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2348
0ea1599d
DG
23492013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2350
2351 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2352 case of the dot in a chained method call being on the following line.
0ea1599d 2353
da3e5ebb
SM
23542013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2abb4e65
SM
2356 * electric.el (electric-indent-inhibit): New var.
2357 (electric-indent-post-self-insert-function): Use it.
2358 * progmodes/python.el (python-mode): Set it.
2359
d2e0e795
SM
2360 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2361 open braces.
2362
2363 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2364
bdc6b4c8
SM
2365 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2366 (css-mode): Use electric-indent-chars.
2367
da3e5ebb
SM
2368 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2369 (font-lock-beg, font-lock-end): Move before first use.
2370 (nxml-mode): Use syntax-propertize-function.
2371 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2372 (nxml-extend-after-change-region): Remove.
2373 * nxml/xmltok.el: Use lexical-binding.
2374 (xmltok-save): Use `declare'.
2375 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2376 * nxml/nxml-util.el: Use lexical-binding.
2377 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2378 Use `declare'.
2379 * nxml/nxml-ns.el: Use lexical-binding.
2380 (nxml-ns-save): Use `declare'.
2381 (nxml-ns-prefixes-for): Avoid add-to-list.
2382 * nxml/rng-match.el: Use lexical-binding.
2383 (rng--ipattern): Use cl-defstruct.
2384 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2385 (rng-cons-group-after, rng-subst-group-after)
2386 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2387 Use closures instead of `(lambda...).
2388
f8f91d5d
MA
23892013-10-07 Michael Albinus <michael.albinus@gmx.de>
2390
2391 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2392 of BEG and END.
2393
da3e5ebb
SM
2394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2395 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2396 (tramp-gvfs-handle-insert-file-contents): Remove function.
2397
da3e5ebb
SM
2398 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2399 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2400
2401 * net/trampver.el: Update release number.
2402
7ccae3b1
SM
24032013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2404
55ca2c0d
SM
2405 * progmodes/compile.el (compilation-parse-errors):
2406 Use compilation--put-prop.
2407 (compilation--ensure-parse): Check compilation-multiline.
2408
731fc3ae
SM
2409 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2410
da3e5ebb
SM
2411 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2412 lexical-binding.
a5833280 2413
2e7ba2c2
SM
2414 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2415
7ccae3b1
SM
2416 * progmodes/ruby-mode.el: Fix recently added tests.
2417 (ruby-smie-grammar): Add - and +.
2418 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2419 (ruby-smie--backward-id): New functions.
2420 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2421 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2422 any more.
2423
85698d63
LL
24242013-10-07 Leo Liu <sdl.web@gmail.com>
2425
2426 * register.el (register-preview-delay)
2427 (register-preview-functions): New variables.
2428 (register-read-with-preview, register-preview)
2429 (register-describe-oneline): New functions.
2430 (point-to-register, window-configuration-to-register)
2431 (frame-configuration-to-register, jump-to-register)
2432 (number-to-register, view-register, insert-register)
2433 (copy-to-register, append-to-register, prepend-to-register)
2434 (copy-rectangle-to-register): Use register-read-with-preview to
2435 read register. (Bug#15525)
2436
3986af6c
DS
24372013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2438
2439 * net/network-stream.el (network-stream-open-starttls): Don't add
2440 --insecure if it's already present, because that gnutls-cli
2441 rejects getting that parameter twice.
2442
5cd9cda9
DG
24432013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2446 keyword, too.
2447
da9ea6d9
DG
24482013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2449
2450 * newcomment.el (comment-use-global-state): Change default value
2451 to t, mark obsolete (Bug#15251).
2452 (comment-beginning): In addition to `comment-to-syntax', check the
2453 value of `comment-use-global-state'.
2454
34d1a133
SM
24552013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2458 (ruby-comment-column): Follow the global default, by default.
2459 (ruby-smie-grammar): Add assignment syntax.
2460 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2461 open-paren, a comma, or a \.
2462 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2463 and line continuations.
2464 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2465 followed by implicit semi-colons. Add rule for string concatenation
2466 and for indentation at BOB.
2467 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2468
2469 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2470 calling next-sexp, since next-token may have skipped chars which
2471 next-sexp doesn't know should be skipped!
2472
6f6ab820
LL
24732013-10-05 Leo Liu <sdl.web@gmail.com>
2474
34d1a133
SM
2475 * progmodes/octave.el (octave-send-region):
2476 Call compilation-forget-errors.
6f6ab820 2477
34ca0f4c
XF
24782013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2479
2480 * vc/vc-svn.el (vc-svn-find-admin-dir):
2481 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2482 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2483 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2484 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2485
a27c1b72
SM
24862013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2489
258ab3bc
SM
24902013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * subr.el (read-passwd): Hide chars even when called within a context
2493 where after-change-functions is disabled (bug#15501).
2494 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2495 until we removed ourself from overriding-terminal-local-map.
2496
939fb29c
LL
24972013-10-04 Leo Liu <sdl.web@gmail.com>
2498
258ab3bc
SM
2499 * progmodes/octave.el (inferior-octave-mode):
2500 Call compilation-forget-errors.
939fb29c 2501
63bd7f35
XF
25022013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2503
2504 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2505
9e6229fa
MA
25062013-10-04 Michael Albinus <michael.albinus@gmx.de>
2507
2508 * net/secrets.el (secrets-create-collection): Add optional
2509 argument ALIAS. Use proper Label keyword. Append ALIAS as
2510 dbus-call-method argument. (Bug#15516)
2511
1dab32a3
LL
25122013-10-04 Leo Liu <sdl.web@gmail.com>
2513
2514 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2515 (inferior-octave-compilation-font-lock-keywords): New variables.
2516 (compilation-error-regexp-alist)
2517 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2518 (inferior-octave-mode): Use compilation-shell-minor-mode.
2519
6cad7ba3
JS
25202013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2521
2522 * minibuffer.el (completion--replace): Be careful that `end' might be
2523 a marker.
2524
acbadd00
DU
25252013-10-03 Daiki Ueno <ueno@gnu.org>
2526
2527 Add support for package signature checking.
2528 * emacs-lisp/package.el (url-http-file-exists-p)
2529 (epg-make-context, epg-context-set-home-directory)
2530 (epg-verify-string, epg-context-result-for)
2531 (epg-signature-status, epg-signature-to-string)
2532 (epg-check-configuration, epg-configuration)
2533 (epg-import-keys-from-file): Declare.
2534 (package-check-signature): New user option.
2535 (package-unsigned-archives): New user option.
2536 (package-desc): Add `signed' field.
2537 (package-load-descriptor): Set `signed' field if .signed file exists.
2538 (package--archive-file-exists-p): New function.
2539 (package--check-signature): New function.
2540 (package-install-from-archive): Check package signature.
2541 (package--download-one-archive): Check archive signature.
2542 (package-delete): Remove .signed file.
2543 (package-import-keyring): New command.
2544 (package-refresh-contents): Import default keyring.
2545 (package-desc-status): Add "unsigned" status.
2546 (describe-package-1, package-menu--print-info)
2547 (package-menu-mark-delete, package-menu--find-upgrades)
2548 (package-menu--status-predicate): Support "unsigned" status.
2549
adf2aa61
SM
25502013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2553 the new compilation scheme using the new byte-codes.
2554
2555 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2556 (byte-pophandler): New byte codes.
2557 (byte-goto-ops): Adjust accordingly.
2558 (byte-compile--use-old-handlers): New var.
2559 (byte-compile-catch): Use new byte codes depending on
2560 byte-compile--use-old-handlers.
2561 (byte-compile-condition-case--old): Rename from
2562 byte-compile-condition-case.
2563 (byte-compile-condition-case--new): New function.
2564 (byte-compile-condition-case): New function that dispatches depending
2565 on byte-compile--use-old-handlers.
2566 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2567 when we can.
2568
2569 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2570 Optimize under `condition-case' and `catch' if
2571 byte-compile--use-old-handlers is nil.
2572 (disassemble-offset): Handle new bytecodes.
2573
328a8179
SM
25742013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * subr.el (error): Use `declare'.
2577 (decode-char, encode-char): Use advertised-calling-convention instead
2578 of the docstring to discourage use of the `restriction' arg.
2579
15a1e936
DU
25802013-10-03 Daiki Ueno <ueno@gnu.org>
2581
2582 * epg.el (epg-verify-file): Add a comment saying that it does not
2583 notify verification error as a return value nor a signal.
2584 (epg-verify-string): Ditto.
2585
376f862a
KR
25862013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2587
2588 * progmodes/compile.el (compilation-start): Try globbing the arg to
2589 `cd' (bug#15417).
2590
a2f93a5f
MA
25912013-10-02 Michael Albinus <michael.albinus@gmx.de>
2592
2593 Sync with Tramp 2.2.8.
2594
2595 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2596 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2597 * net/trampver.el: Update release number.
2598
0daa0804
JD
25992013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2600
2601 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2602 and default-process-coding-system for darwin only.
2603
abd1ae34
SM
26042013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2607
be4e325d
MH
26082013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2609
2610 * vc/vc-git.el (vc-git-grep): Disable pager.
2611
e9155c4a
DG
26122013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2613
494e898b
DG
2614 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2615 Use :url instead of :homepage, as per
2616 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2617
e9155c4a
DG
2618 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2619 non-nil, use `syntax-ppss' (Bug#15251).
2620
481a8e0f
RS
26212013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2622
be4e325d
MH
2623 * progmodes/octave.el (inferior-octave-startup-file):
2624 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2625
056453c6
DG
26262013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2627
be4e325d
MH
2628 * emacs-lisp/package.el (package-desc-from-define):
2629 Accept additional arguments as plist, convert them to an alist and store
2630 them in the `extras' slot.
056453c6
DG
2631 (package-generate-description-file): Convert extras alist back to
2632 plist and append to the `define-package' form arguments.
2633 (package--alist-to-plist): New function.
2634 (package--ac-desc): Add `extras' slot.
2635 (package--add-to-archive-contents): Check if the archive-contents
2636 vector is long enough, and if it is, pass its `extras' slot value
2637 to `package-desc-create'.
2638 (package-buffer-info): Call `lm-homepage', pass the returned value
2639 to `package-desc-from-define'.
2640 (describe-package-1): Render the homepage button (Bug#13291).
2641
be4e325d
MH
2642 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2643 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2644
832966e5
JD
26452013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2646
2647 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2648 and default-process-coding-system to utf-8-unix (Bug#15402).
2649
6cfe977d
XF
26502013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2651
2652 * subr.el (looking-back): Do not recommend using looking-back.
2653
38de11bd
AM
26542013-09-28 Alan Mackenzie <acm@muc.de>
2655
2656 Fix indentation/fontification of Java enum with "implements".
2657
2658 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2659 regexp which matches "implements", etc., in Java.
2660 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2661 specifier clauses coming after "enum".
2662 * progmodes/cc-fonts.el (c-font-lock-declarations)
2663 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2664 after "enum".
2665
1610938f
JD
26662013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2667
2668 * faces.el (region): Change ns_selection_color to
2669 ns_selection_fg_color, add ns_selection_bg_color.
2670
e090f499
LL
26712013-09-28 Leo Liu <sdl.web@gmail.com>
2672
4d2e94d1
LL
2673 * progmodes/octave.el (inferior-octave-completion-table)
2674 (inferior-octave-completion-at-point): Minor tweaks.
2675
e090f499
LL
2676 * textmodes/ispell.el (ispell-lookup-words): Rename from
2677 lookup-words. (Bug#15460)
2678 (lookup-words): Obsolete.
2679 (ispell-complete-word, ispell-command-loop): All uses changed.
2680
7e138a62
RS
26812013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2682
2683 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2684 (octave-mode-menu): Add octave-send-buffer.
2685 (octave-send-buffer): New function.
2686
5af5ed08
RS
26872013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2688
2689 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2690 octave-lookfor.
2691 (octave-mode-menu): Add octave-lookfor.
2692 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2693 octave-lookfor.
2694 (octave-lookfor): New function.
2695
3b7b2692
SM
26962013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * emacs-lisp/cl-macs.el:
2699 (cl--loop-destr-temps): Remove.
2700 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2701 its convention.
2702 (cl--loop-set-iterator-function): New function.
2703 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2704 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2705 Bind `it' with `let' instead of substituting it with `cl-subst'.
2706 (cl--unused-var-p): New function.
2707 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2708 Eliminate some unused variable warnings (bug#15326).
2709
529fb53f
TH
27102013-09-27 Tassilo Horn <tsdh@gnu.org>
2711
2712 * doc-view.el (doc-view-scale-reset): Rename from
2713 `doc-view-reset-zoom-level'.
2714 (doc-view-scale-adjust): New command.
2715 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2716 `doc-view-scale-adjust'.
2717
0550c95a
TH
27182013-09-26 Tassilo Horn <tsdh@gnu.org>
2719
2720 * doc-view.el (doc-view-reset-zoom-level): New command.
2721 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2722 zoom commands (bug#15466).
2723
6950f152
KH
27242013-09-26 Kenichi Handa <handa@gnu.org>
2725
2726 * international/quail.el (quail-help): Make it not a command.
2727
39587580
LL
27282013-09-26 Leo Liu <sdl.web@gmail.com>
2729
2730 * minibuffer.el (completion-all-sorted-completions): Make args
2731 optional as they are.
2732
00578659
DC
27332013-09-25 Daniel Colascione <dancol@dancol.org>
2734
2735 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2736 specs are and that they're not evaluated.
2737
0c173878
SS
27382013-09-24 Sam Steingold <sds@gnu.org>
2739
2740 * midnight.el (clean-buffer-list-kill-regexps)
2741 (clean-buffer-list-kill-buffer-names): Update for the new Man
2742 buffer naming which includes the object name.
2743
84998447
SM
27442013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2747 (eshell-parse-command, eshell-parse-pipeline): Use it since
2748 eshell-separate-commands requires a dynamic scoped var.
2749 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2750
33215353
LL
27512013-09-23 Leo Liu <sdl.web@gmail.com>
2752
2753 * autoinsert.el (auto-insert-alist): Make the value of
2754 lexical-binding match its file setting.
2755
57b16162
JB
27562013-09-23 Juanma Barranquero <lekktu@gmail.com>
2757
c8af4e67
JB
2758 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2759
57b16162
JB
2760 * autoarg.el (autoarg-kp-digit-argument):
2761 * electric.el (Electric-command-loop):
2762 * kmacro.el (kmacro-step-edit-insert):
2763 Do not set universal-argument-num-events.
2764
7186ba60
LL
27652013-09-22 Leo Liu <sdl.web@gmail.com>
2766
2767 * files.el (interpreter-mode-alist): Add octave.
2768
ece15004
AM
27692013-09-21 Alan Mackenzie <acm@muc.de>
2770
2771 C++: fontify identifier in declaration following "public:" correctly.
2772 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2773 to match "public", etc.
2774 (c-decl-prefix-re): Add ":" into the C++ value.
2775 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2776 bit. Add a check for a ":" preceded by "public", etc.
2777
75d83e22
EZ
27782013-09-21 Eli Zaretskii <eliz@gnu.org>
2779
2780 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2781 recognized by GDB 7.5 and later.
2782
d052d3bd
XF
27832013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2784
2785 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2786
31dca772
R
27872013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * subr.el (internal--call-interactively): New const.
2790 (called-interactively-p): Use it (bug#3984).
2791
98ccf24e
XF
27922013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2793
2794 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2795 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2796 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2797
c39cc7d1
SM
27982013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2801 (eshell-ls-orig-insert-directory): Remove.
2802 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2803 (eshell-ls-use-in-dired): Use advice-add/remove.
2804 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2805 Add `orig-fun' arg for use in :around advice.
2806 Make it check (redundantly) eshell-ls-use-in-dired.
2807
9a0289a2
GM
28082013-09-19 Glenn Morris <rgm@gnu.org>
2809
a2c501b8
GM
2810 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2811
c440407a
GM
2812 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2813
9a0289a2
GM
2814 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2815
85e05915
MA
28162013-09-19 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2819 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2820 (tramp-get-remote-python): New defuns.
2821 (tramp-get-remote-uid-with-perl)
2822 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2823 contributed by yary <not.com@gmail.com> (tiny change).
2824 (tramp-get-remote-uid-with-python)
2825 (tramp-get-remote-gid-with-python): New defuns. Python code
2826 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2827 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2828
ce503312
GM
28292013-09-19 Glenn Morris <rgm@gnu.org>
2830
f7544773
GM
2831 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2832
72fd2877
GM
2833 * eshell/em-unix.el (eshell-remove-entries):
2834 Rename argument to avoid name-clash with global `top-level'.
2835
336b5a56
GM
2836 * eshell/esh-proc.el (eshell-kill-process-function):
2837 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2838 (eshell-reset-after-proc): Remove unused arg `proc'.
2839
57a3a53d
GM
2840 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2841 (directory-files-and-attributes): Mark unused arg.
2842
3261d4af
GM
2843 * eshell/em-unix.el (eshell-remove-entries):
2844 Remove unused arg `path'. Update callers.
2845
8e51b5d0
GM
2846 * eshell/em-hist.el (eshell-hist-parse-arguments):
2847 Remove unused arg `silent'. Update callers.
2848
ce503312
GM
2849 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2850 Fix (f)boundp mix-up.
2851
2852 * eshell/em-smart.el (eshell-smart-scroll-window)
2853 (eshell-disable-after-change):
336b5a56 2854 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2855
ee3ce8a7
AM
28562013-09-18 Alan Mackenzie <acm@muc.de>
2857
2858 Fix fontification of type when followed by "const".
2859 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2860 "known" types from fontification.
2861
ec9177ba
GM
28622013-09-18 Glenn Morris <rgm@gnu.org>
2863
7bb3e768
GM
2864 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2865 (chart-face-list): Drop Emacsen without display-color-p.
2866
5148da15
GM
2867 * net/eww.el (libxml-parse-html-region): Declare.
2868 (eww-display-html): Explicit error if no libxml2 support.
2869
2f68e157
GM
2870 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2871
9019d095
GM
2872 * image.el (image-type-from-buffer, image-multi-frame-p):
2873 Remove --without-x warning/error.
67645389 2874
5f30349b 2875 * mouse.el (mouse-yank-primary):
45069b2e 2876 * term.el (term-mouse-paste):
5f30349b
GM
2877 Reorder to silence --without-x compilation.
2878
cd8edbbe
GM
2879 * mpc.el (doc-view-mode): Silence --without-x compilation.
2880
8a78544e
GM
2881 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2882 Silence --without-x compilation.
2883
12679bfd
GM
2884 * progmodes/gud.el (gud-find-file, gud-mode):
2885 Silence --without-x compilation.
2886 (tooltip-mode): Declare.
30810a05 2887
f0047cb9
GM
2888 * wdired.el (dired-backup-overwrite): Remove declaration.
2889 (wdired-mode-map): Add doc string.
2890
e740f9d2
GM
2891 * custom.el (x-get-resource): Declare.
2892
92d77c89
GM
2893 * eshell/em-glob.el (ange-cache):
2894 * eshell/em-unix.el (ange-cache): Declare.
2895
76e69577
GM
2896 * faces.el (x-display-list, x-open-connection, x-get-resource):
2897 Declare.
7e58af4b
GM
2898
2899 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2900 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2901 Declare.
76e69577 2902
4bd4c0af 2903 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2904
ffb82dbd
GM
2905 * net/gnutls.el (gnutls-log-level): Declare.
2906
986ed135
GM
2907 * net/shr.el (image-size, image-animate): Declare.
2908
e740f9d2
GM
2909 * simple.el (font-info): Declare.
2910
d2f3e9f8
GM
2911 * subr.el (x-popup-dialog): Declare.
2912
047a1a4c
GM
2913 * term/common-win.el (x-select-enable-primary)
2914 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2915 Declare.
2916
f4a1d572
GM
2917 * term/ns-win.el (x-handle-args): Declare.
2918
e843de77
GM
2919 * term/x-win.el (x-select-enable-clipboard): Declare.
2920
5fa89513
GM
2921 * term/w32-win.el (create-default-fontset): Declare.
2922
38702b5b
GM
2923 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2924 Declare.
2925
e740f9d2
GM
2926 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2927 (fit-frame-to-buffer): Explicit error if --without-x.
2928 (mouse-autoselect-window-select): Silence compiler.
2929
49a053fc
GM
2930 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2931
2932 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2933 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2934 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2935 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2936 Remove unused local variables.
2937
2938 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2939
ec9177ba
GM
2940 * textmodes/two-column.el: Make 2C-split work for --without-x.
2941 (scroll-bar-columns): Autoload.
2942 (top-level): Require fringe when compiling.
2943
9f25cb77
LL
29442013-09-18 Leo Liu <sdl.web@gmail.com>
2945
2946 * subr.el (add-hook): Robustify to handle closure as well.
2947
2b42da98
GM
29482013-09-17 Glenn Morris <rgm@gnu.org>
2949
2950 * simple.el (messages-buffer-mode-map): Unbind "g".
2951
e8b66a6a
SM
29522013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2953
9c0ad4f7
SM
2954 * help-mode.el (help-mode-finish): Use derived-mode-p.
2955 Remove obsolete highlighting.
2956
7a806dfb
SM
2957 * play/life.el (life-mode): Use define-derived-mode. Derive from
2958 special-mode.
2959 (life): Let-bind inhibit-read-only.
2960 (life-setup): Avoid `setq'. Use `life-mode'.
2961
96dbf5a8
SM
2962 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2963 which should not be needed any more.
2964 (package-menu-refresh, package-menu-describe-package): Use user-error.
2965
e8b66a6a
SM
2966 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2967 (eshell-post-rewrite-command-hook): Make obsolete.
2968 (eshell-parse-command): Simplify.
2969 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2970 (eshell--cmd): Declare.
2971 (eshell-parse-pipeline): Remove unused var `final-p'.
2972 Pass a dynvar to eshell-post-rewrite-command-hook.
2973 Implement the new eshell-post-rewrite-command-function.
2974 (eshell-invoke-directly): Remove unused arg `input'.
2975 * eshell/esh-io.el (eshell-io-initialize):
2976 Use eshell-post-rewrite-command-function (bug#15399).
2977 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2978 adjust to new calling convention.
2979 (eshell-create-handles): Rename args to avoid clashing with dynvar
2980 `standard-output'.
2981
90582f05
GM
29822013-09-17 Glenn Morris <rgm@gnu.org>
2983
2984 * simple.el (messages-buffer-mode): New major mode.
2985 (messages-buffer): New function.
2986 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2987 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2988 (ert-run-test): Use `messages-buffer' function.
90582f05 2989 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2990 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2991 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2992
39eb0cb5 29932013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2994
2995 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2996
1f1e06e2
SM
2997 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2998
70568a90
SM
29992013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3000
504a0381
SM
3001 * icomplete.el (icomplete-in-buffer): New var.
3002 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3003 vars and replace them with functions.
3004 (icomplete-minibuffer-setup): Adjust accordingly.
3005 (icomplete--completion-table, icomplete--completion-predicate)
3006 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3007 New functions.
3008 (icomplete-forward-completions, icomplete-backward-completions)
3009 (icomplete-simple-completing-p, icomplete-exhibit)
3010 (icomplete-completions): Use them.
3011 (icomplete--in-region-buffer): New var.
3012 (icomplete--in-region-setup): New function.
3013 (icomplete-mode): Use it.
3014
70568a90
SM
3015 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3016 (bug#15379).
3017 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3018 return args and options.
3019 (eshell-eval-using-options): Use the new return value of
3020 eshell--do-opts to set the options's vars in their scope.
3021 (eshell--set-option): Rename from eshell-set-option.
3022 Add arg `opt-vals'.
3023 (eshell--process-option): Rename from eshell-process-option.
3024 Add arg `opt-vals'.
3025 (eshell--process-args): Use an `opt-vals' alist to store the options's
3026 values during their processing and return them additionally to the
3027 remaining args.
3028
578c21bc
DG
30292013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3030
3031 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3032 continuation character an operator, as far as indentation is
3033 concerned (Bug#15369).
3034
c089653d
MR
30352013-09-15 Martin Rudalics <rudalics@gmx.at>
3036
3037 * window.el (window--state-put-2): Don't process buffer state
3038 when buffer doesn't exist any more (Bug#15382).
3039
1e53bb4b
GM
30402013-09-15 Glenn Morris <rgm@gnu.org>
3041
30753242
GM
3042 * eshell/em-unix.el (eshell/rm):
3043 Make -f ignore missing files. (Bug#15373)
3044
1e53bb4b
GM
3045 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3046 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3047 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3048
0d8863b3
GM
30492013-09-14 Glenn Morris <rgm@gnu.org>
3050
3051 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3052
d3fc6549
GM
30532013-09-13 Glenn Morris <rgm@gnu.org>
3054
3055 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3056 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3057
fcd42c11
DA
30582013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3059
3060 * frame.el (x-focus-frame): Mark as declared in frame.c.
3061
7830899f
SM
30622013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * ls-lisp.el: Use advice-add.
3065 (original-insert-directory): Remove.
3066 (ls-lisp--insert-directory): Rename from insert-directory; add
3067 `orig-fun' argument.
3068 (insert-directory): Advise.
3069
84387cd2
EZ
30702013-09-13 Eli Zaretskii <eliz@gnu.org>
3071
3072 * term.el (term-emulate-terminal): Decode the command string
3073 before passing it to term-command-hook. (Bug#15337)
3074
35ffc6ba
GM
30752013-09-13 Glenn Morris <rgm@gnu.org>
3076
5c3f9bcc
GM
3077 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3078
2ada368a
GM
3079 * eshell/esh-ext.el (eshell-search-path): Declare.
3080
fcef2e13
GM
3081 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3082 Otherwise an error occurs if eshell-dirs module not loaded.
3083
35ffc6ba
GM
3084 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3085
35c3d36e
MA
30862013-09-13 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3089 `tramp-check-proper-host'. Check for a valid method name.
3090
3091 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3092 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3093 * net/tramp-sh.el (tramp-maybe-open-connection):
3094 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3095
3096 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3097 also for hash values.
3098
ae5e4c48
SM
30992013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3100
379add74
SM
3101 * term/ns-win.el (parameters): Don't declare as dynamic.
3102 (before-make-frame-hook): Don't add ineffective function.
3103
ae5e4c48
SM
3104 * eshell/*.el: Use lexical-binding (bug#15231).
3105
b5623270
KH
31062013-09-12 Kenichi Handa <handa@gnu.org>
3107
ae5e4c48 3108 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3109
30213927
GM
31102013-09-12 Glenn Morris <rgm@gnu.org>
3111
be94d713 3112 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3113 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3114
44915370
GM
3115 * subr.el (do-after-load-evaluation): Also give compiler warnings
3116 when obsolete files are used (except by obsolete files).
3117
a6ae021f
GM
3118 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3119 in the status output, assume `filename' is the first. (Bug#15322)
3120
40e64f0c
GM
3121 * vc/vc.el (vc-deduce-fileset): Doc fix.
3122
16d9f896
GM
3123 * calc/calc-help.el (Info-goto-node):
3124 * progmodes/cperl-mode.el (Info-find-node):
3125 * vc/ediff.el (Info-goto-node): Update declarations.
3126
dea01c6e
GM
3127 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3128
759880bf 3129 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3130 (vc-bzr-pull): Require vc-dispatcher.
3131 * vc/vc-git.el (vc-compilation-mode): Declare.
3132 (vc-git-pull): Require vc-dispatcher.
3133
08d66420
GM
3134 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3135
30b626e9
GM
3136 * progmodes/octave.el (help-button-action): Declare.
3137
8c05cb10
GM
3138 * shell.el (shell-directory-tracker): Output error as a message
3139 rather than just returning it as a string.
3140 (shell-process-pushd): Remove useless use of message.
3141
30213927
GM
3142 * dframe.el (dframe-timer-fn):
3143 * files.el (dir-locals-read-from-file):
3144 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3145 (mpc-format):
3146 * reveal.el (reveal-post-command):
3147 * saveplace.el (load-save-place-alist-from-file):
3148 * shell.el (shell-resync-dirs):
3149 * w32-common-fns.el (x-get-selection-value):
3150 * emacs-lisp/copyright.el (copyright-find-copyright):
3151 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3152 * emulation/tpu-edt.el (tpu-copy-keyfile):
3153 * play/bubbles.el (bubbles--mark-neighbourhood):
3154 * progmodes/executable.el
3155 (executable-make-buffer-file-executable-if-script-p):
3156 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3157
d3b049e6
SM
31582013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3159
170266d0
SM
3160 Cleanup Eshell to rely less on dynamic scoping.
3161 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3162 last-value, and ext-command here. Bind `args' closer to `body'.
3163 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3164 (eshell--args): Declare new dynamic var.
3165 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3166 last-value, and ext-command. Pass `args' to `body'.
3167 (eshell-process-args): Bind eshell--args.
3168 (eshell-set-option): Use eshell--args.
3169 * eshell/eshell.el (eshell): Use derived-mode-p.
3170 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3171 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3172 (eshell-glob-function): Declare.
3173 * eshell/esh-util.el: Require cl-lib.
3174 (eshell-read-hosts-file): Avoid add-to-list.
3175 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3176 `err'.
3177 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3178 Declare.
3179 (eshell/diff): Remove unused var `err'.
3180 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3181 `killflag'.
3182 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3183 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3184 first use.
3185 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3186 Move declaration before first use.
3187 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3188 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3189 rely on cl-return.
3190
56834f3b
GM
31912013-09-12 Glenn Morris <rgm@gnu.org>
3192
3193 * term/ns-win.el (global-map): Remove binding for ispell-next,
3194 deleted 1999-05-29. (Bug#15357)
3195
5c91a2b8
GM
31962013-09-11 Glenn Morris <rgm@gnu.org>
3197
da712f22
GM
3198 * echistory.el (electric-command-history): Remove call to deleted func.
3199
512e4cdc
GM
3200 * play/landmark.el (landmark-mode): Fix typos.
3201
d3506ca5
GM
3202 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3203 Check cvs-sort-ignore-file is bound.
3204
5c91a2b8
GM
3205 * savehist.el: No need for cl when compiling on Emacs.
3206
feeff482
SM
32072013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3208
656bd483
SM
3209 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3210 (bug#15338).
d3b049e6
SM
3211 (eshell-self-insert-command, eshell-send-invisible):
3212 Remove unused argument.
656bd483
SM
3213 (eshell-handle-control-codes): Remove unused var `orig'.
3214 Avoid delete-backward-char.
3215
feeff482
SM
3216 * files.el (set-auto-mode): Simplify a bit further.
3217
2a08047a
GM
32182013-09-11 Glenn Morris <rgm@gnu.org>
3219
3220 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3221 (set-auto-mode): Don't regexp-quote elements.
3222 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3223 * progmodes/cc-mode.el (interpreter-mode-alist):
3224 * progmodes/ruby-mode.el (interpreter-mode-alist):
3225 Revert previous change.
3226
34675540
SM
32272013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3228
1b3b87df
SM
3229 * play/snake.el (snake-mode):
3230 * play/mpuz.el (mpuz-mode):
3231 * play/landmark.el (lm-mode):
3232 * play/blackbox.el (blackbox-mode):
3233 * play/5x5.el (5x5-mode):
3234 * obsolete/options.el (Edit-options-mode):
3235 * net/quickurl.el (quickurl-list-mode):
3236 * net/newst-treeview.el (newsticker-treeview-mode):
3237 * mail/rmailsum.el (rmail-summary-mode):
3238 * mail/mspools.el (mspools-mode):
3239 * locate.el (locate-mode):
3240 * ibuffer.el (ibuffer-mode):
3241 * emulation/ws-mode.el (wordstar-mode):
3242 * emacs-lisp/debug.el (debugger-mode):
3243 * array.el (array-mode):
3244 * net/eudc.el (eudc-mode): Use define-derived-mode.
3245 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3246 Move initialization into declaration.
3247 (mairix-searches-mode): Use define-derived-mode.
3248 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3249 (eudc-edit-hotlist): Use dolist.
3250 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3251 (Man-mode): Use define-derived-mode.
3252 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3253 (Info-edit-mode): Use define-derived-mode.
3254 (Info-cease-edit): Use Info-mode.
3255 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3256 into declaration.
3257 (eshell-mode): Use define-derived-mode.
3258 * chistory.el (command-history-mode-map): Rename from
3259 command-history-map.
3260 (command-history-mode): Use define-derived-mode.
da712f22 3261 (Command-history-setup): Remove function.
1b3b87df
SM
3262 * calc/calc.el (calc-trail-mode-map): New var.
3263 (calc-trail-mode): Use define-derived-mode.
3264 (calc-trail-buffer): Set calc-main-buffer manually.
3265 * bookmark.el (bookmark-insert-annotation): New function.
3266 (bookmark-edit-annotation): Use it.
3267 (bookmark-edit-annotation-mode): Make it a proper major mode.
3268 (bookmark-send-edited-annotation): Use derived-mode-p.
3269 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3270 closer to its ideal place. Use \' to match EOS.
3271
34675540
SM
3272 * profiler.el (profiler-calltree-find): Use function-equal.
3273
6a5c15d9
GM
32742013-09-10 Glenn Morris <rgm@gnu.org>
3275
1af4c220
GM
3276 * files.el (interpreter-mode-alist): Convert to regexps.
3277 (set-auto-mode): Adapt for this. (Bug#15306)
3278 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3279 Comment out unused variable.
3280 * progmodes/cc-mode.el (interpreter-mode-alist):
3281 * progmodes/python.el (interpreter-mode-alist):
3282 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3283 * progmodes/sh-script.el (sh-set-shell):
3284 No longer use interpreter-mode-alist to get list of shells.
3285
6a5c15d9
GM
3286 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3287
8c27f5ff
SM
32882013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3289
02ef6c1a 3290 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3291 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3292 Bind switch-frame explicitly. Replace universal-argument-minus with
3293 a conditional binding.
3294 (universal-argument-num-events, saved-overriding-map): Remove.
3295 (restore-overriding-map): Remove.
3296 (universal-argument--mode): Rename from save&set-overriding-map,
3297 and rewrite.
3298 (universal-argument, universal-argument-more, negative-argument)
3299 (digit-argument): Adjust accordingly.
3300 (universal-argument-minus): Remove.
3301 (universal-argument-other-key): Remove.
3302
8c27f5ff
SM
3303 * subr.el (with-demoted-errors): Add `format' argument.
3304
6480194c
MA
33052013-09-10 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3308 `tramp-cleanup-connection'.
3309
3310 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3311 parameters KEEP-DEBUG and KEEP-PASSWORD.
3312
3313 * net/tramp.el (tramp-file-name-handler):
3314 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3315 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3316 (tramp-maybe-open-connection):
8c27f5ff
SM
3317 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3318 Use `tramp-cleanup-connection'.
6480194c 3319
8c27f5ff
SM
3320 * net/tramp-sh.el (tramp-maybe-open-connection):
3321 Catch 'uname-changed inside the progress reporter.
6480194c 3322
e5e916d8
GM
33232013-09-10 Glenn Morris <rgm@gnu.org>
3324
9a2c9b47
GM
3325 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3326
e5e916d8
GM
3327 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3328 returns "alternate access method" in mode (eg "-rw-r--r--.").
3329
144e38fe
GM
33302013-09-08 Glenn Morris <rgm@gnu.org>
3331
3332 * saveplace.el (load-save-place-alist-from-file):
3333 Demote errors. (Bug#15305)
3334
af9ff9e8
MA
33352013-09-08 Michael Albinus <michael.albinus@gmx.de>
3336
3337 Improve compatibility with older Emacsen, and XEmacs.
3338
3339 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3340 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3341 (with-tramp-progress-reporter): Do not let-bind `result'.
3342 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3343 (tramp-handle-make-auto-save-file-name): New function, moved from
3344 tramp-sh.el.
3345
3346 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3347 for `make-auto-save-file-name'.
8c27f5ff
SM
3348 (tramp-adb--gnu-switches-to-ash):
3349 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3350
3351 * net/tramp-cache.el (tramp-cache-print): Call
3352 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3353
3354 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3355 bound. It isn't for XEmacs.
3356
8c27f5ff
SM
3357 * net/tramp-compat.el (tramp-compat-copy-file):
3358 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3359 (tramp-compat-replace-regexp-in-string): New defun.
3360
3361 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3362 for `make-auto-save-file-name'.
3363 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3364 `copy-file'.
3365 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3366 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3367 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3368
8c27f5ff
SM
3369 * net/tramp-gw.el (tramp-gw-open-network-stream):
3370 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3371
8c27f5ff
SM
3372 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3373 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3374 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3375 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3376 (tramp-sh-file-inotifywait-process-filter):
3377 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3378 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3379
3380 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3381 for `make-auto-save-file-name'.
8c27f5ff
SM
3382 (tramp-smb-handle-copy-directory):
3383 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3384 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3385 (tramp-smb-handle-copy-file): Improve error message.
3386 (tramp-smb-handle-rename-file): Rename directly only in case
3387 `newname' does not exist yet. This is a restriction of smbclient.
3388 (tramp-smb-maybe-open-connection): Rerun the function only when
3389 `auth-sources' is non-nil.
3390
0ca754d0
KH
33912013-09-08 Kenichi Handa <handa@gnu.org>
3392
3393 * international/characters.el: Set category "^" (Combining) for
3394 more characters.
3395
e8dd0787
AM
33962013-09-07 Alan Mackenzie <acm@muc.de>
3397
3398 Correctly fontify Java class constructors.
3399 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3400 in Java Mode.
3401 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3402 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3403 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3404 "typeless" declaration there.
3405
f2f248e7
RW
34062013-09-07 Roland Winkler <winkler@gnu.org>
3407
3408 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3409 field subtitle for entry type book.
3410
67982e2b
SM
34112013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * minibuffer.el: Make minibuffer-complete call completion-in-region
3414 rather than other way around.
3415 (completion--some, completion-pcm--find-all-completions):
3416 Don't delay signals when debugging.
3417 (minibuffer-completion-contents): Beware fields within the
3418 minibuffer contents.
3419 (completion-all-sorted-completions): Use defvar-local.
3420 (completion--do-completion, completion--cache-all-sorted-completions)
3421 (completion-all-sorted-completions, minibuffer-force-complete):
3422 Add args `beg' and `end'.
3423 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3424 (minibuffer-complete): Use completion-in-region.
3425 (completion-complete-and-exit): New fun, extracted from
3426 minibuffer-complete-and-exit.
3427 (minibuffer-complete-and-exit): Use it.
3428 (completion--complete-and-exit): Rename from
3429 minibuffer--complete-and-exit.
3430 (completion-in-region--single-word): New function, extracted from
3431 minibuffer-complete-word.
3432 (minibuffer-complete-word): Use it.
3433 (display-completion-list): Make `common-substring' argument obsolete.
3434 (completion--in-region): Call completion--in-region-1 instead of
3435 minibuffer-complete.
3436 (completion-help-at-point): Pass boundaries to
3437 minibuffer-completion-help as args rather than via an overlay.
3438 (completion-pcm--string->pattern): Use `any-delim'.
3439 (completion-pcm--optimize-pattern): New function.
3440 (completion-pcm--pattern->regex): Handle `any-delim'.
3441 * icomplete.el (icomplete-forward-completions)
3442 (icomplete-backward-completions, icomplete-completions):
3443 Adjust calls to completion-all-sorted-completions and
3444 completion--cache-all-sorted-completions.
3445 (icomplete-with-completion-tables): Default to t.
3446 * emacs-lisp/crm.el (crm--current-element): Rename from
3447 crm--select-current-element. Don't put an overlay but return the
3448 boundaries instead.
3449 (crm--completion-command): Take two new args to bind to the boundaries.
3450 (crm-completion-help): Adjust accordingly.
3451 (crm-complete): Use completion-in-region.
3452 (crm-complete-word): Use completion-in-region--single-word.
3453 (crm-complete-and-exit): Use completion-complete-and-exit.
3454
e17d94a5
SM
34552013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3458 than dynamically.
3459
96727100
JL
34602013-09-06 Juri Linkov <juri@jurta.org>
3461
3462 * info.el (Info-display-images-node): When image file doesn't exist
3463 display text version of the image if it's provided in the Info file.
3464 Otherwise, display the location of missing image from SRC attribute.
3465 Add help-echo text property from ALT attribute. (Bug#15279)
3466
86cf7329
SM
34672013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3470 (edit-abbrevs-mode): Use define-derived-mode.
3471
3472 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3473 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3474 that it's defined.
3475 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3476 Use define-derived-mode.
3477
3478 * epg.el (epg-start-encrypt): Minor CSE simplification.
3479
816244a2
WX
34802013-09-06 William Xu <william.xwl@gmail.com>
3481
3482 * arc-mode.el: Add support for 7za (bug#15264).
3483 (archive-7z-program): New var.
3484 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3485 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3486 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3487
1486fa31
MA
34882013-09-06 Michael Albinus <michael.albinus@gmx.de>
3489
3490 Remove URL syntax.
3491
3492 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3493 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3494 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3495 (tramp-postfix-host-format, tramp-file-name-regexp)
3496 (tramp-completion-file-name-regexp)
3497 (tramp-completion-dissect-file-name)
3498 (tramp-handle-substitute-in-file-name): Remove 'url case.
3499 (tramp-file-name-regexp-url)
3500 (tramp-completion-file-name-regexp-url): Remove constants.
3501
39785324
GM
35022013-09-06 Glenn Morris <rgm@gnu.org>
3503
3504 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3505
1f896cb7
DG
35062013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3507
3508 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3509 keywords" below "here-doc beginnings" (Bug#15270).
3510
c0458e0b
SM
35112013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * subr.el (pop): Use `car-safe'.
3514 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3515 to detect unused `pop' return value.
3516
3517 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3518 var `block-regexp'.
3519 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3520 (python-fill-string): Remove unused var `marker'.
3521 (python-skeleton-add-menu-items): Remove unused var `items'.
3522
3523 * international/mule-cmds.el: Require CL.
3524 (find-coding-systems-for-charsets): Avoid add-to-list.
3525 (sanitize-coding-system-list): New function, extracted from
3526 select-safe-coding-system-interactively.
3527 (select-safe-coding-system-interactively): Use it.
3528 (read-input-method-name): Accept symbols for `default'.
3529
3530 * emacs-lisp/advice.el (defadvice): Add indent rule.
3531
6c42fc3e
DH
35322013-09-05 Daniel Hackney <dan@haxney.org>
3533
3534 * dired-x.el:
3535 * net/ange-ftp.el:
3536 * net/browse-url.el:
3537 * net/dbus.el:
3538 * net/eudc.el:
3539 * net/eudcb-ldap.el:
3540 * net/eww.el:
3541 * net/imap.el:
3542 * printing.el:
3543 * vc/ediff-diff.el:
3544 * vc/ediff-init.el:
3545 * vc/ediff-merg.el:
3546 * vc/ediff-mult.el:
3547 * vc/ediff-util.el:
3548 * vc/ediff-wind.el:
3549 * vc/ediff.el:
3550 * vc/emerge.el:
3551 * vc/pcvs.el:
3552 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3553 byte compiler. Remove some unused let-bound variables.
3554
4c528aab
SM
35552013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3556
3557 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3558 a "ref-cell", since it gets better optimized (bug#14883).
3559
bd15c390
GM
35602013-09-05 Glenn Morris <rgm@gnu.org>
3561
3562 * progmodes/cc-awk.el (c-forward-sws): Declare.
3563
1c3ac2e5
GM
35642013-09-04 Glenn Morris <rgm@gnu.org>
3565
3566 * generic-x.el [rul-generic-mode]: Require cc-mode.
3567 (c++-mode-syntax-table): Declare.
3568 (rul-generic-mode-syntax-table): Init in the defvar.
3569
52b1cc79
SM
35702013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3571
c828af56
SM
3572 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3573 (vc-do-command, vc-set-async-update):
3574 * vc/vc-mtn.el (vc-mtn-dir-status):
3575 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3576 (vc-hg-pull, vc-hg-merge-branch):
3577 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3578 (vc-git-merge-branch):
3579 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3580 (vc-cvs-dir-status-files):
3581 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3582 (vc-bzr-dir-status-files):
3583 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3584 * vc/vc-annotate.el: Use lexical-binding.
3585 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3586 (vc-sentinel-movepoint): Declare.
3587 (vc-annotate): Don't use `goto-line'.
3588 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3589 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3590 (vc-sentinel-movepoint): Declare.
3591 * vc/vc-svn.el: Use lexical-binding.
3592 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3593 * vc/vc-sccs.el:
3594 * vc/vc-rcs.el: Use lexical-binding.
3595
abae272c
SM
3596 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3597 `deleted'. Don't drop errors silently.
3598
52b1cc79
SM
3599 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3600
63191d9f
XF
36012013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3602
3603 * vc/vc.el (vc-ignore): Rewrite.
3604 (vc-default-ignore): New function.
3605 (vc-default-ignore-completion-table): Use find-ignore-file.
3606
3607 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3608 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3609 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3610 Remove. Most code moved to vc.el.
3611
9d3f707c
SM
36122013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3613
abae272c 3614 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3615 * net/tramp-smb.el (tramp-smb-get-file-entries):
3616 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3617 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3618
fde38d49
SM
3619 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3620 Update call to it.
3621 (eww-change-select): Remove unused var `properties'.
3622 (eww-make-unique-file-name): Remove unused var `base'.
3623
3624 * finder.el (finder-compile-keywords): Don't mess with windows.
3625
84032db7
SM
3626 * calculator.el (calculator-funcall): Fix typo in last change.
3627
724f5e41
SM
3628 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3629
14b511d4
SM
3630 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3631 <pkg>-autoloads.el file stop us.
3632
9d3f707c 3633 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3634 warnings, and factor out common code.
9d3f707c 3635
88527bc0
DG
36362013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3637
3638 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3639 two-character operators and whether the character preceding them
3640 changes their meaning (Bug#15208).
3641
96edb677
FEG
36422013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3643
3644 Format code sent to Python shell for robustness.
9d3f707c
SM
3645 * progmodes/python.el (python-shell-buffer-substring):
3646 New function.
96edb677
FEG
3647 (python-shell-send-region, python-shell-send-buffer): Use it.
3648
95beaef3
MA
36492013-09-02 Michael Albinus <michael.albinus@gmx.de>
3650
3651 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3652 * net/tramp.el (tramp-user-error): ... here.
3653 (tramp-find-method, tramp-check-proper-host)
3654 (tramp-dissect-file-name, tramp-debug-message)
3655 (tramp-handle-shell-command):
3656 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3657 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3658
3659 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3660
f167c27b
MR
36612013-09-02 Martin Rudalics <rudalics@gmx.at>
3662
3663 * avoid.el (mouse-avoidance-point-position)
3664 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3665 returns nil.
3666
cd16c5f1
FEG
36672013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3668
3669 * progmodes/python.el (python-shell-completion-get-completions):
3670 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3671 (python-nav-if-name-main): New command.
cd16c5f1 3672
e73c3a0d
GM
36732013-09-01 Glenn Morris <rgm@gnu.org>
3674
f8ccce03
GM
3675 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3676 Avoid leading space in $wins. Otherwise the sed command used by
3677 eg compile-main ends up containing "/*.el". (Bug#15170)
3678
e73c3a0d
GM
3679 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3680
415f808e
GM
36812013-08-30 Glenn Morris <rgm@gnu.org>
3682
3683 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3684 Fix is-this-a-directory logic. (Bug#15220)
3685
f069bba8
SM
36862013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3687
112798c1
SM
3688 * textmodes/css-mode.el: Use SMIE.
3689 (css-smie-grammar): New var.
3690 (css-smie--forward-token, css-smie--backward-token)
3691 (css-smie-rules): New functions.
3692 (css-mode): Use them.
3693 (css-navigation-syntax-table): Remove var.
3694 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3695 (css-indent-calculate, css-indent-line): Remove functions.
3696
3697 Misc changes to reduce use of `(lambda...); and other cleanups.
3698 * cus-edit.el: Use lexical-binding.
3699 (customize-push-and-save, customize-apropos)
3700 (custom-buffer-create-internal): Use closures.
3701 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3702 * progmodes/ada-xref.el: Use setq.
3703 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3704 * dframe.el: Use lexical-binding.
3705 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3706 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3707 * descr-text.el: Use lexical-binding.
3708 (describe-text-widget, describe-text-sexp, describe-property-list):
3709 Use closures.
3710 * comint.el (comint-history-isearch-push-state): Use a closure.
3711 * calculator.el: Use lexical-binding.
3712 (calculator-number-to-string): Make it work with lexical-binding.
3713 (calculator-funcall): Same and use cl-letf.
3714
2da4c3ab
SM
3715 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3716 (lisp--company-doc-string, lisp--company-location): New functions.
3717 (lisp-completion-at-point): Use them to improve Company support.
3718
f069bba8
SM
3719 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3720 params of lambda expressions.
3721 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3722 (ruby-smie--opening-pipe-p): New function.
3723 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3724 symbols and matched |...| for formal params.
3725 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3726 from being treated as hanging. Handle "rescue".
3727
6758b6a8
GM
37282013-08-29 Glenn Morris <rgm@gnu.org>
3729
3730 * progmodes/cc-engine.el (c-pull-open-brace):
3731 Move definition before use.
3732
e8dfd197
SM
37332013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3736 are immutable. Don't use `unsafe' any more.
3737 (cl--defsubst-expand): Don't substitute at the same time as keeping
3738 a residual unused let-binding. Don't use `unsafe' any more.
3739
cc585c96
GM
37402013-08-29 Glenn Morris <rgm@gnu.org>
3741
ba579ea6
GM
3742 * calendar/cal-china.el (calendar-chinese-year-cache):
3743 Recenter on 2015.
3744
8201a87e
GM
3745 * nxml/nxml-util.el (nxml-debug-clear-inside):
3746 Use cl-loop rather than loop.
3747
6ee877c7
GM
3748 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3749
cc585c96
GM
3750 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3751
27be8d39
GM
37522013-08-28 Glenn Morris <rgm@gnu.org>
3753
397440a1
GM
3754 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3755
2bb762d4
GM
3756 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3757
27be8d39
GM
3758 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3759
2d69b99e
SM
37602013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3761
f663baa7
SM
3762 * simple.el (repeat-complex-command--called-interactively-skip):
3763 New function.
3764 (repeat-complex-command): Use it (bug#14136).
3765
dd4f8b74
SM
3766 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3767 (c-define-abbrev-table): Add `doc' argument.
3768 (c-mode-abbrev-table, c++-mode-abbrev-table)
3769 (objc-mode-abbrev-table, java-mode-abbrev-table)
3770 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3771 (awk-mode-abbrev-table): Use it.
3772 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3773 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3774 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3775 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3776 Move initialization into the declaration; and remove any
3777 autoload cookie.
3778
b58969f7
SM
3779 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3780 and dynamic let binding.
3781
4021d6a6
SM
3782 * vc/smerge-mode.el: Remove redundant :group args.
3783
2d69b99e
SM
3784 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3785 to load-path.
3786
274919fd
JL
37872013-08-28 Juri Linkov <juri@jurta.org>
3788
3789 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3790 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3791 (isearch-other-meta-char): Handle an undefined shifted printing
3792 character by downshifting it. (Bug#15200)
3793
121f8c95
JL
37942013-08-28 Juri Linkov <juri@jurta.org>
3795
3796 * isearch.el (isearch-search): Change regexp error message for
3797 non-regexp searches. (Bug#15166)
3798
50b13cde
PE
37992013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3800
3801 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3802 for portability to hosts where /bin/sh has problems.
3803
95888bca
SM
38042013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3807
bbe558f1
JL
38082013-08-27 Juri Linkov <juri@jurta.org>
3809
3810 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3811 in the keyboard macro. (Bug#15126)
3812
26f98a7d
JL
38132013-08-27 Juri Linkov <juri@jurta.org>
3814
3815 * isearch.el (isearch-quote-char): Comment out converting unibyte
3816 to multibyte, thus syncing with its `quoted-insert' counterpart.
3817 (Bug#15166)
3818
7c97d35e
MR
38192013-08-27 Martin Rudalics <rudalics@gmx.at>
3820
3821 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3822 argument in call of get-largest-window (Bug#15185).
3823 Reported by Stephen Leake.
7c97d35e 3824
a0b5606e 38252013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3826
3827 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3828
9e89d835
SM
38292013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3832 from a matcher-function unless there's no more matches (bug#15161).
3833
78fc2530
MA
38342013-08-26 Michael Albinus <michael.albinus@gmx.de>
3835
3836 * minibuffer.el: Revert change from 2013-08-20.
3837
3838 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3839 with text property `tramp-default', if appropriate.
3840 (tramp-check-proper-host): New defun.
3841 (tramp-dissect-file-name): Do not check hostname. Revert change
3842 of 2013-03-18.
3843 (tramp-backtrace): Make VEC-OR-PROC optional.
3844
3845 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3846 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3847 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3848 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3849 Apply `tramp-check-proper-host'.
78fc2530 3850
edca97cd
TH
38512013-08-26 Tassilo Horn <tsdh@gnu.org>
3852
3853 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3854 lambda expression in order to have `describe-variable' display it.
3855
df54bcbd
MA
38562013-08-26 Michael Albinus <michael.albinus@gmx.de>
3857
3858 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3859 BUF can be optional. (Bug#15186)
3860
eed99101
XF
38612013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3862
3863 * progmodes/flymake.el (flymake-get-real-file-name-function):
3864 Fix broken customization. (Bug#15184)
3865
b5eb9035
AM
38662013-08-25 Alan Mackenzie <acm@muc.de>
3867
8a51e842
AM
3868 Improve indentation of bracelists defined by macros (without "=").
3869
3870 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3871 expansion begins with "{", regard it as bracelist when it doesn't
3872 contain a ";".
3873
869455d4
AM
3874 Parse C++ inher-intro when there's a template split over 2 lines.
3875
3876 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3877 rigorously the search for "class" etc. followed by ":".
3878
3879 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3880 random languages a regexp which never matches rather than nil.
3881
b5eb9035
AM
3882 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3883
3884 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3885 (c-awk-regexp-one-line-possibly-open-char-list-re)
3886 (c-awk-one-line-possibly-open-regexp-re)
3887 (c-awk-one-line-non-syn-ws*-re): Remove.
3888 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3889 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3890 (c-awk-space*-unclosed-regexp-/-re): New constants.
3891 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3892 aren't regexp delimiters.
3893
3894 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3895 handling for a rare situation in AWK Mode involving unterminated
3896 strings/regexps.
3897
61611d54
GM
38982013-08-23 Glenn Morris <rgm@gnu.org>
3899
2d85dc34
GM
3900 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3901
cb8d2612
GM
3902 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3903
bb35f42f
GM
3904 * files.el (create-file-buffer): If the result would begin with
3905 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3906
b9808e77
SM
39072013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3908
e3a66363
SM
3909 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3910 text-properties (bug#15155).
3911
b9808e77
SM
3912 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3913 exist any more.
3914 (calc-keypad-redraw): Remove unused var `pad'.
3915 (calc-keypad-press): Remove unused var `menu'.
3916
7fd5f65e
MR
39172013-08-23 Martin Rudalics <rudalics@gmx.at>
3918
b9808e77
SM
3919 * window.el (display-buffer-pop-up-frame):
3920 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3921 use it as the new frame's buffer (Bug#15133).
3922
8352b530
SM
39232013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * calendar/timeclock.el: Minor cleanups.
3926 (timeclock-ask-before-exiting, timeclock-use-display-time):
3927 Use `symbol'.
3928 (timeclock-modeline-display): Define as alias before the
3929 actual definition.
3930 (timeclock-mode-line-display): Use define-minor-mode.
3931 (timeclock-day-list-template): Make it a function, add an argument.
3932 (timeclock-day-list-required, timeclock-day-list-length)
3933 (timeclock-day-list-debt, timeclock-day-list-span)
3934 (timeclock-day-list-break): Adjust calls accordingly.
3935
9f7b1925
SM
39362013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3939 Use read--expression so that completion works again.
3940
6e50e983
SS
39412013-08-21 Sam Steingold <sds@gnu.org>
3942
3943 Add rudimentary inferior shell interaction
3944 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3945 (sh-set-shell): Reset it.
9f7b1925
SM
3946 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3947 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3948
dbb0d350
SM
39492013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * align.el: Use lexical-binding.
3952 (align-region): Simplify accordingly.
3953
c88586a9
MA
39542013-08-20 Michael Albinus <michael.albinus@gmx.de>
3955
3956 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3957
3958 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3959 `non-essential' up.
3960
f95527c8
MA
39612013-08-17 Michael Albinus <michael.albinus@gmx.de>
3962
3963 * net/tramp.el:
3964 * net/tramp-adb.el:
3965 * net/tramp-cmds.el:
3966 * net/tramp-ftp.el:
3967 * net/tramp-gvfs.el:
3968 * net/tramp-gw.el:
3969 * net/tramp-sh.el: Don't wrap external variable declarations by
3970 `eval-when-compile'.
3971
4b5fe4ee
LMI
39722013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3973
3974 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3975 now that Emacs supports ImageMagick animations.
3976
13c366c9
MA
39772013-08-16 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3980 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3981
3dfc5cd6
MR
39822013-08-16 Martin Rudalics <rudalics@gmx.at>
3983
3984 * window.el (mouse-autoselect-window-select): Do autoselect when
3985 mouse pointer is on margin.
3986
4bbb4381
WP
39872013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3988
3989 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3990
3a2ddc2d
GM
39912013-08-16 Glenn Morris <rgm@gnu.org>
3992
e8bedf5a
GM
3993 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3994 Handle "Remote Directory" response of some clients. (Bug#15058)
3995
58c4682f
GM
3996 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3997 Tweak warning. (Bug#14926)
3998
57953f49
GM
3999 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4000 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4001
3a2ddc2d
GM
4002 * image-mode.el (image-mode-map): Add menu items to reverse,
4003 increase, decrease, reset animation speed.
4004 (image--set-speed, image-increase-speed, image-decrease-speed)
4005 (image-reverse-speed, image-reset-speed): New functions.
4006 (image-mode-map): Add bindings for speed commands.
4007
4008 * image.el (image-animate-get-speed, image-animate-set-speed):
4009 New functions.
4010 (image-animate-timeout): Respect image :speed property.
4011
10fa0ed3
SM
40122013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4015 previous line (bug#15101).
4016 (debugger-eval-expression, debugger-record-expression):
4017 Use read--expression (bug#15102).
4018
5d89d9d2
MA
40192013-08-15 Michael Albinus <michael.albinus@gmx.de>
4020
4021 Remove byte compiler warnings, visible when compiling with
4022 `byte-compile-force-lexical-warnings' set to t.
4023
4024 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4025 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4026 (tramp-handle-unhandled-file-name-directory)
4027 (tramp-handle-file-notify-add-watch, tramp-action-login)
4028 (tramp-action-succeed, tramp-action-permission-denied)
4029 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4030 arguments with "_".
4031
4032 * net/tramp-adb.el (tramp-adb-parse-device-names)
4033 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4034 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4035 (tramp-adb-handle-file-truename): Remove unused arguments.
4036
4037 * net/tramp-cache.el (tramp-flush-directory-property)
4038 (tramp-flush-connection-property, tramp-list-connections)
4039 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4040
10fa0ed3
SM
4041 * net/tramp-compat.el (tramp-compat-make-temp-file):
4042 Rename FILENAME to F.
5d89d9d2
MA
4043
4044 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4045 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4046 (tramp-zeroconf-parse-workstation-device-names)
4047 (tramp-zeroconf-parse-webdav-device-names)
4048 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4049
4050 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4051 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4052
4053 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4054 arguments.
4055 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4056 (tramp-sh-handle-insert-file-contents-literally)
4057 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4058 with "_".
4059 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4060 Remove unused variables.
4061
4062 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4063 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4064 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4065
4066 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4067 Make them a defconst.
4068 (tramp-uuencode-region): Remove unused variable.
4069
62f33bae
JB
40702013-08-14 Juanma Barranquero <lekktu@gmail.com>
4071
4072 * frameset.el (frameset--prop-setter): New function.
4073 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4074 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4075 parameter was already set in FILTERED. Doc fix.
4076 (frameset--record-minibuffer-relationships): Allow saving a
4077 minibufferless frame without its corresponding minibuffer frame.
4078 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4079 frame, if the frame id matches.
4080 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4081 frames before orphaned ones.
4082 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4083
c660a885
MR
40842013-08-14 Martin Rudalics <rudalics@gmx.at>
4085
4086 * window.el (window-make-atom): Don't overwrite parameter
4087 already present.
4088 (display-buffer-in-atom-window): Handle special case where we
4089 split an already atomic window.
4090 (window--major-non-side-window, display-buffer-in-side-window)
4091 (window--side-check): Ignore minibuffer window when walking
4092 window tree.
4093 (window-deletable-p): Return 'frame only if no other frame uses
4094 our minibuffer window.
4095 (record-window-buffer): Run buffer-list-update-hook.
4096 (split-window): Make sure window--check-frame won't destroy an
4097 existing atomic window in case the new window gets nested
4098 inside.
4099 (display-buffer-at-bottom): Ignore minibuffer window when
4100 walking window tree. Don't split a side window.
4101 (pop-to-buffer): Don't set-buffer here, the select-window call
4102 should do that.
4103 (mouse-autoselect-window-select): Autoselect only if we are in the
4104 text portion of the window.
4105
8259030d
LMI
41062013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4107
21c58ae2
LMI
4108 * net/shr.el (shr-parse-image-data): New function to grab both the
4109 data itself and the Content-Type.
4110 (shr-put-image): Use it.
4111
4112 * net/eww.el (eww-display-image): Ditto.
4113
8259030d
LMI
4114 * image.el (image-content-type-suffixes): New variable.
4115
ad756449
FEG
41162013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4117
4118 * progmodes/python.el (python-imenu--build-tree)
4119 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4120
f73f4ce6
XF
41212013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4122
4123 * simple.el (backward-word): Mention the optional argument.
4124
1f585e65
SM
41252013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * frameset.el (frameset--make): Rename constructor from make-frameset.
4128 (frameset-p, frameset-valid-p): Don't autoload.
4129 (frameset-valid-p): Use normal accessors.
4130
af1c6c84
GM
41312013-08-13 Glenn Morris <rgm@gnu.org>
4132
55e47f95
GM
4133 * progmodes/compile.el (compile-command): Tweak example in doc.
4134 * obsolete/scribe.el (scribe-mode):
4135 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4136
f0024d8c
GM
4137 * mail/feedmail.el (feedmail-confirm-outgoing)
4138 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4139
4140 * cus-start.el (truncate-partial-width-windows): Fix type.
4141
4142 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4143
af1c6c84
GM
4144 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4145
5514cc4c
SM
41462013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * emacs-lisp/timer.el (timer--time-setter): New function.
4149 (timer--time): Use it as gv-setter.
4150
4151 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4152 setter is not a symbol.
4153
7997a2f1
GJ
41542013-08-12 Grégoire Jadi <daimrod@gmail.com>
4155
4156 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4157 if sending fails. This makes debugging easier.
4158
01f1a9ab
JB
41592013-08-12 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4162 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4163 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4164
594a4307
EZ
41652013-08-12 Eli Zaretskii <eliz@gnu.org>
4166
4167 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4168
7a22490f 41692013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4170
4171 * format.el (format-annotate-function):
4172 Handle read-only text properties in the source. (Bug#14887)
4173
3e41a054
LMI
41742013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4175
5514cc4c
SM
4176 * net/eww.el (eww-display-html): Ignore coding system errors.
4177 One web site uses "utf-8lias" as the coding system.
3e41a054 4178
7ec326db
JB
41792013-08-11 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4182
5660113b
JB
41832013-08-10 Juanma Barranquero <lekktu@gmail.com>
4184
9a4ebc74
JB
4185 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4186 (tutorial--detailed-help): Remove unused local variables.
4187 (tutorial--save-tutorial-to): Use ignore-errors.
4188 (help-with-tutorial): Use looking-at-p.
4189
4190 * view.el (view-buffer-other-window, view-buffer-other-frame):
4191 Mark unused arguments.
4192
4193 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4194 (woman-select-symbol-fonts, woman, woman-find-file)
4195 (woman-insert-file-contents, woman-non-underline-faces):
4196 Use string-match-p.
4197 (woman1-unquote): Move declaration.
4198
4199 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4200 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4201 argument. Remove unused local variable.
4202 (xml-parse-elem-type): Use string-match-p.
4203 (xml-substitute-numeric-entities): Use ignore-errors.
4204
45fdb482
JB
4205 * calculator.el (calculator): Mark unused argument.
4206 (calculator-paste, calculator-quit, calculator-integer-p):
4207 Use ignore-errors.
4208 (calculator-string-to-number, calculator-decimal, calculator-exp)
4209 (calculator-op-or-exp): Use string-match-p.
4210
4211 * dired.el (dired-buffer-more-recently-used-p): Declare.
4212 (dired-insert-set-properties, dired-insert-old-subdirs):
4213 Use ignore-errors.
4214
4215 * dired-aux.el (dired-compress): Use ignore-errors.
4216 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4217 (dired-do-async-shell-command, dired-do-shell-command)
4218 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4219 (dired-insert-subdir-validate): Use string-match-p.
4220 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4221 (dired-add-entry): Use string-match-p, looking-at-p.
4222 (dired-insert-subdir-newpos): Remove unused local variable.
4223
4224 * filenotify.el (file-notify-callback): Remove unused local variable.
4225
4226 * filesets.el (filesets-error): Mark unused argument.
4227 (filesets-which-command-p, filesets-filter-dir-names)
4228 (filesets-directory-files, filesets-get-external-viewer)
4229 (filesets-ingroup-get-data): Use string-match-p.
4230
4231 * find-file.el (ff-other-file-name, ff-other-file-name)
4232 (ff-find-the-other-file, ff-cc-hh-converter):
4233 Remove unused local variables.
4234 (ff-get-file-name): Use string-match-p.
4235 (ff-all-dirs-under): Use ignore-errors.
4236
4237 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4238 (follow-select-if-visible): Remove unused local variable.
4239
4240 * forms.el (read-file-filter): Move declaration.
4241 (forms--make-format, forms--make-parser, forms-insert-record):
4242 Quote function with #'.
4243 (forms--update): Use string-match-p. Quote function with #'.
4244
4245 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4246 (help-make-xrefs): Use looking-at-p.
4247 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4248
4249 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4250 (ibuffer-confirm-operation-on): Use string-match-p.
4251
4252 * msb.el (msb-item-handler, msb-dired-item-handler):
4253 Mark unused arguments.
4254
4255 * ses.el (ses-decode-cell-symbol)
4256 (ses-kill-override): Remove unused local variable.
4257 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4258 (ses-load): Use ignore-errors, looking-at-p.
4259 (ses-jump-safe): Use ignore-errors.
4260 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4261
4262 * tabify.el (untabify, tabify): Mark unused arguments.
4263
4264 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4265 Mark unused argument.
4266 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4267 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4268
c880af52
JB
4269 * emacs-lisp/timer.el (timer--time): Define setter with
4270 gv-define-setter to avoid deprecation warning.
4271
5660113b 4272 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4273 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4274 (cmpl-statistics-block): Remove (body was commented out).
4275 All callers changed.
4276 (add-completions-from-buffer, load-completions-from-file):
4277 Remove unused variables.
4278
156aab80
JB
42792013-08-09 Juanma Barranquero <lekktu@gmail.com>
4280
5c5dee78
JB
4281 * filecache.el (file-cache-delete-file-list):
4282 Print message only when told so.
4283 (file-cache-files-matching): Use #' in mapconcat argument.
4284
156aab80
JB
4285 * ffap.el (ffap-url-at-point): Fix reference to variable
4286 thing-at-point-default-mail-uri-scheme.
4287
ad9dcd70
SM
42882013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4289
54bd972f
SM
4290 * subr.el (define-error): New function.
4291 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4292 error-file-not-found and define with define-error.
4293 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4294 and define with define-error.
4295 * userlock.el (file-locked, file-supersession):
4296 * simple.el (mark-inactive):
4297 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4298 * progmodes/ada-mode.el (ada-mode-errors):
4299 * play/life.el (life-extinct):
4300 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4301 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4302 * nxml/rng-util.el (rng-error):
4303 * nxml/rng-uri.el (rng-uri-error):
4304 * nxml/rng-match.el (rng-compile-error):
4305 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4306 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4307 * nxml/nxml-rap.el (nxml-scan-error):
4308 * nxml/nxml-outln.el (nxml-outline-error):
4309 * net/soap-client.el (soap-error):
4310 * net/gnutls.el (gnutls-error):
4311 * net/ange-ftp.el (ftp-error):
4312 * mpc.el (mpc-proc-error):
4313 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4314 (json-number-format, json-string-escape, json-string-format)
4315 (json-key-format, json-object-format):
4316 * jka-compr.el (compression-error):
4317 * international/quail.el (quail-error):
4318 * international/kkc.el (kkc-error):
4319 * emacs-lisp/ert.el (ert-test-failed):
4320 * calc/calc.el (calc-error, inexact-result, math-overflow)
4321 (math-underflow):
4322 * bookmark.el (bookmark-error-no-filename):
4323 * epg.el (epg-error): Define with define-error.
4324
0ea9e53a
SM
4325 * time.el (display-time-event-handler)
4326 (display-time-next-load-average): Don't call sit-for since it seems
4327 unnecessary (bug#15045).
4328
b0429158
SM
4329 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4330 Use #' instead of ' to quote functions.
4331 (checkdoc-output-mode): Use setq-local.
4332 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4333 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4334 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4335 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4336 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4337 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4338 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4339 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4340
ad9dcd70
SM
4341 * ido.el (ido-completion-help): Fix up compiler warning.
4342
77187e6f
JB
43432013-08-09 Juanma Barranquero <lekktu@gmail.com>
4344
4345 * frameset.el (frameset-p): Add autoload cookie.
4346 (frameset--jump-to-register): New function, based on code moved from
4347 register.el.
4348 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4349
4350 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4351 (frameset-restore, frameset-save, frameset-session-filter-alist):
4352 Remove declarations.
4353 (register-alist): Doc fix.
4354 (frameset-to-register): Move to frameset.el.
4355 (jump-to-register, describe-register-1): Remove frameset-specific code.
4356
9d3aa82c
JB
43572013-08-08 Juanma Barranquero <lekktu@gmail.com>
4358
4359 * allout-widgets.el (allout-widgets-pre-command-business)
4360 (allout-widgets-post-command-business)
4361 (allout-widgets-after-change-handler)
4362 (allout-decorate-item-and-context, allout-set-boundary-marker)
4363 (allout-body-modification-handler)
4364 (allout-graphics-modification-handler): Mark ignored arguments.
4365 (allout-widgets-post-command-business)
4366 (allout-widgets-exposure-change-processor)
4367 (allout-widgets-exposure-undo-processor)
4368 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4369 (allout-parse-item-at-point, allout-decorate-item-guides)
4370 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4371 * allout.el (epa-passphrase-callback-function): Declare.
4372 (allout-overlay-insert-in-front-handler)
4373 (allout-overlay-interior-modification-handler)
4374 (allout-isearch-end-handler, allout-chart-siblings)
4375 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4376 (allout-yank-processing, allout-process-exposed)
4377 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4378 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4379 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4380 (lisp-indent-defform): Mark ignored arguments.
4381 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4382 (calculate-lisp-indent): Remove unused variables.
4383 * international/characters.el (indian-2-column, arabic-2-column)
4384 (tibetan): Mark ignored arguments.
4385 (use-cjk-char-width-table): Mark ignored arguments.
4386 Remove unused variables.
4387 * international/fontset.el (build-default-fontset-data)
4388 (x-compose-font-name, create-fontset-from-fontset-spec):
4389 Mark ignored arguments.
4390 (fontset-plain-name): Remove unused variables.
4391 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4392 (keyboard-coding-system): Mark ignored arguments.
4393 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4394 * help.el (resize-temp-buffer-window):
4395 * window.el (display-buffer-in-major-side-window)
4396 (display-buffer-in-side-window, display-buffer-in-previous-window):
4397 Remove unused variables.
4398 * isearch.el (isearch-forward-symbol):
4399 * version.el (emacs-bzr-version-bzr):
4400 * international/mule-cmds.el (current-language-environment):
4401 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4402 (x-handle-display):
4403 * term/pc-win.el (x-list-fonts, x-display-planes)
4404 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4405 (x-server-version, x-display-screens, x-display-mm-height)
4406 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4407 (x-selection-owner-p, x-own-selection-internal)
4408 (x-disown-selection-internal, x-get-selection-internal)
4409 (msdos-initialize-window-system):
4410 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4411 * term/x-win.el (x-handle-no-bitmap-icon):
4412 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4413 (vc-default-find-file-hook, vc-default-extra-menu):
4414 Mark ignored arguments.
4415
0ca3f70e
SM
44162013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4419 break-condition in the context of the debugged code (bug#12685).
4420
74c5d24c
CS
44212013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4422
4423 * comint.el:
4424 Do not use an overlay to highlight the last prompt. (Bug#14744)
4425 (comint-mode): Make comint-last-prompt buffer local.
4426 (comint-last-prompt): New variable.
4427 (comint-last-prompt-overlay): Remove. Superseded by
4428 comint-last-prompt.
0ca3f70e
SM
4429 (comint-snapshot-last-prompt, comint-output-filter):
4430 Use comint-last-prompt.
74c5d24c 4431
c03c02ee
JB
44322013-08-08 Juanma Barranquero <lekktu@gmail.com>
4433
a3738d20 4434 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4435 (frameset-save): Check validity of the resulting frameset.
4436
04263d23
XF
44372013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4438
4439 * ido.el (ido-record-command): Add doc string.
4440
76c5e5ab
JB
44412013-08-08 Juanma Barranquero <lekktu@gmail.com>
4442
4443 * frameset.el (frameset): Do not disable creation of the default
4444 frameset-p predicate. Doc fix.
4445 (frameset-valid-p): New function, copied from the old predicate-p.
4446 Add additional checks.
4447 (frameset-restore): Check with frameset-valid-p.
4448 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4449 (frameset-name, frameset-description, frameset-properties)
4450 (frameset-states): Add docstring.
f9dbf1cb
JB
4451 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4452 (frameset-filter-alist): Doc fixes.
76c5e5ab 4453
bd0c3c0b
JB
44542013-08-08 Juanma Barranquero <lekktu@gmail.com>
4455
4456 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4457
c735544c
SM
44582013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4461 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4462 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4463 (byte-compile-normal-call): Remove obsolescence check.
4464
2805a651
JB
44652013-08-08 Juanma Barranquero <lekktu@gmail.com>
4466
3677ffeb
JB
4467 * frameset.el (frameset-restore): Doc fix.
4468
2805a651
JB
4469 * register.el (frameset-frame-id, frameset-frame-with-id)
4470 (frameset-p, frameset-restore, frameset-save): Declare.
4471 (register-alist): Document framesets.
4472 (frameset-session-filter-alist): Declare.
4473 (frameset-to-register): New function.
4474 (jump-to-register): Implement jumping to framesets. Doc fix.
4475 (describe-register-1): Describe framesets.
4476
4477 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4478
a912c016
JB
44792013-08-07 Juanma Barranquero <lekktu@gmail.com>
4480
4481 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4482 Use lexical-binding.
4483
4484 * frameset.el (frameset): Use type vector, not list (incompatible
4485 change). Do not declare a new constructor, use the default one.
4486 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4487 `name' and `description', respectively, and add read-only slot
4488 `timestamp'. Doc fixes.
4489 (frameset-copy, frameset-persistent-filter-alist)
4490 (frameset-filter-alist, frameset-switch-to-gui-p)
4491 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4492 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4493 (frameset-filter-iconified, frameset-keep-original-display-p):
4494 Doc fixes.
4495 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4496 Rename from frameset-filter-(save|restore)-param. All callers changed.
4497 Doc fix.
4498 (frameset-p): Adapt to change to vector and be more thorough.
4499 Change arg name to OBJECT. Doc fix.
4500 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4501 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4502 All callers changed.
4503 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4504 All callers changed.
4505 (frameset--record-minibuffer-relationships): Rename from
4506 frameset--process-minibuffer-frames. All callers changed.
4507 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4508 Use new default constructor (again). Doc fix.
4509 (frameset--find-frame-if): Rename from `frameset--find-frame.
4510 All callers changed.
4511 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4512 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4513 Doc fix.
4514 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4515 PARAMETERS and WINDOW-STATE, respectively.
4516 (frameset-restore): Add new keyword argument PREDICATE.
4517 Reset frameset--target-display to nil. Doc fix.
4518
bb41480a
SM
45192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4520
f001e98e
SM
4521 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4522 (bat-mode): Use it.
4523 (bat-mode-syntax-table): Mark \n as end-of-comment.
4524 (bat-font-lock-keywords): Remove comment rule.
4525
7679edb1
SM
4526 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4527 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4528
bb41480a
SM
4529 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4530 (byte-compile-callargs-warn): Use `push'.
4531 (byte-compile-arglist-warn): Ignore higher-order "calls".
4532 (byte-compile-file-form-autoload): Use `pcase'.
4533 (byte-compile-function-form): If quoting a symbol, check that it exists.
4534
cdc1ebb9
EZ
45352013-08-07 Eli Zaretskii <eliz@gnu.org>
4536
4537 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4538 and add a few popular commands found in batch files.
4539 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4540 (dos-mode): Doc fixes.
4541
312b1740
SM
45422013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4545 (dos-mode): Use setq-local. Add space after "rem".
4546 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4547 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4548
400a3178
AM
45492013-08-07 Arni Magnusson <arnima@hafro.is>
4550
4551 * progmodes/dos.el: New file.
4552 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4553 dos-mode.
4554
3b5c03d3
GM
45552013-08-06 Glenn Morris <rgm@gnu.org>
4556
4557 * calendar/calendar.el: Add new faces, and day-header-array.
4558 (calendar-weekday-header, calendar-weekend-header)
4559 (calendar-month-header): New faces.
4560 (calendar-day-header-construct): New function.
4561 (calendar-day-header-width): Also :set calendar-day-header-array.
4562 (calendar-american-month-header, calendar-european-month-header)
4563 (calendar-iso-month-header): Use calendar- faces.
4564 (calendar-generate-month):
4565 Use calendar-day-header-array for day headers; apply faces to them.
4566 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4567 (calendar-abbrev-construct): Add optional maxlen argument.
4568 (calendar-day-name-array): Doc fix.
4569 (calendar-day-name-array, calendar-abbrev-length)
4570 (calendar-day-abbrev-array):
4571 Also :set calendar-day-header-array, and maybe redraw.
4572 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4573 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4574 (calendar-day-name): Add option to use header array.
4575
ec6a2d7a
LMI
45762013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577
4578 * net/shr.el (shr-render-td): Remove debugging.
4579 (shr-render-td): Make width computation consistent by defaulting
4580 all zero-width columns to 10 characters. This may not be optimal,
4581 but it's at least consistent.
2122cb6d
LMI
4582 (shr-make-table-1): Redo last change to fix the real problem in
4583 colspan handling.
ec6a2d7a 4584
ed4fd9c5
DA
45852013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4586
0ca3f70e
SM
4587 * files.el (cache-long-line-scans):
4588 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4589
64e22afe
JB
45902013-08-06 Juanma Barranquero <lekktu@gmail.com>
4591
024b38fc
JB
4592 * frameset.el (frameset, frameset-filter-alist)
4593 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4594 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4595 (frameset-compute-pos): Rename from frameset--compute-pos,
4596 and add docstring.
4597 (frameset-move-onscreen): Use frameset-compute-pos.
4598 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4599
64e22afe
JB
4600 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4601 Fix typos in docstrings.
4602
c8c2aca8
DA
46032013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4604
4605 * frame.el (get-other-frame): Tiny cleanup.
4606
1d237bba
JB
46072013-08-06 Juanma Barranquero <lekktu@gmail.com>
4608
8951efef
JB
4609 * vc/vc.el (vc-default-ignore-completion-table):
4610 Silence byte-compiler warning.
4611
307764cc
JB
4612 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4613 slot , which can indeed be nil.
4614 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4615 Move entry for `left' from persistent to live filter alist.
4616 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4617 Doc fixes.
4618 (frameset-filter-params): When restoring a frame, copy items added to
4619 `filtered', to avoid unwittingly modifying the original parameters.
4620 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4621 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4622
1d237bba
JB
4623 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4624 to use looking-at-p instead of looking-at. (Bug#15028)
4625
dc6c0eda
SM
46262013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 Revert introduction of isearch-filter-predicates (bug#14714).
4629 Rely on add-function instead.
4630 * isearch.el (isearch-filter-predicates): Rename it back to
4631 isearch-filter-predicate.
4632 (isearch-message-prefix): Use advice-function-mapc and advice
4633 properties to get the isearch-message-prefix.
4634 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4635 instead of run-hook-with-args-until-failure.
4636 (isearch-filter-visible): Not obsolete any more.
4637 * loadup.el: Preload nadvice.
4638 * replace.el (perform-replace): Revert to funcall
4639 instead of run-hook-with-args-until-failure.
4640 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4641 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4642 dired-isearch-filenames-toggle; make it into a proper minor mode.
4643 Use add/remove-function.
4644 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4645 Call the minor-mode rather than add/remove-hook.
4646 (dired-isearch-filter-filenames):
4647 Remove isearch-message-prefix property.
4648 * info.el (Info--search-loop): New function, extracted from Info-search.
4649 Funcall isearch-filter-predicate instead of
4650 run-hook-with-args-until-failure isearch-filter-predicates.
4651 (Info-search): Use it.
4652 (Info-mode): Use isearch-filter-predicate instead of
4653 isearch-filter-predicates.
4654
290d5b58
DA
46552013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4656
4657 Do not call to `selected-window' where it is assumed by default.
4658 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4659 `window-hscroll', `window-width', `window-height', `window-buffer',
4660 `window-frame', `window-start', `window-point', `next-window'
4661 and `window-display-table'.
4662 * abbrev.el (abbrev--default-expand):
4663 * bs.el (bs--show-with-configuration):
4664 * buff-menu.el (Buffer-menu-mouse-select):
4665 * calc/calc.el (calc):
4666 * calendar/calendar.el (calendar-generate-window):
4667 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4668 (diary-make-entry):
4669 * comint.el (send-invisible, comint-dynamic-complete-filename)
4670 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4671 * completion.el (complete):
4672 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4673 * disp-table.el (describe-current-display-table):
4674 * doc-view.el (doc-view-insert-image):
4675 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4676 * ehelp.el (with-electric-help):
4677 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4678 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4679 * emacs-lisp/helper.el (Helper-help-scroller):
4680 * emulation/cua-base.el (cua--post-command-handler-1):
4681 * eshell/esh-mode.el (eshell-output-filter):
4682 * ffap.el (ffap-gnus-wrapper):
4683 * help-macro.el (make-help-screen):
4684 * hilit-chg.el (highlight-compare-buffers):
4685 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4686 * hl-line.el (global-hl-line-highlight):
4687 * icomplete.el (icomplete-simple-completing-p):
4688 * isearch.el (isearch-done):
4689 * jit-lock.el (jit-lock-stealth-fontify):
4690 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4691 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4692 * mpc.el (mpc-tagbrowser, mpc):
4693 * net/rcirc.el (rcirc-any-buffer):
4694 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4695 * play/landmark.el (landmark-max-width, landmark-max-height):
4696 * play/zone.el (zone):
4697 * progmodes/compile.el (compilation-goto-locus):
4698 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4699 * progmodes/etags.el (find-tag-other-window):
4700 * progmodes/fortran.el (fortran-column-ruler):
4701 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4702 * progmodes/verilog-mode.el (verilog-point-text):
4703 * reposition.el (reposition-window):
4704 * rot13.el (toggle-rot13-mode):
4705 * server.el (server-switch-buffer):
4706 * shell.el (shell-dynamic-complete-command)
4707 (shell-dynamic-complete-environment-variable):
4708 * simple.el (insert-buffer, set-selective-display)
4709 (delete-completion-window):
4710 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4711 (speedbar-recenter):
4712 * startup.el (fancy-splash-head):
4713 * textmodes/ispell.el (ispell-command-loop):
4714 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4715 * tutorial.el (help-with-tutorial):
4716 * vc/add-log.el (add-change-log-entry):
4717 * vc/compare-w.el (compare-windows):
4718 * vc/ediff-help.el (ediff-indent-help-message):
4719 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4720 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4721 (ediff-setup-control-frame):
4722 * vc/emerge.el (emerge-position-region):
4723 * vc/pcvs-util.el (cvs-bury-buffer):
4724 * window.el (walk-windows, mouse-autoselect-window-select):
4725 * winner.el (winner-set-conf, winner-undo): Related users changed.
4726
38276e01
JB
47272013-08-05 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * frameset.el (frameset--set-id): Doc fix.
4730 (frameset-frame-id, frameset-frame-id-equal-p)
4731 (frameset-locate-frame-id): New functions.
4732 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4733 (frameset-restore): Use them.
4734
12b4c0ea
DA
47352013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4736
4737 Do not call to `selected-frame' where it is assumed by default.
4738 Affected functions are `raise-frame', `redraw-frame',
4739 `frame-first-window', `frame-terminal' and `delete-frame'.
4740 * calendar/appt.el (appt-disp-window):
4741 * epg.el (epg-wait-for-completion):
4742 * follow.el (follow-delete-other-windows-and-split)
4743 (follow-avoid-tail-recenter):
4744 * international/mule.el (set-terminal-coding-system):
4745 * mail/rmail.el (rmail-mail-return):
4746 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4747 * progmodes/f90.el (f90-add-imenu-menu):
4748 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4749 * server.el (server-switch-buffer):
4750 * simple.el (delete-completion-window):
4751 * talk.el (talk):
4752 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4753 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4754 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4755 * vc/ediff.el (ediff-documentation): Related users changed.
4756 * frame.el (selected-terminal): Remove the leftover.
4757
17f25e76
GM
47582013-08-05 Glenn Morris <rgm@gnu.org>
4759
4760 * calendar/calendar.el (calendar-generate-month):
4761 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4762 (calendar-generate-month, calendar-font-lock-keywords):
4763 Fix for calendar-day-header-width > length of any day name.
17f25e76 4764
063233c3
JB
47652013-08-05 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * desktop.el (desktop-clear): Use new name of sort predicate.
4768
4769 * frameset.el (frameset): Add docstring. Move :version property to its
4770 own `version' slot.
4771 (frameset-copy): Rename from copy-frameset.
4772 (frameset-p): Check more thoroughly.
4773 (frameset-prop): Do not check for :version, which is no longer a prop.
4774 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4775 Use new :never value instead of t.
4776 (frameset-filter-alist): Expand and clarify docstring.
4777 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4778 (frameset-filter-minibuffer, frameset-filter-save-param)
4779 (frameset-filter-restore-param, frameset-filter-iconified):
4780 Add pointer to docstring of frameset-filter-alist.
4781 (frameset-filter-params): Rename filter values to be more meaningful:
4782 :never instead of t, and reverse the meanings of :save and :restore.
4783 (frameset--process-minibuffer-frames): Clarify error message.
4784 (frameset-save): Avoid unnecessary and confusing call to framep.
4785 Use new BOA constructor for framesets.
4786 (frameset--reuse-list): Doc fix.
4787 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4788 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4789 (frameset-minibufferless-first-p): Doc fix.
4790 Rename from frameset-sort-frames-for-deletion.
4791 (frameset-restore): Doc fixes. Use new function names.
4792 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4793
d5671a82
JB
47942013-08-04 Juanma Barranquero <lekktu@gmail.com>
4795
4796 * desktop.el (desktop-restore-forces-onscreen)
4797 (desktop-restore-reuses-frames): Document :keyword constant values.
4798 (desktop-filter-parameters-alist): Remove, now identical to
4799 frameset-filter-alist.
4800 (desktop--filter-tty*): Remove, moved to frameset.el.
4801 (desktop-save-frameset, desktop-restore-frameset):
4802 Do not pass :filters argument.
4803
4804 * frameset.el (frameset-live-filter-alist)
4805 (frameset-persistent-filter-alist): New variables.
4806 (frameset-filter-alist): Use them. Add autoload cookie.
4807 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4808 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4809 `frameset--id' (it's supposed to be internal to frameset.el).
4810 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4811 (frameset--initial-params): New function.
4812 (frameset--get-frame): Use it. Doc fix.
4813 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4814 Accept :all, not 'all.
4815 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4816 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4817 with fbound symbols. Fix frame id matching, and remove matching ids if
4818 the frame being restored is deleted. Obey :delete.
4819
671d5c16
SM
48202013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * subr.el (macrop): New function.
4823 (text-clone--maintaining): New var.
4824 (text-clone--maintain): Rename from text-clone-maintain. Use it
4825 instead of inhibit-modification-hooks.
4826
4827 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4828 a proxy, so as handle autoloads and redefinitions of the target.
4829 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4830
4831 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4832 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4833 (pcase--mutually-exclusive-p): New function.
4834 (pcase--split-consp): Use it.
4835 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4836 mutually exclusive with the current predicate.
4837
4838 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4839 (edebug-macrop): Remove. Use `macrop' instead.
4840 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4841 (ad-macro-p):
4842 * eshell/esh-cmd.el (eshell-macrop):
4843 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4844
1d44e9dc
SM
48452013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4848 (advice-mapc): New function, using it.
4849 (advice-function-member-p): New function.
4850 (advice--normalize): Store the cdr in advice--saved-rewrite since
4851 that's the part that will be changed.
4852 (advice--symbol-function): New function.
4853 (advice-remove): Handle removal before the function is defined.
4854 Adjust to new advice--saved-rewrite.
4855 (advice-member-p): Use advice-function-member-p and
4856 advice--symbol-function.
4857
5414a283
JB
48582013-08-04 Juanma Barranquero <lekktu@gmail.com>
4859
51d30f2c
JB
4860 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4861 (frameset-filter-minibuffer): Doc fix.
4862 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4863 (frameset--set-id, frameset--process-minibuffer-frames)
4864 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4865 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4866
5414a283
JB
4867 * desktop.el (desktop-clear): Only delete frames when called
4868 interactively and desktop-restore-frames is non-nil. Doc fix.
4869 (desktop-read): Set desktop-saved-frameset to nil.
4870
ab419665
XF
48712013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4872
4873 * vc/vc.el (vc-ignore): Rewrite.
4874 (vc-default-ignore-completion-table):
4875 (vc--read-lines):
4876 (vc--add-line, vc--remove-regexp): New functions.
4877
4878 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4879 (vc-svn-ignore-completion-table): New function.
4880
4881 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4882 (vc-hg-ignore-completion-table):
4883 (vc-hg-find-ignore-file): New functions.
4884
4885 * vc/vc-git.el (vc-git-ignore): Rewrite.
4886 (vc-git-ignore-completion-table):
4887 (vc-git-find-ignore-file): New functions.
4888
4889 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4890
4891 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4892 (vc-bzr-ignore-completion-table):
4893 (vc-bzr-find-ignore-file): New functions.
4894
2613dea2
JB
48952013-08-03 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * frameset.el (frameset-prop): New function and setter.
4898 (frameset-save): Do not modify frame list passed by the caller.
4899
9c959872
SM
49002013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4903
a104f656
SM
49042013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4905
70122acf
SM
4906 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4907 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4908
a104f656
SM
4909 * custom.el (custom-initialize-default, custom-initialize-set)
4910 (custom-initialize-reset, custom-initialize-changed): Affect the
4911 toplevel-default-value (bug#6275, bug#14586).
4912 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4913 for bug#6275.
4914
f078d570
JB
49152013-08-02 Juanma Barranquero <lekktu@gmail.com>
4916
185e3b5a
JB
4917 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4918 Add cl-def* expressions.
4919
f078d570
JB
4920 * frameset.el (frameset-filter-params): Fix order of arguments.
4921
9421876d
JB
49222013-08-02 Juanma Barranquero <lekktu@gmail.com>
4923
4924 Move code related to saving frames to frameset.el.
4925 * desktop.el: Require frameset.
4926 (desktop-restore-frames): Doc fix.
4927 (desktop-restore-reuses-frames): Rename from
4928 desktop-restoring-reuses-frames.
4929 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4930 (desktop-clear): Clear frames too.
4931 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4932 (desktop--filter-tty*, desktop-save, desktop-read):
4933 Use frameset functions.
4934 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4935 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4936 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4937 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4938 (desktop--process-minibuffer-frames, desktop-save-frames)
4939 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4940 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4941 (desktop--sort-states, desktop-restoring-frames-p)
4942 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4943 (desktop-restoring-frameset-p, desktop-restore-frameset)
4944 (desktop--check-dont-save, desktop-save-frameset): New functions.
4945 (desktop--app-id): New constant.
4946 (desktop-first-buffer, desktop-buffer-ok-count)
4947 (desktop-buffer-fail-count): Move before first use.
4948 * frameset.el: New file.
4949
76dc5996
SM
49502013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * files.el: Use lexical-binding.
4953 (dir-locals-read-from-file): Remove unused `err' variable.
4954 (hack-dir-local-variables--warned-coding): New var.
4955 (hack-dir-local-variables): Use it to avoid repeated warnings.
4956 (make-backup-file-name--default-function): New function.
4957 (make-backup-file-name-function): Use it as default.
4958 (buffer-stale--default-function): New function.
4959 (buffer-stale-function): Use it as default.
4960 (revert-buffer-insert-file-contents--default-function): New function.
4961 (revert-buffer-insert-file-contents-function): Use it as default.
4962 (insert-directory): Avoid add-to-list.
4963
4964 * autorevert.el (auto-revert-handler): Simplify.
4965 Use buffer-stale--default-function.
4966
06d36e2b
TH
49672013-08-01 Tassilo Horn <tsdh@gnu.org>
4968
5f648ab4
TH
4969 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4970
06d36e2b
TH
4971 * whitespace.el (whitespace-ensure-local-variables): New function.
4972 (whitespace-cleanup-region): Call it.
4973 (whitespace-turn-on): Call it.
4974
a43dc424
MA
49752013-08-01 Michael Albinus <michael.albinus@gmx.de>
4976
4977 Complete file name handlers.
4978
4979 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4980 (tramp-handle-verify-visited-file-modtime)
4981 (tramp-handle-file-notify-rm-watch): New functions.
4982 (tramp-call-process): Do not bind `default-directory'.
4983
44e18199
JB
4984 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4985 Order alphabetically.
a43dc424
MA
4986 [access-file, add-name-to-file, dired-call-process]:
4987 [dired-compress-file, file-acl, file-notify-rm-watch]:
4988 [file-ownership-preserved-p, file-selinux-context]:
4989 [make-directory-internal, make-symbolic-link, set-file-acl]:
4990 [set-file-selinux-context, set-visited-file-modtime]:
4991 [verify-visited-file-modtime]: Add handler.
4992 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4993
4994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4995 [file-notify-add-watch, file-notify-rm-watch]:
4996 [set-file-times, set-visited-file-modtime]:
4997 [verify-visited-file-modtime]: Add handler.
4998 (with-tramp-gvfs-error-message)
4999 (tramp-gvfs-handle-set-visited-file-modtime)
5000 (tramp-gvfs-fuse-file-name): Remove.
5001 (tramp-gvfs-handle-file-notify-add-watch)
5002 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5003 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5004
44e18199
JB
5005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5006 Order alphabetically.
a43dc424
MA
5007 [file-notify-rm-watch ]: Use default Tramp handler.
5008 [executable-find]: Remove private handler.
5009 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5010 `default-directory'.
5011 (tramp-sh-handle-executable-find)
5012 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5013 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5014 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5015 Do not use `format' in `tramp-message'.
5016
5017 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5018 [file-notify-rm-watch, set-visited-file-modtime]:
5019 [verify-visited-file-modtime]: Add handler.
5020 (tramp-smb-call-winexe): Do not bind `default-directory'.
5021
7188b515
XF
50222013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5023
5024 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5025
2412ee1a
DG
50262013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5027
5028 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5029 use it.
5030 (log-view-diff-changeset): Same.
5031 (log-view-diff-common): Call backend command `previous-revision'
5032 to find out the previous revision, in both cases. Swap the
5033 variables `to' and `fr', so that `fr' usually refers to the
5034 earlier revision (Bug#14989).
5035
5002a754
KRC
50362013-07-31 Kan-Ru Chen <kanru@kanru.info>
5037
5038 * ibuf-ext.el (ibuffer-filter-by-filename):
5039 Make it work with dired buffers too.
5040
44e18199 50412013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5042
5043 * emacs-lisp/re-builder.el (reb-color-display-p):
5044 * files.el (save-buffers-kill-terminal):
5045 * net/browse-url.el (browse-url):
5046 * server.el (server-save-buffers-kill-terminal):
5047 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5048 Prefer nil to selected-frame for the first arg of frame-parameter.
5049
aeca3fbb
XF
50502013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5051
5052 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5053
158bc55c
SB
50542013-07-30 Stephen Berman <stephen.berman@gmx.net>
5055
5056 * minibuffer.el (completion--twq-all): Try and preserve each
5057 completion's case choice (bug#14907).
5058
d50fceab
LMI
50592013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5060
ac38e731
LMI
5061 * net/network-stream.el (open-network-stream): Mention the new
5062 :nogreeting parameter.
5063 (network-stream-open-starttls): Use the :nogreeting parameter
5064 (bug#14938).
5065
1211de50
LMI
5066 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5067
997798bf
LMI
5068 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5069 more natural than popping.
5070
d50fceab 5071 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5072 (shr-urlify): Highlight under mouse.
d50fceab 5073
5c09de04
XF
50742013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5075
207d1d04
XF
5076 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5077
5078 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5079
5c09de04
XF
5080 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5081 buffer for output.
5082
3cd51eaa
XF
5083 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5084 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5085
44e18199 5086 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5087 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5088
5089 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5090
5091 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5092 buffer for output.
5093
35a89bdd
EZ
50942013-07-29 Eli Zaretskii <eliz@gnu.org>
5095
5096 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5097 initial frame is minibuffer-less. (Bug#14841)
5098
78822e94
MA
50992013-07-29 Michael Albinus <michael.albinus@gmx.de>
5100
5101 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5102 option.
5103
5104 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5105 (tramp-maybe-open-connection): Use it.
5106
9503c190
JB
51072013-07-28 Juanma Barranquero <lekktu@gmail.com>
5108
5109 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5110 minimal set of parameters passed when creating a frame, because
5111 the minibuffer status of a frame cannot be changed later.
5112
d5a845b4
SB
51132013-07-28 Stephen Berman <stephen.berman@gmx.net>
5114
5115 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5116 replace-regexp-in-string and inadvertent omissions in previous change.
5117 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5118 name of filtered items buffer.
d5a845b4 5119
ddeffb17
JB
51202013-07-28 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * desktop.el: Optionally force offscreen frames back onscreen.
5123 (desktop-restoring-reuses-frames): New option.
5124 (desktop--compute-pos, desktop--move-onscreen): New functions.
5125 (desktop--make-frame): Use desktop--move-onscreen.
5126
f5950f7a
AM
51272013-07-27 Alan Mackenzie <acm@muc.de>
5128
5129 Fontify a Java generic method as a function.
5130 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5131 value to t.
5132
ae43b66a
SB
51332013-07-27 Stephen Berman <stephen.berman@gmx.net>
5134
5135 * calendar/todo-mode.el: Add command to rename todo files.
5136 (todo-rename-file): New command.
5137 (todo-key-bindings-t): Add key binding for it. Change the
5138 bindings of todo-filter-regexp-items(-multifile) to use `x'
5139 instead of `r', since the latter is better suited to the new
5140 renaming command.
5141
5ab78d3d
AM
51422013-07-27 Alan Mackenzie <acm@muc.de>
5143
5144 Make Java try-with-resources statement parse properly.
5145 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5146 (c-block-stmt-1-2-key): New language constants/variables.
5147 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5148 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5149 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5150 with c-block-stmt-1-2-key.
5ab78d3d 5151
d85c4d50
JB
51522013-07-27 Juanma Barranquero <lekktu@gmail.com>
5153
5154 * desktop.el (desktop--make-frame): Apply most frame parameters after
5155 creating the frame to force (partially or totally) offscreen frames to
5156 be restored as such.
5157
e4c467f9
XF
51582013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5159
5160 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5161 (Bug#14948)
e4c467f9 5162
7ced0d04
SM
51632013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5166 `base' arg of backtrace-frame.
5167
fec92060
EZ
51682013-07-26 Eli Zaretskii <eliz@gnu.org>
5169
5170 * simple.el (list-processes): Doc fix.
5171
d58d31fb
JB
51722013-07-26 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * desktop.el (desktop--select-frame):
d85c4d50 5175 Try harder to reuse existing frames.
d58d31fb 5176
53ff3e77
SM
51772013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5180 (edebug-eval): Use backtrace-eval.
5181 (edebug--display, edebug--recursive-edit): Don't let-bind the
5182 edebug-outer-* vars that keep track of variables we locally let-bind.
5183 (edebug-outside-excursion): Don't restore outside values of locally
5184 let-bound vars.
5185 (edebug--display): Use user-error.
5186 (cl-lexical-debug, cl-debug-env): Remove.
5187
045f7a53
JB
51882013-07-26 Juanma Barranquero <lekktu@gmail.com>
5189
5190 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5191 are restored to be sure that they are visible before deleting any
5192 remaining ones.
5193
59070b32
MM
51942013-07-26 Matthias Meulien <orontee@gmail.com>
5195
742a3501
XF
5196 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5197 vc-print-root-log. (Bug#14948)
59070b32 5198
b1fb3596
RS
51992013-07-26 Richard Stallman <rms@gnu.org>
5200
5201 Add aliases for encrypting mail.
5202 * epa.el (epa-mail-aliases): New option.
5203 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5204 Bind inhibit-read-only so read-only text doesn't ruin everything.
5205 (epa-mail-default-recipients): New subroutine broken out.
5206 Handle epa-mail-aliases.
5207
56ea7291
SM
52082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 Add support for lexical variables to the debugger's `e' command.
5211 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5212 vars, except for debugger-outer-match-data.
5213 (debugger-frame-number): Move check for "on a function call" from
5214 callers into it. Add `skip-base' argument.
5215 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5216 (debugger-env-macro): Only reset the state stored in non-variables,
5217 i.e. current-buffer and match-data.
5218 (debugger-eval-expression): Rewrite using backtrace-eval.
5219 * subr.el (internal--called-interactively-p--get-frame): Remove.
5220 (called-interactively-p):
5221 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5222 `base' arg of backtrace-frame instead.
5223
15ac32d5
GM
52242013-07-26 Glenn Morris <rgm@gnu.org>
5225
8358a09d
GM
5226 * align.el (align-regexp): Doc fix. (Bug#14857)
5227 (align-region): Explicit error if subexpression missing/does not match.
5228
15ac32d5
GM
5229 * simple.el (global-visual-line-mode):
5230 Do not duplicate the mode lighter. (Bug#14858)
5231
f47ad11b
MR
52322013-07-25 Martin Rudalics <rudalics@gmx.at>
5233
5234 * window.el (display-buffer): In display-buffer bind
5235 split-window-keep-point to t, bug#14829.
5236
02530987
JB
52372013-07-25 Juanma Barranquero <lekktu@gmail.com>
5238
5239 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5240 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5241 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5242 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5243 Change accordingly.
f63ebeb5
JB
5244 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5245 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5246
6ccb9cab 52472013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5248
6ccb9cab 5249 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5250
cb3a56d2
JB
52512013-07-25 Juanma Barranquero <lekktu@gmail.com>
5252
5253 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5254 parameter to modify-frame-parameters if the value has not changed;
5255 this is a workaround for bug#14949.
5256 (desktop--make-frame): On cl-delete-if call, check parameter name,
5257 not full parameter.
5258
7aa7fff0
XF
52592013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5260
5261 * vc/vc.el (vc-ignore): New function.
5262
5263 * vc/vc-svn.el (vc-svn-ignore): New function.
5264
5265 * vc/vc-hg.el (vc-hg-ignore): New function.
5266
5267 * vc/vc-git.el (vc-git-ignore): New function.
5268
5269 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5270 (vc-dir-ignore): New function.
5271
5272 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5273 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5274
5275 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5276
5277 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5278
889acc5c
JB
52792013-07-24 Juanma Barranquero <lekktu@gmail.com>
5280
5281 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5282 (desktop-restore-frames): Warn when deleting an existing frame failed.
5283
86c40970
GM
52842013-07-24 Glenn Morris <rgm@gnu.org>
5285
5286 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5287
d5d3c58a
MA
52882013-07-24 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * filenotify.el (file-notify-supported-p):
5291 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5292 Remove functions.
5293
5294 * autorevert.el (auto-revert-use-notify):
5295 (auto-revert-notify-add-watch):
5296 * net/tramp.el (tramp-file-name-for-operation):
5297 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5298 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5299 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5300 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5301 Remove `file-notify-supported-p' entry.
5302
d100084b
GM
53032013-07-24 Glenn Morris <rgm@gnu.org>
5304
5305 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5306 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5307
ac93e56b
SM
53082013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5309
249eea30
SM
5310 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5311 checked with memq (bug#14935).
5312
ac93e56b
SM
5313 * files.el (revert-buffer-function): Use a non-nil default.
5314 (revert-buffer-preserve-modes): Declare var to
5315 provide access to the `preserve-modes' argument.
5316 (revert-buffer): Let-bind it.
5317 (revert-buffer--default): New function, extracted from revert-buffer.
5318
2cdeb903
SM
53192013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 * lpr.el: Signal print errors more prominently.
5322 (print-region-function): Don't default to nil.
5323 (lpr-print-region): New function, extracted from print-region-1.
5324 Check lpr's return value and signal an error in case of problem.
5325 (print-region-1): Use it.
5326 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5327 versions instead.
5328 (ps-printer-name): Default to nil.
5329 (ps-printer-name-option): Default to lpr-printer-switch.
5330 (ps-print-region-function): Don't default to nil.
5331 (ps-postscript-code-directory): Simplify default.
5332 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5333 (ps-string-list, ps-eval-switch, ps-flatten-list)
5334 (ps-flatten-list-1): Remove.
5335 (ps-multibyte-buffer): Avoid setq.
5336 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5337 (print-region-function, ps-print-region-function): Don't set them here.
5338
73600831
XF
53392013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5340
0e55c076
XF
5341 * ido.el (ido-fractionp):
5342 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5343 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5344 (ido-max-directory-size, ido-max-dir-file-cache)
5345 (ido-decorations): Doc fix.
5346
73600831
XF
5347 * ansi-color.el: Fix old URL.
5348
3d012865
MM
53492013-07-23 Michael R. Mauger <michael@mauger.com>
5350
e903c210 5351 * progmodes/sql.el: Version 3.3
3d012865
MM
5352 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5353 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5354 (sql-interactive-remove-continuation-prompt): Rewrite, use
5355 functions above. Fix continuation prompt and complete output line
5356 handling.
5357 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5358 redirected output buffer.
5359 (sql-mode): Restore deleted code (Bug#13591).
5360
da77a2e2
JB
53612013-07-23 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5364
80ff0c71
MA
53652013-07-23 Michael Albinus <michael.albinus@gmx.de>
5366
5367 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5368
5369 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5370 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5371 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5372
b61d71e4
JB
53732013-07-23 Juanma Barranquero <lekktu@gmail.com>
5374
5375 * desktop.el (desktop-clear): Simplify; remove useless checks
5376 against invalid buffer names.
5377 (desktop-list*): Use cl-list*.
5378 (desktop-buffer-info, desktop-create-buffer): Simplify.
5379
c3512092
LL
53802013-07-23 Leo Liu <sdl.web@gmail.com>
5381
5382 * bookmark.el (bookmark-make-record): Restore NAME as a default
5383 value. (Bug#14933)
5384
0ac26976
SM
53852013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5386
7d22ce18
SM
5387 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5388 extracted from autoload--insert-text.
5389 (autoload--insert-text): Remove.
5390 (autoload--print-cookie-text): New function, extracted from
5391 autoload--insert-cookie-text.
5392 (autoload--insert-cookie-text): Remove.
5393 (autoload-generate-file-autoloads): Adjust calls accordingly.
5394
9b2607e8
SM
5395 * winner.el (winner-hook-installed-p): Remove.
5396 (winner-mode): Simplify accordingly.
5397
c43a8618
SM
5398 * subr.el (add-to-list): Fix compiler-macro when `append' is
5399 not constant. Don't use `cl-member' for the base case.
5400
0ac26976
SM
5401 * progmodes/subword.el: Fix boundary case (bug#13758).
5402 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5403 own group.
5404 (subword-backward-regexp): Make it a constant.
5405 (subword-forward-internal): Don't treat a trailing capital as the
5406 beginning of a word.
5407
6874724a
AR
54082013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5409
5410 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5411 global value of tabulated-list-revert-hook (bug#14930).
5412
70f1b5e8
JB
54132013-07-22 Juanma Barranquero <lekktu@gmail.com>
5414
a1c80d9d
JB
5415 * desktop.el: Require 'cl-lib.
5416 (desktop-before-saving-frames-functions): New hook.
5417 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5418 for frames being saved. Rename from desktop--save-minibuffer-frames.
5419 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5420 Do not save frames with non-nil `desktop-dont-save' parameter.
5421 Filter out deleted frames.
a1c80d9d
JB
5422 (desktop--find-frame): Use cl-find-if.
5423 (desktop--select-frame): Use cl-(first|second|third) to access values
5424 of desktop-mini.
5425 (desktop--make-frame): Use cl-delete-if.
5426 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5427 (desktop-restore-frames): Use cl-(first|second|third) to access values
5428 of desktop-mini. Look for visible frame at the end, not while
5429 restoring frames.
5430
70f1b5e8
JB
5431 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5432 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5433 Use string-match-p, looking-at-p (bug#14927).
5434
728dc3cc
JB
54352013-07-21 Juanma Barranquero <lekktu@gmail.com>
5436
56bc453c
JB
5437 * desktop.el (desktop-saved-frame-states):
5438 Rename from desktop--saved-states; all users changed.
5439 (desktop-save-frames): Rename from desktop--save-frames.
5440 Do not save state to desktop file.
5441 (desktop-save): Save desktop-saved-frame-states to desktop file
5442 and reset to nil.
5443 (desktop-restoring-frames-p): New function.
5444 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5445 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5446 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5447
728dc3cc
JB
5448 * desktop.el: Correctly restore iconified frames.
5449 (desktop--filter-iconified-position): New function.
5450 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5451
862f1c9c
GM
54522013-07-20 Glenn Morris <rgm@gnu.org>
5453
c4074c9f
GM
5454 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5455 Let `message' do the formatting.
5456 (def-gdb-preempt-display-buffer): Add explicit format.
5457
d828e5f9
GM
5458 * image-dired.el (image-dired-track-original-file):
5459 Use with-current-buffer.
5460 (image-dired-track-thumbnail): Use with-current-buffer.
5461 Avoid changing point of wrong window.
5462
862f1c9c
GM
5463 * image-dired.el (image-dired-track-original-file):
5464 Avoid changing point of wrong window. (Bug#14909)
5465
f0398ec1 54662013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5467
5468 * progmodes/gdb-mi.el (gdb-done-or-error):
5469 Guard against "%" in gdb output. (Bug#14127)
5470
1451928f
AS
54712013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5472
763a086d
JB
5473 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5474 (Bug#14826)
f7a03897 5475
1451928f
AS
5476 * international/mule.el (coding-system-iso-2022-flags): Fix last
5477 change.
5478
99107004
KH
54792013-07-20 Kenichi Handa <handa@gnu.org>
5480
763a086d
JB
5481 * international/mule.el (coding-system-iso-2022-flags):
5482 Add `8-bit-level-4'. (Bug#8522)
99107004 5483
48494e06
LMI
54842013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5485
8ba8eec5
LMI
5486 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5487 (bug#14815).
5488
dfbc66e3
LMI
5489 * net/eww.el (eww-process-text-input): Allow inputting when the
5490 point is at the start of the line, as the properties aren't
5491 front-sticky.
5492
48494e06
LMI
5493 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5494 degenerate widths.
5495
77c92cb9
RS
54962013-07-19 Richard Stallman <rms@gnu.org>
5497
aec7da77
RS
5498 * epa.el (epa-popup-info-window): Doc fix.
5499
77c92cb9
RS
5500 * subr.el (split-string): New arg TRIM.
5501
945c5bb1
JB
55022013-07-18 Juanma Barranquero <lekktu@gmail.com>
5503
5504 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5505 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5506
e06ec67f
MA
55072013-07-18 Michael Albinus <michael.albinus@gmx.de>
5508
c7064f05 5509 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5510 `file-notify-support'. Do not autoload. Adapt all uses.
5511 (file-notify-supported-p): New defun.
5512
c7064f05
JB
5513 * autorevert.el (auto-revert-use-notify):
5514 Use `file-notify-supported-p' instead of `file-notify-support'.
5515 Adapt docstring.
e06ec67f
MA
5516 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5517
5518 * net/tramp.el (tramp-file-name-for-operation):
5519 Add `file-notify-supported-p'.
5520
5521 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5522 New defun.
5523 (tramp-sh-file-name-handler-alist): Add it as handler for
5524 `file-notify-supported-p '.
5525
5526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5527 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5528 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5529 Add `ignore' as handler for `file-notify-*' functions.
5530
5dc8a629
EZ
55312013-07-17 Eli Zaretskii <eliz@gnu.org>
5532
5533 * simple.el (line-move-partial, line-move): Don't start vscroll or
5534 scroll-up if the current line is not taller than the window.
5535 (Bug#14881)
5536
77aea2fb
DG
55372013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5538
5539 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5540 highlight question marks in the method names as strings.
ac72c08d
DG
5541 (ruby-block-beg-keywords): Inline.
5542 (ruby-font-lock-keyword-beg-re): Extract from
5543 `ruby-font-lock-keywords'.
77aea2fb 5544
18c26d81
JD
55452013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5546
5547 * frame.el (blink-cursor-blinks): New defcustom.
5548 (blink-cursor-blinks-done): New defvar.
5549 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5550 (blink-cursor-timer-function): Check if number of blinks has been
5551 done on X and NS.
5552 (blink-cursor-suspend, blink-cursor-check): New defuns.
5553
da48522e
GM
55542013-07-15 Glenn Morris <rgm@gnu.org>
5555
5556 * edmacro.el (edmacro-format-keys): Fix previous change.
5557
0463c1ef
PE
55582013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5559
5560 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5561 The hack didn't work outside English locales anyway.
5562
b43f6451
JB
55632013-07-15 Juanma Barranquero <lekktu@gmail.com>
5564
5565 * simple.el (define-alternatives): Rename from alternatives-define,
5566 per RMS' suggestion.
5567
b958c0ad
JB
55682013-07-14 Juanma Barranquero <lekktu@gmail.com>
5569
5570 * desktop.el (desktop-restore-frames): Change default to t.
5571 (desktop-restore-in-current-display): Now offer more options.
5572 (desktop-restoring-reuses-frames): New customization option.
5573 (desktop--saved-states): Doc fix.
5574 (desktop-filter-parameters-alist): New variable, renamed and expanded
5575 from desktop--excluded-frame-parameters.
5576 (desktop--target-display): New variable.
5577 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5578 (desktop--filter-tty*, desktop--filter-*-color)
5579 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5580 (desktop--filter-save-desktop-parm)
5581 (desktop-restore-in-original-display-p): New functions.
5582 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5583 (desktop--save-minibuffer-frames): New function, inspired by a similar
5584 function from Martin Rudalics.
5585 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5586 (desktop--restore-in-this-display-p): Remove.
5587 (desktop--find-frame): Rename from desktop--find-frame-in-display
5588 and add predicate argument.
5589 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5590 (desktop--reuse-list): New variable.
5591 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5592 New functions.
5593 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5594
f6dd8b36
MA
55952013-07-14 Michael Albinus <michael.albinus@gmx.de>
5596
5597 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5598
2ce3c565
DG
55992013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5600
763a086d
JB
5601 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5602 Highlight conversion methods on Kernel.
2ce3c565 5603
2cdb7698
AM
56042013-07-13 Alan Mackenzie <acm@muc.de>
5605
5606 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5607 and comment it out. This out-commenting enables certain C++
5608 declarations to be parsed correctly.
5609
1a67b811
EZ
56102013-07-13 Eli Zaretskii <eliz@gnu.org>
5611
1b796d6b
EZ
5612 * international/mule.el (define-coding-system): Doc fix.
5613
1a67b811
EZ
5614 * simple.el (default-font-height): Don't call font-info if the
5615 frame's default font didn't change since the frame was created.
5616 (Bug#14838)
5617
58fbe886
LL
56182013-07-13 Leo Liu <sdl.web@gmail.com>
5619
5620 * ido.el (ido-read-file-name): Guard against non-symbol value.
5621
1f0480d4
FEG
56222013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5623
5624 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5625 in nested defuns.
5626
97ead0e5
LL
56272013-07-13 Leo Liu <sdl.web@gmail.com>
5628
5629 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5630 ido-set-matches call. (Bug#6852)
5631
0880a952
DG
56322013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5633
5634 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5635 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5636 Ruby 2.0.
5637 (ruby-font-lock-keywords): Distinguish calls to functions with
5638 module-like names from module references. Highlight character
5639 literals.
5640
a7d8babb
SDJ
56412013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5642
5643 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5644 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5645
acfcc8c5
JB
56462013-07-12 Juanma Barranquero <lekktu@gmail.com>
5647
5648 * desktop.el (desktop--v2s): Remove unused local variable.
5649 (desktop-save-buffer): Make defvar-local; adjust docstring.
5650 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5651 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5652
051f2775
AS
56532013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5654
5655 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5656
f24e7572
GM
56572013-07-12 Eli Zaretskii <eliz@gnu.org>
5658
5659 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5660 (Bug#14842)
5661
539a920c
GM
56622013-07-12 Glenn Morris <rgm@gnu.org>
5663
5664 * doc-view.el: Require cl-lib at runtime too.
5665 (doc-view-remove-if): Remove.
5666 (doc-view-search-next-match, doc-view-search-previous-match):
5667 Use cl-remove-if.
5668
5669 * edmacro.el: Require cl-lib at runtime too.
5670 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5671 (edmacro-mismatch, edmacro-subseq): Remove.
5672
5673 * shadowfile.el: Require cl-lib.
5674 (shadow-remove-if): Remove.
5675 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5676 Use cl-remove-if.
5677
5678 * wid-edit.el: Require cl-lib.
5679 (widget-choose): Use cl-remove-if.
5680 (widget-remove-if): Remove.
5681
5682 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5683 (ebrowse-delete-if-not): Remove.
5684 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5685 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5686 Use cl-delete-if-not.
5687
1048af7c
JB
56882013-07-12 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5691 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5692
6c0674ee
LL
56932013-07-12 Leo Liu <sdl.web@gmail.com>
5694
5695 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5696
a19b3c2d
GM
56972013-07-11 Glenn Morris <rgm@gnu.org>
5698
4582a01c
GM
5699 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5700 (edebug-gensym-index, edebug-gensym):
5701 Remove reimplementation of cl-gensym.
5702 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5703
5704 * thumbs.el: Require cl-lib at run-time too.
5705 (thumbs-gensym-counter, thumbs-gensym):
5706 Remove reimplementation of cl-gensym.
5707 (thumbs-temp-file): Use cl-gensym.
5708
a19b3c2d
GM
5709 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5710 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5711 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5712 (ert--union, ert--gensym-counter, ert--gensym-counter)
5713 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5714 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5715 (ert-make-test-unbound, ert--expand-should-1)
5716 (ert--expand-should, ert--should-error-handle-error)
5717 (should-error, ert--explain-equal-rec)
5718 (ert--plist-difference-explanation, ert-select-tests)
5719 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5720 Use cl-lib functions rather than reimplementations.
5721
88f6a933
MA
57222013-07-11 Michael Albinus <michael.albinus@gmx.de>
5723
5724 * net/tramp.el (tramp-methods): Extend docstring.
5725 (tramp-connection-timeout): New defcustom.
5726 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5727 (with-tramp-progress-reporter): Simplify.
5728 (tramp-process-actions): Improve messages.
5729
5730 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5731 * net/tramp-sh.el (tramp-maybe-open-connection):
5732 Use `tramp-connection-timeout'.
5733 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5734 (Bug#14808)
5735
a43d577e
LL
57362013-07-11 Leo Liu <sdl.web@gmail.com>
5737
5738 * ido.el (ido-read-file-name): Conform to the requirements of
5739 read-file-name. (Bug#11861)
5740 (ido-read-directory-name): Conform to the requirements of
5741 read-directory-name.
5742
d77974bf
JB
57432013-07-11 Juanma Barranquero <lekktu@gmail.com>
5744
5745 * subr.el (delay-warning): New function.
5746
35cb8a3e
EZ
57472013-07-10 Eli Zaretskii <eliz@gnu.org>
5748
5749 * simple.el (default-line-height): New function.
5750 (line-move-partial, line-move): Use it instead of computing the
5751 line height inline.
5752 (line-move-partial): Always compute ROWH. If the last line is
5753 partially-visible, but its text is completely visible, allow
5754 cursor to enter such a partially-visible line.
5755
525c5c77
MA
57562013-07-10 Michael Albinus <michael.albinus@gmx.de>
5757
5758 Improve error messages. (Bug#14808)
5759
5760 * net/tramp.el (tramp-current-connection): New defvar, moved from
5761 tramp-sh.el.
0ac26976 5762 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5763 needed anymore.
0ac26976
SM
5764 (tramp-error-with-buffer): Show message in minibuffer.
5765 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5766 (with-tramp-progress-reporter): Improve messages.
5767 (tramp-process-actions): Use progress reporter. Delete process in
5768 case of error. Improve messages.
5769
763a086d
JB
5770 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5771 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5772 (tramp-current-connection): Remove.
525c5c77
MA
5773 (tramp-maybe-open-connection): The car of
5774 `tramp-current-connection' are the first 3 slots of the vector.
5775
c7a4d368
TZ
57762013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5777
5778 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5779 inside continued strings.
5780
954b166e
PE
57812013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5782
5783 Timestamp fixes for undo (Bug#14824).
5784 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5785
56973319
LL
57862013-07-10 Leo Liu <sdl.web@gmail.com>
5787
5788 * files.el (require-final-newline): Allow safe local value.
5789 (Bug#14834)
5790
5550a72c
LL
57912013-07-09 Leo Liu <sdl.web@gmail.com>
5792
5793 * ido.el (ido-read-directory-name): Handle fallback.
5794 (ido-read-file-name): Update DIR to ido-current-directory.
5795 (Bug#1516)
c28b9050 5796 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5797
70c46b28
DG
57982013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5799
5800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5801 "autoload". Remove "warn lower camel case" section, previously
5802 commented out. Highlight negation char. Do not highlight the
5803 target in singleton method definitions.
5804
0b64b838
SM
58052013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5806
7fd72e2c
SM
5807 * faces.el (tty-setup-hook): Declare the hook.
5808
0b64b838
SM
5809 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5810 and detect when a guard/pred depends on local vars (bug#14773).
5811 (pcase--u1): Adjust caller.
5812
ab49d60b
EZ
58132013-07-08 Eli Zaretskii <eliz@gnu.org>
5814
5815 * simple.el (line-move-partial, line-move): Account for
5816 line-spacing.
701d79aa
EZ
5817 (line-move-partial): Avoid setting vscroll when the last
5818 partially-visible line in window is of default height.
ab49d60b 5819
2d756ae0
LMI
58202013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5821
5822 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5823 been used a while.
5824
ed095bd7
JB
58252013-07-07 Juanma Barranquero <lekktu@gmail.com>
5826
5827 * subr.el (read-quoted-char): Remove unused local variable `char'.
5828
f1e6674b
MK
58292013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5830
584ee3fc
GM
5831 * ediff.el (ediff-version): Version update.
5832 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5833 (ediff-merge-with-ancestor-command, ediff-directories-command)
5834 (ediff-directories3-command, ediff-merge-directories-command)
5835 (ediff-merge-directories-with-ancestor-command): New functions.
5836 All are command-line interfaces to ediff: to facilitate calling
5837 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5838
5839 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5840 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5841
584ee3fc
GM
5842 * viper.el (viper-version): Version update.
5843 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5844
584ee3fc
GM
58452013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5848 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5849 (viper-intercept-ESC-key): Simplify.
5850 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5851 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5852 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5853 (viper-setup-ESC-to-escape): New functions.
5854 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5855 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5856
9aff9b38
EZ
58572013-07-07 Eli Zaretskii <eliz@gnu.org>
5858
5165d44a
JB
5859 * simple.el (default-font-height, window-screen-lines):
5860 New functions.
9aff9b38
EZ
5861 (line-move, line-move-partial): Use them instead of
5862 frame-char-height and window-text-height. This makes scrolling
5863 text smoother when the buffer's default face uses a font that is
5864 different from the frame's default font.
5865
1afb1d07
JD
58662013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5867
5868 * files.el (write-file): Do not display confirm dialog for NS,
5869 it does its own dialog, which can't be cancelled (Bug#14578).
5870
23de972a
EZ
58712013-07-06 Eli Zaretskii <eliz@gnu.org>
5872
5873 * simple.el (line-move-partial): Adjust the row returned by
5874 posn-at-point for the current window-vscroll. (Bug#14567)
5875
54a42486
MA
58762013-07-06 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5879 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5880 spaces.
5881
34ada5f4
MR
58822013-07-06 Martin Rudalics <rudalics@gmx.at>
5883
5884 * window.el (window-state-put-stale-windows): New variable.
5885 (window--state-put-2): Save list of windows without matching buffer.
5886 (window-state-put): Remove "bufferless" windows if possible.
5887
11e03d89
JB
58882013-07-06 Juanma Barranquero <lekktu@gmail.com>
5889
5890 * simple.el (alternatives-define): Remove leftover :group keyword.
5891 Tweak docstring.
5892
3504a4be
LL
58932013-07-06 Leo Liu <sdl.web@gmail.com>
5894
5895 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5896 (ido-enable-virtual-buffers): New variable.
5897 (ido-buffer-internal, ido-toggle-virtual-buffers)
5898 (ido-make-buffer-list): Use it.
5899 (ido-exhibit): Support turning on and off virtual buffers
5900 automatically.
5901
61e56e2c
JB
59022013-07-06 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * simple.el (alternatives-define): New macro.
5905
321e1a9c
SM
59062013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * subr.el (read-quoted-char): Use read-key.
5909 (sit-for): Let read-event decode tty input (bug#14782).
5910
d610f6dd
SB
59112013-07-05 Stephen Berman <stephen.berman@gmx.net>
5912
5913 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5914 mode command and externally. Fix various related bugs.
5915 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5916 (todo-delete-file): New command.
5917 (todo-check-file): New function.
5918 (todo-show): Handle external deletion of the file we're trying to
5919 show (bug#14688). Replace called-interactively-p by an optional
5920 prefix argument to avoid problematic interaction with catch form
5921 when byte compiled (bug#14702).
5922 (todo-quit): Handle external deletion of the archive's todo file.
5923 Make sure the buffer that was visiting the archive file is still
5924 live before trying to bury it.
5925 (todo-category-completions): Handle external deletion of any
5926 category completion files.
5927 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5928 of todo files, in case of external deletion.
5929 (todo-add-file): Replace unnecessary setq by let-binding.
5930 (todo-find-archive): Check whether there are any archives.
5931 Replace unnecessary setq by let-binding.
5932 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5933 archive buffer whether or not the archive already exists.
5934 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5935 check if the archive is new; if it is, update list of archives.
5936 (todo-default-todo-file): Allow nil to be a valid value for when
5937 there are no todo files.
5938 (todo-reevaluate-default-file-defcustom): Use corrected definition
5939 of todo-default-todo-file.
5940 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5941 (todo-delete-category, todo-show-categories-table)
5942 (todo-category-number): Clarify comment.
5943 (todo-filter-items): Clarify documentation string.
5944 (todo-show-current-file, todo-display-as-todo-file)
5945 (todo-reset-and-enable-done-separator): Tweak documentation string.
5946 (todo-done-separator): Make separator length window-width, since
5947 bug#2749 is now fixed.
5948
ddbdfd6f
MA
59492013-07-05 Michael Albinus <michael.albinus@gmx.de>
5950
321e1a9c
SM
5951 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5952 Support both "gvfs-monitor-dir" and "inotifywait".
5953 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5954 `tramp-sh-file-notify-process-filter'.
5955 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5956 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5957
96eb829a
LL
59582013-07-05 Leo Liu <sdl.web@gmail.com>
5959
5960 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5961
cf13177e
YM
59622013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5963
5964 * frame.el (display-pixel-height, display-pixel-width)
5965 (display-mm-height, display-mm-width): Mention behavior on
5966 multi-monitor setups in docstrings.
5967 (w32-display-monitor-attributes-list): Declare function.
5968 (display-monitor-attributes-list): Use it.
5969
864c58ca
MA
59702013-07-04 Michael Albinus <michael.albinus@gmx.de>
5971
5972 * filenotify.el: New package.
5973
5974 * autorevert.el (top): Require filenotify.el.
5975 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5976 instead.
5977 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5978 (auto-revert-notify-handler): Use `file-notify-*' functions.
5979
5980 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5981
321e1a9c
SM
5982 * net/tramp.el (tramp-file-name-for-operation):
5983 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5984
5985 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5986 for `file-notify-add-watch' and `file-notify-rm-watch'.
5987 (tramp-process-sentinel): Improve trace.
5988 (tramp-sh-handle-file-notify-add-watch)
5989 (tramp-sh-file-notify-process-filter)
5990 (tramp-sh-handle-file-notify-rm-watch)
5991 (tramp-get-remote-inotifywait): New defuns.
5992
96673afe
JL
59932013-07-03 Juri Linkov <juri@jurta.org>
5994
5995 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5996 call of `occur-read-primary-args' to interactive spec.
5997
5998 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5999 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6000
924494f4
MM
60012013-07-03 Matthias Meulien <orontee@gmail.com>
6002
6003 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6004 `Buffer-menu-multi-occur'. Add it to the menu.
6005 (Buffer-menu-mode): Document it in docstring.
6006 (Buffer-menu-multi-occur): New command. (Bug#14673)
6007
56f75efc
DG
60082013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6009
6010 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6011 keywords and built-ins.
6012
9b057d61
GM
60132013-07-03 Glenn Morris <rgm@gnu.org>
6014
208dee4d
GM
6015 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6016
9b057d61
GM
6017 Make info-xref checks case-sensitive by default
6018 * info.el (Info-find-node, Info-find-in-tag-table)
6019 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6020 Add option for exact case matching of nodes.
6021 * info-xref.el (info-xref): New custom group.
6022 (info-xref-case-fold): New option.
6023 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6024
e01aa29c
LL
60252013-07-03 Leo Liu <sdl.web@gmail.com>
6026
6027 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6028
3086ca2e
DG
60292013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6030
6031 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6032 middle of block statement initially, lower the depth. Remove
6033 FIXME comment, not longer valid. Remove middle of block statement
6034 detection, no need to do that anymore since we've been using
6035 `ruby-parse-region' here.
6036
a3b49114
JD
60372013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6038
6039 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6040
08e5c823 60412013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6042
6043 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6044
2addf922
JB
60452013-07-01 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6048 (desktop-restore-in-current-display): New customization option.
6049 (desktop--excluded-frame-parameters): Add `font'.
6050 (desktop--save-frames): Rename from desktop--save-windows.
6051 (desktop--restore-in-this-display-p): New function.
6052 (desktop--make-full-frame): Remove unwanted width/height from
6053 full(width|height) frames.
6054 (desktop--restore-frames): Rename from desktop--restore-windows.
6055 Obey desktop-restore-current-display. Do not delete old frames or
6056 select a new frame unless we were able to restore at least one frame.
6057
ef099a94
MN
60582013-06-30 Michal Nazarewicz <mina86@mina86.com>
6059
6060 * files.el (find-file-noselect): Simplify conditional expression.
6061
6062 * remember.el (remember-append-to-file):
6063 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6064
6065 Add `remember-notes' function to store random notes across Emacs
6066 restarts.
6067 * remember.el (remember-data-file): Add :set callback to affect
6068 notes buffer (if any).
6069 (remember-notes): New command.
6070 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6071 New defcustoms for the `remember-notes' function.
6072 (remember-notes-save-and-bury-buffer): New command.
6073 (remember-notes-mode-map): New variable.
6074 (remember-mode): New minor mode.
6075 (remember-notes--kill-buffer-query): New function.
6076 * startup.el (initial-buffer-choice): Add notes to custom type.
6077
0865d506
EZ
60782013-06-30 Eli Zaretskii <eliz@gnu.org>
6079
0ba54312
EZ
6080 * bindings.el (right-char, left-char): Don't call sit-for, this is
6081 no longer needed. Use arithmetic comparison only for numerical
6082 arguments.
6083
ef099a94
MN
6084 * international/mule-cmds.el (select-safe-coding-system):
6085 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6086
2fae38e5
LMI
60872013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6088
6089 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6090 progression on degenerate tables.
ef099a94 6091 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6092
a47cbd64
JB
60932013-06-30 Juanma Barranquero <lekktu@gmail.com>
6094
6095 Some fixes and improvements for desktop frame restoration.
6096 It is still experimental and disabled by default.
6097 * desktop.el (desktop--save-windows): Put the selected frame at
6098 the head of the list.
6099 (desktop--make-full-frame): New function.
6100 (desktop--restore-windows): Try to re-select the frame that was
6101 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6102 just show an error message and continue. Set up maximized frames
6103 so they have default non-maximized dimensions.
a47cbd64 6104
6dbafa30
DG
61052013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6106
ef099a94
MN
6107 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6108 Don't start heredoc inside a string or comment.
6dbafa30 6109
4c672a0f
EZ
61102013-06-29 Eli Zaretskii <eliz@gnu.org>
6111
6112 * bindings.el (visual-order-cursor-movement): New defcustom.
6113 (right-char, left-char): Provide visual-order cursor motion by
6114 calling move-point-visually. Update the doc strings.
6115
50960f36
KH
61162013-06-28 Kenichi Handa <handa@gnu.org>
6117
6118 * international/mule.el (define-coding-system): New coding system
6119 properties :inhibit-null-byte-detection,
6120 :inhibit-iso-escape-detection, and :prefer-utf-8.
6121 (set-buffer-file-coding-system): If :charset-list property of
6122 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6123 appropriate for setting.
6124
c1ea3abf
JB
6125 * international/mule-cmds.el (select-safe-coding-system):
6126 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6127 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6128
6129 * international/mule-conf.el (prefer-utf-8): New coding system.
6130 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6131 files.
6132
75dbaf9d
IK
61332013-06-28 Ivan Kanis <ivan@kanis.fr>
6134
eadb6068
IK
6135 * net/shr.el (shr-render-region): New function.
6136
75dbaf9d
IK
6137 * net/eww.el: Autoload `eww-browse-url'.
6138
9ea5cf9f
DG
61392013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6140
c1ea3abf
JB
6141 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6142 Adapt to `package-desc-version' being a list.
6143 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6144 archive element.
6145
39c0e36f
JB
61462013-06-27 Juanma Barranquero <lekktu@gmail.com>
6147
6148 New experimental feature to save&restore window and frame setup.
6149 * desktop.el (desktop-save-windows): New defcustom.
6150 (desktop--saved-states): New var.
6151 (desktop--excluded-frame-parameters): New defconst.
6152 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6153 (desktop--restore-windows, desktop--save-windows): New functions.
6154 (desktop-save): Call `desktop--save-windows'.
6155 (desktop-read): Call `desktop--restore-windows'.
6156
7f13406b
LMI
61572013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6158
ef099a94 6159 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6160
1e072639
SB
61612013-06-27 Stephen Berman <stephen.berman@gmx.net>
6162
6163 * info.el (Info-try-follow-nearest-node): Move search for footnote
6164 above search for node name to prevent missing a footnote (bug#14717).
6165
f3e2cbde
SB
61662013-06-27 Stephen Berman <stephen.berman@gmx.net>
6167
6168 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6169
99906aa0
LL
61702013-06-27 Leo Liu <sdl.web@gmail.com>
6171
6172 * net/eww.el (eww-read-bookmarks): Check file size.
6173
539f75f4
SM
61742013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6177 advice--pending if newdef is nil or an autoload (bug#13820).
6178 (advice-mapc): New function.
6179
843571cb
LMI
61802013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6181
6182 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6183 probably.
23a75d7f 6184 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6185 (eww-add-bookmark): New command.
6186 (eww-bookmark-mode): New mode and commands.
a285ce99 6187 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6188 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6189
f2136e1e
GM
61902013-06-26 Glenn Morris <rgm@gnu.org>
6191
eab35f39
GM
6192 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6193 (hfy-size): Handle ttys. (Bug#14668)
6194
f2136e1e
GM
6195 * info-xref.el: Update for Texinfo 5 change in *note format.
6196 (info-xref-node-re, info-xref-note-re): New constants.
6197 (info-xref-check-buffer): Use info-xref-note-re.
6198
a49ff80c
SM
61992013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6200
a343d218
SM
6201 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6202
a49ff80c
SM
6203 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6204 nil terminate the loop (bug#14718).
6205
8308f184
LMI
62062013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6207
6208 * net/eww.el: Rework history traversal. When going forward/back,
6209 put these actions into the history, too, so that they can be
6210 replayed.
26bf2b82 6211 (eww-render): Move the history reset to the correct buffer.
8308f184 6212
ec64c273
JL
62132013-06-25 Juri Linkov <juri@jurta.org>
6214
6215 * files-x.el (modify-dir-local-variable): Change the header comment
6216 in the file with directory local variables. (Bug#14692)
6217
e080a9d7
JL
6218 * files-x.el (read-file-local-variable-value): Add `default'.
6219 (Bug#14710)
6220
bfbc93a1
IK
62212013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6222
6223 * net/eww.el (eww-make-unique-file-name): Create a unique file
6224 name before saving to entering `y' accidentally asynchronously.
6225
62262013-06-25 Ivan Kanis <ivan@kanis.fr>
6227
6228 * net/eww.el (eww-download): New command and keystroke.
6229
16f74f10
LMI
62302013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6231
a49ff80c 6232 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6233
6234 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6235 be more consistent with Info and dired.
6236
6237 * net/eww.el (eww-mode-map): Ditto.
6238
12059709
SM
62392013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6242 packages from archives.
6243 (package-archive-contents): Change format; include obsolete packages.
6244 (package-desc): Use `dir' to mark builtin packages.
6245 (package--from-builtin): Set the `dir' field to `builtin'.
6246 (generated-autoload-file, version-control): Declare.
6247 (package-compute-transaction): Change first arg and return value to be
6248 lists of package-descs. Adjust to new package-archive-contents format.
6249 (package--add-to-archive-contents): Adjust to new
6250 package-archive-contents format.
6251 (package-download-transaction): Arg is now a list of package-descs.
6252 (package-install): If `pkg' is a package name, pass it as
6253 a requirement, so it is subject to the usual (e.g. disabled) checks.
6254 (describe-package): Accept package-desc as well.
6255 (describe-package-1): Describe a specific package-desc. Add links to
6256 other package-descs for the same package name.
6257 (package-menu-describe-package): Pass the actual package-desc.
6258 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6259 works correctly.
6260 (package-desc-status): New function.
6261 (package-menu--refresh): New function, extracted
6262 from package-menu--generate.
6263 (package-menu--generate): Use it.
6264 (package-delete): Update package-alist.
6265 (package-menu-execute): Don't call package-initialize.
6266
6267 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6268 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6269 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6270 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6271 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6272 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6273
8bbdea0f
MR
62742013-06-25 Martin Rudalics <rudalics@gmx.at>
6275
6276 * window.el (window--state-get-1): Workaround for bug#14527.
6277 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6278
e82b0991
LMI
62792013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6280
6281 * net/eww.el (eww-back-url): Implement the history by stashing all
6282 the data into a list.
d3f0f918 6283 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6284
c763842b
SM
62852013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6288 for values and use read--expression for expressions (bug#14710).
6289 (read-file-local-variable): Avoid setq.
6290 (read-file-local-variable-mode): Use minor-mode-list.
6291
bceff189
RW
62922013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6293
864c58ca 6294 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6295 for DOI URLs.
6296
45f431c6
RW
62972013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6298
864c58ca 6299 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6300 Update imenu-support when dialect changes.
6301
f42d8237
LL
63022013-06-25 Leo Liu <sdl.web@gmail.com>
6303
6304 * ido.el (ido-read-internal): Allow forward slash on windows.
6305
be549ce6
LMI
63062013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
6308 * net/eww.el (eww): Start of strings is \\`, not ^.
6309
71d4c19d
IK
63102013-06-24 Ivan Kanis <ivan@kanis.fr>
6311
5196f88a
IK
6312 * net/shr.el (shr-browse-url): Fix interactive spec.
6313
71d4c19d
IK
6314 * net/eww.el (eww): Add a trailing slash to domain names.
6315
ae36ca55
JB
63162013-06-24 Juanma Barranquero <lekktu@gmail.com>
6317
6318 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6319
0ebd92a3
LMI
63202013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6321
bdaa086b
LMI
6322 * net/shr.el (shr-browse-url): Use an external browser if given a
6323 prefix.
6324
c763842b 6325 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6326
b89fc156
IK
63272013-06-24 Ivan Kanis <ivan@kanis.fr>
6328
6329 * net/eww.el (eww): Work more correctly for file: URLs.
6330 (eww-detect-charset): Allow quoted charsets.
6331 (eww-yank-page-url): New command and keystroke.
6332
18eb4bca
DU
63332013-06-24 Daiki Ueno <ueno@gnu.org>
6334
6335 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6336 file name of gpg executable.
6337 (epg-context-program): New function.
6338 (epg-context-home-directory): New function.
6339 (epg-context-set-program): New function.
6340 (epg-context-set-home-directory): New function.
6341 (epg--start): Use `epg-context-program' instead of
6342 'epg-gpg-program'.
6343 (epg--list-keys-1): Likewise.
6344
6c6268c8
LL
63452013-06-24 Leo Liu <sdl.web@gmail.com>
6346
6347 * ido.el (ido-read-internal): Fix bug#14620.
6348
5e400cb3
JB
63492013-06-23 Juanma Barranquero <lekktu@gmail.com>
6350
6351 * faces.el (face-documentation): Simplify.
6352 (read-face-attribute, tty-find-type, x-resolve-font-name):
6353 Use `string-match-p'.
6354 (list-faces-display): Use `string-match-p'. Simplify.
6355 (face-spec-recalc): Check face to avoid face alias loops.
6356 (read-color): Use `string-match-p' and non-capturing parenthesis.
6357
f3f9606c
LMI
63582013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6359
6360 * net/shr.el (shr-rescale-image): Use the new
6361 :max-width/:max-height functionality.
6362
a3ca09b9
IK
63632013-06-23 Ivan Kanis <ivan@kanis.fr>
6364
6365 * net/eww.el (eww-search-prefix): New variable.
6366 (eww): Use it.
f865b474
IK
6367 (eww-external-browser): New variable.
6368 (eww-mode-map): New keystroke.
6369 (eww-browse-with-external-browser): New command.
a3ca09b9 6370
e854cfc7
IK
6371 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6372
18bb9e21
JB
63732013-06-23 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6376 Don't skip aligning the next header field when padding is 0;
6377 otherwise, field width is not respected unless the title is as
6378 wide as the field.
6379
5b165ade
SM
63802013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * emacs-lisp/package.el (package-el-version): Remove.
6383 (package-process-define-package): Fix inf-loop.
6384 (package-install): Allow symbols as arguments again.
6385
12adebe9
DG
63862013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6387
6388 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6389 add some more keyword-like methods.
6390 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6391
388573ee
JB
63922013-06-22 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * bs.el (bs-buffer-show-mark): Make defvar-local.
6395 (bs-mode): Use setq-local.
6396
6397 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6398 (emacs-lock--try-unlocking): Make defvar-local.
6399
4582a01c 64002013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6401
2663dd23
GM
6402 * play/cookie1.el (cookie-apropos): Minor simplification.
6403
3d94f3ad
GM
6404 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6405
f72e2fdb
DG
64062013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6407
6408 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6409 `regexp-opt', it breaks the build during dumping.
6410
73eab938
DG
64112013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6412
c763842b
SM
6413 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6414 Highlight keyword-like methods on Kernel and Module with
73eab938 6415 font-lock-builtin-face.
5cf8176d
DG
6416 (auto-mode-alist): Consolidate different entries into one regexp
6417 and add more *file-s.
73eab938 6418
d26255f6
SB
64192013-06-21 Stephen Berman <stephen.berman@gmx.net>
6420
6421 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6422
6423 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6424 (diary-entry): Use it in the action of this button type instead of
6425 diary-goto-entry.
6426
6427 * calendar/todo-mode.el: New version.
6428 (todo-add-category): Append new category to end of file and give
6429 it the highest number, instead of putting it at the beginning and
6430 giving it 0. Incorporate noninteractive functionality.
6431 (todo-forward-category): Adapt to 1-based category numbering.
6432 Allow skipping over archived categories.
6433 (todo-backward-category): Derive from todo-forward-category.
6434 (todo-backward-item, todo-forward-item): Make noninteractive and
6435 delegate interactive part to new commands. Make sensitive to done items.
6436 (todo-categories): Make value an alist of category names and
6437 vectors of item counts.
6438 (todo-category-beg): Make a defconst.
6439 (todo-category-number): Use 1 instead of 0 as initial value.
6440 (todo-category-select): Make sensitive to overlays, optional item
6441 highlighting and done items.
6442 (todo-delete-item): Make sensitive to overlays and marked and done items.
6443 (todo-edit-item): Make sensitive to overlays and editing of
6444 date/time header optional. Add format checks.
6445 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6446 no-op if point is not on an item. Advertise using todo-edit-quit.
6447 (todo-edit-mode): Make sensitive to new format, font-locking, and
6448 multiple todo files.
6449 (todo-insert-item, todo-insert-item-here): Derive from
6450 todo-basic-insert-item and extend functionality.
6451 (todo-item-end, todo-item-start): Make sensitive to done items.
6452 (todo-item-string): Don't return text properties. Restore point.
6453 (todo-jump-to-category): Make sensitive to multiple todo files and
6454 todo archives. Use extended category completion.
6455 (todo-lower-item, todo-raise-item): Rename to *-priority and
6456 derive from todo-set-item-priority.
6457 (todo-mode): Derive from special-mode. Make sensitive to new
6458 format, font-locking and multiple todo files. Make read-only.
6459 (todo-mode-map): Don't suppress digit keys, so they can supply
6460 prefix arguments. Add many new key bindings.
6461 (todo-prefix): Insert as an overlay instead of file text.
6462 Change semantics from diary date expression to purely visual mark.
6463 (todo-print): Rename to todo-print-buffer. Make buffer display
6464 features printable. Remove option to restrict number of items
6465 printed. Add option to print to file.
6466 (todo-print-function): Rename to todo-print-buffer-function.
6467 (todo-quit): Extend to handle exiting new todo modes.
6468 (todo-remove-item): Make sensitive to overlays.
6469 (todo-save): Extend to buffers of filtered items.
6470 (todo-show): Make sensitive to done items, multiple todo files and
6471 new todo modes. Offer to convert legacy todo file before creating
6472 first new todo file.
6473 (todo-show-priorities): Rename to todo-top-priorities.
6474 Change semantics of value 0.
6475 (todo-top-priorities): Rename to todo-filter-top-priorities,
6476 derive from todo-filter-items and extend functionality.
6477 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6478 and extend functionality to other types of filtered items.
6479 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6480 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6481 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6482 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6483 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6484 (todo-edit-mode-hook, todo-entry-prefix-function)
6485 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6486 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6487 (todo-initials, todo-insert-threshold, todo-item-string-start)
6488 (todo-line-string, todo-menu, todo-mode-hook)
6489 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6490 (todo-print-priorities, todo-remove-separator)
6491 (todo-save-top-priorities-too, todo-string-count-lines)
6492 (todo-string-multiline-p, todo-time-string-format)
6493 (todo-tmp-buffer-name): Remove.
6494 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6495 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6496 (todo-edit-category-diary-inclusion)
6497 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6498 (todo-edit-file, todo-edit-item-date-day)
6499 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6500 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6501 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6502 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6503 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6504 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6505 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6506 (todo-filter-top-priorities-multifile, todo-find-archive)
6507 (todo-find-filtered-items-file, todo-go-to-source-item)
6508 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6509 (todo-jump-to-archive-category, todo-lower-category)
6510 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6511 (todo-move-category, todo-move-item, todo-next-button)
6512 (todo-next-item, todo-padded-string, todo-powerset)
6513 (todo-previous-button, todo-previous-item)
6514 (todo-print-buffer-to-file, todo-raise-category)
6515 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6516 (todo-set-category-number, todo-set-item-priority)
6517 (todo-set-top-priorities-in-category)
6518 (todo-set-top-priorities-in-file, todo-show-categories-table)
6519 (todo-sort-categories-alphabetically-or-numerically)
6520 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6521 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6522 (todo-toggle-item-header, todo-toggle-item-highlighting)
6523 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6524 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6525 (todo-unarchive-items, todo-unmark-category): New commands.
6526 (todo-absolute-file-name, todo-add-to-buffer-list)
6527 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6528 (todo-basic-insert-item, todo-category-completions)
6529 (todo-category-number, todo-category-string-matcher-1)
6530 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6531 (todo-check-format, todo-clear-matches)
6532 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6533 (todo-current-category, todo-date-string-matcher)
6534 (todo-define-insertion-command, todo-diary-expired-matcher)
6535 (todo-diary-goto-entry, todo-diary-item-p)
6536 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6537 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6538 (todo-done-item-section-p, todo-done-separator)
6539 (todo-done-string-matcher, todo-files, todo-filter-items)
6540 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6541 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6542 (todo-insert-category-line, todo-insert-item-from-calendar)
6543 (todo-insert-sort-button, todo-insert-with-overlays)
6544 (todo-insertion-command-name, todo-insertion-key-bindings)
6545 (todo-label-to-key, todo-longest-category-name-length)
6546 (todo-make-categories-list, todo-mode-external-set)
6547 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6548 (todo-modes-set-3, todo-multiple-filter-files)
6549 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6550 (todo-read-category, todo-read-date, todo-read-dayname)
6551 (todo-read-file-name, todo-read-time)
6552 (todo-reevaluate-category-completions-files-defcustom)
6553 (todo-reevaluate-default-file-defcustom)
6554 (todo-reevaluate-filelist-defcustoms)
6555 (todo-reevaluate-filter-files-defcustom)
6556 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6557 (todo-reset-done-separator, todo-reset-done-separator-string)
6558 (todo-reset-done-string, todo-reset-global-current-todo-file)
6559 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6560 (todo-reset-prefix, todo-set-categories)
6561 (todo-set-date-from-calendar, todo-set-show-current-file)
6562 (todo-set-top-priorities, todo-short-file-name)
6563 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6564 (todo-total-item-counts, todo-update-buffer-list)
6565 (todo-update-categories-display, todo-update-categories-sexp)
6566 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6567 New functions.
6568 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6569 New major modes.
6570 (todo-categories, todo-display, todo-edit, todo-faces)
6571 (todo-filtered): New defgroups.
6572 (todo-archived-only, todo-button, todo-category-string, todo-date)
6573 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6574 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6575 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6576 (todo-add-item-if-new-category, todo-always-add-time-string)
6577 (todo-categories-align, todo-categories-archived-label)
6578 (todo-categories-category-label, todo-categories-diary-label)
6579 (todo-categories-done-label, todo-categories-number-separator)
6580 (todo-categories-todo-label, todo-categories-totals-label)
6581 (todo-category-completions-files, todo-completion-ignore-case)
6582 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6583 (todo-done-separator-string, todo-done-string)
6584 (todo-files-function, todo-filter-done-items, todo-filter-files)
6585 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6586 (todo-initial-category, todo-initial-file, todo-item-mark)
6587 (todo-legacy-date-time-regexp, todo-mode-line-function)
6588 (todo-nondiary-marker, todo-number-prefix)
6589 (todo-print-buffer-function, todo-show-current-file)
6590 (todo-show-done-only, todo-show-first, todo-show-with-done)
6591 (todo-skip-archived-categories, todo-top-priorities-overrides)
6592 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6593 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6594 New defcustoms.
6595 (todo-category-done, todo-date-pattern, todo-date-string-start)
6596 (todo-diary-items-buffer, todo-done-string-start)
6597 (todo-filtered-items-buffer, todo-item-start)
6598 (todo-month-abbrev-array, todo-month-name-array)
6599 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6600 (todo-top-priorities-buffer): New defconsts.
6601 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6602 (todo-categories-with-marks, todo-category-string-face)
6603 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6604 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6605 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6606 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6607 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6608 (todo-font-lock-keywords, todo-global-current-todo-file)
6609 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6610 (todo-insertion-commands-args)
6611 (todo-insertion-commands-args-genlist)
6612 (todo-insertion-commands-names, todo-insertion-map)
6613 (todo-key-bindings-t, todo-key-bindings-t+a)
6614 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6615 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6616 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6617 (todo-visited): New variables.
6618
cad5d1cb
GM
66192013-06-21 Glenn Morris <rgm@gnu.org>
6620
6621 * play/cookie1.el (cookie-apropos): Add optional display argument.
6622 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6623 (psychoanalyze-pinhead): Use cookie-doctor.
6624
9e277302
JB
66252013-06-21 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * emacs-lisp/package.el (tar-get-file-descriptor)
6628 (tar--extract): Declare.
6629
c5b0993e
EW
66302013-06-21 Eduard Wiebe <usenet@pusto.de>
6631
6632 Extend flymake's warning predicate to be a function (bug#14217).
6633 * progmodes/flymake.el (flymake-warning-predicate): New.
6634 (flymake-parse-line): Use it.
6635 (flymake-warning-re): Make obsolete alias to
6636 `flymake-warning-predicate'.
6637
a7d2d465
SM
66382013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6641 (package-obsolete-list): Remove.
6642 (package-activate): Remove min-version argument. Add `force' argument.
6643 Adjust to new package-alist format.
6644 (package-mark-obsolete): Remove.
6645 (package-unpack): Force reload of the package's autoloads.
6646 (package-installed-p): Check builtins if the installed package is not
6647 recent enough.
6648 (package-initialize): Don't reset package-obsolete-list.
6649 Don't specify which package version to activate.
6650 (package-process-define-package, describe-package-1)
6651 (package-menu--generate): Adjust to new package-alist format.
6652
cedf5c9d
JB
66532013-06-21 Juanma Barranquero <lekktu@gmail.com>
6654
6655 * allout-widgets.el (allout-widgets-mode-off)
6656 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6657 (allout-widgets-post-command-business)
6658 (allout-widgets-after-copy-or-kill-function)
6659 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6660 (allout-decorate-item-and-context)
6661 (allout-graphics-modification-handler): Fix typos in docstrings.
6662 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6663
6664 * cmuscheme.el (scheme-start-file): Doc fix.
6665 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6666 (scheme-input-filter): Use `string-match-p'.
6667
6668 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6669
6670 * dired-x.el: Use Dired consistently in docstrings.
6671
6672 * dired.el: Use Dired consistently in docstrings.
6673 (dired-readin, dired-mode): Use `setq-local'.
6674 (dired-switches-alist): Make defvar-local.
6675 (dired-buffers-for-dir): Use `zerop'.
6676 (dired-safe-switches-p, dired-switches-escape-p)
6677 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6678 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6679 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6680 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6681 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6682 (dired-toggle-marks, dired-mark-files-containing-regexp)
6683 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6684 (dired-flag-auto-save-files, dired-flag-backup-files):
6685 Use `looking-at-p'.
6686 (dired-mark-files-regexp, dired-build-subdir-alist):
6687 Use `string-match-p', `looking-at-p'.
6688
6689 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6690 (direct-print-region-helper): Use `string-match-p'.
6691
aed838b5
LL
66922013-06-21 Leo Liu <sdl.web@gmail.com>
6693
cedf5c9d
JB
6694 * comint.el (comint-redirect-results-list-from-process):
6695 Fix infinite loop.
aed838b5 6696
d80a808f
LMI
66972013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * net/eww.el (eww-update-header-line-format): Quote % characters.
6700
e7a526e3
GM
67012013-06-21 Glenn Morris <rgm@gnu.org>
6702
6703 * play/cookie1.el (cookie): New custom group.
6704 (cookie-file): New option.
6705 (cookie-check-file): New function.
6706 (cookie): Make it interactive. Make start and end messages optional.
6707 Interactively, display the result. Default to cookie-file.
6708 (cookie-insert): Default to cookie-file.
6709 (cookie-snarf): Make start and end messages optional.
6710 Default to cookie-file. Use with-temp-buffer.
6711 (cookie-read): Rename from read-cookie.
6712 Make start and end messages optional. Default to cookie-file.
6713 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6714 Do not autoload it.
e7a526e3
GM
6715 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6716 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6717
62efb35e
LL
67182013-06-21 Leo Liu <sdl.web@gmail.com>
6719
6720 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6721
21e3f963
GM
67222013-06-21 Glenn Morris <rgm@gnu.org>
6723
6724 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6725
fd846ab4
SM
67262013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6727 Daniel Hackney <dan@haxney.org>
6728
6729 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6730 Consolidate the single-file vs tarball code.
6731 (package-desc-suffix): New function.
6732 (package-desc-full-name): Don't bother inlining it.
6733 (package-load-descriptor): Return the new package-desc.
6734 (package-mark-obsolete): Remove unused arg `package'.
6735 (package-unpack): Make it work for single files as well.
6736 Make it update package-alist.
6737 (package--make-autoloads-and-stuff): Rename from
6738 package--make-autoloads-and-compile. Don't compile any more.
6739 (package--compile): New function.
6740 (package-generate-description-file): New function, extracted from
6741 package-unpack-single.
6742 (package-unpack-single): Remove.
6743 (package--with-work-buffer): Add indentation and debugging info.
6744 (package-download-single): Remove.
6745 (package-install-from-archive): Rename from package-download-tar, make
6746 it take a pkg-desc, and make it work for single files as well.
6747 (package-download-transaction): Simplify.
6748 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6749 external tar program.
6750 (package-install-from-buffer): Remove `pkg-desc' argument.
6751 Use package-tar-file-info for tar-mode buffers.
6752 (package-install-file): Simplify accordingly.
6753 (package-archive-base): Change to take a pkg-desc.
6754 * tar-mode.el (tar--check-descriptor): New function, extracted from
6755 tar-get-descriptor.
6756 (tar-get-descriptor): Use it.
6757 (tar-get-file-descriptor): New function.
6758 (tar--extract): New function, extracted from tar-extract.
6759 (tar--extract): Use it.
6760 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6761 case the summary uses non-ascii. Adjust to new calling convention of
6762 package-tar-file-info.
6763
b7deae5e
LL
67642013-06-21 Leo Liu <sdl.web@gmail.com>
6765
fd846ab4
SM
6766 * comint.el (comint-redirect-results-list-from-process):
6767 Fix random delay. (Bug#14681)
b7deae5e 6768
7a65a0b2
JB
67692013-06-21 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * profiler.el (profiler-format-number): Use log, not log10.
6772
1493c2af
JB
67732013-06-20 Juanma Barranquero <lekktu@gmail.com>
6774
6775 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6776
aff6371e
SM
67772013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6780 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6781 yet available.
6782 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6783 (AUTOGENEL): ... here.
6784 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6785 (cl--defsubst-expand): Use it.
6786
89561f72
PE
67872013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6788
6789 * subr.el (log10): Move here from C code, and declare as obsolete.
6790 All uses of (log10 X) replaced with (log X 10).
6791
47199123
JB
67922013-06-20 Juanma Barranquero <lekktu@gmail.com>
6793
6794 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6795 Declare with `defvar-local'.
6796 (tabulated-list-use-header-line, tabulated-list-entries)
6797 (tabulated-list-padding, tabulated-list-printer)
6798 (tabulated-list-sort-key): Declare with `defvar-local'.
6799 (tabulated-list-init-header, tabulated-list-print-fake-header):
6800 Use `setq-local'.
6801
4a172eab
MA
68022013-06-20 Michael Albinus <michael.albinus@gmx.de>
6803
47199123
JB
6804 * arc-mode.el (archive-mode): Add `archive-write-file' to
6805 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6806
5fc0acc0
JB
68072013-06-20 Juanma Barranquero <lekktu@gmail.com>
6808
d5b27848
JB
6809 * cus-edit.el (custom-commands): Fix typos.
6810 (custom-display): Fix tooltip text.
6811 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6812 Fix typos in docstrings.
6813 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6814 (custom-unlispify-menu-entry, custom-magic-value-create)
6815 (custom-add-see-also, custom-group-value-create): Use ?\s.
6816 (custom-guess-type, customize-apropos, editable-field)
6817 (custom-face-value-create): Use `string-match-p'.
6818 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6819
6820 * custom.el (custom-load-symbol): Use `string-match-p'.
6821
a5c581d8
JB
6822 * ansi-color.el: Convert to lexical binding.
6823 (ansi-colors): Fix URL.
6824 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6825 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6826 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6827
970ad972
G
68282013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6829
6830 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6831
6832 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6833
68342013-06-19 Tom Tromey <tromey@redhat.com>
6835
6836 * net/eww.el (eww-top-url): Remove.
6837 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6838 (eww-render): Set new variables. Don't set eww-top-url.
6839 (eww-handle-link): Handle "prev", "home", and "contents".
6840 Downcase the rel text.
6841 (eww-top-url): Choose best top URL.
6842
68432013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6844
6845 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6846 relying in widget.el. Using widget.el leads to too many
6847 user interface inconsistencies.
6848 (eww-self-insert): Implement entering commands in text fields.
6849 (eww-process-text-input): New function to make text input field editing
6850 work.
6851 (eww-submit): Rewrite to use the new-style form methods.
6852 (eww-select-display): Display the correct selected item.
6853 (eww-change-select): Implement changing the select value.
6854 (eww-toggle-checkbox): Implement radio/checkboxes.
6855 (eww-update-field): Fix compilation error.
6856 (eww-tag-textarea): Implement <textarea>.
6857
6858 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6859 we don't shadow mode-specific bindings.
6860
6861 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6862 nothing to push.
6863
6864 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6865
4582a01c 68662013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6867
6868 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6869
15b263dc
MA
68702013-06-19 Michael Albinus <michael.albinus@gmx.de>
6871
6872 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6873 not needed.
6874
6875 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6876
8f5297f7
LMI
68772013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6878
6879 * net/browse-url.el (browse-url-browser-function):
6880 `eww-browse-url' has the right calling signature, `eww' does not.
6881
011c4552
GM
68822013-06-19 Glenn Morris <rgm@gnu.org>
6883
2285bd27
GM
6884 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6885 Only eval autoloaded macros.
6886 (byte-compile-autoload): Only give the macro warning for macros.
6887
1d653303
GM
6888 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6889 (ps-underlined-faces): Declare.
6890
bdd779ec
GM
6891 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6892 (speedbar-add-supported-extension): Declare.
6893
011c4552
GM
6894 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6895 Don't include a date stamp in the header of the generated file;
6896 it leads to needless differences between output files.
6897
e59dfb0e
MA
68982013-06-19 Michael Albinus <michael.albinus@gmx.de>
6899
c763842b
SM
6900 * net/secrets.el (secrets-struct-secret-content-type):
6901 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6902 Some servers do not offer introspection.
e59dfb0e 6903
102626e2
SM
69042013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * electric.el (electric-pair-mode): Improve interaction with
6907 electric-layout-mode.
6908 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6909 (electric-pair-syntax): Use text-mode-syntax-table in comments
6910 and strings.
6911 (electric-pair--insert): New function.
6912 (electric-pair-post-self-insert-function): Use it and
6913 electric--after-char-pos.
6914
ad528125
LL
69152013-06-19 Leo Liu <sdl.web@gmail.com>
6916
6917 * progmodes/octave.el (octave-help): Fix regexp.
6918
924d6997
G
69192013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6920
6921 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6922 (shr-table-horizontal-line): Allow nil as a value, and change the
6923 default.
6924 (shr-insert-table-ruler): Respect the nil value.
6925
69262013-06-18 Tom Tromey <tromey@barimba>
6927
6928 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6929 New defvars.
6930 (eww-open-file): New defun.
6931 (eww-render): Initialize new variables.
6932 (eww-display-html): Handle "link" and "a".
6933 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6934 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6935 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6936 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6937 New defuns.
924d6997 6938
d1bbba4f
DG
69392013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6940
6941 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6942 Distinguish ternary operator tokens from slash symbol and slash
6943 char literal.
6944
14dd22d2
JB
69452013-06-18 Juanma Barranquero <lekktu@gmail.com>
6946
6947 Convert symbol prettification into minor mode and global minor mode.
6948
6949 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6950 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6951 (prettify-symbols--keywords): Rename from
6952 `prog-prettify-symbols-alist' and make a local defvar.
6953 (prettify-symbols--compose-symbol): Rename from
6954 `prog--prettify-font-lock-compose-symbol'.
6955 (prettify-symbols--make-keywords): Rename from
6956 `prog-prettify-font-lock-symbols-keywords' and simplify.
6957 (prog-prettify-install): Remove.
6958 (prettify-symbols-mode): New minor mode, based on
6959 `prog-prettify-install'.
6960 (turn-on-prettify-symbols-mode): New function.
6961 (global-prettify-symbols-mode): New globalized minor mode.
6962
6963 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6964 * progmodes/cfengine.el (cfengine3-mode):
6965 * progmodes/perl-mode.el (perl-mode): Don't call
6966 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6967
292c880c
JL
69682013-06-18 Juri Linkov <juri@jurta.org>
6969
6970 * files-x.el (modify-file-local-variable-message): New function.
6971 (modify-file-local-variable)
6972 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6973 and call `modify-file-local-variable-message' when it's non-nil.
6974 (add-file-local-variable, delete-file-local-variable)
6975 (add-file-local-variable-prop-line)
6976 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6977 and use it. (Bug#9820)
6978
0950aa27
JL
69792013-06-18 Juri Linkov <juri@jurta.org>
6980
6981 * emulation/vi.el (vi-shell-op):
6982 * emulation/vip.el (vip-execute-com, ex-command):
6983 * emulation/viper-cmd.el (viper-exec-bang):
6984 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6985 the call of `shell-command-on-region'. (Bug#14637)
6986
6987 * simple.el (shell-command-on-region): Doc fix.
6988
8fbcca16
SM
69892013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6992 (bug#14633).
6993
dd7426ea
GM
69942013-06-18 Glenn Morris <rgm@gnu.org>
6995
4ba54f7d
GM
6996 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6997
dd7426ea
GM
6998 * newcomment.el (comment-search-forward, comment-search-backward):
6999 Doc fix. (Bug#14376)
7000
58aa805b
JB
70012013-06-18 Juanma Barranquero <lekktu@gmail.com>
7002
7003 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7004 (buffer-face-mode-invoke): Doc fix.
7005
9a08a617
MM
70062013-06-18 Matthias Meulien <orontee@gmail.com>
7007
7008 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7009 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7010
f2f426ca
GM
70112013-06-18 Glenn Morris <rgm@gnu.org>
7012
9445f99b
GM
7013 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7014 Replace obsolete function generic-make-keywords with its expansion.
7015
e0df2d14
GM
7016 * progmodes/python.el (ffap-alist): Declare.
7017
f2f426ca
GM
7018 * textmodes/reftex.el (bibtex-mode-map): Declare.
7019
f7f9a720
SM
70202013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7023 (package-unpack, package-unpack-single): Return the pkg-dir.
7024 (package-download-transaction): Use it to update package-alist.
7025
57ff04e0
LMI
70262013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7027
7028 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7029 possible choice.
7030
c048c022
JL
70312013-06-17 Juri Linkov <juri@jurta.org>
7032
7033 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7034
b5bcaee5
DG
70352013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7036
a020afb9
JB
7037 * emacs-lisp/package.el (package-load-descriptor):
7038 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7039 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7040
551e07e5
JB
70412013-06-17 Juanma Barranquero <lekktu@gmail.com>
7042
7043 * startup.el (command-line): Expand package name returned by
7044 `package--description-file' (bug#14639).
7045
d363bffb
DG
70462013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7047
7048 * emacs-lisp/package.el (package-load-descriptor): Do not call
7049 `emacs-lisp-mode', just use its syntax table.
7050
f612933b
JB
70512013-06-17 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7054 `font-lock-extra-managed-props' if any prettifying keyword is added.
7055 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7056 (prog-mode): Use `setq-local'.
7057
db3b7db5
SM
70582013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * international/characters.el (standard-case-table): Set syntax of ?»
7061 and ?« to punctuation.
7062
f3d674df
JB
70632013-06-16 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7066 Save relevant match data before calling `syntax-ppss' (bug#14595).
7067
31489a32
JL
70682013-06-15 Juri Linkov <juri@jurta.org>
7069
7070 * files-x.el (modify-file-local-variable-prop-line): Add local
7071 variables to the end of the existing comment on the first line.
7072 Use `file-auto-mode-skip' to skip interpreter magic line,
7073 and also skip XML declaration.
7074
66bd25ab
SM
70752013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * startup.el (package--builtin-versions): New var.
7078 (package-subdirectory-regexp): Remove.
7079 (package--description-file): Hard code its value instead.
7080
7081 * emacs-lisp/package.el: Don't activate packages older than builtin.
7082 (package-obsolete-list): Rename from package-obsolete-alist, and make
7083 it into a simple list of package-desc.
7084 (package-strip-version): Remove.
7085 (package-built-in-p): Use package--builtin-versions.
7086 (package-mark-obsolete): Simplify.
7087 (package-process-define-package): Mark it obsolete if older than the
7088 builtin version.
7089 (package-handle-response): Use line-end-position.
7090 (package-read-archive-contents, package--download-one-archive):
7091 Simplify.
7092 (package--add-to-archive-contents): Skip if older than the builtin or
7093 installed version.
7094 (package-menu-describe-package): Fix last change.
7095 (package-list-unversioned): New var.
7096 (package-menu--generate): Use it.
7097
7098 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7099 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7100 (autoload-builtin-package-versions): New variable.
7101 (autoload-generate-file-autoloads): Use them.
7102 Remove the list of autoloaded functions/macros from the
7103 (autoload...) comments.
7104
7105 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7106
9583ec36
EZ
71072013-06-15 Eli Zaretskii <eliz@gnu.org>
7108
7109 * simple.el (line-move-partial): Don't jump to the next screen
7110 line as soon as it becomes visible. Instead, continue enlarging
7111 the vscroll until the portion of a tall screen line that's left on
7112 display is about the height of the frame's default font.
7113 (Bug#14567)
7114
f0100d8a
GM
71152013-06-15 Glenn Morris <rgm@gnu.org>
7116
b86a85ca
GM
7117 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7118 compilation-error-regexp-alist void, or local while let-bound.
7119
f0100d8a
GM
7120 * progmodes/make-mode.el (makefile-mode-syntax-table):
7121 Treat "=" as punctuation. (Bug#14614)
7122
05e7ce90
JB
71232013-06-15 Juanma Barranquero <lekktu@gmail.com>
7124
7125 * help-fns.el (describe-variable):
7126 Add extra line for permanent-local variables.
7127
12e5e86e
SH
71282013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7129
7130 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7131 Add export, import, library. (Bug#9164)
7132 (library): Set indent function.
7133
230dcbaf
GM
71342013-06-14 Glenn Morris <rgm@gnu.org>
7135
7136 * term/xterm.el (xterm--query):
7137 Stop after first matching handler. (Bug#14615)
7138
e36b2d20 71392013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7140
7141 Add support for dired in saveplace.
7142 * dired.el (dired-initial-position-hook): New variable.
7143 (dired-initial-position): Call hook to place cursor position.
7144 * saveplace.el (save-place-to-alist): Add dired position.
7145 (save-place-dired-hook): New function.
7146
0b31660d
SM
71472013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7148
bf1e6ae8
SM
7149 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7150 through a symbol rather than letrec.
7151
1b8dff23
SM
7152 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7153 (package-desc): Add `dir' field.
7154 (package-desc-full-name): New function.
7155 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7156 (package-maybe-load-descriptor): Remove.
7157 (package-load-all-descriptors): Just call package-load-descriptor.
7158 (package--disabled-p): New function.
7159 (package-desc-vers, package-desc-doc): Remove aliases.
7160 (package--dir): Remove function.
7161 (package-activate): Check if a package is disabled.
7162 (package-process-define-package): New function, extracted from
7163 define-package.
7164 (define-package): Turn into a place holder.
7165 (package-unpack-single, package-tar-file-info):
7166 Use package--description-file.
7167 (package-compute-transaction): Use package--disabled-p.
7168 (package-download-transaction): Don't call
7169 package-maybe-load-descriptor since they're all loaded anyway.
7170 (package-install): Change argument to be a pkg-desc.
7171 (package-delete): Use a single pkg-desc argument.
7172 (describe-package-1): Use package-desc-dir instead of package--dir.
7173 Use package-desc property instead of package-symbol.
7174 (package-install-button-action): Adjust accordingly.
7175 (package--push): Rewrite.
7176 (package-menu--print-info): Adjust accordingly. Change the ID format
7177 to be a pkg-desc.
7178 (package-menu-describe-package, package-menu-get-status)
7179 (package-menu--find-upgrades, package-menu-mark-upgrades)
7180 (package-menu-execute, package-menu--name-predicate):
7181 Adjust accordingly.
7182 * startup.el (package--description-file): New function.
7183 (command-line): Use it.
7184 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7185 Use package-desc-version.
7186
0b31660d
SM
7187 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7188 (byte-compile-preprocess): Use it.
7189 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7190 can't quite recognize.
7191 (byte-compile-add-to-list): Remove.
7192 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7193 (cconv-closure-convert): Add assertion.
7194
7195 * emacs-lisp/map-ynp.el: Use lexical-binding.
7196 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7197 Factor out some repeated code.
7198
de0503df
SM
71992013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * subr.el (with-eval-after-load): New macro.
7202 (eval-after-load): Allow form to be a function.
7203 take advantage of lexical-binding.
7204 (do-after-load-evaluation): Use dolist and adjust to new format.
7205 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7206
bc5c8c5a
JL
72072013-06-13 Juri Linkov <juri@jurta.org>
7208
7209 * replace.el (perform-replace): Display "symbol " and other search
7210 modes from `isearch-message-prefix' in the *Help* buffer.
7211
7212 * isearch.el (isearch-query-replace): Add " symbol" and other
7213 possible search modes from `isearch-message-prefix' to the prompt.
7214 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7215 when reading a regexp to collect.
7216
a22289f7
JL
72172013-06-13 Juri Linkov <juri@jurta.org>
7218
7219 * isearch.el (word-search-regexp): Match whitespace if the search
7220 string begins or ends in whitespace. The LAX arg is applied to
7221 both ends of the search string. Use `regexp-quote' and explicit
7222 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7223 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7224 boundaries are replaced with symbol boundaries, and characters
7225 between symbols match non-word non-symbol syntax. (Bug#14602)
7226
cb89acab
JL
72272013-06-13 Juri Linkov <juri@jurta.org>
7228
7229 * isearch.el (isearch-del-char): Don't exceed the length of
7230 `isearch-string' by the prefix arg. (Bug#14563)
7231
6e8cfc81
JL
72322013-06-13 Juri Linkov <juri@jurta.org>
7233
7234 * isearch.el (isearch-yank-word, isearch-yank-line)
7235 (isearch-char-by-name, isearch-quote-char)
7236 (isearch-printing-char, isearch-process-search-char):
7237 Add optional count prefix arg. (Bug#14563)
7238
7239 * international/isearch-x.el
7240 (isearch-process-search-multibyte-characters):
7241 Add optional count prefix arg.
7242
c23d55f4
VS
72432013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7246 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7247 lexical-binding.
7248
72492013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7250
7251 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7252
ba947bc4
GM
72532013-06-13 Glenn Morris <rgm@gnu.org>
7254
8baeb37a
GM
7255 * startup.el (tty-handle-args):
7256 Don't just discard "--" and anything after. (Bug#14608)
7257
ba947bc4
GM
7258 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7259
9abefce4
MA
72602013-06-13 Michael Albinus <michael.albinus@gmx.de>
7261
7262 Implement changes in Secret Service API. Make it backward compatible.
7263 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7264 (secrets-create-item): Use it. Prefix properties with interface.
7265
5755011f
MH
72662013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7267
7268 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7269 (term-emulate-terminal): Respect term-suppress-hard-newline.
7270
1261d2da
S
72712013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7272
7273 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7274 Only remove a `thumb-file' overlay. (Bug#14548)
7275
868490bb
GJ
72762013-06-12 Grégoire Jadi <daimrod@gmail.com>
7277
7278 * mail/reporter.el (reporter-submit-bug-report):
7279 Handle missing package-name. (Bug#14600)
7280
79d7167f
TH
72812013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7282
7283 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7284 (reftex-citation-prompt, reftex-default-bibliography)
7285 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7286 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7287 (reftex-bib-sort-author, reftex-bib-sort-year)
7288 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7289 (reftex-extract-bib-entries-from-thebibliography)
7290 (reftex-get-bibkey-default, reftex-get-bib-names)
7291 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7292 (reftex-format-bib-entry, reftex-parse-bibitem)
7293 (reftex-format-bibitem, reftex-do-citation)
7294 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7295 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7296 (reftex-insert-bib-matches, reftex-format-citation)
7297 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7298 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7299 existing comments into docstrings.
7300
5f9dbd7a
XF
73012013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7302
7303 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7304
94df41ab
AS
73052013-06-12 Andreas Schwab <schwab@suse.de>
7306
7307 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7308 for auto-save files.
7309
a7f3fecc
GM
73102013-06-12 Glenn Morris <rgm@gnu.org>
7311
001809f6
GM
7312 * ido.el (ido-delete-ignored-files): Remove.
7313 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7314 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7315
834b5ded
EL
73162013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7317
08c73ed2
EL
7318 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7319
834b5ded
EL
7320 * ido.el (ido-delete-ignored-files): New function,
7321 split from ido-make-file-list-1.
7322 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7323 (ido-make-file-list-1): Use ido-delete-ignored-files.
7324
daabf15a
LL
73252013-06-12 Leo Liu <sdl.web@gmail.com>
7326
7327 * progmodes/octave.el (inferior-octave-startup)
7328 (inferior-octave-completion-table)
7329 (inferior-octave-track-window-width-change)
7330 (octave-eldoc-function-signatures, octave-help)
7331 (octave-find-definition): Use single quoted strings.
7332 (inferior-octave-startup-args): Change default value.
7333 (inferior-octave-startup): Do not hard code "-i" and
7334 "--no-line-editing".
7335 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7336 (inferior-octave-directory-tracker): Use it.
7337 (octave-goto-function-definition): Robustify.
7338 (octave-help): Support highlighting operators in 'See also'.
7339 (octave-find-definition): Find subfunctions only in Octave mode.
7340
cf4e5178
SM
73412013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * help-fns.el (help-fns--compiler-macro): If the handler function is
7344 named, then put a link to it.
7345 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7346 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7347 (cl-typep): Use it.
7348 (cl-eval-when): Simplify debug spec.
7349 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7350 compiler-macro function instead of setting `compiler-macro-file'.
7351
99c81280 73522013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7353
7354 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7355 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7356
f56be016
SM
73572013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7358 Daniel Hackney <dan@haxney.org>
7359
7360 First part of Daniel Hackney's patch to package.el.
7361 * emacs-lisp/package.el: Use defstruct.
7362 (package-desc): New, main struct.
7363 (package--bi-desc, package--ac-desc): New structs, used to describe the
7364 format in external files.
7365 (package-desc-vers): Replace with package-desc-version accessor.
7366 (package-desc-doc): Replace with package-desc-summary accessor.
7367 (package-activate-1): Remove `package' arg since the pkg-vec now
7368 includes the name.
7369 (define-package): Use package-desc-from-define.
7370 (package-unpack-single): Change file-name arg to be a symbol.
7371 (package--add-to-archive-contents): Use package-desc-create and new
7372 accessor functions to package--ac-desc.
7373 (package-buffer-info, package-tar-file-info): Return a package-desc.
7374 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7375 arg to be a package-desc.
7376 (package-install-file): Adjust accordingly. Use \' to match EOS.
7377 (package--from-builtin): New function.
7378 (describe-package-1, package-menu--generate): Use it.
7379 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7380 (package-generate-autoloads): Idem and return the name of the file.
7381 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7382 Change pkg-info arg to be a package-desc.
7383 Use package-make-ac-desc.
7384 (package-upload-file): Use \' to match EOS.
7385 * finder.el (finder-compile-keywords): Use package-make-builtin.
7386
31119d63
SM
73872013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7388
931a2762
SM
7389 * vc/vc.el (vc-deduce-fileset): Change error message.
7390 (vc-read-backend): New function.
7391 (vc-next-action): Use it.
7392
5a3eb0c6
SM
7393 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7394
e3eb1bb7
SM
7395 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7396 (prolog-font-lock-keywords): Use regexp-opt instead.
7397 Don't manually highlight strings.
7398 (prolog-mode-variables): Simplify comment-start-skip.
7399 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7400
31119d63
SM
7401 * emacs-lisp/generic.el (generic--normalise-comments)
7402 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7403 (generic-mode-set-comments): Use them.
7404 (generic-bracket-support): Use setq-local.
7405 (generic-make-keywords-list): Declare obsolete.
7406
7de135d0
GM
74072013-06-11 Glenn Morris <rgm@gnu.org>
7408
7409 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7410 Prettify after setting font-lock-defaults. (Bug#14574)
7411
fa6bc6fd
JB
74122013-06-11 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * replace.el (query-replace, occur-read-regexp-defaults-function)
7415 (replace-search):
7416 * subr.el (declare-function, number-sequence, local-set-key)
7417 (substitute-key-definition, locate-user-emacs-file)
7418 (with-silent-modifications, split-string, eval-after-load):
7419 Fix typos, remove unneeded backslashes and reflow some docstrings.
7420
cf1f9b9a
SM
74212013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7424 default for Elisp files.
7425
56602a4b
GM
74262013-06-11 Glenn Morris <rgm@gnu.org>
7427
7428 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7429 although define-derived-mode was doing this anyway. (Bug#14583)
7430
30ae0b2c
JB
74312013-06-10 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7434 Fix make-variable-buffer-local call to refer to the correct variable.
7435
fa472906
AG
74362013-06-10 Aidan Gauland <aidalgol@amuri.net>
7437
7438 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7439 (eshell-visual-subcommands, eshell-visual-options):
7440 Add summary line to docstrings. Add cross-references.
fa472906 7441
ff4871b9
GM
74422013-06-10 Glenn Morris <rgm@gnu.org>
7443
7444 * epa.el (epa-read-file-name): New function. (Bug#14510)
7445 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7446
04fcf1b0
AG
74472013-06-09 Aidan Gauland <aidalgol@amuri.net>
7448
7449 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7450 output redirection to be ignored with visual commands.
7451
88b00caa
AG
74522013-06-09 Aidan Gauland <aidalgol@amuri.net>
7453
7454 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7455 (eshell-term-initialize): Move long lambda to separate function
7456 eshell-visual-command-p.
e7b41c4c
JB
7457 * eshell/em-dirs.el (eshell-dirs-initialise):
7458 * eshell/em-script.el (eshell-script-initialize):
7459 Add missing #' to lambda.
88b00caa 7460
fda74125
LL
74612013-06-08 Leo Liu <sdl.web@gmail.com>
7462
7463 * progmodes/octave.el (octave-add-log-current-defun): New function.
7464 (octave-mode): Set add-log-current-defun-function.
7465 (octave-goto-function-definition): Do not move point if not found.
7466 (octave-find-definition): Enhance to try subfunctions first.
7467
467f3b33
GM
74682013-06-08 Glenn Morris <rgm@gnu.org>
7469
7470 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7471 (byte-compile-backward-char, byte-compile-backward-word):
7472 Improve previous change, to handle non-explicit nil.
7473
544badc3
SM
74742013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7477 (smie--opener/closer-at-point): New function.
7478 (smie--matching-block-data): Use it. Don't match from right after an
7479 opener or right before a closer. Obey smie-blink-matching-inners.
7480 Don't signal a mismatch for repeated inners like "switch..case..case".
7481
a175bf33
LL
74822013-06-07 Leo Liu <sdl.web@gmail.com>
7483
7484 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7485 to t. (Bug#14303)
ce8209d4
LL
7486 (octave-function-header-regexp): Fix. (Bug#14570)
7487 (octave-help-mode-finish-hook, octave-help-mode-finish):
7488 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7489
7490 * newcomment.el (comment-search-backward): Revert last change.
7491 (Bug#14434)
7492
7493 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7494
a822acff
EZ
74952013-06-07 Eli Zaretskii <eliz@gnu.org>
7496
7497 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7498 through xargs, to avoid failure due to MS-Windows limitations on
7499 command-line length.
7500
961166f5
GM
75012013-06-06 Glenn Morris <rgm@gnu.org>
7502
d0341459
GM
7503 * font-lock.el (lisp-font-lock-keywords-2):
7504 Treat user-error like error.
7505
961166f5
GM
7506 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7507 (byte-compile-backward-char, byte-compile-backward-word):
7508 Handle explicit nil arguments. (Bug#14565)
7509
80fa505f
AM
75102013-06-05 Alan Mackenzie <acm@muc.de>
7511
7512 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7513 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7514 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7515 (Bug#9706)
80fa505f 7516
fccdc796
SM
75172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 * autorevert.el (auto-revert-notify-handler): Use memq.
7520 Hide assertion failure.
7521
7522 * skeleton.el: Use cl-lib.
7523 (skeleton-further-elements): Use defvar-local.
7524 (skeleton-insert): Use cl-progv.
7525
9bfff84b
TZ
75262013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7527
7528 * progmodes/prog-mode.el (prog-prettify-symbols)
7529 (prog-prettify-install): Update docstrings.
7530
55577e7c
SM
75312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * simple.el: Move all the prog-mode code to prog-mode.el.
7534 * progmodes/prog-mode.el: New file.
7535 * loadup.el: Add prog-mode.el.
7536
8fc57765
TZ
75372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7538
7539 * simple.el (prog-prettify-symbols): Add version.
7540 (prog-prettify-install): Add convenience function to prettify symbols.
7541
7542 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7543 (perl--augmented-font-lock-keywords-1)
7544 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7545 variables and use it.
7546
7547 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7548 (cfengine3-mode): Remove unneeded variable and use it.
7549
7550 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7551 (lisp--augmented-font-lock-keywords-1)
7552 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7553 Remove unneeded variables and use it.
7554
650645d5 75552013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7556
7557 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7558 to point when opening the connection. (Bug#14380)
28f5da6d 7559
781b4af6
SM
75602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * subr.el (load-history-regexp, load-history-filename-element)
7563 (eval-after-load, after-load-functions, do-after-load-evaluation)
7564 (eval-next-after-load, display-delayed-warnings)
7565 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7566 definition of save-match-data.
7567 (overriding-local-map): Remove accidental obsolescence declaration.
7568
7569 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7570
3ca0d0b4
TZ
75712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7572
7573 Generalize symbol prettify support to prog-mode and implement it
7574 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7575 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7576 (prog--prettify-font-lock-compose-symbol)
7577 (prog-prettify-font-lock-symbols-keywords): New variables and
7578 functions to support symbol prettification.
7579 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7580 (lisp--augmented-font-lock-keywords-1)
7581 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7582 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7583 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7584 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7585 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7586 * progmodes/perl-mode.el (perl-prettify-symbols)
7587 (perl--font-lock-compose-symbol)
7588 (perl--font-lock-symbols-keywords): Move to prog-mode.
7589 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7590 (perl-font-lock-keywords-1)
7591 (perl-font-lock-keywords-2): Remove explicit prettify support.
7592 (perl--augmented-font-lock-keywords)
7593 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7594 (perl--augmented-font-lock-keywords-2, perl-mode):
7595 Implement prettify support.
3ca0d0b4 7596
976cb066
LL
75972013-06-05 Leo Liu <sdl.web@gmail.com>
7598
7599 Re-implement smie matching block highlight using
7600 show-paren-data-function. (Bug#14395)
7601 * emacs-lisp/smie.el (smie-matching-block-highlight)
7602 (smie--highlight-matching-block-overlay)
7603 (smie--highlight-matching-block-lastpos)
7604 (smie-highlight-matching-block)
7605 (smie-highlight-matching-block-mode): Remove.
7606 (smie--matching-block-data-cache): New variable.
7607 (smie--matching-block-data): New function.
7608 (smie-setup): Use smie--matching-block-data for
7609 show-paren-data-function.
7610
7611 * progmodes/octave.el (octave-mode-menu): Fix.
7612 (octave-find-definition): Skip garbage lines.
7613
208d0342
SM
76142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 Fix compilation error with simultaneous dynamic+lexical scoping.
7617 Add warning when a defvar appears after the first let-binding.
7618 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7619 (byte-compile-close-variables): Initialize it.
7620 (byte-compile--declare-var): New function.
7621 (byte-compile-file-form-defvar)
7622 (byte-compile-file-form-define-abbrev-table)
7623 (byte-compile-file-form-custom-declare-variable): Use it.
7624 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7625 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7626 (byte-compile-bind): Handle dynamic bindings that shadow
7627 lexical bindings.
7628 (byte-compile-unbind): Make arg non-optional.
7629 (byte-compile-let): Simplify.
7630 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7631 (cconv--analyse-function, cconv-analyse-form): Populate it.
7632 Protect byte-compile-bound-variables to limit the scope of defvars.
7633 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7634 Remove unneeded rule for `declare'.
7635
7636 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7637 so as to avoid depending on cl-adjoin at run-time.
7638 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7639
7640 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7641 (macroexp--warn-and-return): Use it.
7642
1ac2891e
GM
76432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * lisp/subr.el: Convert to lexical binding.
7646 (overriding-local-map): Make obsolete.
7647 (add-to-list): Doc fix. Add compiler macro.
7648 (read-key): Swap values of local maps.
7649
2587b005
LL
76502013-06-05 Leo Liu <sdl.web@gmail.com>
7651
7652 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7653
f1da3c88
LL
76542013-06-04 Leo Liu <sdl.web@gmail.com>
7655
7656 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7657 (compilation-auto-jump): Suppress the "Mark set" message to give
7658 way to exit message.
7659
3caa391f
AM
76602013-06-04 Alan Mackenzie <acm@muc.de>
7661
7662 Remove faulty optimisation from indentation calculation.
7663 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7664 search limit based on 2000 characters back from indent-point.
7665
068922a2
TH
76662013-06-03 Tassilo Horn <tsdh@gnu.org>
7667
7668 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7669
1f8fdd53
SM
76702013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7671
bbcc4d97
SM
7672 * emacs-lisp/lisp.el: Use lexical-binding.
7673 (lisp--local-variables-1, lisp--local-variables): New functions.
7674 (lisp--local-variables-completion-table): New var.
208d0342 7675 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7676
1f8fdd53
SM
7677 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7678 eagerly (bug#14422).
7679
c9628c79
MA
76802013-06-03 Michael Albinus <michael.albinus@gmx.de>
7681
7682 * autorevert.el (auto-revert-notify-enabled)
7683 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7684 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7685 (auto-revert-notify-handler): Handle also gfilenotify.
7686
e7b41c4c 7687 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7688 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7689 Remove.
c9628c79 7690
e5e4a942
JL
76912013-06-03 Juri Linkov <juri@jurta.org>
7692
7693 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7694 `M-s h .'. (Bug#14427)
7695
7696 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7697 command `hi-lock-face-symbol-at-point'.
7698 (hi-lock-face-symbol-at-point): New command.
7699 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7700 (hi-lock-menu): Add `highlight-symbol-at-point'.
7701 (hi-lock-mode): Doc fix.
7702
7703 * isearch.el (isearch-forward-symbol-at-point): New command.
7704 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7705 (isearch-highlight-regexp): Add a regexp which matches
7706 words/symbols for word/symbol mode.
7707
7708 * subr.el (find-tag-default-bounds): New function with the body
7709 mostly moved from `find-tag-default'.
7710 (find-tag-default): Move most code to `find-tag-default-bounds',
7711 call it and apply `buffer-substring-no-properties' afterwards.
7712
26b3353a
TH
77132013-06-03 Tassilo Horn <tsdh@gnu.org>
7714
781b4af6
SM
7715 * eshell/em-term.el (eshell-term-initialize):
7716 Use `cl-intersection' rather than `intersection'.
26b3353a 7717
51b60f53
XF
77182013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7719
fe054b63 7720 * vc/log-view.el: Doc fix.
d3ffe17c 7721 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7722
a0eb10b3 77232013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7724
7725 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7726 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7727 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7728 (eieio-unbound, eieio-default-superclass)
7729 (eieio--define-field-accessors, method-static, method-before)
7730 (method-primary, method-after, method-num-lists)
7731 (method-generic-before, method-generic-primary)
7732 (method-generic-after, method-num-slots)
7733 (eieio-specialized-key-to-generic-key)
7734 (eieio--check-type, class-v, class-p)
7735 (eieio-class-name, define-obsolete-function-alias)
7736 (eieio-class-parents-fast, eieio-class-children-fast)
7737 (same-class-fast-p, class-constructor, generic-p)
7738 (generic-primary-only-p, generic-primary-only-one-p)
7739 (class-option-assoc, class-option, eieio-object-p)
7740 (class-abstract-p, class-method-invocation-order)
7741 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7742 (eieio-class-un-autoload, eieio-defclass)
7743 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7744 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7745 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7746 (eieio-defgeneric-reset-generic-form)
7747 (eieio-defgeneric-form-primary-only)
7748 (eieio-defgeneric-reset-generic-form-primary-only)
7749 (eieio-defgeneric-form-primary-only-one)
7750 (eieio-defgeneric-reset-generic-form-primary-only-one)
7751 (eieio-unbind-method-implementations)
7752 (eieio--defmethod, eieio--typep)
7753 (eieio-perform-slot-validation, eieio-validate-slot-value)
7754 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7755 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7756 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7757 (eieio-slot-name-index, eieio-class-slot-name-index)
7758 (eieio-set-defaults, eieio-initarg-to-attribute)
7759 (eieio-attribute-to-initarg, eieio-c3-candidate)
7760 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7761 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7762 (eieio-class-precedence-list, eieio-generic-call-methodname)
7763 (eieio-generic-call-arglst, eieio-generic-call-key)
7764 (eieio-generic-call-next-method-list)
7765 (eieio-pre-method-execution-functions, eieio-generic-call)
7766 (eieio-generic-call-primary-only, eieiomt-method-list)
7767 (eieiomt-optimizing-obarray, eieiomt-install)
7768 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7769 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7770 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7771 (defclass): Remove `eval-and-compile' from macro.
7772 (call-next-method, shared-initialize): Instead of using
7773 `scoped-class' variable, use new eieio--scoped-class, and
7774 eieio--with-scoped-class.
7775 (initialize-instance): Rename local variable 'scoped-class' to
7776 'this-class' to remove ambiguitity from old global.
7777
7778 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7779 eieio.el.
4f405069
JB
7780 (eieio--scoped-class-stack): New variable.
7781 (eieio--scoped-class): New fcn.
890f7890
DE
7782 (eieio--with-scoped-class): New scoping macro.
7783 (eieio-defclass): Use pushnew instead of add-to-list.
7784 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7785 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7786 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7787 `scoped-class' variable, use new eieio--scoped-class, and
7788 eieio--with-scoped-class.
7789
7790 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7791
d105b0e2
TH
77922013-06-02 Tassilo Horn <tsdh@gnu.org>
7793
7794 * eshell/esh-ext.el (eshell-external-command): Pass args to
7795 `eshell-find-interpreter'.
7796 (eshell-find-interpreter): Add new second parameter ARGS.
7797
7798 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7799 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7800
7801 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7802 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7803
7804 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7805 (eshell-visual-options): New defcustom.
7806 (eshell-escape-control-x): Adapt docstring.
7807 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7808 `eshell-visual-options' in addition to `eshell-visual-commands'.
7809 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7810
f46305c8 78112013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7812
7813 * progmodes/python.el (python-indent-block-enders): Add break,
7814 continue and raise keywords.
7815
d870df21
GM
78162013-06-01 Glenn Morris <rgm@gnu.org>
7817
9133b82e
GM
7818 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7819
02c992ec 7820 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7821 * progmodes/cc-cmds.el (delete-forward-p):
7822 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7823 * progmodes/cc-engine.el (buffer-syntactic-context):
7824 * progmodes/cc-fonts.el (face-property-instance):
7825 * progmodes/cc-mode.el (set-keymap-parents):
7826 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7827 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7828 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7829 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7830 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7831
31e7b090
GM
7832 * progmodes/cc-vars.el (other): Emacs has this widget since
7833 at least 21.1, so don't (re)define it.
7834
d870df21
GM
7835 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7836 Replace the obsolete alias pcomplete-arg-quote-list.
7837
c75c93c7
LL
78382013-06-01 Leo Liu <sdl.web@gmail.com>
7839
7840 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7841 punctuation syntax.
7842 (inferior-octave-minimal-columns)
7843 (inferior-octave-last-column-width): New variables.
7844 (inferior-octave-track-window-width-change): New function.
7845 (inferior-octave-mode): Adjust column width so that Octave output,
7846 for example from 'ls', can fit into the window nicely.
7847
973d1e12
DG
78482013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7849
7850 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7851 Highlight expansions inside regexp literals.
7852
0888c286
GM
78532013-05-31 Glenn Morris <rgm@gnu.org>
7854
e26aac1f
GM
7855 * obsolete/sym-comp.el (symbol-complete):
7856 Replace obsolete completion-annotate-function.
7857
0888c286
GM
7858 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7859
19bb8e62
DG
78602013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7861
781b4af6
SM
7862 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7863 New function, checks if point is inside a literal that allows
19bb8e62
DG
7864 expression expansion.
7865 (ruby-syntax-propertize-expansion): Use it.
7866 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7867 around the body.
7868
01dea85f
JL
78692013-05-30 Juri Linkov <juri@jurta.org>
7870
7871 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7872 to "\M-si".
7873 (isearch-invisible): New variable.
7874 (isearch-forward): Doc fix.
7875 (isearch-mode): Set `isearch-invisible'
7876 to the value of `search-invisible'.
7877 (isearch-toggle-case-fold): Doc fix.
7878 (isearch-toggle-invisible): New command.
7879 (isearch-query-replace): Let-bind `search-invisible'
7880 to the value of `isearch-invisible'.
7881 (isearch-search): Use `isearch-invisible' instead of
7882 `search-invisible'. Let-bind `search-invisible'
7883 to the value of `isearch-invisible'. (Bug#11378)
7884
ab1bdce5
JL
78852013-05-30 Juri Linkov <juri@jurta.org>
7886
7887 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7888 call when `query-flag' is nil and `search-invisible' is non-nil.
7889 (Bug#11746)
7890
d6d236e2
GM
78912013-05-30 Glenn Morris <rgm@gnu.org>
7892
8accd027
GM
7893 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7894
2a8bed1c
GM
7895 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7896 (cc-require): Suppress spurious "noruntime" warnings.
7897 (cc-require-when-compile): Use fboundp, for sake of compiler.
7898
d6d236e2
GM
7899 * progmodes/cc-mode.el: Move load of cc-vars before that of
7900 cc-langs (which in turn loads cc-vars), to quieten compiler.
7901
9190b35b
SM
79022013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * paren.el: Simplify the code.
7905 (show-paren-mode): Always start the timer.
7906 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7907 (show-paren--overlay, show-paren--overlay-1): Rename from
7908 show-paren-overlay and show-paren-overlay-1, and initialize to an
7909 overlay rather than to nil.
7910 (show-paren-function): Misc cleanup and simplifications.
7911
4f8d1cf6
SM
79122013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * paren.el (show-paren-data-function): New hook.
7915 (show-paren--default): New function, extracted from show-paren-function.
7916 (show-paren-function): Use show-paren-data-function.
7917
02d844b5
GM
79182013-05-30 Glenn Morris <rgm@gnu.org>
7919
d209d4a9
GM
7920 * ielm.el (ielm-map, ielm-complete-symbol):
7921 Use completion-at-point rather than obsolete functions.
7922 (inferior-emacs-lisp-mode): Doc fix.
7923 Set completion-at-point-functions, rather than
7924 comint-dynamic-complete-functions.
7925
2082faa6
GM
7926 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7927 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7928 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7929
dd8620de
GM
7930 * image.el (image-animated-p): Tweak definition.
7931
ceca95b1
GM
7932 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7933 (rlogin-process-connection-type): Tweak default. Add set-after.
7934 (rlogin-host): Doc fix.
7935 (rlogin): Tweak prompt.
7936 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7937
ee9f1acc
GM
7938 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7939 * progmodes/tcl.el (inferior-tcl-mode-map):
7940 Use completion-at-point rather than obsolete alias.
7941
45ce222e
GM
7942 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7943
02d844b5
GM
7944 * minibuffer.el (read-file-name-completion-ignore-case):
7945 Move before completion--in-region, for eager macro expansion.
7946
ac44d6c1
JL
79472013-05-29 Juri Linkov <juri@jurta.org>
7948
7949 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7950 for total count of matching lines. Add `global-matches' for total
7951 count of matches. Rename `matches' to `lines' for count of
7952 matching lines. Add `matches' for count of matches.
7953 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7954 to `prev-line' for line number of prev match endpt.
7955 Increment `matches' for every match. Print the number of
7956 matching lines in the header.
7957 (occur-context-lines): Rename `lines' to `curr-line'.
7958 Rename `prev-lines' to `prev-line'. (Bug#14017)
7959
3c9c9d38
JL
79602013-05-29 Juri Linkov <juri@jurta.org>
7961
7962 * replace.el (perform-replace): Add `skip-read-only-count',
7963 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7964 Increment them for corresponding conditions and report the number
7965 of skipped occurrences in the final message. (Bug#11746)
7966 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7967 (replace-string, replace-regexp): Doc fix.
7968
33e249a2
SM
79692013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7970
8e399682
SM
7971 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7972
33e249a2 7973 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7974 prog-mode-map (bug#14504).
33e249a2 7975
f236dd84
LL
79762013-05-29 Leo Liu <sdl.web@gmail.com>
7977
7978 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7979 (octave-help): Small simplification.
7980
7981 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7982 off the highlight first.
7983
3694d13f
GM
79842013-05-29 Glenn Morris <rgm@gnu.org>
7985
03983bdc
GM
7986 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7987 Handle idlwave-last-system-routine-info-cons-cell being nil.
7988
bc74a74a
GM
7989 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7990 (idlwave-write-paths): Simplify via with-temp-buffer.
7991
8b394200
GM
7992 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7993 * emulation/cua-rect.el: Also load cua-base at run time.
7994
3694d13f
GM
7995 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7996 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7997 (cperl-imenu-on-info): Require imenu.
7998
336d7284
AM
79992013-05-28 Alan Mackenzie <acm@muc.de>
8000
8001 Handle "capitalised keywords" correctly.
33e249a2 8002 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8003
cb29c582
AG
80042013-05-28 Aidan Gauland <aidalgol@amuri.net>
8005
781b4af6 8006 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8007
690e44b2
GM
80082013-05-28 Glenn Morris <rgm@gnu.org>
8009
e658d75c
GM
8010 * vc/vc-arch.el (vc-exec-after): Declare.
8011 (vc-switches): Autoload.
8012 * vc/vc-bzr.el: No need to require vc when compiling.
8013 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8014 (vc-resynch-buffer, vc-dir-refresh): Declare.
8015 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8016 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8017 (vc-resynch-buffer): Declare.
8018 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8019 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8020 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8021 (grep-read-regexp, grep-read-files, grep-expand-template)
8022 (vc-dir-refresh): Declare.
8023 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8024 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8025 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8026 * vc/vc-mtn.el (vc-exec-after): Declare.
8027 (vc-switches): Autoload.
8028 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8029 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8030 (vc-file-tree-walk): Declare.
712b9732
GM
8031 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8032 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8033 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8034 * vc/vc-svn.el (vc-exec-after): Declare.
8035 (vc-switches, vc-setup-buffer): Autoload.
8036 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8037 Autoload.
8038 (vc-resynch-buffer): Declare.
8039
98e87fb3
GM
8040 * obsolete/fast-lock.el (byte-compile-warnings):
8041 Don't warn about obsolete features in this obsolete file.
8042
f5379553
GM
8043 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8044 Move definition before use.
8045
7a20ef83
GM
8046 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8047 (dun-unix-verbs): Remove dun-zippy.
8048 (dun-zippy): Remove function.
8049
690e44b2
GM
8050 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8051
3a52ccf7
JL
80522013-05-27 Juri Linkov <juri@jurta.org>
8053
8054 * replace.el (replace-search): New function with code moved out
8055 from `perform-replace'.
8056 (replace-highlight, replace-dehighlight): Move function definitions
8057 up closer to `replace-search'. (Bug#11746)
8058
d289938a
JL
80592013-05-27 Juri Linkov <juri@jurta.org>
8060
8061 * replace.el (perform-replace): Ignore invisible matches.
8062 In addition to checking `query-replace-skip-read-only', also
8063 filter out matches by calling `run-hook-with-args-until-failure'
8064 on `isearch-filter-predicates', and also check `search-invisible'
8065 for t or call `isearch-range-invisible'.
8066 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8067
66fc57e3
JL
80682013-05-27 Juri Linkov <juri@jurta.org>
8069
8070 * isearch.el (isearch-filter-predicates): Rename from
8071 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8072 (isearch-message-prefix): Display text from the property
8073 `isearch-message-prefix' of the currently active filters.
8074 (isearch-search): Don't compare `isearch-filter-predicate' with
8075 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8076 on `isearch-filter-predicates'. Also check `search-invisible' for t
8077 or call `isearch-range-invisible'.
8078 (isearch-filter-visible): Make obsolete.
8079 (isearch-lazy-highlight-search):
8080 Call `run-hook-with-args-until-failure' on
8081 `isearch-filter-predicates' and use `isearch-range-invisible'.
8082
8083 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8084 `isearch-filter-predicates' instead of `funcall'ing
8085 `isearch-filter-predicate'.
8086 (Info-mode): Set `Info-isearch-filter' to
8087 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8088
8089 * dired-aux.el (dired-isearch-filter-predicate-orig):
8090 Remove variable.
8091 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8092 (dired-isearch-filenames-end): Add and remove
8093 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8094 instead of changing the value of `isearch-filter-predicate'.
8095 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8096 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8097 Put property `isearch-message-prefix' to "filename " on
8098 `dired-isearch-filter-filenames'.
8099
8100 * wdired.el (wdired-change-to-wdired-mode):
8101 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8102 locally instead of changing `isearch-filter-predicate'.
8103 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8104
f1a60a0f
DG
81052013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8106
8107 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8108 return the commit hash (Bug#14459). Also set the
8109 `vc-git-detached' property.
8110 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8111 (vc-git-mode-line-string): Use the same help-echo format whether
8112 in detached mode or not, because we know the actual revision now.
8113 When in detached mode, shorten the revision to 7 chars.
8114
7f17cc40
SM
81152013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * emacs-lisp/easy-mmode.el (define-minor-mode):
8118 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8119 mode hook and provide a docstring.
8120
25c8401c
AM
81212013-05-27 Alan Mackenzie <acm@muc.de>
8122
8123 Remove spurious syntax-table text properties inserted by C-y.
8124 * progmodes/cc-mode.el (c-after-change): Also clear hard
8125 syntax-table property with value nil.
8126
dde84790
MA
81272013-05-27 Michael Albinus <michael.albinus@gmx.de>
8128
8129 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8130 when reading the events; the buffer layout shall not be changed.
8131
837fd9af
LL
81322013-05-27 Leo Liu <sdl.web@gmail.com>
8133
8134 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8135 New variable.
8136 (inferior-octave-directory-tracker): Automatically re-sync
8137 default-directory.
8138 (octave-help): Improve handling of 'See also'.
8139
4fd996b3
SM
81402013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8141
416f1802
SM
8142 * doc-view.el: Minor naming convention tweaks.
8143 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8144
4fd996b3
SM
8145 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8146 even if there's no `display' property yet (bug#14435).
8147
a052ef3b
EZ
81482013-05-25 Eli Zaretskii <eliz@gnu.org>
8149
4fd996b3 8150 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8151
8152 * Makefile.in (custom-deps, finder-data, autoloads)
8153 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8154 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8155 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8156
c9023370
SM
81572013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8160 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8161 Don't burp at EOB.
c9023370 8162
24d699fa
LL
81632013-05-25 Leo Liu <sdl.web@gmail.com>
8164
8165 * comint.el (comint-previous-matching-input): Do not flood the
8166 *Messages* buffer with trivial messages.
8167
17e5c0cc
SM
81682013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * progmodes/flymake.el (flymake-nop): Don't return a string.
8171 (flymake-set-at): Fix typo.
8172
8173 * simple.el (read--expression): New function, extracted from
8174 eval-expression. Set completion-at-point-functions (bug#14465).
8175 (eval-expression, eval-minibuffer): Use it.
8176
5d028165
XF
81772013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8178
8179 * progmodes/flymake.el (flymake-save-buffer-in-file)
8180 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8181 (flymake-selected-frame, flymake-log, flymake-ins-after)
8182 (flymake-set-at, flymake-get-buildfile-from-cache)
8183 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8184 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8185 Refine the doc string.
8186 (flymake-get-file-name-mode-and-masks): Reformat.
8187 (flymake-get-real-file-name-function): Fix a minor bug.
8188
7a1d7ba7
JL
81892013-05-24 Juri Linkov <juri@jurta.org>
8190
8191 * progmodes/grep.el (grep-mode-font-lock-keywords):
8192 Support =linenumber= format used by git-grep for lines with
8193 function names. (Bug#13549)
8194
650cff3d
SM
81952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8198 0 after a semi-colon; it works better for smie-auto-fill.
8199 (octave--indent-new-comment-line): New function.
8200 (octave-indent-new-comment-line): Use it (indirectly).
8201 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8202 modify comment-line-break-function.
8203
8204 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8205 (smie-setup): Use add-function to set it.
8206
9631677d
SS
82072013-05-24 Sam Steingold <sds@gnu.org>
8208
8209 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8210 argument (before the `interactive' argument).
8211
50105835
SM
82122013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * image-mode.el (image-mode-winprops): Add winprops to
8215 image-mode-winprops-alist before running
8216 image-mode-new-window-functions.
8217 * doc-view.el (doc-view-new-window-function): Don't delay
8218 doc-view-goto-page via timers (bug#14435).
8219
57b9823e
TH
82202013-05-24 Tassilo Horn <tsdh@gnu.org>
8221
8222 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8223 (doc-view-desktop-save-buffer): New function.
8224 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8225 (desktop-buffer-mode-handlers):
8226 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8227 handler.
8228 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8229 `desktop-save-buffer' function.
8230
91aafa16
MA
82312013-05-24 Michael Albinus <michael.albinus@gmx.de>
8232
8233 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8234 (tramp-gvfs-file-name-handler): Raise a user error when
8235 `tramp-gvfs-enabled' is nil.
8236 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8237 Do not raise a user error when loading package. (Bug#14447)
8238
ec076379
MA
8239 * net/xesam.el: Move to obsolete/.
8240
db785726
GM
82412013-05-24 Glenn Morris <rgm@gnu.org>
8242
af5c7606
GM
8243 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8244
e5d1916a
GM
8245 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8246
ded62b08
GM
8247 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8248 (Info-find-node, Man-getpage-in-background): Declare.
8249
9e614a3f
GM
8250 * mail/unrmail.el (unrmail):
8251 Replace obsolete detect-coding-with-priority.
8252
892f8ca3
GM
8253 * net/socks.el (socks-split-string): Use this rather than split-string.
8254 (socks-nslookup-host): Update for above change.
8255 (dynamic-choice, s5-dynamic-choice-match)
8256 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8257 Comment out unused code.
8258
3c291973
GM
8259 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8260 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8261 (gud-tooltip-echo-area): Make obsolete.
8262 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8263
43cc956b
GM
8264 * progmodes/js.el (js--optimize-arglist): Declare.
8265
dab49a3b
GM
8266 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8267
36b9d085
GM
8268 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8269 (ediff-window-C): Declare.
8270
e354ae76
GM
8271 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8272 Tweak requires to silence compiler.
8273
b8e57bf4
GM
8274 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8275 (he-search-string, he-tried-table, he-expand-list)
8276 (he-init-string, he-string-member, he-substitute-string)
8277 (he-reset-string): Declare.
8278
db785726
GM
8279 * obsolete/options.el (list-options): Use custom-variable-p,
8280 rather than obsolete alias.
8281
b3531901
SS
82822013-05-23 Sam Steingold <sds@gnu.org>
8283
8284 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8285 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8286 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8287
bdda4c66
SM
82882013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * emacs-lisp/smie.el (smie-indent-forward-token)
8291 (smie-indent-backward-token): Handle string tokens (bug#14381).
8292
c43d45f9
TH
82932013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8294
fe1eb856
RS
8295 * ielm.el (ielm-menu): New menu.
8296 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8297
fe1eb856
RS
82982013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8299
8300 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8301 Fix deactivate action.
8302
8303 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8304 Add cleveref macros.
074dd971 8305
c43d45f9
TH
8306 * lisp/textmodes/reftex-parse.el
8307 (reftex-locate-bibliography-files): Accept options for
8308 bibliography commands.
8309 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8310 Add addbibresource. Basic Biblatex support.
8311
7764286e
MA
83122013-05-23 Michael Albinus <michael.albinus@gmx.de>
8313
8314 * net/tramp-gvfs.el (top):
8315 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8316 when loading package. (Bug#14447)
8317
d361bc10
GM
83182013-05-23 Glenn Morris <rgm@gnu.org>
8319
8fa23984
GM
8320 * progmodes/js.el: No need to load comint when compiling.
8321 (ring-insert, comint-send-string, comint-send-input)
8322 (comint-last-input-end, ido-chop): Declare.
8323
a5c7df1a
GM
8324 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8325 * vc/ediff-mult.el: Adjust requires.
8326 (ediff-directories-internal, ediff-directory-revisions-internal)
8327 (ediff-patch-file-internal): Declare.
8328 * vc/ediff-ptch.el: Adjust requires.
8329 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8330 (ediff-find-file): Autoload.
8331 * vc/ediff-util.el: No need to load ediff when compiling.
8332 (ediff-regions-internal): Declare.
8333 * vc/ediff-wind.el: Adjust requires.
8334 (ediff-compute-toolbar-width): Define when compiling.
8335 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8336 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8337 (dired-get-filename, dired-get-marked-files)
8338 (ediff-last-dir-patch, ediff-patch-default-directory)
8339 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8340 (ediff-patch-buffer-internal): Declare.
8341
e2aec513
GM
8342 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8343 (ispell-process, ispell-buffer-local-words, lm-summary)
8344 (lm-section-start, lm-section-end): Declare.
8345 (checkdoc-ispell-init): Simplify.
8346
e68bbd7c
GM
8347 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8348 (he-string-member, he-reset-string, he-substitute-string): Declare.
8349
7efe0991
GM
8350 * eshell/em-ls.el: Adjust requires.
8351 (eshell-glob-regexp): Declare.
f87b1284
GM
8352 * eshell/em-tramp.el: Adjust requires.
8353 (eshell-parse-command): Autoload.
8354 * eshell/em-xtra.el: Adjust requires.
8355 (eshell-parse-command): Autoload.
8356 * eshell/esh-ext.el: Adjust requires.
8357 (eshell-parse-command, eshell-close-handles): Autoload.
8358 * eshell/esh-io.el: Adjust requires.
8359 (eshell-output-filter): Autoload.
8360 * eshell/esh-util.el: No need to load tramp when compiling.
8361 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8362 Declare.
8363 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8364 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8365 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8366 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8367 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8368 * eshell/esh-opt.el, eshell/esh-proc.el:
8369 * eshell/esh-var.el: Adjust requires.
8370 * eshell/eshell.el: Do not require esh-util twice.
8371 (eshell-add-input-to-history): Declare.
8372 (eshell-command): Check history module is active before using it.
8373
d361bc10
GM
8374 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8375
85d090a9
LL
83762013-05-22 Leo Liu <sdl.web@gmail.com>
8377
8378 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8379
5d0acd9d
MA
83802013-05-22 Michael Albinus <michael.albinus@gmx.de>
8381
8382 * autorevert.el (auto-revert-notify-add-watch)
8383 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8384 it indicates changes in file modification time.
8385
0cdffd7d
GM
83862013-05-22 Glenn Morris <rgm@gnu.org>
8387
ca5995ec
GM
8388 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8389 Always delete the autoloaded function from the noruntime and
8390 unresolved functions lists.
8391
6450907e
GM
8392 * allout.el: No need to load epa, epg, overlay when compiling.
8393 (epg-context-set-passphrase-callback, epg-list-keys)
8394 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8395 (epg-key-user-id-list): Declare.
8396
9c6906f6
GM
8397 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8398 (viper-set-parsing-style-toggling-macro)
8399 (viper-set-emacs-state-searchstyle-macros):
8400 Use called-interactively-p on Emacs.
8401 (viper-looking-back): Make it an obsolete alias. Update callers.
8402 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8403 Use looking-back rather than viper-looking-back.
8404 (viper-tmp-insert-at-eob, viper-enlarge-region)
8405 (viper-read-string-with-history, viper-register-to-point)
8406 (viper-append-to-register, viper-change-state-to-vi)
8407 (viper-backward-char-carefully, viper-forward-char-carefully)
8408 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8409 (viper-change-state-to-emacs): Declare.
8410 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8411 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8412 * emulation/viper-mous.el: Do not load viper-cmd.
8413 (viper-backward-char-carefully, viper-forward-char-carefully)
8414 (viper-forward-word, viper-adjust-window): Declare.
8415
5f70c169
GM
8416 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8417
b1b7f300
GM
8418 * progmodes/idlw-help.el (idlwave-help-fontify):
8419 Use called-interactively-p.
8420
f6ebbb46
GM
8421 * term/w32console.el (w32-get-console-codepage)
8422 (w32-get-console-output-codepage): Declare.
8423
0cdffd7d
GM
8424 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8425 Remove unnecessary declarations.
8426 (dframe-message): Doc fix.
8427
8428 * info.el (dframe-select-attached-frame, dframe-current-frame):
8429 Declare.
8430
8431 * speedbar.el (speedbar-message): Make it an obsolete alias.
8432 Update all callers.
8433 (speedbar-with-attached-buffer)
8434 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8435 (speedbar-with-writable): Use backquote.
8436 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8437 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8438 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8439 rather than speedbar- aliases.
8440 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8441 (speedbar-make-specialized-keymap, speedbar-insert-button)
8442 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8443 (speedbar-do-function-pointer): Declare.
8444 (rmail-speedbar-button, rmail-speedbar-find-file)
8445 (rmail-speedbar-move-message):
8446 Use dframe-with-attached-buffer rather than speedbar- alias.
8447 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8448 (dframe-message, speedbar-make-specialized-keymap)
8449 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8450 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8451 (speedbar-insert-button, dframe-select-attached-frame)
8452 (dframe-maybee-jump-to-attached-frame)
8453 (speedbar-change-initial-expansion-list)
8454 (speedbar-previously-used-expansion-list-name): Declare.
8455 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8456 Use dframe-message, dframe-with-attached-buffer rather than
8457 speedbar- aliases.
8458 (gud-sentinel): Silence compiler.
8459 * progmodes/vhdl-mode.el (speedbar-refresh)
8460 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8461 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8462 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8463 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8464 (speedbar-file-lists, speedbar-make-tag-line)
8465 (speedbar-line-directory, speedbar-goto-this-file)
8466 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8467 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8468 (speedbar-make-button, speedbar-reset-scanners)
8469 (speedbar-files-item-info, speedbar-line-text)
8470 (speedbar-find-file-in-frame, speedbar-set-timer)
8471 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8472 (speedbar-with-writable): Do not (re)define it.
8473 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8474 rather than speedbar- alias.
8475
ee44b62a
LL
84762013-05-21 Leo Liu <sdl.web@gmail.com>
8477
8478 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8479 menu items.
8480 (octave-mode): Tweak fill-nobreak-predicate.
8481 (inferior-octave-startup): Check process to avoid infinite loop.
8482 (inferior-octave): Pop to buffer first to show abornmal process
8483 exit information.
8484
640f050f
GM
84852013-05-21 Glenn Morris <rgm@gnu.org>
8486
79458038
GM
8487 * printing.el (pr-menu-bar): Define when compiling.
8488
9cc3e83f
LL
84892013-05-21 Leo Liu <sdl.web@gmail.com>
8490
8491 * progmodes/octave.el (octave-auto-fill): Remove.
8492 (octave-indent-new-comment-line): Improve.
8493 (octave-mode): Use auto fill mode through
4f405069 8494 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8495 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8496 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8497 (octave-help): Show parent directory.
8498
f440830d
GM
84992013-05-21 Glenn Morris <rgm@gnu.org>
8500
8501 * files.el (dired-unmark):
8502 * progmodes/gud.el (gdb-input): Update declarations.
8503
8504 * calculator.el (electric, ehelp): No need to load when compiling.
8505 (Electric-command-loop, electric-describe-mode): Declare.
8506
8507 * doc-view.el (doc-view-current-converter-processes): Move before use.
8508
8509 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8510 Move MODE-set-explicitly definition before use.
8511
8512 * international/mule-diag.el (mule-diag):
8513 Don't use obsolete window-system-version.
8514
8515 * mail/feedmail.el (smtpmail): No need to load when compiling.
8516 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8517
8518 * mail/mail-utils.el (rfc822): No need to load when compiling.
8519 (rfc822-addresses): Autoload it.
8520 (mail-strip-quoted-names): Trivial simplification.
8521
8522 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8523 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8524
8525 * net/snmp-mode.el (tempo): Don't duplicate requires.
8526
8527 * progmodes/prolog.el (info): No need to load when compiling.
8528 (comint): Require before shell requires it.
8529 (Info-goto-node): Autoload it.
8530 (Info-follow-nearest-node): Declare.
8531 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8532
8533 * textmodes/artist.el (picture-mode-exit): Declare.
8534
8535 * textmodes/reftex-parse.el (reftex-parse-from-file):
8536 Trivial rewrite so the compiler can parse it better.
8537
b4da2cbb
LL
85382013-05-20 Leo Liu <sdl.web@gmail.com>
8539
8540 * progmodes/octave.el (octave-help-mode-map)
8541 (octave-help-mode-finish-hook): New variables.
8542 (octave-help-mode, octave-help-mode-finish): New functions.
8543 (octave-help): Use octave-help-mode.
8544
33c0f65b
GM
85452013-05-20 Glenn Morris <rgm@gnu.org>
8546
8547 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8548
1a0a0a8a
DG
85492013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8550
8551 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8552 start at point, so that expansion starting right after opening
8553 slash in a regexp is recognized.
8554 (ruby-syntax-before-regexp-re): New defvar, extracted from
8555 ruby-syntax-propertize-function. Since the value of this regexp
8556 is looked up at runtime now, we should be able to turn
8557 `ruby-syntax-methods-before-regexp' into a defcustom later.
8558 (ruby-syntax-propertize-function): Split regexp matching into two
8559 parts, for opening and closing slashes. That allows us to skip
8560 over string interpolations and support multiline regexps.
8561 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8562 for them, which calls `ruby-syntax-propertize-expansion'.
8563 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8564 call to `ruby-syntax-propertize-function'.
8565 (ruby-syntax-propertize-expansion): Extracted from
8566 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8567 (ruby-syntax-propertize-percent-literal): Leave point right after
8568 the percent symbol, so that the expression expansion rule can
8569 propertize the contents.
462388b6
DG
8570 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8571 heredoc openers.
8572 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8573
c1a6c0a4
JL
85742013-05-18 Juri Linkov <juri@jurta.org>
8575
8576 * man.el (Man-default-man-entry): Remove `-' from the end
8577 of the default value. (Bug#14400)
8578
8051fccd
GM
85792013-05-18 Glenn Morris <rgm@gnu.org>
8580
8581 * comint.el (comint-password-prompt-regexp):
8582 Allow "password for XXX" where XXX contains colons (eg https://...).
8583
5e80b74f
LL
85842013-05-18 Leo Liu <sdl.web@gmail.com>
8585
8586 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8587 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8588 (octave-source-directories): Don't check process.
8589 (octave-source-directories, octave-find-definition): Doc fix.
8590
521a54c5
GM
85912013-05-18 Glenn Morris <rgm@gnu.org>
8592
86a94b05
GM
8593 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8594 Remove backspace/delete bindings. (Bug#14392)
8595
521a54c5
GM
8596 * cus-dep.el (custom-make-dependencies): Sort the output.
8597 (custom-versions-load-alist): Convert comment to doc.
8598
42caeb89
LL
85992013-05-17 Leo Liu <sdl.web@gmail.com>
8600
8601 * newcomment.el (comment-search-backward): Stricter in finding
8602 comment start. (Bug#14303)
8603
8604 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8605 (octave-comment-start-skip): Properly anchored.
8606
e219dd97
LL
86072013-05-17 Leo Liu <sdl.web@gmail.com>
8608
fe1eb856
RS
8609 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8610 Clean up when turned off. (Bug#14395)
e219dd97
LL
8611 (smie--highlight-matching-block-overlay): No longer buffer-local.
8612 (smie-highlight-matching-block): Adjust.
8613
dc5dcb4b
PE
86142013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8615
8616 Doc string fix for "nanoseconds" (Bug#14406).
8617 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8618 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8619
1db165f0
JB
86202013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8621
8622 * calc/calc-units.el (math-extract-units): Preserve powers
8623 of units.
8624
c7a8fcac
LL
86252013-05-17 Leo Liu <sdl.web@gmail.com>
8626
8627 * subr.el (delete-consecutive-dups): New function.
8628 * ido.el (ido-set-matches-1): Use it.
8629 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8630 * ido.el (ido-remove-consecutive-dups): Remove.
8631
f678b18a
SM
86322013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8635 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8636 regexp-opt's `words'.
8637
ebfe68e8
LL
86382013-05-16 Leo Liu <sdl.web@gmail.com>
8639
8640 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8641 (smie--highlight-matching-block-overlay)
8642 (smie--highlight-matching-block-lastpos)
8643 (smie--highlight-matching-block-timer): New variables.
8644 (smie-highlight-matching-block): New function.
8645 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8646 (smie-setup): Conditionally enable smie-blink-matching-open.
8647
bc8bc17d
WS
86482013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8649
8650 Sync with upstream verilog-mode r840.
8651 * progmodes/verilog-mode.el (verilog-mode-version)
8652 (verilog-mode-release-date): Update.
8653 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8654 (verilog-sig-tieoff): Fix string error on
8655 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8656 (verilog-read-decls): Fix parameters confusing
8657 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8658
df065a0b
EZ
86592013-05-16 Eli Zaretskii <eliz@gnu.org>
8660
8661 * subr.el (reveal-filename): New function.
8662
8663 * loadup.el: Compute Emacs executable versions on MS-Windows,
8664 where executables have the .exe extension. Add a hard link
8665 emacs-XX.YY.ZZ.exe on MS-Windows.
8666
8667 * Makefile.in (XARGS_LIMIT): New variable.
8668 (custom-deps, finder-data, autoloads)
8669 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8670 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8671 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8672 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8673
2d4bf34b
LL
86742013-05-16 Leo Liu <sdl.web@gmail.com>
8675
8676 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8677 (octave-mode-menu, octave-mode-map): Remove its uses.
8678
6b9c2d85
RZ
86792013-05-16 Reto Zimmermann <reto@gnu.org>
8680
8681 Sync with upstream vhdl mode v3.34.2.
8682 * progmodes/vhdl-mode.el: Use `push' throughout.
8683 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8684 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8685 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8686 (vhdl-actual-generic-name): New option to derive actual generic name.
8687 (vhdl-port-paste-signals): Replace formal by actual generics.
8688 (vhdl-beautify): New name for old group vhdl-align. Update users.
8689 (vhdl-beautify-options): New option.
8690 (vhdl-last-input-event): New compat alias. Use throughout.
8691 (vhdl-goto-line): Replace user level function `goto-line'.
8692 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8693 vhdl-fix-statement-buffer.
8694 (vhdl-create-mode-menu): Add some entries.
8695 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8696 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8697 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8698 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8699 to force statements on one line.
8700 (vhdl-remove-trailing-spaces-region):
8701 New, split from vhdl-remove-trailing-spaces.
8702 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8703 Respect vhdl-beautify-options.
8704 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8705 (vhdl-update-sensitivity-list): Not add with index if exists without.
8706 Not include array index with signal. Ignore keywords in comments.
8707 (vhdl-get-visible-signals): Regexp tweaks.
8708 (vhdl-template-component-inst): Handle empty library.
8709 (vhdl-template-type): Add template for 'enum' type.
8710 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8711 Use vhdl-replace-string.
8712 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8713 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8714 (vhdl-speedbar-initialize): Update for above name change.
8715 (vhdl-compose-wire-components): Fix in handling of constants.
8716 (vhdl-error-regexp-emacs-alist): New variable.
8717 (vhdl-error-regexp-add-emacs): New function;
8718 adds support for new compile.el (Emacs 22+)
8719 (vhdl-generate-makefile-1): Change target order for single lib. units.
8720 Allow use of absolute file names.
8721
9df4ec5e
LL
87222013-05-16 Leo Liu <sdl.web@gmail.com>
8723
8724 * simple.el (prog-indent-sexp): Indent enclosing defun.
8725
f5ba00a6
GM
87262013-05-15 Glenn Morris <rgm@gnu.org>
8727
ed8be7ff
GM
8728 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8729 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8730 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8731 (whitespace-highlight): Move to whitespace group.
8732
8733 * comint.el (comint-source):
8734 * pcmpl-linux.el (pcmpl-linux):
8735 * shell.el (shell-faces):
8736 * eshell/esh-opt.el (eshell-opt):
8737 * international/ccl.el (ccl): Remove empty custom groups.
8738
8739 * completion.el (dynamic-completion-mode):
8740 * jit-lock.el (jit-lock-debug-mode):
8741 * minibuffer.el (completion-in-region-mode):
8742 * type-break.el (type-break-mode-line-message-mode)
8743 (type-break-query-mode):
8744 * emulation/tpu-edt.el (tpu-edt-mode):
8745 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8746 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8747 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8748
8749 * term/xterm.el (xterm): Change parent group to terminals.
8750
8751 * master.el (master): Remove empty custom group.
8752 (master-mode): Remove unused :group argument.
8753 * textmodes/refill.el (refill): Remove empty custom group.
8754 (refill-mode): Remove unused :group argument.
8755
8756 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8757
82a7c41b
GM
8758 * cus-dep.el: Provide a feature.
8759 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8760 Don't mistakenly ignore files whose basenames match a basename
8761 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8762 Add a fallback method for getting :group.
f5ba00a6 8763
6d65486d
JL
87642013-05-15 Juri Linkov <juri@jurta.org>
8765
da547b32
JL
8766 * isearch.el (isearch-char-by-name): Rename from
8767 `isearch-insert-char-by-name'. Doc fix.
8768 (isearch-forward): Mention `isearch-char-by-name' in
8769 the docstring. (Bug#13348)
8770
6d65486d
JL
8771 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8772 `exit-minibuffer' instead of
8773 `isearch-nonincremental-exit-minibuffer'.
8774 (isearch-edit-string): Remove mention of
8775 `isearch-nonincremental-exit-minibuffer' from docstring.
8776 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8777 (isearch-forward-exit-minibuffer)
8778 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8779
c9990474
SM
87802013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8781
6e911150
SM
8782 * loadup.el: Just use unversioned DOC.
8783
c9990474
SM
8784 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8785 literals as extending to EOB.
8786 (nxml-last-fontify-end): Remove unused variable.
8787 (nxml-after-change1): Use with-silent-modifications.
8788 (nxml-extend-after-change-region): Simplify.
8789 (nxml-extend-after-change-region1): Remove function.
8790 (nxml-after-change1): Don't adjust for dependent regions.
8791 (nxml-fontify-matcher): Simplify.
8792 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8793 (xmltok-add-dependent): Remove function.
8794 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8795 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8796 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8797 unclosed <[[, <?, comment, and other literals as extending to EOB.
8798 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8799 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8800 Remove functions.
8801 (rng-do-some-validation-1): Don't mark dependent regions.
8802 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8803 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8804 (nxml-clear-dependent-regions): Remove functions.
8805 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8806 (nxml-ensure-scan-up-to-date):
8807 Don't clear&mark dependent regions.
8808
e3772e98
LL
88092013-05-15 Leo Liu <sdl.web@gmail.com>
8810
c9990474
SM
8811 * progmodes/octave.el (octave-goto-function-definition):
8812 Improve and fix callers.
e3772e98 8813
5ac2eb34
SM
88142013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8815
c46c57b0
SM
8816 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8817 the setter (bug#14387).
8818
5ac2eb34
SM
8819 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8820 surrounding group (bug#14402).
8821
180ed218
JL
88222013-05-14 Juri Linkov <juri@jurta.org>
8823
8824 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8825 (Bug#14390)
8826
0ac0fecb
GM
88272013-05-14 Glenn Morris <rgm@gnu.org>
8828
8829 * progmodes/f90.el (f90-imenu-generic-expression):
8830 Fix typo in 2013-05-08 change. (Bug#14402)
8831
2e78e6a7
JPG
88322013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8833
5ac2eb34
SM
8834 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8835 Remove signals for which replies are never received.
2e78e6a7 8836
53267cca
JPG
88372013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8838
8839 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8840 (gdb-handler-alist, gdb-handler-number): Remove variables.
8841 (gdb-handler-list): New variable.
8842 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8843 (gdb-pending-handler-p, gdb-handle-reply)
8844 (gdb-remove-all-pending-triggers): New functions.
8845 (gdb-discard-unordered-replies): New defcustom.
8846 (gdb-handler): New defstruct.
8847 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8848 instead of gdb-pending-triggers. Update docstring.
8849 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8850 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8851 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8852 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8853 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8854 (gdb-frame-handler): Pending triggers are now automatically managed.
8855 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8856 Remove argument.
8857 (gdb-input): Automatically handles pending triggers. Update docstring.
8858 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8859 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8860 Update comments.
8861 (gdb-done-or-error): Now use gdb-handle-reply.
8862
d04ce803
JPG
88632013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8864
8865 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8866 gdb-debug-log.
8867
0114073a
GM
88682013-05-14 Glenn Morris <rgm@gnu.org>
8869
8870 * subr.el (user-emacs-directory-warning): New option.
8871 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8872
4d25fd7e
LL
88732013-05-14 Leo Liu <sdl.web@gmail.com>
8874
8875 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8876 during redisplay.
8877 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8878 (octave-font-lock-texinfo-comment): Fix invalid search bound
8879 error: wrong side of point.
4d25fd7e 8880
27c8b6eb
GM
88812013-05-14 Glenn Morris <rgm@gnu.org>
8882
61aaeb01
GM
8883 * progmodes/flymake.el (flymake-xml-program): New option.
8884 (flymake-xml-init): Use it.
8885
5bf90bc5
GM
8886 * term/xterm.el: Provide a feature.
8887
8888 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8889
f4c7dfd2
GM
88902013-05-13 Glenn Morris <rgm@gnu.org>
8891
8892 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8893 Add compat aliases as a hack workaround. (Bug#14384)
8894
2aeb3a1d
LL
88952013-05-13 Leo Liu <sdl.web@gmail.com>
8896
b0e069c2
LL
8897 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8898 ###, and %!.
f5a9432f
LL
8899 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8900 C-M-q.
b0e069c2
LL
8901 (octave-comment-start-skip): Include %!.
8902 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8903
30ea8374
LL
89042013-05-12 Leo Liu <sdl.web@gmail.com>
8905
8906 * progmodes/octave.el (inferior-octave-startup): Store the value
8907 of __octave_srcdir__ for octave-source-directories.
8908 (inferior-octave-check-process): New function refactored out of
8909 inferior-octave-send-list-and-digest.
8910 (octave-source-directories)
8911 (octave-find-definition-filename-function): New variables.
8912 (octave-source-directories)
8913 (octave-find-definition-default-filename): New functions.
8914 (octave-find-definition): Improve to find functions implemented in C++.
8915
472a3834
GM
89162013-05-12 Glenn Morris <rgm@gnu.org>
8917
8918 * calendar/diary-lib.el (diary-outlook-format-1):
8919 Don't include dayname in the output. (Bug#14349)
8920
3191b52f
GM
89212013-05-11 Glenn Morris <rgm@gnu.org>
8922
0060ac73
GM
8923 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8924
3191b52f
GM
8925 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8926 Treat cc-provide like provide.
8927
e065ba74
KR
89282013-05-11 Kevin Ryde <user42@zip.com.au>
8929
8930 * cus-dep.el (custom-make-dependencies):
8931 Use generated-autoload-load-name for the sake of files such
8932 such cedet/semantic/bovine/c.el, where the base file name
8933 is not in load-path. (Bug#5277)
8934
36f84c37
GM
89352013-05-11 Glenn Morris <rgm@gnu.org>
8936
8937 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8938 Provide features.
8939
c8730c3a
LL
89402013-05-11 Leo Liu <sdl.web@gmail.com>
8941
8942 * progmodes/octave.el (octave-indent-comment): Improve.
8943 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8944 (octave-eldoc-function-signatures, octave-eldoc-function):
8945 New functions.
c8730c3a
LL
8946 (octave-mode, inferior-octave-mode): Add eldoc support.
8947
212e29f2
RS
89482013-05-11 Richard Stallman <rms@gnu.org>
8949
8950 * epa.el (epa-decrypt-file): Take output file name as argument
8951 and read it using `interactive'.
8952
083fe0d7
LL
89532013-05-11 Leo Liu <sdl.web@gmail.com>
8954
8955 * progmodes/octave.el (octave-beginning-of-line)
8956 (octave-end-of-line): Check before using up-list because it jumps
8957 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8958 (octave-indent-comment): New function.
8959 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8960 (octave-begin-keywords, octave-end-keywords)
8961 (octave-reserved-words, octave-smie-bnf-table)
8962 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8963
8582e4c4
GM
89642013-05-11 Glenn Morris <rgm@gnu.org>
8965
f20def1f
GM
8966 * faces.el (internal-face-x-get-resource):
8967 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8968 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8969 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8970 Fix declarations.
f20def1f 8971
445f95e2
GM
8972 * calc/calc-menu.el: Make it loadable in isolation.
8973
8974 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8975 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8976 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8977 (eudc-bbdb-query-internal): Require 'bbdb.
8978
99fb2756
GM
8979 * lpr.el (lpr-headers-switches):
8980 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8981
8982 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8983
0da7ad96
GM
8984 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8985
8582e4c4
GM
8986 * term.el (term-set-escape-char): Make it idempotent.
8987
f71c50d0
LL
89882013-05-10 Leo Liu <sdl.web@gmail.com>
8989
5ac2eb34
SM
8990 * progmodes/octave.el (inferior-octave-completion-table):
8991 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8992 completion due to bug#11906.
8993 (octave-beginning-of-defun): Re-write to be more general.
8994
d5837773
GM
89952013-05-10 Glenn Morris <rgm@gnu.org>
8996
8997 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8998
027c0f75
SM
89992013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * comint.el (comint-redirect-send-command-to-process): Use :around
9002 rather than :override for comint-redirect-filter.
9003 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9004 Call it instead of comint-redirect-original-filter-function (which
9005 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9006
4465bfb4
JD
90072013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9008
9009 * frame.el (display-monitor-attributes-list): Add NS case.
9010 (ns-display-monitor-attributes-list): Declare.
9011
2d809ffa 90122013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9013
9014 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9015
e54eeb9b
GM
90162013-05-09 Glenn Morris <rgm@gnu.org>
9017
56cd351d
GM
9018 * international/fontset.el (vertical-centering-font-regexp):
9019 Set standard-value.
9020
d84b6108
GM
9021 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9022
a931698a
GM
9023 * bookmark.el (bookmark-search-delay):
9024 * cus-start.el (vertical-centering-font-regexp):
9025 * ps-mule.el (ps-mule-font-info-database-default):
9026 * ps-print.el (ps-default-fg, ps-default-bg):
9027 * type-break.el (type-break-good-break-interval):
9028 * whitespace.el (whitespace-indentation-regexp)
9029 (whitespace-space-after-tab-regexp):
9030 * emacs-lisp/testcover.el (testcover-1value-functions)
9031 (testcover-noreturn-functions, testcover-progn-functions)
9032 (testcover-prog1-functions):
9033 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9034 * eshell/em-glob.el (eshell-glob-translate-alist):
9035 * play/tetris.el (tetris-tty-colors):
9036 * progmodes/cpp.el (cpp-face-default-list):
9037 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9038 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9039 (idlwave-help-browser-generic-args):
9040 * progmodes/make-mode.el (makefile-special-targets-list):
9041 * progmodes/python.el (python-shell-virtualenv-path):
9042 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9043 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9044 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9045 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9046 * textmodes/reftex-vars.el (reftex-format-label-function):
9047 * textmodes/remember.el (remember-diary-file): Fix custom types.
9048
e54eeb9b
GM
9049 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9050 Add :version.
9051
455851dd
LL
90522013-05-09 Leo Liu <sdl.web@gmail.com>
9053
9054 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9055 Restore file completion. (Bug#14300)
455851dd
LL
9056 (inferior-octave-startup): Fix incorrect highlighting for the
9057 first prompt.
9058
a9e4425b
SM
90592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * progmodes/ruby-mode.el: First cut at SMIE support.
9062 (ruby-use-smie): New var.
9063 (ruby-smie-grammar): New constant.
9064 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9065 (ruby-smie--forward-token, ruby-smie--backward-token)
9066 (ruby-smie-rules): New functions.
9067 (ruby-mode-variables): Setup SMIE if applicable.
9068
060ca408
EZ
90692013-05-08 Eli Zaretskii <eliz@gnu.org>
9070
9071 * simple.el (line-move-visual): Signal beginning/end of buffer
9072 only if vertical-motion moved less than it was requested. Avoids
9073 silly incorrect error messages when there are display strings with
9074 multiple newlines at EOL.
9075
1d5963cc
SM
90762013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9079 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9080 (prolog-char-quote-workaround):
9081 * progmodes/cperl-mode.el (cperl-under-as-char):
9082 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9083 Mark as obsolete.
9084 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9085 their declaration.
9086 (vhdl-mode-syntax-table-init): Remove.
9087
c9990474
SM
9088 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9089 last change.
1d5963cc
SM
9090
9091 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9092 syntax for "_".
9093 (ld-script-font-lock-keywords):
9094 Change regexps to use things like \_< and \_>.
9095
9096 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9097 Change all regexps to use things like \_< and \_>.
9098
9099 * progmodes/autoconf.el (autoconf-definition-regexp)
9100 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9101 Handle a _ with symbol syntax.
9102 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9103
c9990474
SM
9104 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9105 Consolidate declaration.
1d5963cc
SM
9106 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9107 the declaration.
9108 (ada-create-syntax-table): Remove.
9109 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9110 already has the right syntax nowadays.
9111 (ada-goto-next-word): Don't change the syntax of "_".
9112
9113 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9114 with-wrapper-hook.
9115
72d3cfca
SS
91162013-05-08 Sam Steingold <sds@gnu.org>
9117
9118 * thingatpt.el (thing-at-point): Accept optional second argument
9119 NO-PROPERTIES to strip the text properties from the return value.
9120 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9121 to `thing-at-point' instead of stripping the properties ourselves.
9122 Also, when `thing-at-point' fails to find a url, prepend "http://"
9123 to the filename at point on the assumption that the user is
9124 pointing at something like gnu.org/gnu.
9125
5cb15713
JB
91262013-05-08 Juanma Barranquero <lekktu@gmail.com>
9127
9128 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9129 * faces.el (crm-separator):
9130 Silence byte-compiler.
9131
9132 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9133 (tool-bar-map): Remove unneeded defvars.
9134
ea78b95b
LL
91352013-05-08 Leo Liu <sdl.web@gmail.com>
9136
9137 Re-work a fix for bug#10994 based on Le Wang's patch.
9138 * ido.el (ido-remove-consecutive-dups): New helper.
9139 (ido-completing-read): Use it.
9140 (ido-chop): Revert fix for bug#10994.
9141
dc7466df
AS
91422013-05-08 Adam Spiers <emacs@adamspiers.org>
9143
9144 * cus-edit.el (custom-save-variables):
9145 Pretty-print long values. (Bug#14187)
9146
9ecf672a
GM
91472013-05-08 Glenn Morris <rgm@gnu.org>
9148
9149 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9150 (m4-mode-syntax-table): Init in the defvar.
9151 (m4-mode-abbrev-table): Let define-derived-mode define it.
9152
3f555be8
TT
91532013-05-08 Tom Tromey <tromey@redhat.com>
9154
9155 * progmodes/m4-mode.el (m4-mode-syntax-table):
9156 Do not treat "_" as word constituent. (Bug#14167)
9157
7cc8ae06
GM
91582013-05-07 Glenn Morris <rgm@gnu.org>
9159
4f58bc06
GM
9160 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9161 Remove explicit eshell-isearch-cancel-map.
9162
7cc8ae06
GM
9163 * progmodes/f90.el (f90-smart-end-names): New option.
9164 (f90-smart-end): Doc fix.
9165 (f90-end-block-optional-name): New constant.
9166 (f90-block-match): Respect f90-smart-end-names.
9167
ceb57e59
SM
91682013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9171 about implicit semi-colons (bug#14218).
9172
4e3f9230
YM
91732013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9174
9175 * frame.el (display-monitor-attributes-list)
9176 (frame-monitor-attributes): New functions.
9177
203a5572
LL
91782013-05-06 Leo Liu <sdl.web@gmail.com>
9179
9180 * progmodes/octave.el (octave-syntax-propertize-function): Change
9181 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9182 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9183 (octave-completion-at-point): Rename from
203a5572
LL
9184 octave-completion-at-point-function.
9185 (inferior-octave-directory-tracker): Robustify.
9186 (octave-text-functions): Remove and fix its uses. No such things
9187 any more.
9188
ee6cff99
SM
91892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * emacs-lisp/trace.el (trace--display-buffer): New function.
9192 (trace-make-advice): Use it.
9193
32985194
JL
91942013-05-06 Juri Linkov <juri@jurta.org>
9195
9196 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9197 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9198 Doc fix.
9199 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9200 in the help string. (Bug#12985)
9201
a1c700de
KD
92022013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9203
9204 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9205
c67c0839
SM
92062013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9207
323885fd
SM
9208 * progmodes/perl-mode.el: Add support for here documents.
9209 (perl-syntax-propertize-function): Match here-doc markers.
9210 (perl-syntax-propertize-special-constructs): Find their end.
9211 (perl-imenu-generic-expression): Use [:alnum:].
9212
c67c0839
SM
9213 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9214 (advice--add-function): Refresh the advice if already present
9215 (bug#14317).
9216
d491e7a8
IA
92172013-05-06 Ivan Andrus <darthandrus@gmail.com>
9218
9219 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9220
ddf9925e
GM
92212013-05-06 Glenn Morris <rgm@gnu.org>
9222
7cc3af27
GM
9223 * w32-fns.el (w32-charset-info-alist): Declare.
9224
16e343d6
GM
9225 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9226 of its defcustom properties.
9227 (eshell-cmpl-initialize): No need to load pcomplete.
9228
7d889a47
GM
9229 * generic-x.el: No need to require comint when compiling.
9230
ddf9925e
GM
9231 * net/eudc-export.el: Make it loadable without bbdb.
9232 (top-level): Use require rather than load-library.
9233 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9234 (eudc-batch-export-records-to-bbdb)
9235 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9236 Require bbdb.
9237
1e2c18df
SM
92382013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9241 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9242 some tweaks, instead.
9243
02502a5f
LL
92442013-05-05 Leo Liu <sdl.web@gmail.com>
9245
9246 * progmodes/octave.el (octave-font-lock-keywords)
9247 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9248 (inferior-octave-send-list-and-digest): Improve error message.
9249 (octave-mode, inferior-octave-mode): Use setq-local.
9250 (octave-help): Set info-lookup-mode.
9251
0dc04f42
RS
92522013-05-05 Richard Stallman <rms@gnu.org>
9253
6c54491c
RS
9254 * vc/compare-w.el (compare-windows-whitespace):
9255 Treat no-break space as whitespace.
9256
0dc04f42
RS
9257 * mail/rmailsum.el (rmail-summary-rmail-update):
9258 Detect empty summary and don't change selected message.
9259 (rmail-summary-goto-msg): Likewise.
9260
df8f35df
RS
9261 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9262 Doc fixes, rename args.
9263
5356e1a3
AM
92642013-05-05 Alan Mackenzie <acm@muc.de>
9265
9266 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9267
d44014cb
JL
92682013-05-05 Juri Linkov <juri@jurta.org>
9269
9270 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9271 to not add the length of the summary segment to the return value.
9272 (Bug#14125)
9273
c129b51f
LL
92742013-05-05 Leo Liu <sdl.web@gmail.com>
9275
9276 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9277 (inferior-octave-output-filter): Remove.
9278 (octave-send-region, inferior-octave-startup): Fix callers.
9279 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9280 (octave-binary-file-extensions): New user variable.
9281 (octave-find-definition): Confirm if opening binary files.
9282 (octave-help-file): Use octave-find-definition to get the binary
9283 confirmation.
9284 (octave-help): Adjust for octave-help-file change.
9285
aa7dab97
SM
92862013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9289 Merge the two entries that handle function definitions.
9290 (pascal--syntax-propertize): New const.
9291 (pascal-mode): Use it. Use setq-local.
9292
fd3a9a6b
GM
92932013-05-04 Glenn Morris <rgm@gnu.org>
9294
9295 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9296 (diary-from-outlook): Respect diary-from-outlook-function.
9297
30c7e542
SM
92982013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9301 Move the declaration from C.
9302 (read-minibuffer, eval-minibuffer): Move from C.
9303 (completion-setup-function): Avoid minibuffer-completion-contents.
9304
b54f978b
LL
93052013-05-03 Leo Liu <sdl.web@gmail.com>
9306
9307 * progmodes/octave.el (octave-font-lock-keywords): Do not
9308 dehighlight 'end' in comments or strings.
30c7e542
SM
9309 (octave-completing-read, octave-goto-function-definition):
9310 New helpers.
d4d0f9b3
LL
9311 (octave-help-buffer): New user variable.
9312 (octave-help-file, octave-help-function): New button types.
9313 (octave-help): New command and bind it to C-h ;.
9314 (octave-find-definition): New command and bind it to M-.
d74a1581 9315 (user-error): Alias to error if not defined.
b54f978b 9316
27135018
LL
93172013-05-02 Leo Liu <sdl.web@gmail.com>
9318
9319 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9320 for \. (bug#14332)
9321 (octave-font-lock-keywords): Include [ and {.
9322
0d634d3a
LL
93232013-05-02 Leo Liu <sdl.web@gmail.com>
9324
9325 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9326 (inferior-octave): Remove calling comint-mode and return the buffer.
9327 (inferior-octave-startup): Cosmetic changes.
9328
b4c8295e
LL
93292013-05-02 Leo Liu <sdl.web@gmail.com>
9330
30c7e542
SM
9331 * progmodes/octave.el (octave-syntax-propertize-function):
9332 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9333
f12ad6ec
GM
93342013-05-02 Glenn Morris <rgm@gnu.org>
9335
9336 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9337 * desktop.el (vc-dir-mode): Just autoload it here.
9338
30cac1e0
AM
93392013-05-02 Alan Mackenzie <acm@muc.de>
9340
9341 Eliminate variable c-standard-font-lock-fontify-region-function.
9342 * progmodes/cc-mode.el
9343 (c-standard-font-lock-fontify-region-function): Remove.
9344 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9345
d8ef28b1
LL
93462013-05-01 Leo Liu <sdl.web@gmail.com>
9347
2640d52e 9348 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9349 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9350 variables were removed from Octave in 2007.
d8ef28b1
LL
9351 (inferior-octave-startup): Fix uses.
9352 (comint-line-beginning-position): Remove compatibility code for
9353 emacs 21.
9354
ac63ec89
JL
93552013-05-01 Juri Linkov <juri@jurta.org>
9356
9357 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9358
9e9be37c
JL
93592013-05-01 Juri Linkov <juri@jurta.org>
9360
9361 * comint.el (comint-previous-matching-input): Don't print message
9362 "History item: %d" when `isearch-mode' is active.
9363 (comint-history-isearch-message): Print message "History item: %d"
9364 when `comint-input-ring-index' is not empty and this function is
9365 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9366
9b92c13b
LL
93672013-05-01 Leo Liu <sdl.web@gmail.com>
9368
9369 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9370 definitions. Use completion-at-point to insert keywords.
9371 (octave-abbrev-start): Remove.
9372 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9373
b12d33d7
LL
93742013-04-30 Leo Liu <sdl.web@gmail.com>
9375
9376 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9377 change.
9378
3d1c39fa
AM
93792013-04-30 Alan Mackenzie <acm@muc.de>
9380
9381 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9382 * progmodes/cc-engine.el (c-back-over-member-initializers):
9383 new function.
3d1c39fa
AM
9384 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9385 (most) member init lists.
9386
5147fc17
RS
93872013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9388
9389 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9390 variable.
9391
5b78d7fc
LL
93922013-04-30 Leo Liu <sdl.web@gmail.com>
9393
9394 * progmodes/octave.el (octave-variables): Remove. No builtin
9395 variables any more. All converted to functions.
9396 (octave-font-lock-keywords, octave-completion-at-point-function):
9397 Fix uses.
9398 (octave-font-lock-texinfo-comment): New user variable.
9399 (octave-texinfo-font-lock-keywords): New variable for texinfo
9400 comment block.
9401 (octave-function-comment-block): New face.
9402 (octave-font-lock-texinfo-comment): New function.
9403 (octave-mode): Font lock texinfo comment block.
9404
38d8527b
LL
94052013-04-29 Leo Liu <sdl.web@gmail.com>
9406
9407 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9408 indexing expression.
9409 (octave-continuation-string): Do not use \.
9410 (inferior-octave-complete-impossible): Remove.
9411 (inferior-octave-completion-table)
9412 (inferior-octave-completion-at-point): Remove its uses.
9413 (inferior-octave-startup): completion_matches was introduced to
9414 Octave in 1996 so safe to assume it.
9415 (octave-function-file-comment): Improve to follow how Octave does it.
9416 (octave-update-function-file-comment): Tweak.
9417
2ec12cb0
LL
94182013-04-29 Leo Liu <sdl.web@gmail.com>
9419
9420 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9421 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9422 (octave-function-file-comment): Fix typo.
9423 (octave-sync-function-file-names): Use read-char-choice.
9424
6eaed048
JB
94252013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9426
9427 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9428 to t for the less important warnings.
9429
3ffa2d4f
DH
94302013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9431
9432 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9433
685c9501
GM
94342013-04-27 Glenn Morris <rgm@gnu.org>
9435
9436 * vc/log-view.el (log-view-current-entry):
9437 Treat "---" separator lines as part of the following rev. (Bug#14169)
9438
0208ede7
JL
94392013-04-27 Juri Linkov <juri@jurta.org>
9440
9441 * subr.el (read-number): Doc fix about using it by interactive
9442 code letter `n'. (Bug#14254)
9443
5db9dace
JL
94442013-04-27 Juri Linkov <juri@jurta.org>
9445
9446 * desktop.el (desktop-auto-save-timeout): New option.
9447 (desktop-file-checksum): New variable.
9448 (desktop-save): Add optional arg `auto-save' and don't auto-save
9449 if nothing changed.
9450 (desktop-auto-save-timer): New variable.
9451 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9452 (after-init-hook): Call `desktop-auto-save-set-timer'.
9453 Suggested by Reuben Thomas <rrt@sc3d.org> in
9454 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9455
b7260dd4
LL
94562013-04-27 Leo Liu <sdl.web@gmail.com>
9457
9458 * progmodes/octave.el (octave-function-file-p)
9459 (octave-skip-comment-forward, octave-function-file-comment)
9460 (octave-update-function-file-comment): New functions.
9461 (octave-mode-map): Bind C-c ; to
9462 octave-update-function-file-comment.
9463 (octave-mode-menu): Add octave-update-function-file-comment.
9464 (octave-mode, inferior-octave-mode): Fix doc-string.
9465 (octave-insert-defun): Conform to Octave's coding convention.
9466 (Bug#14285)
9467
9468 * files.el (basic-save-buffer): Don't let errors in
9469 before-save-hook prevent saving buffer.
9470
c46da669
RW
94712013-04-20 Roland Winkler <winkler@gnu.org>
9472
9473 * faces.el (read-face-name): Use completing-read if arg multiple
9474 is nil.
9475
a81ee1eb
IL
94762013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9477
9478 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9479 displayed, move point to after the totals line.
9480 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9481 for the details.
9482
4fac34ce
SM
94832013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9484
9485 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9486 Add current dir to the load-path.
9487 (package-generate-autoloads): Don't rely on
9488 autoload-ensure-default-file.
9489
f6bfc063
RT
94902013-04-26 Reuben Thomas <rrt@sc3d.org>
9491
d40ab5cf
BG
9492 * textmodes/remember.el (remember-store-in-files): Document that
9493 the file name format is passed to `format-time-string'.
f6bfc063 9494
e55d3b04
LL
94952013-04-26 Leo Liu <sdl.web@gmail.com>
9496
9497 * progmodes/octave.el (octave-sync-function-file-names): New function.
9498 (octave-mode): Use it in before-save-hook.
9499
e53052d3
SM
95002013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9501
140ef50c
SM
9502 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9503 (bug#14274).
9504
e53052d3
SM
9505 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9506 \n and comment, even if it's not an implicit ; (bug#14218).
9507
af80458d 95082013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9509
9510 * subr.el (read-number): Once more use `read' rather than
9511 `string-to-number', to trap non-numeric input. (Bug#14254)
9512
af80458d 95132013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9514
9515 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9516 Use `syntax-multiline' text property consistently instead of
8a621d53 9517 `font-lock-multiline'. (Bug#14237)
70203c2e 9518
e6ea1f6c
GM
95192013-04-26 Glenn Morris <rgm@gnu.org>
9520
9521 * emacs-lisp/shadow.el (list-load-path-shadows):
9522 No longer necessary to check for duplicate simple.el, since
9523 2012-07-07 change to init_lread to not include installation lisp
9524 directories in load-path when running uninstalled. (Bug#14270)
9525
070ccca4
LL
95262013-04-26 Leo Liu <sdl.web@gmail.com>
9527
9528 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9529 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9530 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9531 octave-in-string-or-comment-p.
9532 (octave-in-comment-p, octave-in-string-p)
9533 (octave-in-string-or-comment-p): Replace defsubst with defun.
9534
9d1c5fb6
PE
95352013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9536
9537 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9538
c034abda
BG
95392013-04-25 Bastien Guerry <bzg@gnu.org>
9540
9541 * textmodes/remember.el (remember-data-directory)
9542 (remember-directory-file-name-format): Fix custom types.
9543
584ea277
LL
95442013-04-25 Leo Liu <sdl.web@gmail.com>
9545
e53052d3
SM
9546 * progmodes/octave.el (octave-completion-at-point-function):
9547 Make use of inferior octave process.
584ea277
LL
9548 (octave-initialize-completions): Remove.
9549 (inferior-octave-completion-table): New function.
9550 (inferior-octave-completion-at-point): Use it.
9551 (octave-completion-alist): Remove.
9552
1693b06a
SM
95532013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9556 (opascal-mode-syntax-table): New var.
9557 (opascal-literal-kind, opascal-is-literal-end)
9558 (opascal-literal-token-at): Rewrite.
9559 (opascal--literal-start-re, opascal-font-lock-keywords)
9560 (opascal--syntax-propertize): New constants.
9561 (opascal-font-lock-defaults): Adjust.
9562 (opascal-mode): Use them. Set comment-<foo> variables as well.
9563 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9564 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9565 (delphi-other-face, opascal-other-face): Remove face variables.
9566 (opascal-save-state): Remove macro.
9567 (opascal-fontifying-progress-step): Remove constant.
9568 (opascal--ignore-changes): Remove var.
9569 (opascal-set-token-property, opascal-parse-next-literal)
9570 (opascal-is-stable-literal, opascal-complete-literal)
9571 (opascal-is-literal-start, opascal-face-of)
9572 (opascal-parse-region, opascal-parse-region-until-stable)
9573 (opascal-fontify-region, opascal-after-change)
9574 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9575 (opascal-debug-parse-region, opascal-debug-parse-window)
9576 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9577 (opascal-debug-fontify-buffer): Remove.
9578 (opascal-debug-mode-map): Adjust accordingly.
9579
be64c05d
LL
95802013-04-25 Leo Liu <sdl.web@gmail.com>
9581
9582 Merge octave-mod.el and octave-inf.el into octave.el with some
9583 cleanups.
9584 * progmodes/octave.el: New file renamed from octave-mod.el.
9585 * progmodes/octave-inf.el: Merged into octave.el.
9586 * progmodes/octave-mod.el: Renamed to octave.el.
9587
d79d37bd
TH
95882013-04-25 Tassilo Horn <tsdh@gnu.org>
9589
9590 * textmodes/reftex-vars.el
9591 (reftex-label-ignored-macros-and-environments): New defcustom.
9592
9593 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9594
ced3fc5d
SM
95952013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9598 (smie-indent-keyword): Improve the check to ensure that the next
9599 comment is really on the same line.
9600 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9601
9602 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9603 semi-colons if the line is not otherwise empty (bug#14218).
9604
1c141dad
GM
96052013-04-25 Glenn Morris <rgm@gnu.org>
9606
9607 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9608
5058062a
SM
96092013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * progmodes/opascal.el (opascal-set-token-property): Rename from
9612 opascal-set-text-properties and only set `token' (bug#14134).
9613 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9614 (opascal-literal-text-properties): Remove.
9615 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9616 Adjust callers.
9617
5db9dace 96182013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9619
9620 * textmodes/remember.el (remember-handler-functions): Add an
9621 option for a new handler `remember-store-in-files'.
9622 (remember-data-directory, remember-directory-file-name-format):
9623 New options.
9624 (remember-store-in-files): New function to store remember notes
9625 as separate files within a directory.
9626
4391916c
MH
96272013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9628
9629 * progmodes/compile.el (compilation-next-error-function):
9630 Pass "formats" to compilation-find-file (bug#11777).
9631
bb7cdf58
GM
96322013-04-24 Glenn Morris <rgm@gnu.org>
9633
3b8fe752 9634 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9635 * vc/vc-hg.el (vc-hg-print-log):
9636 * vc/vc-svn.el (vc-svn-print-log):
9637 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9638
bb7cdf58
GM
9639 * vc/vc-bzr.el (vc-bzr-print-log):
9640 * vc/vc-cvs.el (vc-cvs-print-log):
9641 * vc/vc-git.el (vc-git-print-log):
9642 * vc/vc-hg.el (vc-hg-print-log):
9643 * vc/vc-mtn.el (vc-mtn-print-log):
9644 * vc/vc-rcs.el (vc-rcs-print-log):
9645 * vc/vc-sccs.el (vc-sccs-print-log):
9646 * vc/vc-svn.el (vc-svn-print-log):
9647 * vc/vc.el (vc-print-log-internal): Doc fixes.
9648
b46a056e
GM
96492013-04-23 Glenn Morris <rgm@gnu.org>
9650
9651 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9652 Remove venerable code attempting to avoid substitute-command-keys.
9653
0aecf718
TH
96542013-04-23 Tassilo Horn <tsdh@gnu.org>
9655
4391916c
MH
9656 * textmodes/reftex-vars.el (reftex-label-regexps):
9657 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9658
117f94cf
SM
96592013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9660
4391916c 9661 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9662 Use lexical-binding.
9663 (jit-lock-force-redisplay): Use markers, check buffer's continued
9664 existence and beware narrowed buffers.
9665 (jit-lock-fontify-now): Adjust call accordingly.
9666
1d829c64
SM
96672013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9670 to avoid misleading the user.
9671
72d548a9
LL
96722013-04-22 Leo Liu <sdl.web@gmail.com>
9673
9674 * info-look.el: Prefer latex2e.info. (Bug#14240)
9675
d0853629
MA
96762013-04-22 Michael Albinus <michael.albinus@gmx.de>
9677
9678 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9679
9680 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9681 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9682 (tramp-set-completion-function, tramp-parse-putty):
9683 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9684 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9685 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9686 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9687 (tramp-call-local-coding-command): Use `tramp-call-process'
9688 instead of `tramp-compat-call-process'.
9689
9690 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9691 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9692 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9693 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9694 (tramp-maybe-send-script): Check for Perl binary.
9695 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9696
38cc0210
DU
96972013-04-22 Daiki Ueno <ueno@gnu.org>
9698
9699 * epg.el (epg-context-pinentry-mode): New function.
9700 (epg-context-set-pinentry-mode): New function.
9701 (epg--start): Pass --pinentry-mode option to gpg command.
9702
cc641ee1
XF
97032013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9704
02d844b5 9705 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9706 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9707 `completion-at-point'. (Bug#13774)
5d4e5c31 9708
cc641ee1
XF
9709 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9710 default key binding for `describe-distribution' has been moved to
9711 `C-h C-o'. (Bug#13970)
9712
1b42ee43
GM
97132013-04-21 Glenn Morris <rgm@gnu.org>
9714
9715 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9716 Add doc strings.
9717 (vc-print-log): Clarify interactive prompt.
9718
a6d63d97
GM
97192013-04-20 Glenn Morris <rgm@gnu.org>
9720
9721 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9722 No longer include timestamp etc information.
9723
d7f5c16f
RW
97242013-04-20 Roland Winkler <winkler@gnu.org>
9725
9726 * faces.el (read-face-name): Bug fix, return just one face if arg
9727 multiple is nil. (Bug#14209)
9728
bcd7a0a4
SM
97292013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9732 (remove-function): Autoload.
9733
9734 * comint.el (comint-redirect-original-filter-function): Remove.
9735 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9736 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9737 (vc-cvs-annotate-command):
bcd7a0a4
SM
9738 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9739 * progmodes/prolog.el (prolog-consult-compile):
9740 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9741 Use add/remove-function instead.
9742 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9743 (gud-tooltip-process-output, gud-tooltip-tips):
9744 Use add/remove-function instead.
9745 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9746 (scheme-interaction-mode, exit-scheme-interaction-mode):
9747 Use add/remove-function instead.
9748
9749 * vc/vc-dispatcher.el: Use lexical-binding.
9750 (vc--process-sentinel): Rename from vc-process-sentinel.
9751 Change last arg to be the code to run. Don't use vc-previous-sentinel
9752 and vc-sentinel-commands any more.
9753 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9754 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9755
e36b2d20 97562013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9757
bcd7a0a4 9758 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9759 Handle function names with a single character. (Bug#14111)
4d3268ba 9760
781b4af6 97612013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9762
9763 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9764 for subroutines defined in an eval (bug#14182).
9765
7d688336
TV
97662013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9767
9768 * bookmark.el (bookmark-completing-read): Improve handling of empty
9769 string (bug#14176).
9770
31dcede0
SM
97712013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9774
adc31213
FEG
97752013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9776
9777 New faster Imenu implementation (bug#14058).
9778 * progmodes/python.el:
9779 (python-imenu-prev-index-position):
9780 (python-imenu-format-item-label-function)
9781 (python-imenu-format-parent-item-label-function)
9782 (python-imenu-format-parent-item-jump-label-function):
9783 New vars.
9784 (python-imenu-format-item-label)
9785 (python-imenu-format-parent-item-label)
9786 (python-imenu-format-parent-item-jump-label)
9787 (python-imenu--put-parent, python-imenu--build-tree)
9788 (python-imenu-create-index, python-imenu-create-flat-index)
9789 (python-util-popn): New functions.
9790 (python-mode): Set imenu-create-index-function to
9791 python-imenu-create-index.
9792
cdca8255
SM
97932013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * winner.el (winner-active-region): Use region-active-p, activate-mark
9796 and deactivate-mark (bug#14225).
9797
9798 * simple.el (deactivate-mark): Don't inline it.
9799
beb42340
MA
98002013-04-18 Michael Albinus <michael.albinus@gmx.de>
9801
9802 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9803
fc7f4d7e
TH
98042013-04-18 Tassilo Horn <tsdh@gnu.org>
9805
9806 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9807 file extensions from the archive-mode entry in order to prefer
9808 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9809
29f47822
LL
98102013-04-18 Leo Liu <sdl.web@gmail.com>
9811
9812 * bindings.el (help-event-list): Add ?\?.
9813
d36ed1c8
SM
98142013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * subr.el (with-wrapper-hook): Declare obsolete.
9817 * simple.el (filter-buffer-substring-function): New hook.
9818 (filter-buffer-substring): Use it.
9819 (filter-buffer-substring-functions): Mark obsolete.
9820 * minibuffer.el (completion-in-region-function): New hook.
9821 (completion-in-region): Use it.
9822 (completion-in-region-functions): Mark obsolete.
9823 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9824 * abbrev.el (abbrev-expand-function): New hook.
9825 (expand-abbrev): Use it.
9826 (abbrev-expand-functions): Mark obsolete.
9827 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9828 and :filter-return.
9829
04754d36
FEG
98302013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9831
9832 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9833 and do not care about match data.
9834
dd8791e9
SM
98352013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9838 completion tables when completing error conditions and
9839 `declare' arguments.
9840 (lisp-complete-symbol, field-complete): Mark as obsolete.
9841 (check-parens): Unmatched parens are user errors.
9842 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9843
ffe54a13
AM
98442013-04-17 Michal Nazarewicz <mina86@mina86.com>
9845
dd8791e9
SM
9846 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9847 command changed buffer (ie. `flyspell-pre-buffer' is not current
9848 buffer), which prevents making decisions based on invalid value of
9849 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9850 cause an error when `flyspell-pre-point' was nil after switching
9851 buffers.
9852 (flyspell-post-command-hook): No longer needs to change buffers when
9853 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9854
ec7e39f2
AM
98552013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9856
9857 * textmodes/ispell.el (ispell-add-per-file-word-list):
9858 Fix `flyspell-correct-word-before-point' error when accepting
9859 words and `coment-padding' is an integer by using
9860 `comment-normalize-vars' (Bug #14214).
9861
083850a6
FEG
98622013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9863
9864 New defun movement commands.
9865 * progmodes/python.el (python-nav--syntactically)
9866 (python-nav--forward-defun, python-nav-backward-defun)
9867 (python-nav-forward-defun): New functions.
9868
619ed6e1
FEG
98692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9870
9871 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9872 (python-syntax-context): Use named compiler-macro for backwards
9873 compatibility with Emacs 24.x.
9874
7a1beb6c
LL
98752013-04-17 Leo Liu <sdl.web@gmail.com>
9876
9877 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9878 octave-hide-process-buffer.
9879
2d3fa3e5
SM
98802013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9883 (bug#14216).
9884
7ce5be54
JPG
98852013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9886
9887 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9888 Fix adjustment of offset when receiving incomplete responses from GDB
9889 (bug#14129).
9890
351edece
SM
98912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9892
9893 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9894 python-mode-abbrev-table.
9895 (python-skeleton-define): Adjust accordingly.
9896 (python-mode-abbrev-table): New table that inherits from it so that
9897 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9898
9899 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9900 (abbrev-symbol): Use it.
9901 (abbrev--before-point): Use it since we already handle inheritance.
9902
613f9481
LL
99032013-04-16 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9906 binding to info-lookup-symbol.
9907
51646b62
JB
99082013-04-16 Juanma Barranquero <lekktu@gmail.com>
9909
9910 * minibuffer.el (completion--twq-all):
9911 * term/ns-win.el (ns-initialize-window-system):
9912 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9913
efb3f01d
SM
99142013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9915
36c0a301
SM
9916 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9917 global bindings.
9918
efb3f01d
SM
9919 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9920
fb549d64
DG
99212013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9922
9923 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9924 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9925 to nil.
9926 (ruby-end-of-defun): Remove the unused arg, change the docstring
9927 to reflect that this function is only used as the value of
9928 `end-of-defun-function'.
9929 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9930 to reflect an earlier change that beginning/end-of-defun functions
9931 jump between methods in a class definition, as well as top-level
9932 functions.
9933
21e8fe2f
SM
99342013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * minibuffer.el (minibuffer-complete): Don't just scroll
9937 a *Completions* that's been iconified.
9938 (minibuffer-force-complete): Make sure repetitions do cycle when going
9939 through completion-in-region -> minibuffer-complete.
9940
20e527d0
AM
99412013-04-15 Alan Mackenzie <acm@muc.de>
9942
9943 Correct the placement of c-cpp-delimiters when there're #s not at
9944 col 0.
9945
9946 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9947 place a submatch around the #.
21e8fe2f
SM
9948 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9949 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9950 on the #, not BOL.
9951
dabefae5
SM
99522013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9955 (advice--member-p): New arg `name'.
9956 (advice--add-function, advice-member-p): Use it (bug#14202).
9957
85c9ab64
AM
99582013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9959
9960 Reformulate java imenu-generic-expression.
9961 The old expression contained ill formed regexps.
9962
9963 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9964 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9965 (cc-imenu-java-method-arg-regexp): New defconsts.
9966 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9967 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9968 handling of spaces in the regexp.
9969
0f821d99
AM
99702013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9971
9972 * textmodes/ispell.el (ispell-command-loop): Remove
9973 flyspell highlight of a word when ispell accepts it (bug #14178).
9974
eb922adf
MA
99752013-04-15 Michael Albinus <michael.albinus@gmx.de>
9976
9977 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9978 uses code from the previous `ange-ftp-run-real-handler'.
9979 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9980 only in case that function exist. This is needed for proper
9981 unloading of Tramp.
9982
4d9a0979
TH
99832013-04-15 Tassilo Horn <tsdh@gnu.org>
9984
9985 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9986
9987 * textmodes/reftex.el (reftex-compile-variables): Use it.
9988
a829b0dc
SM
99892013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9990
91e8293c
SM
9991 * files.el (normal-mode): Only use default major-mode if no other mode
9992 was specified.
9993
830aed4d
SM
9994 * emacs-lisp/trace.el (trace-values): New function.
9995
a829b0dc
SM
9996 * files.el: Allow : in local variables (bug#14089).
9997 (hack-local-variable-regexp): New var.
9998 (hack-local-variables-prop-line, hack-local-variables): Use it.
9999
7ae9f0fb
RW
100002013-04-13 Roland Winkler <winkler@gnu.org>
10001
10002 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10003 data before it gets modified by bibtex-beginning-of-entry.
10004
6646e848
RW
100052013-04-13 Roland Winkler <winkler@gnu.org>
10006
10007 * textmodes/bibtex.el (bibtex-url): Doc fix.
10008
100092013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10010
10011 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10012 does not visit a BibTeX file, exclude it from the list of buffers
10013 returned by bibtex-initialize.
10014
0aa3616e
SB
100152013-04-13 Stephen Berman <stephen.berman@gmx.net>
10016
10017 * window.el (split-window): Remove interactive form, since as a
10018 command this function is a special case of split-window-below.
10019 Correct doc string.
10020
011cddd6
RW
100212013-04-12 Roland Winkler <winkler@gnu.org>
10022
10023 * faces.el (read-face-name): Do not override value of arg default.
10024 Allow single faces and strings as default values. Remove those
10025 elements from return value that are not faces.
10026 (describe-face): Simplify.
10027 (face-at-point): New optional args thing and multiple so that this
10028 function can provide the same functionality previously provided by
10029 read-face-name.
10030 (make-face-bold, make-face-unbold, make-face-italic)
10031 (make-face-unitalic, make-face-bold-italic, invert-face)
10032 (modify-face, read-face-and-attribute): Use face-at-point.
10033
10034 * cus-edit.el (customize-face, customize-face-other-window)
10035 * cus-theme.el (custom-theme-add-face)
10036 * face-remap.el (buffer-face-set)
10037 * facemenu.el (facemenu-set-face): Use face-at-point.
10038
f24e0036
MA
100392013-04-12 Michael Albinus <michael.albinus@gmx.de>
10040
10041 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10042
da3cda2d
TH
100432013-04-10 Tassilo Horn <tsdh@gnu.org>
10044
10045 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10046 off leading { and trailing } from field values.
10047
15e54145
SM
100482013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10049
78ce603d
SM
10050 * emacs-lisp/timer.el (timer--check): New function.
10051 (timer--time, timer-set-function, timer-event-handler): Use it.
10052 (timer-set-idle-time): Simplify.
10053 (timer--activate): CSE.
10054 (timer-event-handler): Give more info in error message.
10055 (internal-timer-start-idle): New function, moved from C.
10056
15e54145
SM
10057 * mpc.el (mpc-proc): Add `restart' argument.
10058 (mpc-proc-cmd): Use it.
10059 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10060 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10061 less often.
10062
7144c627
MY
100632013-04-10 Masatake YAMATO <yamato@redhat.com>
10064
10065 * progmodes/sh-script.el: Implement `sh-mode' own
10066 `add-log-current-defun-function' (bug#14112).
10067 (sh-current-defun-name): New function.
10068 (sh-mode): Use the function.
10069
b39792eb
BG
100702013-04-09 Bastien Guerry <bzg@gnu.org>
10071
10072 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10073
8acdeb71
SM
100742013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10075
6fcdab68
SM
10076 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10077
8acdeb71
SM
10078 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10079 timer (bug#14156).
10080
e3e7b504
NF
100812013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10082
10083 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10084 declaration.
10085
201bb296
LL
100862013-04-07 Leo Liu <sdl.web@gmail.com>
10087
10088 * pcmpl-x.el: New file.
10089
ebb19708
DA
100902013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10091
10092 Do not set x-display-name until X connection is established.
10093 This is needed to prevent from weird situation described at
10094 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10095 * frame.el (make-frame): Set x-display-name after call to
10096 window system initialization function, not before.
10097 * term/x-win.el (x-initialize-window-system): Add optional
10098 display argument and use it.
10099 * term/w32-win.el (w32-initialize-window-system):
10100 * term/ns-win.el (ns-initialize-window-system):
10101 * term/pc-win.el (msdos-initialize-window-system):
10102 Add compatible optional display argument.
10103
33bb237a
EZ
101042013-04-06 Eli Zaretskii <eliz@gnu.org>
10105
10106 * files.el (normal-backup-enable-predicate): On MS-Windows and
10107 MS-DOS compare truenames of temporary-file-directory and of the
10108 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10109 don't fail comparison by compare-strings. Also, compare file
10110 names case-insensitively on MS-Windows and MS-DOS.
10111
134abf1f
SM
101122013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10115 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10116
d695cb94
DG
101172013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10118
e3e7b504
NF
10119 * whitespace.el (whitespace-color-on, whitespace-color-off):
10120 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10121
f4ad7ea1 101222013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10123
10124 * ispell.el (ispell-set-spellchecker-params):
10125 Really set `ispell-args' for all equivs.
10126
632556e4
SM
101272013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * ido.el (ido-completions): Use extra elements of ido-decorations
10130 (bug#14143).
10131 (ido-decorations): Update docstring.
10132
2a417372
MA
101332013-04-05 Michael Albinus <michael.albinus@gmx.de>
10134
10135 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10136 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10137 nil during initialization, in order not to miss changes since the
10138 file was opened. (Bug#14140)
10139
fc164b0c
LL
101402013-04-05 Leo Liu <sdl.web@gmail.com>
10141
10142 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10143
0ccecc08
JB
101442013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10145
10146 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10147
51af1aa2
GM
101482013-04-04 Glenn Morris <rgm@gnu.org>
10149
10150 * electric.el (electric-pair-inhibit-predicate): Add :version.
10151
b208ebc6
SM
101522013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10155 when a package is required several times (bug#14082).
10156
f3d3eaf0
RW
101572013-04-04 Roland Winkler <winkler@gnu.org>
10158
10159 * faces.el (read-face-name): Behave as promised by the docstring.
10160 Assume that arg default is a list of faces.
10161 (describe-face): Call read-face-name with list of default faces.
10162
2575da50
TV
101632013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10164
10165 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10166 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10167 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10168 the header.
10169 (bookmark-exit-hook-internal): Save even if list is empty.
10170
397703b4
YH
101712013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10172
10173 * emacs-lisp/package.el (package-pinned-packages): New var.
10174 (package--add-to-archive-contents): Obey it (bug#14118).
10175
691e26ae
AM
101762013-04-03 Alan Mackenzie <acm@muc.de>
10177
8a621d53
JB
10178 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10179 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10180
10181 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10182 parameter `not-in-delimiter'. Handle being inside comment opener.
10183 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10184 character in case we're typing a '*' after a '/'.
10185 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10186 instead by passing the parameter to c-state-pp-to-literal.
10187
10188 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10189 for elt. 7 of a parse state.
10190
4b725a70
PE
101912013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10192
10193 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10194 * international/latin1-disp.el, international/mule-util.el:
10195 * language/cyril-util.el, language/european.el, language/ind-util.el:
10196 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10197 * language/tibetan.el, language/viet-util.el:
10198 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10199
15c579f0
SM
102002013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10203 (electric-pair-post-self-insert-function): Use it.
10204 (electric-pair-default-inhibit): New function, extracted from
10205 electric-pair-post-self-insert-function.
10206
a77e2924
RW
102072013-03-31 Roland Winkler <winkler@gnu.org>
10208
10209 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10210
2bd8a4a8
SM
102112013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10214
8d3655be 102152013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10216
10217 Un-indent after "pass" and "return" statements (Bug#13888)
10218 * progmodes/python.el (python-indent-block-enders): New var.
10219 (python-indent-calculate-indentation): Use it.
10220
8d3655be 102212013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10222
10223 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10224 defun. Defining it as defalias could introduce too eager
10225 byte-compiler optimization. (Bug#14030)
10226
8d3655be 102272013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10228
10229 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10230
0b1619da
LL
102312013-03-30 Leo Liu <sdl.web@gmail.com>
10232
10233 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10234 (kmacro-execute-from-register): Pass the keyboard macro to
10235 kmacro-call-macro or repeating won't work correctly.
10236
0b938190
TZ
102372013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10238
10239 * progmodes/subword.el: Back to using `forward-symbol'.
10240
10241 * subr.el (forward-whitespace, forward-symbol)
10242 (forward-same-syntax): Move from thingatpt.el.
10243
35710234
LL
102442013-03-29 Leo Liu <sdl.web@gmail.com>
10245
10246 * kmacro.el (kmacro-to-register): New command.
10247 (kmacro-execute-from-register): New function.
10248 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10249
efc0bb73
SM
102502013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * mpc.el: Use defvar-local and setq-local.
10253 (mpc--proc-connect): Connection failures are not bugs.
10254 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10255 (mpc-volume-map): Bind to the up-events.
10256
75a2f981
TZ
102572013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10258
10259 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10260 instead of `forward-symbol'.
10261
17c781d1
SM
102622013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10265 (edebug--recursive-edit): Use it.
10266 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10267 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10268
f67bfbcf
LL
102692013-03-28 Leo Liu <sdl.web@gmail.com>
10270
10271 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10272
b59f639d
EZ
102732013-03-27 Eli Zaretskii <eliz@gnu.org>
10274
10275 * facemenu.el (list-colors-callback): New defvar.
10276 (list-colors-redisplay): New function.
10277 (list-colors-display): Install list-colors-redisplay as the
10278 revert-buffer-function. (Bug#14063)
10279
f557c1b1
SM
102802013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10281
b1da2957
SM
10282 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10283 and suffixes don't overlap (bug#14061).
10284
f557c1b1
SM
10285 * case-table.el: Use lexical-binding.
10286 (case-table-get-table): New function.
10287 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10288
002668e1
TZ
102892013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10290
10291 * progmodes/subword.el: Add `superword-mode' to do word motion
10292 over symbol_words (parallels and leverages `subword-mode' which
10293 does word motion inside MixedCaseWords).
10294
73572c72
AG
102952013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10296
78b8f320 10297 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10298 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10299
69b2c07e
SM
103002013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10303 Change return value to be a sexp. Delay `get-buffer' to after
10304 restoring the desktop (bug#13951).
10305
08bb5ee2
LL
103062013-03-26 Leo Liu <sdl.web@gmail.com>
10307
10308 * register.el: Move semantic tag handling back to
10309 cedet/semantic/senator.el. (Bug#14052)
10310
8d4c974e
SM
103112013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10314 into the prompt either (bug#13963).
10315
b234d92c
SM
103162013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10319 part of "(error-foo)".
10320
ddfa3cb4
JL
103212013-03-24 Juri Linkov <juri@jurta.org>
10322
10323 * replace.el (list-matching-lines-prefix-face): New defcustom.
10324 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10325 `occur-engine' if `face-differs-from-default-p' returns t.
10326 (occur-engine): Add `,' inside backquote construct to evaluate
10327 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10328 Pass `prefix-face' to the functions `occur-context-lines' and
10329 `occur-engine-add-prefix'.
10330 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10331 `prefix-face' and propertize the prefix with `prefix-face'.
10332 (Bug#14017)
10333
7b0e2f85
LL
103342013-03-24 Leo Liu <sdl.web@gmail.com>
10335
10336 * nxml/rng-valid.el (rng-validate-while-idle)
10337 (rng-validate-quick-while-idle): Guard against deleted buffer.
10338 (Bug#13999)
10339
10340 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10341 is the last entry in kill-buffer-hook.
10342
10343 * files.el (kill-buffer-hook): Doc fix.
10344
b3082f49
DG
103452013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10346
b234d92c
SM
10347 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10348 Make it safe-local.
bde73d27 10349
b3082f49
DG
10350 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10351
a320a2db
LL
103522013-03-23 Leo Liu <sdl.web@gmail.com>
10353
7e74b0fb
LL
10354 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10355 Remove.
10356
10357 * nxml/rng-valid.el (rng-validate-mode)
10358 (rng-after-change-function, rng-do-some-validation):
10359 * nxml/rng-maint.el (rng-validate-buffer):
10360 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10361 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10362 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10363 (nxml-extend-after-change-region): Use with-silent-modifications.
10364
a320a2db
LL
10365 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10366 timer-idle-list.
10367
10368 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10369 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10370 timer-idle-list. (Bug#13999)
10371
e38e6780
JL
103722013-03-23 Juri Linkov <juri@jurta.org>
10373
10374 * info.el (info-index-match): New face.
10375 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10376 main pattern and add text properties with the new face to matches
10377 in index entries relative to the beginning of the index entry.
10378 (Bug#14015)
10379
e8cc7880
DE
103802013-03-21 Eric Ludlam <zappo@gnu.org>
10381
10382 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10383 Inhibit read only while inserting objects.
10384
9bb0d822
TZ
103852013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10386
10387 * progmodes/cfengine.el: Update docs to mention
10388 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10389 symbol motion. Remove "_" from the word syntax.
10390
aa703640
TZ
103912013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10392
10393 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10394 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10395
afff09d0
JL
103962013-03-20 Juri Linkov <juri@jurta.org>
10397
10398 * info.el (Info-next-reference-or-link)
10399 (Info-prev-reference-or-link): New functions.
10400 (Info-next-reference, Info-prev-reference): Use them.
10401 (Info-try-follow-nearest-node): Handle footnote navigation.
10402 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10403
9a1ff164
SM
104042013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10407 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10408
2667d15d
PE
104092013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10410
10411 Suppress unnecessary non-ASCII chatter during build process.
10412 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10413 (batch-skkdic-convert): Suppress most of the chatter.
10414 It's not needed so much now that machines are faster,
10415 and its non-ASCII component was confusing; see Dmitry Gutov in
10416 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10417
438b0579
LL
104182013-03-20 Leo Liu <sdl.web@gmail.com>
10419
10420 * ido.el (ido-chop): Fix bug#10994.
10421
c128ab07
DG
104222013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10423
10424 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10425 Remove vars.
9a1ff164
SM
10426 (whitespace-color-on, whitespace-color-off):
10427 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10428
0e6008c5
SM
104292013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10432 remapping in mode-line.
10433 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10434
627b52b0
DG
104352013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10436
10437 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10438 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10439 (whitespace-font-lock-keywords): Change description.
10440 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10441 the constructed keywords instead.
10442 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10443
50c3a20b
LL
104442013-03-19 Leo Liu <sdl.web@gmail.com>
10445
10446 * progmodes/compile.el (compilation-display-error): New command.
10447 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10448 C-o. (Bug#13992)
10449
2aa2157b
PE
104502013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10451
10452 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10453
e477dbfa
JD
104542013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10455
10456 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10457
64ab82d1
MA
104582013-03-18 Michael Albinus <michael.albinus@gmx.de>
10459
10460 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10461
10462 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10463 * net/tramp-gvfs.el (top):
10464 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10465 (tramp-handle-shell-command): Use it.
10466 (tramp-dissect-file-name): Raise an error when hostname is a
10467 method name, and neither method nor user is specified.
10468
10469 * net/trampver.el: Update release number.
10470
33cef733
LL
104712013-03-18 Leo Liu <sdl.web@gmail.com>
10472
10473 Make sure eldoc can be turned off properly.
10474 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10475 eldoc-mode.
10476 (eldoc-display-message-p): Revert last change.
10477 (eldoc-display-message-no-interference-p)
10478 (eldoc-print-current-symbol-info): Tweak.
10479
2167b7b2
TH
104802013-03-18 Tassilo Horn <tsdh@gnu.org>
10481
10482 * doc-view.el (doc-view-new-window-function): Check the new window
10483 overlay's display property instead the char property of the
10484 buffer's first char. Use `with-selected-window' instead of
10485 `save-window-excursion' with `select-window'.
10486 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10487 display property instead the char property of the buffer's first char.
2167b7b2 10488
982efbcd
PE
104892013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10490
10491 Automate the build of ja-dic.el (Bug#13984).
10492 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10493 from the input, rather than assume that it's been done for us by the
10494 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10495 the current date into a ja-dic.el comment, as that complicates
10496 regression testing.
10497
2fcc7665
SM
104982013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * whitespace.el: Fix double evaluation.
10501 (whitespace-space, whitespace-hspace, whitespace-tab)
10502 (whitespace-newline, whitespace-trailing, whitespace-line)
10503 (whitespace-space-before-tab, whitespace-indentation)
10504 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10505 obsolete defvars.
10506 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10507 (whitespace-color-on): Use a single font-lock-add-keywords call.
10508 Fix double-evaluation of face variables.
10509
67c0a6e6
MA
105102013-03-17 Michael Albinus <michael.albinus@gmx.de>
10511
2fcc7665
SM
10512 * net/tramp-adb.el (tramp-adb-parse-device-names):
10513 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10514 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10515
69489f1d
LL
105162013-03-17 Leo Liu <sdl.web@gmail.com>
10517
10518 Extend eldoc to display info in the mode-line. (Bug#13978)
10519 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10520 (eldoc-mode-line-string): New variable.
10521 (eldoc-minibuffer-message): New function.
10522 (eldoc-message-function): New variable.
10523 (eldoc-message): Use it.
10524 (eldoc-display-message-p)
2fcc7665
SM
10525 (eldoc-display-message-no-interference-p):
10526 Support eldoc-post-insert-mode.
69489f1d
LL
10527
10528 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10529 (eval-expression): Run it.
10530
9c44569e
RW
105312013-03-17 Roland Winkler <winkler@gnu.org>
10532
10533 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10534 strings in the list of return values.
10535
327f1f6f
JB
105362013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10537
10538 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10539 radix before checking for HMS forms.
10540
67ed8fcd
LL
105412013-03-16 Leo Liu <sdl.web@gmail.com>
10542
10543 * progmodes/scheme.el: Add indentation and font-locking for λ.
10544 (Bug#13975)
10545
78be8b64 105462013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10547
10548 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10549 token before point (bug#13942).
10550
78be8b64 105512013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10552
95b43468 10553 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10554
98e775e6
EZ
105552013-03-16 Eli Zaretskii <eliz@gnu.org>
10556
10557 * startup.el (command-line-normalize-file-name): Fix handling of
10558 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10559 <xfq.free@gmail.com> in
10560 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10561
2edd6029
MA
105622013-03-15 Michael Albinus <michael.albinus@gmx.de>
10563
10564 Sync with Tramp 2.2.7.
10565
10566 * net/trampver.el: Update release number.
10567
d35f5864
TH
105682013-03-14 Tassilo Horn <tsdh@gnu.org>
10569
e903c210 10570 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10571 (doc-view-insert-image): Don't modify overlay associated to
10572 non-live windows, and implement horizontal centering of image in
10573 case it's smaller than the window.
10574 (doc-view-new-window-function): Force redisplay of new windows on
10575 doc-view buffers.
d35f5864 10576
1c4a85ed
KF
105772013-03-13 Karl Fogel <kfogel@red-bean.com>
10578
10579 * saveplace.el (save-place-alist-to-file): Don't sort
10580 `save-place-alist', just pretty-print it (bug#13882).
10581
85b66a21
MA
105822013-03-13 Michael Albinus <michael.albinus@gmx.de>
10583
a020afb9
JB
10584 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10585 Check whether `default-file-name-coding-system' is bound.
10586 It isn't in XEmacs.
85b66a21 10587
175600da
SM
105882013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10589
e7f7cb1a
SM
10590 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10591 backquotes for `obsolete' (bug#13929).
10592
175600da
SM
10593 * international/mule.el (find-auto-coding): Include file name in
10594 obsolescence warning (bug#13922).
10595
ca68a22e
TZ
105962013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10597
10598 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10599 for CFEngine 3-specific indentation.
10600 (cfengine3-indent-line): Use it. Fix up category regex.
10601 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10602
940e5099
SM
106032013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10604
10605 * type-break.el (type-break-file-name):
10606 * textmodes/remember.el (remember-data-file):
10607 * strokes.el (strokes-file):
10608 * shadowfile.el (shadow-initialize):
10609 * saveplace.el (save-place-file):
10610 * ps-bdf.el (bdf-cache-file):
10611 * progmodes/idlwave.el (idlwave-config-directory):
10612 * net/quickurl.el (quickurl-url-file):
10613 * international/kkc.el (kkc-init-file-name):
10614 * ido.el (ido-save-directory-list-file):
10615 * emulation/viper.el (viper-custom-file-name):
10616 * emulation/vip.el (vip-startup-file):
10617 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10618 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10619
cc725808
PE
106202013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10621
10622 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10623 * language/thai-word.el: Switch to UTF-8.
10624
a020afb9 10625See ChangeLog.16 for earlier changes.
e3d51b27
MR
10626
10627;; Local Variables:
10628;; coding: utf-8
e3d51b27
MR
10629;; End:
10630
ab422c4d 10631 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10632
10633 This file is part of GNU Emacs.
10634
10635 GNU Emacs is free software: you can redistribute it and/or modify
10636 it under the terms of the GNU General Public License as published by
10637 the Free Software Foundation, either version 3 of the License, or
10638 (at your option) any later version.
10639
10640 GNU Emacs is distributed in the hope that it will be useful,
10641 but WITHOUT ANY WARRANTY; without even the implied warranty of
10642 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10643 GNU General Public License for more details.
10644
10645 You should have received a copy of the GNU General Public License
10646 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.