Use bool for boolean.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d6f2380e
TR
12013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2
3 * notifications.el (notifications-close-notification): Call the
4 D-Bus method with `id' being an `:uint32'. (Bug#16030)
5
39fa32d6
KY
62013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
7
8 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
9
9139632a
JL
102013-12-03 Juri Linkov <juri@jurta.org>
11
12 * progmodes/compile.el (compilation-start): Rename window alist
13 entry `no-display-ok' to `allow-no-window'.
14
15 * simple.el (shell-command): Add window alist entry
16 `allow-no-window' to `display-buffer'.
17 (async-shell-command): Doc fix.
18
19 * window.el (display-buffer-no-window): New action function.
20 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
21
0f457a37
DG
222013-12-02 Dmitry Gutov <dgutov@yandex.ru>
23
24 * vc/log-edit.el (log-edit-set-header): Extract from
25 `log-edit-toggle-header'.
26 (log-edit-extract-headers): Separate the summary, when extracted
27 from header, from the rest of the message with an empty line.
28
29 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
30 line, if present, to the Summary header.
31
0962f376
SM
322013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
35 in current-buffer (bug#16029).
36
f345395c
HE
372013-12-02 Helmut Eller <eller.helmut@gmail.com>
38
39 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
40 (debugger-mode-map): Bind it.
41 (debugger--backtrace-base): New function.
42 (debugger-eval-expression): Use it.
43 (debugger-frame-number): Skip local vars when present.
44 (debugger--locals-visible-p, debugger--insert-locals)
45 (debugger--show-locals, debugger--hide-locals): New functions.
46
a8a15d9d
MA
472013-12-02 Michael Albinus <michael.albinus@gmx.de>
48
49 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
50 "LC_ALL".
51 (tramp-get-remote-locale): New defun.
52 (tramp-open-connection-setup-interactive-shell): Use it.
53
0518b057
LL
542013-12-02 Leo Liu <sdl.web@gmail.com>
55
56 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
57
58 * progmodes/sh-script.el (sh-shell-process):
59 * progmodes/octave.el (inferior-octave-process-live-p):
60 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
61 (gdb-inferior-io-sentinel):
62 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
63
3adc9c6d
DG
642013-12-02 Dmitry Gutov <dgutov@yandex.ru>
65
66 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
67 `save-selected-window' to `log-edit-hide-buf'. This makes
68 `log-edit-show-files' idempotent.
69 (log-edit-show-files): Mark the new window as dedicated.
70
47e8b74e
DG
712013-12-02 Dmitry Gutov <dgutov@yandex.ru>
72
73 * vc/log-edit.el (log-edit-mode-map): Add binding for
74 `log-edit-kill-biffer'.
75 (log-edit-hide-buf): Add a FIXME comment.
76 (log-edit-add-new-comment): New function, extracted from
77 `log-edit-done'.
78 (log-edit-done, log-edit-add-to-changelog): Use it.
79 (log-edit-kill-buffer): New command.
80
1f6e1bb0
LMI
812013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
82
83 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
84 instead of killing the buffer.
85
fb651d15
SM
862013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
89
8feacce0
RS
902013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
91
fb651d15 92 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 93 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
94 (eww-form-checkbox, eww-toggle-checkbox):
95 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
96
97 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
98 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
99 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
100 no :src tag was specified.
101
fb651d15 102 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
103 (eww-render): Handle `eww-use-external-browser-for-content-type'.
104 Use \\` to match beginning of string instead of ^.
105 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 106 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 107
177948a5
RS
108 * net/shr.el (shr-tag-video): Display content for video if no
109 poster is available.
eb2dd24d 110 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
111
112 * net/eww.el (eww-text-input-types): : New const.
113 (eww-process-text-input): Treat input types in
114 `eww-text-input-types' as text.
115
8feacce0
RS
116 * net/shr.el (shr-tag-table): Fix comment typo.
117
513562a1
LMI
1182013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
119
120 * net/eww.el (eww-follow-link): New command to avoid reloading
121 pages when we follow #target links (bug#15243).
de8a5633 122 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 123
9dd99753
KN
1242013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
125
126 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
127 forms.
128
3e9876de
LMI
1292013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
130
131 * net/eww.el (eww-restore-history): Update the window title after
132 moving in the history.
ab6dea82 133 (eww-current-dom): New variable used to save the current DOM.
3e9876de 134
52789f7f
DG
1352013-12-01 Dmitry Gutov <dgutov@yandex.ru>
136
137 * vc/log-edit.el (log-edit-mode-map): Add binding for
138 `log-edit-beginning-of-line'.
139 (log-edit-setup-add-author): New user option.
140 (log-edit-beginning-of-line): New command.
141 (log-edit): Move major mode call above the contents setup so that
142 the local variable values are already applied.
143 (log-edit): Only insert "Author: " when
144 `log-edit-setup-add-author' is non-nil.
145 (log-edit): When SETUP is non-nil, position point after ": "
146 instead of point-min.
147
2e6710c3
GM
1482013-12-01 Glenn Morris <rgm@gnu.org>
149
150 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
151
fadec31f
EZ
1522013-11-30 Eli Zaretskii <eliz@gnu.org>
153
154 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 155 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
156 visible. (Bug#16014)
157
10634b40 1582013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
159
160 Support resizing frames and windows pixelwise.
161 * cus-start.el (frame-resize-pixelwise)
162 (window-resize-pixelwise): New entries.
163 * emacs-lisp/debug.el (debug): Use window-total-height instead
164 of window-total-size.
165 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
166 * help.el (describe-bindings-internal): Call help-buffer
167 (temp-buffer-max-width): New option.
168 (resize-temp-buffer-window, help-window-setup)
169 (with-help-window): Rewrite.
170 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
171 dragging dividers.
172 * window.el (frame-char-size, window-min-pixel-height)
173 (window-safe-min-pixel-height, window-safe-min-pixel-width)
174 (window-min-pixel-width, window-safe-min-pixel-size)
175 (window-combination-p, window-safe-min-size)
176 (window-resizable-p, window--size-to-pixel)
177 (window--pixel-to-size, window--resize-apply-p): New functions.
178 (window-safe-min-height): Fix doc-string.
179 (window-size, window-min-size, window--min-size-1)
180 (window-sizable, window-sizable-p, window--min-delta-1)
181 (window-min-delta, window--max-delta-1, window-max-delta)
182 (window--resizable, window--resizable-p, window-resizable)
183 (window-full-height-p, window-full-width-p, window-at-side-p)
184 (window--in-direction-2, window-in-direction)
185 (window--resize-reset-1, window--resize-mini-window)
186 (window-resize, window-resize-no-error)
187 (window--resize-child-windows-normal)
188 (window--resize-child-windows, window--resize-siblings)
189 (window--resize-this-window, window--resize-root-window)
190 (window--resize-root-window-vertically)
191 (adjust-window-trailing-edge, enlarge-window, shrink-window)
192 (maximize-window, minimize-window, delete-window)
193 (quit-restore-window, window-split-min-size, split-window)
194 (balance-windows-2, balance-windows)
195 (balance-windows-area-adjust, balance-windows-area)
196 (window--state-get-1, window-state-get, window--state-put-1)
197 (window--state-put-2, window-state-put)
fb651d15
SM
198 (display-buffer-record-window, window--display-buffer):
199 Make functions handle pixelwise sizing of windows.
880e6158 200 (display-buffer--action-function-custom-type)
fb651d15
SM
201 (display-buffer-fallback-action):
202 Add display-buffer-in-previous-window.
880e6158
MR
203 (display-buffer-use-some-window): Resize window to height it had
204 before.
205 (fit-window-to-buffer-horizontally): New option.
206 (fit-frame-to-buffer): Describe new values.
207 (fit-frame-to-buffer-bottom-margin): Replace with
208 fit-frame-to-buffer-margins.
209 (window--sanitize-margin): New function.
210 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
211 using window-text-pixel-size.
212
f9b697dd
GM
2132013-11-30 Glenn Morris <rgm@gnu.org>
214
3e2fb4db
GM
215 * emacs-lisp/bytecomp.el (byte-compile-form):
216 Make the `interactive-only' warning like the `obsolete' one.
217 * comint.el (comint-run):
218 * files.el (insert-file-literally, insert-file):
219 * replace.el (replace-string, replace-regexp):
220 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
221 (goto-line, insert-buffer, next-line, previous-line):
222 Tweak `interactive-only' spec.
223
f9b697dd
GM
224 Stop keeping (most) generated cedet grammar files in the repository.
225 * Makefile.in (semantic): New.
226 (compile-main): Depend on semantic.
227
da048127
SM
2282013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
229
7784b779
SM
230 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
231 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
232
4e36a6a6
SM
233 * uniquify.el (uniquify-buffer-name-style): Change default.
234
235 * loadup.el: Preload "uniquify".
236
e0ba1308
SM
237 * time.el (display-time-update): Update all mode lines (bug#15999).
238
da048127
SM
239 * electric.el (electric-indent-mode): Enable by default.
240 * loadup.el: Preload "electric".
241
015b3b3e
BB
2422013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
243
244 * emacs-lisp/helpers.el (string-empty-p): New function.
245 (string-blank-p): New function.
246
7efb806d
AP
2472013-11-29 Andreas Politz <politza@hochschule-trier.de>
248
249 * imenu.el (imenu--index-alist): Add missing dot to the docstring
250 (Bug#14029).
251
c8f0efc2
AP
2522013-11-29 Andreas Politz <politza@fh-trier.de>
253 * imenu.el (imenu--subalist-p): Don't error on non-conses and
254 allow non-lambda lists as functions.
255 (imenu--in-alist): Don't recurse into non-subalists.
256 (imenu): Don't pass function itself as an argument (Bug#14029).
257
bd15d9d1
SM
2582013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * progmodes/python.el (python-mode-map): Remove binding for ":".
261 (python-indent-electric-colon): Remove command.
262 (python-indent-post-self-insert-function): Integrate the previous code
263 of python-indent-electric-colon. Make it conditional on
264 electric-indent-mode.
265 (python-mode): Add ?: to electric-indent-chars.
266 Move python-indent-post-self-insert-function to the end of
267 post-self-insert-hook.
268
1b10adb6
SM
2692013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
270
655ab9a3
SM
271 * doc-view.el (doc-view-goto-page): Update mode-line.
272
1b10adb6
SM
273 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
274
7e3bf78c
GM
2752013-11-27 Glenn Morris <rgm@gnu.org>
276
277 * international/charprop.el, international/uni-bidi.el:
278 * international/uni-category.el, international/uni-combining.el:
279 * international/uni-comment.el, international/uni-decimal.el:
280 * international/uni-decomposition.el, international/uni-digit.el:
281 * international/uni-lowercase.el, international/uni-mirrored.el:
282 * international/uni-name.el, international/uni-numeric.el:
283 * international/uni-old-name.el, international/uni-titlecase.el:
284 * international/uni-uppercase.el:
285 Remove generated files from VCS repository.
286
fb6a5d68
EZ
2872013-11-27 Eli Zaretskii <eliz@gnu.org>
288
289 * filenotify.el (file-notify-add-watch): Don't special-case
290 w32notify when computing the directory to watch.
291
cb6c95a3
GM
2922013-11-27 Glenn Morris <rgm@gnu.org>
293
20372d0c
GM
294 Make bootstrap without generated uni-*.el files possible again.
295 * loadup.el: Update command-line-args checking for unidata-gen.
296 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
297 * composite.el, international/characters.el:
298 Handle unicode tables being undefined.
299
52d6635f 300 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
301 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
302 (compile-main): Depend on leim rule.
303 (leim): New rule.
304 * loadup.el: Move leim-list.el to leim/ subdirectory.
305 * startup.el (normal-top-level): No more leim directory.
306 * international/ja-dic-cnv.el (skkdic-convert):
307 Disable version-control and autoloads in output files.
308 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
309 Disable version-control and autoloads in output files.
310 * leim/quail: Move here from ../leim.
311 * leim/quail/hangul.el (hangul-input-method-activate):
312 Add autoload cookie.
313 (generated-autoload-load-name): Set file-local value.
314 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
315 (generated-autoload-load-name): Set file-local value.
316
0449d6cd 3172013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
318
319 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
320 (eww-add-bookmark): ask confirmation when add to bookmarks
321 (eww-quit): ask confirmation before quitting eww
322
0e2c793f
EZ
3232013-11-26 Eli Zaretskii <eliz@gnu.org>
324
325 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
326 reading output from Diff on MS-Windows and MS-DOS.
327
447bdcb8
BB
3282013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
329
330 * emacs-lisp/helpers.el (string-reverse): New function.
331
5fbf6856
MA
3322013-11-26 Michael Albinus <michael.albinus@gmx.de>
333
334 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
335 names on MS Windows, like "/[::1]:".
336
337 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
338 SWITCHES.
339
624780f0
GM
3402013-11-26 Glenn Morris <rgm@gnu.org>
341
0bf3f0fa
GM
342 * progmodes/python.el (python-indent-guess-indent-offset):
343 Avoid corner-case error. (Bug#15975)
344
624780f0
GM
345 Preload leim-list.el. (Bug#4789)
346 * loadup.el: Load leim-list.el when found.
347 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
348
4301875e 3492013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
350
351 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
352
4301875e
BB
353 * emacs-lisp/helpers.el (string-join): New function.
354
1633a815 3552013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
356
357 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
358 Mark as obsolete and replace it with a symbol property.
359 (byte-compile-form): Use new 'interactive-only property.
360 * comint.el, files.el, replace.el, simple.el:
361 Apply new 'interactive-only properly.
362
00139435
MR
3632013-11-25 Martin Rudalics <rudalics@gmx.at>
364
365 * window.el (display-buffer-at-bottom): Make sure that
366 split-window-sensibly creates the new window on bottom
367 (Bug#15961).
368
5f5b128d
DK
3692013-11-23 David Kastrup <dak@gnu.org>
370
371 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
372 on the conflict markers when available.
373 (smerge--get-marker): New function.
374 (smerge-end-re, smerge-base-re): Add subgroup.
375
623891e5
SM
3762013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * frame.el (handle-focus-in, handle-focus-out): Add missing
379 interactive spec.
380
05ca27d8
MA
3812013-11-25 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
384 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
385
511fa0d3
SM
3862013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
387
e82ad66c
SM
388 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
389 (gomoku--last-pos): New var.
390 (gomoku--intangible-chars): New const.
391 (gomoku--intangible): New function.
392 (gomoku-mode): Use it. Derive from special-mode.
393 (gomoku-move-up): Adjust line count.
394 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
395 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
396 Simplify accordingly.
397
511fa0d3
SM
398 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
399 Remove blink-cursor code.
400 (blink-cursor-timer-function, blink-cursor-suspend):
401 Don't special-case GUIs.
402 (blink-cursor-mode): Use focus-in/out-hook.
403
6f20dd03
DG
4042013-11-25 Dmitry Gutov <dgutov@yandex.ru>
405
406 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
407 work when annotation is invisible (Bug#13886).
408
431dec31 4092013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
410
411 * json.el (json-alist-p): Only return non-nil if the alist has
412 simple keys (Bug#13518).
413
431dec31 4142013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
415
416 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
417 when control-statement is the first statement in a buffer (Bug#15956).
418
ee4f0261
DG
4192013-11-24 Dmitry Gutov <dgutov@yandex.ru>
420
421 * imenu.el (imenu-generic-skip-comments-and-strings):
422 New option (Bug#15560).
423 (imenu--generic-function): Use it.
424
c484f866
JS
4252013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
426
427 * minibuffer.el (completion--in-region-1): Scroll the correct
428 window. (Bug#13898)
429
41ce6f70
BB
4302013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
431
b55aea38
BB
432 * emacs-lisp/helpers.el: Add some string helpers.
433 (string-trim-left): Removes leading whitespace.
434 (string-trim-right): Removes trailing whitespace.
435 (string-trim): Removes leading and trailing whitespace.
436
41ce6f70
BB
437 * subr.el (string-suffix-p): New function.
438
3cfb6af3
GM
4392013-11-23 Glenn Morris <rgm@gnu.org>
440
441 * progmodes/python.el (python-shell-send-file):
442 Add option to delete file when done. (Bug#15647)
443 (python-shell-send-string, python-shell-send-region): Use it.
444
c27924b7
IS
4452013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
446
e1b01c7f
IS
447 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
448 to set buffer-read-only to t, never to nil. (Bug#15938)
449
c27924b7
IS
450 * textmodes/tex-mode.el (latex-noindent-environments):
451 Add safe-local-variable property. (Bug#15936)
452
17e0445b
GM
4532013-11-23 Glenn Morris <rgm@gnu.org>
454
92f78ea3
GM
455 * textmodes/enriched.el (enriched-mode): Doc fix.
456 * emacs-lisp/authors.el (authors-renamed-files-alist):
457 Add enriched.doc -> enriched.txt.
458
17e0445b
GM
459 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
460
965bb23a
LL
4612013-11-22 Leo Liu <sdl.web@gmail.com>
462
463 * progmodes/octave.el (inferior-octave-startup): Spit out error
464 message.
465
d19ffd64
BB
4662013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
467
468 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
469 Improve docstring.
15ba2182
BB
470 Add :version.
471 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 472
7a7567d2
LL
4732013-11-22 Leo Liu <sdl.web@gmail.com>
474
475 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
476 (Bug#15076)
8c09f64b
LL
477 (octave-help-mode): Adapt to change to help-mode-finish to use
478 derived-mode-p on 2013-09-17.
479 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 480 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 481
724bc265
LL
4822013-11-22 Leo Liu <sdl.web@gmail.com>
483
484 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
485 (inferior-octave-startup, inferior-octave-check-process)
486 (inferior-octave-track-window-width-change)
487 (octave-completion-at-point, octave-eldoc-function): Use it.
488 (octave-kill-process): Provide confirmation. (Bug#10564)
489
38637cca
LL
4902013-11-21 Leo Liu <sdl.web@gmail.com>
491
511fa0d3
SM
492 * progmodes/octave.el (octave-mode, inferior-octave-mode):
493 Fix obsolete variable comment-use-global-state.
38637cca 494
06e752b4
RS
4952013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
496
511fa0d3
SM
497 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
498 Add `octave-source-file'.
06e752b4
RS
499 (octave-source-file): New function. (Bug#15935)
500
0449d6cd 5012013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
502
503 * net/eww.el (eww-local-regex): New variable.
504 (eww): Use it to detect localhost and similar.
505
b6ffa04a
LL
5062013-11-21 Leo Liu <sdl.web@gmail.com>
507
508 Add completion for command `ag'.
2021a200
LL
509 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
510 (pcomplete/ag): New function.
511 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 512
d1a6bccc
SM
5132013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
516 (bug#14646).
517 (make-obsolete): Remove interactive spec.
518
2df10228
GM
5192013-11-21 Glenn Morris <rgm@gnu.org>
520
521 * startup.el (command-line-1): Use path-separator with -L.
522
86fd16b6
TZ
5232013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
524
525 * emacs-lisp/package.el (describe-package-1): Add package archive
526 to shown fields.
527
0449d6cd 5282013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
529
530 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
531 Change default to "# encoding: %s" to differentiate it from the
532 default Ruby encoding comment template.
533
dc7e8c17 5342013-11-20 era eriksson <era+emacsbugs@iki.fi>
535
536 * ses.el (ses-mode): Doc fix. (Bug#14748)
537
f0cfa5fe
LL
5382013-11-20 Leo Liu <sdl.web@gmail.com>
539
540 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
541
826dc7b6
DN
5422013-11-19 Dan Nicolaescu <dann@gnu.org>
543
544 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
545 when rebase or bisect are in progress.
546
a6e3a5d5
XF
5472013-11-19 Xue Fuqiao <xfq.free@gmail.com>
548
549 * filenotify.el (file-notify-add-watch): Doc fix.
550
f130cb76
LL
5512013-11-19 Leo Liu <sdl.web@gmail.com>
552
e0855d7d
LL
553 * obsolete/rcompile.el: Mark obsolete.
554
f130cb76 555 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
556 (compilation-goto-locus, compilation-find-file):
557 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
558 (Bug#13594)
559
560 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
561 new parameter no-display-ok. Return either a window or nil
562 but never a non-window value.
f130cb76 563
1f35d401
SM
5642013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
565
25158c76
SM
566 * electric.el (electric-indent-mode-map): Remove.
567 (electric-indent-mode): Change the global-map instead (bug#15915).
568
569 * textmodes/text-mode.el (paragraph-indent-minor-mode):
570 Use add-function.
1f35d401 571
9bc67baa
SM
5722013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
573
986545b5
SM
574 * emacs-lisp/nadvice.el (remove-function): Align with
575 add-function's behavior.
576
9bc67baa
SM
577 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
578 (gdb--string-regexp): New constant.
579 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
580 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
581 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
582 submatch 1.
583 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
584 Adjust use accordingly.
585 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
586
56cd894e
AS
5872013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
588
589 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
590 interpolation curlies (Bug#15914).
591
014690de
JB
5922013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
593
594 * calc/calc.el (calc-context-sensitive-enter): New variable.
595 (calc-enter): Use `calc-context-sensitive-enter'.
596
7e26a6c3
TZ
5972013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
598
599 * progmodes/cfengine.el: Version bump.
600 (cfengine-cf-promises): New defcustom to locate cf-promises.
601 (cfengine3-vartypes): Add new "data" type.
602 (cfengine3--current-word): New function to get current name-like
603 word or its bounds.
604 (cfengine3--current-function): New function to look up a CFEngine
605 function's definition.
606 (cfengine3-format-function-docstring): New function.
607 (cfengine3-make-syntax-cache): New function.
608 (cfengine3-documentation-function): New function: ElDoc glue.
609 (cfengine3-completion-function): New function: completion glue.
610 (cfengine3-mode): Set `compile-command',
611 `eldoc-documentation-function', and add to
612 `completion-at-point-functions'.
613
355204dd
MA
6142013-11-16 Michael Albinus <michael.albinus@gmx.de>
615
616 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
617 `tramp-current-connection'.
618
43cebc23
DG
6192013-11-15 Dmitry Gutov <dgutov@yandex.ru>
620
621 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
622 nil/self/true/false with "end of symbol".
623
a3fed6ff
BB
6242013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
625
626 * subr.el (version-regexp-alist): Fix a typo.
627
e675b3e4
MA
6282013-11-15 Michael Albinus <michael.albinus@gmx.de>
629
630 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
631 "en_US.utf8" and "LC_CTYPE" to "".
632 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
633 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
634
a1f03e89
LL
6352013-11-15 Leo Liu <sdl.web@gmail.com>
636
637 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
638
5d9d9451
SM
6392013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
640
58362662
CS
641 * progmodes/gud.el (ctl-x-map):
642 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
643 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
644
6c1bf086
BB
6452013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
646
0d5363c4
BB
647 * subr.el (version-regexp-alist):
648 Recognize hg, svn and darcs versions as snapshot versions.
649
4e9fc48c
BB
650 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
651 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
652 (ruby--encoding-comment-required-p): Extract from
653 `ruby-mode-set-encoding'.
654 (ruby-mode-set-encoding): Add the ability to always insert an
655 utf-8 encoding comment. Fix and simplify coding comment update
656 logic.
6c1bf086 657
2f7e72f8
MA
6582013-11-14 Michael Albinus <michael.albinus@gmx.de>
659
660 * net/tramp-gvfs.el (top): Run init code only when
661 `tramp-gvfs-enabled' is not nil.
662 (tramp-gvfs-enabled): Check also :system bus.
663
0f137a73
SM
6642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 Sync with upstream verilog-mode revision 78e66ba.
667 * progmodes/verilog-mode.el (verilog-end-of-defun)
668 (verilog-type-completion, verilog-get-list): Remove unused funcs.
669 (verilog-get-end-of-defun): Remove unused argument.
670 (verilog-comment-depth): Remove unused local `e'.
671 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
672 Don't pass arg to verilog-get-end-of-defun.
673
1c276bdd
GM
6742013-11-14 Glenn Morris <rgm@gnu.org>
675
676 * obsolete/assoc.el (aget): Prefix dynamic variable.
677
678 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
679
ff6ec81d
SM
6802013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * widget.el, hfy-cmap.el: Remove bogus package version number.
683
75f777b6
GM
6842013-11-13 Glenn Morris <rgm@gnu.org>
685
1d43dba1
GM
686 * replace.el (replace-eval-replacement):
687 Try to give more helpful error message. (Bug#15836)
688
ff4b7bd5
GM
689 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
690 (archive-7z-update): Avoid custom type mismatches.
691
75f777b6
GM
692 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
693
11151a06
MA
6942013-11-13 Michael Albinus <michael.albinus@gmx.de>
695
e675b3e4 696 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
697 address can be empty.
698
699 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
700 Accept nil SWITCHES.
701 (tramp-gvfs-handle-write-region): Implement APPEND.
702
7b08f97e
DG
7032013-11-12 Dmitry Gutov <dgutov@yandex.ru>
704
705 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
706 binary "|" operator and closing block args delimiter.
707 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
708 (ruby-smie--implicit-semi-p): Not after "|" operator.
709 (ruby-smie--closing-pipe-p): New function.
710 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
711 (ruby-smie-rules): Indent after "|".
712
f201cf3a
GM
7132013-11-12 Glenn Morris <rgm@gnu.org>
714
715 * ps-print.el (ps-face-attribute-list):
716 Handle anonymous faces. (Bug#15827)
717
e6f759f9
MR
7182013-11-12 Martin Rudalics <rudalics@gmx.at>
719
720 * window.el (display-buffer-other-frame): Fix doc-string.
721 (Bug#15868)
722
ecda65d4
SM
7232013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * subr.el (force-mode-line-update): Delete, move to buffer.c.
726
7ce8fcc3
MA
7272013-11-11 Michael Albinus <michael.albinus@gmx.de>
728
729 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
730 (tramp-sh-handle-file-local-copy): Don't write a message when
731 saving temporary files.
732
733 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
734 both directories are remote.
735 (tramp-smb-handle-directory-files): Do not return double entries.
736 Do not expand full file names.
737 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
738 (tramp-smb-handle-write-region): Implement APPEND.
739 (tramp-smb-get-stat-capability): Fix a stupid bug.
740
7818df11
SM
7412013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
744
608c2085
NT
7452013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
746
747 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
748 throwing error over malformed let/let* (bug#15814).
749
122a7e46
SM
7502013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * iswitchb.el (iswitchb-mode): Mark obsolete.
753
766284d9
GM
7542013-11-11 Glenn Morris <rgm@gnu.org>
755
756 * international/uni-bidi.el, international/uni-category.el:
757 * international/uni-name.el, international/uni-numeric.el:
758 Regenerate for Unicode 6.3.0.
759
7072a4e9
MA
7602013-11-10 Michael Albinus <michael.albinus@gmx.de>
761
762 * net/tramp.el (tramp-methods):
763 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
764 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
765
c9df215b
AS
7662013-11-09 Andreas Schwab <schwab@linux-m68k.org>
767
608c2085
NT
768 * progmodes/sh-script.el (sh-font-lock-keywords-var):
769 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 770
fa47d796
DG
7712013-11-09 Dmitry Gutov <dgutov@yandex.ru>
772
773 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 774 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
775 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
776 (ispell-complete-word): Call `ispell-lookup-words' with the value
777 independent of `ispell-look-p'.
778
1629a329
DG
7792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
780
781 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
782 Not after "||".
783 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
784 their parent.
785
ad16897c
SM
7862013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
789 (ruby-font-lock-keywords): Use backquote.
790
ffa2df72
DG
7912013-11-08 Dmitry Gutov <dgutov@yandex.ru>
792
793 * progmodes/ruby-mode.el (ruby-smie--forward-token)
794 (ruby-smie--backward-token): Only consider full-string matches.
795
5b97b4c0
JD
7962013-11-08 Jan Djärv <jan.h.d@swipnet.se>
797
798 * faces.el (describe-face): Add distant-foreground.
799
71731c03
BB
8002013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
801
4e9fc48c
BB
802 * progmodes/ruby-mode.el: Improve encoding comment handling.
803 (ruby-encoding-magic-comment-style): New option.
804 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
805 (ruby--insert-coding-comment, ruby--detect-encoding):
806 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
807 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
808 to control the style of the auto-inserted encoding comment.
71731c03 809
da3b328d
DG
8102013-11-08 Dmitry Gutov <dgutov@yandex.ru>
811
ad16897c
SM
812 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
813 Use `smie-backward-sexp' with token argument.
da3b328d 814
1606c2d3
MA
8152013-11-08 Michael Albinus <michael.albinus@gmx.de>
816
817 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
818 Remove instrumentation code.
819
b0f4c320
GM
8202013-11-08 Glenn Morris <rgm@gnu.org>
821
822 * progmodes/autoconf.el (autoconf-mode):
823 Tweak comment-start-skip. (Bug#15822)
824
43668fb1
SM
8252013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
828 at bobp (bug#15826).
829 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
830
daddb3fd
DH
8312013-11-08 Darren Hoo <darren.hoo@gmail.com>
832
833 * man.el (Man-start-calling): New macro, extracted from
834 Man-getpage-in-background.
835 (Man-getpage-in-background): Use it.
836 (Man-update-manpage): New command.
837 (Man-mode-map): Bind it.
838
1f923923
DG
8392013-11-08 Dmitry Gutov <dgutov@yandex.ru>
840
841 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
842 of "and", "or", "&&" and "||".
843 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
844 argument. Prohibit opening curly brace because it could only be a
845 block opener in that position.
daddb3fd
DH
846 (ruby-smie--forward-token, ruby-smie--backward-token):
847 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
848 arguments.
849 (ruby-smie--indent-to-stmt): New function, seeks the end of
850 previous statement or beginning of buffer.
851 (ruby-smie-rules): Use it.
852 (ruby-smie-rules): Check if there's a ":" before a curly block
853 opener candidate; if there is, it's a hash.
854
3220d527
SM
8552013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
858 (cl--block-wrapper): Fix last accidental change.
859
1eb1f9e0
MA
8602013-11-07 Michael Albinus <michael.albinus@gmx.de>
861
862 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
863 Instrument, in order to hunt failure on hydra.
864
e6e4db3c
NT
8652013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
866
867 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
868 malformed bindings form (bug#15814).
869
b420ccfc
DG
8702013-11-07 Dmitry Gutov <dgutov@yandex.ru>
871
872 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
873 "." compared to " @ ". This incidentally fixes some indentation
874 examples with "do".
e6e4db3c 875 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
876 (ruby-smie-grammar): New tokens: "and" and "or".
877 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
878 Exclude "and" and "or". Remove "do" in order to work around token
879 priorities.
880 (ruby-smie-rules): Add all infix tokens. Handle the case of
881 beginning-of-buffer.
b420ccfc 882
6b4ac03e
GM
8832013-11-06 Glenn Morris <rgm@gnu.org>
884
885 * Makefile.in (setwins_almost, setwins_for_subdirs):
886 Avoid accidental matches.
887
5ca114d1
SM
8882013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * menu-bar.el (popup-menu): Use key-binding.
891
f72552bd
EZ
8922013-11-06 Eli Zaretskii <eliz@gnu.org>
893
894 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
895 menus, support also the menus produced by minor modes.
896 (Bug#15817)
897
5d5c701e
LL
8982013-11-06 Leo Liu <sdl.web@gmail.com>
899
900 * thingatpt.el (thing-at-point-looking-at): Add optional arg
901 DISTANCE to bound the search. All uses changed. (Bug#15808)
902
0a8b75e2
GM
9032013-11-06 Glenn Morris <rgm@gnu.org>
904
905 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
906 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
907 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 908
a35287ea
SM
9092013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
910
feca4e2d
SM
911 * electric.el (electric-indent-just-newline): New command.
912 (electric-indent-mode-map): New keymap.
913 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
914 Re-add :group which weren't redundant.
915
a35287ea
SM
916 * electric.el (electric-indent-local-mode): New minor mode.
917 (electric-indent-functions-without-reindent): New var.
918 (electric-indent-post-self-insert-function): Use it.
919 * emacs-lisp/gv.el (buffer-local-value): Add setter.
920
375761b2
EZ
9212013-11-05 Eli Zaretskii <eliz@gnu.org>
922
9a6ad735
EZ
923 * international/quail.el (quail-help): Be more explicit about the
924 meaning of the labels shown on the keys. (Bug#15800)
925
375761b2
EZ
926 * startup.el (normal-top-level): Load the subdirs.el files before
927 setting the locale environment. (Bug#15805)
928
520a6e4a
SM
9292013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
930
0acfafef
SM
931 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
932 via arguments so as to get the right ones (bug#15418).
933
520a6e4a
SM
934 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
935
15826261
MA
9362013-11-05 Michael Albinus <michael.albinus@gmx.de>
937
938 Fix problems found while writing a test suite.
939
940 * net/tramp-compat.el (tramp-compat-load): New defun.
941 * net/tramp.el (tramp-handle-load): Use it.
942
943 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
944 "(numberp ok-if-already-exists)" correctly.
945
d35f31a4
XF
9462013-11-05 Xue Fuqiao <xfq.free@gmail.com>
947
948 * international/characters.el (glyphless-char-display-control):
949 Add usage note.
950
ae93bc74
BB
9512013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
952
520a6e4a
SM
953 * progmodes/python.el (python-mode):
954 * progmodes/scheme.el (scheme-mode):
955 * progmodes/prolog.el (prolog-mode):
956 * progmodes/ruby-mode.el (ruby-mode):
957 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
958 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 959
0ade65b5
SM
9602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
961
a0d5f7a4
SM
962 * rect.el (rectangle--highlight-for-redisplay):
963 * emacs-lisp/smie.el (smie--next-indent-change):
964 Use buffer-chars-modified-tick.
965
c93f3f5c
SM
966 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
967
0ade65b5
SM
968 * electric.el (electric-indent-post-self-insert-function):
969 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
970
ef9dd188
HE
9712013-11-04 Helmut Eller <eller.helmut@gmail.com>
972
973 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
974
306e7308
NT
9752013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
976
977 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
978 (bug#15786).
979
e5afbcac
SM
9802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
981
1d01ad41
SM
982 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
983
e5afbcac
SM
984 * progmodes/python.el: Fix up last change.
985 (python-shell--save-temp-file): New function.
986 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
987 `string' comes from the current buffer.
988 (python-shell-send-string-no-output): Remove `msg' arg.
989 (python--use-fake-loc): New var.
990 (python-shell-buffer-substring): Obey it. Try to compensate for the
991 extra coding line added by python-shell--save-temp-file.
992 (python-shell-send-region): Use python-shell--save-temp-file and
993 python-shell-send-file directly. Add `nomain' argument.
994 (python-shell-send-buffer): Use python-shell-send-region.
995 (python-electric-pair-string-delimiter): New function.
996 (python-mode): Use it.
997
d0065ff1
EZ
9982013-11-04 Eli Zaretskii <eliz@gnu.org>
999
1000 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1001 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1002 environment and decoding all of the default-directory's to here
1003 from command-line.
1004 (command-line): Decode also argv[0].
1005
1006 * loadup.el: Error out if default-directory is a multibyte string
1007 when we are dumping.
1008
1009 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1010
7397c587
TZ
10112013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1012
1013 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1014 (package-menu--print-info, package-menu--archive-predicate):
1015 Add Archive column to package list.
7397c587 1016
b27cc9fc
MA
10172013-11-04 Michael Albinus <michael.albinus@gmx.de>
1018
1019 Fix problems found while writing a test suite.
1020
1021 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1022 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1023 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1024 to nil when running original file name handler. Otherwise,
1025 there are problems with constructs like "$$FOO".
1026
1027 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1028 for `localname'.
1029
d8c4f18a
BB
10302013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1031
7b530552
BB
1032 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1033
1034 * subr.el (version<, version<=, version=):
1035 Update docstrings with information for snapshot versions.
1036
d8c4f18a
BB
1037 * helpers.el: New library for misc helper functions.
1038 (hash-table-keys): New function returning a list of hash keys.
1039 (hash-table-values): New function returning a list of hash values.
1040
dca01b09
DG
10412013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1042
1043 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1044 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1045
0a749fa0
MN
10462013-11-04 Michal Nazarewicz <mina86@mina86.com>
1047
1048 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1049 checking whether point is after a 1-letter word.
1050
10512013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1052
1053 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1054 Don't infloop when expanding region over `multiline' syntax-type that
1055 begins a line (bug#15778).
1056
4aca7145
SM
10572013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1060 Make it into a proper minor mode.
1061 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1062 (rectangle-mark-mode-map): New keymap.
1063 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1064
a0833f62
GM
10652013-11-04 Glenn Morris <rgm@gnu.org>
1066
1067 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1068
e61845c1
SM
10692013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1072 (ruby-smie-rules): Use smie-rule-parent instead.
1073
1074 * emacs-lisp/smie.el (smie-rule-parent): Always call
1075 smie-indent-virtual rather than only for hanging tokens.
1076 (smie--next-indent-change): New helper command.
1077
62942f89
GM
10782013-11-03 Glenn Morris <rgm@gnu.org>
1079
1080 * Makefile.in (abs_srcdir): Remove.
1081 (emacs): Unset EMACSLOADPATH.
1082
b0b9e592
GM
10832013-11-02 Glenn Morris <rgm@gnu.org>
1084
18ba6a33 1085 * Makefile.in (EMACS): Use a relative filename.
8061810d 1086 (abs_top_builddir): Remove.
18ba6a33
GM
1087 (custom-deps, finder-data, autoloads): Use --chdir.
1088
6a8b929e
GM
1089 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1090
c617f3d0
GM
1091 Use relative filenames in TAGS files.
1092 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1093 (lisptagsfiles4, TAGS): Use relative file names.
1094 (TAGS-LISP): Remove.
1095 (maintainer-clean): No more TAGS-LISP file.
1096
b0b9e592
GM
1097 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1098 (lisptagsfiles4): Use absolute filenames again.
1099 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1100 Remove all *loaddefs files, not just the first. Remove esh-groups.
1101 (maintainer-clean): Delete TAGS, TAGS-LISP.
1102
d1c0ea6a
BB
11032013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1104
e61845c1
SM
1105 * emacs-lisp/package.el (package-version-join):
1106 Recognize snapshot versions.
d1c0ea6a 1107
684d71c6
BB
11082013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1109
1110 * subr.el (version-regexp-alist): Add support for snapshot versions.
1111
3d42b968
DG
11122013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1113
e61845c1
SM
1114 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1115 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1116 skip over our direct parent if it's an assignment token..
1117 (ruby-smie-rules): Use it.
1118
7ffd3721
DG
11192013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1120
1121 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1122 unconditionally. Remove now unnecessary forward declarations.
1123 Remove XEmacs-specific setup.
1124 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1125 (ruby-font-lock-syntactic-keywords)
1126 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1127 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1128 (ruby-here-doc-end-syntax): Remove.
1129 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1130 defined as function.
1131
a3996a2e
BB
11322013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1133
1134 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1135
6f9260e8
BB
11362013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1137
1138 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1139 table and abbrev table, `define-derived-mode' does that for us
1140 anyway.
1141
6014de84
GM
11422013-11-01 Glenn Morris <rgm@gnu.org>
1143
1144 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1145 files is atomic for some time, so no parallel compilation issues).
1146
3c334c14
JD
11472013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1148
1149 * faces.el (face-x-resources): Add :distant-foreground.
1150 (region): Use :distant-foreground for gtk and ns.
1151
9bc236c8
TH
11522013-11-01 Tassilo Horn <tsdh@gnu.org>
1153
5246583b 1154 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1155 BibTeX.
1156 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1157 (reftex-locate-bibliography-files): Us it.
1158
d14c81ee
CB
11592013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1160
0e7690de
CB
1161 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1162 allow comments in pbm files.
1163
d14c81ee
CB
1164 * term/w32-win.el (dynamic-library-alist): Support newer versions
1165 of libjpeg starting with v7: look only for the DLL from the
1166 version against which Emacs was built.
ac1bf374 1167 Support versions of libpng beyond 1.4.x.
019c8218 1168 Support libtiff v4.x.
d14c81ee 1169
983d0df5
BB
11702013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1171
1172 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1173 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1174 Add property :safe.
1175 (ruby-deep-arglist): Add property :type.
1176
47f58d85
GM
11772013-10-31 Glenn Morris <rgm@gnu.org>
1178
1179 * Makefile.in (custom-deps, finder-data): No need to setq the target
1180 variables, we are in the right directory and the defaults work fine.
1181
4f85b479
GM
11822013-10-30 Glenn Morris <rgm@gnu.org>
1183
ca7dd4cd
GM
1184 * Makefile.in (autoloads): Do not use abs_lisp.
1185
4f85b479
GM
1186 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1187 `newline' does not respect `standard-output', so use `princ'.
1188
cf59e41c
AA
11892013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1190
1191 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1192 * buff-menu.el (Buffer-menu--unmark): New function.
1193 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1194
74cf04fb
GM
11952013-10-30 Glenn Morris <rgm@gnu.org>
1196
b040b60e
GM
1197 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1198
f53d3815
GM
1199 * emacs-lisp/package.el (lm-homepage): Declare.
1200
5413d873
GM
1201 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1202 Fix doc typos.
1203
cecedb36
GM
1204 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1205
74cf04fb
GM
1206 * Makefile.in (finder-data, autoloads, update-subdirs)
1207 (compile-main, compile-clean, compile-always, bootstrap-clean):
1208 Check return value of cd.
1209 (compile-calc): Remove.
1210
195ee2f0
SM
12112013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1212
ae4002ce
SM
1213 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1214
1215 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1216 (byte-compile-and-folded): New function.
1217 (=, <, >, <=, >=): Use it.
1218
1219 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1220 (path-separator, null-device, buffer-file-coding-system)
1221 (lpr-headers-switches): Check system-type before modifying them.
1222 (find-buffer-file-type-coding-system): Mark obsolete.
1223 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1224 find-file-not-found-set-buffer-file-coding-system.
1225 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1226 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1227 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1228 (w32-direct-print-region-helper, w32-direct-print-region-function)
1229 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1230 * startup.el (normal-top-level-add-subdirs-to-load-path):
1231 * ps-print.el (ps-print-region-function):
1232 * lpr.el (print-region-function): Use new name.
1233
53b39e89
SM
1234 * subr.el (custom-declare-variable-early): Remove function.
1235 (custom-declare-variable-list): Remove var.
1236 (error, user-error): Remove `while' loop.
1237 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1238 (user-emacs-directory-warning, locate-user-emacs-file):
1239 Move to files.el.
1240 * simple.el (read-quoted-char-radix, read-quoted-char):
1241 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1242 Move from subr.el.
1243 * custom.el (custom-declare-variable-list): Don't process
1244 custom-declare-variable-list.
1245
195ee2f0
SM
1246 * progmodes/python.el (python-shell-get-buffer): New function.
1247 (python-shell-get-process): Use it.
1248 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1249 Python which encoding was used. Don't split-string since we only care
1250 about the first line. Return the temp-file, if applicable.
1251 (python-shell-send-region): Tell compile.el how to turn locations in
1252 the temp-file into locations in the source buffer.
1253
7e3561ee
SM
12542013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1255
4c9797cb
SM
1256 * subr.el (undefined): Add missing behavior from the C code for
1257 unbound keys.
1258
3472b6c6
SM
1259 * rect.el: Use lexical-binding. Add new rectangular region support.
1260 (rectangle-mark): New command.
1261 (rectangle--region): New var.
1262 (deactivate-mark-hook): Reset rectangle--region.
1263 (rectangle--extract-region, rectangle--insert-for-yank)
1264 (rectangle--highlight-for-redisplay)
1265 (rectangle--unhighlight-for-redisplay): New functions.
1266 (region-extract-function, redisplay-unhighlight-region-function)
1267 (redisplay-highlight-region-function): Use them to handle
1268 rectangular region.
1269 * simple.el (region-extract-function): New var.
1270 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1271 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1272 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1273 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1274 (redisplay-unhighlight-region-function)
1275 (redisplay-highlight-region-function): New vars.
1276 (redisplay--update-region-highlight): New function.
1277 (pre-redisplay-function): Use it.
1278 (exchange-point-and-mark): Don't deactivate the mark before
1279 reactivate-it anyway.
1280 * comint.el (comint-kill-region): Remove yank-handler argument.
1281 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1282 (delete-char): Remove property, since it's now part of their
1283 default behavior.
1284 (self-insert-iso): Remove property since this command doesn't exist.
1285
7e3561ee
SM
1286 * emacs-lisp/package.el (package--download-one-archive)
1287 (describe-package-1): Don't query the user about final newline.
1288
b9bef71f
DC
12892013-10-29 Daniel Colascione <dancol@dancol.org>
1290
1291 * net/tramp.el (tramp-methods): Document new functionality.
1292 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1293 tramp-hostname-checker if method provides one instead of scanning
1294 argument list for "%h" to decide hostname acceptability.
1295
4efc33f0
MA
12962013-10-28 Michael Albinus <michael.albinus@gmx.de>
1297
1298 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1299 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1300 Handle COPY-CONTENTS. (Bug#15737)
1301
ed42a877
DU
13022013-10-28 Daiki Ueno <ueno@gnu.org>
1303
1304 * epa-file.el
7e3561ee
SM
1305 (epa-file-cache-passphrase-for-symmetric-encryption):
1306 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1307
18c9f8a2
XF
13082013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1309
7a4bc7be
XF
1310 * image.el (defimage):
1311 (image-load-path): Doc fixes.
18c9f8a2 1312
b1e8e010
AM
13132013-10-27 Alan Mackenzie <acm@muc.de>
1314
1315 Indent statements in macros following "##" correctly.
7e3561ee
SM
1316 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1317 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1318
73d40d1e 13192013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1320
1321 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1322
c8c605ac
DG
13232013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1326 after `=' is probably a new expression.
1327
ca7e59d4
RS
13282013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1329
1330 * man.el (man-imenu-title): New option.
1331 (Man-mode-map): Add menu. (Bug#15722)
1332 (Man-mode): Add imenu to menu.
1333
bae91342
DG
13342013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1335
1336 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1337 specific in what the first arg can be: a non-keyword word,
1338 string/regexp/percent literal opener, opening paren, or unary
1339 operator followed directly by word.
1340
eb89dc14
SM
13412013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1344 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1345 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1346 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1347 Remove vars, they do not apply any more.
1348 (prolog-mode-abbrev-table): Remove redundant declaration.
1349 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1350 (prolog-use-smie): Remove.
1351 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1352 supported by prolog-electric-if-then-else-flag.
1353 (prolog-mode-variables, prolog-menu): Use setq-local.
1354 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1355 Remove binding to `Backspace' since this key doesn't exist anyway.
1356 Remove bindings for electric self-inserting keys.
1357 (prog-mode): Assume it's defined.
1358 (prolog-post-self-insert): New function.
1359 (prolog-mode): Use it.
1360 (prolog-indent-line, prolog-indent-level)
1361 (prolog-find-indent-of-matching-paren)
1362 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1363 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1364 (prolog-goto-next-paren, prolog-in-string-or-comment)
1365 (prolog-tokenize, prolog-inside-mline-comment)
1366 (prolog-find-start-of-mline-comment): Remove functions.
1367 (prolog-find-unmatched-paren, prolog-clause-end)
1368 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1369 (prolog-electric--if-then-else): Rename from
1370 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1371 (prolog-tokenize-searchkey): Remove const.
1372 (prolog-clause-info): Use forward-sexp.
1373 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1374 (prolog-electric-if-then-else): Remove commands.
1375 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1376 for use in post-self-insert-hook.
1377 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1378 for use in post-self-insert-hook.
1379 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1380 for use in post-self-insert-hook.
1381 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1382 adapt it for use in post-self-insert-hook.
1383
3dab0a83
MA
13842013-10-25 Michael Albinus <michael.albinus@gmx.de>
1385
1386 * emacs-lisp/ert.el (ert-run-tests-interactively):
1387 Use `completing-read'. (Bug#9756)
1388
fbfd0e1d
EZ
13892013-10-25 Eli Zaretskii <eliz@gnu.org>
1390
1391 * simple.el (line-move): Call line-move-1 instead of
1392 line-move-visual when the current window hscroll is zero, but
1393 temporary-goal-column indicates we will need to hscroll as result
1394 of the movement. (Bug#15712)
1395
963ce636
DG
13962013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1397
1398 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1399 capitalization. Use :visible instead of :active.
1400 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1401 commands that are used with SMIE.
1402 (ruby-do-end-to-brace): Insert space after `{'.
1403
a0be396a
JA
14042013-10-25 John Anthony <john@jo.hnanthony.com>
1405
f73754c9
JA
1406 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1407
1408 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1409
f5bf77df
GM
14102013-10-25 Glenn Morris <rgm@gnu.org>
1411
1412 * vc/vc.el (vc-print-log): Don't use a working revision unless
1413 one was explicitly specified. (Bug#15322)
1414
37241f62
SM
14152013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * subr.el (add-to-list): Preserve return value in compiler-macro
1418 (bug#15692).
1419
6408a65d
RS
14202013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1421
1422 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1423 result. Ask user to retry using '-all' flag. (Bug#15701)
1424
71e3276b
SM
14252013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacs-lisp/smie.el: New smie-config system.
1428 (smie-config): New defcustom.
1429 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1430 (smie-config-guess, smie-config-save): New commands.
1431 (smie-config--mode-local, smie-config--buffer-local)
1432 (smie-config--trace, smie-config--modefuns): New vars.
1433 (smie-config--advice, smie-config--mode-hook)
1434 (smie-config--setter, smie-config-local, smie-config--get-trace)
1435 (smie-config--guess-value, smie-config--guess): New functions.
1436 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1437 text properties. Treat "string fence" syntax like string syntax.
1438
1439 * progmodes/sh-script.el (sh-use-smie): Change default.
1440 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1441 (sh-var-value): Simplify by CSE.
1442 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1443 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1444 is used.
1445 (sh-guess-basic-offset): Use cl-incf.
1446 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1447
60db713e
HE
14482013-10-24 Helmut Eller <eller.helmut@gmail.com>
1449
1450 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1451 (bug#15699).
1452
8b251df6
GM
14532013-10-24 Glenn Morris <rgm@gnu.org>
1454
1455 * Makefile.in (abs_top_srcdir): Remove.
1456 (update-subdirs): Use relative path to update-subdirs.
1457
6be0e22b
EZ
14582013-10-24 Eli Zaretskii <eliz@gnu.org>
1459
1460 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1461 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1462 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1463 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1464
50b5b857
MA
14652013-10-24 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1468 (ert-test-skipped): New error.
1469 (ert-skip, ert-stats-skipped): New defuns.
1470 (ert--skip-unless): New macro.
1471 (ert-test-skipped): New struct.
1472 (ert--run-test-debugger, ert-test-result-type-p)
1473 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1474 (ert--stats-set-test-and-result, ert-char-for-test-result)
1475 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1476 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1477 Handle skipped tests. (Bug#9803)
50b5b857 1478
6f317c2f
GM
14792013-10-24 Glenn Morris <rgm@gnu.org>
1480
e43817c1
GM
1481 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1482
6f317c2f
GM
1483 * Makefile.in (abs_top_srcdir): New, set by configure.
1484 (update-subdirs): Correct build-aux location.
1485
369bbf71
DG
14862013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1487
8297b2cf
DG
1488 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1489 value, whether we could auto-deduce `backend', or not.
1490
369bbf71
DG
1491 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1492 with parameters" example. Simplify the "is it block or is it
1493 hash" check, but also make it more thorough.
1494
d5f1282f
MF
14952013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1496
1497 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1498
bc4aaa31
SM
14992013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1500
03d44565
SM
1501 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1502 { if it is hanging.
1503
bc4aaa31
SM
1504 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1505 :before ";".
1506
f493ff19
JB
15072013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1508
1509 * progmodes/compile.el (compilation-directory-matcher)
1510 (compilation-page-delimiter):
1511 Support GNU Make-4.0 directory quoting. (Bug#15678)
1512
c744a3b9
LL
15132013-10-23 Leo Liu <sdl.web@gmail.com>
1514
1515 * ido.el (ido-tidy): Handle read-only text.
1516
b8e3b0a9
GM
15172013-10-23 Glenn Morris <rgm@gnu.org>
1518
1519 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1520 (emacs, compile, compile-always):
1521 Quote entities that might contain whitespace.
1522 (custom-deps, finder-data, autoloads): Use abs_lisp.
1523 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1524 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1525 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1526
ee4282cd
DG
15272013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1528
bc4aaa31
SM
1529 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1530 Use `following-char'.
7790a270 1531
ee4282cd 15322013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1533
1534 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1535 * progmodes/ruby-mode.el (ruby-smie-rules):
1536 Remove corresponding workaround. Fix indentation rule of ";" so it
1537 also applies when ";" is the parent.
1538
d40a46d7
XF
15392013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1540
1541 * frame.el (display-screens, display-pixel-height)
1542 (display-pixel-width, display-mm-width, display-backing-store)
1543 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1544 (display-visual-class, display-monitor-attributes-list):
1545 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1546
a0f143c9
MG
15472013-10-22 Michael Gauland <mikelygee@amuri.net>
1548
1549 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1550 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1551
18cacc39
DG
15522013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1553
1554 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1555 TODO. Add "." after " @ ".
1556 (ruby-smie--at-dot-call): New function. Checks if point at method
1557 call with explicit target.
1558 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1559 to the method name tokens when it precedes them.
1560 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1561 (ruby-smie-rules): Add rule for indentation before and after "."
1562 token.
1563
df74c4be
SM
15642013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1565
c6dab55f
SM
1566 * textmodes/remember.el (remember-diary-extract-entries):
1567 Avoid add-to-list.
1568
df74c4be
SM
1569 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1570 an instruction.
1571
8c1ae481
DG
15722013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1573
cfef16c0
DG
1574 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1575 (ruby-smie--implicit-semi-p): Add new operator chars.
1576
8c1ae481
DG
1577 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1578 `smie-down-list'.
1579 (ruby-smie--args-separator-p): Check that there's no newline
1580 between method call and its arguments.
1581
87756ca9
AM
15822013-10-20 Alan Mackenzie <acm@muc.de>
1583
1584 Allow comma separated lists after Java "implements".
1585
df74c4be
SM
1586 * progmodes/cc-engine.el (c-backward-over-enum-header):
1587 Parse commas.
87756ca9
AM
1588 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1589 from a "disallowed" list in enum fontification.
1590
c25f8957
JB
15912013-10-20 Johan Bockgård <bojohan@gnu.org>
1592
df74c4be 1593 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1594
c25f8957
JB
1595 * progmodes/verilog-mode.el (verilog-mode): Don't set
1596 comment-indent-function globally.
1597
aca5fcdc
JD
15982013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1599
5f161884
JD
1600 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1601 Move Info menu item creation to ns-win.el.
1602
1603 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1604 in menu bar.
1605
aca5fcdc
JD
1606 * menu-bar.el: Move GNUStep specific menus...
1607
1608 * term/ns-win.el (ns-initialize-window-system): ... to here.
1609
914b7f98
SM
16102013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * simple.el (newline): Only run post-self-insert-hook when
1613 called interactively.
1614
846ffe77
JB
16152013-10-19 Johan Bockgård <bojohan@gnu.org>
1616
1617 * icomplete.el (icomplete-with-completion-tables): Add :version.
1618
033f22dd
AM
16192013-10-19 Alan Mackenzie <acm@muc.de>
1620
1621 Fix fontification bugs with constructors and const.
1622
1623 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1624 CASE 2) Remove the check for the absence of a suffix construct
1625 after a function declaration with only types (no identifiers) in
1626 the parentheses. Also, accept a function declaration with just a
1627 type inside the parentheses, if this type can be positively
1628 recognised as such, or if a prefix keyword like "explicit" nails
1629 down the construct as a declaration.
1630
58ce0cfc
EZ
16312013-10-19 Eli Zaretskii <eliz@gnu.org>
1632
1633 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1634 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1635 the problem whereby selecting a menu item that leads to a
1636 minibuffer prompt moves the cursor out of the minibuffer window,
1637 making it hard to type at the prompt. Suggested by Stefan Monnier
1638 <monnier@iro.umontreal.ca>.
1639
50e28e7d
JD
16402013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1641
1642 * menu-bar.el: Don't make Services menu.
1643
7deed4bf
RS
16442013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1645
1646 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1647 (ffap-alist): Use ffap-c++-mode for c++-mode.
1648 (ffap-c++-path): New variable.
1649 (ffap-c++-mode): New function.
1650
7bcb455b
JVJ
16512013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1652
1653 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1654
f0ff1cd5
MA
16552013-10-18 Michael Albinus <michael.albinus@gmx.de>
1656
1657 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1658 introduced on 2013-09-08, which results in an infinite loop
1659 requesting a password.
1660
d64da4b7
GM
16612013-10-18 Glenn Morris <rgm@gnu.org>
1662
1663 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1664
ea89ff08
WS
16652013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1666
1667 Sync with upstream verilog-mode revision 1a6ecec7.
1668 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1669 (verilog-mode-release-date): Remove.
1670 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1671 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1672 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1673 (verilog-auto-tieoff-ignore-regexp)
1674 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1675 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1676 (verilog-signals-with, verilog-dir-cache-preserving)
1677 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1678 Doc fixes.
1679 (verilog-case-fold): New option, to control case folding in
1680 regexp searches, bug597.
1681 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1682 (verilog-string-match-fold, verilog-in-paren-count)
1683 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1684 (verilog-at-close-struct-p): New functions.
1685 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1686 (verilog-forward-sexp, verilog-set-auto-endcomments):
1687 (verilog-leap-to-case-head): Handle "unique0" case.
1688 (verilog-in-constraint-re): New constant.
1689 (verilog-keywords, verilog-type-font-keywords):
1690 Add some SystemVerilog 1800-2012 keywords.
1691 (verilog-label-be): Remove unimplemented argument, bug669.
1692 (verilog-batch-execute-func): When batch expanding clear
1693 create-lockfiles to prevent spurious user locks when a file ends
1694 up not changing.
1695 (verilog-calculate-indent, verilog-calc-1)
1696 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1697 (verilog-do-indent): Fix indentation of nested constraints
1698 and structures.
1699 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1700 (verilog-auto-inst-param): Use verilog-string-match-fold.
1701 (verilog-read-inst-module-matcher):
1702 Fix AUTOINST on gate primitives with #1.
1703 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1704 Reads all user-defined typed variables.
1705 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1706 (verilog-signals-matching-regexp)
1707 (verilog-signals-not-matching-regexp, verilog-auto):
1708 Respect verilog-case-fold.
1709 (verilog-diff-report): Fix line count.
1710 (verilog-auto-assign-modport): Remove unused local `modi'.
1711 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1712 better handle multidimensional arrays.
1713 Fix packed array ports misadding bit index in AUTOINST, bug637.
1714 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1715 to not double-declare existing outputs and inputs, respectively.
1716 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1717 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1718 (verilog-sk-uvm-component): New skeleton.
1719 (verilog-submit-bug-report): Add verilog-case-fold,
1720 remove verilog-mode-release-date.
1721
ef566920
BR
17222013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1723
1724 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1725 as before.
1726
29df8a0b
RT
17272013-10-18 Reuben Thomas <rrt@sc3d.org>
1728
1729 * textmodes/remember.el (remember): set buffer-offer-save in
1730 remember buffers (bug#13566).
1731
04a19a79
DC
17322013-10-18 Daniel Colascione <dancol@dancol.org>
1733
1734 When evaluating forms in ielm, direct standard output to ielm
1735 buffer. Add new ielm-return-for-effect command. Remove trailing
1736 whitespace throughout.
1737
1738 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1739 (ielm-return-for-effect): New command.
1740 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1741 (ielm-eval-input): Accept optional `for-effect' parameter.
1742 Bind `standard-output' to stream we create using
04a19a79
DC
1743 `ielm-standard-output-impl'. Suppress printing result when
1744 `for-effect'.
1745 (ielm-standard-output-impl): New function.
1746 (inferior-emacs-lisp-mode): Explain new features in documentation.
1747
4c1f03ef
MA
17482013-10-17 Michael Albinus <michael.albinus@gmx.de>
1749
1750 Code cleanup.
1751
1752 * net/tramp.el (tramp-debug-message): Do not check for connection
1753 buffer.
1754 (tramp-message): Use "vector" connection property.
1755
1756 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1757 (tramp-equal-remote, tramp-eshell-directory-change)
1758 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1759 (tramp-adb-handle-rename-file)
1760 * net/tramp-cmds.el (tramp-list-remote-buffers)
1761 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1762 * net/tramp-compat.el (tramp-compat-process-running-p)
1763 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1764 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1765 (tramp-gvfs-handle-rename-file)
1766 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1767 (tramp-set-file-uid-gid)
1768 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1769 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1770 of `file-remote-p'.
1771
1772 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1773 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1774 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1775 (tramp-gw-open-network-stream): Suppress unrelated traces.
1776
1777 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1778 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1779 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1780 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1781 connection property.
1782
1783 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1784 persistency file.
4c1f03ef
MA
1785
1786 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1787 Refactor common code. Improve debug message.
1788 (tramp-maybe-open-connection)
1789 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1790 connection buffer too early.
1791
1792 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1793 from `tramp-smb-actions-with-acl'.
1794 (tramp-smb-actions-set-acl): New defconst.
1795 (tramp-smb-handle-copy-directory)
1796 (tramp-smb-action-get-acl): New defun, renamed from
1797 `tramp-smb-action-with-acl'.
1798 (tramp-smb-action-set-acl): New defun.
1799 (tramp-smb-handle-set-file-acl): Rewrite.
1800
642eb8b6
GM
18012013-10-17 Glenn Morris <rgm@gnu.org>
1802
1803 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1804
85527ff3
SM
18052013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1806
921c1d62
SM
1807 * skeleton.el (skeleton-newline): Remove.
1808 (skeleton-internal-1): Use (insert "\n") instead.
1809
e333fb10
SM
1810 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1811 let-bindings.
1812
85527ff3
SM
1813 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1814 forward-sexp-function while we redo its job (bug#15613).
1815
c8722a97
JB
18162013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1817
1818 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1819 represented by lists.
1820
7a550bbb
GM
18212013-10-16 Glenn Morris <rgm@gnu.org>
1822
1823 * tmm.el (tmm--history): New dynamic variable.
1824 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1825
f19da8ad
MA
18262013-10-16 Michael Albinus <michael.albinus@gmx.de>
1827
1828 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1829 (tramp-smb-errors): Add error messages.
1830 (tramp-smb-actions-with-acl): New defconst.
1831 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1832 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1833 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1834 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1835 (tramp-smb-get-stat-capability): Fix tests.
1836
a24b9961
DK
18372013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1838
1839 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1840 (bug#15580).
1841
62ad85e6
GM
18422013-10-16 Glenn Morris <rgm@gnu.org>
1843
0283d6b0
GM
1844 * ansi-color.el (ansi-color-drop-regexp):
1845 Add 1J, 1K, 2K. (Bug#15617)
1846
012e2f9f
GM
1847 * files.el (hack-local-variables--warned-lexical): New.
1848 (hack-local-variables):
1849 Warn about misplaced lexical-binding. (Bug#15616)
1850
62ad85e6
GM
1851 * net/eww.el (eww-render): Always set eww-current-url,
1852 and update header line. (Bug#15622)
1853 (eww-display-html): ... Rather than just doing it here.
1854
6456c0ea
EZ
18552013-10-15 Eli Zaretskii <eliz@gnu.org>
1856
1857 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1858 menu navigations commands.
1859
c2de5588
DK
18602013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1861
1862 * progmodes/subword.el (subword-capitalize): Be careful when
1863 the search for [[:alpha:]] fails (bug#15580).
1864
ccd4a783
EZ
18652013-10-14 Eli Zaretskii <eliz@gnu.org>
1866
1867 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1868 to commands that scroll the menu.
1869
1eda1d8d
DG
18702013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1871
c2de5588
DK
1872 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1873 Handle methods ending with `?' and `!'.
1eda1d8d 1874
e70181b8
AM
18752013-10-14 Akinori MUSHA <knu@iDaemons.org>
1876
1877 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1878 `japanese-cp932' to `cp932' to fix the problem where saving a
1879 source file written in Shift_JIS twice would end up having
1880 `coding: japanese-cp932' which Ruby could not recognize.
1881 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1882 in `ruby-encoding-map'.
1883 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1884 doesn't need to be explicitly declared in magic comment.
1885 (ruby-encoding-map): Add type declaration for better customize UI.
1886
9148ee92
GM
18872013-10-13 Glenn Morris <rgm@gnu.org>
1888
a5d38e34
GM
1889 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1890 Occur buffers are read-only. http://bugs.debian.org/720775
1891
9148ee92
GM
1892 * emacs-lisp/authors.el (authors-fixed-entries):
1893 Comment out old alpha stuff.
1894
a9ba094b
DG
18952013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1898 to `after-save-hook' instead of `before-save-hook'.
1899 (ruby-mode-set-encoding): Use the value of coding system used to
1900 write the file. Call `basic-save-buffer-1' after modifying the
1901 buffer.
1902
7a068717
AM
19032013-10-13 Alan Mackenzie <acm@muc.de>
1904
1905 Fix indentation/fontification of Java enum with
1906 "implements"/generic.
1907
c2de5588
DK
1908 * progmodes/cc-engine.el (c-backward-over-enum-header):
1909 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1910 (c-inside-bracelist-p): Uses new function above.
1911 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1912 function above.
1913 (c-font-lock-enum-tail): Uses new function above.
1914
85b64f02
KH
19152013-10-13 Kenichi Handa <handa@gnu.org>
1916
1917 * international/mule-cmds.el (select-safe-coding-system): Remove a
1918 superfluous condition in chekcing whether a coding system is safe
1919 or not.
1920
fc7f501b
OK
19212013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1922
1923 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1924
fdcb2049
AP
19252013-10-13 Andreas Politz <politza@hochschule-trier.de>
1926
1927 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1928
8c106d17
GM
19292013-10-13 Glenn Morris <rgm@gnu.org>
1930
feab892d
GM
1931 * menu-bar.el (menu-bar-update-buffers):
1932 Unify Buffers menu prompt string. (Bug#15576)
1933
b22d0686
GM
1934 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1935
8c106d17
GM
1936 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1937 Add some entries.
1938 (authors-fixed-entries): Use accented form of name.
1939
1b12c797
SM
19402013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1941
650fa7bf 1942 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1943 method calls (bug#15594).
650fa7bf
SM
1944 (ruby-smie--args-separator-p): New function.
1945 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1946 recognize paren-free method calls.
1947
1b12c797
SM
1948 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1949 internals of universal-argument.
1950
029619c8
EZ
19512013-10-11 Eli Zaretskii <eliz@gnu.org>
1952
1953 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1954 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1955 dropped menu on second mouse click on the menu bar.
029619c8 1956
dd070019
SM
19572013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1960 (explicit-shell-file-name): Declare.
1961 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1962 (sh-completion-at-point-function): New function.
1963 (sh-mode): Use it.
1964 (sh-smie--keyword-p): Remove unused argument.
1965 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1966 vars.
1967 (sh-set-shell): Always setup SMIE, even if we use the
1968 old indentation code.
1969
0922b826
DG
19702013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1971
b68e2926
DG
1972 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1973 cases of ? and =.
1974 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1975 predicate would return nil are almost non-existent.
1976 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1977
0922b826
DG
1978 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1979 cache also after commands that modify the buffer but don't move
1980 point.
1981
ee041f2d
SM
19822013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * env.el (substitute-env-in-file-name): New function.
1985 (substitute-env-vars): Extend the meaning of the optional arg.
1986
a5dab159
EZ
19872013-10-10 Eli Zaretskii <eliz@gnu.org>
1988
1989 * term/w32-win.el (dynamic-library-alist): Define separate lists
1990 of GIF DLLs for versions before and after 5.0.0 of giflib.
1991 (Bug#15531)
1992
0449d6cd 19932013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
1994
1995 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1996 not locked, use last revision and current source as
1997 defaults. (Bug#15569)
1998
2f6e161e
MY
19992013-10-10 Masatake YAMATO <yamato@redhat.com>
2000
2001 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2002 menu-bar is hidden.
2003
6c8413fc
MR
20042013-10-10 Martin Rudalics <rudalics@gmx.at>
2005
2006 * window.el (pop-to-buffer-same-window): Fix doc-string.
2007 (Bug#15492)
2008
20832de0
SM
20092013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2012
c6e8ae77
AC
20132013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2014
2015 * calendar/icalendar.el (icalendar-import-file):
2016 Fix interactive spec. (Bug#15482)
2017
9db13baf
GM
20182013-10-10 Glenn Morris <rgm@gnu.org>
2019
9271e90e
GM
2020 * desktop.el (desktop-save): Default to saving in .emacs.d,
2021 since PWD is no longer in desktop-path by default. (Bug#15319)
2022
9db13baf
GM
2023 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2024 now that text mode has a menu with the same entry.
2025 (menu-bar-text-mode-auto-fill): Remove now unused func.
2026 * textmodes/text-mode.el (text-mode-map):
2027 Use auto-fill help text from menu-bar.el.
2028
a0be396a 20292013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2030
2031 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2032
2edcd3c7
JL
20332013-10-09 Juri Linkov <juri@jurta.org>
2034
2035 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2036 instead of this-command-keys. Add universal-argument-more and
2037 universal-argument-minus to the list of prefix commands. (Bug#15568)
2038
574411d0
GM
20392013-10-09 Glenn Morris <rgm@gnu.org>
2040
14afa541
GM
2041 * vc/vc-svn.el (vc-svn-create-repo):
2042 Expand paths in file://... url. (Bug#15446)
2043
574411d0
GM
2044 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2045 Add some entries.
2046 (authors): Remove unused local variables.
2047
79804536
SM
20482013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * profiler.el: Create a more coherent calltree from partial backtraces.
2051 (profiler-format): Hide the tail with `invisible' so that C-s can still
2052 find the hidden elements.
2053 (profiler-calltree-depth): Don't recurse so enthusiastically.
2054 (profiler-function-equal): New hash-table-test.
2055 (profiler-calltree-build-unified): New function.
2056 (profiler-calltree-build): Use it.
2057 (profiler-report-make-name-part): Indent the calltree less.
2058 (profiler-report-mode): Add visibility specs for profiler-format.
2059 (profiler-report-expand-entry, profiler-report-toggle-entry):
2060 Expand the whole subtree when provided with a prefix arg.
2061
238150c8
DG
20622013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2063
2064 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2065 iuwu-mod token.
2066 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2067 hanging iuwu-mod token.
2068 (ruby-smie--forward-token): Do not include a dot after a token in
2069 that token.
2070 (ruby-smie--backward-token): Likewise.
2071
b0949cc4
JL
20722013-10-08 Juri Linkov <juri@jurta.org>
2073
2074 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2075 to isearch-other-control-char.
2076 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2077 and isearch-post-command-hook to post-command-hook.
2078 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2079 and isearch-post-command-hook from post-command-hook.
2080 (isearch-unread-key-sequence)
2081 (isearch-reread-key-sequence-naturally)
2082 (isearch-lookup-scroll-key, isearch-other-control-char)
2083 (isearch-other-meta-char): Remove functions.
2084 (isearch-pre-command-hook, isearch-post-command-hook):
2085 New functions based on isearch-other-meta-char rewritten
2086 relying on the new behavior of overriding-terminal-local-map
2087 that does not replace the local keymaps any more. (Bug#15200)
2088
4ed77415
EZ
20892013-10-08 Eli Zaretskii <eliz@gnu.org>
2090
2091 Support menus on text-mode terminals.
2092 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2093 functionality.
2094
2095 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2096
c2de5588
DK
2097 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2098 Move here from mouse.el.
4ed77415
EZ
2099 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2100 and arrow keys.
2101 (tty-menu-navigation-map): New map for TTY menu navigation.
2102
2103 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2104
2105 * frame.el (display-mouse-p): Report text-mode mouse as available
2106 on w32.
2107 (display-popup-menus-p): Report availability if mouse is
2108 available; don't condition on window-system.
2109
2110 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2111 (tty-menu-selected-face): New faces.
2112
b7d5bd82
TL
21132013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2114
06286513
SM
2115 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2116 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2117 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2118 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2119 New constants.
2120 (lisp-mode-variables): New `elisp' argument.
2121 (emacs-lisp-mode): Use it.
2122 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2123 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2124
b7d5bd82
TL
2125 * indent.el: Use lexical-binding.
2126 (indent-region): Add progress reporter.
2127 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2128 last step.
2129 (indent--next-tab-stop): New function to implement this behavior.
2130 (tab-to-tab-stop, move-to-tab-stop): Use it.
2131
21322013-10-08 Teemu Likonen <tlikonen@iki.fi>
2133
2134 * indent.el (indent-rigidly--current-indentation): New function.
2135 (indent-rigidly-map): New var.
2136 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2137
5ea75d23
BG
21382013-10-08 Bastien Guerry <bzg@gnu.org>
2139
2140 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2141
cc5da1ec
SM
21422013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2143
8ffa1a0b
SM
2144 * progmodes/perl-mode.el: Use lexical-binding.
2145 Remove redundant :group args.
2146 (perl-nochange): Change default to be closer to other major modes's
2147 standard behavior.
2148 (perl-indent-line): Don't consider text on current line as a
2149 valid beginning of function from which to indent.
2150
f2223371
SM
2151 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2152 with more than one argument (bug#15538).
2153
44256060
SM
2154 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2155
cc5da1ec
SM
2156 * vc/pcvs.el: Use lexical-binding.
2157 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2158 environment of `eval'.
2159 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2160 than a list of expressions. Adjust callers.
2161 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2162
0ea1599d
DG
21632013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2164
2165 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2166 case of the dot in a chained method call being on the following line.
0ea1599d 2167
da3e5ebb
SM
21682013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2abb4e65
SM
2170 * electric.el (electric-indent-inhibit): New var.
2171 (electric-indent-post-self-insert-function): Use it.
2172 * progmodes/python.el (python-mode): Set it.
2173
d2e0e795
SM
2174 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2175 open braces.
2176
2177 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2178
bdc6b4c8
SM
2179 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2180 (css-mode): Use electric-indent-chars.
2181
da3e5ebb
SM
2182 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2183 (font-lock-beg, font-lock-end): Move before first use.
2184 (nxml-mode): Use syntax-propertize-function.
2185 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2186 (nxml-extend-after-change-region): Remove.
2187 * nxml/xmltok.el: Use lexical-binding.
2188 (xmltok-save): Use `declare'.
2189 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2190 * nxml/nxml-util.el: Use lexical-binding.
2191 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2192 Use `declare'.
2193 * nxml/nxml-ns.el: Use lexical-binding.
2194 (nxml-ns-save): Use `declare'.
2195 (nxml-ns-prefixes-for): Avoid add-to-list.
2196 * nxml/rng-match.el: Use lexical-binding.
2197 (rng--ipattern): Use cl-defstruct.
2198 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2199 (rng-cons-group-after, rng-subst-group-after)
2200 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2201 Use closures instead of `(lambda...).
2202
f8f91d5d
MA
22032013-10-07 Michael Albinus <michael.albinus@gmx.de>
2204
2205 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2206 of BEG and END.
2207
da3e5ebb
SM
2208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2209 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2210 (tramp-gvfs-handle-insert-file-contents): Remove function.
2211
da3e5ebb
SM
2212 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2213 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2214
2215 * net/trampver.el: Update release number.
2216
7ccae3b1
SM
22172013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2218
55ca2c0d
SM
2219 * progmodes/compile.el (compilation-parse-errors):
2220 Use compilation--put-prop.
2221 (compilation--ensure-parse): Check compilation-multiline.
2222
731fc3ae
SM
2223 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2224
da3e5ebb
SM
2225 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2226 lexical-binding.
a5833280 2227
2e7ba2c2
SM
2228 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2229
7ccae3b1
SM
2230 * progmodes/ruby-mode.el: Fix recently added tests.
2231 (ruby-smie-grammar): Add - and +.
2232 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2233 (ruby-smie--backward-id): New functions.
2234 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2235 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2236 any more.
2237
85698d63
LL
22382013-10-07 Leo Liu <sdl.web@gmail.com>
2239
2240 * register.el (register-preview-delay)
2241 (register-preview-functions): New variables.
2242 (register-read-with-preview, register-preview)
2243 (register-describe-oneline): New functions.
2244 (point-to-register, window-configuration-to-register)
2245 (frame-configuration-to-register, jump-to-register)
2246 (number-to-register, view-register, insert-register)
2247 (copy-to-register, append-to-register, prepend-to-register)
2248 (copy-rectangle-to-register): Use register-read-with-preview to
2249 read register. (Bug#15525)
2250
3986af6c
DS
22512013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2252
2253 * net/network-stream.el (network-stream-open-starttls): Don't add
2254 --insecure if it's already present, because that gnutls-cli
2255 rejects getting that parameter twice.
2256
5cd9cda9
DG
22572013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2258
2259 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2260 keyword, too.
2261
da9ea6d9
DG
22622013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2263
2264 * newcomment.el (comment-use-global-state): Change default value
2265 to t, mark obsolete (Bug#15251).
2266 (comment-beginning): In addition to `comment-to-syntax', check the
2267 value of `comment-use-global-state'.
2268
34d1a133
SM
22692013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2272 (ruby-comment-column): Follow the global default, by default.
2273 (ruby-smie-grammar): Add assignment syntax.
2274 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2275 open-paren, a comma, or a \.
2276 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2277 and line continuations.
2278 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2279 followed by implicit semi-colons. Add rule for string concatenation
2280 and for indentation at BOB.
2281 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2282
2283 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2284 calling next-sexp, since next-token may have skipped chars which
2285 next-sexp doesn't know should be skipped!
2286
6f6ab820
LL
22872013-10-05 Leo Liu <sdl.web@gmail.com>
2288
34d1a133
SM
2289 * progmodes/octave.el (octave-send-region):
2290 Call compilation-forget-errors.
6f6ab820 2291
34ca0f4c
XF
22922013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2293
2294 * vc/vc-svn.el (vc-svn-find-admin-dir):
2295 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2296 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2297 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2298 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2299
a27c1b72
SM
23002013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2303
258ab3bc
SM
23042013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * subr.el (read-passwd): Hide chars even when called within a context
2307 where after-change-functions is disabled (bug#15501).
2308 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2309 until we removed ourself from overriding-terminal-local-map.
2310
939fb29c
LL
23112013-10-04 Leo Liu <sdl.web@gmail.com>
2312
258ab3bc
SM
2313 * progmodes/octave.el (inferior-octave-mode):
2314 Call compilation-forget-errors.
939fb29c 2315
63bd7f35
XF
23162013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2317
2318 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2319
9e6229fa
MA
23202013-10-04 Michael Albinus <michael.albinus@gmx.de>
2321
2322 * net/secrets.el (secrets-create-collection): Add optional
2323 argument ALIAS. Use proper Label keyword. Append ALIAS as
2324 dbus-call-method argument. (Bug#15516)
2325
1dab32a3
LL
23262013-10-04 Leo Liu <sdl.web@gmail.com>
2327
2328 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2329 (inferior-octave-compilation-font-lock-keywords): New variables.
2330 (compilation-error-regexp-alist)
2331 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2332 (inferior-octave-mode): Use compilation-shell-minor-mode.
2333
6cad7ba3
JS
23342013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2335
2336 * minibuffer.el (completion--replace): Be careful that `end' might be
2337 a marker.
2338
acbadd00
DU
23392013-10-03 Daiki Ueno <ueno@gnu.org>
2340
2341 Add support for package signature checking.
2342 * emacs-lisp/package.el (url-http-file-exists-p)
2343 (epg-make-context, epg-context-set-home-directory)
2344 (epg-verify-string, epg-context-result-for)
2345 (epg-signature-status, epg-signature-to-string)
2346 (epg-check-configuration, epg-configuration)
2347 (epg-import-keys-from-file): Declare.
2348 (package-check-signature): New user option.
2349 (package-unsigned-archives): New user option.
2350 (package-desc): Add `signed' field.
2351 (package-load-descriptor): Set `signed' field if .signed file exists.
2352 (package--archive-file-exists-p): New function.
2353 (package--check-signature): New function.
2354 (package-install-from-archive): Check package signature.
2355 (package--download-one-archive): Check archive signature.
2356 (package-delete): Remove .signed file.
2357 (package-import-keyring): New command.
2358 (package-refresh-contents): Import default keyring.
2359 (package-desc-status): Add "unsigned" status.
2360 (describe-package-1, package-menu--print-info)
2361 (package-menu-mark-delete, package-menu--find-upgrades)
2362 (package-menu--status-predicate): Support "unsigned" status.
2363
adf2aa61
SM
23642013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2367 the new compilation scheme using the new byte-codes.
2368
2369 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2370 (byte-pophandler): New byte codes.
2371 (byte-goto-ops): Adjust accordingly.
2372 (byte-compile--use-old-handlers): New var.
2373 (byte-compile-catch): Use new byte codes depending on
2374 byte-compile--use-old-handlers.
2375 (byte-compile-condition-case--old): Rename from
2376 byte-compile-condition-case.
2377 (byte-compile-condition-case--new): New function.
2378 (byte-compile-condition-case): New function that dispatches depending
2379 on byte-compile--use-old-handlers.
2380 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2381 when we can.
2382
2383 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2384 Optimize under `condition-case' and `catch' if
2385 byte-compile--use-old-handlers is nil.
2386 (disassemble-offset): Handle new bytecodes.
2387
328a8179
SM
23882013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * subr.el (error): Use `declare'.
2391 (decode-char, encode-char): Use advertised-calling-convention instead
2392 of the docstring to discourage use of the `restriction' arg.
2393
15a1e936
DU
23942013-10-03 Daiki Ueno <ueno@gnu.org>
2395
2396 * epg.el (epg-verify-file): Add a comment saying that it does not
2397 notify verification error as a return value nor a signal.
2398 (epg-verify-string): Ditto.
2399
376f862a
KR
24002013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2401
2402 * progmodes/compile.el (compilation-start): Try globbing the arg to
2403 `cd' (bug#15417).
2404
a2f93a5f
MA
24052013-10-02 Michael Albinus <michael.albinus@gmx.de>
2406
2407 Sync with Tramp 2.2.8.
2408
2409 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2410 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2411 * net/trampver.el: Update release number.
2412
0daa0804
JD
24132013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2414
2415 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2416 and default-process-coding-system for darwin only.
2417
abd1ae34
SM
24182013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2421
be4e325d
MH
24222013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2423
2424 * vc/vc-git.el (vc-git-grep): Disable pager.
2425
e9155c4a
DG
24262013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2427
494e898b
DG
2428 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2429 Use :url instead of :homepage, as per
2430 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2431
e9155c4a
DG
2432 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2433 non-nil, use `syntax-ppss' (Bug#15251).
2434
481a8e0f
RS
24352013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2436
be4e325d
MH
2437 * progmodes/octave.el (inferior-octave-startup-file):
2438 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2439
056453c6
DG
24402013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2441
be4e325d
MH
2442 * emacs-lisp/package.el (package-desc-from-define):
2443 Accept additional arguments as plist, convert them to an alist and store
2444 them in the `extras' slot.
056453c6
DG
2445 (package-generate-description-file): Convert extras alist back to
2446 plist and append to the `define-package' form arguments.
2447 (package--alist-to-plist): New function.
2448 (package--ac-desc): Add `extras' slot.
2449 (package--add-to-archive-contents): Check if the archive-contents
2450 vector is long enough, and if it is, pass its `extras' slot value
2451 to `package-desc-create'.
2452 (package-buffer-info): Call `lm-homepage', pass the returned value
2453 to `package-desc-from-define'.
2454 (describe-package-1): Render the homepage button (Bug#13291).
2455
be4e325d
MH
2456 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2457 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2458
832966e5
JD
24592013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2460
2461 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2462 and default-process-coding-system to utf-8-unix (Bug#15402).
2463
6cfe977d
XF
24642013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2465
2466 * subr.el (looking-back): Do not recommend using looking-back.
2467
38de11bd
AM
24682013-09-28 Alan Mackenzie <acm@muc.de>
2469
2470 Fix indentation/fontification of Java enum with "implements".
2471
2472 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2473 regexp which matches "implements", etc., in Java.
2474 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2475 specifier clauses coming after "enum".
2476 * progmodes/cc-fonts.el (c-font-lock-declarations)
2477 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2478 after "enum".
2479
1610938f
JD
24802013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2481
2482 * faces.el (region): Change ns_selection_color to
2483 ns_selection_fg_color, add ns_selection_bg_color.
2484
e090f499
LL
24852013-09-28 Leo Liu <sdl.web@gmail.com>
2486
4d2e94d1
LL
2487 * progmodes/octave.el (inferior-octave-completion-table)
2488 (inferior-octave-completion-at-point): Minor tweaks.
2489
e090f499
LL
2490 * textmodes/ispell.el (ispell-lookup-words): Rename from
2491 lookup-words. (Bug#15460)
2492 (lookup-words): Obsolete.
2493 (ispell-complete-word, ispell-command-loop): All uses changed.
2494
7e138a62
RS
24952013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2496
2497 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2498 (octave-mode-menu): Add octave-send-buffer.
2499 (octave-send-buffer): New function.
2500
5af5ed08
RS
25012013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2502
2503 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2504 octave-lookfor.
2505 (octave-mode-menu): Add octave-lookfor.
2506 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2507 octave-lookfor.
2508 (octave-lookfor): New function.
2509
3b7b2692
SM
25102013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * emacs-lisp/cl-macs.el:
2513 (cl--loop-destr-temps): Remove.
2514 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2515 its convention.
2516 (cl--loop-set-iterator-function): New function.
2517 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2518 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2519 Bind `it' with `let' instead of substituting it with `cl-subst'.
2520 (cl--unused-var-p): New function.
2521 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2522 Eliminate some unused variable warnings (bug#15326).
2523
529fb53f
TH
25242013-09-27 Tassilo Horn <tsdh@gnu.org>
2525
2526 * doc-view.el (doc-view-scale-reset): Rename from
2527 `doc-view-reset-zoom-level'.
2528 (doc-view-scale-adjust): New command.
2529 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2530 `doc-view-scale-adjust'.
2531
0550c95a
TH
25322013-09-26 Tassilo Horn <tsdh@gnu.org>
2533
2534 * doc-view.el (doc-view-reset-zoom-level): New command.
2535 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2536 zoom commands (bug#15466).
2537
6950f152
KH
25382013-09-26 Kenichi Handa <handa@gnu.org>
2539
2540 * international/quail.el (quail-help): Make it not a command.
2541
39587580
LL
25422013-09-26 Leo Liu <sdl.web@gmail.com>
2543
2544 * minibuffer.el (completion-all-sorted-completions): Make args
2545 optional as they are.
2546
00578659
DC
25472013-09-25 Daniel Colascione <dancol@dancol.org>
2548
2549 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2550 specs are and that they're not evaluated.
2551
0c173878
SS
25522013-09-24 Sam Steingold <sds@gnu.org>
2553
2554 * midnight.el (clean-buffer-list-kill-regexps)
2555 (clean-buffer-list-kill-buffer-names): Update for the new Man
2556 buffer naming which includes the object name.
2557
84998447
SM
25582013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2561 (eshell-parse-command, eshell-parse-pipeline): Use it since
2562 eshell-separate-commands requires a dynamic scoped var.
2563 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2564
33215353
LL
25652013-09-23 Leo Liu <sdl.web@gmail.com>
2566
2567 * autoinsert.el (auto-insert-alist): Make the value of
2568 lexical-binding match its file setting.
2569
57b16162
JB
25702013-09-23 Juanma Barranquero <lekktu@gmail.com>
2571
c8af4e67
JB
2572 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2573
57b16162
JB
2574 * autoarg.el (autoarg-kp-digit-argument):
2575 * electric.el (Electric-command-loop):
2576 * kmacro.el (kmacro-step-edit-insert):
2577 Do not set universal-argument-num-events.
2578
7186ba60
LL
25792013-09-22 Leo Liu <sdl.web@gmail.com>
2580
2581 * files.el (interpreter-mode-alist): Add octave.
2582
ece15004
AM
25832013-09-21 Alan Mackenzie <acm@muc.de>
2584
2585 C++: fontify identifier in declaration following "public:" correctly.
2586 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2587 to match "public", etc.
2588 (c-decl-prefix-re): Add ":" into the C++ value.
2589 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2590 bit. Add a check for a ":" preceded by "public", etc.
2591
75d83e22
EZ
25922013-09-21 Eli Zaretskii <eliz@gnu.org>
2593
2594 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2595 recognized by GDB 7.5 and later.
2596
d052d3bd
XF
25972013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2598
2599 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2600
31dca772
R
26012013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * subr.el (internal--call-interactively): New const.
2604 (called-interactively-p): Use it (bug#3984).
2605
98ccf24e
XF
26062013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2607
2608 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2609 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2610 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2611
c39cc7d1
SM
26122013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2615 (eshell-ls-orig-insert-directory): Remove.
2616 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2617 (eshell-ls-use-in-dired): Use advice-add/remove.
2618 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2619 Add `orig-fun' arg for use in :around advice.
2620 Make it check (redundantly) eshell-ls-use-in-dired.
2621
9a0289a2
GM
26222013-09-19 Glenn Morris <rgm@gnu.org>
2623
a2c501b8
GM
2624 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2625
c440407a
GM
2626 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2627
9a0289a2
GM
2628 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2629
85e05915
MA
26302013-09-19 Michael Albinus <michael.albinus@gmx.de>
2631
2632 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2633 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2634 (tramp-get-remote-python): New defuns.
2635 (tramp-get-remote-uid-with-perl)
2636 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2637 contributed by yary <not.com@gmail.com> (tiny change).
2638 (tramp-get-remote-uid-with-python)
2639 (tramp-get-remote-gid-with-python): New defuns. Python code
2640 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2641 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2642
ce503312
GM
26432013-09-19 Glenn Morris <rgm@gnu.org>
2644
f7544773
GM
2645 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2646
72fd2877
GM
2647 * eshell/em-unix.el (eshell-remove-entries):
2648 Rename argument to avoid name-clash with global `top-level'.
2649
336b5a56
GM
2650 * eshell/esh-proc.el (eshell-kill-process-function):
2651 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2652 (eshell-reset-after-proc): Remove unused arg `proc'.
2653
57a3a53d
GM
2654 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2655 (directory-files-and-attributes): Mark unused arg.
2656
3261d4af
GM
2657 * eshell/em-unix.el (eshell-remove-entries):
2658 Remove unused arg `path'. Update callers.
2659
8e51b5d0
GM
2660 * eshell/em-hist.el (eshell-hist-parse-arguments):
2661 Remove unused arg `silent'. Update callers.
2662
ce503312
GM
2663 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2664 Fix (f)boundp mix-up.
2665
2666 * eshell/em-smart.el (eshell-smart-scroll-window)
2667 (eshell-disable-after-change):
336b5a56 2668 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2669
ee3ce8a7
AM
26702013-09-18 Alan Mackenzie <acm@muc.de>
2671
2672 Fix fontification of type when followed by "const".
2673 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2674 "known" types from fontification.
2675
ec9177ba
GM
26762013-09-18 Glenn Morris <rgm@gnu.org>
2677
7bb3e768
GM
2678 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2679 (chart-face-list): Drop Emacsen without display-color-p.
2680
5148da15
GM
2681 * net/eww.el (libxml-parse-html-region): Declare.
2682 (eww-display-html): Explicit error if no libxml2 support.
2683
2f68e157
GM
2684 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2685
9019d095
GM
2686 * image.el (image-type-from-buffer, image-multi-frame-p):
2687 Remove --without-x warning/error.
67645389 2688
5f30349b 2689 * mouse.el (mouse-yank-primary):
45069b2e 2690 * term.el (term-mouse-paste):
5f30349b
GM
2691 Reorder to silence --without-x compilation.
2692
cd8edbbe
GM
2693 * mpc.el (doc-view-mode): Silence --without-x compilation.
2694
8a78544e
GM
2695 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2696 Silence --without-x compilation.
2697
12679bfd
GM
2698 * progmodes/gud.el (gud-find-file, gud-mode):
2699 Silence --without-x compilation.
2700 (tooltip-mode): Declare.
30810a05 2701
f0047cb9
GM
2702 * wdired.el (dired-backup-overwrite): Remove declaration.
2703 (wdired-mode-map): Add doc string.
2704
e740f9d2
GM
2705 * custom.el (x-get-resource): Declare.
2706
92d77c89
GM
2707 * eshell/em-glob.el (ange-cache):
2708 * eshell/em-unix.el (ange-cache): Declare.
2709
76e69577
GM
2710 * faces.el (x-display-list, x-open-connection, x-get-resource):
2711 Declare.
7e58af4b
GM
2712
2713 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2714 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2715 Declare.
76e69577 2716
4bd4c0af 2717 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2718
ffb82dbd
GM
2719 * net/gnutls.el (gnutls-log-level): Declare.
2720
986ed135
GM
2721 * net/shr.el (image-size, image-animate): Declare.
2722
e740f9d2
GM
2723 * simple.el (font-info): Declare.
2724
d2f3e9f8
GM
2725 * subr.el (x-popup-dialog): Declare.
2726
047a1a4c
GM
2727 * term/common-win.el (x-select-enable-primary)
2728 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2729 Declare.
2730
f4a1d572
GM
2731 * term/ns-win.el (x-handle-args): Declare.
2732
e843de77
GM
2733 * term/x-win.el (x-select-enable-clipboard): Declare.
2734
5fa89513
GM
2735 * term/w32-win.el (create-default-fontset): Declare.
2736
38702b5b
GM
2737 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2738 Declare.
2739
e740f9d2
GM
2740 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2741 (fit-frame-to-buffer): Explicit error if --without-x.
2742 (mouse-autoselect-window-select): Silence compiler.
2743
49a053fc
GM
2744 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2745
2746 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2747 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2748 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2749 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2750 Remove unused local variables.
2751
2752 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2753
ec9177ba
GM
2754 * textmodes/two-column.el: Make 2C-split work for --without-x.
2755 (scroll-bar-columns): Autoload.
2756 (top-level): Require fringe when compiling.
2757
9f25cb77
LL
27582013-09-18 Leo Liu <sdl.web@gmail.com>
2759
2760 * subr.el (add-hook): Robustify to handle closure as well.
2761
2b42da98
GM
27622013-09-17 Glenn Morris <rgm@gnu.org>
2763
2764 * simple.el (messages-buffer-mode-map): Unbind "g".
2765
e8b66a6a
SM
27662013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2767
9c0ad4f7
SM
2768 * help-mode.el (help-mode-finish): Use derived-mode-p.
2769 Remove obsolete highlighting.
2770
7a806dfb
SM
2771 * play/life.el (life-mode): Use define-derived-mode. Derive from
2772 special-mode.
2773 (life): Let-bind inhibit-read-only.
2774 (life-setup): Avoid `setq'. Use `life-mode'.
2775
96dbf5a8
SM
2776 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2777 which should not be needed any more.
2778 (package-menu-refresh, package-menu-describe-package): Use user-error.
2779
e8b66a6a
SM
2780 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2781 (eshell-post-rewrite-command-hook): Make obsolete.
2782 (eshell-parse-command): Simplify.
2783 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2784 (eshell--cmd): Declare.
2785 (eshell-parse-pipeline): Remove unused var `final-p'.
2786 Pass a dynvar to eshell-post-rewrite-command-hook.
2787 Implement the new eshell-post-rewrite-command-function.
2788 (eshell-invoke-directly): Remove unused arg `input'.
2789 * eshell/esh-io.el (eshell-io-initialize):
2790 Use eshell-post-rewrite-command-function (bug#15399).
2791 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2792 adjust to new calling convention.
2793 (eshell-create-handles): Rename args to avoid clashing with dynvar
2794 `standard-output'.
2795
90582f05
GM
27962013-09-17 Glenn Morris <rgm@gnu.org>
2797
2798 * simple.el (messages-buffer-mode): New major mode.
2799 (messages-buffer): New function.
2800 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2801 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2802 (ert-run-test): Use `messages-buffer' function.
90582f05 2803 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2804 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2805 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2806
39eb0cb5 28072013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2808
2809 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2810
1f1e06e2
SM
2811 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2812
70568a90
SM
28132013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2814
504a0381
SM
2815 * icomplete.el (icomplete-in-buffer): New var.
2816 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2817 vars and replace them with functions.
2818 (icomplete-minibuffer-setup): Adjust accordingly.
2819 (icomplete--completion-table, icomplete--completion-predicate)
2820 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2821 New functions.
2822 (icomplete-forward-completions, icomplete-backward-completions)
2823 (icomplete-simple-completing-p, icomplete-exhibit)
2824 (icomplete-completions): Use them.
2825 (icomplete--in-region-buffer): New var.
2826 (icomplete--in-region-setup): New function.
2827 (icomplete-mode): Use it.
2828
70568a90
SM
2829 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2830 (bug#15379).
2831 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2832 return args and options.
2833 (eshell-eval-using-options): Use the new return value of
2834 eshell--do-opts to set the options's vars in their scope.
2835 (eshell--set-option): Rename from eshell-set-option.
2836 Add arg `opt-vals'.
2837 (eshell--process-option): Rename from eshell-process-option.
2838 Add arg `opt-vals'.
2839 (eshell--process-args): Use an `opt-vals' alist to store the options's
2840 values during their processing and return them additionally to the
2841 remaining args.
2842
578c21bc
DG
28432013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2844
2845 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2846 continuation character an operator, as far as indentation is
2847 concerned (Bug#15369).
2848
c089653d
MR
28492013-09-15 Martin Rudalics <rudalics@gmx.at>
2850
2851 * window.el (window--state-put-2): Don't process buffer state
2852 when buffer doesn't exist any more (Bug#15382).
2853
1e53bb4b
GM
28542013-09-15 Glenn Morris <rgm@gnu.org>
2855
30753242
GM
2856 * eshell/em-unix.el (eshell/rm):
2857 Make -f ignore missing files. (Bug#15373)
2858
1e53bb4b
GM
2859 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2860 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2861 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2862
0d8863b3
GM
28632013-09-14 Glenn Morris <rgm@gnu.org>
2864
2865 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2866
d3fc6549
GM
28672013-09-13 Glenn Morris <rgm@gnu.org>
2868
2869 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2870 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2871
fcd42c11
DA
28722013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2873
2874 * frame.el (x-focus-frame): Mark as declared in frame.c.
2875
7830899f
SM
28762013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * ls-lisp.el: Use advice-add.
2879 (original-insert-directory): Remove.
2880 (ls-lisp--insert-directory): Rename from insert-directory; add
2881 `orig-fun' argument.
2882 (insert-directory): Advise.
2883
84387cd2
EZ
28842013-09-13 Eli Zaretskii <eliz@gnu.org>
2885
2886 * term.el (term-emulate-terminal): Decode the command string
2887 before passing it to term-command-hook. (Bug#15337)
2888
35ffc6ba
GM
28892013-09-13 Glenn Morris <rgm@gnu.org>
2890
5c3f9bcc
GM
2891 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2892
2ada368a
GM
2893 * eshell/esh-ext.el (eshell-search-path): Declare.
2894
fcef2e13
GM
2895 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2896 Otherwise an error occurs if eshell-dirs module not loaded.
2897
35ffc6ba
GM
2898 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2899
35c3d36e
MA
29002013-09-13 Michael Albinus <michael.albinus@gmx.de>
2901
2902 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2903 `tramp-check-proper-host'. Check for a valid method name.
2904
2905 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2906 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2907 * net/tramp-sh.el (tramp-maybe-open-connection):
2908 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2909
2910 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2911 also for hash values.
2912
ae5e4c48
SM
29132013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2914
379add74
SM
2915 * term/ns-win.el (parameters): Don't declare as dynamic.
2916 (before-make-frame-hook): Don't add ineffective function.
2917
ae5e4c48
SM
2918 * eshell/*.el: Use lexical-binding (bug#15231).
2919
b5623270
KH
29202013-09-12 Kenichi Handa <handa@gnu.org>
2921
ae5e4c48 2922 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2923
30213927
GM
29242013-09-12 Glenn Morris <rgm@gnu.org>
2925
be94d713 2926 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2927 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2928
44915370
GM
2929 * subr.el (do-after-load-evaluation): Also give compiler warnings
2930 when obsolete files are used (except by obsolete files).
2931
a6ae021f
GM
2932 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2933 in the status output, assume `filename' is the first. (Bug#15322)
2934
40e64f0c
GM
2935 * vc/vc.el (vc-deduce-fileset): Doc fix.
2936
16d9f896
GM
2937 * calc/calc-help.el (Info-goto-node):
2938 * progmodes/cperl-mode.el (Info-find-node):
2939 * vc/ediff.el (Info-goto-node): Update declarations.
2940
dea01c6e
GM
2941 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2942
759880bf 2943 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2944 (vc-bzr-pull): Require vc-dispatcher.
2945 * vc/vc-git.el (vc-compilation-mode): Declare.
2946 (vc-git-pull): Require vc-dispatcher.
2947
08d66420
GM
2948 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2949
30b626e9
GM
2950 * progmodes/octave.el (help-button-action): Declare.
2951
8c05cb10
GM
2952 * shell.el (shell-directory-tracker): Output error as a message
2953 rather than just returning it as a string.
2954 (shell-process-pushd): Remove useless use of message.
2955
30213927
GM
2956 * dframe.el (dframe-timer-fn):
2957 * files.el (dir-locals-read-from-file):
2958 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2959 (mpc-format):
2960 * reveal.el (reveal-post-command):
2961 * saveplace.el (load-save-place-alist-from-file):
2962 * shell.el (shell-resync-dirs):
2963 * w32-common-fns.el (x-get-selection-value):
2964 * emacs-lisp/copyright.el (copyright-find-copyright):
2965 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2966 * emulation/tpu-edt.el (tpu-copy-keyfile):
2967 * play/bubbles.el (bubbles--mark-neighbourhood):
2968 * progmodes/executable.el
2969 (executable-make-buffer-file-executable-if-script-p):
2970 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2971
d3b049e6
SM
29722013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2973
170266d0
SM
2974 Cleanup Eshell to rely less on dynamic scoping.
2975 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2976 last-value, and ext-command here. Bind `args' closer to `body'.
2977 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2978 (eshell--args): Declare new dynamic var.
2979 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2980 last-value, and ext-command. Pass `args' to `body'.
2981 (eshell-process-args): Bind eshell--args.
2982 (eshell-set-option): Use eshell--args.
2983 * eshell/eshell.el (eshell): Use derived-mode-p.
2984 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2985 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2986 (eshell-glob-function): Declare.
2987 * eshell/esh-util.el: Require cl-lib.
2988 (eshell-read-hosts-file): Avoid add-to-list.
2989 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2990 `err'.
2991 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2992 Declare.
2993 (eshell/diff): Remove unused var `err'.
2994 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2995 `killflag'.
2996 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2997 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2998 first use.
2999 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3000 Move declaration before first use.
3001 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3002 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3003 rely on cl-return.
3004
56834f3b
GM
30052013-09-12 Glenn Morris <rgm@gnu.org>
3006
3007 * term/ns-win.el (global-map): Remove binding for ispell-next,
3008 deleted 1999-05-29. (Bug#15357)
3009
5c91a2b8
GM
30102013-09-11 Glenn Morris <rgm@gnu.org>
3011
da712f22
GM
3012 * echistory.el (electric-command-history): Remove call to deleted func.
3013
512e4cdc
GM
3014 * play/landmark.el (landmark-mode): Fix typos.
3015
d3506ca5
GM
3016 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3017 Check cvs-sort-ignore-file is bound.
3018
5c91a2b8
GM
3019 * savehist.el: No need for cl when compiling on Emacs.
3020
feeff482
SM
30212013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3022
656bd483
SM
3023 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3024 (bug#15338).
d3b049e6
SM
3025 (eshell-self-insert-command, eshell-send-invisible):
3026 Remove unused argument.
656bd483
SM
3027 (eshell-handle-control-codes): Remove unused var `orig'.
3028 Avoid delete-backward-char.
3029
feeff482
SM
3030 * files.el (set-auto-mode): Simplify a bit further.
3031
2a08047a
GM
30322013-09-11 Glenn Morris <rgm@gnu.org>
3033
3034 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3035 (set-auto-mode): Don't regexp-quote elements.
3036 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3037 * progmodes/cc-mode.el (interpreter-mode-alist):
3038 * progmodes/ruby-mode.el (interpreter-mode-alist):
3039 Revert previous change.
3040
34675540
SM
30412013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3042
1b3b87df
SM
3043 * play/snake.el (snake-mode):
3044 * play/mpuz.el (mpuz-mode):
3045 * play/landmark.el (lm-mode):
3046 * play/blackbox.el (blackbox-mode):
3047 * play/5x5.el (5x5-mode):
3048 * obsolete/options.el (Edit-options-mode):
3049 * net/quickurl.el (quickurl-list-mode):
3050 * net/newst-treeview.el (newsticker-treeview-mode):
3051 * mail/rmailsum.el (rmail-summary-mode):
3052 * mail/mspools.el (mspools-mode):
3053 * locate.el (locate-mode):
3054 * ibuffer.el (ibuffer-mode):
3055 * emulation/ws-mode.el (wordstar-mode):
3056 * emacs-lisp/debug.el (debugger-mode):
3057 * array.el (array-mode):
3058 * net/eudc.el (eudc-mode): Use define-derived-mode.
3059 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3060 Move initialization into declaration.
3061 (mairix-searches-mode): Use define-derived-mode.
3062 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3063 (eudc-edit-hotlist): Use dolist.
3064 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3065 (Man-mode): Use define-derived-mode.
3066 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3067 (Info-edit-mode): Use define-derived-mode.
3068 (Info-cease-edit): Use Info-mode.
3069 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3070 into declaration.
3071 (eshell-mode): Use define-derived-mode.
3072 * chistory.el (command-history-mode-map): Rename from
3073 command-history-map.
3074 (command-history-mode): Use define-derived-mode.
da712f22 3075 (Command-history-setup): Remove function.
1b3b87df
SM
3076 * calc/calc.el (calc-trail-mode-map): New var.
3077 (calc-trail-mode): Use define-derived-mode.
3078 (calc-trail-buffer): Set calc-main-buffer manually.
3079 * bookmark.el (bookmark-insert-annotation): New function.
3080 (bookmark-edit-annotation): Use it.
3081 (bookmark-edit-annotation-mode): Make it a proper major mode.
3082 (bookmark-send-edited-annotation): Use derived-mode-p.
3083 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3084 closer to its ideal place. Use \' to match EOS.
3085
34675540
SM
3086 * profiler.el (profiler-calltree-find): Use function-equal.
3087
6a5c15d9
GM
30882013-09-10 Glenn Morris <rgm@gnu.org>
3089
1af4c220
GM
3090 * files.el (interpreter-mode-alist): Convert to regexps.
3091 (set-auto-mode): Adapt for this. (Bug#15306)
3092 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3093 Comment out unused variable.
3094 * progmodes/cc-mode.el (interpreter-mode-alist):
3095 * progmodes/python.el (interpreter-mode-alist):
3096 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3097 * progmodes/sh-script.el (sh-set-shell):
3098 No longer use interpreter-mode-alist to get list of shells.
3099
6a5c15d9
GM
3100 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3101
8c27f5ff
SM
31022013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3103
02ef6c1a 3104 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3105 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3106 Bind switch-frame explicitly. Replace universal-argument-minus with
3107 a conditional binding.
3108 (universal-argument-num-events, saved-overriding-map): Remove.
3109 (restore-overriding-map): Remove.
3110 (universal-argument--mode): Rename from save&set-overriding-map,
3111 and rewrite.
3112 (universal-argument, universal-argument-more, negative-argument)
3113 (digit-argument): Adjust accordingly.
3114 (universal-argument-minus): Remove.
3115 (universal-argument-other-key): Remove.
3116
8c27f5ff
SM
3117 * subr.el (with-demoted-errors): Add `format' argument.
3118
6480194c
MA
31192013-09-10 Michael Albinus <michael.albinus@gmx.de>
3120
3121 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3122 `tramp-cleanup-connection'.
3123
3124 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3125 parameters KEEP-DEBUG and KEEP-PASSWORD.
3126
3127 * net/tramp.el (tramp-file-name-handler):
3128 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3129 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3130 (tramp-maybe-open-connection):
8c27f5ff
SM
3131 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3132 Use `tramp-cleanup-connection'.
6480194c 3133
8c27f5ff
SM
3134 * net/tramp-sh.el (tramp-maybe-open-connection):
3135 Catch 'uname-changed inside the progress reporter.
6480194c 3136
e5e916d8
GM
31372013-09-10 Glenn Morris <rgm@gnu.org>
3138
9a2c9b47
GM
3139 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3140
e5e916d8
GM
3141 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3142 returns "alternate access method" in mode (eg "-rw-r--r--.").
3143
144e38fe
GM
31442013-09-08 Glenn Morris <rgm@gnu.org>
3145
3146 * saveplace.el (load-save-place-alist-from-file):
3147 Demote errors. (Bug#15305)
3148
af9ff9e8
MA
31492013-09-08 Michael Albinus <michael.albinus@gmx.de>
3150
3151 Improve compatibility with older Emacsen, and XEmacs.
3152
3153 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3154 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3155 (with-tramp-progress-reporter): Do not let-bind `result'.
3156 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3157 (tramp-handle-make-auto-save-file-name): New function, moved from
3158 tramp-sh.el.
3159
3160 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3161 for `make-auto-save-file-name'.
8c27f5ff
SM
3162 (tramp-adb--gnu-switches-to-ash):
3163 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3164
3165 * net/tramp-cache.el (tramp-cache-print): Call
3166 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3167
3168 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3169 bound. It isn't for XEmacs.
3170
8c27f5ff
SM
3171 * net/tramp-compat.el (tramp-compat-copy-file):
3172 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3173 (tramp-compat-replace-regexp-in-string): New defun.
3174
3175 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3176 for `make-auto-save-file-name'.
3177 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3178 `copy-file'.
3179 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3180 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3181 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3182
8c27f5ff
SM
3183 * net/tramp-gw.el (tramp-gw-open-network-stream):
3184 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3185
8c27f5ff
SM
3186 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3187 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3188 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3189 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3190 (tramp-sh-file-inotifywait-process-filter):
3191 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3192 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3193
3194 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3195 for `make-auto-save-file-name'.
8c27f5ff
SM
3196 (tramp-smb-handle-copy-directory):
3197 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3198 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3199 (tramp-smb-handle-copy-file): Improve error message.
3200 (tramp-smb-handle-rename-file): Rename directly only in case
3201 `newname' does not exist yet. This is a restriction of smbclient.
3202 (tramp-smb-maybe-open-connection): Rerun the function only when
3203 `auth-sources' is non-nil.
3204
0ca754d0
KH
32052013-09-08 Kenichi Handa <handa@gnu.org>
3206
3207 * international/characters.el: Set category "^" (Combining) for
3208 more characters.
3209
e8dd0787
AM
32102013-09-07 Alan Mackenzie <acm@muc.de>
3211
3212 Correctly fontify Java class constructors.
3213 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3214 in Java Mode.
3215 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3216 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3217 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3218 "typeless" declaration there.
3219
f2f248e7
RW
32202013-09-07 Roland Winkler <winkler@gnu.org>
3221
3222 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3223 field subtitle for entry type book.
3224
67982e2b
SM
32252013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * minibuffer.el: Make minibuffer-complete call completion-in-region
3228 rather than other way around.
3229 (completion--some, completion-pcm--find-all-completions):
3230 Don't delay signals when debugging.
3231 (minibuffer-completion-contents): Beware fields within the
3232 minibuffer contents.
3233 (completion-all-sorted-completions): Use defvar-local.
3234 (completion--do-completion, completion--cache-all-sorted-completions)
3235 (completion-all-sorted-completions, minibuffer-force-complete):
3236 Add args `beg' and `end'.
3237 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3238 (minibuffer-complete): Use completion-in-region.
3239 (completion-complete-and-exit): New fun, extracted from
3240 minibuffer-complete-and-exit.
3241 (minibuffer-complete-and-exit): Use it.
3242 (completion--complete-and-exit): Rename from
3243 minibuffer--complete-and-exit.
3244 (completion-in-region--single-word): New function, extracted from
3245 minibuffer-complete-word.
3246 (minibuffer-complete-word): Use it.
3247 (display-completion-list): Make `common-substring' argument obsolete.
3248 (completion--in-region): Call completion--in-region-1 instead of
3249 minibuffer-complete.
3250 (completion-help-at-point): Pass boundaries to
3251 minibuffer-completion-help as args rather than via an overlay.
3252 (completion-pcm--string->pattern): Use `any-delim'.
3253 (completion-pcm--optimize-pattern): New function.
3254 (completion-pcm--pattern->regex): Handle `any-delim'.
3255 * icomplete.el (icomplete-forward-completions)
3256 (icomplete-backward-completions, icomplete-completions):
3257 Adjust calls to completion-all-sorted-completions and
3258 completion--cache-all-sorted-completions.
3259 (icomplete-with-completion-tables): Default to t.
3260 * emacs-lisp/crm.el (crm--current-element): Rename from
3261 crm--select-current-element. Don't put an overlay but return the
3262 boundaries instead.
3263 (crm--completion-command): Take two new args to bind to the boundaries.
3264 (crm-completion-help): Adjust accordingly.
3265 (crm-complete): Use completion-in-region.
3266 (crm-complete-word): Use completion-in-region--single-word.
3267 (crm-complete-and-exit): Use completion-complete-and-exit.
3268
e17d94a5
SM
32692013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3272 than dynamically.
3273
96727100
JL
32742013-09-06 Juri Linkov <juri@jurta.org>
3275
3276 * info.el (Info-display-images-node): When image file doesn't exist
3277 display text version of the image if it's provided in the Info file.
3278 Otherwise, display the location of missing image from SRC attribute.
3279 Add help-echo text property from ALT attribute. (Bug#15279)
3280
86cf7329
SM
32812013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3284 (edit-abbrevs-mode): Use define-derived-mode.
3285
3286 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3287 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3288 that it's defined.
3289 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3290 Use define-derived-mode.
3291
3292 * epg.el (epg-start-encrypt): Minor CSE simplification.
3293
816244a2
WX
32942013-09-06 William Xu <william.xwl@gmail.com>
3295
3296 * arc-mode.el: Add support for 7za (bug#15264).
3297 (archive-7z-program): New var.
3298 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3299 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3300 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3301
1486fa31
MA
33022013-09-06 Michael Albinus <michael.albinus@gmx.de>
3303
3304 Remove URL syntax.
3305
3306 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3307 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3308 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3309 (tramp-postfix-host-format, tramp-file-name-regexp)
3310 (tramp-completion-file-name-regexp)
3311 (tramp-completion-dissect-file-name)
3312 (tramp-handle-substitute-in-file-name): Remove 'url case.
3313 (tramp-file-name-regexp-url)
3314 (tramp-completion-file-name-regexp-url): Remove constants.
3315
39785324
GM
33162013-09-06 Glenn Morris <rgm@gnu.org>
3317
3318 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3319
1f896cb7
DG
33202013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3321
3322 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3323 keywords" below "here-doc beginnings" (Bug#15270).
3324
c0458e0b
SM
33252013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * subr.el (pop): Use `car-safe'.
3328 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3329 to detect unused `pop' return value.
3330
3331 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3332 var `block-regexp'.
3333 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3334 (python-fill-string): Remove unused var `marker'.
3335 (python-skeleton-add-menu-items): Remove unused var `items'.
3336
3337 * international/mule-cmds.el: Require CL.
3338 (find-coding-systems-for-charsets): Avoid add-to-list.
3339 (sanitize-coding-system-list): New function, extracted from
3340 select-safe-coding-system-interactively.
3341 (select-safe-coding-system-interactively): Use it.
3342 (read-input-method-name): Accept symbols for `default'.
3343
3344 * emacs-lisp/advice.el (defadvice): Add indent rule.
3345
6c42fc3e
DH
33462013-09-05 Daniel Hackney <dan@haxney.org>
3347
3348 * dired-x.el:
3349 * net/ange-ftp.el:
3350 * net/browse-url.el:
3351 * net/dbus.el:
3352 * net/eudc.el:
3353 * net/eudcb-ldap.el:
3354 * net/eww.el:
3355 * net/imap.el:
3356 * printing.el:
3357 * vc/ediff-diff.el:
3358 * vc/ediff-init.el:
3359 * vc/ediff-merg.el:
3360 * vc/ediff-mult.el:
3361 * vc/ediff-util.el:
3362 * vc/ediff-wind.el:
3363 * vc/ediff.el:
3364 * vc/emerge.el:
3365 * vc/pcvs.el:
3366 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3367 byte compiler. Remove some unused let-bound variables.
3368
4c528aab
SM
33692013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3372 a "ref-cell", since it gets better optimized (bug#14883).
3373
bd15c390
GM
33742013-09-05 Glenn Morris <rgm@gnu.org>
3375
3376 * progmodes/cc-awk.el (c-forward-sws): Declare.
3377
1c3ac2e5
GM
33782013-09-04 Glenn Morris <rgm@gnu.org>
3379
3380 * generic-x.el [rul-generic-mode]: Require cc-mode.
3381 (c++-mode-syntax-table): Declare.
3382 (rul-generic-mode-syntax-table): Init in the defvar.
3383
52b1cc79
SM
33842013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3385
c828af56
SM
3386 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3387 (vc-do-command, vc-set-async-update):
3388 * vc/vc-mtn.el (vc-mtn-dir-status):
3389 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3390 (vc-hg-pull, vc-hg-merge-branch):
3391 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3392 (vc-git-merge-branch):
3393 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3394 (vc-cvs-dir-status-files):
3395 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3396 (vc-bzr-dir-status-files):
3397 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3398 * vc/vc-annotate.el: Use lexical-binding.
3399 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3400 (vc-sentinel-movepoint): Declare.
3401 (vc-annotate): Don't use `goto-line'.
3402 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3403 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3404 (vc-sentinel-movepoint): Declare.
3405 * vc/vc-svn.el: Use lexical-binding.
3406 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3407 * vc/vc-sccs.el:
3408 * vc/vc-rcs.el: Use lexical-binding.
3409
abae272c
SM
3410 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3411 `deleted'. Don't drop errors silently.
3412
52b1cc79
SM
3413 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3414
63191d9f
XF
34152013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3416
3417 * vc/vc.el (vc-ignore): Rewrite.
3418 (vc-default-ignore): New function.
3419 (vc-default-ignore-completion-table): Use find-ignore-file.
3420
3421 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3422 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3423 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3424 Remove. Most code moved to vc.el.
3425
9d3f707c
SM
34262013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3427
abae272c 3428 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3429 * net/tramp-smb.el (tramp-smb-get-file-entries):
3430 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3431 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3432
fde38d49
SM
3433 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3434 Update call to it.
3435 (eww-change-select): Remove unused var `properties'.
3436 (eww-make-unique-file-name): Remove unused var `base'.
3437
3438 * finder.el (finder-compile-keywords): Don't mess with windows.
3439
84032db7
SM
3440 * calculator.el (calculator-funcall): Fix typo in last change.
3441
724f5e41
SM
3442 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3443
14b511d4
SM
3444 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3445 <pkg>-autoloads.el file stop us.
3446
9d3f707c 3447 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3448 warnings, and factor out common code.
9d3f707c 3449
88527bc0
DG
34502013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3451
3452 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3453 two-character operators and whether the character preceding them
3454 changes their meaning (Bug#15208).
3455
96edb677
FEG
34562013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3457
3458 Format code sent to Python shell for robustness.
9d3f707c
SM
3459 * progmodes/python.el (python-shell-buffer-substring):
3460 New function.
96edb677
FEG
3461 (python-shell-send-region, python-shell-send-buffer): Use it.
3462
95beaef3
MA
34632013-09-02 Michael Albinus <michael.albinus@gmx.de>
3464
3465 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3466 * net/tramp.el (tramp-user-error): ... here.
3467 (tramp-find-method, tramp-check-proper-host)
3468 (tramp-dissect-file-name, tramp-debug-message)
3469 (tramp-handle-shell-command):
3470 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3471 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3472
3473 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3474
f167c27b
MR
34752013-09-02 Martin Rudalics <rudalics@gmx.at>
3476
3477 * avoid.el (mouse-avoidance-point-position)
3478 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3479 returns nil.
3480
cd16c5f1
FEG
34812013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3482
3483 * progmodes/python.el (python-shell-completion-get-completions):
3484 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3485 (python-nav-if-name-main): New command.
cd16c5f1 3486
e73c3a0d
GM
34872013-09-01 Glenn Morris <rgm@gnu.org>
3488
f8ccce03
GM
3489 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3490 Avoid leading space in $wins. Otherwise the sed command used by
3491 eg compile-main ends up containing "/*.el". (Bug#15170)
3492
e73c3a0d
GM
3493 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3494
415f808e
GM
34952013-08-30 Glenn Morris <rgm@gnu.org>
3496
3497 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3498 Fix is-this-a-directory logic. (Bug#15220)
3499
f069bba8
SM
35002013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3501
112798c1
SM
3502 * textmodes/css-mode.el: Use SMIE.
3503 (css-smie-grammar): New var.
3504 (css-smie--forward-token, css-smie--backward-token)
3505 (css-smie-rules): New functions.
3506 (css-mode): Use them.
3507 (css-navigation-syntax-table): Remove var.
3508 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3509 (css-indent-calculate, css-indent-line): Remove functions.
3510
3511 Misc changes to reduce use of `(lambda...); and other cleanups.
3512 * cus-edit.el: Use lexical-binding.
3513 (customize-push-and-save, customize-apropos)
3514 (custom-buffer-create-internal): Use closures.
3515 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3516 * progmodes/ada-xref.el: Use setq.
3517 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3518 * dframe.el: Use lexical-binding.
3519 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3520 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3521 * descr-text.el: Use lexical-binding.
3522 (describe-text-widget, describe-text-sexp, describe-property-list):
3523 Use closures.
3524 * comint.el (comint-history-isearch-push-state): Use a closure.
3525 * calculator.el: Use lexical-binding.
3526 (calculator-number-to-string): Make it work with lexical-binding.
3527 (calculator-funcall): Same and use cl-letf.
3528
2da4c3ab
SM
3529 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3530 (lisp--company-doc-string, lisp--company-location): New functions.
3531 (lisp-completion-at-point): Use them to improve Company support.
3532
f069bba8
SM
3533 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3534 params of lambda expressions.
3535 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3536 (ruby-smie--opening-pipe-p): New function.
3537 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3538 symbols and matched |...| for formal params.
3539 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3540 from being treated as hanging. Handle "rescue".
3541
6758b6a8
GM
35422013-08-29 Glenn Morris <rgm@gnu.org>
3543
3544 * progmodes/cc-engine.el (c-pull-open-brace):
3545 Move definition before use.
3546
e8dfd197
SM
35472013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3550 are immutable. Don't use `unsafe' any more.
3551 (cl--defsubst-expand): Don't substitute at the same time as keeping
3552 a residual unused let-binding. Don't use `unsafe' any more.
3553
cc585c96
GM
35542013-08-29 Glenn Morris <rgm@gnu.org>
3555
ba579ea6
GM
3556 * calendar/cal-china.el (calendar-chinese-year-cache):
3557 Recenter on 2015.
3558
8201a87e
GM
3559 * nxml/nxml-util.el (nxml-debug-clear-inside):
3560 Use cl-loop rather than loop.
3561
6ee877c7
GM
3562 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3563
cc585c96
GM
3564 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3565
27be8d39
GM
35662013-08-28 Glenn Morris <rgm@gnu.org>
3567
397440a1
GM
3568 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3569
2bb762d4
GM
3570 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3571
27be8d39
GM
3572 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3573
2d69b99e
SM
35742013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3575
f663baa7
SM
3576 * simple.el (repeat-complex-command--called-interactively-skip):
3577 New function.
3578 (repeat-complex-command): Use it (bug#14136).
3579
dd4f8b74
SM
3580 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3581 (c-define-abbrev-table): Add `doc' argument.
3582 (c-mode-abbrev-table, c++-mode-abbrev-table)
3583 (objc-mode-abbrev-table, java-mode-abbrev-table)
3584 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3585 (awk-mode-abbrev-table): Use it.
3586 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3587 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3588 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3589 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3590 Move initialization into the declaration; and remove any
3591 autoload cookie.
3592
b58969f7
SM
3593 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3594 and dynamic let binding.
3595
4021d6a6
SM
3596 * vc/smerge-mode.el: Remove redundant :group args.
3597
2d69b99e
SM
3598 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3599 to load-path.
3600
274919fd
JL
36012013-08-28 Juri Linkov <juri@jurta.org>
3602
3603 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3604 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3605 (isearch-other-meta-char): Handle an undefined shifted printing
3606 character by downshifting it. (Bug#15200)
3607
121f8c95
JL
36082013-08-28 Juri Linkov <juri@jurta.org>
3609
3610 * isearch.el (isearch-search): Change regexp error message for
3611 non-regexp searches. (Bug#15166)
3612
50b13cde
PE
36132013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3614
3615 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3616 for portability to hosts where /bin/sh has problems.
3617
95888bca
SM
36182013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3621
bbe558f1
JL
36222013-08-27 Juri Linkov <juri@jurta.org>
3623
3624 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3625 in the keyboard macro. (Bug#15126)
3626
26f98a7d
JL
36272013-08-27 Juri Linkov <juri@jurta.org>
3628
3629 * isearch.el (isearch-quote-char): Comment out converting unibyte
3630 to multibyte, thus syncing with its `quoted-insert' counterpart.
3631 (Bug#15166)
3632
7c97d35e
MR
36332013-08-27 Martin Rudalics <rudalics@gmx.at>
3634
3635 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3636 argument in call of get-largest-window (Bug#15185).
3637 Reported by Stephen Leake.
7c97d35e 3638
a0b5606e 36392013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3640
3641 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3642
9e89d835
SM
36432013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3646 from a matcher-function unless there's no more matches (bug#15161).
3647
78fc2530
MA
36482013-08-26 Michael Albinus <michael.albinus@gmx.de>
3649
3650 * minibuffer.el: Revert change from 2013-08-20.
3651
3652 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3653 with text property `tramp-default', if appropriate.
3654 (tramp-check-proper-host): New defun.
3655 (tramp-dissect-file-name): Do not check hostname. Revert change
3656 of 2013-03-18.
3657 (tramp-backtrace): Make VEC-OR-PROC optional.
3658
3659 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3660 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3661 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3662 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3663 Apply `tramp-check-proper-host'.
78fc2530 3664
edca97cd
TH
36652013-08-26 Tassilo Horn <tsdh@gnu.org>
3666
3667 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3668 lambda expression in order to have `describe-variable' display it.
3669
df54bcbd
MA
36702013-08-26 Michael Albinus <michael.albinus@gmx.de>
3671
3672 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3673 BUF can be optional. (Bug#15186)
3674
eed99101
XF
36752013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3676
3677 * progmodes/flymake.el (flymake-get-real-file-name-function):
3678 Fix broken customization. (Bug#15184)
3679
b5eb9035
AM
36802013-08-25 Alan Mackenzie <acm@muc.de>
3681
8a51e842
AM
3682 Improve indentation of bracelists defined by macros (without "=").
3683
3684 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3685 expansion begins with "{", regard it as bracelist when it doesn't
3686 contain a ";".
3687
869455d4
AM
3688 Parse C++ inher-intro when there's a template split over 2 lines.
3689
3690 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3691 rigorously the search for "class" etc. followed by ":".
3692
3693 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3694 random languages a regexp which never matches rather than nil.
3695
b5eb9035
AM
3696 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3697
3698 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3699 (c-awk-regexp-one-line-possibly-open-char-list-re)
3700 (c-awk-one-line-possibly-open-regexp-re)
3701 (c-awk-one-line-non-syn-ws*-re): Remove.
3702 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3703 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3704 (c-awk-space*-unclosed-regexp-/-re): New constants.
3705 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3706 aren't regexp delimiters.
3707
3708 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3709 handling for a rare situation in AWK Mode involving unterminated
3710 strings/regexps.
3711
61611d54
GM
37122013-08-23 Glenn Morris <rgm@gnu.org>
3713
2d85dc34
GM
3714 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3715
cb8d2612
GM
3716 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3717
bb35f42f
GM
3718 * files.el (create-file-buffer): If the result would begin with
3719 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3720
b9808e77
SM
37212013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3722
e3a66363
SM
3723 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3724 text-properties (bug#15155).
3725
b9808e77
SM
3726 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3727 exist any more.
3728 (calc-keypad-redraw): Remove unused var `pad'.
3729 (calc-keypad-press): Remove unused var `menu'.
3730
7fd5f65e
MR
37312013-08-23 Martin Rudalics <rudalics@gmx.at>
3732
b9808e77
SM
3733 * window.el (display-buffer-pop-up-frame):
3734 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3735 use it as the new frame's buffer (Bug#15133).
3736
8352b530
SM
37372013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * calendar/timeclock.el: Minor cleanups.
3740 (timeclock-ask-before-exiting, timeclock-use-display-time):
3741 Use `symbol'.
3742 (timeclock-modeline-display): Define as alias before the
3743 actual definition.
3744 (timeclock-mode-line-display): Use define-minor-mode.
3745 (timeclock-day-list-template): Make it a function, add an argument.
3746 (timeclock-day-list-required, timeclock-day-list-length)
3747 (timeclock-day-list-debt, timeclock-day-list-span)
3748 (timeclock-day-list-break): Adjust calls accordingly.
3749
9f7b1925
SM
37502013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3753 Use read--expression so that completion works again.
3754
6e50e983
SS
37552013-08-21 Sam Steingold <sds@gnu.org>
3756
3757 Add rudimentary inferior shell interaction
3758 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3759 (sh-set-shell): Reset it.
9f7b1925
SM
3760 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3761 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3762
dbb0d350
SM
37632013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * align.el: Use lexical-binding.
3766 (align-region): Simplify accordingly.
3767
c88586a9
MA
37682013-08-20 Michael Albinus <michael.albinus@gmx.de>
3769
3770 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3771
3772 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3773 `non-essential' up.
3774
f95527c8
MA
37752013-08-17 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * net/tramp.el:
3778 * net/tramp-adb.el:
3779 * net/tramp-cmds.el:
3780 * net/tramp-ftp.el:
3781 * net/tramp-gvfs.el:
3782 * net/tramp-gw.el:
3783 * net/tramp-sh.el: Don't wrap external variable declarations by
3784 `eval-when-compile'.
3785
4b5fe4ee
LMI
37862013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3787
3788 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3789 now that Emacs supports ImageMagick animations.
3790
13c366c9
MA
37912013-08-16 Michael Albinus <michael.albinus@gmx.de>
3792
3793 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3794 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3795
3dfc5cd6
MR
37962013-08-16 Martin Rudalics <rudalics@gmx.at>
3797
3798 * window.el (mouse-autoselect-window-select): Do autoselect when
3799 mouse pointer is on margin.
3800
4bbb4381
WP
38012013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3802
3803 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3804
3a2ddc2d
GM
38052013-08-16 Glenn Morris <rgm@gnu.org>
3806
e8bedf5a
GM
3807 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3808 Handle "Remote Directory" response of some clients. (Bug#15058)
3809
58c4682f
GM
3810 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3811 Tweak warning. (Bug#14926)
3812
57953f49
GM
3813 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3814 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3815
3a2ddc2d
GM
3816 * image-mode.el (image-mode-map): Add menu items to reverse,
3817 increase, decrease, reset animation speed.
3818 (image--set-speed, image-increase-speed, image-decrease-speed)
3819 (image-reverse-speed, image-reset-speed): New functions.
3820 (image-mode-map): Add bindings for speed commands.
3821
3822 * image.el (image-animate-get-speed, image-animate-set-speed):
3823 New functions.
3824 (image-animate-timeout): Respect image :speed property.
3825
10fa0ed3
SM
38262013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3829 previous line (bug#15101).
3830 (debugger-eval-expression, debugger-record-expression):
3831 Use read--expression (bug#15102).
3832
5d89d9d2
MA
38332013-08-15 Michael Albinus <michael.albinus@gmx.de>
3834
3835 Remove byte compiler warnings, visible when compiling with
3836 `byte-compile-force-lexical-warnings' set to t.
3837
3838 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3839 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3840 (tramp-handle-unhandled-file-name-directory)
3841 (tramp-handle-file-notify-add-watch, tramp-action-login)
3842 (tramp-action-succeed, tramp-action-permission-denied)
3843 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3844 arguments with "_".
3845
3846 * net/tramp-adb.el (tramp-adb-parse-device-names)
3847 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3848 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3849 (tramp-adb-handle-file-truename): Remove unused arguments.
3850
3851 * net/tramp-cache.el (tramp-flush-directory-property)
3852 (tramp-flush-connection-property, tramp-list-connections)
3853 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3854
10fa0ed3
SM
3855 * net/tramp-compat.el (tramp-compat-make-temp-file):
3856 Rename FILENAME to F.
5d89d9d2
MA
3857
3858 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3859 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3860 (tramp-zeroconf-parse-workstation-device-names)
3861 (tramp-zeroconf-parse-webdav-device-names)
3862 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3863
3864 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3865 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3866
3867 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3868 arguments.
3869 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3870 (tramp-sh-handle-insert-file-contents-literally)
3871 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3872 with "_".
3873 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3874 Remove unused variables.
3875
3876 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3877 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3878 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3879
3880 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3881 Make them a defconst.
3882 (tramp-uuencode-region): Remove unused variable.
3883
62f33bae
JB
38842013-08-14 Juanma Barranquero <lekktu@gmail.com>
3885
3886 * frameset.el (frameset--prop-setter): New function.
3887 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3888 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3889 parameter was already set in FILTERED. Doc fix.
3890 (frameset--record-minibuffer-relationships): Allow saving a
3891 minibufferless frame without its corresponding minibuffer frame.
3892 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3893 frame, if the frame id matches.
3894 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3895 frames before orphaned ones.
3896 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3897
c660a885
MR
38982013-08-14 Martin Rudalics <rudalics@gmx.at>
3899
3900 * window.el (window-make-atom): Don't overwrite parameter
3901 already present.
3902 (display-buffer-in-atom-window): Handle special case where we
3903 split an already atomic window.
3904 (window--major-non-side-window, display-buffer-in-side-window)
3905 (window--side-check): Ignore minibuffer window when walking
3906 window tree.
3907 (window-deletable-p): Return 'frame only if no other frame uses
3908 our minibuffer window.
3909 (record-window-buffer): Run buffer-list-update-hook.
3910 (split-window): Make sure window--check-frame won't destroy an
3911 existing atomic window in case the new window gets nested
3912 inside.
3913 (display-buffer-at-bottom): Ignore minibuffer window when
3914 walking window tree. Don't split a side window.
3915 (pop-to-buffer): Don't set-buffer here, the select-window call
3916 should do that.
3917 (mouse-autoselect-window-select): Autoselect only if we are in the
3918 text portion of the window.
3919
8259030d
LMI
39202013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3921
21c58ae2
LMI
3922 * net/shr.el (shr-parse-image-data): New function to grab both the
3923 data itself and the Content-Type.
3924 (shr-put-image): Use it.
3925
3926 * net/eww.el (eww-display-image): Ditto.
3927
8259030d
LMI
3928 * image.el (image-content-type-suffixes): New variable.
3929
ad756449
FEG
39302013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3931
3932 * progmodes/python.el (python-imenu--build-tree)
3933 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3934
f73f4ce6
XF
39352013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3936
3937 * simple.el (backward-word): Mention the optional argument.
3938
1f585e65
SM
39392013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * frameset.el (frameset--make): Rename constructor from make-frameset.
3942 (frameset-p, frameset-valid-p): Don't autoload.
3943 (frameset-valid-p): Use normal accessors.
3944
af1c6c84
GM
39452013-08-13 Glenn Morris <rgm@gnu.org>
3946
55e47f95
GM
3947 * progmodes/compile.el (compile-command): Tweak example in doc.
3948 * obsolete/scribe.el (scribe-mode):
3949 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3950
f0024d8c
GM
3951 * mail/feedmail.el (feedmail-confirm-outgoing)
3952 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3953
3954 * cus-start.el (truncate-partial-width-windows): Fix type.
3955
3956 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3957
af1c6c84
GM
3958 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3959
5514cc4c
SM
39602013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * emacs-lisp/timer.el (timer--time-setter): New function.
3963 (timer--time): Use it as gv-setter.
3964
3965 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3966 setter is not a symbol.
3967
7997a2f1
GJ
39682013-08-12 Grégoire Jadi <daimrod@gmail.com>
3969
3970 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3971 if sending fails. This makes debugging easier.
3972
01f1a9ab
JB
39732013-08-12 Juanma Barranquero <lekktu@gmail.com>
3974
3975 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3976 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3977 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3978
594a4307
EZ
39792013-08-12 Eli Zaretskii <eliz@gnu.org>
3980
3981 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3982
7a22490f 39832013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3984
3985 * format.el (format-annotate-function):
3986 Handle read-only text properties in the source. (Bug#14887)
3987
3e41a054
LMI
39882013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3989
5514cc4c
SM
3990 * net/eww.el (eww-display-html): Ignore coding system errors.
3991 One web site uses "utf-8lias" as the coding system.
3e41a054 3992
7ec326db
JB
39932013-08-11 Juanma Barranquero <lekktu@gmail.com>
3994
3995 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3996
5660113b
JB
39972013-08-10 Juanma Barranquero <lekktu@gmail.com>
3998
9a4ebc74
JB
3999 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4000 (tutorial--detailed-help): Remove unused local variables.
4001 (tutorial--save-tutorial-to): Use ignore-errors.
4002 (help-with-tutorial): Use looking-at-p.
4003
4004 * view.el (view-buffer-other-window, view-buffer-other-frame):
4005 Mark unused arguments.
4006
4007 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4008 (woman-select-symbol-fonts, woman, woman-find-file)
4009 (woman-insert-file-contents, woman-non-underline-faces):
4010 Use string-match-p.
4011 (woman1-unquote): Move declaration.
4012
4013 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4014 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4015 argument. Remove unused local variable.
4016 (xml-parse-elem-type): Use string-match-p.
4017 (xml-substitute-numeric-entities): Use ignore-errors.
4018
45fdb482
JB
4019 * calculator.el (calculator): Mark unused argument.
4020 (calculator-paste, calculator-quit, calculator-integer-p):
4021 Use ignore-errors.
4022 (calculator-string-to-number, calculator-decimal, calculator-exp)
4023 (calculator-op-or-exp): Use string-match-p.
4024
4025 * dired.el (dired-buffer-more-recently-used-p): Declare.
4026 (dired-insert-set-properties, dired-insert-old-subdirs):
4027 Use ignore-errors.
4028
4029 * dired-aux.el (dired-compress): Use ignore-errors.
4030 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4031 (dired-do-async-shell-command, dired-do-shell-command)
4032 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4033 (dired-insert-subdir-validate): Use string-match-p.
4034 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4035 (dired-add-entry): Use string-match-p, looking-at-p.
4036 (dired-insert-subdir-newpos): Remove unused local variable.
4037
4038 * filenotify.el (file-notify-callback): Remove unused local variable.
4039
4040 * filesets.el (filesets-error): Mark unused argument.
4041 (filesets-which-command-p, filesets-filter-dir-names)
4042 (filesets-directory-files, filesets-get-external-viewer)
4043 (filesets-ingroup-get-data): Use string-match-p.
4044
4045 * find-file.el (ff-other-file-name, ff-other-file-name)
4046 (ff-find-the-other-file, ff-cc-hh-converter):
4047 Remove unused local variables.
4048 (ff-get-file-name): Use string-match-p.
4049 (ff-all-dirs-under): Use ignore-errors.
4050
4051 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4052 (follow-select-if-visible): Remove unused local variable.
4053
4054 * forms.el (read-file-filter): Move declaration.
4055 (forms--make-format, forms--make-parser, forms-insert-record):
4056 Quote function with #'.
4057 (forms--update): Use string-match-p. Quote function with #'.
4058
4059 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4060 (help-make-xrefs): Use looking-at-p.
4061 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4062
4063 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4064 (ibuffer-confirm-operation-on): Use string-match-p.
4065
4066 * msb.el (msb-item-handler, msb-dired-item-handler):
4067 Mark unused arguments.
4068
4069 * ses.el (ses-decode-cell-symbol)
4070 (ses-kill-override): Remove unused local variable.
4071 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4072 (ses-load): Use ignore-errors, looking-at-p.
4073 (ses-jump-safe): Use ignore-errors.
4074 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4075
4076 * tabify.el (untabify, tabify): Mark unused arguments.
4077
4078 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4079 Mark unused argument.
4080 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4081 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4082
c880af52
JB
4083 * emacs-lisp/timer.el (timer--time): Define setter with
4084 gv-define-setter to avoid deprecation warning.
4085
5660113b 4086 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4087 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4088 (cmpl-statistics-block): Remove (body was commented out).
4089 All callers changed.
4090 (add-completions-from-buffer, load-completions-from-file):
4091 Remove unused variables.
4092
156aab80
JB
40932013-08-09 Juanma Barranquero <lekktu@gmail.com>
4094
5c5dee78
JB
4095 * filecache.el (file-cache-delete-file-list):
4096 Print message only when told so.
4097 (file-cache-files-matching): Use #' in mapconcat argument.
4098
156aab80
JB
4099 * ffap.el (ffap-url-at-point): Fix reference to variable
4100 thing-at-point-default-mail-uri-scheme.
4101
ad9dcd70
SM
41022013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4103
54bd972f
SM
4104 * subr.el (define-error): New function.
4105 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4106 error-file-not-found and define with define-error.
4107 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4108 and define with define-error.
4109 * userlock.el (file-locked, file-supersession):
4110 * simple.el (mark-inactive):
4111 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4112 * progmodes/ada-mode.el (ada-mode-errors):
4113 * play/life.el (life-extinct):
4114 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4115 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4116 * nxml/rng-util.el (rng-error):
4117 * nxml/rng-uri.el (rng-uri-error):
4118 * nxml/rng-match.el (rng-compile-error):
4119 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4120 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4121 * nxml/nxml-rap.el (nxml-scan-error):
4122 * nxml/nxml-outln.el (nxml-outline-error):
4123 * net/soap-client.el (soap-error):
4124 * net/gnutls.el (gnutls-error):
4125 * net/ange-ftp.el (ftp-error):
4126 * mpc.el (mpc-proc-error):
4127 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4128 (json-number-format, json-string-escape, json-string-format)
4129 (json-key-format, json-object-format):
4130 * jka-compr.el (compression-error):
4131 * international/quail.el (quail-error):
4132 * international/kkc.el (kkc-error):
4133 * emacs-lisp/ert.el (ert-test-failed):
4134 * calc/calc.el (calc-error, inexact-result, math-overflow)
4135 (math-underflow):
4136 * bookmark.el (bookmark-error-no-filename):
4137 * epg.el (epg-error): Define with define-error.
4138
0ea9e53a
SM
4139 * time.el (display-time-event-handler)
4140 (display-time-next-load-average): Don't call sit-for since it seems
4141 unnecessary (bug#15045).
4142
b0429158
SM
4143 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4144 Use #' instead of ' to quote functions.
4145 (checkdoc-output-mode): Use setq-local.
4146 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4147 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4148 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4149 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4150 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4151 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4152 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4153 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4154
ad9dcd70
SM
4155 * ido.el (ido-completion-help): Fix up compiler warning.
4156
77187e6f
JB
41572013-08-09 Juanma Barranquero <lekktu@gmail.com>
4158
4159 * frameset.el (frameset-p): Add autoload cookie.
4160 (frameset--jump-to-register): New function, based on code moved from
4161 register.el.
4162 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4163
4164 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4165 (frameset-restore, frameset-save, frameset-session-filter-alist):
4166 Remove declarations.
4167 (register-alist): Doc fix.
4168 (frameset-to-register): Move to frameset.el.
4169 (jump-to-register, describe-register-1): Remove frameset-specific code.
4170
9d3aa82c
JB
41712013-08-08 Juanma Barranquero <lekktu@gmail.com>
4172
4173 * allout-widgets.el (allout-widgets-pre-command-business)
4174 (allout-widgets-post-command-business)
4175 (allout-widgets-after-change-handler)
4176 (allout-decorate-item-and-context, allout-set-boundary-marker)
4177 (allout-body-modification-handler)
4178 (allout-graphics-modification-handler): Mark ignored arguments.
4179 (allout-widgets-post-command-business)
4180 (allout-widgets-exposure-change-processor)
4181 (allout-widgets-exposure-undo-processor)
4182 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4183 (allout-parse-item-at-point, allout-decorate-item-guides)
4184 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4185 * allout.el (epa-passphrase-callback-function): Declare.
4186 (allout-overlay-insert-in-front-handler)
4187 (allout-overlay-interior-modification-handler)
4188 (allout-isearch-end-handler, allout-chart-siblings)
4189 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4190 (allout-yank-processing, allout-process-exposed)
4191 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4192 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4193 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4194 (lisp-indent-defform): Mark ignored arguments.
4195 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4196 (calculate-lisp-indent): Remove unused variables.
4197 * international/characters.el (indian-2-column, arabic-2-column)
4198 (tibetan): Mark ignored arguments.
4199 (use-cjk-char-width-table): Mark ignored arguments.
4200 Remove unused variables.
4201 * international/fontset.el (build-default-fontset-data)
4202 (x-compose-font-name, create-fontset-from-fontset-spec):
4203 Mark ignored arguments.
4204 (fontset-plain-name): Remove unused variables.
4205 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4206 (keyboard-coding-system): Mark ignored arguments.
4207 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4208 * help.el (resize-temp-buffer-window):
4209 * window.el (display-buffer-in-major-side-window)
4210 (display-buffer-in-side-window, display-buffer-in-previous-window):
4211 Remove unused variables.
4212 * isearch.el (isearch-forward-symbol):
4213 * version.el (emacs-bzr-version-bzr):
4214 * international/mule-cmds.el (current-language-environment):
4215 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4216 (x-handle-display):
4217 * term/pc-win.el (x-list-fonts, x-display-planes)
4218 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4219 (x-server-version, x-display-screens, x-display-mm-height)
4220 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4221 (x-selection-owner-p, x-own-selection-internal)
4222 (x-disown-selection-internal, x-get-selection-internal)
4223 (msdos-initialize-window-system):
4224 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4225 * term/x-win.el (x-handle-no-bitmap-icon):
4226 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4227 (vc-default-find-file-hook, vc-default-extra-menu):
4228 Mark ignored arguments.
4229
0ca3f70e
SM
42302013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4233 break-condition in the context of the debugged code (bug#12685).
4234
74c5d24c
CS
42352013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4236
4237 * comint.el:
4238 Do not use an overlay to highlight the last prompt. (Bug#14744)
4239 (comint-mode): Make comint-last-prompt buffer local.
4240 (comint-last-prompt): New variable.
4241 (comint-last-prompt-overlay): Remove. Superseded by
4242 comint-last-prompt.
0ca3f70e
SM
4243 (comint-snapshot-last-prompt, comint-output-filter):
4244 Use comint-last-prompt.
74c5d24c 4245
c03c02ee
JB
42462013-08-08 Juanma Barranquero <lekktu@gmail.com>
4247
a3738d20 4248 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4249 (frameset-save): Check validity of the resulting frameset.
4250
04263d23
XF
42512013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4252
4253 * ido.el (ido-record-command): Add doc string.
4254
76c5e5ab
JB
42552013-08-08 Juanma Barranquero <lekktu@gmail.com>
4256
4257 * frameset.el (frameset): Do not disable creation of the default
4258 frameset-p predicate. Doc fix.
4259 (frameset-valid-p): New function, copied from the old predicate-p.
4260 Add additional checks.
4261 (frameset-restore): Check with frameset-valid-p.
4262 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4263 (frameset-name, frameset-description, frameset-properties)
4264 (frameset-states): Add docstring.
f9dbf1cb
JB
4265 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4266 (frameset-filter-alist): Doc fixes.
76c5e5ab 4267
bd0c3c0b
JB
42682013-08-08 Juanma Barranquero <lekktu@gmail.com>
4269
4270 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4271
c735544c
SM
42722013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4275 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4276 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4277 (byte-compile-normal-call): Remove obsolescence check.
4278
2805a651
JB
42792013-08-08 Juanma Barranquero <lekktu@gmail.com>
4280
3677ffeb
JB
4281 * frameset.el (frameset-restore): Doc fix.
4282
2805a651
JB
4283 * register.el (frameset-frame-id, frameset-frame-with-id)
4284 (frameset-p, frameset-restore, frameset-save): Declare.
4285 (register-alist): Document framesets.
4286 (frameset-session-filter-alist): Declare.
4287 (frameset-to-register): New function.
4288 (jump-to-register): Implement jumping to framesets. Doc fix.
4289 (describe-register-1): Describe framesets.
4290
4291 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4292
a912c016
JB
42932013-08-07 Juanma Barranquero <lekktu@gmail.com>
4294
4295 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4296 Use lexical-binding.
4297
4298 * frameset.el (frameset): Use type vector, not list (incompatible
4299 change). Do not declare a new constructor, use the default one.
4300 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4301 `name' and `description', respectively, and add read-only slot
4302 `timestamp'. Doc fixes.
4303 (frameset-copy, frameset-persistent-filter-alist)
4304 (frameset-filter-alist, frameset-switch-to-gui-p)
4305 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4306 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4307 (frameset-filter-iconified, frameset-keep-original-display-p):
4308 Doc fixes.
4309 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4310 Rename from frameset-filter-(save|restore)-param. All callers changed.
4311 Doc fix.
4312 (frameset-p): Adapt to change to vector and be more thorough.
4313 Change arg name to OBJECT. Doc fix.
4314 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4315 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4316 All callers changed.
4317 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4318 All callers changed.
4319 (frameset--record-minibuffer-relationships): Rename from
4320 frameset--process-minibuffer-frames. All callers changed.
4321 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4322 Use new default constructor (again). Doc fix.
4323 (frameset--find-frame-if): Rename from `frameset--find-frame.
4324 All callers changed.
4325 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4326 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4327 Doc fix.
4328 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4329 PARAMETERS and WINDOW-STATE, respectively.
4330 (frameset-restore): Add new keyword argument PREDICATE.
4331 Reset frameset--target-display to nil. Doc fix.
4332
bb41480a
SM
43332013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4334
f001e98e
SM
4335 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4336 (bat-mode): Use it.
4337 (bat-mode-syntax-table): Mark \n as end-of-comment.
4338 (bat-font-lock-keywords): Remove comment rule.
4339
7679edb1
SM
4340 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4341 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4342
bb41480a
SM
4343 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4344 (byte-compile-callargs-warn): Use `push'.
4345 (byte-compile-arglist-warn): Ignore higher-order "calls".
4346 (byte-compile-file-form-autoload): Use `pcase'.
4347 (byte-compile-function-form): If quoting a symbol, check that it exists.
4348
cdc1ebb9
EZ
43492013-08-07 Eli Zaretskii <eliz@gnu.org>
4350
4351 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4352 and add a few popular commands found in batch files.
4353 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4354 (dos-mode): Doc fixes.
4355
312b1740
SM
43562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4359 (dos-mode): Use setq-local. Add space after "rem".
4360 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4361 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4362
400a3178
AM
43632013-08-07 Arni Magnusson <arnima@hafro.is>
4364
4365 * progmodes/dos.el: New file.
4366 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4367 dos-mode.
4368
3b5c03d3
GM
43692013-08-06 Glenn Morris <rgm@gnu.org>
4370
4371 * calendar/calendar.el: Add new faces, and day-header-array.
4372 (calendar-weekday-header, calendar-weekend-header)
4373 (calendar-month-header): New faces.
4374 (calendar-day-header-construct): New function.
4375 (calendar-day-header-width): Also :set calendar-day-header-array.
4376 (calendar-american-month-header, calendar-european-month-header)
4377 (calendar-iso-month-header): Use calendar- faces.
4378 (calendar-generate-month):
4379 Use calendar-day-header-array for day headers; apply faces to them.
4380 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4381 (calendar-abbrev-construct): Add optional maxlen argument.
4382 (calendar-day-name-array): Doc fix.
4383 (calendar-day-name-array, calendar-abbrev-length)
4384 (calendar-day-abbrev-array):
4385 Also :set calendar-day-header-array, and maybe redraw.
4386 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4387 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4388 (calendar-day-name): Add option to use header array.
4389
ec6a2d7a
LMI
43902013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4391
4392 * net/shr.el (shr-render-td): Remove debugging.
4393 (shr-render-td): Make width computation consistent by defaulting
4394 all zero-width columns to 10 characters. This may not be optimal,
4395 but it's at least consistent.
2122cb6d
LMI
4396 (shr-make-table-1): Redo last change to fix the real problem in
4397 colspan handling.
ec6a2d7a 4398
ed4fd9c5
DA
43992013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4400
0ca3f70e
SM
4401 * files.el (cache-long-line-scans):
4402 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4403
64e22afe
JB
44042013-08-06 Juanma Barranquero <lekktu@gmail.com>
4405
024b38fc
JB
4406 * frameset.el (frameset, frameset-filter-alist)
4407 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4408 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4409 (frameset-compute-pos): Rename from frameset--compute-pos,
4410 and add docstring.
4411 (frameset-move-onscreen): Use frameset-compute-pos.
4412 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4413
64e22afe
JB
4414 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4415 Fix typos in docstrings.
4416
c8c2aca8
DA
44172013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4418
4419 * frame.el (get-other-frame): Tiny cleanup.
4420
1d237bba
JB
44212013-08-06 Juanma Barranquero <lekktu@gmail.com>
4422
8951efef
JB
4423 * vc/vc.el (vc-default-ignore-completion-table):
4424 Silence byte-compiler warning.
4425
307764cc
JB
4426 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4427 slot , which can indeed be nil.
4428 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4429 Move entry for `left' from persistent to live filter alist.
4430 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4431 Doc fixes.
4432 (frameset-filter-params): When restoring a frame, copy items added to
4433 `filtered', to avoid unwittingly modifying the original parameters.
4434 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4435 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4436
1d237bba
JB
4437 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4438 to use looking-at-p instead of looking-at. (Bug#15028)
4439
dc6c0eda
SM
44402013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 Revert introduction of isearch-filter-predicates (bug#14714).
4443 Rely on add-function instead.
4444 * isearch.el (isearch-filter-predicates): Rename it back to
4445 isearch-filter-predicate.
4446 (isearch-message-prefix): Use advice-function-mapc and advice
4447 properties to get the isearch-message-prefix.
4448 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4449 instead of run-hook-with-args-until-failure.
4450 (isearch-filter-visible): Not obsolete any more.
4451 * loadup.el: Preload nadvice.
4452 * replace.el (perform-replace): Revert to funcall
4453 instead of run-hook-with-args-until-failure.
4454 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4455 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4456 dired-isearch-filenames-toggle; make it into a proper minor mode.
4457 Use add/remove-function.
4458 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4459 Call the minor-mode rather than add/remove-hook.
4460 (dired-isearch-filter-filenames):
4461 Remove isearch-message-prefix property.
4462 * info.el (Info--search-loop): New function, extracted from Info-search.
4463 Funcall isearch-filter-predicate instead of
4464 run-hook-with-args-until-failure isearch-filter-predicates.
4465 (Info-search): Use it.
4466 (Info-mode): Use isearch-filter-predicate instead of
4467 isearch-filter-predicates.
4468
290d5b58
DA
44692013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4470
4471 Do not call to `selected-window' where it is assumed by default.
4472 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4473 `window-hscroll', `window-width', `window-height', `window-buffer',
4474 `window-frame', `window-start', `window-point', `next-window'
4475 and `window-display-table'.
4476 * abbrev.el (abbrev--default-expand):
4477 * bs.el (bs--show-with-configuration):
4478 * buff-menu.el (Buffer-menu-mouse-select):
4479 * calc/calc.el (calc):
4480 * calendar/calendar.el (calendar-generate-window):
4481 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4482 (diary-make-entry):
4483 * comint.el (send-invisible, comint-dynamic-complete-filename)
4484 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4485 * completion.el (complete):
4486 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4487 * disp-table.el (describe-current-display-table):
4488 * doc-view.el (doc-view-insert-image):
4489 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4490 * ehelp.el (with-electric-help):
4491 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4492 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4493 * emacs-lisp/helper.el (Helper-help-scroller):
4494 * emulation/cua-base.el (cua--post-command-handler-1):
4495 * eshell/esh-mode.el (eshell-output-filter):
4496 * ffap.el (ffap-gnus-wrapper):
4497 * help-macro.el (make-help-screen):
4498 * hilit-chg.el (highlight-compare-buffers):
4499 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4500 * hl-line.el (global-hl-line-highlight):
4501 * icomplete.el (icomplete-simple-completing-p):
4502 * isearch.el (isearch-done):
4503 * jit-lock.el (jit-lock-stealth-fontify):
4504 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4505 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4506 * mpc.el (mpc-tagbrowser, mpc):
4507 * net/rcirc.el (rcirc-any-buffer):
4508 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4509 * play/landmark.el (landmark-max-width, landmark-max-height):
4510 * play/zone.el (zone):
4511 * progmodes/compile.el (compilation-goto-locus):
4512 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4513 * progmodes/etags.el (find-tag-other-window):
4514 * progmodes/fortran.el (fortran-column-ruler):
4515 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4516 * progmodes/verilog-mode.el (verilog-point-text):
4517 * reposition.el (reposition-window):
4518 * rot13.el (toggle-rot13-mode):
4519 * server.el (server-switch-buffer):
4520 * shell.el (shell-dynamic-complete-command)
4521 (shell-dynamic-complete-environment-variable):
4522 * simple.el (insert-buffer, set-selective-display)
4523 (delete-completion-window):
4524 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4525 (speedbar-recenter):
4526 * startup.el (fancy-splash-head):
4527 * textmodes/ispell.el (ispell-command-loop):
4528 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4529 * tutorial.el (help-with-tutorial):
4530 * vc/add-log.el (add-change-log-entry):
4531 * vc/compare-w.el (compare-windows):
4532 * vc/ediff-help.el (ediff-indent-help-message):
4533 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4534 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4535 (ediff-setup-control-frame):
4536 * vc/emerge.el (emerge-position-region):
4537 * vc/pcvs-util.el (cvs-bury-buffer):
4538 * window.el (walk-windows, mouse-autoselect-window-select):
4539 * winner.el (winner-set-conf, winner-undo): Related users changed.
4540
38276e01
JB
45412013-08-05 Juanma Barranquero <lekktu@gmail.com>
4542
4543 * frameset.el (frameset--set-id): Doc fix.
4544 (frameset-frame-id, frameset-frame-id-equal-p)
4545 (frameset-locate-frame-id): New functions.
4546 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4547 (frameset-restore): Use them.
4548
12b4c0ea
DA
45492013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4550
4551 Do not call to `selected-frame' where it is assumed by default.
4552 Affected functions are `raise-frame', `redraw-frame',
4553 `frame-first-window', `frame-terminal' and `delete-frame'.
4554 * calendar/appt.el (appt-disp-window):
4555 * epg.el (epg-wait-for-completion):
4556 * follow.el (follow-delete-other-windows-and-split)
4557 (follow-avoid-tail-recenter):
4558 * international/mule.el (set-terminal-coding-system):
4559 * mail/rmail.el (rmail-mail-return):
4560 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4561 * progmodes/f90.el (f90-add-imenu-menu):
4562 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4563 * server.el (server-switch-buffer):
4564 * simple.el (delete-completion-window):
4565 * talk.el (talk):
4566 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4567 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4568 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4569 * vc/ediff.el (ediff-documentation): Related users changed.
4570 * frame.el (selected-terminal): Remove the leftover.
4571
17f25e76
GM
45722013-08-05 Glenn Morris <rgm@gnu.org>
4573
4574 * calendar/calendar.el (calendar-generate-month):
4575 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4576 (calendar-generate-month, calendar-font-lock-keywords):
4577 Fix for calendar-day-header-width > length of any day name.
17f25e76 4578
063233c3
JB
45792013-08-05 Juanma Barranquero <lekktu@gmail.com>
4580
4581 * desktop.el (desktop-clear): Use new name of sort predicate.
4582
4583 * frameset.el (frameset): Add docstring. Move :version property to its
4584 own `version' slot.
4585 (frameset-copy): Rename from copy-frameset.
4586 (frameset-p): Check more thoroughly.
4587 (frameset-prop): Do not check for :version, which is no longer a prop.
4588 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4589 Use new :never value instead of t.
4590 (frameset-filter-alist): Expand and clarify docstring.
4591 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4592 (frameset-filter-minibuffer, frameset-filter-save-param)
4593 (frameset-filter-restore-param, frameset-filter-iconified):
4594 Add pointer to docstring of frameset-filter-alist.
4595 (frameset-filter-params): Rename filter values to be more meaningful:
4596 :never instead of t, and reverse the meanings of :save and :restore.
4597 (frameset--process-minibuffer-frames): Clarify error message.
4598 (frameset-save): Avoid unnecessary and confusing call to framep.
4599 Use new BOA constructor for framesets.
4600 (frameset--reuse-list): Doc fix.
4601 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4602 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4603 (frameset-minibufferless-first-p): Doc fix.
4604 Rename from frameset-sort-frames-for-deletion.
4605 (frameset-restore): Doc fixes. Use new function names.
4606 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4607
d5671a82
JB
46082013-08-04 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * desktop.el (desktop-restore-forces-onscreen)
4611 (desktop-restore-reuses-frames): Document :keyword constant values.
4612 (desktop-filter-parameters-alist): Remove, now identical to
4613 frameset-filter-alist.
4614 (desktop--filter-tty*): Remove, moved to frameset.el.
4615 (desktop-save-frameset, desktop-restore-frameset):
4616 Do not pass :filters argument.
4617
4618 * frameset.el (frameset-live-filter-alist)
4619 (frameset-persistent-filter-alist): New variables.
4620 (frameset-filter-alist): Use them. Add autoload cookie.
4621 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4622 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4623 `frameset--id' (it's supposed to be internal to frameset.el).
4624 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4625 (frameset--initial-params): New function.
4626 (frameset--get-frame): Use it. Doc fix.
4627 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4628 Accept :all, not 'all.
4629 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4630 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4631 with fbound symbols. Fix frame id matching, and remove matching ids if
4632 the frame being restored is deleted. Obey :delete.
4633
671d5c16
SM
46342013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * subr.el (macrop): New function.
4637 (text-clone--maintaining): New var.
4638 (text-clone--maintain): Rename from text-clone-maintain. Use it
4639 instead of inhibit-modification-hooks.
4640
4641 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4642 a proxy, so as handle autoloads and redefinitions of the target.
4643 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4644
4645 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4646 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4647 (pcase--mutually-exclusive-p): New function.
4648 (pcase--split-consp): Use it.
4649 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4650 mutually exclusive with the current predicate.
4651
4652 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4653 (edebug-macrop): Remove. Use `macrop' instead.
4654 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4655 (ad-macro-p):
4656 * eshell/esh-cmd.el (eshell-macrop):
4657 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4658
1d44e9dc
SM
46592013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4662 (advice-mapc): New function, using it.
4663 (advice-function-member-p): New function.
4664 (advice--normalize): Store the cdr in advice--saved-rewrite since
4665 that's the part that will be changed.
4666 (advice--symbol-function): New function.
4667 (advice-remove): Handle removal before the function is defined.
4668 Adjust to new advice--saved-rewrite.
4669 (advice-member-p): Use advice-function-member-p and
4670 advice--symbol-function.
4671
5414a283
JB
46722013-08-04 Juanma Barranquero <lekktu@gmail.com>
4673
51d30f2c
JB
4674 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4675 (frameset-filter-minibuffer): Doc fix.
4676 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4677 (frameset--set-id, frameset--process-minibuffer-frames)
4678 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4679 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4680
5414a283
JB
4681 * desktop.el (desktop-clear): Only delete frames when called
4682 interactively and desktop-restore-frames is non-nil. Doc fix.
4683 (desktop-read): Set desktop-saved-frameset to nil.
4684
ab419665
XF
46852013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4686
4687 * vc/vc.el (vc-ignore): Rewrite.
4688 (vc-default-ignore-completion-table):
4689 (vc--read-lines):
4690 (vc--add-line, vc--remove-regexp): New functions.
4691
4692 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4693 (vc-svn-ignore-completion-table): New function.
4694
4695 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4696 (vc-hg-ignore-completion-table):
4697 (vc-hg-find-ignore-file): New functions.
4698
4699 * vc/vc-git.el (vc-git-ignore): Rewrite.
4700 (vc-git-ignore-completion-table):
4701 (vc-git-find-ignore-file): New functions.
4702
4703 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4704
4705 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4706 (vc-bzr-ignore-completion-table):
4707 (vc-bzr-find-ignore-file): New functions.
4708
2613dea2
JB
47092013-08-03 Juanma Barranquero <lekktu@gmail.com>
4710
4711 * frameset.el (frameset-prop): New function and setter.
4712 (frameset-save): Do not modify frame list passed by the caller.
4713
9c959872
SM
47142013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4717
a104f656
SM
47182013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4719
70122acf
SM
4720 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4721 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4722
a104f656
SM
4723 * custom.el (custom-initialize-default, custom-initialize-set)
4724 (custom-initialize-reset, custom-initialize-changed): Affect the
4725 toplevel-default-value (bug#6275, bug#14586).
4726 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4727 for bug#6275.
4728
f078d570
JB
47292013-08-02 Juanma Barranquero <lekktu@gmail.com>
4730
185e3b5a
JB
4731 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4732 Add cl-def* expressions.
4733
f078d570
JB
4734 * frameset.el (frameset-filter-params): Fix order of arguments.
4735
9421876d
JB
47362013-08-02 Juanma Barranquero <lekktu@gmail.com>
4737
4738 Move code related to saving frames to frameset.el.
4739 * desktop.el: Require frameset.
4740 (desktop-restore-frames): Doc fix.
4741 (desktop-restore-reuses-frames): Rename from
4742 desktop-restoring-reuses-frames.
4743 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4744 (desktop-clear): Clear frames too.
4745 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4746 (desktop--filter-tty*, desktop-save, desktop-read):
4747 Use frameset functions.
4748 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4749 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4750 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4751 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4752 (desktop--process-minibuffer-frames, desktop-save-frames)
4753 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4754 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4755 (desktop--sort-states, desktop-restoring-frames-p)
4756 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4757 (desktop-restoring-frameset-p, desktop-restore-frameset)
4758 (desktop--check-dont-save, desktop-save-frameset): New functions.
4759 (desktop--app-id): New constant.
4760 (desktop-first-buffer, desktop-buffer-ok-count)
4761 (desktop-buffer-fail-count): Move before first use.
4762 * frameset.el: New file.
4763
76dc5996
SM
47642013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * files.el: Use lexical-binding.
4767 (dir-locals-read-from-file): Remove unused `err' variable.
4768 (hack-dir-local-variables--warned-coding): New var.
4769 (hack-dir-local-variables): Use it to avoid repeated warnings.
4770 (make-backup-file-name--default-function): New function.
4771 (make-backup-file-name-function): Use it as default.
4772 (buffer-stale--default-function): New function.
4773 (buffer-stale-function): Use it as default.
4774 (revert-buffer-insert-file-contents--default-function): New function.
4775 (revert-buffer-insert-file-contents-function): Use it as default.
4776 (insert-directory): Avoid add-to-list.
4777
4778 * autorevert.el (auto-revert-handler): Simplify.
4779 Use buffer-stale--default-function.
4780
06d36e2b
TH
47812013-08-01 Tassilo Horn <tsdh@gnu.org>
4782
5f648ab4
TH
4783 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4784
06d36e2b
TH
4785 * whitespace.el (whitespace-ensure-local-variables): New function.
4786 (whitespace-cleanup-region): Call it.
4787 (whitespace-turn-on): Call it.
4788
a43dc424
MA
47892013-08-01 Michael Albinus <michael.albinus@gmx.de>
4790
4791 Complete file name handlers.
4792
4793 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4794 (tramp-handle-verify-visited-file-modtime)
4795 (tramp-handle-file-notify-rm-watch): New functions.
4796 (tramp-call-process): Do not bind `default-directory'.
4797
44e18199
JB
4798 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4799 Order alphabetically.
a43dc424
MA
4800 [access-file, add-name-to-file, dired-call-process]:
4801 [dired-compress-file, file-acl, file-notify-rm-watch]:
4802 [file-ownership-preserved-p, file-selinux-context]:
4803 [make-directory-internal, make-symbolic-link, set-file-acl]:
4804 [set-file-selinux-context, set-visited-file-modtime]:
4805 [verify-visited-file-modtime]: Add handler.
4806 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4807
4808 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4809 [file-notify-add-watch, file-notify-rm-watch]:
4810 [set-file-times, set-visited-file-modtime]:
4811 [verify-visited-file-modtime]: Add handler.
4812 (with-tramp-gvfs-error-message)
4813 (tramp-gvfs-handle-set-visited-file-modtime)
4814 (tramp-gvfs-fuse-file-name): Remove.
4815 (tramp-gvfs-handle-file-notify-add-watch)
4816 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4817 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4818
44e18199
JB
4819 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4820 Order alphabetically.
a43dc424
MA
4821 [file-notify-rm-watch ]: Use default Tramp handler.
4822 [executable-find]: Remove private handler.
4823 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4824 `default-directory'.
4825 (tramp-sh-handle-executable-find)
4826 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4827 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4828 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4829 Do not use `format' in `tramp-message'.
4830
4831 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4832 [file-notify-rm-watch, set-visited-file-modtime]:
4833 [verify-visited-file-modtime]: Add handler.
4834 (tramp-smb-call-winexe): Do not bind `default-directory'.
4835
7188b515
XF
48362013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4837
4838 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4839
2412ee1a
DG
48402013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4841
4842 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4843 use it.
4844 (log-view-diff-changeset): Same.
4845 (log-view-diff-common): Call backend command `previous-revision'
4846 to find out the previous revision, in both cases. Swap the
4847 variables `to' and `fr', so that `fr' usually refers to the
4848 earlier revision (Bug#14989).
4849
5002a754
KRC
48502013-07-31 Kan-Ru Chen <kanru@kanru.info>
4851
4852 * ibuf-ext.el (ibuffer-filter-by-filename):
4853 Make it work with dired buffers too.
4854
44e18199 48552013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4856
4857 * emacs-lisp/re-builder.el (reb-color-display-p):
4858 * files.el (save-buffers-kill-terminal):
4859 * net/browse-url.el (browse-url):
4860 * server.el (server-save-buffers-kill-terminal):
4861 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4862 Prefer nil to selected-frame for the first arg of frame-parameter.
4863
aeca3fbb
XF
48642013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4865
4866 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4867
158bc55c
SB
48682013-07-30 Stephen Berman <stephen.berman@gmx.net>
4869
4870 * minibuffer.el (completion--twq-all): Try and preserve each
4871 completion's case choice (bug#14907).
4872
d50fceab
LMI
48732013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4874
ac38e731
LMI
4875 * net/network-stream.el (open-network-stream): Mention the new
4876 :nogreeting parameter.
4877 (network-stream-open-starttls): Use the :nogreeting parameter
4878 (bug#14938).
4879
1211de50
LMI
4880 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4881
997798bf
LMI
4882 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4883 more natural than popping.
4884
d50fceab 4885 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4886 (shr-urlify): Highlight under mouse.
d50fceab 4887
5c09de04
XF
48882013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4889
207d1d04
XF
4890 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4891
4892 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4893
5c09de04
XF
4894 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4895 buffer for output.
4896
3cd51eaa
XF
4897 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4898 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4899
44e18199 4900 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4901 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4902
4903 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4904
4905 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4906 buffer for output.
4907
35a89bdd
EZ
49082013-07-29 Eli Zaretskii <eliz@gnu.org>
4909
4910 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4911 initial frame is minibuffer-less. (Bug#14841)
4912
78822e94
MA
49132013-07-29 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4916 option.
4917
4918 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4919 (tramp-maybe-open-connection): Use it.
4920
9503c190
JB
49212013-07-28 Juanma Barranquero <lekktu@gmail.com>
4922
4923 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4924 minimal set of parameters passed when creating a frame, because
4925 the minibuffer status of a frame cannot be changed later.
4926
d5a845b4
SB
49272013-07-28 Stephen Berman <stephen.berman@gmx.net>
4928
4929 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4930 replace-regexp-in-string and inadvertent omissions in previous change.
4931 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4932 name of filtered items buffer.
d5a845b4 4933
ddeffb17
JB
49342013-07-28 Juanma Barranquero <lekktu@gmail.com>
4935
4936 * desktop.el: Optionally force offscreen frames back onscreen.
4937 (desktop-restoring-reuses-frames): New option.
4938 (desktop--compute-pos, desktop--move-onscreen): New functions.
4939 (desktop--make-frame): Use desktop--move-onscreen.
4940
f5950f7a
AM
49412013-07-27 Alan Mackenzie <acm@muc.de>
4942
4943 Fontify a Java generic method as a function.
4944 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4945 value to t.
4946
ae43b66a
SB
49472013-07-27 Stephen Berman <stephen.berman@gmx.net>
4948
4949 * calendar/todo-mode.el: Add command to rename todo files.
4950 (todo-rename-file): New command.
4951 (todo-key-bindings-t): Add key binding for it. Change the
4952 bindings of todo-filter-regexp-items(-multifile) to use `x'
4953 instead of `r', since the latter is better suited to the new
4954 renaming command.
4955
5ab78d3d
AM
49562013-07-27 Alan Mackenzie <acm@muc.de>
4957
4958 Make Java try-with-resources statement parse properly.
4959 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4960 (c-block-stmt-1-2-key): New language constants/variables.
4961 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4962 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4963 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4964 with c-block-stmt-1-2-key.
5ab78d3d 4965
d85c4d50
JB
49662013-07-27 Juanma Barranquero <lekktu@gmail.com>
4967
4968 * desktop.el (desktop--make-frame): Apply most frame parameters after
4969 creating the frame to force (partially or totally) offscreen frames to
4970 be restored as such.
4971
e4c467f9
XF
49722013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4973
4974 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4975 (Bug#14948)
e4c467f9 4976
7ced0d04
SM
49772013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4980 `base' arg of backtrace-frame.
4981
fec92060
EZ
49822013-07-26 Eli Zaretskii <eliz@gnu.org>
4983
4984 * simple.el (list-processes): Doc fix.
4985
d58d31fb
JB
49862013-07-26 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * desktop.el (desktop--select-frame):
d85c4d50 4989 Try harder to reuse existing frames.
d58d31fb 4990
53ff3e77
SM
49912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4994 (edebug-eval): Use backtrace-eval.
4995 (edebug--display, edebug--recursive-edit): Don't let-bind the
4996 edebug-outer-* vars that keep track of variables we locally let-bind.
4997 (edebug-outside-excursion): Don't restore outside values of locally
4998 let-bound vars.
4999 (edebug--display): Use user-error.
5000 (cl-lexical-debug, cl-debug-env): Remove.
5001
045f7a53
JB
50022013-07-26 Juanma Barranquero <lekktu@gmail.com>
5003
5004 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5005 are restored to be sure that they are visible before deleting any
5006 remaining ones.
5007
59070b32
MM
50082013-07-26 Matthias Meulien <orontee@gmail.com>
5009
742a3501
XF
5010 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5011 vc-print-root-log. (Bug#14948)
59070b32 5012
b1fb3596
RS
50132013-07-26 Richard Stallman <rms@gnu.org>
5014
5015 Add aliases for encrypting mail.
5016 * epa.el (epa-mail-aliases): New option.
5017 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5018 Bind inhibit-read-only so read-only text doesn't ruin everything.
5019 (epa-mail-default-recipients): New subroutine broken out.
5020 Handle epa-mail-aliases.
5021
56ea7291
SM
50222013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 Add support for lexical variables to the debugger's `e' command.
5025 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5026 vars, except for debugger-outer-match-data.
5027 (debugger-frame-number): Move check for "on a function call" from
5028 callers into it. Add `skip-base' argument.
5029 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5030 (debugger-env-macro): Only reset the state stored in non-variables,
5031 i.e. current-buffer and match-data.
5032 (debugger-eval-expression): Rewrite using backtrace-eval.
5033 * subr.el (internal--called-interactively-p--get-frame): Remove.
5034 (called-interactively-p):
5035 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5036 `base' arg of backtrace-frame instead.
5037
15ac32d5
GM
50382013-07-26 Glenn Morris <rgm@gnu.org>
5039
8358a09d
GM
5040 * align.el (align-regexp): Doc fix. (Bug#14857)
5041 (align-region): Explicit error if subexpression missing/does not match.
5042
15ac32d5
GM
5043 * simple.el (global-visual-line-mode):
5044 Do not duplicate the mode lighter. (Bug#14858)
5045
f47ad11b
MR
50462013-07-25 Martin Rudalics <rudalics@gmx.at>
5047
5048 * window.el (display-buffer): In display-buffer bind
5049 split-window-keep-point to t, bug#14829.
5050
02530987
JB
50512013-07-25 Juanma Barranquero <lekktu@gmail.com>
5052
5053 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5054 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5055 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5056 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5057 Change accordingly.
f63ebeb5
JB
5058 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5059 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5060
6ccb9cab 50612013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5062
6ccb9cab 5063 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5064
cb3a56d2
JB
50652013-07-25 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5068 parameter to modify-frame-parameters if the value has not changed;
5069 this is a workaround for bug#14949.
5070 (desktop--make-frame): On cl-delete-if call, check parameter name,
5071 not full parameter.
5072
7aa7fff0
XF
50732013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5074
5075 * vc/vc.el (vc-ignore): New function.
5076
5077 * vc/vc-svn.el (vc-svn-ignore): New function.
5078
5079 * vc/vc-hg.el (vc-hg-ignore): New function.
5080
5081 * vc/vc-git.el (vc-git-ignore): New function.
5082
5083 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5084 (vc-dir-ignore): New function.
5085
5086 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5087 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5088
5089 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5090
5091 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5092
889acc5c
JB
50932013-07-24 Juanma Barranquero <lekktu@gmail.com>
5094
5095 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5096 (desktop-restore-frames): Warn when deleting an existing frame failed.
5097
86c40970
GM
50982013-07-24 Glenn Morris <rgm@gnu.org>
5099
5100 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5101
d5d3c58a
MA
51022013-07-24 Michael Albinus <michael.albinus@gmx.de>
5103
5104 * filenotify.el (file-notify-supported-p):
5105 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5106 Remove functions.
5107
5108 * autorevert.el (auto-revert-use-notify):
5109 (auto-revert-notify-add-watch):
5110 * net/tramp.el (tramp-file-name-for-operation):
5111 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5112 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5113 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5114 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5115 Remove `file-notify-supported-p' entry.
5116
d100084b
GM
51172013-07-24 Glenn Morris <rgm@gnu.org>
5118
5119 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5120 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5121
ac93e56b
SM
51222013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5123
249eea30
SM
5124 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5125 checked with memq (bug#14935).
5126
ac93e56b
SM
5127 * files.el (revert-buffer-function): Use a non-nil default.
5128 (revert-buffer-preserve-modes): Declare var to
5129 provide access to the `preserve-modes' argument.
5130 (revert-buffer): Let-bind it.
5131 (revert-buffer--default): New function, extracted from revert-buffer.
5132
2cdeb903
SM
51332013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * lpr.el: Signal print errors more prominently.
5136 (print-region-function): Don't default to nil.
5137 (lpr-print-region): New function, extracted from print-region-1.
5138 Check lpr's return value and signal an error in case of problem.
5139 (print-region-1): Use it.
5140 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5141 versions instead.
5142 (ps-printer-name): Default to nil.
5143 (ps-printer-name-option): Default to lpr-printer-switch.
5144 (ps-print-region-function): Don't default to nil.
5145 (ps-postscript-code-directory): Simplify default.
5146 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5147 (ps-string-list, ps-eval-switch, ps-flatten-list)
5148 (ps-flatten-list-1): Remove.
5149 (ps-multibyte-buffer): Avoid setq.
5150 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5151 (print-region-function, ps-print-region-function): Don't set them here.
5152
73600831
XF
51532013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5154
0e55c076
XF
5155 * ido.el (ido-fractionp):
5156 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5157 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5158 (ido-max-directory-size, ido-max-dir-file-cache)
5159 (ido-decorations): Doc fix.
5160
73600831
XF
5161 * ansi-color.el: Fix old URL.
5162
3d012865
MM
51632013-07-23 Michael R. Mauger <michael@mauger.com>
5164
e903c210 5165 * progmodes/sql.el: Version 3.3
3d012865
MM
5166 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5167 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5168 (sql-interactive-remove-continuation-prompt): Rewrite, use
5169 functions above. Fix continuation prompt and complete output line
5170 handling.
5171 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5172 redirected output buffer.
5173 (sql-mode): Restore deleted code (Bug#13591).
5174
da77a2e2
JB
51752013-07-23 Juanma Barranquero <lekktu@gmail.com>
5176
5177 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5178
80ff0c71
MA
51792013-07-23 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5182
5183 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5185 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5186
b61d71e4
JB
51872013-07-23 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * desktop.el (desktop-clear): Simplify; remove useless checks
5190 against invalid buffer names.
5191 (desktop-list*): Use cl-list*.
5192 (desktop-buffer-info, desktop-create-buffer): Simplify.
5193
c3512092
LL
51942013-07-23 Leo Liu <sdl.web@gmail.com>
5195
5196 * bookmark.el (bookmark-make-record): Restore NAME as a default
5197 value. (Bug#14933)
5198
0ac26976
SM
51992013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5200
7d22ce18
SM
5201 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5202 extracted from autoload--insert-text.
5203 (autoload--insert-text): Remove.
5204 (autoload--print-cookie-text): New function, extracted from
5205 autoload--insert-cookie-text.
5206 (autoload--insert-cookie-text): Remove.
5207 (autoload-generate-file-autoloads): Adjust calls accordingly.
5208
9b2607e8
SM
5209 * winner.el (winner-hook-installed-p): Remove.
5210 (winner-mode): Simplify accordingly.
5211
c43a8618
SM
5212 * subr.el (add-to-list): Fix compiler-macro when `append' is
5213 not constant. Don't use `cl-member' for the base case.
5214
0ac26976
SM
5215 * progmodes/subword.el: Fix boundary case (bug#13758).
5216 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5217 own group.
5218 (subword-backward-regexp): Make it a constant.
5219 (subword-forward-internal): Don't treat a trailing capital as the
5220 beginning of a word.
5221
6874724a
AR
52222013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5223
5224 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5225 global value of tabulated-list-revert-hook (bug#14930).
5226
70f1b5e8
JB
52272013-07-22 Juanma Barranquero <lekktu@gmail.com>
5228
a1c80d9d
JB
5229 * desktop.el: Require 'cl-lib.
5230 (desktop-before-saving-frames-functions): New hook.
5231 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5232 for frames being saved. Rename from desktop--save-minibuffer-frames.
5233 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5234 Do not save frames with non-nil `desktop-dont-save' parameter.
5235 Filter out deleted frames.
a1c80d9d
JB
5236 (desktop--find-frame): Use cl-find-if.
5237 (desktop--select-frame): Use cl-(first|second|third) to access values
5238 of desktop-mini.
5239 (desktop--make-frame): Use cl-delete-if.
5240 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5241 (desktop-restore-frames): Use cl-(first|second|third) to access values
5242 of desktop-mini. Look for visible frame at the end, not while
5243 restoring frames.
5244
70f1b5e8
JB
5245 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5246 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5247 Use string-match-p, looking-at-p (bug#14927).
5248
728dc3cc
JB
52492013-07-21 Juanma Barranquero <lekktu@gmail.com>
5250
56bc453c
JB
5251 * desktop.el (desktop-saved-frame-states):
5252 Rename from desktop--saved-states; all users changed.
5253 (desktop-save-frames): Rename from desktop--save-frames.
5254 Do not save state to desktop file.
5255 (desktop-save): Save desktop-saved-frame-states to desktop file
5256 and reset to nil.
5257 (desktop-restoring-frames-p): New function.
5258 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5259 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5260 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5261
728dc3cc
JB
5262 * desktop.el: Correctly restore iconified frames.
5263 (desktop--filter-iconified-position): New function.
5264 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5265
862f1c9c
GM
52662013-07-20 Glenn Morris <rgm@gnu.org>
5267
c4074c9f
GM
5268 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5269 Let `message' do the formatting.
5270 (def-gdb-preempt-display-buffer): Add explicit format.
5271
d828e5f9
GM
5272 * image-dired.el (image-dired-track-original-file):
5273 Use with-current-buffer.
5274 (image-dired-track-thumbnail): Use with-current-buffer.
5275 Avoid changing point of wrong window.
5276
862f1c9c
GM
5277 * image-dired.el (image-dired-track-original-file):
5278 Avoid changing point of wrong window. (Bug#14909)
5279
f0398ec1 52802013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5281
5282 * progmodes/gdb-mi.el (gdb-done-or-error):
5283 Guard against "%" in gdb output. (Bug#14127)
5284
1451928f
AS
52852013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5286
763a086d
JB
5287 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5288 (Bug#14826)
f7a03897 5289
1451928f
AS
5290 * international/mule.el (coding-system-iso-2022-flags): Fix last
5291 change.
5292
99107004
KH
52932013-07-20 Kenichi Handa <handa@gnu.org>
5294
763a086d
JB
5295 * international/mule.el (coding-system-iso-2022-flags):
5296 Add `8-bit-level-4'. (Bug#8522)
99107004 5297
48494e06
LMI
52982013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5299
8ba8eec5
LMI
5300 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5301 (bug#14815).
5302
dfbc66e3
LMI
5303 * net/eww.el (eww-process-text-input): Allow inputting when the
5304 point is at the start of the line, as the properties aren't
5305 front-sticky.
5306
48494e06
LMI
5307 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5308 degenerate widths.
5309
77c92cb9
RS
53102013-07-19 Richard Stallman <rms@gnu.org>
5311
aec7da77
RS
5312 * epa.el (epa-popup-info-window): Doc fix.
5313
77c92cb9
RS
5314 * subr.el (split-string): New arg TRIM.
5315
945c5bb1
JB
53162013-07-18 Juanma Barranquero <lekktu@gmail.com>
5317
5318 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5319 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5320
e06ec67f
MA
53212013-07-18 Michael Albinus <michael.albinus@gmx.de>
5322
c7064f05 5323 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5324 `file-notify-support'. Do not autoload. Adapt all uses.
5325 (file-notify-supported-p): New defun.
5326
c7064f05
JB
5327 * autorevert.el (auto-revert-use-notify):
5328 Use `file-notify-supported-p' instead of `file-notify-support'.
5329 Adapt docstring.
e06ec67f
MA
5330 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5331
5332 * net/tramp.el (tramp-file-name-for-operation):
5333 Add `file-notify-supported-p'.
5334
5335 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5336 New defun.
5337 (tramp-sh-file-name-handler-alist): Add it as handler for
5338 `file-notify-supported-p '.
5339
5340 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5341 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5342 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5343 Add `ignore' as handler for `file-notify-*' functions.
5344
5dc8a629
EZ
53452013-07-17 Eli Zaretskii <eliz@gnu.org>
5346
5347 * simple.el (line-move-partial, line-move): Don't start vscroll or
5348 scroll-up if the current line is not taller than the window.
5349 (Bug#14881)
5350
77aea2fb
DG
53512013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5352
5353 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5354 highlight question marks in the method names as strings.
ac72c08d
DG
5355 (ruby-block-beg-keywords): Inline.
5356 (ruby-font-lock-keyword-beg-re): Extract from
5357 `ruby-font-lock-keywords'.
77aea2fb 5358
18c26d81
JD
53592013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5360
5361 * frame.el (blink-cursor-blinks): New defcustom.
5362 (blink-cursor-blinks-done): New defvar.
5363 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5364 (blink-cursor-timer-function): Check if number of blinks has been
5365 done on X and NS.
5366 (blink-cursor-suspend, blink-cursor-check): New defuns.
5367
da48522e
GM
53682013-07-15 Glenn Morris <rgm@gnu.org>
5369
5370 * edmacro.el (edmacro-format-keys): Fix previous change.
5371
0463c1ef
PE
53722013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5373
5374 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5375 The hack didn't work outside English locales anyway.
5376
b43f6451
JB
53772013-07-15 Juanma Barranquero <lekktu@gmail.com>
5378
5379 * simple.el (define-alternatives): Rename from alternatives-define,
5380 per RMS' suggestion.
5381
b958c0ad
JB
53822013-07-14 Juanma Barranquero <lekktu@gmail.com>
5383
5384 * desktop.el (desktop-restore-frames): Change default to t.
5385 (desktop-restore-in-current-display): Now offer more options.
5386 (desktop-restoring-reuses-frames): New customization option.
5387 (desktop--saved-states): Doc fix.
5388 (desktop-filter-parameters-alist): New variable, renamed and expanded
5389 from desktop--excluded-frame-parameters.
5390 (desktop--target-display): New variable.
5391 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5392 (desktop--filter-tty*, desktop--filter-*-color)
5393 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5394 (desktop--filter-save-desktop-parm)
5395 (desktop-restore-in-original-display-p): New functions.
5396 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5397 (desktop--save-minibuffer-frames): New function, inspired by a similar
5398 function from Martin Rudalics.
5399 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5400 (desktop--restore-in-this-display-p): Remove.
5401 (desktop--find-frame): Rename from desktop--find-frame-in-display
5402 and add predicate argument.
5403 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5404 (desktop--reuse-list): New variable.
5405 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5406 New functions.
5407 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5408
f6dd8b36
MA
54092013-07-14 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5412
2ce3c565
DG
54132013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5414
763a086d
JB
5415 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5416 Highlight conversion methods on Kernel.
2ce3c565 5417
2cdb7698
AM
54182013-07-13 Alan Mackenzie <acm@muc.de>
5419
5420 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5421 and comment it out. This out-commenting enables certain C++
5422 declarations to be parsed correctly.
5423
1a67b811
EZ
54242013-07-13 Eli Zaretskii <eliz@gnu.org>
5425
1b796d6b
EZ
5426 * international/mule.el (define-coding-system): Doc fix.
5427
1a67b811
EZ
5428 * simple.el (default-font-height): Don't call font-info if the
5429 frame's default font didn't change since the frame was created.
5430 (Bug#14838)
5431
58fbe886
LL
54322013-07-13 Leo Liu <sdl.web@gmail.com>
5433
5434 * ido.el (ido-read-file-name): Guard against non-symbol value.
5435
1f0480d4
FEG
54362013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5437
5438 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5439 in nested defuns.
5440
97ead0e5
LL
54412013-07-13 Leo Liu <sdl.web@gmail.com>
5442
5443 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5444 ido-set-matches call. (Bug#6852)
5445
0880a952
DG
54462013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5447
5448 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5449 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5450 Ruby 2.0.
5451 (ruby-font-lock-keywords): Distinguish calls to functions with
5452 module-like names from module references. Highlight character
5453 literals.
5454
a7d8babb
SDJ
54552013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5456
5457 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5458 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5459
acfcc8c5
JB
54602013-07-12 Juanma Barranquero <lekktu@gmail.com>
5461
5462 * desktop.el (desktop--v2s): Remove unused local variable.
5463 (desktop-save-buffer): Make defvar-local; adjust docstring.
5464 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5465 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5466
051f2775
AS
54672013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5468
5469 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5470
f24e7572
GM
54712013-07-12 Eli Zaretskii <eliz@gnu.org>
5472
5473 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5474 (Bug#14842)
5475
539a920c
GM
54762013-07-12 Glenn Morris <rgm@gnu.org>
5477
5478 * doc-view.el: Require cl-lib at runtime too.
5479 (doc-view-remove-if): Remove.
5480 (doc-view-search-next-match, doc-view-search-previous-match):
5481 Use cl-remove-if.
5482
5483 * edmacro.el: Require cl-lib at runtime too.
5484 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5485 (edmacro-mismatch, edmacro-subseq): Remove.
5486
5487 * shadowfile.el: Require cl-lib.
5488 (shadow-remove-if): Remove.
5489 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5490 Use cl-remove-if.
5491
5492 * wid-edit.el: Require cl-lib.
5493 (widget-choose): Use cl-remove-if.
5494 (widget-remove-if): Remove.
5495
5496 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5497 (ebrowse-delete-if-not): Remove.
5498 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5499 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5500 Use cl-delete-if-not.
5501
1048af7c
JB
55022013-07-12 Juanma Barranquero <lekktu@gmail.com>
5503
5504 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5505 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5506
6c0674ee
LL
55072013-07-12 Leo Liu <sdl.web@gmail.com>
5508
5509 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5510
a19b3c2d
GM
55112013-07-11 Glenn Morris <rgm@gnu.org>
5512
4582a01c
GM
5513 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5514 (edebug-gensym-index, edebug-gensym):
5515 Remove reimplementation of cl-gensym.
5516 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5517
5518 * thumbs.el: Require cl-lib at run-time too.
5519 (thumbs-gensym-counter, thumbs-gensym):
5520 Remove reimplementation of cl-gensym.
5521 (thumbs-temp-file): Use cl-gensym.
5522
a19b3c2d
GM
5523 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5524 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5525 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5526 (ert--union, ert--gensym-counter, ert--gensym-counter)
5527 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5528 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5529 (ert-make-test-unbound, ert--expand-should-1)
5530 (ert--expand-should, ert--should-error-handle-error)
5531 (should-error, ert--explain-equal-rec)
5532 (ert--plist-difference-explanation, ert-select-tests)
5533 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5534 Use cl-lib functions rather than reimplementations.
5535
88f6a933
MA
55362013-07-11 Michael Albinus <michael.albinus@gmx.de>
5537
5538 * net/tramp.el (tramp-methods): Extend docstring.
5539 (tramp-connection-timeout): New defcustom.
5540 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5541 (with-tramp-progress-reporter): Simplify.
5542 (tramp-process-actions): Improve messages.
5543
5544 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5545 * net/tramp-sh.el (tramp-maybe-open-connection):
5546 Use `tramp-connection-timeout'.
5547 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5548 (Bug#14808)
5549
a43d577e
LL
55502013-07-11 Leo Liu <sdl.web@gmail.com>
5551
5552 * ido.el (ido-read-file-name): Conform to the requirements of
5553 read-file-name. (Bug#11861)
5554 (ido-read-directory-name): Conform to the requirements of
5555 read-directory-name.
5556
d77974bf
JB
55572013-07-11 Juanma Barranquero <lekktu@gmail.com>
5558
5559 * subr.el (delay-warning): New function.
5560
35cb8a3e
EZ
55612013-07-10 Eli Zaretskii <eliz@gnu.org>
5562
5563 * simple.el (default-line-height): New function.
5564 (line-move-partial, line-move): Use it instead of computing the
5565 line height inline.
5566 (line-move-partial): Always compute ROWH. If the last line is
5567 partially-visible, but its text is completely visible, allow
5568 cursor to enter such a partially-visible line.
5569
525c5c77
MA
55702013-07-10 Michael Albinus <michael.albinus@gmx.de>
5571
5572 Improve error messages. (Bug#14808)
5573
5574 * net/tramp.el (tramp-current-connection): New defvar, moved from
5575 tramp-sh.el.
0ac26976 5576 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5577 needed anymore.
0ac26976
SM
5578 (tramp-error-with-buffer): Show message in minibuffer.
5579 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5580 (with-tramp-progress-reporter): Improve messages.
5581 (tramp-process-actions): Use progress reporter. Delete process in
5582 case of error. Improve messages.
5583
763a086d
JB
5584 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5585 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5586 (tramp-current-connection): Remove.
525c5c77
MA
5587 (tramp-maybe-open-connection): The car of
5588 `tramp-current-connection' are the first 3 slots of the vector.
5589
c7a4d368
TZ
55902013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5591
5592 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5593 inside continued strings.
5594
954b166e
PE
55952013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5596
5597 Timestamp fixes for undo (Bug#14824).
5598 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5599
56973319
LL
56002013-07-10 Leo Liu <sdl.web@gmail.com>
5601
5602 * files.el (require-final-newline): Allow safe local value.
5603 (Bug#14834)
5604
5550a72c
LL
56052013-07-09 Leo Liu <sdl.web@gmail.com>
5606
5607 * ido.el (ido-read-directory-name): Handle fallback.
5608 (ido-read-file-name): Update DIR to ido-current-directory.
5609 (Bug#1516)
c28b9050 5610 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5611
70c46b28
DG
56122013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5613
5614 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5615 "autoload". Remove "warn lower camel case" section, previously
5616 commented out. Highlight negation char. Do not highlight the
5617 target in singleton method definitions.
5618
0b64b838
SM
56192013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5620
7fd72e2c
SM
5621 * faces.el (tty-setup-hook): Declare the hook.
5622
0b64b838
SM
5623 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5624 and detect when a guard/pred depends on local vars (bug#14773).
5625 (pcase--u1): Adjust caller.
5626
ab49d60b
EZ
56272013-07-08 Eli Zaretskii <eliz@gnu.org>
5628
5629 * simple.el (line-move-partial, line-move): Account for
5630 line-spacing.
701d79aa
EZ
5631 (line-move-partial): Avoid setting vscroll when the last
5632 partially-visible line in window is of default height.
ab49d60b 5633
2d756ae0
LMI
56342013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5635
5636 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5637 been used a while.
5638
ed095bd7
JB
56392013-07-07 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * subr.el (read-quoted-char): Remove unused local variable `char'.
5642
f1e6674b
MK
56432013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5644
584ee3fc
GM
5645 * ediff.el (ediff-version): Version update.
5646 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5647 (ediff-merge-with-ancestor-command, ediff-directories-command)
5648 (ediff-directories3-command, ediff-merge-directories-command)
5649 (ediff-merge-directories-with-ancestor-command): New functions.
5650 All are command-line interfaces to ediff: to facilitate calling
5651 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5652
5653 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5654 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5655
584ee3fc
GM
5656 * viper.el (viper-version): Version update.
5657 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5658
584ee3fc
GM
56592013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5662 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5663 (viper-intercept-ESC-key): Simplify.
5664 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5665 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5666 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5667 (viper-setup-ESC-to-escape): New functions.
5668 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5669 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5670
9aff9b38
EZ
56712013-07-07 Eli Zaretskii <eliz@gnu.org>
5672
5165d44a
JB
5673 * simple.el (default-font-height, window-screen-lines):
5674 New functions.
9aff9b38
EZ
5675 (line-move, line-move-partial): Use them instead of
5676 frame-char-height and window-text-height. This makes scrolling
5677 text smoother when the buffer's default face uses a font that is
5678 different from the frame's default font.
5679
1afb1d07
JD
56802013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5681
5682 * files.el (write-file): Do not display confirm dialog for NS,
5683 it does its own dialog, which can't be cancelled (Bug#14578).
5684
23de972a
EZ
56852013-07-06 Eli Zaretskii <eliz@gnu.org>
5686
5687 * simple.el (line-move-partial): Adjust the row returned by
5688 posn-at-point for the current window-vscroll. (Bug#14567)
5689
54a42486
MA
56902013-07-06 Michael Albinus <michael.albinus@gmx.de>
5691
5692 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5693 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5694 spaces.
5695
34ada5f4
MR
56962013-07-06 Martin Rudalics <rudalics@gmx.at>
5697
5698 * window.el (window-state-put-stale-windows): New variable.
5699 (window--state-put-2): Save list of windows without matching buffer.
5700 (window-state-put): Remove "bufferless" windows if possible.
5701
11e03d89
JB
57022013-07-06 Juanma Barranquero <lekktu@gmail.com>
5703
5704 * simple.el (alternatives-define): Remove leftover :group keyword.
5705 Tweak docstring.
5706
3504a4be
LL
57072013-07-06 Leo Liu <sdl.web@gmail.com>
5708
5709 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5710 (ido-enable-virtual-buffers): New variable.
5711 (ido-buffer-internal, ido-toggle-virtual-buffers)
5712 (ido-make-buffer-list): Use it.
5713 (ido-exhibit): Support turning on and off virtual buffers
5714 automatically.
5715
61e56e2c
JB
57162013-07-06 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * simple.el (alternatives-define): New macro.
5719
321e1a9c
SM
57202013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * subr.el (read-quoted-char): Use read-key.
5723 (sit-for): Let read-event decode tty input (bug#14782).
5724
d610f6dd
SB
57252013-07-05 Stephen Berman <stephen.berman@gmx.net>
5726
5727 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5728 mode command and externally. Fix various related bugs.
5729 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5730 (todo-delete-file): New command.
5731 (todo-check-file): New function.
5732 (todo-show): Handle external deletion of the file we're trying to
5733 show (bug#14688). Replace called-interactively-p by an optional
5734 prefix argument to avoid problematic interaction with catch form
5735 when byte compiled (bug#14702).
5736 (todo-quit): Handle external deletion of the archive's todo file.
5737 Make sure the buffer that was visiting the archive file is still
5738 live before trying to bury it.
5739 (todo-category-completions): Handle external deletion of any
5740 category completion files.
5741 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5742 of todo files, in case of external deletion.
5743 (todo-add-file): Replace unnecessary setq by let-binding.
5744 (todo-find-archive): Check whether there are any archives.
5745 Replace unnecessary setq by let-binding.
5746 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5747 archive buffer whether or not the archive already exists.
5748 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5749 check if the archive is new; if it is, update list of archives.
5750 (todo-default-todo-file): Allow nil to be a valid value for when
5751 there are no todo files.
5752 (todo-reevaluate-default-file-defcustom): Use corrected definition
5753 of todo-default-todo-file.
5754 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5755 (todo-delete-category, todo-show-categories-table)
5756 (todo-category-number): Clarify comment.
5757 (todo-filter-items): Clarify documentation string.
5758 (todo-show-current-file, todo-display-as-todo-file)
5759 (todo-reset-and-enable-done-separator): Tweak documentation string.
5760 (todo-done-separator): Make separator length window-width, since
5761 bug#2749 is now fixed.
5762
ddbdfd6f
MA
57632013-07-05 Michael Albinus <michael.albinus@gmx.de>
5764
321e1a9c
SM
5765 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5766 Support both "gvfs-monitor-dir" and "inotifywait".
5767 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5768 `tramp-sh-file-notify-process-filter'.
5769 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5770 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5771
96eb829a
LL
57722013-07-05 Leo Liu <sdl.web@gmail.com>
5773
5774 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5775
cf13177e
YM
57762013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5777
5778 * frame.el (display-pixel-height, display-pixel-width)
5779 (display-mm-height, display-mm-width): Mention behavior on
5780 multi-monitor setups in docstrings.
5781 (w32-display-monitor-attributes-list): Declare function.
5782 (display-monitor-attributes-list): Use it.
5783
864c58ca
MA
57842013-07-04 Michael Albinus <michael.albinus@gmx.de>
5785
5786 * filenotify.el: New package.
5787
5788 * autorevert.el (top): Require filenotify.el.
5789 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5790 instead.
5791 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5792 (auto-revert-notify-handler): Use `file-notify-*' functions.
5793
5794 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5795
321e1a9c
SM
5796 * net/tramp.el (tramp-file-name-for-operation):
5797 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5798
5799 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5800 for `file-notify-add-watch' and `file-notify-rm-watch'.
5801 (tramp-process-sentinel): Improve trace.
5802 (tramp-sh-handle-file-notify-add-watch)
5803 (tramp-sh-file-notify-process-filter)
5804 (tramp-sh-handle-file-notify-rm-watch)
5805 (tramp-get-remote-inotifywait): New defuns.
5806
96673afe
JL
58072013-07-03 Juri Linkov <juri@jurta.org>
5808
5809 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5810 call of `occur-read-primary-args' to interactive spec.
5811
5812 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5813 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5814
924494f4
MM
58152013-07-03 Matthias Meulien <orontee@gmail.com>
5816
5817 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5818 `Buffer-menu-multi-occur'. Add it to the menu.
5819 (Buffer-menu-mode): Document it in docstring.
5820 (Buffer-menu-multi-occur): New command. (Bug#14673)
5821
56f75efc
DG
58222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5823
5824 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5825 keywords and built-ins.
5826
9b057d61
GM
58272013-07-03 Glenn Morris <rgm@gnu.org>
5828
208dee4d
GM
5829 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5830
9b057d61
GM
5831 Make info-xref checks case-sensitive by default
5832 * info.el (Info-find-node, Info-find-in-tag-table)
5833 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5834 Add option for exact case matching of nodes.
5835 * info-xref.el (info-xref): New custom group.
5836 (info-xref-case-fold): New option.
5837 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5838
e01aa29c
LL
58392013-07-03 Leo Liu <sdl.web@gmail.com>
5840
5841 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5842
3086ca2e
DG
58432013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5844
5845 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5846 middle of block statement initially, lower the depth. Remove
5847 FIXME comment, not longer valid. Remove middle of block statement
5848 detection, no need to do that anymore since we've been using
5849 `ruby-parse-region' here.
5850
a3b49114
JD
58512013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5852
5853 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5854
08e5c823 58552013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5856
5857 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5858
2addf922
JB
58592013-07-01 Juanma Barranquero <lekktu@gmail.com>
5860
5861 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5862 (desktop-restore-in-current-display): New customization option.
5863 (desktop--excluded-frame-parameters): Add `font'.
5864 (desktop--save-frames): Rename from desktop--save-windows.
5865 (desktop--restore-in-this-display-p): New function.
5866 (desktop--make-full-frame): Remove unwanted width/height from
5867 full(width|height) frames.
5868 (desktop--restore-frames): Rename from desktop--restore-windows.
5869 Obey desktop-restore-current-display. Do not delete old frames or
5870 select a new frame unless we were able to restore at least one frame.
5871
ef099a94
MN
58722013-06-30 Michal Nazarewicz <mina86@mina86.com>
5873
5874 * files.el (find-file-noselect): Simplify conditional expression.
5875
5876 * remember.el (remember-append-to-file):
5877 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5878
5879 Add `remember-notes' function to store random notes across Emacs
5880 restarts.
5881 * remember.el (remember-data-file): Add :set callback to affect
5882 notes buffer (if any).
5883 (remember-notes): New command.
5884 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5885 New defcustoms for the `remember-notes' function.
5886 (remember-notes-save-and-bury-buffer): New command.
5887 (remember-notes-mode-map): New variable.
5888 (remember-mode): New minor mode.
5889 (remember-notes--kill-buffer-query): New function.
5890 * startup.el (initial-buffer-choice): Add notes to custom type.
5891
0865d506
EZ
58922013-06-30 Eli Zaretskii <eliz@gnu.org>
5893
0ba54312
EZ
5894 * bindings.el (right-char, left-char): Don't call sit-for, this is
5895 no longer needed. Use arithmetic comparison only for numerical
5896 arguments.
5897
ef099a94
MN
5898 * international/mule-cmds.el (select-safe-coding-system):
5899 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5900
2fae38e5
LMI
59012013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5902
5903 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5904 progression on degenerate tables.
ef099a94 5905 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5906
a47cbd64
JB
59072013-06-30 Juanma Barranquero <lekktu@gmail.com>
5908
5909 Some fixes and improvements for desktop frame restoration.
5910 It is still experimental and disabled by default.
5911 * desktop.el (desktop--save-windows): Put the selected frame at
5912 the head of the list.
5913 (desktop--make-full-frame): New function.
5914 (desktop--restore-windows): Try to re-select the frame that was
5915 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5916 just show an error message and continue. Set up maximized frames
5917 so they have default non-maximized dimensions.
a47cbd64 5918
6dbafa30
DG
59192013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5920
ef099a94
MN
5921 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5922 Don't start heredoc inside a string or comment.
6dbafa30 5923
4c672a0f
EZ
59242013-06-29 Eli Zaretskii <eliz@gnu.org>
5925
5926 * bindings.el (visual-order-cursor-movement): New defcustom.
5927 (right-char, left-char): Provide visual-order cursor motion by
5928 calling move-point-visually. Update the doc strings.
5929
50960f36
KH
59302013-06-28 Kenichi Handa <handa@gnu.org>
5931
5932 * international/mule.el (define-coding-system): New coding system
5933 properties :inhibit-null-byte-detection,
5934 :inhibit-iso-escape-detection, and :prefer-utf-8.
5935 (set-buffer-file-coding-system): If :charset-list property of
5936 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5937 appropriate for setting.
5938
c1ea3abf
JB
5939 * international/mule-cmds.el (select-safe-coding-system):
5940 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5941 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5942
5943 * international/mule-conf.el (prefer-utf-8): New coding system.
5944 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5945 files.
5946
75dbaf9d
IK
59472013-06-28 Ivan Kanis <ivan@kanis.fr>
5948
eadb6068
IK
5949 * net/shr.el (shr-render-region): New function.
5950
75dbaf9d
IK
5951 * net/eww.el: Autoload `eww-browse-url'.
5952
9ea5cf9f
DG
59532013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5954
c1ea3abf
JB
5955 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5956 Adapt to `package-desc-version' being a list.
5957 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5958 archive element.
5959
39c0e36f
JB
59602013-06-27 Juanma Barranquero <lekktu@gmail.com>
5961
5962 New experimental feature to save&restore window and frame setup.
5963 * desktop.el (desktop-save-windows): New defcustom.
5964 (desktop--saved-states): New var.
5965 (desktop--excluded-frame-parameters): New defconst.
5966 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5967 (desktop--restore-windows, desktop--save-windows): New functions.
5968 (desktop-save): Call `desktop--save-windows'.
5969 (desktop-read): Call `desktop--restore-windows'.
5970
7f13406b
LMI
59712013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5972
ef099a94 5973 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5974
1e072639
SB
59752013-06-27 Stephen Berman <stephen.berman@gmx.net>
5976
5977 * info.el (Info-try-follow-nearest-node): Move search for footnote
5978 above search for node name to prevent missing a footnote (bug#14717).
5979
f3e2cbde
SB
59802013-06-27 Stephen Berman <stephen.berman@gmx.net>
5981
5982 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5983
99906aa0
LL
59842013-06-27 Leo Liu <sdl.web@gmail.com>
5985
5986 * net/eww.el (eww-read-bookmarks): Check file size.
5987
539f75f4
SM
59882013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5991 advice--pending if newdef is nil or an autoload (bug#13820).
5992 (advice-mapc): New function.
5993
843571cb
LMI
59942013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5995
5996 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5997 probably.
23a75d7f 5998 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5999 (eww-add-bookmark): New command.
6000 (eww-bookmark-mode): New mode and commands.
a285ce99 6001 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6002 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6003
f2136e1e
GM
60042013-06-26 Glenn Morris <rgm@gnu.org>
6005
eab35f39
GM
6006 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6007 (hfy-size): Handle ttys. (Bug#14668)
6008
f2136e1e
GM
6009 * info-xref.el: Update for Texinfo 5 change in *note format.
6010 (info-xref-node-re, info-xref-note-re): New constants.
6011 (info-xref-check-buffer): Use info-xref-note-re.
6012
a49ff80c
SM
60132013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6014
a343d218
SM
6015 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6016
a49ff80c
SM
6017 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6018 nil terminate the loop (bug#14718).
6019
8308f184
LMI
60202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021
6022 * net/eww.el: Rework history traversal. When going forward/back,
6023 put these actions into the history, too, so that they can be
6024 replayed.
26bf2b82 6025 (eww-render): Move the history reset to the correct buffer.
8308f184 6026
ec64c273
JL
60272013-06-25 Juri Linkov <juri@jurta.org>
6028
6029 * files-x.el (modify-dir-local-variable): Change the header comment
6030 in the file with directory local variables. (Bug#14692)
6031
e080a9d7
JL
6032 * files-x.el (read-file-local-variable-value): Add `default'.
6033 (Bug#14710)
6034
bfbc93a1
IK
60352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6036
6037 * net/eww.el (eww-make-unique-file-name): Create a unique file
6038 name before saving to entering `y' accidentally asynchronously.
6039
60402013-06-25 Ivan Kanis <ivan@kanis.fr>
6041
6042 * net/eww.el (eww-download): New command and keystroke.
6043
16f74f10
LMI
60442013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6045
a49ff80c 6046 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6047
6048 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6049 be more consistent with Info and dired.
6050
6051 * net/eww.el (eww-mode-map): Ditto.
6052
12059709
SM
60532013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6056 packages from archives.
6057 (package-archive-contents): Change format; include obsolete packages.
6058 (package-desc): Use `dir' to mark builtin packages.
6059 (package--from-builtin): Set the `dir' field to `builtin'.
6060 (generated-autoload-file, version-control): Declare.
6061 (package-compute-transaction): Change first arg and return value to be
6062 lists of package-descs. Adjust to new package-archive-contents format.
6063 (package--add-to-archive-contents): Adjust to new
6064 package-archive-contents format.
6065 (package-download-transaction): Arg is now a list of package-descs.
6066 (package-install): If `pkg' is a package name, pass it as
6067 a requirement, so it is subject to the usual (e.g. disabled) checks.
6068 (describe-package): Accept package-desc as well.
6069 (describe-package-1): Describe a specific package-desc. Add links to
6070 other package-descs for the same package name.
6071 (package-menu-describe-package): Pass the actual package-desc.
6072 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6073 works correctly.
6074 (package-desc-status): New function.
6075 (package-menu--refresh): New function, extracted
6076 from package-menu--generate.
6077 (package-menu--generate): Use it.
6078 (package-delete): Update package-alist.
6079 (package-menu-execute): Don't call package-initialize.
6080
6081 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6082 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6083 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6084 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6085 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6086 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6087
8bbdea0f
MR
60882013-06-25 Martin Rudalics <rudalics@gmx.at>
6089
6090 * window.el (window--state-get-1): Workaround for bug#14527.
6091 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6092
e82b0991
LMI
60932013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6094
6095 * net/eww.el (eww-back-url): Implement the history by stashing all
6096 the data into a list.
d3f0f918 6097 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6098
c763842b
SM
60992013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6102 for values and use read--expression for expressions (bug#14710).
6103 (read-file-local-variable): Avoid setq.
6104 (read-file-local-variable-mode): Use minor-mode-list.
6105
bceff189
RW
61062013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6107
864c58ca 6108 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6109 for DOI URLs.
6110
45f431c6
RW
61112013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6112
864c58ca 6113 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6114 Update imenu-support when dialect changes.
6115
f42d8237
LL
61162013-06-25 Leo Liu <sdl.web@gmail.com>
6117
6118 * ido.el (ido-read-internal): Allow forward slash on windows.
6119
be549ce6
LMI
61202013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6121
6122 * net/eww.el (eww): Start of strings is \\`, not ^.
6123
71d4c19d
IK
61242013-06-24 Ivan Kanis <ivan@kanis.fr>
6125
5196f88a
IK
6126 * net/shr.el (shr-browse-url): Fix interactive spec.
6127
71d4c19d
IK
6128 * net/eww.el (eww): Add a trailing slash to domain names.
6129
ae36ca55
JB
61302013-06-24 Juanma Barranquero <lekktu@gmail.com>
6131
6132 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6133
0ebd92a3
LMI
61342013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6135
bdaa086b
LMI
6136 * net/shr.el (shr-browse-url): Use an external browser if given a
6137 prefix.
6138
c763842b 6139 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6140
b89fc156
IK
61412013-06-24 Ivan Kanis <ivan@kanis.fr>
6142
6143 * net/eww.el (eww): Work more correctly for file: URLs.
6144 (eww-detect-charset): Allow quoted charsets.
6145 (eww-yank-page-url): New command and keystroke.
6146
18eb4bca
DU
61472013-06-24 Daiki Ueno <ueno@gnu.org>
6148
6149 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6150 file name of gpg executable.
6151 (epg-context-program): New function.
6152 (epg-context-home-directory): New function.
6153 (epg-context-set-program): New function.
6154 (epg-context-set-home-directory): New function.
6155 (epg--start): Use `epg-context-program' instead of
6156 'epg-gpg-program'.
6157 (epg--list-keys-1): Likewise.
6158
6c6268c8
LL
61592013-06-24 Leo Liu <sdl.web@gmail.com>
6160
6161 * ido.el (ido-read-internal): Fix bug#14620.
6162
5e400cb3
JB
61632013-06-23 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * faces.el (face-documentation): Simplify.
6166 (read-face-attribute, tty-find-type, x-resolve-font-name):
6167 Use `string-match-p'.
6168 (list-faces-display): Use `string-match-p'. Simplify.
6169 (face-spec-recalc): Check face to avoid face alias loops.
6170 (read-color): Use `string-match-p' and non-capturing parenthesis.
6171
f3f9606c
LMI
61722013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6173
6174 * net/shr.el (shr-rescale-image): Use the new
6175 :max-width/:max-height functionality.
6176
a3ca09b9
IK
61772013-06-23 Ivan Kanis <ivan@kanis.fr>
6178
6179 * net/eww.el (eww-search-prefix): New variable.
6180 (eww): Use it.
f865b474
IK
6181 (eww-external-browser): New variable.
6182 (eww-mode-map): New keystroke.
6183 (eww-browse-with-external-browser): New command.
a3ca09b9 6184
e854cfc7
IK
6185 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6186
18bb9e21
JB
61872013-06-23 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6190 Don't skip aligning the next header field when padding is 0;
6191 otherwise, field width is not respected unless the title is as
6192 wide as the field.
6193
5b165ade
SM
61942013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * emacs-lisp/package.el (package-el-version): Remove.
6197 (package-process-define-package): Fix inf-loop.
6198 (package-install): Allow symbols as arguments again.
6199
12adebe9
DG
62002013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6201
6202 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6203 add some more keyword-like methods.
6204 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6205
388573ee
JB
62062013-06-22 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * bs.el (bs-buffer-show-mark): Make defvar-local.
6209 (bs-mode): Use setq-local.
6210
6211 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6212 (emacs-lock--try-unlocking): Make defvar-local.
6213
4582a01c 62142013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6215
2663dd23
GM
6216 * play/cookie1.el (cookie-apropos): Minor simplification.
6217
3d94f3ad
GM
6218 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6219
f72e2fdb
DG
62202013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6221
6222 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6223 `regexp-opt', it breaks the build during dumping.
6224
73eab938
DG
62252013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6226
c763842b
SM
6227 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6228 Highlight keyword-like methods on Kernel and Module with
73eab938 6229 font-lock-builtin-face.
5cf8176d
DG
6230 (auto-mode-alist): Consolidate different entries into one regexp
6231 and add more *file-s.
73eab938 6232
d26255f6
SB
62332013-06-21 Stephen Berman <stephen.berman@gmx.net>
6234
6235 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6236
6237 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6238 (diary-entry): Use it in the action of this button type instead of
6239 diary-goto-entry.
6240
6241 * calendar/todo-mode.el: New version.
6242 (todo-add-category): Append new category to end of file and give
6243 it the highest number, instead of putting it at the beginning and
6244 giving it 0. Incorporate noninteractive functionality.
6245 (todo-forward-category): Adapt to 1-based category numbering.
6246 Allow skipping over archived categories.
6247 (todo-backward-category): Derive from todo-forward-category.
6248 (todo-backward-item, todo-forward-item): Make noninteractive and
6249 delegate interactive part to new commands. Make sensitive to done items.
6250 (todo-categories): Make value an alist of category names and
6251 vectors of item counts.
6252 (todo-category-beg): Make a defconst.
6253 (todo-category-number): Use 1 instead of 0 as initial value.
6254 (todo-category-select): Make sensitive to overlays, optional item
6255 highlighting and done items.
6256 (todo-delete-item): Make sensitive to overlays and marked and done items.
6257 (todo-edit-item): Make sensitive to overlays and editing of
6258 date/time header optional. Add format checks.
6259 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6260 no-op if point is not on an item. Advertise using todo-edit-quit.
6261 (todo-edit-mode): Make sensitive to new format, font-locking, and
6262 multiple todo files.
6263 (todo-insert-item, todo-insert-item-here): Derive from
6264 todo-basic-insert-item and extend functionality.
6265 (todo-item-end, todo-item-start): Make sensitive to done items.
6266 (todo-item-string): Don't return text properties. Restore point.
6267 (todo-jump-to-category): Make sensitive to multiple todo files and
6268 todo archives. Use extended category completion.
6269 (todo-lower-item, todo-raise-item): Rename to *-priority and
6270 derive from todo-set-item-priority.
6271 (todo-mode): Derive from special-mode. Make sensitive to new
6272 format, font-locking and multiple todo files. Make read-only.
6273 (todo-mode-map): Don't suppress digit keys, so they can supply
6274 prefix arguments. Add many new key bindings.
6275 (todo-prefix): Insert as an overlay instead of file text.
6276 Change semantics from diary date expression to purely visual mark.
6277 (todo-print): Rename to todo-print-buffer. Make buffer display
6278 features printable. Remove option to restrict number of items
6279 printed. Add option to print to file.
6280 (todo-print-function): Rename to todo-print-buffer-function.
6281 (todo-quit): Extend to handle exiting new todo modes.
6282 (todo-remove-item): Make sensitive to overlays.
6283 (todo-save): Extend to buffers of filtered items.
6284 (todo-show): Make sensitive to done items, multiple todo files and
6285 new todo modes. Offer to convert legacy todo file before creating
6286 first new todo file.
6287 (todo-show-priorities): Rename to todo-top-priorities.
6288 Change semantics of value 0.
6289 (todo-top-priorities): Rename to todo-filter-top-priorities,
6290 derive from todo-filter-items and extend functionality.
6291 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6292 and extend functionality to other types of filtered items.
6293 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6294 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6295 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6296 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6297 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6298 (todo-edit-mode-hook, todo-entry-prefix-function)
6299 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6300 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6301 (todo-initials, todo-insert-threshold, todo-item-string-start)
6302 (todo-line-string, todo-menu, todo-mode-hook)
6303 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6304 (todo-print-priorities, todo-remove-separator)
6305 (todo-save-top-priorities-too, todo-string-count-lines)
6306 (todo-string-multiline-p, todo-time-string-format)
6307 (todo-tmp-buffer-name): Remove.
6308 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6309 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6310 (todo-edit-category-diary-inclusion)
6311 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6312 (todo-edit-file, todo-edit-item-date-day)
6313 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6314 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6315 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6316 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6317 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6318 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6319 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6320 (todo-filter-top-priorities-multifile, todo-find-archive)
6321 (todo-find-filtered-items-file, todo-go-to-source-item)
6322 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6323 (todo-jump-to-archive-category, todo-lower-category)
6324 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6325 (todo-move-category, todo-move-item, todo-next-button)
6326 (todo-next-item, todo-padded-string, todo-powerset)
6327 (todo-previous-button, todo-previous-item)
6328 (todo-print-buffer-to-file, todo-raise-category)
6329 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6330 (todo-set-category-number, todo-set-item-priority)
6331 (todo-set-top-priorities-in-category)
6332 (todo-set-top-priorities-in-file, todo-show-categories-table)
6333 (todo-sort-categories-alphabetically-or-numerically)
6334 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6335 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6336 (todo-toggle-item-header, todo-toggle-item-highlighting)
6337 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6338 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6339 (todo-unarchive-items, todo-unmark-category): New commands.
6340 (todo-absolute-file-name, todo-add-to-buffer-list)
6341 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6342 (todo-basic-insert-item, todo-category-completions)
6343 (todo-category-number, todo-category-string-matcher-1)
6344 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6345 (todo-check-format, todo-clear-matches)
6346 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6347 (todo-current-category, todo-date-string-matcher)
6348 (todo-define-insertion-command, todo-diary-expired-matcher)
6349 (todo-diary-goto-entry, todo-diary-item-p)
6350 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6351 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6352 (todo-done-item-section-p, todo-done-separator)
6353 (todo-done-string-matcher, todo-files, todo-filter-items)
6354 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6355 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6356 (todo-insert-category-line, todo-insert-item-from-calendar)
6357 (todo-insert-sort-button, todo-insert-with-overlays)
6358 (todo-insertion-command-name, todo-insertion-key-bindings)
6359 (todo-label-to-key, todo-longest-category-name-length)
6360 (todo-make-categories-list, todo-mode-external-set)
6361 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6362 (todo-modes-set-3, todo-multiple-filter-files)
6363 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6364 (todo-read-category, todo-read-date, todo-read-dayname)
6365 (todo-read-file-name, todo-read-time)
6366 (todo-reevaluate-category-completions-files-defcustom)
6367 (todo-reevaluate-default-file-defcustom)
6368 (todo-reevaluate-filelist-defcustoms)
6369 (todo-reevaluate-filter-files-defcustom)
6370 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6371 (todo-reset-done-separator, todo-reset-done-separator-string)
6372 (todo-reset-done-string, todo-reset-global-current-todo-file)
6373 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6374 (todo-reset-prefix, todo-set-categories)
6375 (todo-set-date-from-calendar, todo-set-show-current-file)
6376 (todo-set-top-priorities, todo-short-file-name)
6377 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6378 (todo-total-item-counts, todo-update-buffer-list)
6379 (todo-update-categories-display, todo-update-categories-sexp)
6380 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6381 New functions.
6382 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6383 New major modes.
6384 (todo-categories, todo-display, todo-edit, todo-faces)
6385 (todo-filtered): New defgroups.
6386 (todo-archived-only, todo-button, todo-category-string, todo-date)
6387 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6388 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6389 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6390 (todo-add-item-if-new-category, todo-always-add-time-string)
6391 (todo-categories-align, todo-categories-archived-label)
6392 (todo-categories-category-label, todo-categories-diary-label)
6393 (todo-categories-done-label, todo-categories-number-separator)
6394 (todo-categories-todo-label, todo-categories-totals-label)
6395 (todo-category-completions-files, todo-completion-ignore-case)
6396 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6397 (todo-done-separator-string, todo-done-string)
6398 (todo-files-function, todo-filter-done-items, todo-filter-files)
6399 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6400 (todo-initial-category, todo-initial-file, todo-item-mark)
6401 (todo-legacy-date-time-regexp, todo-mode-line-function)
6402 (todo-nondiary-marker, todo-number-prefix)
6403 (todo-print-buffer-function, todo-show-current-file)
6404 (todo-show-done-only, todo-show-first, todo-show-with-done)
6405 (todo-skip-archived-categories, todo-top-priorities-overrides)
6406 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6407 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6408 New defcustoms.
6409 (todo-category-done, todo-date-pattern, todo-date-string-start)
6410 (todo-diary-items-buffer, todo-done-string-start)
6411 (todo-filtered-items-buffer, todo-item-start)
6412 (todo-month-abbrev-array, todo-month-name-array)
6413 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6414 (todo-top-priorities-buffer): New defconsts.
6415 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6416 (todo-categories-with-marks, todo-category-string-face)
6417 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6418 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6419 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6420 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6421 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6422 (todo-font-lock-keywords, todo-global-current-todo-file)
6423 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6424 (todo-insertion-commands-args)
6425 (todo-insertion-commands-args-genlist)
6426 (todo-insertion-commands-names, todo-insertion-map)
6427 (todo-key-bindings-t, todo-key-bindings-t+a)
6428 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6429 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6430 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6431 (todo-visited): New variables.
6432
cad5d1cb
GM
64332013-06-21 Glenn Morris <rgm@gnu.org>
6434
6435 * play/cookie1.el (cookie-apropos): Add optional display argument.
6436 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6437 (psychoanalyze-pinhead): Use cookie-doctor.
6438
9e277302
JB
64392013-06-21 Juanma Barranquero <lekktu@gmail.com>
6440
6441 * emacs-lisp/package.el (tar-get-file-descriptor)
6442 (tar--extract): Declare.
6443
c5b0993e
EW
64442013-06-21 Eduard Wiebe <usenet@pusto.de>
6445
6446 Extend flymake's warning predicate to be a function (bug#14217).
6447 * progmodes/flymake.el (flymake-warning-predicate): New.
6448 (flymake-parse-line): Use it.
6449 (flymake-warning-re): Make obsolete alias to
6450 `flymake-warning-predicate'.
6451
a7d2d465
SM
64522013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6455 (package-obsolete-list): Remove.
6456 (package-activate): Remove min-version argument. Add `force' argument.
6457 Adjust to new package-alist format.
6458 (package-mark-obsolete): Remove.
6459 (package-unpack): Force reload of the package's autoloads.
6460 (package-installed-p): Check builtins if the installed package is not
6461 recent enough.
6462 (package-initialize): Don't reset package-obsolete-list.
6463 Don't specify which package version to activate.
6464 (package-process-define-package, describe-package-1)
6465 (package-menu--generate): Adjust to new package-alist format.
6466
cedf5c9d
JB
64672013-06-21 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * allout-widgets.el (allout-widgets-mode-off)
6470 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6471 (allout-widgets-post-command-business)
6472 (allout-widgets-after-copy-or-kill-function)
6473 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6474 (allout-decorate-item-and-context)
6475 (allout-graphics-modification-handler): Fix typos in docstrings.
6476 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6477
6478 * cmuscheme.el (scheme-start-file): Doc fix.
6479 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6480 (scheme-input-filter): Use `string-match-p'.
6481
6482 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6483
6484 * dired-x.el: Use Dired consistently in docstrings.
6485
6486 * dired.el: Use Dired consistently in docstrings.
6487 (dired-readin, dired-mode): Use `setq-local'.
6488 (dired-switches-alist): Make defvar-local.
6489 (dired-buffers-for-dir): Use `zerop'.
6490 (dired-safe-switches-p, dired-switches-escape-p)
6491 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6492 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6493 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6494 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6495 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6496 (dired-toggle-marks, dired-mark-files-containing-regexp)
6497 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6498 (dired-flag-auto-save-files, dired-flag-backup-files):
6499 Use `looking-at-p'.
6500 (dired-mark-files-regexp, dired-build-subdir-alist):
6501 Use `string-match-p', `looking-at-p'.
6502
6503 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6504 (direct-print-region-helper): Use `string-match-p'.
6505
aed838b5
LL
65062013-06-21 Leo Liu <sdl.web@gmail.com>
6507
cedf5c9d
JB
6508 * comint.el (comint-redirect-results-list-from-process):
6509 Fix infinite loop.
aed838b5 6510
d80a808f
LMI
65112013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
6513 * net/eww.el (eww-update-header-line-format): Quote % characters.
6514
e7a526e3
GM
65152013-06-21 Glenn Morris <rgm@gnu.org>
6516
6517 * play/cookie1.el (cookie): New custom group.
6518 (cookie-file): New option.
6519 (cookie-check-file): New function.
6520 (cookie): Make it interactive. Make start and end messages optional.
6521 Interactively, display the result. Default to cookie-file.
6522 (cookie-insert): Default to cookie-file.
6523 (cookie-snarf): Make start and end messages optional.
6524 Default to cookie-file. Use with-temp-buffer.
6525 (cookie-read): Rename from read-cookie.
6526 Make start and end messages optional. Default to cookie-file.
6527 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6528 Do not autoload it.
e7a526e3
GM
6529 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6530 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6531
62efb35e
LL
65322013-06-21 Leo Liu <sdl.web@gmail.com>
6533
6534 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6535
21e3f963
GM
65362013-06-21 Glenn Morris <rgm@gnu.org>
6537
6538 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6539
fd846ab4
SM
65402013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6541 Daniel Hackney <dan@haxney.org>
6542
6543 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6544 Consolidate the single-file vs tarball code.
6545 (package-desc-suffix): New function.
6546 (package-desc-full-name): Don't bother inlining it.
6547 (package-load-descriptor): Return the new package-desc.
6548 (package-mark-obsolete): Remove unused arg `package'.
6549 (package-unpack): Make it work for single files as well.
6550 Make it update package-alist.
6551 (package--make-autoloads-and-stuff): Rename from
6552 package--make-autoloads-and-compile. Don't compile any more.
6553 (package--compile): New function.
6554 (package-generate-description-file): New function, extracted from
6555 package-unpack-single.
6556 (package-unpack-single): Remove.
6557 (package--with-work-buffer): Add indentation and debugging info.
6558 (package-download-single): Remove.
6559 (package-install-from-archive): Rename from package-download-tar, make
6560 it take a pkg-desc, and make it work for single files as well.
6561 (package-download-transaction): Simplify.
6562 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6563 external tar program.
6564 (package-install-from-buffer): Remove `pkg-desc' argument.
6565 Use package-tar-file-info for tar-mode buffers.
6566 (package-install-file): Simplify accordingly.
6567 (package-archive-base): Change to take a pkg-desc.
6568 * tar-mode.el (tar--check-descriptor): New function, extracted from
6569 tar-get-descriptor.
6570 (tar-get-descriptor): Use it.
6571 (tar-get-file-descriptor): New function.
6572 (tar--extract): New function, extracted from tar-extract.
6573 (tar--extract): Use it.
6574 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6575 case the summary uses non-ascii. Adjust to new calling convention of
6576 package-tar-file-info.
6577
b7deae5e
LL
65782013-06-21 Leo Liu <sdl.web@gmail.com>
6579
fd846ab4
SM
6580 * comint.el (comint-redirect-results-list-from-process):
6581 Fix random delay. (Bug#14681)
b7deae5e 6582
7a65a0b2
JB
65832013-06-21 Juanma Barranquero <lekktu@gmail.com>
6584
6585 * profiler.el (profiler-format-number): Use log, not log10.
6586
1493c2af
JB
65872013-06-20 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6590
aff6371e
SM
65912013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6594 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6595 yet available.
6596 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6597 (AUTOGENEL): ... here.
6598 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6599 (cl--defsubst-expand): Use it.
6600
89561f72
PE
66012013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6602
6603 * subr.el (log10): Move here from C code, and declare as obsolete.
6604 All uses of (log10 X) replaced with (log X 10).
6605
47199123
JB
66062013-06-20 Juanma Barranquero <lekktu@gmail.com>
6607
6608 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6609 Declare with `defvar-local'.
6610 (tabulated-list-use-header-line, tabulated-list-entries)
6611 (tabulated-list-padding, tabulated-list-printer)
6612 (tabulated-list-sort-key): Declare with `defvar-local'.
6613 (tabulated-list-init-header, tabulated-list-print-fake-header):
6614 Use `setq-local'.
6615
4a172eab
MA
66162013-06-20 Michael Albinus <michael.albinus@gmx.de>
6617
47199123
JB
6618 * arc-mode.el (archive-mode): Add `archive-write-file' to
6619 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6620
5fc0acc0
JB
66212013-06-20 Juanma Barranquero <lekktu@gmail.com>
6622
d5b27848
JB
6623 * cus-edit.el (custom-commands): Fix typos.
6624 (custom-display): Fix tooltip text.
6625 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6626 Fix typos in docstrings.
6627 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6628 (custom-unlispify-menu-entry, custom-magic-value-create)
6629 (custom-add-see-also, custom-group-value-create): Use ?\s.
6630 (custom-guess-type, customize-apropos, editable-field)
6631 (custom-face-value-create): Use `string-match-p'.
6632 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6633
6634 * custom.el (custom-load-symbol): Use `string-match-p'.
6635
a5c581d8
JB
6636 * ansi-color.el: Convert to lexical binding.
6637 (ansi-colors): Fix URL.
6638 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6639 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6640 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6641
970ad972
G
66422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6643
6644 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6645
6646 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6647
66482013-06-19 Tom Tromey <tromey@redhat.com>
6649
6650 * net/eww.el (eww-top-url): Remove.
6651 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6652 (eww-render): Set new variables. Don't set eww-top-url.
6653 (eww-handle-link): Handle "prev", "home", and "contents".
6654 Downcase the rel text.
6655 (eww-top-url): Choose best top URL.
6656
66572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6658
6659 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6660 relying in widget.el. Using widget.el leads to too many
6661 user interface inconsistencies.
6662 (eww-self-insert): Implement entering commands in text fields.
6663 (eww-process-text-input): New function to make text input field editing
6664 work.
6665 (eww-submit): Rewrite to use the new-style form methods.
6666 (eww-select-display): Display the correct selected item.
6667 (eww-change-select): Implement changing the select value.
6668 (eww-toggle-checkbox): Implement radio/checkboxes.
6669 (eww-update-field): Fix compilation error.
6670 (eww-tag-textarea): Implement <textarea>.
6671
6672 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6673 we don't shadow mode-specific bindings.
6674
6675 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6676 nothing to push.
6677
6678 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6679
4582a01c 66802013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6681
6682 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6683
15b263dc
MA
66842013-06-19 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6687 not needed.
6688
6689 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6690
8f5297f7
LMI
66912013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6692
6693 * net/browse-url.el (browse-url-browser-function):
6694 `eww-browse-url' has the right calling signature, `eww' does not.
6695
011c4552
GM
66962013-06-19 Glenn Morris <rgm@gnu.org>
6697
2285bd27
GM
6698 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6699 Only eval autoloaded macros.
6700 (byte-compile-autoload): Only give the macro warning for macros.
6701
1d653303
GM
6702 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6703 (ps-underlined-faces): Declare.
6704
bdd779ec
GM
6705 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6706 (speedbar-add-supported-extension): Declare.
6707
011c4552
GM
6708 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6709 Don't include a date stamp in the header of the generated file;
6710 it leads to needless differences between output files.
6711
e59dfb0e
MA
67122013-06-19 Michael Albinus <michael.albinus@gmx.de>
6713
c763842b
SM
6714 * net/secrets.el (secrets-struct-secret-content-type):
6715 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6716 Some servers do not offer introspection.
e59dfb0e 6717
102626e2
SM
67182013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * electric.el (electric-pair-mode): Improve interaction with
6721 electric-layout-mode.
6722 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6723 (electric-pair-syntax): Use text-mode-syntax-table in comments
6724 and strings.
6725 (electric-pair--insert): New function.
6726 (electric-pair-post-self-insert-function): Use it and
6727 electric--after-char-pos.
6728
ad528125
LL
67292013-06-19 Leo Liu <sdl.web@gmail.com>
6730
6731 * progmodes/octave.el (octave-help): Fix regexp.
6732
924d6997
G
67332013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6734
6735 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6736 (shr-table-horizontal-line): Allow nil as a value, and change the
6737 default.
6738 (shr-insert-table-ruler): Respect the nil value.
6739
67402013-06-18 Tom Tromey <tromey@barimba>
6741
6742 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6743 New defvars.
6744 (eww-open-file): New defun.
6745 (eww-render): Initialize new variables.
6746 (eww-display-html): Handle "link" and "a".
6747 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6748 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6749 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6750 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6751 New defuns.
924d6997 6752
d1bbba4f
DG
67532013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6754
6755 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6756 Distinguish ternary operator tokens from slash symbol and slash
6757 char literal.
6758
14dd22d2
JB
67592013-06-18 Juanma Barranquero <lekktu@gmail.com>
6760
6761 Convert symbol prettification into minor mode and global minor mode.
6762
6763 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6764 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6765 (prettify-symbols--keywords): Rename from
6766 `prog-prettify-symbols-alist' and make a local defvar.
6767 (prettify-symbols--compose-symbol): Rename from
6768 `prog--prettify-font-lock-compose-symbol'.
6769 (prettify-symbols--make-keywords): Rename from
6770 `prog-prettify-font-lock-symbols-keywords' and simplify.
6771 (prog-prettify-install): Remove.
6772 (prettify-symbols-mode): New minor mode, based on
6773 `prog-prettify-install'.
6774 (turn-on-prettify-symbols-mode): New function.
6775 (global-prettify-symbols-mode): New globalized minor mode.
6776
6777 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6778 * progmodes/cfengine.el (cfengine3-mode):
6779 * progmodes/perl-mode.el (perl-mode): Don't call
6780 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6781
292c880c
JL
67822013-06-18 Juri Linkov <juri@jurta.org>
6783
6784 * files-x.el (modify-file-local-variable-message): New function.
6785 (modify-file-local-variable)
6786 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6787 and call `modify-file-local-variable-message' when it's non-nil.
6788 (add-file-local-variable, delete-file-local-variable)
6789 (add-file-local-variable-prop-line)
6790 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6791 and use it. (Bug#9820)
6792
0950aa27
JL
67932013-06-18 Juri Linkov <juri@jurta.org>
6794
6795 * emulation/vi.el (vi-shell-op):
6796 * emulation/vip.el (vip-execute-com, ex-command):
6797 * emulation/viper-cmd.el (viper-exec-bang):
6798 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6799 the call of `shell-command-on-region'. (Bug#14637)
6800
6801 * simple.el (shell-command-on-region): Doc fix.
6802
8fbcca16
SM
68032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6806 (bug#14633).
6807
dd7426ea
GM
68082013-06-18 Glenn Morris <rgm@gnu.org>
6809
4ba54f7d
GM
6810 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6811
dd7426ea
GM
6812 * newcomment.el (comment-search-forward, comment-search-backward):
6813 Doc fix. (Bug#14376)
6814
58aa805b
JB
68152013-06-18 Juanma Barranquero <lekktu@gmail.com>
6816
6817 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6818 (buffer-face-mode-invoke): Doc fix.
6819
9a08a617
MM
68202013-06-18 Matthias Meulien <orontee@gmail.com>
6821
6822 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6823 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6824
f2f426ca
GM
68252013-06-18 Glenn Morris <rgm@gnu.org>
6826
9445f99b
GM
6827 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6828 Replace obsolete function generic-make-keywords with its expansion.
6829
e0df2d14
GM
6830 * progmodes/python.el (ffap-alist): Declare.
6831
f2f426ca
GM
6832 * textmodes/reftex.el (bibtex-mode-map): Declare.
6833
f7f9a720
SM
68342013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6837 (package-unpack, package-unpack-single): Return the pkg-dir.
6838 (package-download-transaction): Use it to update package-alist.
6839
57ff04e0
LMI
68402013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6841
6842 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6843 possible choice.
6844
c048c022
JL
68452013-06-17 Juri Linkov <juri@jurta.org>
6846
6847 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6848
b5bcaee5
DG
68492013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6850
a020afb9
JB
6851 * emacs-lisp/package.el (package-load-descriptor):
6852 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6853 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6854
551e07e5
JB
68552013-06-17 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * startup.el (command-line): Expand package name returned by
6858 `package--description-file' (bug#14639).
6859
d363bffb
DG
68602013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6861
6862 * emacs-lisp/package.el (package-load-descriptor): Do not call
6863 `emacs-lisp-mode', just use its syntax table.
6864
f612933b
JB
68652013-06-17 Juanma Barranquero <lekktu@gmail.com>
6866
6867 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6868 `font-lock-extra-managed-props' if any prettifying keyword is added.
6869 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6870 (prog-mode): Use `setq-local'.
6871
db3b7db5
SM
68722013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * international/characters.el (standard-case-table): Set syntax of ?»
6875 and ?« to punctuation.
6876
f3d674df
JB
68772013-06-16 Juanma Barranquero <lekktu@gmail.com>
6878
6879 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6880 Save relevant match data before calling `syntax-ppss' (bug#14595).
6881
31489a32
JL
68822013-06-15 Juri Linkov <juri@jurta.org>
6883
6884 * files-x.el (modify-file-local-variable-prop-line): Add local
6885 variables to the end of the existing comment on the first line.
6886 Use `file-auto-mode-skip' to skip interpreter magic line,
6887 and also skip XML declaration.
6888
66bd25ab
SM
68892013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * startup.el (package--builtin-versions): New var.
6892 (package-subdirectory-regexp): Remove.
6893 (package--description-file): Hard code its value instead.
6894
6895 * emacs-lisp/package.el: Don't activate packages older than builtin.
6896 (package-obsolete-list): Rename from package-obsolete-alist, and make
6897 it into a simple list of package-desc.
6898 (package-strip-version): Remove.
6899 (package-built-in-p): Use package--builtin-versions.
6900 (package-mark-obsolete): Simplify.
6901 (package-process-define-package): Mark it obsolete if older than the
6902 builtin version.
6903 (package-handle-response): Use line-end-position.
6904 (package-read-archive-contents, package--download-one-archive):
6905 Simplify.
6906 (package--add-to-archive-contents): Skip if older than the builtin or
6907 installed version.
6908 (package-menu-describe-package): Fix last change.
6909 (package-list-unversioned): New var.
6910 (package-menu--generate): Use it.
6911
6912 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6913 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6914 (autoload-builtin-package-versions): New variable.
6915 (autoload-generate-file-autoloads): Use them.
6916 Remove the list of autoloaded functions/macros from the
6917 (autoload...) comments.
6918
6919 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6920
9583ec36
EZ
69212013-06-15 Eli Zaretskii <eliz@gnu.org>
6922
6923 * simple.el (line-move-partial): Don't jump to the next screen
6924 line as soon as it becomes visible. Instead, continue enlarging
6925 the vscroll until the portion of a tall screen line that's left on
6926 display is about the height of the frame's default font.
6927 (Bug#14567)
6928
f0100d8a
GM
69292013-06-15 Glenn Morris <rgm@gnu.org>
6930
b86a85ca
GM
6931 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6932 compilation-error-regexp-alist void, or local while let-bound.
6933
f0100d8a
GM
6934 * progmodes/make-mode.el (makefile-mode-syntax-table):
6935 Treat "=" as punctuation. (Bug#14614)
6936
05e7ce90
JB
69372013-06-15 Juanma Barranquero <lekktu@gmail.com>
6938
6939 * help-fns.el (describe-variable):
6940 Add extra line for permanent-local variables.
6941
12e5e86e
SH
69422013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6943
6944 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6945 Add export, import, library. (Bug#9164)
6946 (library): Set indent function.
6947
230dcbaf
GM
69482013-06-14 Glenn Morris <rgm@gnu.org>
6949
6950 * term/xterm.el (xterm--query):
6951 Stop after first matching handler. (Bug#14615)
6952
e36b2d20 69532013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6954
6955 Add support for dired in saveplace.
6956 * dired.el (dired-initial-position-hook): New variable.
6957 (dired-initial-position): Call hook to place cursor position.
6958 * saveplace.el (save-place-to-alist): Add dired position.
6959 (save-place-dired-hook): New function.
6960
0b31660d
SM
69612013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6962
bf1e6ae8
SM
6963 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6964 through a symbol rather than letrec.
6965
1b8dff23
SM
6966 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6967 (package-desc): Add `dir' field.
6968 (package-desc-full-name): New function.
6969 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6970 (package-maybe-load-descriptor): Remove.
6971 (package-load-all-descriptors): Just call package-load-descriptor.
6972 (package--disabled-p): New function.
6973 (package-desc-vers, package-desc-doc): Remove aliases.
6974 (package--dir): Remove function.
6975 (package-activate): Check if a package is disabled.
6976 (package-process-define-package): New function, extracted from
6977 define-package.
6978 (define-package): Turn into a place holder.
6979 (package-unpack-single, package-tar-file-info):
6980 Use package--description-file.
6981 (package-compute-transaction): Use package--disabled-p.
6982 (package-download-transaction): Don't call
6983 package-maybe-load-descriptor since they're all loaded anyway.
6984 (package-install): Change argument to be a pkg-desc.
6985 (package-delete): Use a single pkg-desc argument.
6986 (describe-package-1): Use package-desc-dir instead of package--dir.
6987 Use package-desc property instead of package-symbol.
6988 (package-install-button-action): Adjust accordingly.
6989 (package--push): Rewrite.
6990 (package-menu--print-info): Adjust accordingly. Change the ID format
6991 to be a pkg-desc.
6992 (package-menu-describe-package, package-menu-get-status)
6993 (package-menu--find-upgrades, package-menu-mark-upgrades)
6994 (package-menu-execute, package-menu--name-predicate):
6995 Adjust accordingly.
6996 * startup.el (package--description-file): New function.
6997 (command-line): Use it.
6998 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6999 Use package-desc-version.
7000
0b31660d
SM
7001 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7002 (byte-compile-preprocess): Use it.
7003 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7004 can't quite recognize.
7005 (byte-compile-add-to-list): Remove.
7006 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7007 (cconv-closure-convert): Add assertion.
7008
7009 * emacs-lisp/map-ynp.el: Use lexical-binding.
7010 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7011 Factor out some repeated code.
7012
de0503df
SM
70132013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * subr.el (with-eval-after-load): New macro.
7016 (eval-after-load): Allow form to be a function.
7017 take advantage of lexical-binding.
7018 (do-after-load-evaluation): Use dolist and adjust to new format.
7019 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7020
bc5c8c5a
JL
70212013-06-13 Juri Linkov <juri@jurta.org>
7022
7023 * replace.el (perform-replace): Display "symbol " and other search
7024 modes from `isearch-message-prefix' in the *Help* buffer.
7025
7026 * isearch.el (isearch-query-replace): Add " symbol" and other
7027 possible search modes from `isearch-message-prefix' to the prompt.
7028 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7029 when reading a regexp to collect.
7030
a22289f7
JL
70312013-06-13 Juri Linkov <juri@jurta.org>
7032
7033 * isearch.el (word-search-regexp): Match whitespace if the search
7034 string begins or ends in whitespace. The LAX arg is applied to
7035 both ends of the search string. Use `regexp-quote' and explicit
7036 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7037 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7038 boundaries are replaced with symbol boundaries, and characters
7039 between symbols match non-word non-symbol syntax. (Bug#14602)
7040
cb89acab
JL
70412013-06-13 Juri Linkov <juri@jurta.org>
7042
7043 * isearch.el (isearch-del-char): Don't exceed the length of
7044 `isearch-string' by the prefix arg. (Bug#14563)
7045
6e8cfc81
JL
70462013-06-13 Juri Linkov <juri@jurta.org>
7047
7048 * isearch.el (isearch-yank-word, isearch-yank-line)
7049 (isearch-char-by-name, isearch-quote-char)
7050 (isearch-printing-char, isearch-process-search-char):
7051 Add optional count prefix arg. (Bug#14563)
7052
7053 * international/isearch-x.el
7054 (isearch-process-search-multibyte-characters):
7055 Add optional count prefix arg.
7056
c23d55f4
VS
70572013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7060 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7061 lexical-binding.
7062
70632013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7064
7065 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7066
ba947bc4
GM
70672013-06-13 Glenn Morris <rgm@gnu.org>
7068
8baeb37a
GM
7069 * startup.el (tty-handle-args):
7070 Don't just discard "--" and anything after. (Bug#14608)
7071
ba947bc4
GM
7072 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7073
9abefce4
MA
70742013-06-13 Michael Albinus <michael.albinus@gmx.de>
7075
7076 Implement changes in Secret Service API. Make it backward compatible.
7077 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7078 (secrets-create-item): Use it. Prefix properties with interface.
7079
5755011f
MH
70802013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7081
7082 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7083 (term-emulate-terminal): Respect term-suppress-hard-newline.
7084
1261d2da
S
70852013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7086
7087 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7088 Only remove a `thumb-file' overlay. (Bug#14548)
7089
868490bb
GJ
70902013-06-12 Grégoire Jadi <daimrod@gmail.com>
7091
7092 * mail/reporter.el (reporter-submit-bug-report):
7093 Handle missing package-name. (Bug#14600)
7094
79d7167f
TH
70952013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7096
7097 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7098 (reftex-citation-prompt, reftex-default-bibliography)
7099 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7100 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7101 (reftex-bib-sort-author, reftex-bib-sort-year)
7102 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7103 (reftex-extract-bib-entries-from-thebibliography)
7104 (reftex-get-bibkey-default, reftex-get-bib-names)
7105 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7106 (reftex-format-bib-entry, reftex-parse-bibitem)
7107 (reftex-format-bibitem, reftex-do-citation)
7108 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7109 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7110 (reftex-insert-bib-matches, reftex-format-citation)
7111 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7112 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7113 existing comments into docstrings.
7114
5f9dbd7a
XF
71152013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7116
7117 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7118
94df41ab
AS
71192013-06-12 Andreas Schwab <schwab@suse.de>
7120
7121 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7122 for auto-save files.
7123
a7f3fecc
GM
71242013-06-12 Glenn Morris <rgm@gnu.org>
7125
001809f6
GM
7126 * ido.el (ido-delete-ignored-files): Remove.
7127 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7128 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7129
834b5ded
EL
71302013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7131
08c73ed2
EL
7132 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7133
834b5ded
EL
7134 * ido.el (ido-delete-ignored-files): New function,
7135 split from ido-make-file-list-1.
7136 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7137 (ido-make-file-list-1): Use ido-delete-ignored-files.
7138
daabf15a
LL
71392013-06-12 Leo Liu <sdl.web@gmail.com>
7140
7141 * progmodes/octave.el (inferior-octave-startup)
7142 (inferior-octave-completion-table)
7143 (inferior-octave-track-window-width-change)
7144 (octave-eldoc-function-signatures, octave-help)
7145 (octave-find-definition): Use single quoted strings.
7146 (inferior-octave-startup-args): Change default value.
7147 (inferior-octave-startup): Do not hard code "-i" and
7148 "--no-line-editing".
7149 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7150 (inferior-octave-directory-tracker): Use it.
7151 (octave-goto-function-definition): Robustify.
7152 (octave-help): Support highlighting operators in 'See also'.
7153 (octave-find-definition): Find subfunctions only in Octave mode.
7154
cf4e5178
SM
71552013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * help-fns.el (help-fns--compiler-macro): If the handler function is
7158 named, then put a link to it.
7159 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7160 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7161 (cl-typep): Use it.
7162 (cl-eval-when): Simplify debug spec.
7163 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7164 compiler-macro function instead of setting `compiler-macro-file'.
7165
99c81280 71662013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7167
7168 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7169 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7170
f56be016
SM
71712013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7172 Daniel Hackney <dan@haxney.org>
7173
7174 First part of Daniel Hackney's patch to package.el.
7175 * emacs-lisp/package.el: Use defstruct.
7176 (package-desc): New, main struct.
7177 (package--bi-desc, package--ac-desc): New structs, used to describe the
7178 format in external files.
7179 (package-desc-vers): Replace with package-desc-version accessor.
7180 (package-desc-doc): Replace with package-desc-summary accessor.
7181 (package-activate-1): Remove `package' arg since the pkg-vec now
7182 includes the name.
7183 (define-package): Use package-desc-from-define.
7184 (package-unpack-single): Change file-name arg to be a symbol.
7185 (package--add-to-archive-contents): Use package-desc-create and new
7186 accessor functions to package--ac-desc.
7187 (package-buffer-info, package-tar-file-info): Return a package-desc.
7188 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7189 arg to be a package-desc.
7190 (package-install-file): Adjust accordingly. Use \' to match EOS.
7191 (package--from-builtin): New function.
7192 (describe-package-1, package-menu--generate): Use it.
7193 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7194 (package-generate-autoloads): Idem and return the name of the file.
7195 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7196 Change pkg-info arg to be a package-desc.
7197 Use package-make-ac-desc.
7198 (package-upload-file): Use \' to match EOS.
7199 * finder.el (finder-compile-keywords): Use package-make-builtin.
7200
31119d63
SM
72012013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7202
931a2762
SM
7203 * vc/vc.el (vc-deduce-fileset): Change error message.
7204 (vc-read-backend): New function.
7205 (vc-next-action): Use it.
7206
5a3eb0c6
SM
7207 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7208
e3eb1bb7
SM
7209 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7210 (prolog-font-lock-keywords): Use regexp-opt instead.
7211 Don't manually highlight strings.
7212 (prolog-mode-variables): Simplify comment-start-skip.
7213 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7214
31119d63
SM
7215 * emacs-lisp/generic.el (generic--normalise-comments)
7216 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7217 (generic-mode-set-comments): Use them.
7218 (generic-bracket-support): Use setq-local.
7219 (generic-make-keywords-list): Declare obsolete.
7220
7de135d0
GM
72212013-06-11 Glenn Morris <rgm@gnu.org>
7222
7223 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7224 Prettify after setting font-lock-defaults. (Bug#14574)
7225
fa6bc6fd
JB
72262013-06-11 Juanma Barranquero <lekktu@gmail.com>
7227
7228 * replace.el (query-replace, occur-read-regexp-defaults-function)
7229 (replace-search):
7230 * subr.el (declare-function, number-sequence, local-set-key)
7231 (substitute-key-definition, locate-user-emacs-file)
7232 (with-silent-modifications, split-string, eval-after-load):
7233 Fix typos, remove unneeded backslashes and reflow some docstrings.
7234
cf1f9b9a
SM
72352013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7238 default for Elisp files.
7239
56602a4b
GM
72402013-06-11 Glenn Morris <rgm@gnu.org>
7241
7242 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7243 although define-derived-mode was doing this anyway. (Bug#14583)
7244
30ae0b2c
JB
72452013-06-10 Juanma Barranquero <lekktu@gmail.com>
7246
7247 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7248 Fix make-variable-buffer-local call to refer to the correct variable.
7249
fa472906
AG
72502013-06-10 Aidan Gauland <aidalgol@amuri.net>
7251
7252 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7253 (eshell-visual-subcommands, eshell-visual-options):
7254 Add summary line to docstrings. Add cross-references.
fa472906 7255
ff4871b9
GM
72562013-06-10 Glenn Morris <rgm@gnu.org>
7257
7258 * epa.el (epa-read-file-name): New function. (Bug#14510)
7259 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7260
04fcf1b0
AG
72612013-06-09 Aidan Gauland <aidalgol@amuri.net>
7262
7263 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7264 output redirection to be ignored with visual commands.
7265
88b00caa
AG
72662013-06-09 Aidan Gauland <aidalgol@amuri.net>
7267
7268 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7269 (eshell-term-initialize): Move long lambda to separate function
7270 eshell-visual-command-p.
e7b41c4c
JB
7271 * eshell/em-dirs.el (eshell-dirs-initialise):
7272 * eshell/em-script.el (eshell-script-initialize):
7273 Add missing #' to lambda.
88b00caa 7274
fda74125
LL
72752013-06-08 Leo Liu <sdl.web@gmail.com>
7276
7277 * progmodes/octave.el (octave-add-log-current-defun): New function.
7278 (octave-mode): Set add-log-current-defun-function.
7279 (octave-goto-function-definition): Do not move point if not found.
7280 (octave-find-definition): Enhance to try subfunctions first.
7281
467f3b33
GM
72822013-06-08 Glenn Morris <rgm@gnu.org>
7283
7284 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7285 (byte-compile-backward-char, byte-compile-backward-word):
7286 Improve previous change, to handle non-explicit nil.
7287
544badc3
SM
72882013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7291 (smie--opener/closer-at-point): New function.
7292 (smie--matching-block-data): Use it. Don't match from right after an
7293 opener or right before a closer. Obey smie-blink-matching-inners.
7294 Don't signal a mismatch for repeated inners like "switch..case..case".
7295
a175bf33
LL
72962013-06-07 Leo Liu <sdl.web@gmail.com>
7297
7298 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7299 to t. (Bug#14303)
ce8209d4
LL
7300 (octave-function-header-regexp): Fix. (Bug#14570)
7301 (octave-help-mode-finish-hook, octave-help-mode-finish):
7302 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7303
7304 * newcomment.el (comment-search-backward): Revert last change.
7305 (Bug#14434)
7306
7307 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7308
a822acff
EZ
73092013-06-07 Eli Zaretskii <eliz@gnu.org>
7310
7311 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7312 through xargs, to avoid failure due to MS-Windows limitations on
7313 command-line length.
7314
961166f5
GM
73152013-06-06 Glenn Morris <rgm@gnu.org>
7316
d0341459
GM
7317 * font-lock.el (lisp-font-lock-keywords-2):
7318 Treat user-error like error.
7319
961166f5
GM
7320 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7321 (byte-compile-backward-char, byte-compile-backward-word):
7322 Handle explicit nil arguments. (Bug#14565)
7323
80fa505f
AM
73242013-06-05 Alan Mackenzie <acm@muc.de>
7325
7326 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7327 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7328 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7329 (Bug#9706)
80fa505f 7330
fccdc796
SM
73312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * autorevert.el (auto-revert-notify-handler): Use memq.
7334 Hide assertion failure.
7335
7336 * skeleton.el: Use cl-lib.
7337 (skeleton-further-elements): Use defvar-local.
7338 (skeleton-insert): Use cl-progv.
7339
9bfff84b
TZ
73402013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7341
7342 * progmodes/prog-mode.el (prog-prettify-symbols)
7343 (prog-prettify-install): Update docstrings.
7344
55577e7c
SM
73452013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * simple.el: Move all the prog-mode code to prog-mode.el.
7348 * progmodes/prog-mode.el: New file.
7349 * loadup.el: Add prog-mode.el.
7350
8fc57765
TZ
73512013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7352
7353 * simple.el (prog-prettify-symbols): Add version.
7354 (prog-prettify-install): Add convenience function to prettify symbols.
7355
7356 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7357 (perl--augmented-font-lock-keywords-1)
7358 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7359 variables and use it.
7360
7361 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7362 (cfengine3-mode): Remove unneeded variable and use it.
7363
7364 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7365 (lisp--augmented-font-lock-keywords-1)
7366 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7367 Remove unneeded variables and use it.
7368
650645d5 73692013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7370
7371 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7372 to point when opening the connection. (Bug#14380)
28f5da6d 7373
781b4af6
SM
73742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * subr.el (load-history-regexp, load-history-filename-element)
7377 (eval-after-load, after-load-functions, do-after-load-evaluation)
7378 (eval-next-after-load, display-delayed-warnings)
7379 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7380 definition of save-match-data.
7381 (overriding-local-map): Remove accidental obsolescence declaration.
7382
7383 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7384
3ca0d0b4
TZ
73852013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7386
7387 Generalize symbol prettify support to prog-mode and implement it
7388 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7389 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7390 (prog--prettify-font-lock-compose-symbol)
7391 (prog-prettify-font-lock-symbols-keywords): New variables and
7392 functions to support symbol prettification.
7393 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7394 (lisp--augmented-font-lock-keywords-1)
7395 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7396 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7397 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7398 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7399 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7400 * progmodes/perl-mode.el (perl-prettify-symbols)
7401 (perl--font-lock-compose-symbol)
7402 (perl--font-lock-symbols-keywords): Move to prog-mode.
7403 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7404 (perl-font-lock-keywords-1)
7405 (perl-font-lock-keywords-2): Remove explicit prettify support.
7406 (perl--augmented-font-lock-keywords)
7407 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7408 (perl--augmented-font-lock-keywords-2, perl-mode):
7409 Implement prettify support.
3ca0d0b4 7410
976cb066
LL
74112013-06-05 Leo Liu <sdl.web@gmail.com>
7412
7413 Re-implement smie matching block highlight using
7414 show-paren-data-function. (Bug#14395)
7415 * emacs-lisp/smie.el (smie-matching-block-highlight)
7416 (smie--highlight-matching-block-overlay)
7417 (smie--highlight-matching-block-lastpos)
7418 (smie-highlight-matching-block)
7419 (smie-highlight-matching-block-mode): Remove.
7420 (smie--matching-block-data-cache): New variable.
7421 (smie--matching-block-data): New function.
7422 (smie-setup): Use smie--matching-block-data for
7423 show-paren-data-function.
7424
7425 * progmodes/octave.el (octave-mode-menu): Fix.
7426 (octave-find-definition): Skip garbage lines.
7427
208d0342
SM
74282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 Fix compilation error with simultaneous dynamic+lexical scoping.
7431 Add warning when a defvar appears after the first let-binding.
7432 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7433 (byte-compile-close-variables): Initialize it.
7434 (byte-compile--declare-var): New function.
7435 (byte-compile-file-form-defvar)
7436 (byte-compile-file-form-define-abbrev-table)
7437 (byte-compile-file-form-custom-declare-variable): Use it.
7438 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7439 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7440 (byte-compile-bind): Handle dynamic bindings that shadow
7441 lexical bindings.
7442 (byte-compile-unbind): Make arg non-optional.
7443 (byte-compile-let): Simplify.
7444 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7445 (cconv--analyse-function, cconv-analyse-form): Populate it.
7446 Protect byte-compile-bound-variables to limit the scope of defvars.
7447 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7448 Remove unneeded rule for `declare'.
7449
7450 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7451 so as to avoid depending on cl-adjoin at run-time.
7452 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7453
7454 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7455 (macroexp--warn-and-return): Use it.
7456
1ac2891e
GM
74572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * lisp/subr.el: Convert to lexical binding.
7460 (overriding-local-map): Make obsolete.
7461 (add-to-list): Doc fix. Add compiler macro.
7462 (read-key): Swap values of local maps.
7463
2587b005
LL
74642013-06-05 Leo Liu <sdl.web@gmail.com>
7465
7466 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7467
f1da3c88
LL
74682013-06-04 Leo Liu <sdl.web@gmail.com>
7469
7470 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7471 (compilation-auto-jump): Suppress the "Mark set" message to give
7472 way to exit message.
7473
3caa391f
AM
74742013-06-04 Alan Mackenzie <acm@muc.de>
7475
7476 Remove faulty optimisation from indentation calculation.
7477 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7478 search limit based on 2000 characters back from indent-point.
7479
068922a2
TH
74802013-06-03 Tassilo Horn <tsdh@gnu.org>
7481
7482 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7483
1f8fdd53
SM
74842013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7485
bbcc4d97
SM
7486 * emacs-lisp/lisp.el: Use lexical-binding.
7487 (lisp--local-variables-1, lisp--local-variables): New functions.
7488 (lisp--local-variables-completion-table): New var.
208d0342 7489 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7490
1f8fdd53
SM
7491 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7492 eagerly (bug#14422).
7493
c9628c79
MA
74942013-06-03 Michael Albinus <michael.albinus@gmx.de>
7495
7496 * autorevert.el (auto-revert-notify-enabled)
7497 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7498 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7499 (auto-revert-notify-handler): Handle also gfilenotify.
7500
e7b41c4c 7501 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7502 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7503 Remove.
c9628c79 7504
e5e4a942
JL
75052013-06-03 Juri Linkov <juri@jurta.org>
7506
7507 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7508 `M-s h .'. (Bug#14427)
7509
7510 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7511 command `hi-lock-face-symbol-at-point'.
7512 (hi-lock-face-symbol-at-point): New command.
7513 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7514 (hi-lock-menu): Add `highlight-symbol-at-point'.
7515 (hi-lock-mode): Doc fix.
7516
7517 * isearch.el (isearch-forward-symbol-at-point): New command.
7518 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7519 (isearch-highlight-regexp): Add a regexp which matches
7520 words/symbols for word/symbol mode.
7521
7522 * subr.el (find-tag-default-bounds): New function with the body
7523 mostly moved from `find-tag-default'.
7524 (find-tag-default): Move most code to `find-tag-default-bounds',
7525 call it and apply `buffer-substring-no-properties' afterwards.
7526
26b3353a
TH
75272013-06-03 Tassilo Horn <tsdh@gnu.org>
7528
781b4af6
SM
7529 * eshell/em-term.el (eshell-term-initialize):
7530 Use `cl-intersection' rather than `intersection'.
26b3353a 7531
51b60f53
XF
75322013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7533
fe054b63 7534 * vc/log-view.el: Doc fix.
d3ffe17c 7535 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7536
a0eb10b3 75372013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7538
7539 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7540 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7541 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7542 (eieio-unbound, eieio-default-superclass)
7543 (eieio--define-field-accessors, method-static, method-before)
7544 (method-primary, method-after, method-num-lists)
7545 (method-generic-before, method-generic-primary)
7546 (method-generic-after, method-num-slots)
7547 (eieio-specialized-key-to-generic-key)
7548 (eieio--check-type, class-v, class-p)
7549 (eieio-class-name, define-obsolete-function-alias)
7550 (eieio-class-parents-fast, eieio-class-children-fast)
7551 (same-class-fast-p, class-constructor, generic-p)
7552 (generic-primary-only-p, generic-primary-only-one-p)
7553 (class-option-assoc, class-option, eieio-object-p)
7554 (class-abstract-p, class-method-invocation-order)
7555 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7556 (eieio-class-un-autoload, eieio-defclass)
7557 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7558 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7559 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7560 (eieio-defgeneric-reset-generic-form)
7561 (eieio-defgeneric-form-primary-only)
7562 (eieio-defgeneric-reset-generic-form-primary-only)
7563 (eieio-defgeneric-form-primary-only-one)
7564 (eieio-defgeneric-reset-generic-form-primary-only-one)
7565 (eieio-unbind-method-implementations)
7566 (eieio--defmethod, eieio--typep)
7567 (eieio-perform-slot-validation, eieio-validate-slot-value)
7568 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7569 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7570 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7571 (eieio-slot-name-index, eieio-class-slot-name-index)
7572 (eieio-set-defaults, eieio-initarg-to-attribute)
7573 (eieio-attribute-to-initarg, eieio-c3-candidate)
7574 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7575 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7576 (eieio-class-precedence-list, eieio-generic-call-methodname)
7577 (eieio-generic-call-arglst, eieio-generic-call-key)
7578 (eieio-generic-call-next-method-list)
7579 (eieio-pre-method-execution-functions, eieio-generic-call)
7580 (eieio-generic-call-primary-only, eieiomt-method-list)
7581 (eieiomt-optimizing-obarray, eieiomt-install)
7582 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7583 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7584 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7585 (defclass): Remove `eval-and-compile' from macro.
7586 (call-next-method, shared-initialize): Instead of using
7587 `scoped-class' variable, use new eieio--scoped-class, and
7588 eieio--with-scoped-class.
7589 (initialize-instance): Rename local variable 'scoped-class' to
7590 'this-class' to remove ambiguitity from old global.
7591
7592 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7593 eieio.el.
4f405069
JB
7594 (eieio--scoped-class-stack): New variable.
7595 (eieio--scoped-class): New fcn.
890f7890
DE
7596 (eieio--with-scoped-class): New scoping macro.
7597 (eieio-defclass): Use pushnew instead of add-to-list.
7598 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7599 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7600 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7601 `scoped-class' variable, use new eieio--scoped-class, and
7602 eieio--with-scoped-class.
7603
7604 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7605
d105b0e2
TH
76062013-06-02 Tassilo Horn <tsdh@gnu.org>
7607
7608 * eshell/esh-ext.el (eshell-external-command): Pass args to
7609 `eshell-find-interpreter'.
7610 (eshell-find-interpreter): Add new second parameter ARGS.
7611
7612 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7613 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7614
7615 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7616 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7617
7618 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7619 (eshell-visual-options): New defcustom.
7620 (eshell-escape-control-x): Adapt docstring.
7621 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7622 `eshell-visual-options' in addition to `eshell-visual-commands'.
7623 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7624
f46305c8 76252013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7626
7627 * progmodes/python.el (python-indent-block-enders): Add break,
7628 continue and raise keywords.
7629
d870df21
GM
76302013-06-01 Glenn Morris <rgm@gnu.org>
7631
9133b82e
GM
7632 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7633
02c992ec 7634 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7635 * progmodes/cc-cmds.el (delete-forward-p):
7636 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7637 * progmodes/cc-engine.el (buffer-syntactic-context):
7638 * progmodes/cc-fonts.el (face-property-instance):
7639 * progmodes/cc-mode.el (set-keymap-parents):
7640 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7641 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7642 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7643 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7644 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7645
31e7b090
GM
7646 * progmodes/cc-vars.el (other): Emacs has this widget since
7647 at least 21.1, so don't (re)define it.
7648
d870df21
GM
7649 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7650 Replace the obsolete alias pcomplete-arg-quote-list.
7651
c75c93c7
LL
76522013-06-01 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7655 punctuation syntax.
7656 (inferior-octave-minimal-columns)
7657 (inferior-octave-last-column-width): New variables.
7658 (inferior-octave-track-window-width-change): New function.
7659 (inferior-octave-mode): Adjust column width so that Octave output,
7660 for example from 'ls', can fit into the window nicely.
7661
973d1e12
DG
76622013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7663
7664 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7665 Highlight expansions inside regexp literals.
7666
0888c286
GM
76672013-05-31 Glenn Morris <rgm@gnu.org>
7668
e26aac1f
GM
7669 * obsolete/sym-comp.el (symbol-complete):
7670 Replace obsolete completion-annotate-function.
7671
0888c286
GM
7672 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7673
19bb8e62
DG
76742013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7675
781b4af6
SM
7676 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7677 New function, checks if point is inside a literal that allows
19bb8e62
DG
7678 expression expansion.
7679 (ruby-syntax-propertize-expansion): Use it.
7680 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7681 around the body.
7682
01dea85f
JL
76832013-05-30 Juri Linkov <juri@jurta.org>
7684
7685 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7686 to "\M-si".
7687 (isearch-invisible): New variable.
7688 (isearch-forward): Doc fix.
7689 (isearch-mode): Set `isearch-invisible'
7690 to the value of `search-invisible'.
7691 (isearch-toggle-case-fold): Doc fix.
7692 (isearch-toggle-invisible): New command.
7693 (isearch-query-replace): Let-bind `search-invisible'
7694 to the value of `isearch-invisible'.
7695 (isearch-search): Use `isearch-invisible' instead of
7696 `search-invisible'. Let-bind `search-invisible'
7697 to the value of `isearch-invisible'. (Bug#11378)
7698
ab1bdce5
JL
76992013-05-30 Juri Linkov <juri@jurta.org>
7700
7701 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7702 call when `query-flag' is nil and `search-invisible' is non-nil.
7703 (Bug#11746)
7704
d6d236e2
GM
77052013-05-30 Glenn Morris <rgm@gnu.org>
7706
8accd027
GM
7707 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7708
2a8bed1c
GM
7709 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7710 (cc-require): Suppress spurious "noruntime" warnings.
7711 (cc-require-when-compile): Use fboundp, for sake of compiler.
7712
d6d236e2
GM
7713 * progmodes/cc-mode.el: Move load of cc-vars before that of
7714 cc-langs (which in turn loads cc-vars), to quieten compiler.
7715
9190b35b
SM
77162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * paren.el: Simplify the code.
7719 (show-paren-mode): Always start the timer.
7720 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7721 (show-paren--overlay, show-paren--overlay-1): Rename from
7722 show-paren-overlay and show-paren-overlay-1, and initialize to an
7723 overlay rather than to nil.
7724 (show-paren-function): Misc cleanup and simplifications.
7725
4f8d1cf6
SM
77262013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7727
7728 * paren.el (show-paren-data-function): New hook.
7729 (show-paren--default): New function, extracted from show-paren-function.
7730 (show-paren-function): Use show-paren-data-function.
7731
02d844b5
GM
77322013-05-30 Glenn Morris <rgm@gnu.org>
7733
d209d4a9
GM
7734 * ielm.el (ielm-map, ielm-complete-symbol):
7735 Use completion-at-point rather than obsolete functions.
7736 (inferior-emacs-lisp-mode): Doc fix.
7737 Set completion-at-point-functions, rather than
7738 comint-dynamic-complete-functions.
7739
2082faa6
GM
7740 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7741 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7742 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7743
dd8620de
GM
7744 * image.el (image-animated-p): Tweak definition.
7745
ceca95b1
GM
7746 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7747 (rlogin-process-connection-type): Tweak default. Add set-after.
7748 (rlogin-host): Doc fix.
7749 (rlogin): Tweak prompt.
7750 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7751
ee9f1acc
GM
7752 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7753 * progmodes/tcl.el (inferior-tcl-mode-map):
7754 Use completion-at-point rather than obsolete alias.
7755
45ce222e
GM
7756 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7757
02d844b5
GM
7758 * minibuffer.el (read-file-name-completion-ignore-case):
7759 Move before completion--in-region, for eager macro expansion.
7760
ac44d6c1
JL
77612013-05-29 Juri Linkov <juri@jurta.org>
7762
7763 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7764 for total count of matching lines. Add `global-matches' for total
7765 count of matches. Rename `matches' to `lines' for count of
7766 matching lines. Add `matches' for count of matches.
7767 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7768 to `prev-line' for line number of prev match endpt.
7769 Increment `matches' for every match. Print the number of
7770 matching lines in the header.
7771 (occur-context-lines): Rename `lines' to `curr-line'.
7772 Rename `prev-lines' to `prev-line'. (Bug#14017)
7773
3c9c9d38
JL
77742013-05-29 Juri Linkov <juri@jurta.org>
7775
7776 * replace.el (perform-replace): Add `skip-read-only-count',
7777 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7778 Increment them for corresponding conditions and report the number
7779 of skipped occurrences in the final message. (Bug#11746)
7780 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7781 (replace-string, replace-regexp): Doc fix.
7782
33e249a2
SM
77832013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7784
8e399682
SM
7785 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7786
33e249a2 7787 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7788 prog-mode-map (bug#14504).
33e249a2 7789
f236dd84
LL
77902013-05-29 Leo Liu <sdl.web@gmail.com>
7791
7792 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7793 (octave-help): Small simplification.
7794
7795 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7796 off the highlight first.
7797
3694d13f
GM
77982013-05-29 Glenn Morris <rgm@gnu.org>
7799
03983bdc
GM
7800 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7801 Handle idlwave-last-system-routine-info-cons-cell being nil.
7802
bc74a74a
GM
7803 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7804 (idlwave-write-paths): Simplify via with-temp-buffer.
7805
8b394200
GM
7806 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7807 * emulation/cua-rect.el: Also load cua-base at run time.
7808
3694d13f
GM
7809 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7810 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7811 (cperl-imenu-on-info): Require imenu.
7812
336d7284
AM
78132013-05-28 Alan Mackenzie <acm@muc.de>
7814
7815 Handle "capitalised keywords" correctly.
33e249a2 7816 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7817
cb29c582
AG
78182013-05-28 Aidan Gauland <aidalgol@amuri.net>
7819
781b4af6 7820 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7821
690e44b2
GM
78222013-05-28 Glenn Morris <rgm@gnu.org>
7823
e658d75c
GM
7824 * vc/vc-arch.el (vc-exec-after): Declare.
7825 (vc-switches): Autoload.
7826 * vc/vc-bzr.el: No need to require vc when compiling.
7827 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7828 (vc-resynch-buffer, vc-dir-refresh): Declare.
7829 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7830 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7831 (vc-resynch-buffer): Declare.
7832 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7833 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7834 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7835 (grep-read-regexp, grep-read-files, grep-expand-template)
7836 (vc-dir-refresh): Declare.
7837 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7838 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7839 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7840 * vc/vc-mtn.el (vc-exec-after): Declare.
7841 (vc-switches): Autoload.
7842 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7843 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7844 (vc-file-tree-walk): Declare.
712b9732
GM
7845 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7846 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7847 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7848 * vc/vc-svn.el (vc-exec-after): Declare.
7849 (vc-switches, vc-setup-buffer): Autoload.
7850 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7851 Autoload.
7852 (vc-resynch-buffer): Declare.
7853
98e87fb3
GM
7854 * obsolete/fast-lock.el (byte-compile-warnings):
7855 Don't warn about obsolete features in this obsolete file.
7856
f5379553
GM
7857 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7858 Move definition before use.
7859
7a20ef83
GM
7860 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7861 (dun-unix-verbs): Remove dun-zippy.
7862 (dun-zippy): Remove function.
7863
690e44b2
GM
7864 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7865
3a52ccf7
JL
78662013-05-27 Juri Linkov <juri@jurta.org>
7867
7868 * replace.el (replace-search): New function with code moved out
7869 from `perform-replace'.
7870 (replace-highlight, replace-dehighlight): Move function definitions
7871 up closer to `replace-search'. (Bug#11746)
7872
d289938a
JL
78732013-05-27 Juri Linkov <juri@jurta.org>
7874
7875 * replace.el (perform-replace): Ignore invisible matches.
7876 In addition to checking `query-replace-skip-read-only', also
7877 filter out matches by calling `run-hook-with-args-until-failure'
7878 on `isearch-filter-predicates', and also check `search-invisible'
7879 for t or call `isearch-range-invisible'.
7880 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7881
66fc57e3
JL
78822013-05-27 Juri Linkov <juri@jurta.org>
7883
7884 * isearch.el (isearch-filter-predicates): Rename from
7885 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7886 (isearch-message-prefix): Display text from the property
7887 `isearch-message-prefix' of the currently active filters.
7888 (isearch-search): Don't compare `isearch-filter-predicate' with
7889 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7890 on `isearch-filter-predicates'. Also check `search-invisible' for t
7891 or call `isearch-range-invisible'.
7892 (isearch-filter-visible): Make obsolete.
7893 (isearch-lazy-highlight-search):
7894 Call `run-hook-with-args-until-failure' on
7895 `isearch-filter-predicates' and use `isearch-range-invisible'.
7896
7897 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7898 `isearch-filter-predicates' instead of `funcall'ing
7899 `isearch-filter-predicate'.
7900 (Info-mode): Set `Info-isearch-filter' to
7901 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7902
7903 * dired-aux.el (dired-isearch-filter-predicate-orig):
7904 Remove variable.
7905 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7906 (dired-isearch-filenames-end): Add and remove
7907 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7908 instead of changing the value of `isearch-filter-predicate'.
7909 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7910 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7911 Put property `isearch-message-prefix' to "filename " on
7912 `dired-isearch-filter-filenames'.
7913
7914 * wdired.el (wdired-change-to-wdired-mode):
7915 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7916 locally instead of changing `isearch-filter-predicate'.
7917 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7918
f1a60a0f
DG
79192013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7920
7921 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7922 return the commit hash (Bug#14459). Also set the
7923 `vc-git-detached' property.
7924 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7925 (vc-git-mode-line-string): Use the same help-echo format whether
7926 in detached mode or not, because we know the actual revision now.
7927 When in detached mode, shorten the revision to 7 chars.
7928
7f17cc40
SM
79292013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * emacs-lisp/easy-mmode.el (define-minor-mode):
7932 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7933 mode hook and provide a docstring.
7934
25c8401c
AM
79352013-05-27 Alan Mackenzie <acm@muc.de>
7936
7937 Remove spurious syntax-table text properties inserted by C-y.
7938 * progmodes/cc-mode.el (c-after-change): Also clear hard
7939 syntax-table property with value nil.
7940
dde84790
MA
79412013-05-27 Michael Albinus <michael.albinus@gmx.de>
7942
7943 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7944 when reading the events; the buffer layout shall not be changed.
7945
837fd9af
LL
79462013-05-27 Leo Liu <sdl.web@gmail.com>
7947
7948 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7949 New variable.
7950 (inferior-octave-directory-tracker): Automatically re-sync
7951 default-directory.
7952 (octave-help): Improve handling of 'See also'.
7953
4fd996b3
SM
79542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7955
416f1802
SM
7956 * doc-view.el: Minor naming convention tweaks.
7957 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7958
4fd996b3
SM
7959 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7960 even if there's no `display' property yet (bug#14435).
7961
a052ef3b
EZ
79622013-05-25 Eli Zaretskii <eliz@gnu.org>
7963
4fd996b3 7964 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7965
7966 * Makefile.in (custom-deps, finder-data, autoloads)
7967 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7968 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7969 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7970
c9023370
SM
79712013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7974 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7975 Don't burp at EOB.
c9023370 7976
24d699fa
LL
79772013-05-25 Leo Liu <sdl.web@gmail.com>
7978
7979 * comint.el (comint-previous-matching-input): Do not flood the
7980 *Messages* buffer with trivial messages.
7981
17e5c0cc
SM
79822013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * progmodes/flymake.el (flymake-nop): Don't return a string.
7985 (flymake-set-at): Fix typo.
7986
7987 * simple.el (read--expression): New function, extracted from
7988 eval-expression. Set completion-at-point-functions (bug#14465).
7989 (eval-expression, eval-minibuffer): Use it.
7990
5d028165
XF
79912013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7992
7993 * progmodes/flymake.el (flymake-save-buffer-in-file)
7994 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7995 (flymake-selected-frame, flymake-log, flymake-ins-after)
7996 (flymake-set-at, flymake-get-buildfile-from-cache)
7997 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7998 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7999 Refine the doc string.
8000 (flymake-get-file-name-mode-and-masks): Reformat.
8001 (flymake-get-real-file-name-function): Fix a minor bug.
8002
7a1d7ba7
JL
80032013-05-24 Juri Linkov <juri@jurta.org>
8004
8005 * progmodes/grep.el (grep-mode-font-lock-keywords):
8006 Support =linenumber= format used by git-grep for lines with
8007 function names. (Bug#13549)
8008
650cff3d
SM
80092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8012 0 after a semi-colon; it works better for smie-auto-fill.
8013 (octave--indent-new-comment-line): New function.
8014 (octave-indent-new-comment-line): Use it (indirectly).
8015 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8016 modify comment-line-break-function.
8017
8018 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8019 (smie-setup): Use add-function to set it.
8020
9631677d
SS
80212013-05-24 Sam Steingold <sds@gnu.org>
8022
8023 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8024 argument (before the `interactive' argument).
8025
50105835
SM
80262013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * image-mode.el (image-mode-winprops): Add winprops to
8029 image-mode-winprops-alist before running
8030 image-mode-new-window-functions.
8031 * doc-view.el (doc-view-new-window-function): Don't delay
8032 doc-view-goto-page via timers (bug#14435).
8033
57b9823e
TH
80342013-05-24 Tassilo Horn <tsdh@gnu.org>
8035
8036 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8037 (doc-view-desktop-save-buffer): New function.
8038 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8039 (desktop-buffer-mode-handlers):
8040 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8041 handler.
8042 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8043 `desktop-save-buffer' function.
8044
91aafa16
MA
80452013-05-24 Michael Albinus <michael.albinus@gmx.de>
8046
8047 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8048 (tramp-gvfs-file-name-handler): Raise a user error when
8049 `tramp-gvfs-enabled' is nil.
8050 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8051 Do not raise a user error when loading package. (Bug#14447)
8052
ec076379
MA
8053 * net/xesam.el: Move to obsolete/.
8054
db785726
GM
80552013-05-24 Glenn Morris <rgm@gnu.org>
8056
af5c7606
GM
8057 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8058
e5d1916a
GM
8059 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8060
ded62b08
GM
8061 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8062 (Info-find-node, Man-getpage-in-background): Declare.
8063
9e614a3f
GM
8064 * mail/unrmail.el (unrmail):
8065 Replace obsolete detect-coding-with-priority.
8066
892f8ca3
GM
8067 * net/socks.el (socks-split-string): Use this rather than split-string.
8068 (socks-nslookup-host): Update for above change.
8069 (dynamic-choice, s5-dynamic-choice-match)
8070 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8071 Comment out unused code.
8072
3c291973
GM
8073 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8074 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8075 (gud-tooltip-echo-area): Make obsolete.
8076 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8077
43cc956b
GM
8078 * progmodes/js.el (js--optimize-arglist): Declare.
8079
dab49a3b
GM
8080 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8081
36b9d085
GM
8082 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8083 (ediff-window-C): Declare.
8084
e354ae76
GM
8085 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8086 Tweak requires to silence compiler.
8087
b8e57bf4
GM
8088 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8089 (he-search-string, he-tried-table, he-expand-list)
8090 (he-init-string, he-string-member, he-substitute-string)
8091 (he-reset-string): Declare.
8092
db785726
GM
8093 * obsolete/options.el (list-options): Use custom-variable-p,
8094 rather than obsolete alias.
8095
b3531901
SS
80962013-05-23 Sam Steingold <sds@gnu.org>
8097
8098 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8099 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8100 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8101
bdda4c66
SM
81022013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * emacs-lisp/smie.el (smie-indent-forward-token)
8105 (smie-indent-backward-token): Handle string tokens (bug#14381).
8106
c43d45f9
TH
81072013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8108
fe1eb856
RS
8109 * ielm.el (ielm-menu): New menu.
8110 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8111
fe1eb856
RS
81122013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8113
8114 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8115 Fix deactivate action.
8116
8117 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8118 Add cleveref macros.
074dd971 8119
c43d45f9
TH
8120 * lisp/textmodes/reftex-parse.el
8121 (reftex-locate-bibliography-files): Accept options for
8122 bibliography commands.
8123 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8124 Add addbibresource. Basic Biblatex support.
8125
7764286e
MA
81262013-05-23 Michael Albinus <michael.albinus@gmx.de>
8127
8128 * net/tramp-gvfs.el (top):
8129 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8130 when loading package. (Bug#14447)
8131
d361bc10
GM
81322013-05-23 Glenn Morris <rgm@gnu.org>
8133
8fa23984
GM
8134 * progmodes/js.el: No need to load comint when compiling.
8135 (ring-insert, comint-send-string, comint-send-input)
8136 (comint-last-input-end, ido-chop): Declare.
8137
a5c7df1a
GM
8138 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8139 * vc/ediff-mult.el: Adjust requires.
8140 (ediff-directories-internal, ediff-directory-revisions-internal)
8141 (ediff-patch-file-internal): Declare.
8142 * vc/ediff-ptch.el: Adjust requires.
8143 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8144 (ediff-find-file): Autoload.
8145 * vc/ediff-util.el: No need to load ediff when compiling.
8146 (ediff-regions-internal): Declare.
8147 * vc/ediff-wind.el: Adjust requires.
8148 (ediff-compute-toolbar-width): Define when compiling.
8149 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8150 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8151 (dired-get-filename, dired-get-marked-files)
8152 (ediff-last-dir-patch, ediff-patch-default-directory)
8153 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8154 (ediff-patch-buffer-internal): Declare.
8155
e2aec513
GM
8156 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8157 (ispell-process, ispell-buffer-local-words, lm-summary)
8158 (lm-section-start, lm-section-end): Declare.
8159 (checkdoc-ispell-init): Simplify.
8160
e68bbd7c
GM
8161 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8162 (he-string-member, he-reset-string, he-substitute-string): Declare.
8163
7efe0991
GM
8164 * eshell/em-ls.el: Adjust requires.
8165 (eshell-glob-regexp): Declare.
f87b1284
GM
8166 * eshell/em-tramp.el: Adjust requires.
8167 (eshell-parse-command): Autoload.
8168 * eshell/em-xtra.el: Adjust requires.
8169 (eshell-parse-command): Autoload.
8170 * eshell/esh-ext.el: Adjust requires.
8171 (eshell-parse-command, eshell-close-handles): Autoload.
8172 * eshell/esh-io.el: Adjust requires.
8173 (eshell-output-filter): Autoload.
8174 * eshell/esh-util.el: No need to load tramp when compiling.
8175 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8176 Declare.
8177 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8178 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8179 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8180 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8181 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8182 * eshell/esh-opt.el, eshell/esh-proc.el:
8183 * eshell/esh-var.el: Adjust requires.
8184 * eshell/eshell.el: Do not require esh-util twice.
8185 (eshell-add-input-to-history): Declare.
8186 (eshell-command): Check history module is active before using it.
8187
d361bc10
GM
8188 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8189
85d090a9
LL
81902013-05-22 Leo Liu <sdl.web@gmail.com>
8191
8192 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8193
5d0acd9d
MA
81942013-05-22 Michael Albinus <michael.albinus@gmx.de>
8195
8196 * autorevert.el (auto-revert-notify-add-watch)
8197 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8198 it indicates changes in file modification time.
8199
0cdffd7d
GM
82002013-05-22 Glenn Morris <rgm@gnu.org>
8201
ca5995ec
GM
8202 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8203 Always delete the autoloaded function from the noruntime and
8204 unresolved functions lists.
8205
6450907e
GM
8206 * allout.el: No need to load epa, epg, overlay when compiling.
8207 (epg-context-set-passphrase-callback, epg-list-keys)
8208 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8209 (epg-key-user-id-list): Declare.
8210
9c6906f6
GM
8211 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8212 (viper-set-parsing-style-toggling-macro)
8213 (viper-set-emacs-state-searchstyle-macros):
8214 Use called-interactively-p on Emacs.
8215 (viper-looking-back): Make it an obsolete alias. Update callers.
8216 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8217 Use looking-back rather than viper-looking-back.
8218 (viper-tmp-insert-at-eob, viper-enlarge-region)
8219 (viper-read-string-with-history, viper-register-to-point)
8220 (viper-append-to-register, viper-change-state-to-vi)
8221 (viper-backward-char-carefully, viper-forward-char-carefully)
8222 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8223 (viper-change-state-to-emacs): Declare.
8224 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8225 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8226 * emulation/viper-mous.el: Do not load viper-cmd.
8227 (viper-backward-char-carefully, viper-forward-char-carefully)
8228 (viper-forward-word, viper-adjust-window): Declare.
8229
5f70c169
GM
8230 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8231
b1b7f300
GM
8232 * progmodes/idlw-help.el (idlwave-help-fontify):
8233 Use called-interactively-p.
8234
f6ebbb46
GM
8235 * term/w32console.el (w32-get-console-codepage)
8236 (w32-get-console-output-codepage): Declare.
8237
0cdffd7d
GM
8238 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8239 Remove unnecessary declarations.
8240 (dframe-message): Doc fix.
8241
8242 * info.el (dframe-select-attached-frame, dframe-current-frame):
8243 Declare.
8244
8245 * speedbar.el (speedbar-message): Make it an obsolete alias.
8246 Update all callers.
8247 (speedbar-with-attached-buffer)
8248 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8249 (speedbar-with-writable): Use backquote.
8250 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8251 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8252 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8253 rather than speedbar- aliases.
8254 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8255 (speedbar-make-specialized-keymap, speedbar-insert-button)
8256 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8257 (speedbar-do-function-pointer): Declare.
8258 (rmail-speedbar-button, rmail-speedbar-find-file)
8259 (rmail-speedbar-move-message):
8260 Use dframe-with-attached-buffer rather than speedbar- alias.
8261 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8262 (dframe-message, speedbar-make-specialized-keymap)
8263 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8264 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8265 (speedbar-insert-button, dframe-select-attached-frame)
8266 (dframe-maybee-jump-to-attached-frame)
8267 (speedbar-change-initial-expansion-list)
8268 (speedbar-previously-used-expansion-list-name): Declare.
8269 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8270 Use dframe-message, dframe-with-attached-buffer rather than
8271 speedbar- aliases.
8272 (gud-sentinel): Silence compiler.
8273 * progmodes/vhdl-mode.el (speedbar-refresh)
8274 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8275 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8276 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8277 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8278 (speedbar-file-lists, speedbar-make-tag-line)
8279 (speedbar-line-directory, speedbar-goto-this-file)
8280 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8281 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8282 (speedbar-make-button, speedbar-reset-scanners)
8283 (speedbar-files-item-info, speedbar-line-text)
8284 (speedbar-find-file-in-frame, speedbar-set-timer)
8285 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8286 (speedbar-with-writable): Do not (re)define it.
8287 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8288 rather than speedbar- alias.
8289
ee44b62a
LL
82902013-05-21 Leo Liu <sdl.web@gmail.com>
8291
8292 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8293 menu items.
8294 (octave-mode): Tweak fill-nobreak-predicate.
8295 (inferior-octave-startup): Check process to avoid infinite loop.
8296 (inferior-octave): Pop to buffer first to show abornmal process
8297 exit information.
8298
640f050f
GM
82992013-05-21 Glenn Morris <rgm@gnu.org>
8300
79458038
GM
8301 * printing.el (pr-menu-bar): Define when compiling.
8302
9cc3e83f
LL
83032013-05-21 Leo Liu <sdl.web@gmail.com>
8304
8305 * progmodes/octave.el (octave-auto-fill): Remove.
8306 (octave-indent-new-comment-line): Improve.
8307 (octave-mode): Use auto fill mode through
4f405069 8308 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8309 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8310 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8311 (octave-help): Show parent directory.
8312
f440830d
GM
83132013-05-21 Glenn Morris <rgm@gnu.org>
8314
8315 * files.el (dired-unmark):
8316 * progmodes/gud.el (gdb-input): Update declarations.
8317
8318 * calculator.el (electric, ehelp): No need to load when compiling.
8319 (Electric-command-loop, electric-describe-mode): Declare.
8320
8321 * doc-view.el (doc-view-current-converter-processes): Move before use.
8322
8323 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8324 Move MODE-set-explicitly definition before use.
8325
8326 * international/mule-diag.el (mule-diag):
8327 Don't use obsolete window-system-version.
8328
8329 * mail/feedmail.el (smtpmail): No need to load when compiling.
8330 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8331
8332 * mail/mail-utils.el (rfc822): No need to load when compiling.
8333 (rfc822-addresses): Autoload it.
8334 (mail-strip-quoted-names): Trivial simplification.
8335
8336 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8337 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8338
8339 * net/snmp-mode.el (tempo): Don't duplicate requires.
8340
8341 * progmodes/prolog.el (info): No need to load when compiling.
8342 (comint): Require before shell requires it.
8343 (Info-goto-node): Autoload it.
8344 (Info-follow-nearest-node): Declare.
8345 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8346
8347 * textmodes/artist.el (picture-mode-exit): Declare.
8348
8349 * textmodes/reftex-parse.el (reftex-parse-from-file):
8350 Trivial rewrite so the compiler can parse it better.
8351
b4da2cbb
LL
83522013-05-20 Leo Liu <sdl.web@gmail.com>
8353
8354 * progmodes/octave.el (octave-help-mode-map)
8355 (octave-help-mode-finish-hook): New variables.
8356 (octave-help-mode, octave-help-mode-finish): New functions.
8357 (octave-help): Use octave-help-mode.
8358
33c0f65b
GM
83592013-05-20 Glenn Morris <rgm@gnu.org>
8360
8361 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8362
1a0a0a8a
DG
83632013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8364
8365 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8366 start at point, so that expansion starting right after opening
8367 slash in a regexp is recognized.
8368 (ruby-syntax-before-regexp-re): New defvar, extracted from
8369 ruby-syntax-propertize-function. Since the value of this regexp
8370 is looked up at runtime now, we should be able to turn
8371 `ruby-syntax-methods-before-regexp' into a defcustom later.
8372 (ruby-syntax-propertize-function): Split regexp matching into two
8373 parts, for opening and closing slashes. That allows us to skip
8374 over string interpolations and support multiline regexps.
8375 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8376 for them, which calls `ruby-syntax-propertize-expansion'.
8377 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8378 call to `ruby-syntax-propertize-function'.
8379 (ruby-syntax-propertize-expansion): Extracted from
8380 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8381 (ruby-syntax-propertize-percent-literal): Leave point right after
8382 the percent symbol, so that the expression expansion rule can
8383 propertize the contents.
462388b6
DG
8384 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8385 heredoc openers.
8386 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8387
c1a6c0a4
JL
83882013-05-18 Juri Linkov <juri@jurta.org>
8389
8390 * man.el (Man-default-man-entry): Remove `-' from the end
8391 of the default value. (Bug#14400)
8392
8051fccd
GM
83932013-05-18 Glenn Morris <rgm@gnu.org>
8394
8395 * comint.el (comint-password-prompt-regexp):
8396 Allow "password for XXX" where XXX contains colons (eg https://...).
8397
5e80b74f
LL
83982013-05-18 Leo Liu <sdl.web@gmail.com>
8399
8400 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8401 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8402 (octave-source-directories): Don't check process.
8403 (octave-source-directories, octave-find-definition): Doc fix.
8404
521a54c5
GM
84052013-05-18 Glenn Morris <rgm@gnu.org>
8406
86a94b05
GM
8407 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8408 Remove backspace/delete bindings. (Bug#14392)
8409
521a54c5
GM
8410 * cus-dep.el (custom-make-dependencies): Sort the output.
8411 (custom-versions-load-alist): Convert comment to doc.
8412
42caeb89
LL
84132013-05-17 Leo Liu <sdl.web@gmail.com>
8414
8415 * newcomment.el (comment-search-backward): Stricter in finding
8416 comment start. (Bug#14303)
8417
8418 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8419 (octave-comment-start-skip): Properly anchored.
8420
e219dd97
LL
84212013-05-17 Leo Liu <sdl.web@gmail.com>
8422
fe1eb856
RS
8423 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8424 Clean up when turned off. (Bug#14395)
e219dd97
LL
8425 (smie--highlight-matching-block-overlay): No longer buffer-local.
8426 (smie-highlight-matching-block): Adjust.
8427
dc5dcb4b
PE
84282013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8429
8430 Doc string fix for "nanoseconds" (Bug#14406).
8431 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8432 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8433
1db165f0
JB
84342013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8435
8436 * calc/calc-units.el (math-extract-units): Preserve powers
8437 of units.
8438
c7a8fcac
LL
84392013-05-17 Leo Liu <sdl.web@gmail.com>
8440
8441 * subr.el (delete-consecutive-dups): New function.
8442 * ido.el (ido-set-matches-1): Use it.
8443 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8444 * ido.el (ido-remove-consecutive-dups): Remove.
8445
f678b18a
SM
84462013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8447
8448 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8449 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8450 regexp-opt's `words'.
8451
ebfe68e8
LL
84522013-05-16 Leo Liu <sdl.web@gmail.com>
8453
8454 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8455 (smie--highlight-matching-block-overlay)
8456 (smie--highlight-matching-block-lastpos)
8457 (smie--highlight-matching-block-timer): New variables.
8458 (smie-highlight-matching-block): New function.
8459 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8460 (smie-setup): Conditionally enable smie-blink-matching-open.
8461
bc8bc17d
WS
84622013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8463
8464 Sync with upstream verilog-mode r840.
8465 * progmodes/verilog-mode.el (verilog-mode-version)
8466 (verilog-mode-release-date): Update.
8467 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8468 (verilog-sig-tieoff): Fix string error on
8469 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8470 (verilog-read-decls): Fix parameters confusing
8471 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8472
df065a0b
EZ
84732013-05-16 Eli Zaretskii <eliz@gnu.org>
8474
8475 * subr.el (reveal-filename): New function.
8476
8477 * loadup.el: Compute Emacs executable versions on MS-Windows,
8478 where executables have the .exe extension. Add a hard link
8479 emacs-XX.YY.ZZ.exe on MS-Windows.
8480
8481 * Makefile.in (XARGS_LIMIT): New variable.
8482 (custom-deps, finder-data, autoloads)
8483 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8484 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8485 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8486 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8487
2d4bf34b
LL
84882013-05-16 Leo Liu <sdl.web@gmail.com>
8489
8490 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8491 (octave-mode-menu, octave-mode-map): Remove its uses.
8492
6b9c2d85
RZ
84932013-05-16 Reto Zimmermann <reto@gnu.org>
8494
8495 Sync with upstream vhdl mode v3.34.2.
8496 * progmodes/vhdl-mode.el: Use `push' throughout.
8497 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8498 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8499 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8500 (vhdl-actual-generic-name): New option to derive actual generic name.
8501 (vhdl-port-paste-signals): Replace formal by actual generics.
8502 (vhdl-beautify): New name for old group vhdl-align. Update users.
8503 (vhdl-beautify-options): New option.
8504 (vhdl-last-input-event): New compat alias. Use throughout.
8505 (vhdl-goto-line): Replace user level function `goto-line'.
8506 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8507 vhdl-fix-statement-buffer.
8508 (vhdl-create-mode-menu): Add some entries.
8509 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8510 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8511 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8512 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8513 to force statements on one line.
8514 (vhdl-remove-trailing-spaces-region):
8515 New, split from vhdl-remove-trailing-spaces.
8516 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8517 Respect vhdl-beautify-options.
8518 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8519 (vhdl-update-sensitivity-list): Not add with index if exists without.
8520 Not include array index with signal. Ignore keywords in comments.
8521 (vhdl-get-visible-signals): Regexp tweaks.
8522 (vhdl-template-component-inst): Handle empty library.
8523 (vhdl-template-type): Add template for 'enum' type.
8524 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8525 Use vhdl-replace-string.
8526 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8527 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8528 (vhdl-speedbar-initialize): Update for above name change.
8529 (vhdl-compose-wire-components): Fix in handling of constants.
8530 (vhdl-error-regexp-emacs-alist): New variable.
8531 (vhdl-error-regexp-add-emacs): New function;
8532 adds support for new compile.el (Emacs 22+)
8533 (vhdl-generate-makefile-1): Change target order for single lib. units.
8534 Allow use of absolute file names.
8535
9df4ec5e
LL
85362013-05-16 Leo Liu <sdl.web@gmail.com>
8537
8538 * simple.el (prog-indent-sexp): Indent enclosing defun.
8539
f5ba00a6
GM
85402013-05-15 Glenn Morris <rgm@gnu.org>
8541
ed8be7ff
GM
8542 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8543 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8544 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8545 (whitespace-highlight): Move to whitespace group.
8546
8547 * comint.el (comint-source):
8548 * pcmpl-linux.el (pcmpl-linux):
8549 * shell.el (shell-faces):
8550 * eshell/esh-opt.el (eshell-opt):
8551 * international/ccl.el (ccl): Remove empty custom groups.
8552
8553 * completion.el (dynamic-completion-mode):
8554 * jit-lock.el (jit-lock-debug-mode):
8555 * minibuffer.el (completion-in-region-mode):
8556 * type-break.el (type-break-mode-line-message-mode)
8557 (type-break-query-mode):
8558 * emulation/tpu-edt.el (tpu-edt-mode):
8559 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8560 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8561 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8562
8563 * term/xterm.el (xterm): Change parent group to terminals.
8564
8565 * master.el (master): Remove empty custom group.
8566 (master-mode): Remove unused :group argument.
8567 * textmodes/refill.el (refill): Remove empty custom group.
8568 (refill-mode): Remove unused :group argument.
8569
8570 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8571
82a7c41b
GM
8572 * cus-dep.el: Provide a feature.
8573 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8574 Don't mistakenly ignore files whose basenames match a basename
8575 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8576 Add a fallback method for getting :group.
f5ba00a6 8577
6d65486d
JL
85782013-05-15 Juri Linkov <juri@jurta.org>
8579
da547b32
JL
8580 * isearch.el (isearch-char-by-name): Rename from
8581 `isearch-insert-char-by-name'. Doc fix.
8582 (isearch-forward): Mention `isearch-char-by-name' in
8583 the docstring. (Bug#13348)
8584
6d65486d
JL
8585 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8586 `exit-minibuffer' instead of
8587 `isearch-nonincremental-exit-minibuffer'.
8588 (isearch-edit-string): Remove mention of
8589 `isearch-nonincremental-exit-minibuffer' from docstring.
8590 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8591 (isearch-forward-exit-minibuffer)
8592 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8593
c9990474
SM
85942013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8595
6e911150
SM
8596 * loadup.el: Just use unversioned DOC.
8597
c9990474
SM
8598 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8599 literals as extending to EOB.
8600 (nxml-last-fontify-end): Remove unused variable.
8601 (nxml-after-change1): Use with-silent-modifications.
8602 (nxml-extend-after-change-region): Simplify.
8603 (nxml-extend-after-change-region1): Remove function.
8604 (nxml-after-change1): Don't adjust for dependent regions.
8605 (nxml-fontify-matcher): Simplify.
8606 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8607 (xmltok-add-dependent): Remove function.
8608 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8609 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8610 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8611 unclosed <[[, <?, comment, and other literals as extending to EOB.
8612 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8613 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8614 Remove functions.
8615 (rng-do-some-validation-1): Don't mark dependent regions.
8616 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8617 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8618 (nxml-clear-dependent-regions): Remove functions.
8619 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8620 (nxml-ensure-scan-up-to-date):
8621 Don't clear&mark dependent regions.
8622
e3772e98
LL
86232013-05-15 Leo Liu <sdl.web@gmail.com>
8624
c9990474
SM
8625 * progmodes/octave.el (octave-goto-function-definition):
8626 Improve and fix callers.
e3772e98 8627
5ac2eb34
SM
86282013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8629
c46c57b0
SM
8630 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8631 the setter (bug#14387).
8632
5ac2eb34
SM
8633 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8634 surrounding group (bug#14402).
8635
180ed218
JL
86362013-05-14 Juri Linkov <juri@jurta.org>
8637
8638 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8639 (Bug#14390)
8640
0ac0fecb
GM
86412013-05-14 Glenn Morris <rgm@gnu.org>
8642
8643 * progmodes/f90.el (f90-imenu-generic-expression):
8644 Fix typo in 2013-05-08 change. (Bug#14402)
8645
2e78e6a7
JPG
86462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8647
5ac2eb34
SM
8648 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8649 Remove signals for which replies are never received.
2e78e6a7 8650
53267cca
JPG
86512013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8652
8653 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8654 (gdb-handler-alist, gdb-handler-number): Remove variables.
8655 (gdb-handler-list): New variable.
8656 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8657 (gdb-pending-handler-p, gdb-handle-reply)
8658 (gdb-remove-all-pending-triggers): New functions.
8659 (gdb-discard-unordered-replies): New defcustom.
8660 (gdb-handler): New defstruct.
8661 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8662 instead of gdb-pending-triggers. Update docstring.
8663 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8664 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8665 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8666 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8667 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8668 (gdb-frame-handler): Pending triggers are now automatically managed.
8669 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8670 Remove argument.
8671 (gdb-input): Automatically handles pending triggers. Update docstring.
8672 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8673 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8674 Update comments.
8675 (gdb-done-or-error): Now use gdb-handle-reply.
8676
d04ce803
JPG
86772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8678
8679 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8680 gdb-debug-log.
8681
0114073a
GM
86822013-05-14 Glenn Morris <rgm@gnu.org>
8683
8684 * subr.el (user-emacs-directory-warning): New option.
8685 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8686
4d25fd7e
LL
86872013-05-14 Leo Liu <sdl.web@gmail.com>
8688
8689 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8690 during redisplay.
8691 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8692 (octave-font-lock-texinfo-comment): Fix invalid search bound
8693 error: wrong side of point.
4d25fd7e 8694
27c8b6eb
GM
86952013-05-14 Glenn Morris <rgm@gnu.org>
8696
61aaeb01
GM
8697 * progmodes/flymake.el (flymake-xml-program): New option.
8698 (flymake-xml-init): Use it.
8699
5bf90bc5
GM
8700 * term/xterm.el: Provide a feature.
8701
8702 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8703
f4c7dfd2
GM
87042013-05-13 Glenn Morris <rgm@gnu.org>
8705
8706 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8707 Add compat aliases as a hack workaround. (Bug#14384)
8708
2aeb3a1d
LL
87092013-05-13 Leo Liu <sdl.web@gmail.com>
8710
b0e069c2
LL
8711 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8712 ###, and %!.
f5a9432f
LL
8713 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8714 C-M-q.
b0e069c2
LL
8715 (octave-comment-start-skip): Include %!.
8716 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8717
30ea8374
LL
87182013-05-12 Leo Liu <sdl.web@gmail.com>
8719
8720 * progmodes/octave.el (inferior-octave-startup): Store the value
8721 of __octave_srcdir__ for octave-source-directories.
8722 (inferior-octave-check-process): New function refactored out of
8723 inferior-octave-send-list-and-digest.
8724 (octave-source-directories)
8725 (octave-find-definition-filename-function): New variables.
8726 (octave-source-directories)
8727 (octave-find-definition-default-filename): New functions.
8728 (octave-find-definition): Improve to find functions implemented in C++.
8729
472a3834
GM
87302013-05-12 Glenn Morris <rgm@gnu.org>
8731
8732 * calendar/diary-lib.el (diary-outlook-format-1):
8733 Don't include dayname in the output. (Bug#14349)
8734
3191b52f
GM
87352013-05-11 Glenn Morris <rgm@gnu.org>
8736
0060ac73
GM
8737 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8738
3191b52f
GM
8739 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8740 Treat cc-provide like provide.
8741
e065ba74
KR
87422013-05-11 Kevin Ryde <user42@zip.com.au>
8743
8744 * cus-dep.el (custom-make-dependencies):
8745 Use generated-autoload-load-name for the sake of files such
8746 such cedet/semantic/bovine/c.el, where the base file name
8747 is not in load-path. (Bug#5277)
8748
36f84c37
GM
87492013-05-11 Glenn Morris <rgm@gnu.org>
8750
8751 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8752 Provide features.
8753
c8730c3a
LL
87542013-05-11 Leo Liu <sdl.web@gmail.com>
8755
8756 * progmodes/octave.el (octave-indent-comment): Improve.
8757 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8758 (octave-eldoc-function-signatures, octave-eldoc-function):
8759 New functions.
c8730c3a
LL
8760 (octave-mode, inferior-octave-mode): Add eldoc support.
8761
212e29f2
RS
87622013-05-11 Richard Stallman <rms@gnu.org>
8763
8764 * epa.el (epa-decrypt-file): Take output file name as argument
8765 and read it using `interactive'.
8766
083fe0d7
LL
87672013-05-11 Leo Liu <sdl.web@gmail.com>
8768
8769 * progmodes/octave.el (octave-beginning-of-line)
8770 (octave-end-of-line): Check before using up-list because it jumps
8771 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8772 (octave-indent-comment): New function.
8773 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8774 (octave-begin-keywords, octave-end-keywords)
8775 (octave-reserved-words, octave-smie-bnf-table)
8776 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8777
8582e4c4
GM
87782013-05-11 Glenn Morris <rgm@gnu.org>
8779
f20def1f
GM
8780 * faces.el (internal-face-x-get-resource):
8781 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8782 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8783 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8784 Fix declarations.
f20def1f 8785
445f95e2
GM
8786 * calc/calc-menu.el: Make it loadable in isolation.
8787
8788 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8789 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8790 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8791 (eudc-bbdb-query-internal): Require 'bbdb.
8792
99fb2756
GM
8793 * lpr.el (lpr-headers-switches):
8794 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8795
8796 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8797
0da7ad96
GM
8798 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8799
8582e4c4
GM
8800 * term.el (term-set-escape-char): Make it idempotent.
8801
f71c50d0
LL
88022013-05-10 Leo Liu <sdl.web@gmail.com>
8803
5ac2eb34
SM
8804 * progmodes/octave.el (inferior-octave-completion-table):
8805 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8806 completion due to bug#11906.
8807 (octave-beginning-of-defun): Re-write to be more general.
8808
d5837773
GM
88092013-05-10 Glenn Morris <rgm@gnu.org>
8810
8811 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8812
027c0f75
SM
88132013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * comint.el (comint-redirect-send-command-to-process): Use :around
8816 rather than :override for comint-redirect-filter.
8817 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8818 Call it instead of comint-redirect-original-filter-function (which
8819 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8820
4465bfb4
JD
88212013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8822
8823 * frame.el (display-monitor-attributes-list): Add NS case.
8824 (ns-display-monitor-attributes-list): Declare.
8825
2d809ffa 88262013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8827
8828 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8829
e54eeb9b
GM
88302013-05-09 Glenn Morris <rgm@gnu.org>
8831
56cd351d
GM
8832 * international/fontset.el (vertical-centering-font-regexp):
8833 Set standard-value.
8834
d84b6108
GM
8835 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8836
a931698a
GM
8837 * bookmark.el (bookmark-search-delay):
8838 * cus-start.el (vertical-centering-font-regexp):
8839 * ps-mule.el (ps-mule-font-info-database-default):
8840 * ps-print.el (ps-default-fg, ps-default-bg):
8841 * type-break.el (type-break-good-break-interval):
8842 * whitespace.el (whitespace-indentation-regexp)
8843 (whitespace-space-after-tab-regexp):
8844 * emacs-lisp/testcover.el (testcover-1value-functions)
8845 (testcover-noreturn-functions, testcover-progn-functions)
8846 (testcover-prog1-functions):
8847 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8848 * eshell/em-glob.el (eshell-glob-translate-alist):
8849 * play/tetris.el (tetris-tty-colors):
8850 * progmodes/cpp.el (cpp-face-default-list):
8851 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8852 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8853 (idlwave-help-browser-generic-args):
8854 * progmodes/make-mode.el (makefile-special-targets-list):
8855 * progmodes/python.el (python-shell-virtualenv-path):
8856 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8857 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8858 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8859 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8860 * textmodes/reftex-vars.el (reftex-format-label-function):
8861 * textmodes/remember.el (remember-diary-file): Fix custom types.
8862
e54eeb9b
GM
8863 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8864 Add :version.
8865
455851dd
LL
88662013-05-09 Leo Liu <sdl.web@gmail.com>
8867
8868 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8869 Restore file completion. (Bug#14300)
455851dd
LL
8870 (inferior-octave-startup): Fix incorrect highlighting for the
8871 first prompt.
8872
a9e4425b
SM
88732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * progmodes/ruby-mode.el: First cut at SMIE support.
8876 (ruby-use-smie): New var.
8877 (ruby-smie-grammar): New constant.
8878 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8879 (ruby-smie--forward-token, ruby-smie--backward-token)
8880 (ruby-smie-rules): New functions.
8881 (ruby-mode-variables): Setup SMIE if applicable.
8882
060ca408
EZ
88832013-05-08 Eli Zaretskii <eliz@gnu.org>
8884
8885 * simple.el (line-move-visual): Signal beginning/end of buffer
8886 only if vertical-motion moved less than it was requested. Avoids
8887 silly incorrect error messages when there are display strings with
8888 multiple newlines at EOL.
8889
1d5963cc
SM
88902013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8893 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8894 (prolog-char-quote-workaround):
8895 * progmodes/cperl-mode.el (cperl-under-as-char):
8896 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8897 Mark as obsolete.
8898 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8899 their declaration.
8900 (vhdl-mode-syntax-table-init): Remove.
8901
c9990474
SM
8902 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8903 last change.
1d5963cc
SM
8904
8905 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8906 syntax for "_".
8907 (ld-script-font-lock-keywords):
8908 Change regexps to use things like \_< and \_>.
8909
8910 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8911 Change all regexps to use things like \_< and \_>.
8912
8913 * progmodes/autoconf.el (autoconf-definition-regexp)
8914 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8915 Handle a _ with symbol syntax.
8916 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8917
c9990474
SM
8918 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8919 Consolidate declaration.
1d5963cc
SM
8920 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8921 the declaration.
8922 (ada-create-syntax-table): Remove.
8923 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8924 already has the right syntax nowadays.
8925 (ada-goto-next-word): Don't change the syntax of "_".
8926
8927 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8928 with-wrapper-hook.
8929
72d3cfca
SS
89302013-05-08 Sam Steingold <sds@gnu.org>
8931
8932 * thingatpt.el (thing-at-point): Accept optional second argument
8933 NO-PROPERTIES to strip the text properties from the return value.
8934 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8935 to `thing-at-point' instead of stripping the properties ourselves.
8936 Also, when `thing-at-point' fails to find a url, prepend "http://"
8937 to the filename at point on the assumption that the user is
8938 pointing at something like gnu.org/gnu.
8939
5cb15713
JB
89402013-05-08 Juanma Barranquero <lekktu@gmail.com>
8941
8942 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8943 * faces.el (crm-separator):
8944 Silence byte-compiler.
8945
8946 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8947 (tool-bar-map): Remove unneeded defvars.
8948
ea78b95b
LL
89492013-05-08 Leo Liu <sdl.web@gmail.com>
8950
8951 Re-work a fix for bug#10994 based on Le Wang's patch.
8952 * ido.el (ido-remove-consecutive-dups): New helper.
8953 (ido-completing-read): Use it.
8954 (ido-chop): Revert fix for bug#10994.
8955
dc7466df
AS
89562013-05-08 Adam Spiers <emacs@adamspiers.org>
8957
8958 * cus-edit.el (custom-save-variables):
8959 Pretty-print long values. (Bug#14187)
8960
9ecf672a
GM
89612013-05-08 Glenn Morris <rgm@gnu.org>
8962
8963 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8964 (m4-mode-syntax-table): Init in the defvar.
8965 (m4-mode-abbrev-table): Let define-derived-mode define it.
8966
3f555be8
TT
89672013-05-08 Tom Tromey <tromey@redhat.com>
8968
8969 * progmodes/m4-mode.el (m4-mode-syntax-table):
8970 Do not treat "_" as word constituent. (Bug#14167)
8971
7cc8ae06
GM
89722013-05-07 Glenn Morris <rgm@gnu.org>
8973
4f58bc06
GM
8974 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8975 Remove explicit eshell-isearch-cancel-map.
8976
7cc8ae06
GM
8977 * progmodes/f90.el (f90-smart-end-names): New option.
8978 (f90-smart-end): Doc fix.
8979 (f90-end-block-optional-name): New constant.
8980 (f90-block-match): Respect f90-smart-end-names.
8981
ceb57e59
SM
89822013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8985 about implicit semi-colons (bug#14218).
8986
4e3f9230
YM
89872013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8988
8989 * frame.el (display-monitor-attributes-list)
8990 (frame-monitor-attributes): New functions.
8991
203a5572
LL
89922013-05-06 Leo Liu <sdl.web@gmail.com>
8993
8994 * progmodes/octave.el (octave-syntax-propertize-function): Change
8995 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8996 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8997 (octave-completion-at-point): Rename from
203a5572
LL
8998 octave-completion-at-point-function.
8999 (inferior-octave-directory-tracker): Robustify.
9000 (octave-text-functions): Remove and fix its uses. No such things
9001 any more.
9002
ee6cff99
SM
90032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/trace.el (trace--display-buffer): New function.
9006 (trace-make-advice): Use it.
9007
32985194
JL
90082013-05-06 Juri Linkov <juri@jurta.org>
9009
9010 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9011 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9012 Doc fix.
9013 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9014 in the help string. (Bug#12985)
9015
a1c700de
KD
90162013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9017
9018 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9019
c67c0839
SM
90202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9021
323885fd
SM
9022 * progmodes/perl-mode.el: Add support for here documents.
9023 (perl-syntax-propertize-function): Match here-doc markers.
9024 (perl-syntax-propertize-special-constructs): Find their end.
9025 (perl-imenu-generic-expression): Use [:alnum:].
9026
c67c0839
SM
9027 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9028 (advice--add-function): Refresh the advice if already present
9029 (bug#14317).
9030
d491e7a8
IA
90312013-05-06 Ivan Andrus <darthandrus@gmail.com>
9032
9033 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9034
ddf9925e
GM
90352013-05-06 Glenn Morris <rgm@gnu.org>
9036
7cc3af27
GM
9037 * w32-fns.el (w32-charset-info-alist): Declare.
9038
16e343d6
GM
9039 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9040 of its defcustom properties.
9041 (eshell-cmpl-initialize): No need to load pcomplete.
9042
7d889a47
GM
9043 * generic-x.el: No need to require comint when compiling.
9044
ddf9925e
GM
9045 * net/eudc-export.el: Make it loadable without bbdb.
9046 (top-level): Use require rather than load-library.
9047 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9048 (eudc-batch-export-records-to-bbdb)
9049 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9050 Require bbdb.
9051
1e2c18df
SM
90522013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9055 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9056 some tweaks, instead.
9057
02502a5f
LL
90582013-05-05 Leo Liu <sdl.web@gmail.com>
9059
9060 * progmodes/octave.el (octave-font-lock-keywords)
9061 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9062 (inferior-octave-send-list-and-digest): Improve error message.
9063 (octave-mode, inferior-octave-mode): Use setq-local.
9064 (octave-help): Set info-lookup-mode.
9065
0dc04f42
RS
90662013-05-05 Richard Stallman <rms@gnu.org>
9067
6c54491c
RS
9068 * vc/compare-w.el (compare-windows-whitespace):
9069 Treat no-break space as whitespace.
9070
0dc04f42
RS
9071 * mail/rmailsum.el (rmail-summary-rmail-update):
9072 Detect empty summary and don't change selected message.
9073 (rmail-summary-goto-msg): Likewise.
9074
df8f35df
RS
9075 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9076 Doc fixes, rename args.
9077
5356e1a3
AM
90782013-05-05 Alan Mackenzie <acm@muc.de>
9079
9080 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9081
d44014cb
JL
90822013-05-05 Juri Linkov <juri@jurta.org>
9083
9084 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9085 to not add the length of the summary segment to the return value.
9086 (Bug#14125)
9087
c129b51f
LL
90882013-05-05 Leo Liu <sdl.web@gmail.com>
9089
9090 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9091 (inferior-octave-output-filter): Remove.
9092 (octave-send-region, inferior-octave-startup): Fix callers.
9093 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9094 (octave-binary-file-extensions): New user variable.
9095 (octave-find-definition): Confirm if opening binary files.
9096 (octave-help-file): Use octave-find-definition to get the binary
9097 confirmation.
9098 (octave-help): Adjust for octave-help-file change.
9099
aa7dab97
SM
91002013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9103 Merge the two entries that handle function definitions.
9104 (pascal--syntax-propertize): New const.
9105 (pascal-mode): Use it. Use setq-local.
9106
fd3a9a6b
GM
91072013-05-04 Glenn Morris <rgm@gnu.org>
9108
9109 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9110 (diary-from-outlook): Respect diary-from-outlook-function.
9111
30c7e542
SM
91122013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9115 Move the declaration from C.
9116 (read-minibuffer, eval-minibuffer): Move from C.
9117 (completion-setup-function): Avoid minibuffer-completion-contents.
9118
b54f978b
LL
91192013-05-03 Leo Liu <sdl.web@gmail.com>
9120
9121 * progmodes/octave.el (octave-font-lock-keywords): Do not
9122 dehighlight 'end' in comments or strings.
30c7e542
SM
9123 (octave-completing-read, octave-goto-function-definition):
9124 New helpers.
d4d0f9b3
LL
9125 (octave-help-buffer): New user variable.
9126 (octave-help-file, octave-help-function): New button types.
9127 (octave-help): New command and bind it to C-h ;.
9128 (octave-find-definition): New command and bind it to M-.
d74a1581 9129 (user-error): Alias to error if not defined.
b54f978b 9130
27135018
LL
91312013-05-02 Leo Liu <sdl.web@gmail.com>
9132
9133 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9134 for \. (bug#14332)
9135 (octave-font-lock-keywords): Include [ and {.
9136
0d634d3a
LL
91372013-05-02 Leo Liu <sdl.web@gmail.com>
9138
9139 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9140 (inferior-octave): Remove calling comint-mode and return the buffer.
9141 (inferior-octave-startup): Cosmetic changes.
9142
b4c8295e
LL
91432013-05-02 Leo Liu <sdl.web@gmail.com>
9144
30c7e542
SM
9145 * progmodes/octave.el (octave-syntax-propertize-function):
9146 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9147
f12ad6ec
GM
91482013-05-02 Glenn Morris <rgm@gnu.org>
9149
9150 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9151 * desktop.el (vc-dir-mode): Just autoload it here.
9152
30cac1e0
AM
91532013-05-02 Alan Mackenzie <acm@muc.de>
9154
9155 Eliminate variable c-standard-font-lock-fontify-region-function.
9156 * progmodes/cc-mode.el
9157 (c-standard-font-lock-fontify-region-function): Remove.
9158 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9159
d8ef28b1
LL
91602013-05-01 Leo Liu <sdl.web@gmail.com>
9161
2640d52e 9162 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9163 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9164 variables were removed from Octave in 2007.
d8ef28b1
LL
9165 (inferior-octave-startup): Fix uses.
9166 (comint-line-beginning-position): Remove compatibility code for
9167 emacs 21.
9168
ac63ec89
JL
91692013-05-01 Juri Linkov <juri@jurta.org>
9170
9171 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9172
9e9be37c
JL
91732013-05-01 Juri Linkov <juri@jurta.org>
9174
9175 * comint.el (comint-previous-matching-input): Don't print message
9176 "History item: %d" when `isearch-mode' is active.
9177 (comint-history-isearch-message): Print message "History item: %d"
9178 when `comint-input-ring-index' is not empty and this function is
9179 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9180
9b92c13b
LL
91812013-05-01 Leo Liu <sdl.web@gmail.com>
9182
9183 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9184 definitions. Use completion-at-point to insert keywords.
9185 (octave-abbrev-start): Remove.
9186 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9187
b12d33d7
LL
91882013-04-30 Leo Liu <sdl.web@gmail.com>
9189
9190 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9191 change.
9192
3d1c39fa
AM
91932013-04-30 Alan Mackenzie <acm@muc.de>
9194
9195 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9196 * progmodes/cc-engine.el (c-back-over-member-initializers):
9197 new function.
3d1c39fa
AM
9198 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9199 (most) member init lists.
9200
5147fc17
RS
92012013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9202
9203 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9204 variable.
9205
5b78d7fc
LL
92062013-04-30 Leo Liu <sdl.web@gmail.com>
9207
9208 * progmodes/octave.el (octave-variables): Remove. No builtin
9209 variables any more. All converted to functions.
9210 (octave-font-lock-keywords, octave-completion-at-point-function):
9211 Fix uses.
9212 (octave-font-lock-texinfo-comment): New user variable.
9213 (octave-texinfo-font-lock-keywords): New variable for texinfo
9214 comment block.
9215 (octave-function-comment-block): New face.
9216 (octave-font-lock-texinfo-comment): New function.
9217 (octave-mode): Font lock texinfo comment block.
9218
38d8527b
LL
92192013-04-29 Leo Liu <sdl.web@gmail.com>
9220
9221 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9222 indexing expression.
9223 (octave-continuation-string): Do not use \.
9224 (inferior-octave-complete-impossible): Remove.
9225 (inferior-octave-completion-table)
9226 (inferior-octave-completion-at-point): Remove its uses.
9227 (inferior-octave-startup): completion_matches was introduced to
9228 Octave in 1996 so safe to assume it.
9229 (octave-function-file-comment): Improve to follow how Octave does it.
9230 (octave-update-function-file-comment): Tweak.
9231
2ec12cb0
LL
92322013-04-29 Leo Liu <sdl.web@gmail.com>
9233
9234 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9235 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9236 (octave-function-file-comment): Fix typo.
9237 (octave-sync-function-file-names): Use read-char-choice.
9238
6eaed048
JB
92392013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9240
9241 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9242 to t for the less important warnings.
9243
3ffa2d4f
DH
92442013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9245
9246 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9247
685c9501
GM
92482013-04-27 Glenn Morris <rgm@gnu.org>
9249
9250 * vc/log-view.el (log-view-current-entry):
9251 Treat "---" separator lines as part of the following rev. (Bug#14169)
9252
0208ede7
JL
92532013-04-27 Juri Linkov <juri@jurta.org>
9254
9255 * subr.el (read-number): Doc fix about using it by interactive
9256 code letter `n'. (Bug#14254)
9257
5db9dace
JL
92582013-04-27 Juri Linkov <juri@jurta.org>
9259
9260 * desktop.el (desktop-auto-save-timeout): New option.
9261 (desktop-file-checksum): New variable.
9262 (desktop-save): Add optional arg `auto-save' and don't auto-save
9263 if nothing changed.
9264 (desktop-auto-save-timer): New variable.
9265 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9266 (after-init-hook): Call `desktop-auto-save-set-timer'.
9267 Suggested by Reuben Thomas <rrt@sc3d.org> in
9268 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9269
b7260dd4
LL
92702013-04-27 Leo Liu <sdl.web@gmail.com>
9271
9272 * progmodes/octave.el (octave-function-file-p)
9273 (octave-skip-comment-forward, octave-function-file-comment)
9274 (octave-update-function-file-comment): New functions.
9275 (octave-mode-map): Bind C-c ; to
9276 octave-update-function-file-comment.
9277 (octave-mode-menu): Add octave-update-function-file-comment.
9278 (octave-mode, inferior-octave-mode): Fix doc-string.
9279 (octave-insert-defun): Conform to Octave's coding convention.
9280 (Bug#14285)
9281
9282 * files.el (basic-save-buffer): Don't let errors in
9283 before-save-hook prevent saving buffer.
9284
c46da669
RW
92852013-04-20 Roland Winkler <winkler@gnu.org>
9286
9287 * faces.el (read-face-name): Use completing-read if arg multiple
9288 is nil.
9289
a81ee1eb
IL
92902013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9291
9292 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9293 displayed, move point to after the totals line.
9294 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9295 for the details.
9296
4fac34ce
SM
92972013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9300 Add current dir to the load-path.
9301 (package-generate-autoloads): Don't rely on
9302 autoload-ensure-default-file.
9303
f6bfc063
RT
93042013-04-26 Reuben Thomas <rrt@sc3d.org>
9305
d40ab5cf
BG
9306 * textmodes/remember.el (remember-store-in-files): Document that
9307 the file name format is passed to `format-time-string'.
f6bfc063 9308
e55d3b04
LL
93092013-04-26 Leo Liu <sdl.web@gmail.com>
9310
9311 * progmodes/octave.el (octave-sync-function-file-names): New function.
9312 (octave-mode): Use it in before-save-hook.
9313
e53052d3
SM
93142013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9315
140ef50c
SM
9316 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9317 (bug#14274).
9318
e53052d3
SM
9319 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9320 \n and comment, even if it's not an implicit ; (bug#14218).
9321
af80458d 93222013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9323
9324 * subr.el (read-number): Once more use `read' rather than
9325 `string-to-number', to trap non-numeric input. (Bug#14254)
9326
af80458d 93272013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9328
9329 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9330 Use `syntax-multiline' text property consistently instead of
8a621d53 9331 `font-lock-multiline'. (Bug#14237)
70203c2e 9332
e6ea1f6c
GM
93332013-04-26 Glenn Morris <rgm@gnu.org>
9334
9335 * emacs-lisp/shadow.el (list-load-path-shadows):
9336 No longer necessary to check for duplicate simple.el, since
9337 2012-07-07 change to init_lread to not include installation lisp
9338 directories in load-path when running uninstalled. (Bug#14270)
9339
070ccca4
LL
93402013-04-26 Leo Liu <sdl.web@gmail.com>
9341
9342 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9343 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9344 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9345 octave-in-string-or-comment-p.
9346 (octave-in-comment-p, octave-in-string-p)
9347 (octave-in-string-or-comment-p): Replace defsubst with defun.
9348
9d1c5fb6
PE
93492013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9350
9351 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9352
c034abda
BG
93532013-04-25 Bastien Guerry <bzg@gnu.org>
9354
9355 * textmodes/remember.el (remember-data-directory)
9356 (remember-directory-file-name-format): Fix custom types.
9357
584ea277
LL
93582013-04-25 Leo Liu <sdl.web@gmail.com>
9359
e53052d3
SM
9360 * progmodes/octave.el (octave-completion-at-point-function):
9361 Make use of inferior octave process.
584ea277
LL
9362 (octave-initialize-completions): Remove.
9363 (inferior-octave-completion-table): New function.
9364 (inferior-octave-completion-at-point): Use it.
9365 (octave-completion-alist): Remove.
9366
1693b06a
SM
93672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9370 (opascal-mode-syntax-table): New var.
9371 (opascal-literal-kind, opascal-is-literal-end)
9372 (opascal-literal-token-at): Rewrite.
9373 (opascal--literal-start-re, opascal-font-lock-keywords)
9374 (opascal--syntax-propertize): New constants.
9375 (opascal-font-lock-defaults): Adjust.
9376 (opascal-mode): Use them. Set comment-<foo> variables as well.
9377 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9378 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9379 (delphi-other-face, opascal-other-face): Remove face variables.
9380 (opascal-save-state): Remove macro.
9381 (opascal-fontifying-progress-step): Remove constant.
9382 (opascal--ignore-changes): Remove var.
9383 (opascal-set-token-property, opascal-parse-next-literal)
9384 (opascal-is-stable-literal, opascal-complete-literal)
9385 (opascal-is-literal-start, opascal-face-of)
9386 (opascal-parse-region, opascal-parse-region-until-stable)
9387 (opascal-fontify-region, opascal-after-change)
9388 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9389 (opascal-debug-parse-region, opascal-debug-parse-window)
9390 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9391 (opascal-debug-fontify-buffer): Remove.
9392 (opascal-debug-mode-map): Adjust accordingly.
9393
be64c05d
LL
93942013-04-25 Leo Liu <sdl.web@gmail.com>
9395
9396 Merge octave-mod.el and octave-inf.el into octave.el with some
9397 cleanups.
9398 * progmodes/octave.el: New file renamed from octave-mod.el.
9399 * progmodes/octave-inf.el: Merged into octave.el.
9400 * progmodes/octave-mod.el: Renamed to octave.el.
9401
d79d37bd
TH
94022013-04-25 Tassilo Horn <tsdh@gnu.org>
9403
9404 * textmodes/reftex-vars.el
9405 (reftex-label-ignored-macros-and-environments): New defcustom.
9406
9407 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9408
ced3fc5d
SM
94092013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9412 (smie-indent-keyword): Improve the check to ensure that the next
9413 comment is really on the same line.
9414 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9415
9416 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9417 semi-colons if the line is not otherwise empty (bug#14218).
9418
1c141dad
GM
94192013-04-25 Glenn Morris <rgm@gnu.org>
9420
9421 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9422
5058062a
SM
94232013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * progmodes/opascal.el (opascal-set-token-property): Rename from
9426 opascal-set-text-properties and only set `token' (bug#14134).
9427 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9428 (opascal-literal-text-properties): Remove.
9429 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9430 Adjust callers.
9431
5db9dace 94322013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9433
9434 * textmodes/remember.el (remember-handler-functions): Add an
9435 option for a new handler `remember-store-in-files'.
9436 (remember-data-directory, remember-directory-file-name-format):
9437 New options.
9438 (remember-store-in-files): New function to store remember notes
9439 as separate files within a directory.
9440
4391916c
MH
94412013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9442
9443 * progmodes/compile.el (compilation-next-error-function):
9444 Pass "formats" to compilation-find-file (bug#11777).
9445
bb7cdf58
GM
94462013-04-24 Glenn Morris <rgm@gnu.org>
9447
3b8fe752 9448 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9449 * vc/vc-hg.el (vc-hg-print-log):
9450 * vc/vc-svn.el (vc-svn-print-log):
9451 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9452
bb7cdf58
GM
9453 * vc/vc-bzr.el (vc-bzr-print-log):
9454 * vc/vc-cvs.el (vc-cvs-print-log):
9455 * vc/vc-git.el (vc-git-print-log):
9456 * vc/vc-hg.el (vc-hg-print-log):
9457 * vc/vc-mtn.el (vc-mtn-print-log):
9458 * vc/vc-rcs.el (vc-rcs-print-log):
9459 * vc/vc-sccs.el (vc-sccs-print-log):
9460 * vc/vc-svn.el (vc-svn-print-log):
9461 * vc/vc.el (vc-print-log-internal): Doc fixes.
9462
b46a056e
GM
94632013-04-23 Glenn Morris <rgm@gnu.org>
9464
9465 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9466 Remove venerable code attempting to avoid substitute-command-keys.
9467
0aecf718
TH
94682013-04-23 Tassilo Horn <tsdh@gnu.org>
9469
4391916c
MH
9470 * textmodes/reftex-vars.el (reftex-label-regexps):
9471 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9472
117f94cf
SM
94732013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9474
4391916c 9475 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9476 Use lexical-binding.
9477 (jit-lock-force-redisplay): Use markers, check buffer's continued
9478 existence and beware narrowed buffers.
9479 (jit-lock-fontify-now): Adjust call accordingly.
9480
1d829c64
SM
94812013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9484 to avoid misleading the user.
9485
72d548a9
LL
94862013-04-22 Leo Liu <sdl.web@gmail.com>
9487
9488 * info-look.el: Prefer latex2e.info. (Bug#14240)
9489
d0853629
MA
94902013-04-22 Michael Albinus <michael.albinus@gmx.de>
9491
9492 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9493
9494 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9495 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9496 (tramp-set-completion-function, tramp-parse-putty):
9497 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9498 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9499 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9500 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9501 (tramp-call-local-coding-command): Use `tramp-call-process'
9502 instead of `tramp-compat-call-process'.
9503
9504 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9505 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9506 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9507 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9508 (tramp-maybe-send-script): Check for Perl binary.
9509 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9510
38cc0210
DU
95112013-04-22 Daiki Ueno <ueno@gnu.org>
9512
9513 * epg.el (epg-context-pinentry-mode): New function.
9514 (epg-context-set-pinentry-mode): New function.
9515 (epg--start): Pass --pinentry-mode option to gpg command.
9516
cc641ee1
XF
95172013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9518
02d844b5 9519 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9520 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9521 `completion-at-point'. (Bug#13774)
5d4e5c31 9522
cc641ee1
XF
9523 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9524 default key binding for `describe-distribution' has been moved to
9525 `C-h C-o'. (Bug#13970)
9526
1b42ee43
GM
95272013-04-21 Glenn Morris <rgm@gnu.org>
9528
9529 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9530 Add doc strings.
9531 (vc-print-log): Clarify interactive prompt.
9532
a6d63d97
GM
95332013-04-20 Glenn Morris <rgm@gnu.org>
9534
9535 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9536 No longer include timestamp etc information.
9537
d7f5c16f
RW
95382013-04-20 Roland Winkler <winkler@gnu.org>
9539
9540 * faces.el (read-face-name): Bug fix, return just one face if arg
9541 multiple is nil. (Bug#14209)
9542
bcd7a0a4
SM
95432013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9546 (remove-function): Autoload.
9547
9548 * comint.el (comint-redirect-original-filter-function): Remove.
9549 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9550 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9551 (vc-cvs-annotate-command):
bcd7a0a4
SM
9552 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9553 * progmodes/prolog.el (prolog-consult-compile):
9554 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9555 Use add/remove-function instead.
9556 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9557 (gud-tooltip-process-output, gud-tooltip-tips):
9558 Use add/remove-function instead.
9559 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9560 (scheme-interaction-mode, exit-scheme-interaction-mode):
9561 Use add/remove-function instead.
9562
9563 * vc/vc-dispatcher.el: Use lexical-binding.
9564 (vc--process-sentinel): Rename from vc-process-sentinel.
9565 Change last arg to be the code to run. Don't use vc-previous-sentinel
9566 and vc-sentinel-commands any more.
9567 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9568 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9569
e36b2d20 95702013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9571
bcd7a0a4 9572 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9573 Handle function names with a single character. (Bug#14111)
4d3268ba 9574
781b4af6 95752013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9576
9577 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9578 for subroutines defined in an eval (bug#14182).
9579
7d688336
TV
95802013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9581
9582 * bookmark.el (bookmark-completing-read): Improve handling of empty
9583 string (bug#14176).
9584
31dcede0
SM
95852013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9588
adc31213
FEG
95892013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9590
9591 New faster Imenu implementation (bug#14058).
9592 * progmodes/python.el:
9593 (python-imenu-prev-index-position):
9594 (python-imenu-format-item-label-function)
9595 (python-imenu-format-parent-item-label-function)
9596 (python-imenu-format-parent-item-jump-label-function):
9597 New vars.
9598 (python-imenu-format-item-label)
9599 (python-imenu-format-parent-item-label)
9600 (python-imenu-format-parent-item-jump-label)
9601 (python-imenu--put-parent, python-imenu--build-tree)
9602 (python-imenu-create-index, python-imenu-create-flat-index)
9603 (python-util-popn): New functions.
9604 (python-mode): Set imenu-create-index-function to
9605 python-imenu-create-index.
9606
cdca8255
SM
96072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * winner.el (winner-active-region): Use region-active-p, activate-mark
9610 and deactivate-mark (bug#14225).
9611
9612 * simple.el (deactivate-mark): Don't inline it.
9613
beb42340
MA
96142013-04-18 Michael Albinus <michael.albinus@gmx.de>
9615
9616 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9617
fc7f4d7e
TH
96182013-04-18 Tassilo Horn <tsdh@gnu.org>
9619
9620 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9621 file extensions from the archive-mode entry in order to prefer
9622 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9623
29f47822
LL
96242013-04-18 Leo Liu <sdl.web@gmail.com>
9625
9626 * bindings.el (help-event-list): Add ?\?.
9627
d36ed1c8
SM
96282013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * subr.el (with-wrapper-hook): Declare obsolete.
9631 * simple.el (filter-buffer-substring-function): New hook.
9632 (filter-buffer-substring): Use it.
9633 (filter-buffer-substring-functions): Mark obsolete.
9634 * minibuffer.el (completion-in-region-function): New hook.
9635 (completion-in-region): Use it.
9636 (completion-in-region-functions): Mark obsolete.
9637 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9638 * abbrev.el (abbrev-expand-function): New hook.
9639 (expand-abbrev): Use it.
9640 (abbrev-expand-functions): Mark obsolete.
9641 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9642 and :filter-return.
9643
04754d36
FEG
96442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9645
9646 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9647 and do not care about match data.
9648
dd8791e9
SM
96492013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9652 completion tables when completing error conditions and
9653 `declare' arguments.
9654 (lisp-complete-symbol, field-complete): Mark as obsolete.
9655 (check-parens): Unmatched parens are user errors.
9656 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9657
ffe54a13
AM
96582013-04-17 Michal Nazarewicz <mina86@mina86.com>
9659
dd8791e9
SM
9660 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9661 command changed buffer (ie. `flyspell-pre-buffer' is not current
9662 buffer), which prevents making decisions based on invalid value of
9663 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9664 cause an error when `flyspell-pre-point' was nil after switching
9665 buffers.
9666 (flyspell-post-command-hook): No longer needs to change buffers when
9667 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9668
ec7e39f2
AM
96692013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9670
9671 * textmodes/ispell.el (ispell-add-per-file-word-list):
9672 Fix `flyspell-correct-word-before-point' error when accepting
9673 words and `coment-padding' is an integer by using
9674 `comment-normalize-vars' (Bug #14214).
9675
083850a6
FEG
96762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9677
9678 New defun movement commands.
9679 * progmodes/python.el (python-nav--syntactically)
9680 (python-nav--forward-defun, python-nav-backward-defun)
9681 (python-nav-forward-defun): New functions.
9682
619ed6e1
FEG
96832013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9684
9685 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9686 (python-syntax-context): Use named compiler-macro for backwards
9687 compatibility with Emacs 24.x.
9688
7a1beb6c
LL
96892013-04-17 Leo Liu <sdl.web@gmail.com>
9690
9691 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9692 octave-hide-process-buffer.
9693
2d3fa3e5
SM
96942013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9697 (bug#14216).
9698
7ce5be54
JPG
96992013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9700
9701 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9702 Fix adjustment of offset when receiving incomplete responses from GDB
9703 (bug#14129).
9704
351edece
SM
97052013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9708 python-mode-abbrev-table.
9709 (python-skeleton-define): Adjust accordingly.
9710 (python-mode-abbrev-table): New table that inherits from it so that
9711 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9712
9713 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9714 (abbrev-symbol): Use it.
9715 (abbrev--before-point): Use it since we already handle inheritance.
9716
613f9481
LL
97172013-04-16 Leo Liu <sdl.web@gmail.com>
9718
9719 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9720 binding to info-lookup-symbol.
9721
51646b62
JB
97222013-04-16 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * minibuffer.el (completion--twq-all):
9725 * term/ns-win.el (ns-initialize-window-system):
9726 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9727
efb3f01d
SM
97282013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9729
36c0a301
SM
9730 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9731 global bindings.
9732
efb3f01d
SM
9733 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9734
fb549d64
DG
97352013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9736
9737 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9738 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9739 to nil.
9740 (ruby-end-of-defun): Remove the unused arg, change the docstring
9741 to reflect that this function is only used as the value of
9742 `end-of-defun-function'.
9743 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9744 to reflect an earlier change that beginning/end-of-defun functions
9745 jump between methods in a class definition, as well as top-level
9746 functions.
9747
21e8fe2f
SM
97482013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * minibuffer.el (minibuffer-complete): Don't just scroll
9751 a *Completions* that's been iconified.
9752 (minibuffer-force-complete): Make sure repetitions do cycle when going
9753 through completion-in-region -> minibuffer-complete.
9754
20e527d0
AM
97552013-04-15 Alan Mackenzie <acm@muc.de>
9756
9757 Correct the placement of c-cpp-delimiters when there're #s not at
9758 col 0.
9759
9760 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9761 place a submatch around the #.
21e8fe2f
SM
9762 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9763 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9764 on the #, not BOL.
9765
dabefae5
SM
97662013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9769 (advice--member-p): New arg `name'.
9770 (advice--add-function, advice-member-p): Use it (bug#14202).
9771
85c9ab64
AM
97722013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9773
9774 Reformulate java imenu-generic-expression.
9775 The old expression contained ill formed regexps.
9776
9777 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9778 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9779 (cc-imenu-java-method-arg-regexp): New defconsts.
9780 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9781 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9782 handling of spaces in the regexp.
9783
0f821d99
AM
97842013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9785
9786 * textmodes/ispell.el (ispell-command-loop): Remove
9787 flyspell highlight of a word when ispell accepts it (bug #14178).
9788
eb922adf
MA
97892013-04-15 Michael Albinus <michael.albinus@gmx.de>
9790
9791 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9792 uses code from the previous `ange-ftp-run-real-handler'.
9793 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9794 only in case that function exist. This is needed for proper
9795 unloading of Tramp.
9796
4d9a0979
TH
97972013-04-15 Tassilo Horn <tsdh@gnu.org>
9798
9799 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9800
9801 * textmodes/reftex.el (reftex-compile-variables): Use it.
9802
a829b0dc
SM
98032013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9804
91e8293c
SM
9805 * files.el (normal-mode): Only use default major-mode if no other mode
9806 was specified.
9807
830aed4d
SM
9808 * emacs-lisp/trace.el (trace-values): New function.
9809
a829b0dc
SM
9810 * files.el: Allow : in local variables (bug#14089).
9811 (hack-local-variable-regexp): New var.
9812 (hack-local-variables-prop-line, hack-local-variables): Use it.
9813
7ae9f0fb
RW
98142013-04-13 Roland Winkler <winkler@gnu.org>
9815
9816 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9817 data before it gets modified by bibtex-beginning-of-entry.
9818
6646e848
RW
98192013-04-13 Roland Winkler <winkler@gnu.org>
9820
9821 * textmodes/bibtex.el (bibtex-url): Doc fix.
9822
98232013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9824
9825 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9826 does not visit a BibTeX file, exclude it from the list of buffers
9827 returned by bibtex-initialize.
9828
0aa3616e
SB
98292013-04-13 Stephen Berman <stephen.berman@gmx.net>
9830
9831 * window.el (split-window): Remove interactive form, since as a
9832 command this function is a special case of split-window-below.
9833 Correct doc string.
9834
011cddd6
RW
98352013-04-12 Roland Winkler <winkler@gnu.org>
9836
9837 * faces.el (read-face-name): Do not override value of arg default.
9838 Allow single faces and strings as default values. Remove those
9839 elements from return value that are not faces.
9840 (describe-face): Simplify.
9841 (face-at-point): New optional args thing and multiple so that this
9842 function can provide the same functionality previously provided by
9843 read-face-name.
9844 (make-face-bold, make-face-unbold, make-face-italic)
9845 (make-face-unitalic, make-face-bold-italic, invert-face)
9846 (modify-face, read-face-and-attribute): Use face-at-point.
9847
9848 * cus-edit.el (customize-face, customize-face-other-window)
9849 * cus-theme.el (custom-theme-add-face)
9850 * face-remap.el (buffer-face-set)
9851 * facemenu.el (facemenu-set-face): Use face-at-point.
9852
f24e0036
MA
98532013-04-12 Michael Albinus <michael.albinus@gmx.de>
9854
9855 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9856
da3cda2d
TH
98572013-04-10 Tassilo Horn <tsdh@gnu.org>
9858
9859 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9860 off leading { and trailing } from field values.
9861
15e54145
SM
98622013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9863
78ce603d
SM
9864 * emacs-lisp/timer.el (timer--check): New function.
9865 (timer--time, timer-set-function, timer-event-handler): Use it.
9866 (timer-set-idle-time): Simplify.
9867 (timer--activate): CSE.
9868 (timer-event-handler): Give more info in error message.
9869 (internal-timer-start-idle): New function, moved from C.
9870
15e54145
SM
9871 * mpc.el (mpc-proc): Add `restart' argument.
9872 (mpc-proc-cmd): Use it.
9873 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9874 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9875 less often.
9876
7144c627
MY
98772013-04-10 Masatake YAMATO <yamato@redhat.com>
9878
9879 * progmodes/sh-script.el: Implement `sh-mode' own
9880 `add-log-current-defun-function' (bug#14112).
9881 (sh-current-defun-name): New function.
9882 (sh-mode): Use the function.
9883
b39792eb
BG
98842013-04-09 Bastien Guerry <bzg@gnu.org>
9885
9886 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9887
8acdeb71
SM
98882013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9889
6fcdab68
SM
9890 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9891
8acdeb71
SM
9892 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9893 timer (bug#14156).
9894
e3e7b504
NF
98952013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9896
9897 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9898 declaration.
9899
201bb296
LL
99002013-04-07 Leo Liu <sdl.web@gmail.com>
9901
9902 * pcmpl-x.el: New file.
9903
ebb19708
DA
99042013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9905
9906 Do not set x-display-name until X connection is established.
9907 This is needed to prevent from weird situation described at
9908 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9909 * frame.el (make-frame): Set x-display-name after call to
9910 window system initialization function, not before.
9911 * term/x-win.el (x-initialize-window-system): Add optional
9912 display argument and use it.
9913 * term/w32-win.el (w32-initialize-window-system):
9914 * term/ns-win.el (ns-initialize-window-system):
9915 * term/pc-win.el (msdos-initialize-window-system):
9916 Add compatible optional display argument.
9917
33bb237a
EZ
99182013-04-06 Eli Zaretskii <eliz@gnu.org>
9919
9920 * files.el (normal-backup-enable-predicate): On MS-Windows and
9921 MS-DOS compare truenames of temporary-file-directory and of the
9922 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9923 don't fail comparison by compare-strings. Also, compare file
9924 names case-insensitively on MS-Windows and MS-DOS.
9925
134abf1f
SM
99262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9929 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9930
d695cb94
DG
99312013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9932
e3e7b504
NF
9933 * whitespace.el (whitespace-color-on, whitespace-color-off):
9934 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9935
f4ad7ea1 99362013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9937
9938 * ispell.el (ispell-set-spellchecker-params):
9939 Really set `ispell-args' for all equivs.
9940
632556e4
SM
99412013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * ido.el (ido-completions): Use extra elements of ido-decorations
9944 (bug#14143).
9945 (ido-decorations): Update docstring.
9946
2a417372
MA
99472013-04-05 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9950 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9951 nil during initialization, in order not to miss changes since the
9952 file was opened. (Bug#14140)
9953
fc164b0c
LL
99542013-04-05 Leo Liu <sdl.web@gmail.com>
9955
9956 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9957
0ccecc08
JB
99582013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9959
9960 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9961
51af1aa2
GM
99622013-04-04 Glenn Morris <rgm@gnu.org>
9963
9964 * electric.el (electric-pair-inhibit-predicate): Add :version.
9965
b208ebc6
SM
99662013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9969 when a package is required several times (bug#14082).
9970
f3d3eaf0
RW
99712013-04-04 Roland Winkler <winkler@gnu.org>
9972
9973 * faces.el (read-face-name): Behave as promised by the docstring.
9974 Assume that arg default is a list of faces.
9975 (describe-face): Call read-face-name with list of default faces.
9976
2575da50
TV
99772013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9978
9979 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9980 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9981 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9982 the header.
9983 (bookmark-exit-hook-internal): Save even if list is empty.
9984
397703b4
YH
99852013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9986
9987 * emacs-lisp/package.el (package-pinned-packages): New var.
9988 (package--add-to-archive-contents): Obey it (bug#14118).
9989
691e26ae
AM
99902013-04-03 Alan Mackenzie <acm@muc.de>
9991
8a621d53
JB
9992 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9993 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9994
9995 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9996 parameter `not-in-delimiter'. Handle being inside comment opener.
9997 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9998 character in case we're typing a '*' after a '/'.
9999 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10000 instead by passing the parameter to c-state-pp-to-literal.
10001
10002 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10003 for elt. 7 of a parse state.
10004
4b725a70
PE
100052013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10006
10007 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10008 * international/latin1-disp.el, international/mule-util.el:
10009 * language/cyril-util.el, language/european.el, language/ind-util.el:
10010 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10011 * language/tibetan.el, language/viet-util.el:
10012 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10013
15c579f0
SM
100142013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10017 (electric-pair-post-self-insert-function): Use it.
10018 (electric-pair-default-inhibit): New function, extracted from
10019 electric-pair-post-self-insert-function.
10020
a77e2924
RW
100212013-03-31 Roland Winkler <winkler@gnu.org>
10022
10023 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10024
2bd8a4a8
SM
100252013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10026
10027 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10028
8d3655be 100292013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10030
10031 Un-indent after "pass" and "return" statements (Bug#13888)
10032 * progmodes/python.el (python-indent-block-enders): New var.
10033 (python-indent-calculate-indentation): Use it.
10034
8d3655be 100352013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10036
10037 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10038 defun. Defining it as defalias could introduce too eager
10039 byte-compiler optimization. (Bug#14030)
10040
8d3655be 100412013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10042
10043 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10044
0b1619da
LL
100452013-03-30 Leo Liu <sdl.web@gmail.com>
10046
10047 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10048 (kmacro-execute-from-register): Pass the keyboard macro to
10049 kmacro-call-macro or repeating won't work correctly.
10050
0b938190
TZ
100512013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10052
10053 * progmodes/subword.el: Back to using `forward-symbol'.
10054
10055 * subr.el (forward-whitespace, forward-symbol)
10056 (forward-same-syntax): Move from thingatpt.el.
10057
35710234
LL
100582013-03-29 Leo Liu <sdl.web@gmail.com>
10059
10060 * kmacro.el (kmacro-to-register): New command.
10061 (kmacro-execute-from-register): New function.
10062 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10063
efc0bb73
SM
100642013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10065
10066 * mpc.el: Use defvar-local and setq-local.
10067 (mpc--proc-connect): Connection failures are not bugs.
10068 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10069 (mpc-volume-map): Bind to the up-events.
10070
75a2f981
TZ
100712013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10072
10073 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10074 instead of `forward-symbol'.
10075
17c781d1
SM
100762013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10079 (edebug--recursive-edit): Use it.
10080 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10081 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10082
f67bfbcf
LL
100832013-03-28 Leo Liu <sdl.web@gmail.com>
10084
10085 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10086
b59f639d
EZ
100872013-03-27 Eli Zaretskii <eliz@gnu.org>
10088
10089 * facemenu.el (list-colors-callback): New defvar.
10090 (list-colors-redisplay): New function.
10091 (list-colors-display): Install list-colors-redisplay as the
10092 revert-buffer-function. (Bug#14063)
10093
f557c1b1
SM
100942013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10095
b1da2957
SM
10096 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10097 and suffixes don't overlap (bug#14061).
10098
f557c1b1
SM
10099 * case-table.el: Use lexical-binding.
10100 (case-table-get-table): New function.
10101 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10102
002668e1
TZ
101032013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10104
10105 * progmodes/subword.el: Add `superword-mode' to do word motion
10106 over symbol_words (parallels and leverages `subword-mode' which
10107 does word motion inside MixedCaseWords).
10108
73572c72
AG
101092013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10110
78b8f320 10111 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10112 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10113
69b2c07e
SM
101142013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10117 Change return value to be a sexp. Delay `get-buffer' to after
10118 restoring the desktop (bug#13951).
10119
08bb5ee2
LL
101202013-03-26 Leo Liu <sdl.web@gmail.com>
10121
10122 * register.el: Move semantic tag handling back to
10123 cedet/semantic/senator.el. (Bug#14052)
10124
8d4c974e
SM
101252013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10128 into the prompt either (bug#13963).
10129
b234d92c
SM
101302013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10133 part of "(error-foo)".
10134
ddfa3cb4
JL
101352013-03-24 Juri Linkov <juri@jurta.org>
10136
10137 * replace.el (list-matching-lines-prefix-face): New defcustom.
10138 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10139 `occur-engine' if `face-differs-from-default-p' returns t.
10140 (occur-engine): Add `,' inside backquote construct to evaluate
10141 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10142 Pass `prefix-face' to the functions `occur-context-lines' and
10143 `occur-engine-add-prefix'.
10144 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10145 `prefix-face' and propertize the prefix with `prefix-face'.
10146 (Bug#14017)
10147
7b0e2f85
LL
101482013-03-24 Leo Liu <sdl.web@gmail.com>
10149
10150 * nxml/rng-valid.el (rng-validate-while-idle)
10151 (rng-validate-quick-while-idle): Guard against deleted buffer.
10152 (Bug#13999)
10153
10154 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10155 is the last entry in kill-buffer-hook.
10156
10157 * files.el (kill-buffer-hook): Doc fix.
10158
b3082f49
DG
101592013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10160
b234d92c
SM
10161 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10162 Make it safe-local.
bde73d27 10163
b3082f49
DG
10164 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10165
a320a2db
LL
101662013-03-23 Leo Liu <sdl.web@gmail.com>
10167
7e74b0fb
LL
10168 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10169 Remove.
10170
10171 * nxml/rng-valid.el (rng-validate-mode)
10172 (rng-after-change-function, rng-do-some-validation):
10173 * nxml/rng-maint.el (rng-validate-buffer):
10174 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10175 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10176 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10177 (nxml-extend-after-change-region): Use with-silent-modifications.
10178
a320a2db
LL
10179 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10180 timer-idle-list.
10181
10182 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10183 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10184 timer-idle-list. (Bug#13999)
10185
e38e6780
JL
101862013-03-23 Juri Linkov <juri@jurta.org>
10187
10188 * info.el (info-index-match): New face.
10189 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10190 main pattern and add text properties with the new face to matches
10191 in index entries relative to the beginning of the index entry.
10192 (Bug#14015)
10193
e8cc7880
DE
101942013-03-21 Eric Ludlam <zappo@gnu.org>
10195
10196 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10197 Inhibit read only while inserting objects.
10198
9bb0d822
TZ
101992013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10200
10201 * progmodes/cfengine.el: Update docs to mention
10202 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10203 symbol motion. Remove "_" from the word syntax.
10204
aa703640
TZ
102052013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10206
10207 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10208 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10209
afff09d0
JL
102102013-03-20 Juri Linkov <juri@jurta.org>
10211
10212 * info.el (Info-next-reference-or-link)
10213 (Info-prev-reference-or-link): New functions.
10214 (Info-next-reference, Info-prev-reference): Use them.
10215 (Info-try-follow-nearest-node): Handle footnote navigation.
10216 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10217
9a1ff164
SM
102182013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10221 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10222
2667d15d
PE
102232013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10224
10225 Suppress unnecessary non-ASCII chatter during build process.
10226 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10227 (batch-skkdic-convert): Suppress most of the chatter.
10228 It's not needed so much now that machines are faster,
10229 and its non-ASCII component was confusing; see Dmitry Gutov in
10230 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10231
438b0579
LL
102322013-03-20 Leo Liu <sdl.web@gmail.com>
10233
10234 * ido.el (ido-chop): Fix bug#10994.
10235
c128ab07
DG
102362013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10237
10238 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10239 Remove vars.
9a1ff164
SM
10240 (whitespace-color-on, whitespace-color-off):
10241 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10242
0e6008c5
SM
102432013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10246 remapping in mode-line.
10247 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10248
627b52b0
DG
102492013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10250
10251 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10252 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10253 (whitespace-font-lock-keywords): Change description.
10254 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10255 the constructed keywords instead.
10256 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10257
50c3a20b
LL
102582013-03-19 Leo Liu <sdl.web@gmail.com>
10259
10260 * progmodes/compile.el (compilation-display-error): New command.
10261 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10262 C-o. (Bug#13992)
10263
2aa2157b
PE
102642013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10265
10266 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10267
e477dbfa
JD
102682013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10269
10270 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10271
64ab82d1
MA
102722013-03-18 Michael Albinus <michael.albinus@gmx.de>
10273
10274 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10275
10276 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10277 * net/tramp-gvfs.el (top):
10278 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10279 (tramp-handle-shell-command): Use it.
10280 (tramp-dissect-file-name): Raise an error when hostname is a
10281 method name, and neither method nor user is specified.
10282
10283 * net/trampver.el: Update release number.
10284
33cef733
LL
102852013-03-18 Leo Liu <sdl.web@gmail.com>
10286
10287 Make sure eldoc can be turned off properly.
10288 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10289 eldoc-mode.
10290 (eldoc-display-message-p): Revert last change.
10291 (eldoc-display-message-no-interference-p)
10292 (eldoc-print-current-symbol-info): Tweak.
10293
2167b7b2
TH
102942013-03-18 Tassilo Horn <tsdh@gnu.org>
10295
10296 * doc-view.el (doc-view-new-window-function): Check the new window
10297 overlay's display property instead the char property of the
10298 buffer's first char. Use `with-selected-window' instead of
10299 `save-window-excursion' with `select-window'.
10300 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10301 display property instead the char property of the buffer's first char.
2167b7b2 10302
982efbcd
PE
103032013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10304
10305 Automate the build of ja-dic.el (Bug#13984).
10306 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10307 from the input, rather than assume that it's been done for us by the
10308 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10309 the current date into a ja-dic.el comment, as that complicates
10310 regression testing.
10311
2fcc7665
SM
103122013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * whitespace.el: Fix double evaluation.
10315 (whitespace-space, whitespace-hspace, whitespace-tab)
10316 (whitespace-newline, whitespace-trailing, whitespace-line)
10317 (whitespace-space-before-tab, whitespace-indentation)
10318 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10319 obsolete defvars.
10320 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10321 (whitespace-color-on): Use a single font-lock-add-keywords call.
10322 Fix double-evaluation of face variables.
10323
67c0a6e6
MA
103242013-03-17 Michael Albinus <michael.albinus@gmx.de>
10325
2fcc7665
SM
10326 * net/tramp-adb.el (tramp-adb-parse-device-names):
10327 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10328 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10329
69489f1d
LL
103302013-03-17 Leo Liu <sdl.web@gmail.com>
10331
10332 Extend eldoc to display info in the mode-line. (Bug#13978)
10333 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10334 (eldoc-mode-line-string): New variable.
10335 (eldoc-minibuffer-message): New function.
10336 (eldoc-message-function): New variable.
10337 (eldoc-message): Use it.
10338 (eldoc-display-message-p)
2fcc7665
SM
10339 (eldoc-display-message-no-interference-p):
10340 Support eldoc-post-insert-mode.
69489f1d
LL
10341
10342 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10343 (eval-expression): Run it.
10344
9c44569e
RW
103452013-03-17 Roland Winkler <winkler@gnu.org>
10346
10347 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10348 strings in the list of return values.
10349
327f1f6f
JB
103502013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10351
10352 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10353 radix before checking for HMS forms.
10354
67ed8fcd
LL
103552013-03-16 Leo Liu <sdl.web@gmail.com>
10356
10357 * progmodes/scheme.el: Add indentation and font-locking for λ.
10358 (Bug#13975)
10359
78be8b64 103602013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10361
10362 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10363 token before point (bug#13942).
10364
78be8b64 103652013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10366
95b43468 10367 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10368
98e775e6
EZ
103692013-03-16 Eli Zaretskii <eliz@gnu.org>
10370
10371 * startup.el (command-line-normalize-file-name): Fix handling of
10372 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10373 <xfq.free@gmail.com> in
10374 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10375
2edd6029
MA
103762013-03-15 Michael Albinus <michael.albinus@gmx.de>
10377
10378 Sync with Tramp 2.2.7.
10379
10380 * net/trampver.el: Update release number.
10381
d35f5864
TH
103822013-03-14 Tassilo Horn <tsdh@gnu.org>
10383
e903c210 10384 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10385 (doc-view-insert-image): Don't modify overlay associated to
10386 non-live windows, and implement horizontal centering of image in
10387 case it's smaller than the window.
10388 (doc-view-new-window-function): Force redisplay of new windows on
10389 doc-view buffers.
d35f5864 10390
1c4a85ed
KF
103912013-03-13 Karl Fogel <kfogel@red-bean.com>
10392
10393 * saveplace.el (save-place-alist-to-file): Don't sort
10394 `save-place-alist', just pretty-print it (bug#13882).
10395
85b66a21
MA
103962013-03-13 Michael Albinus <michael.albinus@gmx.de>
10397
a020afb9
JB
10398 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10399 Check whether `default-file-name-coding-system' is bound.
10400 It isn't in XEmacs.
85b66a21 10401
175600da
SM
104022013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10403
e7f7cb1a
SM
10404 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10405 backquotes for `obsolete' (bug#13929).
10406
175600da
SM
10407 * international/mule.el (find-auto-coding): Include file name in
10408 obsolescence warning (bug#13922).
10409
ca68a22e
TZ
104102013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10411
10412 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10413 for CFEngine 3-specific indentation.
10414 (cfengine3-indent-line): Use it. Fix up category regex.
10415 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10416
940e5099
SM
104172013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 * type-break.el (type-break-file-name):
10420 * textmodes/remember.el (remember-data-file):
10421 * strokes.el (strokes-file):
10422 * shadowfile.el (shadow-initialize):
10423 * saveplace.el (save-place-file):
10424 * ps-bdf.el (bdf-cache-file):
10425 * progmodes/idlwave.el (idlwave-config-directory):
10426 * net/quickurl.el (quickurl-url-file):
10427 * international/kkc.el (kkc-init-file-name):
10428 * ido.el (ido-save-directory-list-file):
10429 * emulation/viper.el (viper-custom-file-name):
10430 * emulation/vip.el (vip-startup-file):
10431 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10432 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10433
cc725808
PE
104342013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10435
10436 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10437 * language/thai-word.el: Switch to UTF-8.
10438
a020afb9 10439See ChangeLog.16 for earlier changes.
e3d51b27
MR
10440
10441;; Local Variables:
10442;; coding: utf-8
e3d51b27
MR
10443;; End:
10444
ab422c4d 10445 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10446
10447 This file is part of GNU Emacs.
10448
10449 GNU Emacs is free software: you can redistribute it and/or modify
10450 it under the terms of the GNU General Public License as published by
10451 the Free Software Foundation, either version 3 of the License, or
10452 (at your option) any later version.
10453
10454 GNU Emacs is distributed in the hope that it will be useful,
10455 but WITHOUT ANY WARRANTY; without even the implied warranty of
10456 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10457 GNU General Public License for more details.
10458
10459 You should have received a copy of the GNU General Public License
10460 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.