src/composite.c (composition_reseat_it): Fix a typo in a comment.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0962f376
SM
12013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4 in current-buffer (bug#16029).
5
f345395c
HE
62013-12-02 Helmut Eller <eller.helmut@gmail.com>
7
8 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
9 (debugger-mode-map): Bind it.
10 (debugger--backtrace-base): New function.
11 (debugger-eval-expression): Use it.
12 (debugger-frame-number): Skip local vars when present.
13 (debugger--locals-visible-p, debugger--insert-locals)
14 (debugger--show-locals, debugger--hide-locals): New functions.
15
a8a15d9d
MA
162013-12-02 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
19 "LC_ALL".
20 (tramp-get-remote-locale): New defun.
21 (tramp-open-connection-setup-interactive-shell): Use it.
22
0518b057
LL
232013-12-02 Leo Liu <sdl.web@gmail.com>
24
25 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
26
27 * progmodes/sh-script.el (sh-shell-process):
28 * progmodes/octave.el (inferior-octave-process-live-p):
29 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
30 (gdb-inferior-io-sentinel):
31 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
32
3adc9c6d
DG
332013-12-02 Dmitry Gutov <dgutov@yandex.ru>
34
35 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
36 `save-selected-window' to `log-edit-hide-buf'. This makes
37 `log-edit-show-files' idempotent.
38 (log-edit-show-files): Mark the new window as dedicated.
39
47e8b74e
DG
402013-12-02 Dmitry Gutov <dgutov@yandex.ru>
41
42 * vc/log-edit.el (log-edit-mode-map): Add binding for
43 `log-edit-kill-biffer'.
44 (log-edit-hide-buf): Add a FIXME comment.
45 (log-edit-add-new-comment): New function, extracted from
46 `log-edit-done'.
47 (log-edit-done, log-edit-add-to-changelog): Use it.
48 (log-edit-kill-buffer): New command.
49
1f6e1bb0
LMI
502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
51
52 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
53 instead of killing the buffer.
54
fb651d15
SM
552013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
58
8feacce0
RS
592013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
60
fb651d15 61 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 62 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
63 (eww-form-checkbox, eww-toggle-checkbox):
64 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
65
66 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
67 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
68 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
69 no :src tag was specified.
70
fb651d15 71 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
72 (eww-render): Handle `eww-use-external-browser-for-content-type'.
73 Use \\` to match beginning of string instead of ^.
74 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 75 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 76
177948a5
RS
77 * net/shr.el (shr-tag-video): Display content for video if no
78 poster is available.
eb2dd24d 79 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
80
81 * net/eww.el (eww-text-input-types): : New const.
82 (eww-process-text-input): Treat input types in
83 `eww-text-input-types' as text.
84
8feacce0
RS
85 * net/shr.el (shr-tag-table): Fix comment typo.
86
513562a1
LMI
872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
88
89 * net/eww.el (eww-follow-link): New command to avoid reloading
90 pages when we follow #target links (bug#15243).
de8a5633 91 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 92
9dd99753
KN
932013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
94
95 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
96 forms.
97
3e9876de
LMI
982013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
99
100 * net/eww.el (eww-restore-history): Update the window title after
101 moving in the history.
ab6dea82 102 (eww-current-dom): New variable used to save the current DOM.
3e9876de 103
52789f7f
DG
1042013-12-01 Dmitry Gutov <dgutov@yandex.ru>
105
106 * vc/log-edit.el (log-edit-mode-map): Add binding for
107 `log-edit-beginning-of-line'.
108 (log-edit-setup-add-author): New user option.
109 (log-edit-beginning-of-line): New command.
110 (log-edit): Move major mode call above the contents setup so that
111 the local variable values are already applied.
112 (log-edit): Only insert "Author: " when
113 `log-edit-setup-add-author' is non-nil.
114 (log-edit): When SETUP is non-nil, position point after ": "
115 instead of point-min.
116
2e6710c3
GM
1172013-12-01 Glenn Morris <rgm@gnu.org>
118
119 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
120
fadec31f
EZ
1212013-11-30 Eli Zaretskii <eliz@gnu.org>
122
123 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 124 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
125 visible. (Bug#16014)
126
10634b40 1272013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
128
129 Support resizing frames and windows pixelwise.
130 * cus-start.el (frame-resize-pixelwise)
131 (window-resize-pixelwise): New entries.
132 * emacs-lisp/debug.el (debug): Use window-total-height instead
133 of window-total-size.
134 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
135 * help.el (describe-bindings-internal): Call help-buffer
136 (temp-buffer-max-width): New option.
137 (resize-temp-buffer-window, help-window-setup)
138 (with-help-window): Rewrite.
139 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
140 dragging dividers.
141 * window.el (frame-char-size, window-min-pixel-height)
142 (window-safe-min-pixel-height, window-safe-min-pixel-width)
143 (window-min-pixel-width, window-safe-min-pixel-size)
144 (window-combination-p, window-safe-min-size)
145 (window-resizable-p, window--size-to-pixel)
146 (window--pixel-to-size, window--resize-apply-p): New functions.
147 (window-safe-min-height): Fix doc-string.
148 (window-size, window-min-size, window--min-size-1)
149 (window-sizable, window-sizable-p, window--min-delta-1)
150 (window-min-delta, window--max-delta-1, window-max-delta)
151 (window--resizable, window--resizable-p, window-resizable)
152 (window-full-height-p, window-full-width-p, window-at-side-p)
153 (window--in-direction-2, window-in-direction)
154 (window--resize-reset-1, window--resize-mini-window)
155 (window-resize, window-resize-no-error)
156 (window--resize-child-windows-normal)
157 (window--resize-child-windows, window--resize-siblings)
158 (window--resize-this-window, window--resize-root-window)
159 (window--resize-root-window-vertically)
160 (adjust-window-trailing-edge, enlarge-window, shrink-window)
161 (maximize-window, minimize-window, delete-window)
162 (quit-restore-window, window-split-min-size, split-window)
163 (balance-windows-2, balance-windows)
164 (balance-windows-area-adjust, balance-windows-area)
165 (window--state-get-1, window-state-get, window--state-put-1)
166 (window--state-put-2, window-state-put)
fb651d15
SM
167 (display-buffer-record-window, window--display-buffer):
168 Make functions handle pixelwise sizing of windows.
880e6158 169 (display-buffer--action-function-custom-type)
fb651d15
SM
170 (display-buffer-fallback-action):
171 Add display-buffer-in-previous-window.
880e6158
MR
172 (display-buffer-use-some-window): Resize window to height it had
173 before.
174 (fit-window-to-buffer-horizontally): New option.
175 (fit-frame-to-buffer): Describe new values.
176 (fit-frame-to-buffer-bottom-margin): Replace with
177 fit-frame-to-buffer-margins.
178 (window--sanitize-margin): New function.
179 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
180 using window-text-pixel-size.
181
f9b697dd
GM
1822013-11-30 Glenn Morris <rgm@gnu.org>
183
3e2fb4db
GM
184 * emacs-lisp/bytecomp.el (byte-compile-form):
185 Make the `interactive-only' warning like the `obsolete' one.
186 * comint.el (comint-run):
187 * files.el (insert-file-literally, insert-file):
188 * replace.el (replace-string, replace-regexp):
189 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
190 (goto-line, insert-buffer, next-line, previous-line):
191 Tweak `interactive-only' spec.
192
f9b697dd
GM
193 Stop keeping (most) generated cedet grammar files in the repository.
194 * Makefile.in (semantic): New.
195 (compile-main): Depend on semantic.
196
da048127
SM
1972013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
198
7784b779
SM
199 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
200 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
201
4e36a6a6
SM
202 * uniquify.el (uniquify-buffer-name-style): Change default.
203
204 * loadup.el: Preload "uniquify".
205
e0ba1308
SM
206 * time.el (display-time-update): Update all mode lines (bug#15999).
207
da048127
SM
208 * electric.el (electric-indent-mode): Enable by default.
209 * loadup.el: Preload "electric".
210
015b3b3e
BB
2112013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
212
213 * emacs-lisp/helpers.el (string-empty-p): New function.
214 (string-blank-p): New function.
215
7efb806d
AP
2162013-11-29 Andreas Politz <politza@hochschule-trier.de>
217
218 * imenu.el (imenu--index-alist): Add missing dot to the docstring
219 (Bug#14029).
220
c8f0efc2
AP
2212013-11-29 Andreas Politz <politza@fh-trier.de>
222 * imenu.el (imenu--subalist-p): Don't error on non-conses and
223 allow non-lambda lists as functions.
224 (imenu--in-alist): Don't recurse into non-subalists.
225 (imenu): Don't pass function itself as an argument (Bug#14029).
226
bd15d9d1
SM
2272013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * progmodes/python.el (python-mode-map): Remove binding for ":".
230 (python-indent-electric-colon): Remove command.
231 (python-indent-post-self-insert-function): Integrate the previous code
232 of python-indent-electric-colon. Make it conditional on
233 electric-indent-mode.
234 (python-mode): Add ?: to electric-indent-chars.
235 Move python-indent-post-self-insert-function to the end of
236 post-self-insert-hook.
237
1b10adb6
SM
2382013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
239
655ab9a3
SM
240 * doc-view.el (doc-view-goto-page): Update mode-line.
241
1b10adb6
SM
242 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
243
7e3bf78c
GM
2442013-11-27 Glenn Morris <rgm@gnu.org>
245
246 * international/charprop.el, international/uni-bidi.el:
247 * international/uni-category.el, international/uni-combining.el:
248 * international/uni-comment.el, international/uni-decimal.el:
249 * international/uni-decomposition.el, international/uni-digit.el:
250 * international/uni-lowercase.el, international/uni-mirrored.el:
251 * international/uni-name.el, international/uni-numeric.el:
252 * international/uni-old-name.el, international/uni-titlecase.el:
253 * international/uni-uppercase.el:
254 Remove generated files from VCS repository.
255
fb6a5d68
EZ
2562013-11-27 Eli Zaretskii <eliz@gnu.org>
257
258 * filenotify.el (file-notify-add-watch): Don't special-case
259 w32notify when computing the directory to watch.
260
cb6c95a3
GM
2612013-11-27 Glenn Morris <rgm@gnu.org>
262
20372d0c
GM
263 Make bootstrap without generated uni-*.el files possible again.
264 * loadup.el: Update command-line-args checking for unidata-gen.
265 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
266 * composite.el, international/characters.el:
267 Handle unicode tables being undefined.
268
52d6635f 269 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
270 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
271 (compile-main): Depend on leim rule.
272 (leim): New rule.
273 * loadup.el: Move leim-list.el to leim/ subdirectory.
274 * startup.el (normal-top-level): No more leim directory.
275 * international/ja-dic-cnv.el (skkdic-convert):
276 Disable version-control and autoloads in output files.
277 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
278 Disable version-control and autoloads in output files.
279 * leim/quail: Move here from ../leim.
280 * leim/quail/hangul.el (hangul-input-method-activate):
281 Add autoload cookie.
282 (generated-autoload-load-name): Set file-local value.
283 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
284 (generated-autoload-load-name): Set file-local value.
285
0449d6cd 2862013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
287
288 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
289 (eww-add-bookmark): ask confirmation when add to bookmarks
290 (eww-quit): ask confirmation before quitting eww
291
0e2c793f
EZ
2922013-11-26 Eli Zaretskii <eliz@gnu.org>
293
294 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
295 reading output from Diff on MS-Windows and MS-DOS.
296
447bdcb8
BB
2972013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
298
299 * emacs-lisp/helpers.el (string-reverse): New function.
300
5fbf6856
MA
3012013-11-26 Michael Albinus <michael.albinus@gmx.de>
302
303 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
304 names on MS Windows, like "/[::1]:".
305
306 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
307 SWITCHES.
308
624780f0
GM
3092013-11-26 Glenn Morris <rgm@gnu.org>
310
0bf3f0fa
GM
311 * progmodes/python.el (python-indent-guess-indent-offset):
312 Avoid corner-case error. (Bug#15975)
313
624780f0
GM
314 Preload leim-list.el. (Bug#4789)
315 * loadup.el: Load leim-list.el when found.
316 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
317
4301875e 3182013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
319
320 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
321
4301875e
BB
322 * emacs-lisp/helpers.el (string-join): New function.
323
1633a815 3242013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
325
326 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
327 Mark as obsolete and replace it with a symbol property.
328 (byte-compile-form): Use new 'interactive-only property.
329 * comint.el, files.el, replace.el, simple.el:
330 Apply new 'interactive-only properly.
331
00139435
MR
3322013-11-25 Martin Rudalics <rudalics@gmx.at>
333
334 * window.el (display-buffer-at-bottom): Make sure that
335 split-window-sensibly creates the new window on bottom
336 (Bug#15961).
337
5f5b128d
DK
3382013-11-23 David Kastrup <dak@gnu.org>
339
340 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
341 on the conflict markers when available.
342 (smerge--get-marker): New function.
343 (smerge-end-re, smerge-base-re): Add subgroup.
344
623891e5
SM
3452013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * frame.el (handle-focus-in, handle-focus-out): Add missing
348 interactive spec.
349
05ca27d8
MA
3502013-11-25 Michael Albinus <michael.albinus@gmx.de>
351
352 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
353 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
354
511fa0d3
SM
3552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
356
e82ad66c
SM
357 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
358 (gomoku--last-pos): New var.
359 (gomoku--intangible-chars): New const.
360 (gomoku--intangible): New function.
361 (gomoku-mode): Use it. Derive from special-mode.
362 (gomoku-move-up): Adjust line count.
363 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
364 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
365 Simplify accordingly.
366
511fa0d3
SM
367 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
368 Remove blink-cursor code.
369 (blink-cursor-timer-function, blink-cursor-suspend):
370 Don't special-case GUIs.
371 (blink-cursor-mode): Use focus-in/out-hook.
372
6f20dd03
DG
3732013-11-25 Dmitry Gutov <dgutov@yandex.ru>
374
375 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
376 work when annotation is invisible (Bug#13886).
377
431dec31 3782013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
379
380 * json.el (json-alist-p): Only return non-nil if the alist has
381 simple keys (Bug#13518).
382
431dec31 3832013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
384
385 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
386 when control-statement is the first statement in a buffer (Bug#15956).
387
ee4f0261
DG
3882013-11-24 Dmitry Gutov <dgutov@yandex.ru>
389
390 * imenu.el (imenu-generic-skip-comments-and-strings):
391 New option (Bug#15560).
392 (imenu--generic-function): Use it.
393
c484f866
JS
3942013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
395
396 * minibuffer.el (completion--in-region-1): Scroll the correct
397 window. (Bug#13898)
398
41ce6f70
BB
3992013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
400
b55aea38
BB
401 * emacs-lisp/helpers.el: Add some string helpers.
402 (string-trim-left): Removes leading whitespace.
403 (string-trim-right): Removes trailing whitespace.
404 (string-trim): Removes leading and trailing whitespace.
405
41ce6f70
BB
406 * subr.el (string-suffix-p): New function.
407
3cfb6af3
GM
4082013-11-23 Glenn Morris <rgm@gnu.org>
409
410 * progmodes/python.el (python-shell-send-file):
411 Add option to delete file when done. (Bug#15647)
412 (python-shell-send-string, python-shell-send-region): Use it.
413
c27924b7
IS
4142013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
415
e1b01c7f
IS
416 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
417 to set buffer-read-only to t, never to nil. (Bug#15938)
418
c27924b7
IS
419 * textmodes/tex-mode.el (latex-noindent-environments):
420 Add safe-local-variable property. (Bug#15936)
421
17e0445b
GM
4222013-11-23 Glenn Morris <rgm@gnu.org>
423
92f78ea3
GM
424 * textmodes/enriched.el (enriched-mode): Doc fix.
425 * emacs-lisp/authors.el (authors-renamed-files-alist):
426 Add enriched.doc -> enriched.txt.
427
17e0445b
GM
428 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
429
965bb23a
LL
4302013-11-22 Leo Liu <sdl.web@gmail.com>
431
432 * progmodes/octave.el (inferior-octave-startup): Spit out error
433 message.
434
d19ffd64
BB
4352013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
436
437 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
438 Improve docstring.
15ba2182
BB
439 Add :version.
440 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 441
7a7567d2
LL
4422013-11-22 Leo Liu <sdl.web@gmail.com>
443
444 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
445 (Bug#15076)
8c09f64b
LL
446 (octave-help-mode): Adapt to change to help-mode-finish to use
447 derived-mode-p on 2013-09-17.
448 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 449 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 450
724bc265
LL
4512013-11-22 Leo Liu <sdl.web@gmail.com>
452
453 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
454 (inferior-octave-startup, inferior-octave-check-process)
455 (inferior-octave-track-window-width-change)
456 (octave-completion-at-point, octave-eldoc-function): Use it.
457 (octave-kill-process): Provide confirmation. (Bug#10564)
458
38637cca
LL
4592013-11-21 Leo Liu <sdl.web@gmail.com>
460
511fa0d3
SM
461 * progmodes/octave.el (octave-mode, inferior-octave-mode):
462 Fix obsolete variable comment-use-global-state.
38637cca 463
06e752b4
RS
4642013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
465
511fa0d3
SM
466 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
467 Add `octave-source-file'.
06e752b4
RS
468 (octave-source-file): New function. (Bug#15935)
469
0449d6cd 4702013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
471
472 * net/eww.el (eww-local-regex): New variable.
473 (eww): Use it to detect localhost and similar.
474
b6ffa04a
LL
4752013-11-21 Leo Liu <sdl.web@gmail.com>
476
477 Add completion for command `ag'.
2021a200
LL
478 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
479 (pcomplete/ag): New function.
480 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 481
d1a6bccc
SM
4822013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
485 (bug#14646).
486 (make-obsolete): Remove interactive spec.
487
2df10228
GM
4882013-11-21 Glenn Morris <rgm@gnu.org>
489
490 * startup.el (command-line-1): Use path-separator with -L.
491
86fd16b6
TZ
4922013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
493
494 * emacs-lisp/package.el (describe-package-1): Add package archive
495 to shown fields.
496
0449d6cd 4972013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
498
499 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
500 Change default to "# encoding: %s" to differentiate it from the
501 default Ruby encoding comment template.
502
dc7e8c17 5032013-11-20 era eriksson <era+emacsbugs@iki.fi>
504
505 * ses.el (ses-mode): Doc fix. (Bug#14748)
506
f0cfa5fe
LL
5072013-11-20 Leo Liu <sdl.web@gmail.com>
508
509 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
510
826dc7b6
DN
5112013-11-19 Dan Nicolaescu <dann@gnu.org>
512
513 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
514 when rebase or bisect are in progress.
515
a6e3a5d5
XF
5162013-11-19 Xue Fuqiao <xfq.free@gmail.com>
517
518 * filenotify.el (file-notify-add-watch): Doc fix.
519
f130cb76
LL
5202013-11-19 Leo Liu <sdl.web@gmail.com>
521
e0855d7d
LL
522 * obsolete/rcompile.el: Mark obsolete.
523
f130cb76 524 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
525 (compilation-goto-locus, compilation-find-file):
526 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
527 (Bug#13594)
528
529 * window.el (display-buffer-alist, display-buffer): Document the
530 new parameter no-display-ok.
531
1f35d401
SM
5322013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
533
25158c76
SM
534 * electric.el (electric-indent-mode-map): Remove.
535 (electric-indent-mode): Change the global-map instead (bug#15915).
536
537 * textmodes/text-mode.el (paragraph-indent-minor-mode):
538 Use add-function.
1f35d401 539
9bc67baa
SM
5402013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
541
986545b5
SM
542 * emacs-lisp/nadvice.el (remove-function): Align with
543 add-function's behavior.
544
9bc67baa
SM
545 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
546 (gdb--string-regexp): New constant.
547 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
548 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
549 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
550 submatch 1.
551 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
552 Adjust use accordingly.
553 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
554
56cd894e
AS
5552013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
556
557 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
558 interpolation curlies (Bug#15914).
559
014690de
JB
5602013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
561
562 * calc/calc.el (calc-context-sensitive-enter): New variable.
563 (calc-enter): Use `calc-context-sensitive-enter'.
564
7e26a6c3
TZ
5652013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
566
567 * progmodes/cfengine.el: Version bump.
568 (cfengine-cf-promises): New defcustom to locate cf-promises.
569 (cfengine3-vartypes): Add new "data" type.
570 (cfengine3--current-word): New function to get current name-like
571 word or its bounds.
572 (cfengine3--current-function): New function to look up a CFEngine
573 function's definition.
574 (cfengine3-format-function-docstring): New function.
575 (cfengine3-make-syntax-cache): New function.
576 (cfengine3-documentation-function): New function: ElDoc glue.
577 (cfengine3-completion-function): New function: completion glue.
578 (cfengine3-mode): Set `compile-command',
579 `eldoc-documentation-function', and add to
580 `completion-at-point-functions'.
581
355204dd
MA
5822013-11-16 Michael Albinus <michael.albinus@gmx.de>
583
584 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
585 `tramp-current-connection'.
586
43cebc23
DG
5872013-11-15 Dmitry Gutov <dgutov@yandex.ru>
588
589 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
590 nil/self/true/false with "end of symbol".
591
a3fed6ff
BB
5922013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
593
594 * subr.el (version-regexp-alist): Fix a typo.
595
e675b3e4
MA
5962013-11-15 Michael Albinus <michael.albinus@gmx.de>
597
598 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
599 "en_US.utf8" and "LC_CTYPE" to "".
600 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
601 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
602
a1f03e89
LL
6032013-11-15 Leo Liu <sdl.web@gmail.com>
604
605 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
606
5d9d9451
SM
6072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
608
58362662
CS
609 * progmodes/gud.el (ctl-x-map):
610 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
611 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
612
6c1bf086
BB
6132013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
614
0d5363c4
BB
615 * subr.el (version-regexp-alist):
616 Recognize hg, svn and darcs versions as snapshot versions.
617
4e9fc48c
BB
618 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
619 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
620 (ruby--encoding-comment-required-p): Extract from
621 `ruby-mode-set-encoding'.
622 (ruby-mode-set-encoding): Add the ability to always insert an
623 utf-8 encoding comment. Fix and simplify coding comment update
624 logic.
6c1bf086 625
2f7e72f8
MA
6262013-11-14 Michael Albinus <michael.albinus@gmx.de>
627
628 * net/tramp-gvfs.el (top): Run init code only when
629 `tramp-gvfs-enabled' is not nil.
630 (tramp-gvfs-enabled): Check also :system bus.
631
0f137a73
SM
6322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 Sync with upstream verilog-mode revision 78e66ba.
635 * progmodes/verilog-mode.el (verilog-end-of-defun)
636 (verilog-type-completion, verilog-get-list): Remove unused funcs.
637 (verilog-get-end-of-defun): Remove unused argument.
638 (verilog-comment-depth): Remove unused local `e'.
639 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
640 Don't pass arg to verilog-get-end-of-defun.
641
1c276bdd
GM
6422013-11-14 Glenn Morris <rgm@gnu.org>
643
644 * obsolete/assoc.el (aget): Prefix dynamic variable.
645
646 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
647
ff6ec81d
SM
6482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * widget.el, hfy-cmap.el: Remove bogus package version number.
651
75f777b6
GM
6522013-11-13 Glenn Morris <rgm@gnu.org>
653
1d43dba1
GM
654 * replace.el (replace-eval-replacement):
655 Try to give more helpful error message. (Bug#15836)
656
ff4b7bd5
GM
657 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
658 (archive-7z-update): Avoid custom type mismatches.
659
75f777b6
GM
660 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
661
11151a06
MA
6622013-11-13 Michael Albinus <michael.albinus@gmx.de>
663
e675b3e4 664 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
665 address can be empty.
666
667 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
668 Accept nil SWITCHES.
669 (tramp-gvfs-handle-write-region): Implement APPEND.
670
7b08f97e
DG
6712013-11-12 Dmitry Gutov <dgutov@yandex.ru>
672
673 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
674 binary "|" operator and closing block args delimiter.
675 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
676 (ruby-smie--implicit-semi-p): Not after "|" operator.
677 (ruby-smie--closing-pipe-p): New function.
678 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
679 (ruby-smie-rules): Indent after "|".
680
f201cf3a
GM
6812013-11-12 Glenn Morris <rgm@gnu.org>
682
683 * ps-print.el (ps-face-attribute-list):
684 Handle anonymous faces. (Bug#15827)
685
e6f759f9
MR
6862013-11-12 Martin Rudalics <rudalics@gmx.at>
687
688 * window.el (display-buffer-other-frame): Fix doc-string.
689 (Bug#15868)
690
ecda65d4
SM
6912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * subr.el (force-mode-line-update): Delete, move to buffer.c.
694
7ce8fcc3
MA
6952013-11-11 Michael Albinus <michael.albinus@gmx.de>
696
697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
698 (tramp-sh-handle-file-local-copy): Don't write a message when
699 saving temporary files.
700
701 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
702 both directories are remote.
703 (tramp-smb-handle-directory-files): Do not return double entries.
704 Do not expand full file names.
705 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
706 (tramp-smb-handle-write-region): Implement APPEND.
707 (tramp-smb-get-stat-capability): Fix a stupid bug.
708
7818df11
SM
7092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
712
608c2085
NT
7132013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
714
715 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
716 throwing error over malformed let/let* (bug#15814).
717
122a7e46
SM
7182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * iswitchb.el (iswitchb-mode): Mark obsolete.
721
766284d9
GM
7222013-11-11 Glenn Morris <rgm@gnu.org>
723
724 * international/uni-bidi.el, international/uni-category.el:
725 * international/uni-name.el, international/uni-numeric.el:
726 Regenerate for Unicode 6.3.0.
727
7072a4e9
MA
7282013-11-10 Michael Albinus <michael.albinus@gmx.de>
729
730 * net/tramp.el (tramp-methods):
731 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
732 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
733
c9df215b
AS
7342013-11-09 Andreas Schwab <schwab@linux-m68k.org>
735
608c2085
NT
736 * progmodes/sh-script.el (sh-font-lock-keywords-var):
737 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 738
fa47d796
DG
7392013-11-09 Dmitry Gutov <dgutov@yandex.ru>
740
741 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 742 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
743 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
744 (ispell-complete-word): Call `ispell-lookup-words' with the value
745 independent of `ispell-look-p'.
746
1629a329
DG
7472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
748
749 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
750 Not after "||".
751 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
752 their parent.
753
ad16897c
SM
7542013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
757 (ruby-font-lock-keywords): Use backquote.
758
ffa2df72
DG
7592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
760
761 * progmodes/ruby-mode.el (ruby-smie--forward-token)
762 (ruby-smie--backward-token): Only consider full-string matches.
763
5b97b4c0
JD
7642013-11-08 Jan Djärv <jan.h.d@swipnet.se>
765
766 * faces.el (describe-face): Add distant-foreground.
767
71731c03
BB
7682013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
769
4e9fc48c
BB
770 * progmodes/ruby-mode.el: Improve encoding comment handling.
771 (ruby-encoding-magic-comment-style): New option.
772 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
773 (ruby--insert-coding-comment, ruby--detect-encoding):
774 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
775 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
776 to control the style of the auto-inserted encoding comment.
71731c03 777
da3b328d
DG
7782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
779
ad16897c
SM
780 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
781 Use `smie-backward-sexp' with token argument.
da3b328d 782
1606c2d3
MA
7832013-11-08 Michael Albinus <michael.albinus@gmx.de>
784
785 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
786 Remove instrumentation code.
787
b0f4c320
GM
7882013-11-08 Glenn Morris <rgm@gnu.org>
789
790 * progmodes/autoconf.el (autoconf-mode):
791 Tweak comment-start-skip. (Bug#15822)
792
43668fb1
SM
7932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
796 at bobp (bug#15826).
797 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
798
daddb3fd
DH
7992013-11-08 Darren Hoo <darren.hoo@gmail.com>
800
801 * man.el (Man-start-calling): New macro, extracted from
802 Man-getpage-in-background.
803 (Man-getpage-in-background): Use it.
804 (Man-update-manpage): New command.
805 (Man-mode-map): Bind it.
806
1f923923
DG
8072013-11-08 Dmitry Gutov <dgutov@yandex.ru>
808
809 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
810 of "and", "or", "&&" and "||".
811 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
812 argument. Prohibit opening curly brace because it could only be a
813 block opener in that position.
daddb3fd
DH
814 (ruby-smie--forward-token, ruby-smie--backward-token):
815 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
816 arguments.
817 (ruby-smie--indent-to-stmt): New function, seeks the end of
818 previous statement or beginning of buffer.
819 (ruby-smie-rules): Use it.
820 (ruby-smie-rules): Check if there's a ":" before a curly block
821 opener candidate; if there is, it's a hash.
822
3220d527
SM
8232013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
826 (cl--block-wrapper): Fix last accidental change.
827
1eb1f9e0
MA
8282013-11-07 Michael Albinus <michael.albinus@gmx.de>
829
830 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
831 Instrument, in order to hunt failure on hydra.
832
e6e4db3c
NT
8332013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
834
835 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
836 malformed bindings form (bug#15814).
837
b420ccfc
DG
8382013-11-07 Dmitry Gutov <dgutov@yandex.ru>
839
840 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
841 "." compared to " @ ". This incidentally fixes some indentation
842 examples with "do".
e6e4db3c 843 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
844 (ruby-smie-grammar): New tokens: "and" and "or".
845 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
846 Exclude "and" and "or". Remove "do" in order to work around token
847 priorities.
848 (ruby-smie-rules): Add all infix tokens. Handle the case of
849 beginning-of-buffer.
b420ccfc 850
6b4ac03e
GM
8512013-11-06 Glenn Morris <rgm@gnu.org>
852
853 * Makefile.in (setwins_almost, setwins_for_subdirs):
854 Avoid accidental matches.
855
5ca114d1
SM
8562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * menu-bar.el (popup-menu): Use key-binding.
859
f72552bd
EZ
8602013-11-06 Eli Zaretskii <eliz@gnu.org>
861
862 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
863 menus, support also the menus produced by minor modes.
864 (Bug#15817)
865
5d5c701e
LL
8662013-11-06 Leo Liu <sdl.web@gmail.com>
867
868 * thingatpt.el (thing-at-point-looking-at): Add optional arg
869 DISTANCE to bound the search. All uses changed. (Bug#15808)
870
0a8b75e2
GM
8712013-11-06 Glenn Morris <rgm@gnu.org>
872
873 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
874 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
875 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 876
a35287ea
SM
8772013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
878
feca4e2d
SM
879 * electric.el (electric-indent-just-newline): New command.
880 (electric-indent-mode-map): New keymap.
881 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
882 Re-add :group which weren't redundant.
883
a35287ea
SM
884 * electric.el (electric-indent-local-mode): New minor mode.
885 (electric-indent-functions-without-reindent): New var.
886 (electric-indent-post-self-insert-function): Use it.
887 * emacs-lisp/gv.el (buffer-local-value): Add setter.
888
375761b2
EZ
8892013-11-05 Eli Zaretskii <eliz@gnu.org>
890
9a6ad735
EZ
891 * international/quail.el (quail-help): Be more explicit about the
892 meaning of the labels shown on the keys. (Bug#15800)
893
375761b2
EZ
894 * startup.el (normal-top-level): Load the subdirs.el files before
895 setting the locale environment. (Bug#15805)
896
520a6e4a
SM
8972013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
898
0acfafef
SM
899 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
900 via arguments so as to get the right ones (bug#15418).
901
520a6e4a
SM
902 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
903
15826261
MA
9042013-11-05 Michael Albinus <michael.albinus@gmx.de>
905
906 Fix problems found while writing a test suite.
907
908 * net/tramp-compat.el (tramp-compat-load): New defun.
909 * net/tramp.el (tramp-handle-load): Use it.
910
911 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
912 "(numberp ok-if-already-exists)" correctly.
913
d35f31a4
XF
9142013-11-05 Xue Fuqiao <xfq.free@gmail.com>
915
916 * international/characters.el (glyphless-char-display-control):
917 Add usage note.
918
ae93bc74
BB
9192013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
920
520a6e4a
SM
921 * progmodes/python.el (python-mode):
922 * progmodes/scheme.el (scheme-mode):
923 * progmodes/prolog.el (prolog-mode):
924 * progmodes/ruby-mode.el (ruby-mode):
925 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
926 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 927
0ade65b5
SM
9282013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
929
a0d5f7a4
SM
930 * rect.el (rectangle--highlight-for-redisplay):
931 * emacs-lisp/smie.el (smie--next-indent-change):
932 Use buffer-chars-modified-tick.
933
c93f3f5c
SM
934 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
935
0ade65b5
SM
936 * electric.el (electric-indent-post-self-insert-function):
937 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
938
ef9dd188
HE
9392013-11-04 Helmut Eller <eller.helmut@gmail.com>
940
941 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
942
306e7308
NT
9432013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
944
945 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
946 (bug#15786).
947
e5afbcac
SM
9482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
949
1d01ad41
SM
950 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
951
e5afbcac
SM
952 * progmodes/python.el: Fix up last change.
953 (python-shell--save-temp-file): New function.
954 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
955 `string' comes from the current buffer.
956 (python-shell-send-string-no-output): Remove `msg' arg.
957 (python--use-fake-loc): New var.
958 (python-shell-buffer-substring): Obey it. Try to compensate for the
959 extra coding line added by python-shell--save-temp-file.
960 (python-shell-send-region): Use python-shell--save-temp-file and
961 python-shell-send-file directly. Add `nomain' argument.
962 (python-shell-send-buffer): Use python-shell-send-region.
963 (python-electric-pair-string-delimiter): New function.
964 (python-mode): Use it.
965
d0065ff1
EZ
9662013-11-04 Eli Zaretskii <eliz@gnu.org>
967
968 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
969 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
970 environment and decoding all of the default-directory's to here
971 from command-line.
972 (command-line): Decode also argv[0].
973
974 * loadup.el: Error out if default-directory is a multibyte string
975 when we are dumping.
976
977 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
978
7397c587
TZ
9792013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
980
981 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
982 (package-menu--print-info, package-menu--archive-predicate):
983 Add Archive column to package list.
7397c587 984
b27cc9fc
MA
9852013-11-04 Michael Albinus <michael.albinus@gmx.de>
986
987 Fix problems found while writing a test suite.
988
989 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
990 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
991 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
992 to nil when running original file name handler. Otherwise,
993 there are problems with constructs like "$$FOO".
994
995 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
996 for `localname'.
997
d8c4f18a
BB
9982013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
999
7b530552
BB
1000 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1001
1002 * subr.el (version<, version<=, version=):
1003 Update docstrings with information for snapshot versions.
1004
d8c4f18a
BB
1005 * helpers.el: New library for misc helper functions.
1006 (hash-table-keys): New function returning a list of hash keys.
1007 (hash-table-values): New function returning a list of hash values.
1008
dca01b09
DG
10092013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1010
1011 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1012 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1013
0a749fa0
MN
10142013-11-04 Michal Nazarewicz <mina86@mina86.com>
1015
1016 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1017 checking whether point is after a 1-letter word.
1018
10192013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1020
1021 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1022 Don't infloop when expanding region over `multiline' syntax-type that
1023 begins a line (bug#15778).
1024
4aca7145
SM
10252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1028 Make it into a proper minor mode.
1029 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1030 (rectangle-mark-mode-map): New keymap.
1031 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1032
a0833f62
GM
10332013-11-04 Glenn Morris <rgm@gnu.org>
1034
1035 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1036
e61845c1
SM
10372013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1040 (ruby-smie-rules): Use smie-rule-parent instead.
1041
1042 * emacs-lisp/smie.el (smie-rule-parent): Always call
1043 smie-indent-virtual rather than only for hanging tokens.
1044 (smie--next-indent-change): New helper command.
1045
62942f89
GM
10462013-11-03 Glenn Morris <rgm@gnu.org>
1047
1048 * Makefile.in (abs_srcdir): Remove.
1049 (emacs): Unset EMACSLOADPATH.
1050
b0b9e592
GM
10512013-11-02 Glenn Morris <rgm@gnu.org>
1052
18ba6a33 1053 * Makefile.in (EMACS): Use a relative filename.
8061810d 1054 (abs_top_builddir): Remove.
18ba6a33
GM
1055 (custom-deps, finder-data, autoloads): Use --chdir.
1056
6a8b929e
GM
1057 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1058
c617f3d0
GM
1059 Use relative filenames in TAGS files.
1060 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1061 (lisptagsfiles4, TAGS): Use relative file names.
1062 (TAGS-LISP): Remove.
1063 (maintainer-clean): No more TAGS-LISP file.
1064
b0b9e592
GM
1065 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1066 (lisptagsfiles4): Use absolute filenames again.
1067 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1068 Remove all *loaddefs files, not just the first. Remove esh-groups.
1069 (maintainer-clean): Delete TAGS, TAGS-LISP.
1070
d1c0ea6a
BB
10712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1072
e61845c1
SM
1073 * emacs-lisp/package.el (package-version-join):
1074 Recognize snapshot versions.
d1c0ea6a 1075
684d71c6
BB
10762013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1077
1078 * subr.el (version-regexp-alist): Add support for snapshot versions.
1079
3d42b968
DG
10802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1081
e61845c1
SM
1082 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1083 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1084 skip over our direct parent if it's an assignment token..
1085 (ruby-smie-rules): Use it.
1086
7ffd3721
DG
10872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1090 unconditionally. Remove now unnecessary forward declarations.
1091 Remove XEmacs-specific setup.
1092 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1093 (ruby-font-lock-syntactic-keywords)
1094 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1095 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1096 (ruby-here-doc-end-syntax): Remove.
1097 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1098 defined as function.
1099
a3996a2e
BB
11002013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1101
1102 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1103
6f9260e8
BB
11042013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1105
1106 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1107 table and abbrev table, `define-derived-mode' does that for us
1108 anyway.
1109
6014de84
GM
11102013-11-01 Glenn Morris <rgm@gnu.org>
1111
1112 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1113 files is atomic for some time, so no parallel compilation issues).
1114
3c334c14
JD
11152013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1116
1117 * faces.el (face-x-resources): Add :distant-foreground.
1118 (region): Use :distant-foreground for gtk and ns.
1119
9bc236c8
TH
11202013-11-01 Tassilo Horn <tsdh@gnu.org>
1121
5246583b 1122 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1123 BibTeX.
1124 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1125 (reftex-locate-bibliography-files): Us it.
1126
d14c81ee
CB
11272013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1128
0e7690de
CB
1129 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1130 allow comments in pbm files.
1131
d14c81ee
CB
1132 * term/w32-win.el (dynamic-library-alist): Support newer versions
1133 of libjpeg starting with v7: look only for the DLL from the
1134 version against which Emacs was built.
ac1bf374 1135 Support versions of libpng beyond 1.4.x.
019c8218 1136 Support libtiff v4.x.
d14c81ee 1137
983d0df5
BB
11382013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1139
1140 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1141 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1142 Add property :safe.
1143 (ruby-deep-arglist): Add property :type.
1144
47f58d85
GM
11452013-10-31 Glenn Morris <rgm@gnu.org>
1146
1147 * Makefile.in (custom-deps, finder-data): No need to setq the target
1148 variables, we are in the right directory and the defaults work fine.
1149
4f85b479
GM
11502013-10-30 Glenn Morris <rgm@gnu.org>
1151
ca7dd4cd
GM
1152 * Makefile.in (autoloads): Do not use abs_lisp.
1153
4f85b479
GM
1154 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1155 `newline' does not respect `standard-output', so use `princ'.
1156
cf59e41c
AA
11572013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1158
1159 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1160 * buff-menu.el (Buffer-menu--unmark): New function.
1161 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1162
74cf04fb
GM
11632013-10-30 Glenn Morris <rgm@gnu.org>
1164
b040b60e
GM
1165 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1166
f53d3815
GM
1167 * emacs-lisp/package.el (lm-homepage): Declare.
1168
5413d873
GM
1169 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1170 Fix doc typos.
1171
cecedb36
GM
1172 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1173
74cf04fb
GM
1174 * Makefile.in (finder-data, autoloads, update-subdirs)
1175 (compile-main, compile-clean, compile-always, bootstrap-clean):
1176 Check return value of cd.
1177 (compile-calc): Remove.
1178
195ee2f0
SM
11792013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1180
ae4002ce
SM
1181 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1182
1183 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1184 (byte-compile-and-folded): New function.
1185 (=, <, >, <=, >=): Use it.
1186
1187 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1188 (path-separator, null-device, buffer-file-coding-system)
1189 (lpr-headers-switches): Check system-type before modifying them.
1190 (find-buffer-file-type-coding-system): Mark obsolete.
1191 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1192 find-file-not-found-set-buffer-file-coding-system.
1193 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1194 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1195 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1196 (w32-direct-print-region-helper, w32-direct-print-region-function)
1197 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1198 * startup.el (normal-top-level-add-subdirs-to-load-path):
1199 * ps-print.el (ps-print-region-function):
1200 * lpr.el (print-region-function): Use new name.
1201
53b39e89
SM
1202 * subr.el (custom-declare-variable-early): Remove function.
1203 (custom-declare-variable-list): Remove var.
1204 (error, user-error): Remove `while' loop.
1205 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1206 (user-emacs-directory-warning, locate-user-emacs-file):
1207 Move to files.el.
1208 * simple.el (read-quoted-char-radix, read-quoted-char):
1209 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1210 Move from subr.el.
1211 * custom.el (custom-declare-variable-list): Don't process
1212 custom-declare-variable-list.
1213
195ee2f0
SM
1214 * progmodes/python.el (python-shell-get-buffer): New function.
1215 (python-shell-get-process): Use it.
1216 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1217 Python which encoding was used. Don't split-string since we only care
1218 about the first line. Return the temp-file, if applicable.
1219 (python-shell-send-region): Tell compile.el how to turn locations in
1220 the temp-file into locations in the source buffer.
1221
7e3561ee
SM
12222013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1223
4c9797cb
SM
1224 * subr.el (undefined): Add missing behavior from the C code for
1225 unbound keys.
1226
3472b6c6
SM
1227 * rect.el: Use lexical-binding. Add new rectangular region support.
1228 (rectangle-mark): New command.
1229 (rectangle--region): New var.
1230 (deactivate-mark-hook): Reset rectangle--region.
1231 (rectangle--extract-region, rectangle--insert-for-yank)
1232 (rectangle--highlight-for-redisplay)
1233 (rectangle--unhighlight-for-redisplay): New functions.
1234 (region-extract-function, redisplay-unhighlight-region-function)
1235 (redisplay-highlight-region-function): Use them to handle
1236 rectangular region.
1237 * simple.el (region-extract-function): New var.
1238 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1239 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1240 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1241 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1242 (redisplay-unhighlight-region-function)
1243 (redisplay-highlight-region-function): New vars.
1244 (redisplay--update-region-highlight): New function.
1245 (pre-redisplay-function): Use it.
1246 (exchange-point-and-mark): Don't deactivate the mark before
1247 reactivate-it anyway.
1248 * comint.el (comint-kill-region): Remove yank-handler argument.
1249 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1250 (delete-char): Remove property, since it's now part of their
1251 default behavior.
1252 (self-insert-iso): Remove property since this command doesn't exist.
1253
7e3561ee
SM
1254 * emacs-lisp/package.el (package--download-one-archive)
1255 (describe-package-1): Don't query the user about final newline.
1256
b9bef71f
DC
12572013-10-29 Daniel Colascione <dancol@dancol.org>
1258
1259 * net/tramp.el (tramp-methods): Document new functionality.
1260 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1261 tramp-hostname-checker if method provides one instead of scanning
1262 argument list for "%h" to decide hostname acceptability.
1263
4efc33f0
MA
12642013-10-28 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1267 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1268 Handle COPY-CONTENTS. (Bug#15737)
1269
ed42a877
DU
12702013-10-28 Daiki Ueno <ueno@gnu.org>
1271
1272 * epa-file.el
7e3561ee
SM
1273 (epa-file-cache-passphrase-for-symmetric-encryption):
1274 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1275
18c9f8a2
XF
12762013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1277
7a4bc7be
XF
1278 * image.el (defimage):
1279 (image-load-path): Doc fixes.
18c9f8a2 1280
b1e8e010
AM
12812013-10-27 Alan Mackenzie <acm@muc.de>
1282
1283 Indent statements in macros following "##" correctly.
7e3561ee
SM
1284 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1285 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1286
73d40d1e 12872013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1288
1289 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1290
c8c605ac
DG
12912013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1294 after `=' is probably a new expression.
1295
ca7e59d4
RS
12962013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1297
1298 * man.el (man-imenu-title): New option.
1299 (Man-mode-map): Add menu. (Bug#15722)
1300 (Man-mode): Add imenu to menu.
1301
bae91342
DG
13022013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1303
1304 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1305 specific in what the first arg can be: a non-keyword word,
1306 string/regexp/percent literal opener, opening paren, or unary
1307 operator followed directly by word.
1308
eb89dc14
SM
13092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1312 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1313 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1314 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1315 Remove vars, they do not apply any more.
1316 (prolog-mode-abbrev-table): Remove redundant declaration.
1317 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1318 (prolog-use-smie): Remove.
1319 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1320 supported by prolog-electric-if-then-else-flag.
1321 (prolog-mode-variables, prolog-menu): Use setq-local.
1322 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1323 Remove binding to `Backspace' since this key doesn't exist anyway.
1324 Remove bindings for electric self-inserting keys.
1325 (prog-mode): Assume it's defined.
1326 (prolog-post-self-insert): New function.
1327 (prolog-mode): Use it.
1328 (prolog-indent-line, prolog-indent-level)
1329 (prolog-find-indent-of-matching-paren)
1330 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1331 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1332 (prolog-goto-next-paren, prolog-in-string-or-comment)
1333 (prolog-tokenize, prolog-inside-mline-comment)
1334 (prolog-find-start-of-mline-comment): Remove functions.
1335 (prolog-find-unmatched-paren, prolog-clause-end)
1336 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1337 (prolog-electric--if-then-else): Rename from
1338 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1339 (prolog-tokenize-searchkey): Remove const.
1340 (prolog-clause-info): Use forward-sexp.
1341 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1342 (prolog-electric-if-then-else): Remove commands.
1343 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1344 for use in post-self-insert-hook.
1345 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1346 for use in post-self-insert-hook.
1347 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1348 for use in post-self-insert-hook.
1349 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1350 adapt it for use in post-self-insert-hook.
1351
3dab0a83
MA
13522013-10-25 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * emacs-lisp/ert.el (ert-run-tests-interactively):
1355 Use `completing-read'. (Bug#9756)
1356
fbfd0e1d
EZ
13572013-10-25 Eli Zaretskii <eliz@gnu.org>
1358
1359 * simple.el (line-move): Call line-move-1 instead of
1360 line-move-visual when the current window hscroll is zero, but
1361 temporary-goal-column indicates we will need to hscroll as result
1362 of the movement. (Bug#15712)
1363
963ce636
DG
13642013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1367 capitalization. Use :visible instead of :active.
1368 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1369 commands that are used with SMIE.
1370 (ruby-do-end-to-brace): Insert space after `{'.
1371
a0be396a
JA
13722013-10-25 John Anthony <john@jo.hnanthony.com>
1373
f73754c9
JA
1374 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1375
1376 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1377
f5bf77df
GM
13782013-10-25 Glenn Morris <rgm@gnu.org>
1379
1380 * vc/vc.el (vc-print-log): Don't use a working revision unless
1381 one was explicitly specified. (Bug#15322)
1382
37241f62
SM
13832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * subr.el (add-to-list): Preserve return value in compiler-macro
1386 (bug#15692).
1387
6408a65d
RS
13882013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1389
1390 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1391 result. Ask user to retry using '-all' flag. (Bug#15701)
1392
71e3276b
SM
13932013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * emacs-lisp/smie.el: New smie-config system.
1396 (smie-config): New defcustom.
1397 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1398 (smie-config-guess, smie-config-save): New commands.
1399 (smie-config--mode-local, smie-config--buffer-local)
1400 (smie-config--trace, smie-config--modefuns): New vars.
1401 (smie-config--advice, smie-config--mode-hook)
1402 (smie-config--setter, smie-config-local, smie-config--get-trace)
1403 (smie-config--guess-value, smie-config--guess): New functions.
1404 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1405 text properties. Treat "string fence" syntax like string syntax.
1406
1407 * progmodes/sh-script.el (sh-use-smie): Change default.
1408 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1409 (sh-var-value): Simplify by CSE.
1410 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1411 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1412 is used.
1413 (sh-guess-basic-offset): Use cl-incf.
1414 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1415
60db713e
HE
14162013-10-24 Helmut Eller <eller.helmut@gmail.com>
1417
1418 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1419 (bug#15699).
1420
8b251df6
GM
14212013-10-24 Glenn Morris <rgm@gnu.org>
1422
1423 * Makefile.in (abs_top_srcdir): Remove.
1424 (update-subdirs): Use relative path to update-subdirs.
1425
6be0e22b
EZ
14262013-10-24 Eli Zaretskii <eliz@gnu.org>
1427
1428 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1429 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1430 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1431 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1432
50b5b857
MA
14332013-10-24 Michael Albinus <michael.albinus@gmx.de>
1434
1435 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1436 (ert-test-skipped): New error.
1437 (ert-skip, ert-stats-skipped): New defuns.
1438 (ert--skip-unless): New macro.
1439 (ert-test-skipped): New struct.
1440 (ert--run-test-debugger, ert-test-result-type-p)
1441 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1442 (ert--stats-set-test-and-result, ert-char-for-test-result)
1443 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1444 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1445 Handle skipped tests. (Bug#9803)
50b5b857 1446
6f317c2f
GM
14472013-10-24 Glenn Morris <rgm@gnu.org>
1448
e43817c1
GM
1449 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1450
6f317c2f
GM
1451 * Makefile.in (abs_top_srcdir): New, set by configure.
1452 (update-subdirs): Correct build-aux location.
1453
369bbf71
DG
14542013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1455
8297b2cf
DG
1456 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1457 value, whether we could auto-deduce `backend', or not.
1458
369bbf71
DG
1459 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1460 with parameters" example. Simplify the "is it block or is it
1461 hash" check, but also make it more thorough.
1462
d5f1282f
MF
14632013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1464
1465 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1466
bc4aaa31
SM
14672013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1468
03d44565
SM
1469 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1470 { if it is hanging.
1471
bc4aaa31
SM
1472 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1473 :before ";".
1474
f493ff19
JB
14752013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1476
1477 * progmodes/compile.el (compilation-directory-matcher)
1478 (compilation-page-delimiter):
1479 Support GNU Make-4.0 directory quoting. (Bug#15678)
1480
c744a3b9
LL
14812013-10-23 Leo Liu <sdl.web@gmail.com>
1482
1483 * ido.el (ido-tidy): Handle read-only text.
1484
b8e3b0a9
GM
14852013-10-23 Glenn Morris <rgm@gnu.org>
1486
1487 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1488 (emacs, compile, compile-always):
1489 Quote entities that might contain whitespace.
1490 (custom-deps, finder-data, autoloads): Use abs_lisp.
1491 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1492 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1493 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1494
ee4282cd
DG
14952013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1496
bc4aaa31
SM
1497 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1498 Use `following-char'.
7790a270 1499
ee4282cd 15002013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1501
1502 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1503 * progmodes/ruby-mode.el (ruby-smie-rules):
1504 Remove corresponding workaround. Fix indentation rule of ";" so it
1505 also applies when ";" is the parent.
1506
d40a46d7
XF
15072013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1508
1509 * frame.el (display-screens, display-pixel-height)
1510 (display-pixel-width, display-mm-width, display-backing-store)
1511 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1512 (display-visual-class, display-monitor-attributes-list):
1513 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1514
a0f143c9
MG
15152013-10-22 Michael Gauland <mikelygee@amuri.net>
1516
1517 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1518 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1519
18cacc39
DG
15202013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1523 TODO. Add "." after " @ ".
1524 (ruby-smie--at-dot-call): New function. Checks if point at method
1525 call with explicit target.
1526 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1527 to the method name tokens when it precedes them.
1528 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1529 (ruby-smie-rules): Add rule for indentation before and after "."
1530 token.
1531
df74c4be
SM
15322013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1533
c6dab55f
SM
1534 * textmodes/remember.el (remember-diary-extract-entries):
1535 Avoid add-to-list.
1536
df74c4be
SM
1537 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1538 an instruction.
1539
8c1ae481
DG
15402013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1541
cfef16c0
DG
1542 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1543 (ruby-smie--implicit-semi-p): Add new operator chars.
1544
8c1ae481
DG
1545 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1546 `smie-down-list'.
1547 (ruby-smie--args-separator-p): Check that there's no newline
1548 between method call and its arguments.
1549
87756ca9
AM
15502013-10-20 Alan Mackenzie <acm@muc.de>
1551
1552 Allow comma separated lists after Java "implements".
1553
df74c4be
SM
1554 * progmodes/cc-engine.el (c-backward-over-enum-header):
1555 Parse commas.
87756ca9
AM
1556 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1557 from a "disallowed" list in enum fontification.
1558
c25f8957
JB
15592013-10-20 Johan Bockgård <bojohan@gnu.org>
1560
df74c4be 1561 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1562
c25f8957
JB
1563 * progmodes/verilog-mode.el (verilog-mode): Don't set
1564 comment-indent-function globally.
1565
aca5fcdc
JD
15662013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1567
5f161884
JD
1568 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1569 Move Info menu item creation to ns-win.el.
1570
1571 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1572 in menu bar.
1573
aca5fcdc
JD
1574 * menu-bar.el: Move GNUStep specific menus...
1575
1576 * term/ns-win.el (ns-initialize-window-system): ... to here.
1577
914b7f98
SM
15782013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * simple.el (newline): Only run post-self-insert-hook when
1581 called interactively.
1582
846ffe77
JB
15832013-10-19 Johan Bockgård <bojohan@gnu.org>
1584
1585 * icomplete.el (icomplete-with-completion-tables): Add :version.
1586
033f22dd
AM
15872013-10-19 Alan Mackenzie <acm@muc.de>
1588
1589 Fix fontification bugs with constructors and const.
1590
1591 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1592 CASE 2) Remove the check for the absence of a suffix construct
1593 after a function declaration with only types (no identifiers) in
1594 the parentheses. Also, accept a function declaration with just a
1595 type inside the parentheses, if this type can be positively
1596 recognised as such, or if a prefix keyword like "explicit" nails
1597 down the construct as a declaration.
1598
58ce0cfc
EZ
15992013-10-19 Eli Zaretskii <eliz@gnu.org>
1600
1601 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1602 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1603 the problem whereby selecting a menu item that leads to a
1604 minibuffer prompt moves the cursor out of the minibuffer window,
1605 making it hard to type at the prompt. Suggested by Stefan Monnier
1606 <monnier@iro.umontreal.ca>.
1607
50e28e7d
JD
16082013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1609
1610 * menu-bar.el: Don't make Services menu.
1611
7deed4bf
RS
16122013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1613
1614 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1615 (ffap-alist): Use ffap-c++-mode for c++-mode.
1616 (ffap-c++-path): New variable.
1617 (ffap-c++-mode): New function.
1618
7bcb455b
JVJ
16192013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1620
1621 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1622
f0ff1cd5
MA
16232013-10-18 Michael Albinus <michael.albinus@gmx.de>
1624
1625 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1626 introduced on 2013-09-08, which results in an infinite loop
1627 requesting a password.
1628
d64da4b7
GM
16292013-10-18 Glenn Morris <rgm@gnu.org>
1630
1631 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1632
ea89ff08
WS
16332013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1634
1635 Sync with upstream verilog-mode revision 1a6ecec7.
1636 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1637 (verilog-mode-release-date): Remove.
1638 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1639 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1640 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1641 (verilog-auto-tieoff-ignore-regexp)
1642 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1643 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1644 (verilog-signals-with, verilog-dir-cache-preserving)
1645 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1646 Doc fixes.
1647 (verilog-case-fold): New option, to control case folding in
1648 regexp searches, bug597.
1649 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1650 (verilog-string-match-fold, verilog-in-paren-count)
1651 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1652 (verilog-at-close-struct-p): New functions.
1653 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1654 (verilog-forward-sexp, verilog-set-auto-endcomments):
1655 (verilog-leap-to-case-head): Handle "unique0" case.
1656 (verilog-in-constraint-re): New constant.
1657 (verilog-keywords, verilog-type-font-keywords):
1658 Add some SystemVerilog 1800-2012 keywords.
1659 (verilog-label-be): Remove unimplemented argument, bug669.
1660 (verilog-batch-execute-func): When batch expanding clear
1661 create-lockfiles to prevent spurious user locks when a file ends
1662 up not changing.
1663 (verilog-calculate-indent, verilog-calc-1)
1664 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1665 (verilog-do-indent): Fix indentation of nested constraints
1666 and structures.
1667 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1668 (verilog-auto-inst-param): Use verilog-string-match-fold.
1669 (verilog-read-inst-module-matcher):
1670 Fix AUTOINST on gate primitives with #1.
1671 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1672 Reads all user-defined typed variables.
1673 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1674 (verilog-signals-matching-regexp)
1675 (verilog-signals-not-matching-regexp, verilog-auto):
1676 Respect verilog-case-fold.
1677 (verilog-diff-report): Fix line count.
1678 (verilog-auto-assign-modport): Remove unused local `modi'.
1679 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1680 better handle multidimensional arrays.
1681 Fix packed array ports misadding bit index in AUTOINST, bug637.
1682 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1683 to not double-declare existing outputs and inputs, respectively.
1684 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1685 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1686 (verilog-sk-uvm-component): New skeleton.
1687 (verilog-submit-bug-report): Add verilog-case-fold,
1688 remove verilog-mode-release-date.
1689
ef566920
BR
16902013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1691
1692 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1693 as before.
1694
29df8a0b
RT
16952013-10-18 Reuben Thomas <rrt@sc3d.org>
1696
1697 * textmodes/remember.el (remember): set buffer-offer-save in
1698 remember buffers (bug#13566).
1699
04a19a79
DC
17002013-10-18 Daniel Colascione <dancol@dancol.org>
1701
1702 When evaluating forms in ielm, direct standard output to ielm
1703 buffer. Add new ielm-return-for-effect command. Remove trailing
1704 whitespace throughout.
1705
1706 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1707 (ielm-return-for-effect): New command.
1708 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1709 (ielm-eval-input): Accept optional `for-effect' parameter.
1710 Bind `standard-output' to stream we create using
04a19a79
DC
1711 `ielm-standard-output-impl'. Suppress printing result when
1712 `for-effect'.
1713 (ielm-standard-output-impl): New function.
1714 (inferior-emacs-lisp-mode): Explain new features in documentation.
1715
4c1f03ef
MA
17162013-10-17 Michael Albinus <michael.albinus@gmx.de>
1717
1718 Code cleanup.
1719
1720 * net/tramp.el (tramp-debug-message): Do not check for connection
1721 buffer.
1722 (tramp-message): Use "vector" connection property.
1723
1724 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1725 (tramp-equal-remote, tramp-eshell-directory-change)
1726 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1727 (tramp-adb-handle-rename-file)
1728 * net/tramp-cmds.el (tramp-list-remote-buffers)
1729 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1730 * net/tramp-compat.el (tramp-compat-process-running-p)
1731 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1732 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1733 (tramp-gvfs-handle-rename-file)
1734 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1735 (tramp-set-file-uid-gid)
1736 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1737 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1738 of `file-remote-p'.
1739
1740 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1741 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1742 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1743 (tramp-gw-open-network-stream): Suppress unrelated traces.
1744
1745 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1746 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1747 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1748 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1749 connection property.
1750
1751 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1752 persistency file.
4c1f03ef
MA
1753
1754 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1755 Refactor common code. Improve debug message.
1756 (tramp-maybe-open-connection)
1757 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1758 connection buffer too early.
1759
1760 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1761 from `tramp-smb-actions-with-acl'.
1762 (tramp-smb-actions-set-acl): New defconst.
1763 (tramp-smb-handle-copy-directory)
1764 (tramp-smb-action-get-acl): New defun, renamed from
1765 `tramp-smb-action-with-acl'.
1766 (tramp-smb-action-set-acl): New defun.
1767 (tramp-smb-handle-set-file-acl): Rewrite.
1768
642eb8b6
GM
17692013-10-17 Glenn Morris <rgm@gnu.org>
1770
1771 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1772
85527ff3
SM
17732013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1774
921c1d62
SM
1775 * skeleton.el (skeleton-newline): Remove.
1776 (skeleton-internal-1): Use (insert "\n") instead.
1777
e333fb10
SM
1778 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1779 let-bindings.
1780
85527ff3
SM
1781 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1782 forward-sexp-function while we redo its job (bug#15613).
1783
c8722a97
JB
17842013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1785
1786 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1787 represented by lists.
1788
7a550bbb
GM
17892013-10-16 Glenn Morris <rgm@gnu.org>
1790
1791 * tmm.el (tmm--history): New dynamic variable.
1792 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1793
f19da8ad
MA
17942013-10-16 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1797 (tramp-smb-errors): Add error messages.
1798 (tramp-smb-actions-with-acl): New defconst.
1799 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1800 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1801 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1802 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1803 (tramp-smb-get-stat-capability): Fix tests.
1804
a24b9961
DK
18052013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1806
1807 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1808 (bug#15580).
1809
62ad85e6
GM
18102013-10-16 Glenn Morris <rgm@gnu.org>
1811
0283d6b0
GM
1812 * ansi-color.el (ansi-color-drop-regexp):
1813 Add 1J, 1K, 2K. (Bug#15617)
1814
012e2f9f
GM
1815 * files.el (hack-local-variables--warned-lexical): New.
1816 (hack-local-variables):
1817 Warn about misplaced lexical-binding. (Bug#15616)
1818
62ad85e6
GM
1819 * net/eww.el (eww-render): Always set eww-current-url,
1820 and update header line. (Bug#15622)
1821 (eww-display-html): ... Rather than just doing it here.
1822
6456c0ea
EZ
18232013-10-15 Eli Zaretskii <eliz@gnu.org>
1824
1825 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1826 menu navigations commands.
1827
c2de5588
DK
18282013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1829
1830 * progmodes/subword.el (subword-capitalize): Be careful when
1831 the search for [[:alpha:]] fails (bug#15580).
1832
ccd4a783
EZ
18332013-10-14 Eli Zaretskii <eliz@gnu.org>
1834
1835 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1836 to commands that scroll the menu.
1837
1eda1d8d
DG
18382013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1839
c2de5588
DK
1840 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1841 Handle methods ending with `?' and `!'.
1eda1d8d 1842
e70181b8
AM
18432013-10-14 Akinori MUSHA <knu@iDaemons.org>
1844
1845 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1846 `japanese-cp932' to `cp932' to fix the problem where saving a
1847 source file written in Shift_JIS twice would end up having
1848 `coding: japanese-cp932' which Ruby could not recognize.
1849 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1850 in `ruby-encoding-map'.
1851 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1852 doesn't need to be explicitly declared in magic comment.
1853 (ruby-encoding-map): Add type declaration for better customize UI.
1854
9148ee92
GM
18552013-10-13 Glenn Morris <rgm@gnu.org>
1856
a5d38e34
GM
1857 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1858 Occur buffers are read-only. http://bugs.debian.org/720775
1859
9148ee92
GM
1860 * emacs-lisp/authors.el (authors-fixed-entries):
1861 Comment out old alpha stuff.
1862
a9ba094b
DG
18632013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1864
1865 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1866 to `after-save-hook' instead of `before-save-hook'.
1867 (ruby-mode-set-encoding): Use the value of coding system used to
1868 write the file. Call `basic-save-buffer-1' after modifying the
1869 buffer.
1870
7a068717
AM
18712013-10-13 Alan Mackenzie <acm@muc.de>
1872
1873 Fix indentation/fontification of Java enum with
1874 "implements"/generic.
1875
c2de5588
DK
1876 * progmodes/cc-engine.el (c-backward-over-enum-header):
1877 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1878 (c-inside-bracelist-p): Uses new function above.
1879 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1880 function above.
1881 (c-font-lock-enum-tail): Uses new function above.
1882
85b64f02
KH
18832013-10-13 Kenichi Handa <handa@gnu.org>
1884
1885 * international/mule-cmds.el (select-safe-coding-system): Remove a
1886 superfluous condition in chekcing whether a coding system is safe
1887 or not.
1888
fc7f501b
OK
18892013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1890
1891 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1892
fdcb2049
AP
18932013-10-13 Andreas Politz <politza@hochschule-trier.de>
1894
1895 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1896
8c106d17
GM
18972013-10-13 Glenn Morris <rgm@gnu.org>
1898
feab892d
GM
1899 * menu-bar.el (menu-bar-update-buffers):
1900 Unify Buffers menu prompt string. (Bug#15576)
1901
b22d0686
GM
1902 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1903
8c106d17
GM
1904 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1905 Add some entries.
1906 (authors-fixed-entries): Use accented form of name.
1907
1b12c797
SM
19082013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1909
650fa7bf 1910 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1911 method calls (bug#15594).
650fa7bf
SM
1912 (ruby-smie--args-separator-p): New function.
1913 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1914 recognize paren-free method calls.
1915
1b12c797
SM
1916 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1917 internals of universal-argument.
1918
029619c8
EZ
19192013-10-11 Eli Zaretskii <eliz@gnu.org>
1920
1921 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1922 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1923 dropped menu on second mouse click on the menu bar.
029619c8 1924
dd070019
SM
19252013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1928 (explicit-shell-file-name): Declare.
1929 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1930 (sh-completion-at-point-function): New function.
1931 (sh-mode): Use it.
1932 (sh-smie--keyword-p): Remove unused argument.
1933 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1934 vars.
1935 (sh-set-shell): Always setup SMIE, even if we use the
1936 old indentation code.
1937
0922b826
DG
19382013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1939
b68e2926
DG
1940 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1941 cases of ? and =.
1942 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1943 predicate would return nil are almost non-existent.
1944 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1945
0922b826
DG
1946 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1947 cache also after commands that modify the buffer but don't move
1948 point.
1949
ee041f2d
SM
19502013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * env.el (substitute-env-in-file-name): New function.
1953 (substitute-env-vars): Extend the meaning of the optional arg.
1954
a5dab159
EZ
19552013-10-10 Eli Zaretskii <eliz@gnu.org>
1956
1957 * term/w32-win.el (dynamic-library-alist): Define separate lists
1958 of GIF DLLs for versions before and after 5.0.0 of giflib.
1959 (Bug#15531)
1960
0449d6cd 19612013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
1962
1963 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1964 not locked, use last revision and current source as
1965 defaults. (Bug#15569)
1966
2f6e161e
MY
19672013-10-10 Masatake YAMATO <yamato@redhat.com>
1968
1969 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1970 menu-bar is hidden.
1971
6c8413fc
MR
19722013-10-10 Martin Rudalics <rudalics@gmx.at>
1973
1974 * window.el (pop-to-buffer-same-window): Fix doc-string.
1975 (Bug#15492)
1976
20832de0
SM
19772013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1980
c6e8ae77
AC
19812013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1982
1983 * calendar/icalendar.el (icalendar-import-file):
1984 Fix interactive spec. (Bug#15482)
1985
9db13baf
GM
19862013-10-10 Glenn Morris <rgm@gnu.org>
1987
9271e90e
GM
1988 * desktop.el (desktop-save): Default to saving in .emacs.d,
1989 since PWD is no longer in desktop-path by default. (Bug#15319)
1990
9db13baf
GM
1991 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1992 now that text mode has a menu with the same entry.
1993 (menu-bar-text-mode-auto-fill): Remove now unused func.
1994 * textmodes/text-mode.el (text-mode-map):
1995 Use auto-fill help text from menu-bar.el.
1996
a0be396a 19972013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1998
1999 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2000
2edcd3c7
JL
20012013-10-09 Juri Linkov <juri@jurta.org>
2002
2003 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2004 instead of this-command-keys. Add universal-argument-more and
2005 universal-argument-minus to the list of prefix commands. (Bug#15568)
2006
574411d0
GM
20072013-10-09 Glenn Morris <rgm@gnu.org>
2008
14afa541
GM
2009 * vc/vc-svn.el (vc-svn-create-repo):
2010 Expand paths in file://... url. (Bug#15446)
2011
574411d0
GM
2012 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2013 Add some entries.
2014 (authors): Remove unused local variables.
2015
79804536
SM
20162013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * profiler.el: Create a more coherent calltree from partial backtraces.
2019 (profiler-format): Hide the tail with `invisible' so that C-s can still
2020 find the hidden elements.
2021 (profiler-calltree-depth): Don't recurse so enthusiastically.
2022 (profiler-function-equal): New hash-table-test.
2023 (profiler-calltree-build-unified): New function.
2024 (profiler-calltree-build): Use it.
2025 (profiler-report-make-name-part): Indent the calltree less.
2026 (profiler-report-mode): Add visibility specs for profiler-format.
2027 (profiler-report-expand-entry, profiler-report-toggle-entry):
2028 Expand the whole subtree when provided with a prefix arg.
2029
238150c8
DG
20302013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2033 iuwu-mod token.
2034 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2035 hanging iuwu-mod token.
2036 (ruby-smie--forward-token): Do not include a dot after a token in
2037 that token.
2038 (ruby-smie--backward-token): Likewise.
2039
b0949cc4
JL
20402013-10-08 Juri Linkov <juri@jurta.org>
2041
2042 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2043 to isearch-other-control-char.
2044 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2045 and isearch-post-command-hook to post-command-hook.
2046 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2047 and isearch-post-command-hook from post-command-hook.
2048 (isearch-unread-key-sequence)
2049 (isearch-reread-key-sequence-naturally)
2050 (isearch-lookup-scroll-key, isearch-other-control-char)
2051 (isearch-other-meta-char): Remove functions.
2052 (isearch-pre-command-hook, isearch-post-command-hook):
2053 New functions based on isearch-other-meta-char rewritten
2054 relying on the new behavior of overriding-terminal-local-map
2055 that does not replace the local keymaps any more. (Bug#15200)
2056
4ed77415
EZ
20572013-10-08 Eli Zaretskii <eliz@gnu.org>
2058
2059 Support menus on text-mode terminals.
2060 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2061 functionality.
2062
2063 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2064
c2de5588
DK
2065 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2066 Move here from mouse.el.
4ed77415
EZ
2067 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2068 and arrow keys.
2069 (tty-menu-navigation-map): New map for TTY menu navigation.
2070
2071 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2072
2073 * frame.el (display-mouse-p): Report text-mode mouse as available
2074 on w32.
2075 (display-popup-menus-p): Report availability if mouse is
2076 available; don't condition on window-system.
2077
2078 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2079 (tty-menu-selected-face): New faces.
2080
b7d5bd82
TL
20812013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2082
06286513
SM
2083 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2084 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2085 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2086 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2087 New constants.
2088 (lisp-mode-variables): New `elisp' argument.
2089 (emacs-lisp-mode): Use it.
2090 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2091 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2092
b7d5bd82
TL
2093 * indent.el: Use lexical-binding.
2094 (indent-region): Add progress reporter.
2095 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2096 last step.
2097 (indent--next-tab-stop): New function to implement this behavior.
2098 (tab-to-tab-stop, move-to-tab-stop): Use it.
2099
21002013-10-08 Teemu Likonen <tlikonen@iki.fi>
2101
2102 * indent.el (indent-rigidly--current-indentation): New function.
2103 (indent-rigidly-map): New var.
2104 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2105
5ea75d23
BG
21062013-10-08 Bastien Guerry <bzg@gnu.org>
2107
2108 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2109
cc5da1ec
SM
21102013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2111
8ffa1a0b
SM
2112 * progmodes/perl-mode.el: Use lexical-binding.
2113 Remove redundant :group args.
2114 (perl-nochange): Change default to be closer to other major modes's
2115 standard behavior.
2116 (perl-indent-line): Don't consider text on current line as a
2117 valid beginning of function from which to indent.
2118
f2223371
SM
2119 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2120 with more than one argument (bug#15538).
2121
44256060
SM
2122 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2123
cc5da1ec
SM
2124 * vc/pcvs.el: Use lexical-binding.
2125 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2126 environment of `eval'.
2127 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2128 than a list of expressions. Adjust callers.
2129 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2130
0ea1599d
DG
21312013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2132
2133 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2134 case of the dot in a chained method call being on the following line.
0ea1599d 2135
da3e5ebb
SM
21362013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2abb4e65
SM
2138 * electric.el (electric-indent-inhibit): New var.
2139 (electric-indent-post-self-insert-function): Use it.
2140 * progmodes/python.el (python-mode): Set it.
2141
d2e0e795
SM
2142 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2143 open braces.
2144
2145 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2146
bdc6b4c8
SM
2147 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2148 (css-mode): Use electric-indent-chars.
2149
da3e5ebb
SM
2150 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2151 (font-lock-beg, font-lock-end): Move before first use.
2152 (nxml-mode): Use syntax-propertize-function.
2153 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2154 (nxml-extend-after-change-region): Remove.
2155 * nxml/xmltok.el: Use lexical-binding.
2156 (xmltok-save): Use `declare'.
2157 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2158 * nxml/nxml-util.el: Use lexical-binding.
2159 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2160 Use `declare'.
2161 * nxml/nxml-ns.el: Use lexical-binding.
2162 (nxml-ns-save): Use `declare'.
2163 (nxml-ns-prefixes-for): Avoid add-to-list.
2164 * nxml/rng-match.el: Use lexical-binding.
2165 (rng--ipattern): Use cl-defstruct.
2166 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2167 (rng-cons-group-after, rng-subst-group-after)
2168 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2169 Use closures instead of `(lambda...).
2170
f8f91d5d
MA
21712013-10-07 Michael Albinus <michael.albinus@gmx.de>
2172
2173 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2174 of BEG and END.
2175
da3e5ebb
SM
2176 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2177 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2178 (tramp-gvfs-handle-insert-file-contents): Remove function.
2179
da3e5ebb
SM
2180 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2181 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2182
2183 * net/trampver.el: Update release number.
2184
7ccae3b1
SM
21852013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2186
55ca2c0d
SM
2187 * progmodes/compile.el (compilation-parse-errors):
2188 Use compilation--put-prop.
2189 (compilation--ensure-parse): Check compilation-multiline.
2190
731fc3ae
SM
2191 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2192
da3e5ebb
SM
2193 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2194 lexical-binding.
a5833280 2195
2e7ba2c2
SM
2196 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2197
7ccae3b1
SM
2198 * progmodes/ruby-mode.el: Fix recently added tests.
2199 (ruby-smie-grammar): Add - and +.
2200 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2201 (ruby-smie--backward-id): New functions.
2202 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2203 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2204 any more.
2205
85698d63
LL
22062013-10-07 Leo Liu <sdl.web@gmail.com>
2207
2208 * register.el (register-preview-delay)
2209 (register-preview-functions): New variables.
2210 (register-read-with-preview, register-preview)
2211 (register-describe-oneline): New functions.
2212 (point-to-register, window-configuration-to-register)
2213 (frame-configuration-to-register, jump-to-register)
2214 (number-to-register, view-register, insert-register)
2215 (copy-to-register, append-to-register, prepend-to-register)
2216 (copy-rectangle-to-register): Use register-read-with-preview to
2217 read register. (Bug#15525)
2218
3986af6c
DS
22192013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2220
2221 * net/network-stream.el (network-stream-open-starttls): Don't add
2222 --insecure if it's already present, because that gnutls-cli
2223 rejects getting that parameter twice.
2224
5cd9cda9
DG
22252013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2226
2227 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2228 keyword, too.
2229
da9ea6d9
DG
22302013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2231
2232 * newcomment.el (comment-use-global-state): Change default value
2233 to t, mark obsolete (Bug#15251).
2234 (comment-beginning): In addition to `comment-to-syntax', check the
2235 value of `comment-use-global-state'.
2236
34d1a133
SM
22372013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2240 (ruby-comment-column): Follow the global default, by default.
2241 (ruby-smie-grammar): Add assignment syntax.
2242 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2243 open-paren, a comma, or a \.
2244 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2245 and line continuations.
2246 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2247 followed by implicit semi-colons. Add rule for string concatenation
2248 and for indentation at BOB.
2249 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2250
2251 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2252 calling next-sexp, since next-token may have skipped chars which
2253 next-sexp doesn't know should be skipped!
2254
6f6ab820
LL
22552013-10-05 Leo Liu <sdl.web@gmail.com>
2256
34d1a133
SM
2257 * progmodes/octave.el (octave-send-region):
2258 Call compilation-forget-errors.
6f6ab820 2259
34ca0f4c
XF
22602013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2261
2262 * vc/vc-svn.el (vc-svn-find-admin-dir):
2263 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2264 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2265 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2266 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2267
a27c1b72
SM
22682013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2271
258ab3bc
SM
22722013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * subr.el (read-passwd): Hide chars even when called within a context
2275 where after-change-functions is disabled (bug#15501).
2276 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2277 until we removed ourself from overriding-terminal-local-map.
2278
939fb29c
LL
22792013-10-04 Leo Liu <sdl.web@gmail.com>
2280
258ab3bc
SM
2281 * progmodes/octave.el (inferior-octave-mode):
2282 Call compilation-forget-errors.
939fb29c 2283
63bd7f35
XF
22842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2285
2286 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2287
9e6229fa
MA
22882013-10-04 Michael Albinus <michael.albinus@gmx.de>
2289
2290 * net/secrets.el (secrets-create-collection): Add optional
2291 argument ALIAS. Use proper Label keyword. Append ALIAS as
2292 dbus-call-method argument. (Bug#15516)
2293
1dab32a3
LL
22942013-10-04 Leo Liu <sdl.web@gmail.com>
2295
2296 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2297 (inferior-octave-compilation-font-lock-keywords): New variables.
2298 (compilation-error-regexp-alist)
2299 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2300 (inferior-octave-mode): Use compilation-shell-minor-mode.
2301
6cad7ba3
JS
23022013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2303
2304 * minibuffer.el (completion--replace): Be careful that `end' might be
2305 a marker.
2306
acbadd00
DU
23072013-10-03 Daiki Ueno <ueno@gnu.org>
2308
2309 Add support for package signature checking.
2310 * emacs-lisp/package.el (url-http-file-exists-p)
2311 (epg-make-context, epg-context-set-home-directory)
2312 (epg-verify-string, epg-context-result-for)
2313 (epg-signature-status, epg-signature-to-string)
2314 (epg-check-configuration, epg-configuration)
2315 (epg-import-keys-from-file): Declare.
2316 (package-check-signature): New user option.
2317 (package-unsigned-archives): New user option.
2318 (package-desc): Add `signed' field.
2319 (package-load-descriptor): Set `signed' field if .signed file exists.
2320 (package--archive-file-exists-p): New function.
2321 (package--check-signature): New function.
2322 (package-install-from-archive): Check package signature.
2323 (package--download-one-archive): Check archive signature.
2324 (package-delete): Remove .signed file.
2325 (package-import-keyring): New command.
2326 (package-refresh-contents): Import default keyring.
2327 (package-desc-status): Add "unsigned" status.
2328 (describe-package-1, package-menu--print-info)
2329 (package-menu-mark-delete, package-menu--find-upgrades)
2330 (package-menu--status-predicate): Support "unsigned" status.
2331
adf2aa61
SM
23322013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2335 the new compilation scheme using the new byte-codes.
2336
2337 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2338 (byte-pophandler): New byte codes.
2339 (byte-goto-ops): Adjust accordingly.
2340 (byte-compile--use-old-handlers): New var.
2341 (byte-compile-catch): Use new byte codes depending on
2342 byte-compile--use-old-handlers.
2343 (byte-compile-condition-case--old): Rename from
2344 byte-compile-condition-case.
2345 (byte-compile-condition-case--new): New function.
2346 (byte-compile-condition-case): New function that dispatches depending
2347 on byte-compile--use-old-handlers.
2348 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2349 when we can.
2350
2351 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2352 Optimize under `condition-case' and `catch' if
2353 byte-compile--use-old-handlers is nil.
2354 (disassemble-offset): Handle new bytecodes.
2355
328a8179
SM
23562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * subr.el (error): Use `declare'.
2359 (decode-char, encode-char): Use advertised-calling-convention instead
2360 of the docstring to discourage use of the `restriction' arg.
2361
15a1e936
DU
23622013-10-03 Daiki Ueno <ueno@gnu.org>
2363
2364 * epg.el (epg-verify-file): Add a comment saying that it does not
2365 notify verification error as a return value nor a signal.
2366 (epg-verify-string): Ditto.
2367
376f862a
KR
23682013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2369
2370 * progmodes/compile.el (compilation-start): Try globbing the arg to
2371 `cd' (bug#15417).
2372
a2f93a5f
MA
23732013-10-02 Michael Albinus <michael.albinus@gmx.de>
2374
2375 Sync with Tramp 2.2.8.
2376
2377 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2378 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2379 * net/trampver.el: Update release number.
2380
0daa0804
JD
23812013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2382
2383 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2384 and default-process-coding-system for darwin only.
2385
abd1ae34
SM
23862013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2389
be4e325d
MH
23902013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2391
2392 * vc/vc-git.el (vc-git-grep): Disable pager.
2393
e9155c4a
DG
23942013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2395
494e898b
DG
2396 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2397 Use :url instead of :homepage, as per
2398 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2399
e9155c4a
DG
2400 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2401 non-nil, use `syntax-ppss' (Bug#15251).
2402
481a8e0f
RS
24032013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2404
be4e325d
MH
2405 * progmodes/octave.el (inferior-octave-startup-file):
2406 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2407
056453c6
DG
24082013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2409
be4e325d
MH
2410 * emacs-lisp/package.el (package-desc-from-define):
2411 Accept additional arguments as plist, convert them to an alist and store
2412 them in the `extras' slot.
056453c6
DG
2413 (package-generate-description-file): Convert extras alist back to
2414 plist and append to the `define-package' form arguments.
2415 (package--alist-to-plist): New function.
2416 (package--ac-desc): Add `extras' slot.
2417 (package--add-to-archive-contents): Check if the archive-contents
2418 vector is long enough, and if it is, pass its `extras' slot value
2419 to `package-desc-create'.
2420 (package-buffer-info): Call `lm-homepage', pass the returned value
2421 to `package-desc-from-define'.
2422 (describe-package-1): Render the homepage button (Bug#13291).
2423
be4e325d
MH
2424 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2425 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2426
832966e5
JD
24272013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2428
2429 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2430 and default-process-coding-system to utf-8-unix (Bug#15402).
2431
6cfe977d
XF
24322013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2433
2434 * subr.el (looking-back): Do not recommend using looking-back.
2435
38de11bd
AM
24362013-09-28 Alan Mackenzie <acm@muc.de>
2437
2438 Fix indentation/fontification of Java enum with "implements".
2439
2440 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2441 regexp which matches "implements", etc., in Java.
2442 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2443 specifier clauses coming after "enum".
2444 * progmodes/cc-fonts.el (c-font-lock-declarations)
2445 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2446 after "enum".
2447
1610938f
JD
24482013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2449
2450 * faces.el (region): Change ns_selection_color to
2451 ns_selection_fg_color, add ns_selection_bg_color.
2452
e090f499
LL
24532013-09-28 Leo Liu <sdl.web@gmail.com>
2454
4d2e94d1
LL
2455 * progmodes/octave.el (inferior-octave-completion-table)
2456 (inferior-octave-completion-at-point): Minor tweaks.
2457
e090f499
LL
2458 * textmodes/ispell.el (ispell-lookup-words): Rename from
2459 lookup-words. (Bug#15460)
2460 (lookup-words): Obsolete.
2461 (ispell-complete-word, ispell-command-loop): All uses changed.
2462
7e138a62
RS
24632013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2464
2465 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2466 (octave-mode-menu): Add octave-send-buffer.
2467 (octave-send-buffer): New function.
2468
5af5ed08
RS
24692013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2470
2471 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2472 octave-lookfor.
2473 (octave-mode-menu): Add octave-lookfor.
2474 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2475 octave-lookfor.
2476 (octave-lookfor): New function.
2477
3b7b2692
SM
24782013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * emacs-lisp/cl-macs.el:
2481 (cl--loop-destr-temps): Remove.
2482 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2483 its convention.
2484 (cl--loop-set-iterator-function): New function.
2485 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2486 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2487 Bind `it' with `let' instead of substituting it with `cl-subst'.
2488 (cl--unused-var-p): New function.
2489 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2490 Eliminate some unused variable warnings (bug#15326).
2491
529fb53f
TH
24922013-09-27 Tassilo Horn <tsdh@gnu.org>
2493
2494 * doc-view.el (doc-view-scale-reset): Rename from
2495 `doc-view-reset-zoom-level'.
2496 (doc-view-scale-adjust): New command.
2497 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2498 `doc-view-scale-adjust'.
2499
0550c95a
TH
25002013-09-26 Tassilo Horn <tsdh@gnu.org>
2501
2502 * doc-view.el (doc-view-reset-zoom-level): New command.
2503 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2504 zoom commands (bug#15466).
2505
6950f152
KH
25062013-09-26 Kenichi Handa <handa@gnu.org>
2507
2508 * international/quail.el (quail-help): Make it not a command.
2509
39587580
LL
25102013-09-26 Leo Liu <sdl.web@gmail.com>
2511
2512 * minibuffer.el (completion-all-sorted-completions): Make args
2513 optional as they are.
2514
00578659
DC
25152013-09-25 Daniel Colascione <dancol@dancol.org>
2516
2517 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2518 specs are and that they're not evaluated.
2519
0c173878
SS
25202013-09-24 Sam Steingold <sds@gnu.org>
2521
2522 * midnight.el (clean-buffer-list-kill-regexps)
2523 (clean-buffer-list-kill-buffer-names): Update for the new Man
2524 buffer naming which includes the object name.
2525
84998447
SM
25262013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2529 (eshell-parse-command, eshell-parse-pipeline): Use it since
2530 eshell-separate-commands requires a dynamic scoped var.
2531 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2532
33215353
LL
25332013-09-23 Leo Liu <sdl.web@gmail.com>
2534
2535 * autoinsert.el (auto-insert-alist): Make the value of
2536 lexical-binding match its file setting.
2537
57b16162
JB
25382013-09-23 Juanma Barranquero <lekktu@gmail.com>
2539
c8af4e67
JB
2540 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2541
57b16162
JB
2542 * autoarg.el (autoarg-kp-digit-argument):
2543 * electric.el (Electric-command-loop):
2544 * kmacro.el (kmacro-step-edit-insert):
2545 Do not set universal-argument-num-events.
2546
7186ba60
LL
25472013-09-22 Leo Liu <sdl.web@gmail.com>
2548
2549 * files.el (interpreter-mode-alist): Add octave.
2550
ece15004
AM
25512013-09-21 Alan Mackenzie <acm@muc.de>
2552
2553 C++: fontify identifier in declaration following "public:" correctly.
2554 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2555 to match "public", etc.
2556 (c-decl-prefix-re): Add ":" into the C++ value.
2557 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2558 bit. Add a check for a ":" preceded by "public", etc.
2559
75d83e22
EZ
25602013-09-21 Eli Zaretskii <eliz@gnu.org>
2561
2562 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2563 recognized by GDB 7.5 and later.
2564
d052d3bd
XF
25652013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2566
2567 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2568
31dca772
R
25692013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * subr.el (internal--call-interactively): New const.
2572 (called-interactively-p): Use it (bug#3984).
2573
98ccf24e
XF
25742013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2575
2576 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2577 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2578 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2579
c39cc7d1
SM
25802013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2583 (eshell-ls-orig-insert-directory): Remove.
2584 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2585 (eshell-ls-use-in-dired): Use advice-add/remove.
2586 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2587 Add `orig-fun' arg for use in :around advice.
2588 Make it check (redundantly) eshell-ls-use-in-dired.
2589
9a0289a2
GM
25902013-09-19 Glenn Morris <rgm@gnu.org>
2591
a2c501b8
GM
2592 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2593
c440407a
GM
2594 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2595
9a0289a2
GM
2596 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2597
85e05915
MA
25982013-09-19 Michael Albinus <michael.albinus@gmx.de>
2599
2600 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2601 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2602 (tramp-get-remote-python): New defuns.
2603 (tramp-get-remote-uid-with-perl)
2604 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2605 contributed by yary <not.com@gmail.com> (tiny change).
2606 (tramp-get-remote-uid-with-python)
2607 (tramp-get-remote-gid-with-python): New defuns. Python code
2608 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2609 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2610
ce503312
GM
26112013-09-19 Glenn Morris <rgm@gnu.org>
2612
f7544773
GM
2613 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2614
72fd2877
GM
2615 * eshell/em-unix.el (eshell-remove-entries):
2616 Rename argument to avoid name-clash with global `top-level'.
2617
336b5a56
GM
2618 * eshell/esh-proc.el (eshell-kill-process-function):
2619 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2620 (eshell-reset-after-proc): Remove unused arg `proc'.
2621
57a3a53d
GM
2622 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2623 (directory-files-and-attributes): Mark unused arg.
2624
3261d4af
GM
2625 * eshell/em-unix.el (eshell-remove-entries):
2626 Remove unused arg `path'. Update callers.
2627
8e51b5d0
GM
2628 * eshell/em-hist.el (eshell-hist-parse-arguments):
2629 Remove unused arg `silent'. Update callers.
2630
ce503312
GM
2631 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2632 Fix (f)boundp mix-up.
2633
2634 * eshell/em-smart.el (eshell-smart-scroll-window)
2635 (eshell-disable-after-change):
336b5a56 2636 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2637
ee3ce8a7
AM
26382013-09-18 Alan Mackenzie <acm@muc.de>
2639
2640 Fix fontification of type when followed by "const".
2641 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2642 "known" types from fontification.
2643
ec9177ba
GM
26442013-09-18 Glenn Morris <rgm@gnu.org>
2645
7bb3e768
GM
2646 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2647 (chart-face-list): Drop Emacsen without display-color-p.
2648
5148da15
GM
2649 * net/eww.el (libxml-parse-html-region): Declare.
2650 (eww-display-html): Explicit error if no libxml2 support.
2651
2f68e157
GM
2652 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2653
9019d095
GM
2654 * image.el (image-type-from-buffer, image-multi-frame-p):
2655 Remove --without-x warning/error.
67645389 2656
5f30349b 2657 * mouse.el (mouse-yank-primary):
45069b2e 2658 * term.el (term-mouse-paste):
5f30349b
GM
2659 Reorder to silence --without-x compilation.
2660
cd8edbbe
GM
2661 * mpc.el (doc-view-mode): Silence --without-x compilation.
2662
8a78544e
GM
2663 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2664 Silence --without-x compilation.
2665
12679bfd
GM
2666 * progmodes/gud.el (gud-find-file, gud-mode):
2667 Silence --without-x compilation.
2668 (tooltip-mode): Declare.
30810a05 2669
f0047cb9
GM
2670 * wdired.el (dired-backup-overwrite): Remove declaration.
2671 (wdired-mode-map): Add doc string.
2672
e740f9d2
GM
2673 * custom.el (x-get-resource): Declare.
2674
92d77c89
GM
2675 * eshell/em-glob.el (ange-cache):
2676 * eshell/em-unix.el (ange-cache): Declare.
2677
76e69577
GM
2678 * faces.el (x-display-list, x-open-connection, x-get-resource):
2679 Declare.
7e58af4b
GM
2680
2681 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2682 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2683 Declare.
76e69577 2684
4bd4c0af 2685 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2686
ffb82dbd
GM
2687 * net/gnutls.el (gnutls-log-level): Declare.
2688
986ed135
GM
2689 * net/shr.el (image-size, image-animate): Declare.
2690
e740f9d2
GM
2691 * simple.el (font-info): Declare.
2692
d2f3e9f8
GM
2693 * subr.el (x-popup-dialog): Declare.
2694
047a1a4c
GM
2695 * term/common-win.el (x-select-enable-primary)
2696 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2697 Declare.
2698
f4a1d572
GM
2699 * term/ns-win.el (x-handle-args): Declare.
2700
e843de77
GM
2701 * term/x-win.el (x-select-enable-clipboard): Declare.
2702
5fa89513
GM
2703 * term/w32-win.el (create-default-fontset): Declare.
2704
38702b5b
GM
2705 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2706 Declare.
2707
e740f9d2
GM
2708 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2709 (fit-frame-to-buffer): Explicit error if --without-x.
2710 (mouse-autoselect-window-select): Silence compiler.
2711
49a053fc
GM
2712 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2713
2714 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2715 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2716 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2717 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2718 Remove unused local variables.
2719
2720 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2721
ec9177ba
GM
2722 * textmodes/two-column.el: Make 2C-split work for --without-x.
2723 (scroll-bar-columns): Autoload.
2724 (top-level): Require fringe when compiling.
2725
9f25cb77
LL
27262013-09-18 Leo Liu <sdl.web@gmail.com>
2727
2728 * subr.el (add-hook): Robustify to handle closure as well.
2729
2b42da98
GM
27302013-09-17 Glenn Morris <rgm@gnu.org>
2731
2732 * simple.el (messages-buffer-mode-map): Unbind "g".
2733
e8b66a6a
SM
27342013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2735
9c0ad4f7
SM
2736 * help-mode.el (help-mode-finish): Use derived-mode-p.
2737 Remove obsolete highlighting.
2738
7a806dfb
SM
2739 * play/life.el (life-mode): Use define-derived-mode. Derive from
2740 special-mode.
2741 (life): Let-bind inhibit-read-only.
2742 (life-setup): Avoid `setq'. Use `life-mode'.
2743
96dbf5a8
SM
2744 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2745 which should not be needed any more.
2746 (package-menu-refresh, package-menu-describe-package): Use user-error.
2747
e8b66a6a
SM
2748 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2749 (eshell-post-rewrite-command-hook): Make obsolete.
2750 (eshell-parse-command): Simplify.
2751 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2752 (eshell--cmd): Declare.
2753 (eshell-parse-pipeline): Remove unused var `final-p'.
2754 Pass a dynvar to eshell-post-rewrite-command-hook.
2755 Implement the new eshell-post-rewrite-command-function.
2756 (eshell-invoke-directly): Remove unused arg `input'.
2757 * eshell/esh-io.el (eshell-io-initialize):
2758 Use eshell-post-rewrite-command-function (bug#15399).
2759 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2760 adjust to new calling convention.
2761 (eshell-create-handles): Rename args to avoid clashing with dynvar
2762 `standard-output'.
2763
90582f05
GM
27642013-09-17 Glenn Morris <rgm@gnu.org>
2765
2766 * simple.el (messages-buffer-mode): New major mode.
2767 (messages-buffer): New function.
2768 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2769 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2770 (ert-run-test): Use `messages-buffer' function.
90582f05 2771 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2772 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2773 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2774
39eb0cb5 27752013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2776
2777 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2778
1f1e06e2
SM
2779 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2780
70568a90
SM
27812013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2782
504a0381
SM
2783 * icomplete.el (icomplete-in-buffer): New var.
2784 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2785 vars and replace them with functions.
2786 (icomplete-minibuffer-setup): Adjust accordingly.
2787 (icomplete--completion-table, icomplete--completion-predicate)
2788 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2789 New functions.
2790 (icomplete-forward-completions, icomplete-backward-completions)
2791 (icomplete-simple-completing-p, icomplete-exhibit)
2792 (icomplete-completions): Use them.
2793 (icomplete--in-region-buffer): New var.
2794 (icomplete--in-region-setup): New function.
2795 (icomplete-mode): Use it.
2796
70568a90
SM
2797 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2798 (bug#15379).
2799 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2800 return args and options.
2801 (eshell-eval-using-options): Use the new return value of
2802 eshell--do-opts to set the options's vars in their scope.
2803 (eshell--set-option): Rename from eshell-set-option.
2804 Add arg `opt-vals'.
2805 (eshell--process-option): Rename from eshell-process-option.
2806 Add arg `opt-vals'.
2807 (eshell--process-args): Use an `opt-vals' alist to store the options's
2808 values during their processing and return them additionally to the
2809 remaining args.
2810
578c21bc
DG
28112013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2812
2813 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2814 continuation character an operator, as far as indentation is
2815 concerned (Bug#15369).
2816
c089653d
MR
28172013-09-15 Martin Rudalics <rudalics@gmx.at>
2818
2819 * window.el (window--state-put-2): Don't process buffer state
2820 when buffer doesn't exist any more (Bug#15382).
2821
1e53bb4b
GM
28222013-09-15 Glenn Morris <rgm@gnu.org>
2823
30753242
GM
2824 * eshell/em-unix.el (eshell/rm):
2825 Make -f ignore missing files. (Bug#15373)
2826
1e53bb4b
GM
2827 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2828 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2829 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2830
0d8863b3
GM
28312013-09-14 Glenn Morris <rgm@gnu.org>
2832
2833 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2834
d3fc6549
GM
28352013-09-13 Glenn Morris <rgm@gnu.org>
2836
2837 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2838 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2839
fcd42c11
DA
28402013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2841
2842 * frame.el (x-focus-frame): Mark as declared in frame.c.
2843
7830899f
SM
28442013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * ls-lisp.el: Use advice-add.
2847 (original-insert-directory): Remove.
2848 (ls-lisp--insert-directory): Rename from insert-directory; add
2849 `orig-fun' argument.
2850 (insert-directory): Advise.
2851
84387cd2
EZ
28522013-09-13 Eli Zaretskii <eliz@gnu.org>
2853
2854 * term.el (term-emulate-terminal): Decode the command string
2855 before passing it to term-command-hook. (Bug#15337)
2856
35ffc6ba
GM
28572013-09-13 Glenn Morris <rgm@gnu.org>
2858
5c3f9bcc
GM
2859 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2860
2ada368a
GM
2861 * eshell/esh-ext.el (eshell-search-path): Declare.
2862
fcef2e13
GM
2863 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2864 Otherwise an error occurs if eshell-dirs module not loaded.
2865
35ffc6ba
GM
2866 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2867
35c3d36e
MA
28682013-09-13 Michael Albinus <michael.albinus@gmx.de>
2869
2870 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2871 `tramp-check-proper-host'. Check for a valid method name.
2872
2873 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2874 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2875 * net/tramp-sh.el (tramp-maybe-open-connection):
2876 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2877
2878 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2879 also for hash values.
2880
ae5e4c48
SM
28812013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2882
379add74
SM
2883 * term/ns-win.el (parameters): Don't declare as dynamic.
2884 (before-make-frame-hook): Don't add ineffective function.
2885
ae5e4c48
SM
2886 * eshell/*.el: Use lexical-binding (bug#15231).
2887
b5623270
KH
28882013-09-12 Kenichi Handa <handa@gnu.org>
2889
ae5e4c48 2890 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2891
30213927
GM
28922013-09-12 Glenn Morris <rgm@gnu.org>
2893
be94d713 2894 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2895 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2896
44915370
GM
2897 * subr.el (do-after-load-evaluation): Also give compiler warnings
2898 when obsolete files are used (except by obsolete files).
2899
a6ae021f
GM
2900 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2901 in the status output, assume `filename' is the first. (Bug#15322)
2902
40e64f0c
GM
2903 * vc/vc.el (vc-deduce-fileset): Doc fix.
2904
16d9f896
GM
2905 * calc/calc-help.el (Info-goto-node):
2906 * progmodes/cperl-mode.el (Info-find-node):
2907 * vc/ediff.el (Info-goto-node): Update declarations.
2908
dea01c6e
GM
2909 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2910
759880bf 2911 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2912 (vc-bzr-pull): Require vc-dispatcher.
2913 * vc/vc-git.el (vc-compilation-mode): Declare.
2914 (vc-git-pull): Require vc-dispatcher.
2915
08d66420
GM
2916 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2917
30b626e9
GM
2918 * progmodes/octave.el (help-button-action): Declare.
2919
8c05cb10
GM
2920 * shell.el (shell-directory-tracker): Output error as a message
2921 rather than just returning it as a string.
2922 (shell-process-pushd): Remove useless use of message.
2923
30213927
GM
2924 * dframe.el (dframe-timer-fn):
2925 * files.el (dir-locals-read-from-file):
2926 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2927 (mpc-format):
2928 * reveal.el (reveal-post-command):
2929 * saveplace.el (load-save-place-alist-from-file):
2930 * shell.el (shell-resync-dirs):
2931 * w32-common-fns.el (x-get-selection-value):
2932 * emacs-lisp/copyright.el (copyright-find-copyright):
2933 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2934 * emulation/tpu-edt.el (tpu-copy-keyfile):
2935 * play/bubbles.el (bubbles--mark-neighbourhood):
2936 * progmodes/executable.el
2937 (executable-make-buffer-file-executable-if-script-p):
2938 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2939
d3b049e6
SM
29402013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2941
170266d0
SM
2942 Cleanup Eshell to rely less on dynamic scoping.
2943 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2944 last-value, and ext-command here. Bind `args' closer to `body'.
2945 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2946 (eshell--args): Declare new dynamic var.
2947 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2948 last-value, and ext-command. Pass `args' to `body'.
2949 (eshell-process-args): Bind eshell--args.
2950 (eshell-set-option): Use eshell--args.
2951 * eshell/eshell.el (eshell): Use derived-mode-p.
2952 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2953 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2954 (eshell-glob-function): Declare.
2955 * eshell/esh-util.el: Require cl-lib.
2956 (eshell-read-hosts-file): Avoid add-to-list.
2957 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2958 `err'.
2959 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2960 Declare.
2961 (eshell/diff): Remove unused var `err'.
2962 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2963 `killflag'.
2964 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2965 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2966 first use.
2967 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2968 Move declaration before first use.
2969 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2970 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2971 rely on cl-return.
2972
56834f3b
GM
29732013-09-12 Glenn Morris <rgm@gnu.org>
2974
2975 * term/ns-win.el (global-map): Remove binding for ispell-next,
2976 deleted 1999-05-29. (Bug#15357)
2977
5c91a2b8
GM
29782013-09-11 Glenn Morris <rgm@gnu.org>
2979
da712f22
GM
2980 * echistory.el (electric-command-history): Remove call to deleted func.
2981
512e4cdc
GM
2982 * play/landmark.el (landmark-mode): Fix typos.
2983
d3506ca5
GM
2984 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2985 Check cvs-sort-ignore-file is bound.
2986
5c91a2b8
GM
2987 * savehist.el: No need for cl when compiling on Emacs.
2988
feeff482
SM
29892013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2990
656bd483
SM
2991 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2992 (bug#15338).
d3b049e6
SM
2993 (eshell-self-insert-command, eshell-send-invisible):
2994 Remove unused argument.
656bd483
SM
2995 (eshell-handle-control-codes): Remove unused var `orig'.
2996 Avoid delete-backward-char.
2997
feeff482
SM
2998 * files.el (set-auto-mode): Simplify a bit further.
2999
2a08047a
GM
30002013-09-11 Glenn Morris <rgm@gnu.org>
3001
3002 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3003 (set-auto-mode): Don't regexp-quote elements.
3004 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3005 * progmodes/cc-mode.el (interpreter-mode-alist):
3006 * progmodes/ruby-mode.el (interpreter-mode-alist):
3007 Revert previous change.
3008
34675540
SM
30092013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3010
1b3b87df
SM
3011 * play/snake.el (snake-mode):
3012 * play/mpuz.el (mpuz-mode):
3013 * play/landmark.el (lm-mode):
3014 * play/blackbox.el (blackbox-mode):
3015 * play/5x5.el (5x5-mode):
3016 * obsolete/options.el (Edit-options-mode):
3017 * net/quickurl.el (quickurl-list-mode):
3018 * net/newst-treeview.el (newsticker-treeview-mode):
3019 * mail/rmailsum.el (rmail-summary-mode):
3020 * mail/mspools.el (mspools-mode):
3021 * locate.el (locate-mode):
3022 * ibuffer.el (ibuffer-mode):
3023 * emulation/ws-mode.el (wordstar-mode):
3024 * emacs-lisp/debug.el (debugger-mode):
3025 * array.el (array-mode):
3026 * net/eudc.el (eudc-mode): Use define-derived-mode.
3027 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3028 Move initialization into declaration.
3029 (mairix-searches-mode): Use define-derived-mode.
3030 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3031 (eudc-edit-hotlist): Use dolist.
3032 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3033 (Man-mode): Use define-derived-mode.
3034 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3035 (Info-edit-mode): Use define-derived-mode.
3036 (Info-cease-edit): Use Info-mode.
3037 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3038 into declaration.
3039 (eshell-mode): Use define-derived-mode.
3040 * chistory.el (command-history-mode-map): Rename from
3041 command-history-map.
3042 (command-history-mode): Use define-derived-mode.
da712f22 3043 (Command-history-setup): Remove function.
1b3b87df
SM
3044 * calc/calc.el (calc-trail-mode-map): New var.
3045 (calc-trail-mode): Use define-derived-mode.
3046 (calc-trail-buffer): Set calc-main-buffer manually.
3047 * bookmark.el (bookmark-insert-annotation): New function.
3048 (bookmark-edit-annotation): Use it.
3049 (bookmark-edit-annotation-mode): Make it a proper major mode.
3050 (bookmark-send-edited-annotation): Use derived-mode-p.
3051 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3052 closer to its ideal place. Use \' to match EOS.
3053
34675540
SM
3054 * profiler.el (profiler-calltree-find): Use function-equal.
3055
6a5c15d9
GM
30562013-09-10 Glenn Morris <rgm@gnu.org>
3057
1af4c220
GM
3058 * files.el (interpreter-mode-alist): Convert to regexps.
3059 (set-auto-mode): Adapt for this. (Bug#15306)
3060 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3061 Comment out unused variable.
3062 * progmodes/cc-mode.el (interpreter-mode-alist):
3063 * progmodes/python.el (interpreter-mode-alist):
3064 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3065 * progmodes/sh-script.el (sh-set-shell):
3066 No longer use interpreter-mode-alist to get list of shells.
3067
6a5c15d9
GM
3068 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3069
8c27f5ff
SM
30702013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3071
02ef6c1a 3072 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3073 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3074 Bind switch-frame explicitly. Replace universal-argument-minus with
3075 a conditional binding.
3076 (universal-argument-num-events, saved-overriding-map): Remove.
3077 (restore-overriding-map): Remove.
3078 (universal-argument--mode): Rename from save&set-overriding-map,
3079 and rewrite.
3080 (universal-argument, universal-argument-more, negative-argument)
3081 (digit-argument): Adjust accordingly.
3082 (universal-argument-minus): Remove.
3083 (universal-argument-other-key): Remove.
3084
8c27f5ff
SM
3085 * subr.el (with-demoted-errors): Add `format' argument.
3086
6480194c
MA
30872013-09-10 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3090 `tramp-cleanup-connection'.
3091
3092 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3093 parameters KEEP-DEBUG and KEEP-PASSWORD.
3094
3095 * net/tramp.el (tramp-file-name-handler):
3096 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3097 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3098 (tramp-maybe-open-connection):
8c27f5ff
SM
3099 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3100 Use `tramp-cleanup-connection'.
6480194c 3101
8c27f5ff
SM
3102 * net/tramp-sh.el (tramp-maybe-open-connection):
3103 Catch 'uname-changed inside the progress reporter.
6480194c 3104
e5e916d8
GM
31052013-09-10 Glenn Morris <rgm@gnu.org>
3106
9a2c9b47
GM
3107 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3108
e5e916d8
GM
3109 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3110 returns "alternate access method" in mode (eg "-rw-r--r--.").
3111
144e38fe
GM
31122013-09-08 Glenn Morris <rgm@gnu.org>
3113
3114 * saveplace.el (load-save-place-alist-from-file):
3115 Demote errors. (Bug#15305)
3116
af9ff9e8
MA
31172013-09-08 Michael Albinus <michael.albinus@gmx.de>
3118
3119 Improve compatibility with older Emacsen, and XEmacs.
3120
3121 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3122 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3123 (with-tramp-progress-reporter): Do not let-bind `result'.
3124 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3125 (tramp-handle-make-auto-save-file-name): New function, moved from
3126 tramp-sh.el.
3127
3128 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3129 for `make-auto-save-file-name'.
8c27f5ff
SM
3130 (tramp-adb--gnu-switches-to-ash):
3131 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3132
3133 * net/tramp-cache.el (tramp-cache-print): Call
3134 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3135
3136 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3137 bound. It isn't for XEmacs.
3138
8c27f5ff
SM
3139 * net/tramp-compat.el (tramp-compat-copy-file):
3140 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3141 (tramp-compat-replace-regexp-in-string): New defun.
3142
3143 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3144 for `make-auto-save-file-name'.
3145 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3146 `copy-file'.
3147 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3148 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3149 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3150
8c27f5ff
SM
3151 * net/tramp-gw.el (tramp-gw-open-network-stream):
3152 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3153
8c27f5ff
SM
3154 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3155 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3156 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3157 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3158 (tramp-sh-file-inotifywait-process-filter):
3159 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3160 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3161
3162 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3163 for `make-auto-save-file-name'.
8c27f5ff
SM
3164 (tramp-smb-handle-copy-directory):
3165 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3166 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3167 (tramp-smb-handle-copy-file): Improve error message.
3168 (tramp-smb-handle-rename-file): Rename directly only in case
3169 `newname' does not exist yet. This is a restriction of smbclient.
3170 (tramp-smb-maybe-open-connection): Rerun the function only when
3171 `auth-sources' is non-nil.
3172
0ca754d0
KH
31732013-09-08 Kenichi Handa <handa@gnu.org>
3174
3175 * international/characters.el: Set category "^" (Combining) for
3176 more characters.
3177
e8dd0787
AM
31782013-09-07 Alan Mackenzie <acm@muc.de>
3179
3180 Correctly fontify Java class constructors.
3181 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3182 in Java Mode.
3183 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3184 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3185 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3186 "typeless" declaration there.
3187
f2f248e7
RW
31882013-09-07 Roland Winkler <winkler@gnu.org>
3189
3190 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3191 field subtitle for entry type book.
3192
67982e2b
SM
31932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * minibuffer.el: Make minibuffer-complete call completion-in-region
3196 rather than other way around.
3197 (completion--some, completion-pcm--find-all-completions):
3198 Don't delay signals when debugging.
3199 (minibuffer-completion-contents): Beware fields within the
3200 minibuffer contents.
3201 (completion-all-sorted-completions): Use defvar-local.
3202 (completion--do-completion, completion--cache-all-sorted-completions)
3203 (completion-all-sorted-completions, minibuffer-force-complete):
3204 Add args `beg' and `end'.
3205 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3206 (minibuffer-complete): Use completion-in-region.
3207 (completion-complete-and-exit): New fun, extracted from
3208 minibuffer-complete-and-exit.
3209 (minibuffer-complete-and-exit): Use it.
3210 (completion--complete-and-exit): Rename from
3211 minibuffer--complete-and-exit.
3212 (completion-in-region--single-word): New function, extracted from
3213 minibuffer-complete-word.
3214 (minibuffer-complete-word): Use it.
3215 (display-completion-list): Make `common-substring' argument obsolete.
3216 (completion--in-region): Call completion--in-region-1 instead of
3217 minibuffer-complete.
3218 (completion-help-at-point): Pass boundaries to
3219 minibuffer-completion-help as args rather than via an overlay.
3220 (completion-pcm--string->pattern): Use `any-delim'.
3221 (completion-pcm--optimize-pattern): New function.
3222 (completion-pcm--pattern->regex): Handle `any-delim'.
3223 * icomplete.el (icomplete-forward-completions)
3224 (icomplete-backward-completions, icomplete-completions):
3225 Adjust calls to completion-all-sorted-completions and
3226 completion--cache-all-sorted-completions.
3227 (icomplete-with-completion-tables): Default to t.
3228 * emacs-lisp/crm.el (crm--current-element): Rename from
3229 crm--select-current-element. Don't put an overlay but return the
3230 boundaries instead.
3231 (crm--completion-command): Take two new args to bind to the boundaries.
3232 (crm-completion-help): Adjust accordingly.
3233 (crm-complete): Use completion-in-region.
3234 (crm-complete-word): Use completion-in-region--single-word.
3235 (crm-complete-and-exit): Use completion-complete-and-exit.
3236
e17d94a5
SM
32372013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3240 than dynamically.
3241
96727100
JL
32422013-09-06 Juri Linkov <juri@jurta.org>
3243
3244 * info.el (Info-display-images-node): When image file doesn't exist
3245 display text version of the image if it's provided in the Info file.
3246 Otherwise, display the location of missing image from SRC attribute.
3247 Add help-echo text property from ALT attribute. (Bug#15279)
3248
86cf7329
SM
32492013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3252 (edit-abbrevs-mode): Use define-derived-mode.
3253
3254 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3255 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3256 that it's defined.
3257 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3258 Use define-derived-mode.
3259
3260 * epg.el (epg-start-encrypt): Minor CSE simplification.
3261
816244a2
WX
32622013-09-06 William Xu <william.xwl@gmail.com>
3263
3264 * arc-mode.el: Add support for 7za (bug#15264).
3265 (archive-7z-program): New var.
3266 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3267 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3268 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3269
1486fa31
MA
32702013-09-06 Michael Albinus <michael.albinus@gmx.de>
3271
3272 Remove URL syntax.
3273
3274 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3275 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3276 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3277 (tramp-postfix-host-format, tramp-file-name-regexp)
3278 (tramp-completion-file-name-regexp)
3279 (tramp-completion-dissect-file-name)
3280 (tramp-handle-substitute-in-file-name): Remove 'url case.
3281 (tramp-file-name-regexp-url)
3282 (tramp-completion-file-name-regexp-url): Remove constants.
3283
39785324
GM
32842013-09-06 Glenn Morris <rgm@gnu.org>
3285
3286 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3287
1f896cb7
DG
32882013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3289
3290 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3291 keywords" below "here-doc beginnings" (Bug#15270).
3292
c0458e0b
SM
32932013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * subr.el (pop): Use `car-safe'.
3296 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3297 to detect unused `pop' return value.
3298
3299 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3300 var `block-regexp'.
3301 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3302 (python-fill-string): Remove unused var `marker'.
3303 (python-skeleton-add-menu-items): Remove unused var `items'.
3304
3305 * international/mule-cmds.el: Require CL.
3306 (find-coding-systems-for-charsets): Avoid add-to-list.
3307 (sanitize-coding-system-list): New function, extracted from
3308 select-safe-coding-system-interactively.
3309 (select-safe-coding-system-interactively): Use it.
3310 (read-input-method-name): Accept symbols for `default'.
3311
3312 * emacs-lisp/advice.el (defadvice): Add indent rule.
3313
6c42fc3e
DH
33142013-09-05 Daniel Hackney <dan@haxney.org>
3315
3316 * dired-x.el:
3317 * net/ange-ftp.el:
3318 * net/browse-url.el:
3319 * net/dbus.el:
3320 * net/eudc.el:
3321 * net/eudcb-ldap.el:
3322 * net/eww.el:
3323 * net/imap.el:
3324 * printing.el:
3325 * vc/ediff-diff.el:
3326 * vc/ediff-init.el:
3327 * vc/ediff-merg.el:
3328 * vc/ediff-mult.el:
3329 * vc/ediff-util.el:
3330 * vc/ediff-wind.el:
3331 * vc/ediff.el:
3332 * vc/emerge.el:
3333 * vc/pcvs.el:
3334 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3335 byte compiler. Remove some unused let-bound variables.
3336
4c528aab
SM
33372013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3340 a "ref-cell", since it gets better optimized (bug#14883).
3341
bd15c390
GM
33422013-09-05 Glenn Morris <rgm@gnu.org>
3343
3344 * progmodes/cc-awk.el (c-forward-sws): Declare.
3345
1c3ac2e5
GM
33462013-09-04 Glenn Morris <rgm@gnu.org>
3347
3348 * generic-x.el [rul-generic-mode]: Require cc-mode.
3349 (c++-mode-syntax-table): Declare.
3350 (rul-generic-mode-syntax-table): Init in the defvar.
3351
52b1cc79
SM
33522013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3353
c828af56
SM
3354 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3355 (vc-do-command, vc-set-async-update):
3356 * vc/vc-mtn.el (vc-mtn-dir-status):
3357 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3358 (vc-hg-pull, vc-hg-merge-branch):
3359 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3360 (vc-git-merge-branch):
3361 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3362 (vc-cvs-dir-status-files):
3363 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3364 (vc-bzr-dir-status-files):
3365 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3366 * vc/vc-annotate.el: Use lexical-binding.
3367 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3368 (vc-sentinel-movepoint): Declare.
3369 (vc-annotate): Don't use `goto-line'.
3370 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3371 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3372 (vc-sentinel-movepoint): Declare.
3373 * vc/vc-svn.el: Use lexical-binding.
3374 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3375 * vc/vc-sccs.el:
3376 * vc/vc-rcs.el: Use lexical-binding.
3377
abae272c
SM
3378 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3379 `deleted'. Don't drop errors silently.
3380
52b1cc79
SM
3381 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3382
63191d9f
XF
33832013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3384
3385 * vc/vc.el (vc-ignore): Rewrite.
3386 (vc-default-ignore): New function.
3387 (vc-default-ignore-completion-table): Use find-ignore-file.
3388
3389 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3390 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3391 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3392 Remove. Most code moved to vc.el.
3393
9d3f707c
SM
33942013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3395
abae272c 3396 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3397 * net/tramp-smb.el (tramp-smb-get-file-entries):
3398 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3399 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3400
fde38d49
SM
3401 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3402 Update call to it.
3403 (eww-change-select): Remove unused var `properties'.
3404 (eww-make-unique-file-name): Remove unused var `base'.
3405
3406 * finder.el (finder-compile-keywords): Don't mess with windows.
3407
84032db7
SM
3408 * calculator.el (calculator-funcall): Fix typo in last change.
3409
724f5e41
SM
3410 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3411
14b511d4
SM
3412 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3413 <pkg>-autoloads.el file stop us.
3414
9d3f707c 3415 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3416 warnings, and factor out common code.
9d3f707c 3417
88527bc0
DG
34182013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3419
3420 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3421 two-character operators and whether the character preceding them
3422 changes their meaning (Bug#15208).
3423
96edb677
FEG
34242013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3425
3426 Format code sent to Python shell for robustness.
9d3f707c
SM
3427 * progmodes/python.el (python-shell-buffer-substring):
3428 New function.
96edb677
FEG
3429 (python-shell-send-region, python-shell-send-buffer): Use it.
3430
95beaef3
MA
34312013-09-02 Michael Albinus <michael.albinus@gmx.de>
3432
3433 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3434 * net/tramp.el (tramp-user-error): ... here.
3435 (tramp-find-method, tramp-check-proper-host)
3436 (tramp-dissect-file-name, tramp-debug-message)
3437 (tramp-handle-shell-command):
3438 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3439 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3440
3441 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3442
f167c27b
MR
34432013-09-02 Martin Rudalics <rudalics@gmx.at>
3444
3445 * avoid.el (mouse-avoidance-point-position)
3446 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3447 returns nil.
3448
cd16c5f1
FEG
34492013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3450
3451 * progmodes/python.el (python-shell-completion-get-completions):
3452 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3453 (python-nav-if-name-main): New command.
cd16c5f1 3454
e73c3a0d
GM
34552013-09-01 Glenn Morris <rgm@gnu.org>
3456
f8ccce03
GM
3457 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3458 Avoid leading space in $wins. Otherwise the sed command used by
3459 eg compile-main ends up containing "/*.el". (Bug#15170)
3460
e73c3a0d
GM
3461 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3462
415f808e
GM
34632013-08-30 Glenn Morris <rgm@gnu.org>
3464
3465 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3466 Fix is-this-a-directory logic. (Bug#15220)
3467
f069bba8
SM
34682013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3469
112798c1
SM
3470 * textmodes/css-mode.el: Use SMIE.
3471 (css-smie-grammar): New var.
3472 (css-smie--forward-token, css-smie--backward-token)
3473 (css-smie-rules): New functions.
3474 (css-mode): Use them.
3475 (css-navigation-syntax-table): Remove var.
3476 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3477 (css-indent-calculate, css-indent-line): Remove functions.
3478
3479 Misc changes to reduce use of `(lambda...); and other cleanups.
3480 * cus-edit.el: Use lexical-binding.
3481 (customize-push-and-save, customize-apropos)
3482 (custom-buffer-create-internal): Use closures.
3483 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3484 * progmodes/ada-xref.el: Use setq.
3485 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3486 * dframe.el: Use lexical-binding.
3487 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3488 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3489 * descr-text.el: Use lexical-binding.
3490 (describe-text-widget, describe-text-sexp, describe-property-list):
3491 Use closures.
3492 * comint.el (comint-history-isearch-push-state): Use a closure.
3493 * calculator.el: Use lexical-binding.
3494 (calculator-number-to-string): Make it work with lexical-binding.
3495 (calculator-funcall): Same and use cl-letf.
3496
2da4c3ab
SM
3497 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3498 (lisp--company-doc-string, lisp--company-location): New functions.
3499 (lisp-completion-at-point): Use them to improve Company support.
3500
f069bba8
SM
3501 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3502 params of lambda expressions.
3503 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3504 (ruby-smie--opening-pipe-p): New function.
3505 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3506 symbols and matched |...| for formal params.
3507 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3508 from being treated as hanging. Handle "rescue".
3509
6758b6a8
GM
35102013-08-29 Glenn Morris <rgm@gnu.org>
3511
3512 * progmodes/cc-engine.el (c-pull-open-brace):
3513 Move definition before use.
3514
e8dfd197
SM
35152013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3518 are immutable. Don't use `unsafe' any more.
3519 (cl--defsubst-expand): Don't substitute at the same time as keeping
3520 a residual unused let-binding. Don't use `unsafe' any more.
3521
cc585c96
GM
35222013-08-29 Glenn Morris <rgm@gnu.org>
3523
ba579ea6
GM
3524 * calendar/cal-china.el (calendar-chinese-year-cache):
3525 Recenter on 2015.
3526
8201a87e
GM
3527 * nxml/nxml-util.el (nxml-debug-clear-inside):
3528 Use cl-loop rather than loop.
3529
6ee877c7
GM
3530 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3531
cc585c96
GM
3532 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3533
27be8d39
GM
35342013-08-28 Glenn Morris <rgm@gnu.org>
3535
397440a1
GM
3536 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3537
2bb762d4
GM
3538 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3539
27be8d39
GM
3540 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3541
2d69b99e
SM
35422013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3543
f663baa7
SM
3544 * simple.el (repeat-complex-command--called-interactively-skip):
3545 New function.
3546 (repeat-complex-command): Use it (bug#14136).
3547
dd4f8b74
SM
3548 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3549 (c-define-abbrev-table): Add `doc' argument.
3550 (c-mode-abbrev-table, c++-mode-abbrev-table)
3551 (objc-mode-abbrev-table, java-mode-abbrev-table)
3552 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3553 (awk-mode-abbrev-table): Use it.
3554 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3555 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3556 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3557 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3558 Move initialization into the declaration; and remove any
3559 autoload cookie.
3560
b58969f7
SM
3561 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3562 and dynamic let binding.
3563
4021d6a6
SM
3564 * vc/smerge-mode.el: Remove redundant :group args.
3565
2d69b99e
SM
3566 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3567 to load-path.
3568
274919fd
JL
35692013-08-28 Juri Linkov <juri@jurta.org>
3570
3571 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3572 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3573 (isearch-other-meta-char): Handle an undefined shifted printing
3574 character by downshifting it. (Bug#15200)
3575
121f8c95
JL
35762013-08-28 Juri Linkov <juri@jurta.org>
3577
3578 * isearch.el (isearch-search): Change regexp error message for
3579 non-regexp searches. (Bug#15166)
3580
50b13cde
PE
35812013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3582
3583 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3584 for portability to hosts where /bin/sh has problems.
3585
95888bca
SM
35862013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3589
bbe558f1
JL
35902013-08-27 Juri Linkov <juri@jurta.org>
3591
3592 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3593 in the keyboard macro. (Bug#15126)
3594
26f98a7d
JL
35952013-08-27 Juri Linkov <juri@jurta.org>
3596
3597 * isearch.el (isearch-quote-char): Comment out converting unibyte
3598 to multibyte, thus syncing with its `quoted-insert' counterpart.
3599 (Bug#15166)
3600
7c97d35e
MR
36012013-08-27 Martin Rudalics <rudalics@gmx.at>
3602
3603 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3604 argument in call of get-largest-window (Bug#15185).
3605 Reported by Stephen Leake.
7c97d35e 3606
a0b5606e 36072013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3608
3609 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3610
9e89d835
SM
36112013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3614 from a matcher-function unless there's no more matches (bug#15161).
3615
78fc2530
MA
36162013-08-26 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * minibuffer.el: Revert change from 2013-08-20.
3619
3620 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3621 with text property `tramp-default', if appropriate.
3622 (tramp-check-proper-host): New defun.
3623 (tramp-dissect-file-name): Do not check hostname. Revert change
3624 of 2013-03-18.
3625 (tramp-backtrace): Make VEC-OR-PROC optional.
3626
3627 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3628 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3629 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3630 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3631 Apply `tramp-check-proper-host'.
78fc2530 3632
edca97cd
TH
36332013-08-26 Tassilo Horn <tsdh@gnu.org>
3634
3635 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3636 lambda expression in order to have `describe-variable' display it.
3637
df54bcbd
MA
36382013-08-26 Michael Albinus <michael.albinus@gmx.de>
3639
3640 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3641 BUF can be optional. (Bug#15186)
3642
eed99101
XF
36432013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3644
3645 * progmodes/flymake.el (flymake-get-real-file-name-function):
3646 Fix broken customization. (Bug#15184)
3647
b5eb9035
AM
36482013-08-25 Alan Mackenzie <acm@muc.de>
3649
8a51e842
AM
3650 Improve indentation of bracelists defined by macros (without "=").
3651
3652 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3653 expansion begins with "{", regard it as bracelist when it doesn't
3654 contain a ";".
3655
869455d4
AM
3656 Parse C++ inher-intro when there's a template split over 2 lines.
3657
3658 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3659 rigorously the search for "class" etc. followed by ":".
3660
3661 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3662 random languages a regexp which never matches rather than nil.
3663
b5eb9035
AM
3664 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3665
3666 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3667 (c-awk-regexp-one-line-possibly-open-char-list-re)
3668 (c-awk-one-line-possibly-open-regexp-re)
3669 (c-awk-one-line-non-syn-ws*-re): Remove.
3670 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3671 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3672 (c-awk-space*-unclosed-regexp-/-re): New constants.
3673 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3674 aren't regexp delimiters.
3675
3676 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3677 handling for a rare situation in AWK Mode involving unterminated
3678 strings/regexps.
3679
61611d54
GM
36802013-08-23 Glenn Morris <rgm@gnu.org>
3681
2d85dc34
GM
3682 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3683
cb8d2612
GM
3684 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3685
bb35f42f
GM
3686 * files.el (create-file-buffer): If the result would begin with
3687 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3688
b9808e77
SM
36892013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3690
e3a66363
SM
3691 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3692 text-properties (bug#15155).
3693
b9808e77
SM
3694 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3695 exist any more.
3696 (calc-keypad-redraw): Remove unused var `pad'.
3697 (calc-keypad-press): Remove unused var `menu'.
3698
7fd5f65e
MR
36992013-08-23 Martin Rudalics <rudalics@gmx.at>
3700
b9808e77
SM
3701 * window.el (display-buffer-pop-up-frame):
3702 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3703 use it as the new frame's buffer (Bug#15133).
3704
8352b530
SM
37052013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * calendar/timeclock.el: Minor cleanups.
3708 (timeclock-ask-before-exiting, timeclock-use-display-time):
3709 Use `symbol'.
3710 (timeclock-modeline-display): Define as alias before the
3711 actual definition.
3712 (timeclock-mode-line-display): Use define-minor-mode.
3713 (timeclock-day-list-template): Make it a function, add an argument.
3714 (timeclock-day-list-required, timeclock-day-list-length)
3715 (timeclock-day-list-debt, timeclock-day-list-span)
3716 (timeclock-day-list-break): Adjust calls accordingly.
3717
9f7b1925
SM
37182013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3721 Use read--expression so that completion works again.
3722
6e50e983
SS
37232013-08-21 Sam Steingold <sds@gnu.org>
3724
3725 Add rudimentary inferior shell interaction
3726 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3727 (sh-set-shell): Reset it.
9f7b1925
SM
3728 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3729 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3730
dbb0d350
SM
37312013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * align.el: Use lexical-binding.
3734 (align-region): Simplify accordingly.
3735
c88586a9
MA
37362013-08-20 Michael Albinus <michael.albinus@gmx.de>
3737
3738 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3739
3740 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3741 `non-essential' up.
3742
f95527c8
MA
37432013-08-17 Michael Albinus <michael.albinus@gmx.de>
3744
3745 * net/tramp.el:
3746 * net/tramp-adb.el:
3747 * net/tramp-cmds.el:
3748 * net/tramp-ftp.el:
3749 * net/tramp-gvfs.el:
3750 * net/tramp-gw.el:
3751 * net/tramp-sh.el: Don't wrap external variable declarations by
3752 `eval-when-compile'.
3753
4b5fe4ee
LMI
37542013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3755
3756 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3757 now that Emacs supports ImageMagick animations.
3758
13c366c9
MA
37592013-08-16 Michael Albinus <michael.albinus@gmx.de>
3760
3761 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3762 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3763
3dfc5cd6
MR
37642013-08-16 Martin Rudalics <rudalics@gmx.at>
3765
3766 * window.el (mouse-autoselect-window-select): Do autoselect when
3767 mouse pointer is on margin.
3768
4bbb4381
WP
37692013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3770
3771 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3772
3a2ddc2d
GM
37732013-08-16 Glenn Morris <rgm@gnu.org>
3774
e8bedf5a
GM
3775 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3776 Handle "Remote Directory" response of some clients. (Bug#15058)
3777
58c4682f
GM
3778 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3779 Tweak warning. (Bug#14926)
3780
57953f49
GM
3781 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3782 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3783
3a2ddc2d
GM
3784 * image-mode.el (image-mode-map): Add menu items to reverse,
3785 increase, decrease, reset animation speed.
3786 (image--set-speed, image-increase-speed, image-decrease-speed)
3787 (image-reverse-speed, image-reset-speed): New functions.
3788 (image-mode-map): Add bindings for speed commands.
3789
3790 * image.el (image-animate-get-speed, image-animate-set-speed):
3791 New functions.
3792 (image-animate-timeout): Respect image :speed property.
3793
10fa0ed3
SM
37942013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3797 previous line (bug#15101).
3798 (debugger-eval-expression, debugger-record-expression):
3799 Use read--expression (bug#15102).
3800
5d89d9d2
MA
38012013-08-15 Michael Albinus <michael.albinus@gmx.de>
3802
3803 Remove byte compiler warnings, visible when compiling with
3804 `byte-compile-force-lexical-warnings' set to t.
3805
3806 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3807 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3808 (tramp-handle-unhandled-file-name-directory)
3809 (tramp-handle-file-notify-add-watch, tramp-action-login)
3810 (tramp-action-succeed, tramp-action-permission-denied)
3811 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3812 arguments with "_".
3813
3814 * net/tramp-adb.el (tramp-adb-parse-device-names)
3815 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3816 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3817 (tramp-adb-handle-file-truename): Remove unused arguments.
3818
3819 * net/tramp-cache.el (tramp-flush-directory-property)
3820 (tramp-flush-connection-property, tramp-list-connections)
3821 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3822
10fa0ed3
SM
3823 * net/tramp-compat.el (tramp-compat-make-temp-file):
3824 Rename FILENAME to F.
5d89d9d2
MA
3825
3826 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3827 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3828 (tramp-zeroconf-parse-workstation-device-names)
3829 (tramp-zeroconf-parse-webdav-device-names)
3830 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3831
3832 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3833 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3834
3835 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3836 arguments.
3837 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3838 (tramp-sh-handle-insert-file-contents-literally)
3839 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3840 with "_".
3841 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3842 Remove unused variables.
3843
3844 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3845 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3846 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3847
3848 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3849 Make them a defconst.
3850 (tramp-uuencode-region): Remove unused variable.
3851
62f33bae
JB
38522013-08-14 Juanma Barranquero <lekktu@gmail.com>
3853
3854 * frameset.el (frameset--prop-setter): New function.
3855 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3856 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3857 parameter was already set in FILTERED. Doc fix.
3858 (frameset--record-minibuffer-relationships): Allow saving a
3859 minibufferless frame without its corresponding minibuffer frame.
3860 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3861 frame, if the frame id matches.
3862 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3863 frames before orphaned ones.
3864 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3865
c660a885
MR
38662013-08-14 Martin Rudalics <rudalics@gmx.at>
3867
3868 * window.el (window-make-atom): Don't overwrite parameter
3869 already present.
3870 (display-buffer-in-atom-window): Handle special case where we
3871 split an already atomic window.
3872 (window--major-non-side-window, display-buffer-in-side-window)
3873 (window--side-check): Ignore minibuffer window when walking
3874 window tree.
3875 (window-deletable-p): Return 'frame only if no other frame uses
3876 our minibuffer window.
3877 (record-window-buffer): Run buffer-list-update-hook.
3878 (split-window): Make sure window--check-frame won't destroy an
3879 existing atomic window in case the new window gets nested
3880 inside.
3881 (display-buffer-at-bottom): Ignore minibuffer window when
3882 walking window tree. Don't split a side window.
3883 (pop-to-buffer): Don't set-buffer here, the select-window call
3884 should do that.
3885 (mouse-autoselect-window-select): Autoselect only if we are in the
3886 text portion of the window.
3887
8259030d
LMI
38882013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3889
21c58ae2
LMI
3890 * net/shr.el (shr-parse-image-data): New function to grab both the
3891 data itself and the Content-Type.
3892 (shr-put-image): Use it.
3893
3894 * net/eww.el (eww-display-image): Ditto.
3895
8259030d
LMI
3896 * image.el (image-content-type-suffixes): New variable.
3897
ad756449
FEG
38982013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3899
3900 * progmodes/python.el (python-imenu--build-tree)
3901 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3902
f73f4ce6
XF
39032013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3904
3905 * simple.el (backward-word): Mention the optional argument.
3906
1f585e65
SM
39072013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * frameset.el (frameset--make): Rename constructor from make-frameset.
3910 (frameset-p, frameset-valid-p): Don't autoload.
3911 (frameset-valid-p): Use normal accessors.
3912
af1c6c84
GM
39132013-08-13 Glenn Morris <rgm@gnu.org>
3914
55e47f95
GM
3915 * progmodes/compile.el (compile-command): Tweak example in doc.
3916 * obsolete/scribe.el (scribe-mode):
3917 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3918
f0024d8c
GM
3919 * mail/feedmail.el (feedmail-confirm-outgoing)
3920 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3921
3922 * cus-start.el (truncate-partial-width-windows): Fix type.
3923
3924 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3925
af1c6c84
GM
3926 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3927
5514cc4c
SM
39282013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 * emacs-lisp/timer.el (timer--time-setter): New function.
3931 (timer--time): Use it as gv-setter.
3932
3933 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3934 setter is not a symbol.
3935
7997a2f1
GJ
39362013-08-12 Grégoire Jadi <daimrod@gmail.com>
3937
3938 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3939 if sending fails. This makes debugging easier.
3940
01f1a9ab
JB
39412013-08-12 Juanma Barranquero <lekktu@gmail.com>
3942
3943 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3944 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3945 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3946
594a4307
EZ
39472013-08-12 Eli Zaretskii <eliz@gnu.org>
3948
3949 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3950
7a22490f 39512013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3952
3953 * format.el (format-annotate-function):
3954 Handle read-only text properties in the source. (Bug#14887)
3955
3e41a054
LMI
39562013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3957
5514cc4c
SM
3958 * net/eww.el (eww-display-html): Ignore coding system errors.
3959 One web site uses "utf-8lias" as the coding system.
3e41a054 3960
7ec326db
JB
39612013-08-11 Juanma Barranquero <lekktu@gmail.com>
3962
3963 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3964
5660113b
JB
39652013-08-10 Juanma Barranquero <lekktu@gmail.com>
3966
9a4ebc74
JB
3967 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3968 (tutorial--detailed-help): Remove unused local variables.
3969 (tutorial--save-tutorial-to): Use ignore-errors.
3970 (help-with-tutorial): Use looking-at-p.
3971
3972 * view.el (view-buffer-other-window, view-buffer-other-frame):
3973 Mark unused arguments.
3974
3975 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3976 (woman-select-symbol-fonts, woman, woman-find-file)
3977 (woman-insert-file-contents, woman-non-underline-faces):
3978 Use string-match-p.
3979 (woman1-unquote): Move declaration.
3980
3981 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3982 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3983 argument. Remove unused local variable.
3984 (xml-parse-elem-type): Use string-match-p.
3985 (xml-substitute-numeric-entities): Use ignore-errors.
3986
45fdb482
JB
3987 * calculator.el (calculator): Mark unused argument.
3988 (calculator-paste, calculator-quit, calculator-integer-p):
3989 Use ignore-errors.
3990 (calculator-string-to-number, calculator-decimal, calculator-exp)
3991 (calculator-op-or-exp): Use string-match-p.
3992
3993 * dired.el (dired-buffer-more-recently-used-p): Declare.
3994 (dired-insert-set-properties, dired-insert-old-subdirs):
3995 Use ignore-errors.
3996
3997 * dired-aux.el (dired-compress): Use ignore-errors.
3998 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3999 (dired-do-async-shell-command, dired-do-shell-command)
4000 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4001 (dired-insert-subdir-validate): Use string-match-p.
4002 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4003 (dired-add-entry): Use string-match-p, looking-at-p.
4004 (dired-insert-subdir-newpos): Remove unused local variable.
4005
4006 * filenotify.el (file-notify-callback): Remove unused local variable.
4007
4008 * filesets.el (filesets-error): Mark unused argument.
4009 (filesets-which-command-p, filesets-filter-dir-names)
4010 (filesets-directory-files, filesets-get-external-viewer)
4011 (filesets-ingroup-get-data): Use string-match-p.
4012
4013 * find-file.el (ff-other-file-name, ff-other-file-name)
4014 (ff-find-the-other-file, ff-cc-hh-converter):
4015 Remove unused local variables.
4016 (ff-get-file-name): Use string-match-p.
4017 (ff-all-dirs-under): Use ignore-errors.
4018
4019 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4020 (follow-select-if-visible): Remove unused local variable.
4021
4022 * forms.el (read-file-filter): Move declaration.
4023 (forms--make-format, forms--make-parser, forms-insert-record):
4024 Quote function with #'.
4025 (forms--update): Use string-match-p. Quote function with #'.
4026
4027 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4028 (help-make-xrefs): Use looking-at-p.
4029 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4030
4031 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4032 (ibuffer-confirm-operation-on): Use string-match-p.
4033
4034 * msb.el (msb-item-handler, msb-dired-item-handler):
4035 Mark unused arguments.
4036
4037 * ses.el (ses-decode-cell-symbol)
4038 (ses-kill-override): Remove unused local variable.
4039 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4040 (ses-load): Use ignore-errors, looking-at-p.
4041 (ses-jump-safe): Use ignore-errors.
4042 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4043
4044 * tabify.el (untabify, tabify): Mark unused arguments.
4045
4046 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4047 Mark unused argument.
4048 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4049 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4050
c880af52
JB
4051 * emacs-lisp/timer.el (timer--time): Define setter with
4052 gv-define-setter to avoid deprecation warning.
4053
5660113b 4054 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4055 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4056 (cmpl-statistics-block): Remove (body was commented out).
4057 All callers changed.
4058 (add-completions-from-buffer, load-completions-from-file):
4059 Remove unused variables.
4060
156aab80
JB
40612013-08-09 Juanma Barranquero <lekktu@gmail.com>
4062
5c5dee78
JB
4063 * filecache.el (file-cache-delete-file-list):
4064 Print message only when told so.
4065 (file-cache-files-matching): Use #' in mapconcat argument.
4066
156aab80
JB
4067 * ffap.el (ffap-url-at-point): Fix reference to variable
4068 thing-at-point-default-mail-uri-scheme.
4069
ad9dcd70
SM
40702013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4071
54bd972f
SM
4072 * subr.el (define-error): New function.
4073 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4074 error-file-not-found and define with define-error.
4075 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4076 and define with define-error.
4077 * userlock.el (file-locked, file-supersession):
4078 * simple.el (mark-inactive):
4079 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4080 * progmodes/ada-mode.el (ada-mode-errors):
4081 * play/life.el (life-extinct):
4082 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4083 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4084 * nxml/rng-util.el (rng-error):
4085 * nxml/rng-uri.el (rng-uri-error):
4086 * nxml/rng-match.el (rng-compile-error):
4087 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4088 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4089 * nxml/nxml-rap.el (nxml-scan-error):
4090 * nxml/nxml-outln.el (nxml-outline-error):
4091 * net/soap-client.el (soap-error):
4092 * net/gnutls.el (gnutls-error):
4093 * net/ange-ftp.el (ftp-error):
4094 * mpc.el (mpc-proc-error):
4095 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4096 (json-number-format, json-string-escape, json-string-format)
4097 (json-key-format, json-object-format):
4098 * jka-compr.el (compression-error):
4099 * international/quail.el (quail-error):
4100 * international/kkc.el (kkc-error):
4101 * emacs-lisp/ert.el (ert-test-failed):
4102 * calc/calc.el (calc-error, inexact-result, math-overflow)
4103 (math-underflow):
4104 * bookmark.el (bookmark-error-no-filename):
4105 * epg.el (epg-error): Define with define-error.
4106
0ea9e53a
SM
4107 * time.el (display-time-event-handler)
4108 (display-time-next-load-average): Don't call sit-for since it seems
4109 unnecessary (bug#15045).
4110
b0429158
SM
4111 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4112 Use #' instead of ' to quote functions.
4113 (checkdoc-output-mode): Use setq-local.
4114 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4115 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4116 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4117 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4118 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4119 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4120 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4121 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4122
ad9dcd70
SM
4123 * ido.el (ido-completion-help): Fix up compiler warning.
4124
77187e6f
JB
41252013-08-09 Juanma Barranquero <lekktu@gmail.com>
4126
4127 * frameset.el (frameset-p): Add autoload cookie.
4128 (frameset--jump-to-register): New function, based on code moved from
4129 register.el.
4130 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4131
4132 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4133 (frameset-restore, frameset-save, frameset-session-filter-alist):
4134 Remove declarations.
4135 (register-alist): Doc fix.
4136 (frameset-to-register): Move to frameset.el.
4137 (jump-to-register, describe-register-1): Remove frameset-specific code.
4138
9d3aa82c
JB
41392013-08-08 Juanma Barranquero <lekktu@gmail.com>
4140
4141 * allout-widgets.el (allout-widgets-pre-command-business)
4142 (allout-widgets-post-command-business)
4143 (allout-widgets-after-change-handler)
4144 (allout-decorate-item-and-context, allout-set-boundary-marker)
4145 (allout-body-modification-handler)
4146 (allout-graphics-modification-handler): Mark ignored arguments.
4147 (allout-widgets-post-command-business)
4148 (allout-widgets-exposure-change-processor)
4149 (allout-widgets-exposure-undo-processor)
4150 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4151 (allout-parse-item-at-point, allout-decorate-item-guides)
4152 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4153 * allout.el (epa-passphrase-callback-function): Declare.
4154 (allout-overlay-insert-in-front-handler)
4155 (allout-overlay-interior-modification-handler)
4156 (allout-isearch-end-handler, allout-chart-siblings)
4157 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4158 (allout-yank-processing, allout-process-exposed)
4159 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4160 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4161 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4162 (lisp-indent-defform): Mark ignored arguments.
4163 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4164 (calculate-lisp-indent): Remove unused variables.
4165 * international/characters.el (indian-2-column, arabic-2-column)
4166 (tibetan): Mark ignored arguments.
4167 (use-cjk-char-width-table): Mark ignored arguments.
4168 Remove unused variables.
4169 * international/fontset.el (build-default-fontset-data)
4170 (x-compose-font-name, create-fontset-from-fontset-spec):
4171 Mark ignored arguments.
4172 (fontset-plain-name): Remove unused variables.
4173 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4174 (keyboard-coding-system): Mark ignored arguments.
4175 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4176 * help.el (resize-temp-buffer-window):
4177 * window.el (display-buffer-in-major-side-window)
4178 (display-buffer-in-side-window, display-buffer-in-previous-window):
4179 Remove unused variables.
4180 * isearch.el (isearch-forward-symbol):
4181 * version.el (emacs-bzr-version-bzr):
4182 * international/mule-cmds.el (current-language-environment):
4183 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4184 (x-handle-display):
4185 * term/pc-win.el (x-list-fonts, x-display-planes)
4186 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4187 (x-server-version, x-display-screens, x-display-mm-height)
4188 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4189 (x-selection-owner-p, x-own-selection-internal)
4190 (x-disown-selection-internal, x-get-selection-internal)
4191 (msdos-initialize-window-system):
4192 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4193 * term/x-win.el (x-handle-no-bitmap-icon):
4194 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4195 (vc-default-find-file-hook, vc-default-extra-menu):
4196 Mark ignored arguments.
4197
0ca3f70e
SM
41982013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4201 break-condition in the context of the debugged code (bug#12685).
4202
74c5d24c
CS
42032013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4204
4205 * comint.el:
4206 Do not use an overlay to highlight the last prompt. (Bug#14744)
4207 (comint-mode): Make comint-last-prompt buffer local.
4208 (comint-last-prompt): New variable.
4209 (comint-last-prompt-overlay): Remove. Superseded by
4210 comint-last-prompt.
0ca3f70e
SM
4211 (comint-snapshot-last-prompt, comint-output-filter):
4212 Use comint-last-prompt.
74c5d24c 4213
c03c02ee
JB
42142013-08-08 Juanma Barranquero <lekktu@gmail.com>
4215
a3738d20 4216 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4217 (frameset-save): Check validity of the resulting frameset.
4218
04263d23
XF
42192013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4220
4221 * ido.el (ido-record-command): Add doc string.
4222
76c5e5ab
JB
42232013-08-08 Juanma Barranquero <lekktu@gmail.com>
4224
4225 * frameset.el (frameset): Do not disable creation of the default
4226 frameset-p predicate. Doc fix.
4227 (frameset-valid-p): New function, copied from the old predicate-p.
4228 Add additional checks.
4229 (frameset-restore): Check with frameset-valid-p.
4230 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4231 (frameset-name, frameset-description, frameset-properties)
4232 (frameset-states): Add docstring.
f9dbf1cb
JB
4233 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4234 (frameset-filter-alist): Doc fixes.
76c5e5ab 4235
bd0c3c0b
JB
42362013-08-08 Juanma Barranquero <lekktu@gmail.com>
4237
4238 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4239
c735544c
SM
42402013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4243 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4244 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4245 (byte-compile-normal-call): Remove obsolescence check.
4246
2805a651
JB
42472013-08-08 Juanma Barranquero <lekktu@gmail.com>
4248
3677ffeb
JB
4249 * frameset.el (frameset-restore): Doc fix.
4250
2805a651
JB
4251 * register.el (frameset-frame-id, frameset-frame-with-id)
4252 (frameset-p, frameset-restore, frameset-save): Declare.
4253 (register-alist): Document framesets.
4254 (frameset-session-filter-alist): Declare.
4255 (frameset-to-register): New function.
4256 (jump-to-register): Implement jumping to framesets. Doc fix.
4257 (describe-register-1): Describe framesets.
4258
4259 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4260
a912c016
JB
42612013-08-07 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4264 Use lexical-binding.
4265
4266 * frameset.el (frameset): Use type vector, not list (incompatible
4267 change). Do not declare a new constructor, use the default one.
4268 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4269 `name' and `description', respectively, and add read-only slot
4270 `timestamp'. Doc fixes.
4271 (frameset-copy, frameset-persistent-filter-alist)
4272 (frameset-filter-alist, frameset-switch-to-gui-p)
4273 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4274 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4275 (frameset-filter-iconified, frameset-keep-original-display-p):
4276 Doc fixes.
4277 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4278 Rename from frameset-filter-(save|restore)-param. All callers changed.
4279 Doc fix.
4280 (frameset-p): Adapt to change to vector and be more thorough.
4281 Change arg name to OBJECT. Doc fix.
4282 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4283 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4284 All callers changed.
4285 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4286 All callers changed.
4287 (frameset--record-minibuffer-relationships): Rename from
4288 frameset--process-minibuffer-frames. All callers changed.
4289 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4290 Use new default constructor (again). Doc fix.
4291 (frameset--find-frame-if): Rename from `frameset--find-frame.
4292 All callers changed.
4293 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4294 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4295 Doc fix.
4296 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4297 PARAMETERS and WINDOW-STATE, respectively.
4298 (frameset-restore): Add new keyword argument PREDICATE.
4299 Reset frameset--target-display to nil. Doc fix.
4300
bb41480a
SM
43012013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4302
f001e98e
SM
4303 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4304 (bat-mode): Use it.
4305 (bat-mode-syntax-table): Mark \n as end-of-comment.
4306 (bat-font-lock-keywords): Remove comment rule.
4307
7679edb1
SM
4308 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4309 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4310
bb41480a
SM
4311 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4312 (byte-compile-callargs-warn): Use `push'.
4313 (byte-compile-arglist-warn): Ignore higher-order "calls".
4314 (byte-compile-file-form-autoload): Use `pcase'.
4315 (byte-compile-function-form): If quoting a symbol, check that it exists.
4316
cdc1ebb9
EZ
43172013-08-07 Eli Zaretskii <eliz@gnu.org>
4318
4319 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4320 and add a few popular commands found in batch files.
4321 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4322 (dos-mode): Doc fixes.
4323
312b1740
SM
43242013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4327 (dos-mode): Use setq-local. Add space after "rem".
4328 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4329 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4330
400a3178
AM
43312013-08-07 Arni Magnusson <arnima@hafro.is>
4332
4333 * progmodes/dos.el: New file.
4334 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4335 dos-mode.
4336
3b5c03d3
GM
43372013-08-06 Glenn Morris <rgm@gnu.org>
4338
4339 * calendar/calendar.el: Add new faces, and day-header-array.
4340 (calendar-weekday-header, calendar-weekend-header)
4341 (calendar-month-header): New faces.
4342 (calendar-day-header-construct): New function.
4343 (calendar-day-header-width): Also :set calendar-day-header-array.
4344 (calendar-american-month-header, calendar-european-month-header)
4345 (calendar-iso-month-header): Use calendar- faces.
4346 (calendar-generate-month):
4347 Use calendar-day-header-array for day headers; apply faces to them.
4348 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4349 (calendar-abbrev-construct): Add optional maxlen argument.
4350 (calendar-day-name-array): Doc fix.
4351 (calendar-day-name-array, calendar-abbrev-length)
4352 (calendar-day-abbrev-array):
4353 Also :set calendar-day-header-array, and maybe redraw.
4354 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4355 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4356 (calendar-day-name): Add option to use header array.
4357
ec6a2d7a
LMI
43582013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4359
4360 * net/shr.el (shr-render-td): Remove debugging.
4361 (shr-render-td): Make width computation consistent by defaulting
4362 all zero-width columns to 10 characters. This may not be optimal,
4363 but it's at least consistent.
2122cb6d
LMI
4364 (shr-make-table-1): Redo last change to fix the real problem in
4365 colspan handling.
ec6a2d7a 4366
ed4fd9c5
DA
43672013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4368
0ca3f70e
SM
4369 * files.el (cache-long-line-scans):
4370 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4371
64e22afe
JB
43722013-08-06 Juanma Barranquero <lekktu@gmail.com>
4373
024b38fc
JB
4374 * frameset.el (frameset, frameset-filter-alist)
4375 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4376 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4377 (frameset-compute-pos): Rename from frameset--compute-pos,
4378 and add docstring.
4379 (frameset-move-onscreen): Use frameset-compute-pos.
4380 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4381
64e22afe
JB
4382 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4383 Fix typos in docstrings.
4384
c8c2aca8
DA
43852013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4386
4387 * frame.el (get-other-frame): Tiny cleanup.
4388
1d237bba
JB
43892013-08-06 Juanma Barranquero <lekktu@gmail.com>
4390
8951efef
JB
4391 * vc/vc.el (vc-default-ignore-completion-table):
4392 Silence byte-compiler warning.
4393
307764cc
JB
4394 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4395 slot , which can indeed be nil.
4396 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4397 Move entry for `left' from persistent to live filter alist.
4398 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4399 Doc fixes.
4400 (frameset-filter-params): When restoring a frame, copy items added to
4401 `filtered', to avoid unwittingly modifying the original parameters.
4402 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4403 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4404
1d237bba
JB
4405 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4406 to use looking-at-p instead of looking-at. (Bug#15028)
4407
dc6c0eda
SM
44082013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 Revert introduction of isearch-filter-predicates (bug#14714).
4411 Rely on add-function instead.
4412 * isearch.el (isearch-filter-predicates): Rename it back to
4413 isearch-filter-predicate.
4414 (isearch-message-prefix): Use advice-function-mapc and advice
4415 properties to get the isearch-message-prefix.
4416 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4417 instead of run-hook-with-args-until-failure.
4418 (isearch-filter-visible): Not obsolete any more.
4419 * loadup.el: Preload nadvice.
4420 * replace.el (perform-replace): Revert to funcall
4421 instead of run-hook-with-args-until-failure.
4422 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4423 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4424 dired-isearch-filenames-toggle; make it into a proper minor mode.
4425 Use add/remove-function.
4426 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4427 Call the minor-mode rather than add/remove-hook.
4428 (dired-isearch-filter-filenames):
4429 Remove isearch-message-prefix property.
4430 * info.el (Info--search-loop): New function, extracted from Info-search.
4431 Funcall isearch-filter-predicate instead of
4432 run-hook-with-args-until-failure isearch-filter-predicates.
4433 (Info-search): Use it.
4434 (Info-mode): Use isearch-filter-predicate instead of
4435 isearch-filter-predicates.
4436
290d5b58
DA
44372013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4438
4439 Do not call to `selected-window' where it is assumed by default.
4440 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4441 `window-hscroll', `window-width', `window-height', `window-buffer',
4442 `window-frame', `window-start', `window-point', `next-window'
4443 and `window-display-table'.
4444 * abbrev.el (abbrev--default-expand):
4445 * bs.el (bs--show-with-configuration):
4446 * buff-menu.el (Buffer-menu-mouse-select):
4447 * calc/calc.el (calc):
4448 * calendar/calendar.el (calendar-generate-window):
4449 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4450 (diary-make-entry):
4451 * comint.el (send-invisible, comint-dynamic-complete-filename)
4452 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4453 * completion.el (complete):
4454 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4455 * disp-table.el (describe-current-display-table):
4456 * doc-view.el (doc-view-insert-image):
4457 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4458 * ehelp.el (with-electric-help):
4459 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4460 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4461 * emacs-lisp/helper.el (Helper-help-scroller):
4462 * emulation/cua-base.el (cua--post-command-handler-1):
4463 * eshell/esh-mode.el (eshell-output-filter):
4464 * ffap.el (ffap-gnus-wrapper):
4465 * help-macro.el (make-help-screen):
4466 * hilit-chg.el (highlight-compare-buffers):
4467 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4468 * hl-line.el (global-hl-line-highlight):
4469 * icomplete.el (icomplete-simple-completing-p):
4470 * isearch.el (isearch-done):
4471 * jit-lock.el (jit-lock-stealth-fontify):
4472 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4473 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4474 * mpc.el (mpc-tagbrowser, mpc):
4475 * net/rcirc.el (rcirc-any-buffer):
4476 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4477 * play/landmark.el (landmark-max-width, landmark-max-height):
4478 * play/zone.el (zone):
4479 * progmodes/compile.el (compilation-goto-locus):
4480 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4481 * progmodes/etags.el (find-tag-other-window):
4482 * progmodes/fortran.el (fortran-column-ruler):
4483 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4484 * progmodes/verilog-mode.el (verilog-point-text):
4485 * reposition.el (reposition-window):
4486 * rot13.el (toggle-rot13-mode):
4487 * server.el (server-switch-buffer):
4488 * shell.el (shell-dynamic-complete-command)
4489 (shell-dynamic-complete-environment-variable):
4490 * simple.el (insert-buffer, set-selective-display)
4491 (delete-completion-window):
4492 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4493 (speedbar-recenter):
4494 * startup.el (fancy-splash-head):
4495 * textmodes/ispell.el (ispell-command-loop):
4496 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4497 * tutorial.el (help-with-tutorial):
4498 * vc/add-log.el (add-change-log-entry):
4499 * vc/compare-w.el (compare-windows):
4500 * vc/ediff-help.el (ediff-indent-help-message):
4501 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4502 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4503 (ediff-setup-control-frame):
4504 * vc/emerge.el (emerge-position-region):
4505 * vc/pcvs-util.el (cvs-bury-buffer):
4506 * window.el (walk-windows, mouse-autoselect-window-select):
4507 * winner.el (winner-set-conf, winner-undo): Related users changed.
4508
38276e01
JB
45092013-08-05 Juanma Barranquero <lekktu@gmail.com>
4510
4511 * frameset.el (frameset--set-id): Doc fix.
4512 (frameset-frame-id, frameset-frame-id-equal-p)
4513 (frameset-locate-frame-id): New functions.
4514 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4515 (frameset-restore): Use them.
4516
12b4c0ea
DA
45172013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4518
4519 Do not call to `selected-frame' where it is assumed by default.
4520 Affected functions are `raise-frame', `redraw-frame',
4521 `frame-first-window', `frame-terminal' and `delete-frame'.
4522 * calendar/appt.el (appt-disp-window):
4523 * epg.el (epg-wait-for-completion):
4524 * follow.el (follow-delete-other-windows-and-split)
4525 (follow-avoid-tail-recenter):
4526 * international/mule.el (set-terminal-coding-system):
4527 * mail/rmail.el (rmail-mail-return):
4528 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4529 * progmodes/f90.el (f90-add-imenu-menu):
4530 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4531 * server.el (server-switch-buffer):
4532 * simple.el (delete-completion-window):
4533 * talk.el (talk):
4534 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4535 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4536 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4537 * vc/ediff.el (ediff-documentation): Related users changed.
4538 * frame.el (selected-terminal): Remove the leftover.
4539
17f25e76
GM
45402013-08-05 Glenn Morris <rgm@gnu.org>
4541
4542 * calendar/calendar.el (calendar-generate-month):
4543 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4544 (calendar-generate-month, calendar-font-lock-keywords):
4545 Fix for calendar-day-header-width > length of any day name.
17f25e76 4546
063233c3
JB
45472013-08-05 Juanma Barranquero <lekktu@gmail.com>
4548
4549 * desktop.el (desktop-clear): Use new name of sort predicate.
4550
4551 * frameset.el (frameset): Add docstring. Move :version property to its
4552 own `version' slot.
4553 (frameset-copy): Rename from copy-frameset.
4554 (frameset-p): Check more thoroughly.
4555 (frameset-prop): Do not check for :version, which is no longer a prop.
4556 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4557 Use new :never value instead of t.
4558 (frameset-filter-alist): Expand and clarify docstring.
4559 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4560 (frameset-filter-minibuffer, frameset-filter-save-param)
4561 (frameset-filter-restore-param, frameset-filter-iconified):
4562 Add pointer to docstring of frameset-filter-alist.
4563 (frameset-filter-params): Rename filter values to be more meaningful:
4564 :never instead of t, and reverse the meanings of :save and :restore.
4565 (frameset--process-minibuffer-frames): Clarify error message.
4566 (frameset-save): Avoid unnecessary and confusing call to framep.
4567 Use new BOA constructor for framesets.
4568 (frameset--reuse-list): Doc fix.
4569 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4570 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4571 (frameset-minibufferless-first-p): Doc fix.
4572 Rename from frameset-sort-frames-for-deletion.
4573 (frameset-restore): Doc fixes. Use new function names.
4574 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4575
d5671a82
JB
45762013-08-04 Juanma Barranquero <lekktu@gmail.com>
4577
4578 * desktop.el (desktop-restore-forces-onscreen)
4579 (desktop-restore-reuses-frames): Document :keyword constant values.
4580 (desktop-filter-parameters-alist): Remove, now identical to
4581 frameset-filter-alist.
4582 (desktop--filter-tty*): Remove, moved to frameset.el.
4583 (desktop-save-frameset, desktop-restore-frameset):
4584 Do not pass :filters argument.
4585
4586 * frameset.el (frameset-live-filter-alist)
4587 (frameset-persistent-filter-alist): New variables.
4588 (frameset-filter-alist): Use them. Add autoload cookie.
4589 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4590 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4591 `frameset--id' (it's supposed to be internal to frameset.el).
4592 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4593 (frameset--initial-params): New function.
4594 (frameset--get-frame): Use it. Doc fix.
4595 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4596 Accept :all, not 'all.
4597 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4598 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4599 with fbound symbols. Fix frame id matching, and remove matching ids if
4600 the frame being restored is deleted. Obey :delete.
4601
671d5c16
SM
46022013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * subr.el (macrop): New function.
4605 (text-clone--maintaining): New var.
4606 (text-clone--maintain): Rename from text-clone-maintain. Use it
4607 instead of inhibit-modification-hooks.
4608
4609 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4610 a proxy, so as handle autoloads and redefinitions of the target.
4611 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4612
4613 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4614 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4615 (pcase--mutually-exclusive-p): New function.
4616 (pcase--split-consp): Use it.
4617 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4618 mutually exclusive with the current predicate.
4619
4620 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4621 (edebug-macrop): Remove. Use `macrop' instead.
4622 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4623 (ad-macro-p):
4624 * eshell/esh-cmd.el (eshell-macrop):
4625 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4626
1d44e9dc
SM
46272013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4630 (advice-mapc): New function, using it.
4631 (advice-function-member-p): New function.
4632 (advice--normalize): Store the cdr in advice--saved-rewrite since
4633 that's the part that will be changed.
4634 (advice--symbol-function): New function.
4635 (advice-remove): Handle removal before the function is defined.
4636 Adjust to new advice--saved-rewrite.
4637 (advice-member-p): Use advice-function-member-p and
4638 advice--symbol-function.
4639
5414a283
JB
46402013-08-04 Juanma Barranquero <lekktu@gmail.com>
4641
51d30f2c
JB
4642 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4643 (frameset-filter-minibuffer): Doc fix.
4644 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4645 (frameset--set-id, frameset--process-minibuffer-frames)
4646 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4647 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4648
5414a283
JB
4649 * desktop.el (desktop-clear): Only delete frames when called
4650 interactively and desktop-restore-frames is non-nil. Doc fix.
4651 (desktop-read): Set desktop-saved-frameset to nil.
4652
ab419665
XF
46532013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4654
4655 * vc/vc.el (vc-ignore): Rewrite.
4656 (vc-default-ignore-completion-table):
4657 (vc--read-lines):
4658 (vc--add-line, vc--remove-regexp): New functions.
4659
4660 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4661 (vc-svn-ignore-completion-table): New function.
4662
4663 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4664 (vc-hg-ignore-completion-table):
4665 (vc-hg-find-ignore-file): New functions.
4666
4667 * vc/vc-git.el (vc-git-ignore): Rewrite.
4668 (vc-git-ignore-completion-table):
4669 (vc-git-find-ignore-file): New functions.
4670
4671 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4672
4673 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4674 (vc-bzr-ignore-completion-table):
4675 (vc-bzr-find-ignore-file): New functions.
4676
2613dea2
JB
46772013-08-03 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * frameset.el (frameset-prop): New function and setter.
4680 (frameset-save): Do not modify frame list passed by the caller.
4681
9c959872
SM
46822013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4685
a104f656
SM
46862013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4687
70122acf
SM
4688 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4689 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4690
a104f656
SM
4691 * custom.el (custom-initialize-default, custom-initialize-set)
4692 (custom-initialize-reset, custom-initialize-changed): Affect the
4693 toplevel-default-value (bug#6275, bug#14586).
4694 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4695 for bug#6275.
4696
f078d570
JB
46972013-08-02 Juanma Barranquero <lekktu@gmail.com>
4698
185e3b5a
JB
4699 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4700 Add cl-def* expressions.
4701
f078d570
JB
4702 * frameset.el (frameset-filter-params): Fix order of arguments.
4703
9421876d
JB
47042013-08-02 Juanma Barranquero <lekktu@gmail.com>
4705
4706 Move code related to saving frames to frameset.el.
4707 * desktop.el: Require frameset.
4708 (desktop-restore-frames): Doc fix.
4709 (desktop-restore-reuses-frames): Rename from
4710 desktop-restoring-reuses-frames.
4711 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4712 (desktop-clear): Clear frames too.
4713 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4714 (desktop--filter-tty*, desktop-save, desktop-read):
4715 Use frameset functions.
4716 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4717 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4718 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4719 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4720 (desktop--process-minibuffer-frames, desktop-save-frames)
4721 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4722 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4723 (desktop--sort-states, desktop-restoring-frames-p)
4724 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4725 (desktop-restoring-frameset-p, desktop-restore-frameset)
4726 (desktop--check-dont-save, desktop-save-frameset): New functions.
4727 (desktop--app-id): New constant.
4728 (desktop-first-buffer, desktop-buffer-ok-count)
4729 (desktop-buffer-fail-count): Move before first use.
4730 * frameset.el: New file.
4731
76dc5996
SM
47322013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * files.el: Use lexical-binding.
4735 (dir-locals-read-from-file): Remove unused `err' variable.
4736 (hack-dir-local-variables--warned-coding): New var.
4737 (hack-dir-local-variables): Use it to avoid repeated warnings.
4738 (make-backup-file-name--default-function): New function.
4739 (make-backup-file-name-function): Use it as default.
4740 (buffer-stale--default-function): New function.
4741 (buffer-stale-function): Use it as default.
4742 (revert-buffer-insert-file-contents--default-function): New function.
4743 (revert-buffer-insert-file-contents-function): Use it as default.
4744 (insert-directory): Avoid add-to-list.
4745
4746 * autorevert.el (auto-revert-handler): Simplify.
4747 Use buffer-stale--default-function.
4748
06d36e2b
TH
47492013-08-01 Tassilo Horn <tsdh@gnu.org>
4750
5f648ab4
TH
4751 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4752
06d36e2b
TH
4753 * whitespace.el (whitespace-ensure-local-variables): New function.
4754 (whitespace-cleanup-region): Call it.
4755 (whitespace-turn-on): Call it.
4756
a43dc424
MA
47572013-08-01 Michael Albinus <michael.albinus@gmx.de>
4758
4759 Complete file name handlers.
4760
4761 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4762 (tramp-handle-verify-visited-file-modtime)
4763 (tramp-handle-file-notify-rm-watch): New functions.
4764 (tramp-call-process): Do not bind `default-directory'.
4765
44e18199
JB
4766 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4767 Order alphabetically.
a43dc424
MA
4768 [access-file, add-name-to-file, dired-call-process]:
4769 [dired-compress-file, file-acl, file-notify-rm-watch]:
4770 [file-ownership-preserved-p, file-selinux-context]:
4771 [make-directory-internal, make-symbolic-link, set-file-acl]:
4772 [set-file-selinux-context, set-visited-file-modtime]:
4773 [verify-visited-file-modtime]: Add handler.
4774 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4775
4776 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4777 [file-notify-add-watch, file-notify-rm-watch]:
4778 [set-file-times, set-visited-file-modtime]:
4779 [verify-visited-file-modtime]: Add handler.
4780 (with-tramp-gvfs-error-message)
4781 (tramp-gvfs-handle-set-visited-file-modtime)
4782 (tramp-gvfs-fuse-file-name): Remove.
4783 (tramp-gvfs-handle-file-notify-add-watch)
4784 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4785 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4786
44e18199
JB
4787 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4788 Order alphabetically.
a43dc424
MA
4789 [file-notify-rm-watch ]: Use default Tramp handler.
4790 [executable-find]: Remove private handler.
4791 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4792 `default-directory'.
4793 (tramp-sh-handle-executable-find)
4794 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4795 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4796 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4797 Do not use `format' in `tramp-message'.
4798
4799 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4800 [file-notify-rm-watch, set-visited-file-modtime]:
4801 [verify-visited-file-modtime]: Add handler.
4802 (tramp-smb-call-winexe): Do not bind `default-directory'.
4803
7188b515
XF
48042013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4805
4806 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4807
2412ee1a
DG
48082013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4809
4810 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4811 use it.
4812 (log-view-diff-changeset): Same.
4813 (log-view-diff-common): Call backend command `previous-revision'
4814 to find out the previous revision, in both cases. Swap the
4815 variables `to' and `fr', so that `fr' usually refers to the
4816 earlier revision (Bug#14989).
4817
5002a754
KRC
48182013-07-31 Kan-Ru Chen <kanru@kanru.info>
4819
4820 * ibuf-ext.el (ibuffer-filter-by-filename):
4821 Make it work with dired buffers too.
4822
44e18199 48232013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4824
4825 * emacs-lisp/re-builder.el (reb-color-display-p):
4826 * files.el (save-buffers-kill-terminal):
4827 * net/browse-url.el (browse-url):
4828 * server.el (server-save-buffers-kill-terminal):
4829 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4830 Prefer nil to selected-frame for the first arg of frame-parameter.
4831
aeca3fbb
XF
48322013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4833
4834 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4835
158bc55c
SB
48362013-07-30 Stephen Berman <stephen.berman@gmx.net>
4837
4838 * minibuffer.el (completion--twq-all): Try and preserve each
4839 completion's case choice (bug#14907).
4840
d50fceab
LMI
48412013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842
ac38e731
LMI
4843 * net/network-stream.el (open-network-stream): Mention the new
4844 :nogreeting parameter.
4845 (network-stream-open-starttls): Use the :nogreeting parameter
4846 (bug#14938).
4847
1211de50
LMI
4848 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4849
997798bf
LMI
4850 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4851 more natural than popping.
4852
d50fceab 4853 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4854 (shr-urlify): Highlight under mouse.
d50fceab 4855
5c09de04
XF
48562013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4857
207d1d04
XF
4858 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4859
4860 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4861
5c09de04
XF
4862 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4863 buffer for output.
4864
3cd51eaa
XF
4865 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4866 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4867
44e18199 4868 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4869 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4870
4871 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4872
4873 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4874 buffer for output.
4875
35a89bdd
EZ
48762013-07-29 Eli Zaretskii <eliz@gnu.org>
4877
4878 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4879 initial frame is minibuffer-less. (Bug#14841)
4880
78822e94
MA
48812013-07-29 Michael Albinus <michael.albinus@gmx.de>
4882
4883 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4884 option.
4885
4886 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4887 (tramp-maybe-open-connection): Use it.
4888
9503c190
JB
48892013-07-28 Juanma Barranquero <lekktu@gmail.com>
4890
4891 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4892 minimal set of parameters passed when creating a frame, because
4893 the minibuffer status of a frame cannot be changed later.
4894
d5a845b4
SB
48952013-07-28 Stephen Berman <stephen.berman@gmx.net>
4896
4897 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4898 replace-regexp-in-string and inadvertent omissions in previous change.
4899 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4900 name of filtered items buffer.
d5a845b4 4901
ddeffb17
JB
49022013-07-28 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * desktop.el: Optionally force offscreen frames back onscreen.
4905 (desktop-restoring-reuses-frames): New option.
4906 (desktop--compute-pos, desktop--move-onscreen): New functions.
4907 (desktop--make-frame): Use desktop--move-onscreen.
4908
f5950f7a
AM
49092013-07-27 Alan Mackenzie <acm@muc.de>
4910
4911 Fontify a Java generic method as a function.
4912 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4913 value to t.
4914
ae43b66a
SB
49152013-07-27 Stephen Berman <stephen.berman@gmx.net>
4916
4917 * calendar/todo-mode.el: Add command to rename todo files.
4918 (todo-rename-file): New command.
4919 (todo-key-bindings-t): Add key binding for it. Change the
4920 bindings of todo-filter-regexp-items(-multifile) to use `x'
4921 instead of `r', since the latter is better suited to the new
4922 renaming command.
4923
5ab78d3d
AM
49242013-07-27 Alan Mackenzie <acm@muc.de>
4925
4926 Make Java try-with-resources statement parse properly.
4927 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4928 (c-block-stmt-1-2-key): New language constants/variables.
4929 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4930 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4931 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4932 with c-block-stmt-1-2-key.
5ab78d3d 4933
d85c4d50
JB
49342013-07-27 Juanma Barranquero <lekktu@gmail.com>
4935
4936 * desktop.el (desktop--make-frame): Apply most frame parameters after
4937 creating the frame to force (partially or totally) offscreen frames to
4938 be restored as such.
4939
e4c467f9
XF
49402013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4941
4942 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4943 (Bug#14948)
e4c467f9 4944
7ced0d04
SM
49452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4948 `base' arg of backtrace-frame.
4949
fec92060
EZ
49502013-07-26 Eli Zaretskii <eliz@gnu.org>
4951
4952 * simple.el (list-processes): Doc fix.
4953
d58d31fb
JB
49542013-07-26 Juanma Barranquero <lekktu@gmail.com>
4955
4956 * desktop.el (desktop--select-frame):
d85c4d50 4957 Try harder to reuse existing frames.
d58d31fb 4958
53ff3e77
SM
49592013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4962 (edebug-eval): Use backtrace-eval.
4963 (edebug--display, edebug--recursive-edit): Don't let-bind the
4964 edebug-outer-* vars that keep track of variables we locally let-bind.
4965 (edebug-outside-excursion): Don't restore outside values of locally
4966 let-bound vars.
4967 (edebug--display): Use user-error.
4968 (cl-lexical-debug, cl-debug-env): Remove.
4969
045f7a53
JB
49702013-07-26 Juanma Barranquero <lekktu@gmail.com>
4971
4972 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4973 are restored to be sure that they are visible before deleting any
4974 remaining ones.
4975
59070b32
MM
49762013-07-26 Matthias Meulien <orontee@gmail.com>
4977
742a3501
XF
4978 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4979 vc-print-root-log. (Bug#14948)
59070b32 4980
b1fb3596
RS
49812013-07-26 Richard Stallman <rms@gnu.org>
4982
4983 Add aliases for encrypting mail.
4984 * epa.el (epa-mail-aliases): New option.
4985 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4986 Bind inhibit-read-only so read-only text doesn't ruin everything.
4987 (epa-mail-default-recipients): New subroutine broken out.
4988 Handle epa-mail-aliases.
4989
56ea7291
SM
49902013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 Add support for lexical variables to the debugger's `e' command.
4993 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4994 vars, except for debugger-outer-match-data.
4995 (debugger-frame-number): Move check for "on a function call" from
4996 callers into it. Add `skip-base' argument.
4997 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4998 (debugger-env-macro): Only reset the state stored in non-variables,
4999 i.e. current-buffer and match-data.
5000 (debugger-eval-expression): Rewrite using backtrace-eval.
5001 * subr.el (internal--called-interactively-p--get-frame): Remove.
5002 (called-interactively-p):
5003 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5004 `base' arg of backtrace-frame instead.
5005
15ac32d5
GM
50062013-07-26 Glenn Morris <rgm@gnu.org>
5007
8358a09d
GM
5008 * align.el (align-regexp): Doc fix. (Bug#14857)
5009 (align-region): Explicit error if subexpression missing/does not match.
5010
15ac32d5
GM
5011 * simple.el (global-visual-line-mode):
5012 Do not duplicate the mode lighter. (Bug#14858)
5013
f47ad11b
MR
50142013-07-25 Martin Rudalics <rudalics@gmx.at>
5015
5016 * window.el (display-buffer): In display-buffer bind
5017 split-window-keep-point to t, bug#14829.
5018
02530987
JB
50192013-07-25 Juanma Barranquero <lekktu@gmail.com>
5020
5021 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5022 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5023 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5024 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5025 Change accordingly.
f63ebeb5
JB
5026 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5027 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5028
6ccb9cab 50292013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5030
6ccb9cab 5031 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5032
cb3a56d2
JB
50332013-07-25 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5036 parameter to modify-frame-parameters if the value has not changed;
5037 this is a workaround for bug#14949.
5038 (desktop--make-frame): On cl-delete-if call, check parameter name,
5039 not full parameter.
5040
7aa7fff0
XF
50412013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5042
5043 * vc/vc.el (vc-ignore): New function.
5044
5045 * vc/vc-svn.el (vc-svn-ignore): New function.
5046
5047 * vc/vc-hg.el (vc-hg-ignore): New function.
5048
5049 * vc/vc-git.el (vc-git-ignore): New function.
5050
5051 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5052 (vc-dir-ignore): New function.
5053
5054 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5055 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5056
5057 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5058
5059 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5060
889acc5c
JB
50612013-07-24 Juanma Barranquero <lekktu@gmail.com>
5062
5063 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5064 (desktop-restore-frames): Warn when deleting an existing frame failed.
5065
86c40970
GM
50662013-07-24 Glenn Morris <rgm@gnu.org>
5067
5068 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5069
d5d3c58a
MA
50702013-07-24 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * filenotify.el (file-notify-supported-p):
5073 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5074 Remove functions.
5075
5076 * autorevert.el (auto-revert-use-notify):
5077 (auto-revert-notify-add-watch):
5078 * net/tramp.el (tramp-file-name-for-operation):
5079 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5080 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5081 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5082 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5083 Remove `file-notify-supported-p' entry.
5084
d100084b
GM
50852013-07-24 Glenn Morris <rgm@gnu.org>
5086
5087 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5088 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5089
ac93e56b
SM
50902013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5091
249eea30
SM
5092 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5093 checked with memq (bug#14935).
5094
ac93e56b
SM
5095 * files.el (revert-buffer-function): Use a non-nil default.
5096 (revert-buffer-preserve-modes): Declare var to
5097 provide access to the `preserve-modes' argument.
5098 (revert-buffer): Let-bind it.
5099 (revert-buffer--default): New function, extracted from revert-buffer.
5100
2cdeb903
SM
51012013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * lpr.el: Signal print errors more prominently.
5104 (print-region-function): Don't default to nil.
5105 (lpr-print-region): New function, extracted from print-region-1.
5106 Check lpr's return value and signal an error in case of problem.
5107 (print-region-1): Use it.
5108 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5109 versions instead.
5110 (ps-printer-name): Default to nil.
5111 (ps-printer-name-option): Default to lpr-printer-switch.
5112 (ps-print-region-function): Don't default to nil.
5113 (ps-postscript-code-directory): Simplify default.
5114 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5115 (ps-string-list, ps-eval-switch, ps-flatten-list)
5116 (ps-flatten-list-1): Remove.
5117 (ps-multibyte-buffer): Avoid setq.
5118 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5119 (print-region-function, ps-print-region-function): Don't set them here.
5120
73600831
XF
51212013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5122
0e55c076
XF
5123 * ido.el (ido-fractionp):
5124 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5125 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5126 (ido-max-directory-size, ido-max-dir-file-cache)
5127 (ido-decorations): Doc fix.
5128
73600831
XF
5129 * ansi-color.el: Fix old URL.
5130
3d012865
MM
51312013-07-23 Michael R. Mauger <michael@mauger.com>
5132
e903c210 5133 * progmodes/sql.el: Version 3.3
3d012865
MM
5134 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5135 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5136 (sql-interactive-remove-continuation-prompt): Rewrite, use
5137 functions above. Fix continuation prompt and complete output line
5138 handling.
5139 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5140 redirected output buffer.
5141 (sql-mode): Restore deleted code (Bug#13591).
5142
da77a2e2
JB
51432013-07-23 Juanma Barranquero <lekktu@gmail.com>
5144
5145 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5146
80ff0c71
MA
51472013-07-23 Michael Albinus <michael.albinus@gmx.de>
5148
5149 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5150
5151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5154
b61d71e4
JB
51552013-07-23 Juanma Barranquero <lekktu@gmail.com>
5156
5157 * desktop.el (desktop-clear): Simplify; remove useless checks
5158 against invalid buffer names.
5159 (desktop-list*): Use cl-list*.
5160 (desktop-buffer-info, desktop-create-buffer): Simplify.
5161
c3512092
LL
51622013-07-23 Leo Liu <sdl.web@gmail.com>
5163
5164 * bookmark.el (bookmark-make-record): Restore NAME as a default
5165 value. (Bug#14933)
5166
0ac26976
SM
51672013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5168
7d22ce18
SM
5169 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5170 extracted from autoload--insert-text.
5171 (autoload--insert-text): Remove.
5172 (autoload--print-cookie-text): New function, extracted from
5173 autoload--insert-cookie-text.
5174 (autoload--insert-cookie-text): Remove.
5175 (autoload-generate-file-autoloads): Adjust calls accordingly.
5176
9b2607e8
SM
5177 * winner.el (winner-hook-installed-p): Remove.
5178 (winner-mode): Simplify accordingly.
5179
c43a8618
SM
5180 * subr.el (add-to-list): Fix compiler-macro when `append' is
5181 not constant. Don't use `cl-member' for the base case.
5182
0ac26976
SM
5183 * progmodes/subword.el: Fix boundary case (bug#13758).
5184 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5185 own group.
5186 (subword-backward-regexp): Make it a constant.
5187 (subword-forward-internal): Don't treat a trailing capital as the
5188 beginning of a word.
5189
6874724a
AR
51902013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5191
5192 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5193 global value of tabulated-list-revert-hook (bug#14930).
5194
70f1b5e8
JB
51952013-07-22 Juanma Barranquero <lekktu@gmail.com>
5196
a1c80d9d
JB
5197 * desktop.el: Require 'cl-lib.
5198 (desktop-before-saving-frames-functions): New hook.
5199 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5200 for frames being saved. Rename from desktop--save-minibuffer-frames.
5201 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5202 Do not save frames with non-nil `desktop-dont-save' parameter.
5203 Filter out deleted frames.
a1c80d9d
JB
5204 (desktop--find-frame): Use cl-find-if.
5205 (desktop--select-frame): Use cl-(first|second|third) to access values
5206 of desktop-mini.
5207 (desktop--make-frame): Use cl-delete-if.
5208 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5209 (desktop-restore-frames): Use cl-(first|second|third) to access values
5210 of desktop-mini. Look for visible frame at the end, not while
5211 restoring frames.
5212
70f1b5e8
JB
5213 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5214 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5215 Use string-match-p, looking-at-p (bug#14927).
5216
728dc3cc
JB
52172013-07-21 Juanma Barranquero <lekktu@gmail.com>
5218
56bc453c
JB
5219 * desktop.el (desktop-saved-frame-states):
5220 Rename from desktop--saved-states; all users changed.
5221 (desktop-save-frames): Rename from desktop--save-frames.
5222 Do not save state to desktop file.
5223 (desktop-save): Save desktop-saved-frame-states to desktop file
5224 and reset to nil.
5225 (desktop-restoring-frames-p): New function.
5226 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5227 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5228 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5229
728dc3cc
JB
5230 * desktop.el: Correctly restore iconified frames.
5231 (desktop--filter-iconified-position): New function.
5232 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5233
862f1c9c
GM
52342013-07-20 Glenn Morris <rgm@gnu.org>
5235
c4074c9f
GM
5236 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5237 Let `message' do the formatting.
5238 (def-gdb-preempt-display-buffer): Add explicit format.
5239
d828e5f9
GM
5240 * image-dired.el (image-dired-track-original-file):
5241 Use with-current-buffer.
5242 (image-dired-track-thumbnail): Use with-current-buffer.
5243 Avoid changing point of wrong window.
5244
862f1c9c
GM
5245 * image-dired.el (image-dired-track-original-file):
5246 Avoid changing point of wrong window. (Bug#14909)
5247
f0398ec1 52482013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5249
5250 * progmodes/gdb-mi.el (gdb-done-or-error):
5251 Guard against "%" in gdb output. (Bug#14127)
5252
1451928f
AS
52532013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5254
763a086d
JB
5255 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5256 (Bug#14826)
f7a03897 5257
1451928f
AS
5258 * international/mule.el (coding-system-iso-2022-flags): Fix last
5259 change.
5260
99107004
KH
52612013-07-20 Kenichi Handa <handa@gnu.org>
5262
763a086d
JB
5263 * international/mule.el (coding-system-iso-2022-flags):
5264 Add `8-bit-level-4'. (Bug#8522)
99107004 5265
48494e06
LMI
52662013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5267
8ba8eec5
LMI
5268 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5269 (bug#14815).
5270
dfbc66e3
LMI
5271 * net/eww.el (eww-process-text-input): Allow inputting when the
5272 point is at the start of the line, as the properties aren't
5273 front-sticky.
5274
48494e06
LMI
5275 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5276 degenerate widths.
5277
77c92cb9
RS
52782013-07-19 Richard Stallman <rms@gnu.org>
5279
aec7da77
RS
5280 * epa.el (epa-popup-info-window): Doc fix.
5281
77c92cb9
RS
5282 * subr.el (split-string): New arg TRIM.
5283
945c5bb1
JB
52842013-07-18 Juanma Barranquero <lekktu@gmail.com>
5285
5286 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5287 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5288
e06ec67f
MA
52892013-07-18 Michael Albinus <michael.albinus@gmx.de>
5290
c7064f05 5291 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5292 `file-notify-support'. Do not autoload. Adapt all uses.
5293 (file-notify-supported-p): New defun.
5294
c7064f05
JB
5295 * autorevert.el (auto-revert-use-notify):
5296 Use `file-notify-supported-p' instead of `file-notify-support'.
5297 Adapt docstring.
e06ec67f
MA
5298 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5299
5300 * net/tramp.el (tramp-file-name-for-operation):
5301 Add `file-notify-supported-p'.
5302
5303 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5304 New defun.
5305 (tramp-sh-file-name-handler-alist): Add it as handler for
5306 `file-notify-supported-p '.
5307
5308 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5309 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5311 Add `ignore' as handler for `file-notify-*' functions.
5312
5dc8a629
EZ
53132013-07-17 Eli Zaretskii <eliz@gnu.org>
5314
5315 * simple.el (line-move-partial, line-move): Don't start vscroll or
5316 scroll-up if the current line is not taller than the window.
5317 (Bug#14881)
5318
77aea2fb
DG
53192013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5320
5321 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5322 highlight question marks in the method names as strings.
ac72c08d
DG
5323 (ruby-block-beg-keywords): Inline.
5324 (ruby-font-lock-keyword-beg-re): Extract from
5325 `ruby-font-lock-keywords'.
77aea2fb 5326
18c26d81
JD
53272013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5328
5329 * frame.el (blink-cursor-blinks): New defcustom.
5330 (blink-cursor-blinks-done): New defvar.
5331 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5332 (blink-cursor-timer-function): Check if number of blinks has been
5333 done on X and NS.
5334 (blink-cursor-suspend, blink-cursor-check): New defuns.
5335
da48522e
GM
53362013-07-15 Glenn Morris <rgm@gnu.org>
5337
5338 * edmacro.el (edmacro-format-keys): Fix previous change.
5339
0463c1ef
PE
53402013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5341
5342 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5343 The hack didn't work outside English locales anyway.
5344
b43f6451
JB
53452013-07-15 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * simple.el (define-alternatives): Rename from alternatives-define,
5348 per RMS' suggestion.
5349
b958c0ad
JB
53502013-07-14 Juanma Barranquero <lekktu@gmail.com>
5351
5352 * desktop.el (desktop-restore-frames): Change default to t.
5353 (desktop-restore-in-current-display): Now offer more options.
5354 (desktop-restoring-reuses-frames): New customization option.
5355 (desktop--saved-states): Doc fix.
5356 (desktop-filter-parameters-alist): New variable, renamed and expanded
5357 from desktop--excluded-frame-parameters.
5358 (desktop--target-display): New variable.
5359 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5360 (desktop--filter-tty*, desktop--filter-*-color)
5361 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5362 (desktop--filter-save-desktop-parm)
5363 (desktop-restore-in-original-display-p): New functions.
5364 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5365 (desktop--save-minibuffer-frames): New function, inspired by a similar
5366 function from Martin Rudalics.
5367 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5368 (desktop--restore-in-this-display-p): Remove.
5369 (desktop--find-frame): Rename from desktop--find-frame-in-display
5370 and add predicate argument.
5371 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5372 (desktop--reuse-list): New variable.
5373 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5374 New functions.
5375 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5376
f6dd8b36
MA
53772013-07-14 Michael Albinus <michael.albinus@gmx.de>
5378
5379 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5380
2ce3c565
DG
53812013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5382
763a086d
JB
5383 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5384 Highlight conversion methods on Kernel.
2ce3c565 5385
2cdb7698
AM
53862013-07-13 Alan Mackenzie <acm@muc.de>
5387
5388 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5389 and comment it out. This out-commenting enables certain C++
5390 declarations to be parsed correctly.
5391
1a67b811
EZ
53922013-07-13 Eli Zaretskii <eliz@gnu.org>
5393
1b796d6b
EZ
5394 * international/mule.el (define-coding-system): Doc fix.
5395
1a67b811
EZ
5396 * simple.el (default-font-height): Don't call font-info if the
5397 frame's default font didn't change since the frame was created.
5398 (Bug#14838)
5399
58fbe886
LL
54002013-07-13 Leo Liu <sdl.web@gmail.com>
5401
5402 * ido.el (ido-read-file-name): Guard against non-symbol value.
5403
1f0480d4
FEG
54042013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5405
5406 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5407 in nested defuns.
5408
97ead0e5
LL
54092013-07-13 Leo Liu <sdl.web@gmail.com>
5410
5411 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5412 ido-set-matches call. (Bug#6852)
5413
0880a952
DG
54142013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5415
5416 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5417 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5418 Ruby 2.0.
5419 (ruby-font-lock-keywords): Distinguish calls to functions with
5420 module-like names from module references. Highlight character
5421 literals.
5422
a7d8babb
SDJ
54232013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5424
5425 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5426 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5427
acfcc8c5
JB
54282013-07-12 Juanma Barranquero <lekktu@gmail.com>
5429
5430 * desktop.el (desktop--v2s): Remove unused local variable.
5431 (desktop-save-buffer): Make defvar-local; adjust docstring.
5432 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5433 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5434
051f2775
AS
54352013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5436
5437 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5438
f24e7572
GM
54392013-07-12 Eli Zaretskii <eliz@gnu.org>
5440
5441 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5442 (Bug#14842)
5443
539a920c
GM
54442013-07-12 Glenn Morris <rgm@gnu.org>
5445
5446 * doc-view.el: Require cl-lib at runtime too.
5447 (doc-view-remove-if): Remove.
5448 (doc-view-search-next-match, doc-view-search-previous-match):
5449 Use cl-remove-if.
5450
5451 * edmacro.el: Require cl-lib at runtime too.
5452 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5453 (edmacro-mismatch, edmacro-subseq): Remove.
5454
5455 * shadowfile.el: Require cl-lib.
5456 (shadow-remove-if): Remove.
5457 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5458 Use cl-remove-if.
5459
5460 * wid-edit.el: Require cl-lib.
5461 (widget-choose): Use cl-remove-if.
5462 (widget-remove-if): Remove.
5463
5464 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5465 (ebrowse-delete-if-not): Remove.
5466 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5467 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5468 Use cl-delete-if-not.
5469
1048af7c
JB
54702013-07-12 Juanma Barranquero <lekktu@gmail.com>
5471
5472 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5473 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5474
6c0674ee
LL
54752013-07-12 Leo Liu <sdl.web@gmail.com>
5476
5477 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5478
a19b3c2d
GM
54792013-07-11 Glenn Morris <rgm@gnu.org>
5480
4582a01c
GM
5481 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5482 (edebug-gensym-index, edebug-gensym):
5483 Remove reimplementation of cl-gensym.
5484 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5485
5486 * thumbs.el: Require cl-lib at run-time too.
5487 (thumbs-gensym-counter, thumbs-gensym):
5488 Remove reimplementation of cl-gensym.
5489 (thumbs-temp-file): Use cl-gensym.
5490
a19b3c2d
GM
5491 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5492 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5493 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5494 (ert--union, ert--gensym-counter, ert--gensym-counter)
5495 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5496 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5497 (ert-make-test-unbound, ert--expand-should-1)
5498 (ert--expand-should, ert--should-error-handle-error)
5499 (should-error, ert--explain-equal-rec)
5500 (ert--plist-difference-explanation, ert-select-tests)
5501 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5502 Use cl-lib functions rather than reimplementations.
5503
88f6a933
MA
55042013-07-11 Michael Albinus <michael.albinus@gmx.de>
5505
5506 * net/tramp.el (tramp-methods): Extend docstring.
5507 (tramp-connection-timeout): New defcustom.
5508 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5509 (with-tramp-progress-reporter): Simplify.
5510 (tramp-process-actions): Improve messages.
5511
5512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5513 * net/tramp-sh.el (tramp-maybe-open-connection):
5514 Use `tramp-connection-timeout'.
5515 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5516 (Bug#14808)
5517
a43d577e
LL
55182013-07-11 Leo Liu <sdl.web@gmail.com>
5519
5520 * ido.el (ido-read-file-name): Conform to the requirements of
5521 read-file-name. (Bug#11861)
5522 (ido-read-directory-name): Conform to the requirements of
5523 read-directory-name.
5524
d77974bf
JB
55252013-07-11 Juanma Barranquero <lekktu@gmail.com>
5526
5527 * subr.el (delay-warning): New function.
5528
35cb8a3e
EZ
55292013-07-10 Eli Zaretskii <eliz@gnu.org>
5530
5531 * simple.el (default-line-height): New function.
5532 (line-move-partial, line-move): Use it instead of computing the
5533 line height inline.
5534 (line-move-partial): Always compute ROWH. If the last line is
5535 partially-visible, but its text is completely visible, allow
5536 cursor to enter such a partially-visible line.
5537
525c5c77
MA
55382013-07-10 Michael Albinus <michael.albinus@gmx.de>
5539
5540 Improve error messages. (Bug#14808)
5541
5542 * net/tramp.el (tramp-current-connection): New defvar, moved from
5543 tramp-sh.el.
0ac26976 5544 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5545 needed anymore.
0ac26976
SM
5546 (tramp-error-with-buffer): Show message in minibuffer.
5547 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5548 (with-tramp-progress-reporter): Improve messages.
5549 (tramp-process-actions): Use progress reporter. Delete process in
5550 case of error. Improve messages.
5551
763a086d
JB
5552 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5553 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5554 (tramp-current-connection): Remove.
525c5c77
MA
5555 (tramp-maybe-open-connection): The car of
5556 `tramp-current-connection' are the first 3 slots of the vector.
5557
c7a4d368
TZ
55582013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5559
5560 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5561 inside continued strings.
5562
954b166e
PE
55632013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5564
5565 Timestamp fixes for undo (Bug#14824).
5566 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5567
56973319
LL
55682013-07-10 Leo Liu <sdl.web@gmail.com>
5569
5570 * files.el (require-final-newline): Allow safe local value.
5571 (Bug#14834)
5572
5550a72c
LL
55732013-07-09 Leo Liu <sdl.web@gmail.com>
5574
5575 * ido.el (ido-read-directory-name): Handle fallback.
5576 (ido-read-file-name): Update DIR to ido-current-directory.
5577 (Bug#1516)
c28b9050 5578 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5579
70c46b28
DG
55802013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5581
5582 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5583 "autoload". Remove "warn lower camel case" section, previously
5584 commented out. Highlight negation char. Do not highlight the
5585 target in singleton method definitions.
5586
0b64b838
SM
55872013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5588
7fd72e2c
SM
5589 * faces.el (tty-setup-hook): Declare the hook.
5590
0b64b838
SM
5591 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5592 and detect when a guard/pred depends on local vars (bug#14773).
5593 (pcase--u1): Adjust caller.
5594
ab49d60b
EZ
55952013-07-08 Eli Zaretskii <eliz@gnu.org>
5596
5597 * simple.el (line-move-partial, line-move): Account for
5598 line-spacing.
701d79aa
EZ
5599 (line-move-partial): Avoid setting vscroll when the last
5600 partially-visible line in window is of default height.
ab49d60b 5601
2d756ae0
LMI
56022013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5603
5604 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5605 been used a while.
5606
ed095bd7
JB
56072013-07-07 Juanma Barranquero <lekktu@gmail.com>
5608
5609 * subr.el (read-quoted-char): Remove unused local variable `char'.
5610
f1e6674b
MK
56112013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5612
584ee3fc
GM
5613 * ediff.el (ediff-version): Version update.
5614 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5615 (ediff-merge-with-ancestor-command, ediff-directories-command)
5616 (ediff-directories3-command, ediff-merge-directories-command)
5617 (ediff-merge-directories-with-ancestor-command): New functions.
5618 All are command-line interfaces to ediff: to facilitate calling
5619 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5620
5621 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5622 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5623
584ee3fc
GM
5624 * viper.el (viper-version): Version update.
5625 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5626
584ee3fc
GM
56272013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5630 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5631 (viper-intercept-ESC-key): Simplify.
5632 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5633 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5634 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5635 (viper-setup-ESC-to-escape): New functions.
5636 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5637 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5638
9aff9b38
EZ
56392013-07-07 Eli Zaretskii <eliz@gnu.org>
5640
5165d44a
JB
5641 * simple.el (default-font-height, window-screen-lines):
5642 New functions.
9aff9b38
EZ
5643 (line-move, line-move-partial): Use them instead of
5644 frame-char-height and window-text-height. This makes scrolling
5645 text smoother when the buffer's default face uses a font that is
5646 different from the frame's default font.
5647
1afb1d07
JD
56482013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5649
5650 * files.el (write-file): Do not display confirm dialog for NS,
5651 it does its own dialog, which can't be cancelled (Bug#14578).
5652
23de972a
EZ
56532013-07-06 Eli Zaretskii <eliz@gnu.org>
5654
5655 * simple.el (line-move-partial): Adjust the row returned by
5656 posn-at-point for the current window-vscroll. (Bug#14567)
5657
54a42486
MA
56582013-07-06 Michael Albinus <michael.albinus@gmx.de>
5659
5660 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5661 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5662 spaces.
5663
34ada5f4
MR
56642013-07-06 Martin Rudalics <rudalics@gmx.at>
5665
5666 * window.el (window-state-put-stale-windows): New variable.
5667 (window--state-put-2): Save list of windows without matching buffer.
5668 (window-state-put): Remove "bufferless" windows if possible.
5669
11e03d89
JB
56702013-07-06 Juanma Barranquero <lekktu@gmail.com>
5671
5672 * simple.el (alternatives-define): Remove leftover :group keyword.
5673 Tweak docstring.
5674
3504a4be
LL
56752013-07-06 Leo Liu <sdl.web@gmail.com>
5676
5677 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5678 (ido-enable-virtual-buffers): New variable.
5679 (ido-buffer-internal, ido-toggle-virtual-buffers)
5680 (ido-make-buffer-list): Use it.
5681 (ido-exhibit): Support turning on and off virtual buffers
5682 automatically.
5683
61e56e2c
JB
56842013-07-06 Juanma Barranquero <lekktu@gmail.com>
5685
5686 * simple.el (alternatives-define): New macro.
5687
321e1a9c
SM
56882013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * subr.el (read-quoted-char): Use read-key.
5691 (sit-for): Let read-event decode tty input (bug#14782).
5692
d610f6dd
SB
56932013-07-05 Stephen Berman <stephen.berman@gmx.net>
5694
5695 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5696 mode command and externally. Fix various related bugs.
5697 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5698 (todo-delete-file): New command.
5699 (todo-check-file): New function.
5700 (todo-show): Handle external deletion of the file we're trying to
5701 show (bug#14688). Replace called-interactively-p by an optional
5702 prefix argument to avoid problematic interaction with catch form
5703 when byte compiled (bug#14702).
5704 (todo-quit): Handle external deletion of the archive's todo file.
5705 Make sure the buffer that was visiting the archive file is still
5706 live before trying to bury it.
5707 (todo-category-completions): Handle external deletion of any
5708 category completion files.
5709 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5710 of todo files, in case of external deletion.
5711 (todo-add-file): Replace unnecessary setq by let-binding.
5712 (todo-find-archive): Check whether there are any archives.
5713 Replace unnecessary setq by let-binding.
5714 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5715 archive buffer whether or not the archive already exists.
5716 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5717 check if the archive is new; if it is, update list of archives.
5718 (todo-default-todo-file): Allow nil to be a valid value for when
5719 there are no todo files.
5720 (todo-reevaluate-default-file-defcustom): Use corrected definition
5721 of todo-default-todo-file.
5722 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5723 (todo-delete-category, todo-show-categories-table)
5724 (todo-category-number): Clarify comment.
5725 (todo-filter-items): Clarify documentation string.
5726 (todo-show-current-file, todo-display-as-todo-file)
5727 (todo-reset-and-enable-done-separator): Tweak documentation string.
5728 (todo-done-separator): Make separator length window-width, since
5729 bug#2749 is now fixed.
5730
ddbdfd6f
MA
57312013-07-05 Michael Albinus <michael.albinus@gmx.de>
5732
321e1a9c
SM
5733 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5734 Support both "gvfs-monitor-dir" and "inotifywait".
5735 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5736 `tramp-sh-file-notify-process-filter'.
5737 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5738 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5739
96eb829a
LL
57402013-07-05 Leo Liu <sdl.web@gmail.com>
5741
5742 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5743
cf13177e
YM
57442013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5745
5746 * frame.el (display-pixel-height, display-pixel-width)
5747 (display-mm-height, display-mm-width): Mention behavior on
5748 multi-monitor setups in docstrings.
5749 (w32-display-monitor-attributes-list): Declare function.
5750 (display-monitor-attributes-list): Use it.
5751
864c58ca
MA
57522013-07-04 Michael Albinus <michael.albinus@gmx.de>
5753
5754 * filenotify.el: New package.
5755
5756 * autorevert.el (top): Require filenotify.el.
5757 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5758 instead.
5759 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5760 (auto-revert-notify-handler): Use `file-notify-*' functions.
5761
5762 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5763
321e1a9c
SM
5764 * net/tramp.el (tramp-file-name-for-operation):
5765 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5766
5767 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5768 for `file-notify-add-watch' and `file-notify-rm-watch'.
5769 (tramp-process-sentinel): Improve trace.
5770 (tramp-sh-handle-file-notify-add-watch)
5771 (tramp-sh-file-notify-process-filter)
5772 (tramp-sh-handle-file-notify-rm-watch)
5773 (tramp-get-remote-inotifywait): New defuns.
5774
96673afe
JL
57752013-07-03 Juri Linkov <juri@jurta.org>
5776
5777 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5778 call of `occur-read-primary-args' to interactive spec.
5779
5780 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5781 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5782
924494f4
MM
57832013-07-03 Matthias Meulien <orontee@gmail.com>
5784
5785 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5786 `Buffer-menu-multi-occur'. Add it to the menu.
5787 (Buffer-menu-mode): Document it in docstring.
5788 (Buffer-menu-multi-occur): New command. (Bug#14673)
5789
56f75efc
DG
57902013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5791
5792 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5793 keywords and built-ins.
5794
9b057d61
GM
57952013-07-03 Glenn Morris <rgm@gnu.org>
5796
208dee4d
GM
5797 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5798
9b057d61
GM
5799 Make info-xref checks case-sensitive by default
5800 * info.el (Info-find-node, Info-find-in-tag-table)
5801 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5802 Add option for exact case matching of nodes.
5803 * info-xref.el (info-xref): New custom group.
5804 (info-xref-case-fold): New option.
5805 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5806
e01aa29c
LL
58072013-07-03 Leo Liu <sdl.web@gmail.com>
5808
5809 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5810
3086ca2e
DG
58112013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5812
5813 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5814 middle of block statement initially, lower the depth. Remove
5815 FIXME comment, not longer valid. Remove middle of block statement
5816 detection, no need to do that anymore since we've been using
5817 `ruby-parse-region' here.
5818
a3b49114
JD
58192013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5820
5821 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5822
08e5c823 58232013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5824
5825 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5826
2addf922
JB
58272013-07-01 Juanma Barranquero <lekktu@gmail.com>
5828
5829 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5830 (desktop-restore-in-current-display): New customization option.
5831 (desktop--excluded-frame-parameters): Add `font'.
5832 (desktop--save-frames): Rename from desktop--save-windows.
5833 (desktop--restore-in-this-display-p): New function.
5834 (desktop--make-full-frame): Remove unwanted width/height from
5835 full(width|height) frames.
5836 (desktop--restore-frames): Rename from desktop--restore-windows.
5837 Obey desktop-restore-current-display. Do not delete old frames or
5838 select a new frame unless we were able to restore at least one frame.
5839
ef099a94
MN
58402013-06-30 Michal Nazarewicz <mina86@mina86.com>
5841
5842 * files.el (find-file-noselect): Simplify conditional expression.
5843
5844 * remember.el (remember-append-to-file):
5845 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5846
5847 Add `remember-notes' function to store random notes across Emacs
5848 restarts.
5849 * remember.el (remember-data-file): Add :set callback to affect
5850 notes buffer (if any).
5851 (remember-notes): New command.
5852 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5853 New defcustoms for the `remember-notes' function.
5854 (remember-notes-save-and-bury-buffer): New command.
5855 (remember-notes-mode-map): New variable.
5856 (remember-mode): New minor mode.
5857 (remember-notes--kill-buffer-query): New function.
5858 * startup.el (initial-buffer-choice): Add notes to custom type.
5859
0865d506
EZ
58602013-06-30 Eli Zaretskii <eliz@gnu.org>
5861
0ba54312
EZ
5862 * bindings.el (right-char, left-char): Don't call sit-for, this is
5863 no longer needed. Use arithmetic comparison only for numerical
5864 arguments.
5865
ef099a94
MN
5866 * international/mule-cmds.el (select-safe-coding-system):
5867 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5868
2fae38e5
LMI
58692013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5870
5871 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5872 progression on degenerate tables.
ef099a94 5873 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5874
a47cbd64
JB
58752013-06-30 Juanma Barranquero <lekktu@gmail.com>
5876
5877 Some fixes and improvements for desktop frame restoration.
5878 It is still experimental and disabled by default.
5879 * desktop.el (desktop--save-windows): Put the selected frame at
5880 the head of the list.
5881 (desktop--make-full-frame): New function.
5882 (desktop--restore-windows): Try to re-select the frame that was
5883 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5884 just show an error message and continue. Set up maximized frames
5885 so they have default non-maximized dimensions.
a47cbd64 5886
6dbafa30
DG
58872013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5888
ef099a94
MN
5889 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5890 Don't start heredoc inside a string or comment.
6dbafa30 5891
4c672a0f
EZ
58922013-06-29 Eli Zaretskii <eliz@gnu.org>
5893
5894 * bindings.el (visual-order-cursor-movement): New defcustom.
5895 (right-char, left-char): Provide visual-order cursor motion by
5896 calling move-point-visually. Update the doc strings.
5897
50960f36
KH
58982013-06-28 Kenichi Handa <handa@gnu.org>
5899
5900 * international/mule.el (define-coding-system): New coding system
5901 properties :inhibit-null-byte-detection,
5902 :inhibit-iso-escape-detection, and :prefer-utf-8.
5903 (set-buffer-file-coding-system): If :charset-list property of
5904 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5905 appropriate for setting.
5906
c1ea3abf
JB
5907 * international/mule-cmds.el (select-safe-coding-system):
5908 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5909 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5910
5911 * international/mule-conf.el (prefer-utf-8): New coding system.
5912 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5913 files.
5914
75dbaf9d
IK
59152013-06-28 Ivan Kanis <ivan@kanis.fr>
5916
eadb6068
IK
5917 * net/shr.el (shr-render-region): New function.
5918
75dbaf9d
IK
5919 * net/eww.el: Autoload `eww-browse-url'.
5920
9ea5cf9f
DG
59212013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5922
c1ea3abf
JB
5923 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5924 Adapt to `package-desc-version' being a list.
5925 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5926 archive element.
5927
39c0e36f
JB
59282013-06-27 Juanma Barranquero <lekktu@gmail.com>
5929
5930 New experimental feature to save&restore window and frame setup.
5931 * desktop.el (desktop-save-windows): New defcustom.
5932 (desktop--saved-states): New var.
5933 (desktop--excluded-frame-parameters): New defconst.
5934 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5935 (desktop--restore-windows, desktop--save-windows): New functions.
5936 (desktop-save): Call `desktop--save-windows'.
5937 (desktop-read): Call `desktop--restore-windows'.
5938
7f13406b
LMI
59392013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5940
ef099a94 5941 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5942
1e072639
SB
59432013-06-27 Stephen Berman <stephen.berman@gmx.net>
5944
5945 * info.el (Info-try-follow-nearest-node): Move search for footnote
5946 above search for node name to prevent missing a footnote (bug#14717).
5947
f3e2cbde
SB
59482013-06-27 Stephen Berman <stephen.berman@gmx.net>
5949
5950 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5951
99906aa0
LL
59522013-06-27 Leo Liu <sdl.web@gmail.com>
5953
5954 * net/eww.el (eww-read-bookmarks): Check file size.
5955
539f75f4
SM
59562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5957
5958 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5959 advice--pending if newdef is nil or an autoload (bug#13820).
5960 (advice-mapc): New function.
5961
843571cb
LMI
59622013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5963
5964 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5965 probably.
23a75d7f 5966 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5967 (eww-add-bookmark): New command.
5968 (eww-bookmark-mode): New mode and commands.
a285ce99 5969 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5970 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5971
f2136e1e
GM
59722013-06-26 Glenn Morris <rgm@gnu.org>
5973
eab35f39
GM
5974 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5975 (hfy-size): Handle ttys. (Bug#14668)
5976
f2136e1e
GM
5977 * info-xref.el: Update for Texinfo 5 change in *note format.
5978 (info-xref-node-re, info-xref-note-re): New constants.
5979 (info-xref-check-buffer): Use info-xref-note-re.
5980
a49ff80c
SM
59812013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5982
a343d218
SM
5983 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5984
a49ff80c
SM
5985 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5986 nil terminate the loop (bug#14718).
5987
8308f184
LMI
59882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5989
5990 * net/eww.el: Rework history traversal. When going forward/back,
5991 put these actions into the history, too, so that they can be
5992 replayed.
26bf2b82 5993 (eww-render): Move the history reset to the correct buffer.
8308f184 5994
ec64c273
JL
59952013-06-25 Juri Linkov <juri@jurta.org>
5996
5997 * files-x.el (modify-dir-local-variable): Change the header comment
5998 in the file with directory local variables. (Bug#14692)
5999
e080a9d7
JL
6000 * files-x.el (read-file-local-variable-value): Add `default'.
6001 (Bug#14710)
6002
bfbc93a1
IK
60032013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6004
6005 * net/eww.el (eww-make-unique-file-name): Create a unique file
6006 name before saving to entering `y' accidentally asynchronously.
6007
60082013-06-25 Ivan Kanis <ivan@kanis.fr>
6009
6010 * net/eww.el (eww-download): New command and keystroke.
6011
16f74f10
LMI
60122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6013
a49ff80c 6014 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6015
6016 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6017 be more consistent with Info and dired.
6018
6019 * net/eww.el (eww-mode-map): Ditto.
6020
12059709
SM
60212013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6024 packages from archives.
6025 (package-archive-contents): Change format; include obsolete packages.
6026 (package-desc): Use `dir' to mark builtin packages.
6027 (package--from-builtin): Set the `dir' field to `builtin'.
6028 (generated-autoload-file, version-control): Declare.
6029 (package-compute-transaction): Change first arg and return value to be
6030 lists of package-descs. Adjust to new package-archive-contents format.
6031 (package--add-to-archive-contents): Adjust to new
6032 package-archive-contents format.
6033 (package-download-transaction): Arg is now a list of package-descs.
6034 (package-install): If `pkg' is a package name, pass it as
6035 a requirement, so it is subject to the usual (e.g. disabled) checks.
6036 (describe-package): Accept package-desc as well.
6037 (describe-package-1): Describe a specific package-desc. Add links to
6038 other package-descs for the same package name.
6039 (package-menu-describe-package): Pass the actual package-desc.
6040 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6041 works correctly.
6042 (package-desc-status): New function.
6043 (package-menu--refresh): New function, extracted
6044 from package-menu--generate.
6045 (package-menu--generate): Use it.
6046 (package-delete): Update package-alist.
6047 (package-menu-execute): Don't call package-initialize.
6048
6049 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6050 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6051 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6052 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6053 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6054 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6055
8bbdea0f
MR
60562013-06-25 Martin Rudalics <rudalics@gmx.at>
6057
6058 * window.el (window--state-get-1): Workaround for bug#14527.
6059 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6060
e82b0991
LMI
60612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6062
6063 * net/eww.el (eww-back-url): Implement the history by stashing all
6064 the data into a list.
d3f0f918 6065 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6066
c763842b
SM
60672013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6070 for values and use read--expression for expressions (bug#14710).
6071 (read-file-local-variable): Avoid setq.
6072 (read-file-local-variable-mode): Use minor-mode-list.
6073
bceff189
RW
60742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6075
864c58ca 6076 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6077 for DOI URLs.
6078
45f431c6
RW
60792013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6080
864c58ca 6081 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6082 Update imenu-support when dialect changes.
6083
f42d8237
LL
60842013-06-25 Leo Liu <sdl.web@gmail.com>
6085
6086 * ido.el (ido-read-internal): Allow forward slash on windows.
6087
be549ce6
LMI
60882013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
6090 * net/eww.el (eww): Start of strings is \\`, not ^.
6091
71d4c19d
IK
60922013-06-24 Ivan Kanis <ivan@kanis.fr>
6093
5196f88a
IK
6094 * net/shr.el (shr-browse-url): Fix interactive spec.
6095
71d4c19d
IK
6096 * net/eww.el (eww): Add a trailing slash to domain names.
6097
ae36ca55
JB
60982013-06-24 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6101
0ebd92a3
LMI
61022013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6103
bdaa086b
LMI
6104 * net/shr.el (shr-browse-url): Use an external browser if given a
6105 prefix.
6106
c763842b 6107 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6108
b89fc156
IK
61092013-06-24 Ivan Kanis <ivan@kanis.fr>
6110
6111 * net/eww.el (eww): Work more correctly for file: URLs.
6112 (eww-detect-charset): Allow quoted charsets.
6113 (eww-yank-page-url): New command and keystroke.
6114
18eb4bca
DU
61152013-06-24 Daiki Ueno <ueno@gnu.org>
6116
6117 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6118 file name of gpg executable.
6119 (epg-context-program): New function.
6120 (epg-context-home-directory): New function.
6121 (epg-context-set-program): New function.
6122 (epg-context-set-home-directory): New function.
6123 (epg--start): Use `epg-context-program' instead of
6124 'epg-gpg-program'.
6125 (epg--list-keys-1): Likewise.
6126
6c6268c8
LL
61272013-06-24 Leo Liu <sdl.web@gmail.com>
6128
6129 * ido.el (ido-read-internal): Fix bug#14620.
6130
5e400cb3
JB
61312013-06-23 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * faces.el (face-documentation): Simplify.
6134 (read-face-attribute, tty-find-type, x-resolve-font-name):
6135 Use `string-match-p'.
6136 (list-faces-display): Use `string-match-p'. Simplify.
6137 (face-spec-recalc): Check face to avoid face alias loops.
6138 (read-color): Use `string-match-p' and non-capturing parenthesis.
6139
f3f9606c
LMI
61402013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
6142 * net/shr.el (shr-rescale-image): Use the new
6143 :max-width/:max-height functionality.
6144
a3ca09b9
IK
61452013-06-23 Ivan Kanis <ivan@kanis.fr>
6146
6147 * net/eww.el (eww-search-prefix): New variable.
6148 (eww): Use it.
f865b474
IK
6149 (eww-external-browser): New variable.
6150 (eww-mode-map): New keystroke.
6151 (eww-browse-with-external-browser): New command.
a3ca09b9 6152
e854cfc7
IK
6153 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6154
18bb9e21
JB
61552013-06-23 Juanma Barranquero <lekktu@gmail.com>
6156
6157 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6158 Don't skip aligning the next header field when padding is 0;
6159 otherwise, field width is not respected unless the title is as
6160 wide as the field.
6161
5b165ade
SM
61622013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/package.el (package-el-version): Remove.
6165 (package-process-define-package): Fix inf-loop.
6166 (package-install): Allow symbols as arguments again.
6167
12adebe9
DG
61682013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6169
6170 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6171 add some more keyword-like methods.
6172 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6173
388573ee
JB
61742013-06-22 Juanma Barranquero <lekktu@gmail.com>
6175
6176 * bs.el (bs-buffer-show-mark): Make defvar-local.
6177 (bs-mode): Use setq-local.
6178
6179 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6180 (emacs-lock--try-unlocking): Make defvar-local.
6181
4582a01c 61822013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6183
2663dd23
GM
6184 * play/cookie1.el (cookie-apropos): Minor simplification.
6185
3d94f3ad
GM
6186 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6187
f72e2fdb
DG
61882013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6189
6190 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6191 `regexp-opt', it breaks the build during dumping.
6192
73eab938
DG
61932013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6194
c763842b
SM
6195 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6196 Highlight keyword-like methods on Kernel and Module with
73eab938 6197 font-lock-builtin-face.
5cf8176d
DG
6198 (auto-mode-alist): Consolidate different entries into one regexp
6199 and add more *file-s.
73eab938 6200
d26255f6
SB
62012013-06-21 Stephen Berman <stephen.berman@gmx.net>
6202
6203 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6204
6205 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6206 (diary-entry): Use it in the action of this button type instead of
6207 diary-goto-entry.
6208
6209 * calendar/todo-mode.el: New version.
6210 (todo-add-category): Append new category to end of file and give
6211 it the highest number, instead of putting it at the beginning and
6212 giving it 0. Incorporate noninteractive functionality.
6213 (todo-forward-category): Adapt to 1-based category numbering.
6214 Allow skipping over archived categories.
6215 (todo-backward-category): Derive from todo-forward-category.
6216 (todo-backward-item, todo-forward-item): Make noninteractive and
6217 delegate interactive part to new commands. Make sensitive to done items.
6218 (todo-categories): Make value an alist of category names and
6219 vectors of item counts.
6220 (todo-category-beg): Make a defconst.
6221 (todo-category-number): Use 1 instead of 0 as initial value.
6222 (todo-category-select): Make sensitive to overlays, optional item
6223 highlighting and done items.
6224 (todo-delete-item): Make sensitive to overlays and marked and done items.
6225 (todo-edit-item): Make sensitive to overlays and editing of
6226 date/time header optional. Add format checks.
6227 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6228 no-op if point is not on an item. Advertise using todo-edit-quit.
6229 (todo-edit-mode): Make sensitive to new format, font-locking, and
6230 multiple todo files.
6231 (todo-insert-item, todo-insert-item-here): Derive from
6232 todo-basic-insert-item and extend functionality.
6233 (todo-item-end, todo-item-start): Make sensitive to done items.
6234 (todo-item-string): Don't return text properties. Restore point.
6235 (todo-jump-to-category): Make sensitive to multiple todo files and
6236 todo archives. Use extended category completion.
6237 (todo-lower-item, todo-raise-item): Rename to *-priority and
6238 derive from todo-set-item-priority.
6239 (todo-mode): Derive from special-mode. Make sensitive to new
6240 format, font-locking and multiple todo files. Make read-only.
6241 (todo-mode-map): Don't suppress digit keys, so they can supply
6242 prefix arguments. Add many new key bindings.
6243 (todo-prefix): Insert as an overlay instead of file text.
6244 Change semantics from diary date expression to purely visual mark.
6245 (todo-print): Rename to todo-print-buffer. Make buffer display
6246 features printable. Remove option to restrict number of items
6247 printed. Add option to print to file.
6248 (todo-print-function): Rename to todo-print-buffer-function.
6249 (todo-quit): Extend to handle exiting new todo modes.
6250 (todo-remove-item): Make sensitive to overlays.
6251 (todo-save): Extend to buffers of filtered items.
6252 (todo-show): Make sensitive to done items, multiple todo files and
6253 new todo modes. Offer to convert legacy todo file before creating
6254 first new todo file.
6255 (todo-show-priorities): Rename to todo-top-priorities.
6256 Change semantics of value 0.
6257 (todo-top-priorities): Rename to todo-filter-top-priorities,
6258 derive from todo-filter-items and extend functionality.
6259 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6260 and extend functionality to other types of filtered items.
6261 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6262 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6263 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6264 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6265 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6266 (todo-edit-mode-hook, todo-entry-prefix-function)
6267 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6268 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6269 (todo-initials, todo-insert-threshold, todo-item-string-start)
6270 (todo-line-string, todo-menu, todo-mode-hook)
6271 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6272 (todo-print-priorities, todo-remove-separator)
6273 (todo-save-top-priorities-too, todo-string-count-lines)
6274 (todo-string-multiline-p, todo-time-string-format)
6275 (todo-tmp-buffer-name): Remove.
6276 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6277 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6278 (todo-edit-category-diary-inclusion)
6279 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6280 (todo-edit-file, todo-edit-item-date-day)
6281 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6282 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6283 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6284 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6285 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6286 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6287 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6288 (todo-filter-top-priorities-multifile, todo-find-archive)
6289 (todo-find-filtered-items-file, todo-go-to-source-item)
6290 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6291 (todo-jump-to-archive-category, todo-lower-category)
6292 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6293 (todo-move-category, todo-move-item, todo-next-button)
6294 (todo-next-item, todo-padded-string, todo-powerset)
6295 (todo-previous-button, todo-previous-item)
6296 (todo-print-buffer-to-file, todo-raise-category)
6297 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6298 (todo-set-category-number, todo-set-item-priority)
6299 (todo-set-top-priorities-in-category)
6300 (todo-set-top-priorities-in-file, todo-show-categories-table)
6301 (todo-sort-categories-alphabetically-or-numerically)
6302 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6303 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6304 (todo-toggle-item-header, todo-toggle-item-highlighting)
6305 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6306 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6307 (todo-unarchive-items, todo-unmark-category): New commands.
6308 (todo-absolute-file-name, todo-add-to-buffer-list)
6309 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6310 (todo-basic-insert-item, todo-category-completions)
6311 (todo-category-number, todo-category-string-matcher-1)
6312 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6313 (todo-check-format, todo-clear-matches)
6314 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6315 (todo-current-category, todo-date-string-matcher)
6316 (todo-define-insertion-command, todo-diary-expired-matcher)
6317 (todo-diary-goto-entry, todo-diary-item-p)
6318 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6319 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6320 (todo-done-item-section-p, todo-done-separator)
6321 (todo-done-string-matcher, todo-files, todo-filter-items)
6322 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6323 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6324 (todo-insert-category-line, todo-insert-item-from-calendar)
6325 (todo-insert-sort-button, todo-insert-with-overlays)
6326 (todo-insertion-command-name, todo-insertion-key-bindings)
6327 (todo-label-to-key, todo-longest-category-name-length)
6328 (todo-make-categories-list, todo-mode-external-set)
6329 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6330 (todo-modes-set-3, todo-multiple-filter-files)
6331 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6332 (todo-read-category, todo-read-date, todo-read-dayname)
6333 (todo-read-file-name, todo-read-time)
6334 (todo-reevaluate-category-completions-files-defcustom)
6335 (todo-reevaluate-default-file-defcustom)
6336 (todo-reevaluate-filelist-defcustoms)
6337 (todo-reevaluate-filter-files-defcustom)
6338 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6339 (todo-reset-done-separator, todo-reset-done-separator-string)
6340 (todo-reset-done-string, todo-reset-global-current-todo-file)
6341 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6342 (todo-reset-prefix, todo-set-categories)
6343 (todo-set-date-from-calendar, todo-set-show-current-file)
6344 (todo-set-top-priorities, todo-short-file-name)
6345 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6346 (todo-total-item-counts, todo-update-buffer-list)
6347 (todo-update-categories-display, todo-update-categories-sexp)
6348 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6349 New functions.
6350 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6351 New major modes.
6352 (todo-categories, todo-display, todo-edit, todo-faces)
6353 (todo-filtered): New defgroups.
6354 (todo-archived-only, todo-button, todo-category-string, todo-date)
6355 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6356 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6357 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6358 (todo-add-item-if-new-category, todo-always-add-time-string)
6359 (todo-categories-align, todo-categories-archived-label)
6360 (todo-categories-category-label, todo-categories-diary-label)
6361 (todo-categories-done-label, todo-categories-number-separator)
6362 (todo-categories-todo-label, todo-categories-totals-label)
6363 (todo-category-completions-files, todo-completion-ignore-case)
6364 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6365 (todo-done-separator-string, todo-done-string)
6366 (todo-files-function, todo-filter-done-items, todo-filter-files)
6367 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6368 (todo-initial-category, todo-initial-file, todo-item-mark)
6369 (todo-legacy-date-time-regexp, todo-mode-line-function)
6370 (todo-nondiary-marker, todo-number-prefix)
6371 (todo-print-buffer-function, todo-show-current-file)
6372 (todo-show-done-only, todo-show-first, todo-show-with-done)
6373 (todo-skip-archived-categories, todo-top-priorities-overrides)
6374 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6375 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6376 New defcustoms.
6377 (todo-category-done, todo-date-pattern, todo-date-string-start)
6378 (todo-diary-items-buffer, todo-done-string-start)
6379 (todo-filtered-items-buffer, todo-item-start)
6380 (todo-month-abbrev-array, todo-month-name-array)
6381 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6382 (todo-top-priorities-buffer): New defconsts.
6383 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6384 (todo-categories-with-marks, todo-category-string-face)
6385 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6386 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6387 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6388 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6389 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6390 (todo-font-lock-keywords, todo-global-current-todo-file)
6391 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6392 (todo-insertion-commands-args)
6393 (todo-insertion-commands-args-genlist)
6394 (todo-insertion-commands-names, todo-insertion-map)
6395 (todo-key-bindings-t, todo-key-bindings-t+a)
6396 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6397 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6398 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6399 (todo-visited): New variables.
6400
cad5d1cb
GM
64012013-06-21 Glenn Morris <rgm@gnu.org>
6402
6403 * play/cookie1.el (cookie-apropos): Add optional display argument.
6404 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6405 (psychoanalyze-pinhead): Use cookie-doctor.
6406
9e277302
JB
64072013-06-21 Juanma Barranquero <lekktu@gmail.com>
6408
6409 * emacs-lisp/package.el (tar-get-file-descriptor)
6410 (tar--extract): Declare.
6411
c5b0993e
EW
64122013-06-21 Eduard Wiebe <usenet@pusto.de>
6413
6414 Extend flymake's warning predicate to be a function (bug#14217).
6415 * progmodes/flymake.el (flymake-warning-predicate): New.
6416 (flymake-parse-line): Use it.
6417 (flymake-warning-re): Make obsolete alias to
6418 `flymake-warning-predicate'.
6419
a7d2d465
SM
64202013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6423 (package-obsolete-list): Remove.
6424 (package-activate): Remove min-version argument. Add `force' argument.
6425 Adjust to new package-alist format.
6426 (package-mark-obsolete): Remove.
6427 (package-unpack): Force reload of the package's autoloads.
6428 (package-installed-p): Check builtins if the installed package is not
6429 recent enough.
6430 (package-initialize): Don't reset package-obsolete-list.
6431 Don't specify which package version to activate.
6432 (package-process-define-package, describe-package-1)
6433 (package-menu--generate): Adjust to new package-alist format.
6434
cedf5c9d
JB
64352013-06-21 Juanma Barranquero <lekktu@gmail.com>
6436
6437 * allout-widgets.el (allout-widgets-mode-off)
6438 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6439 (allout-widgets-post-command-business)
6440 (allout-widgets-after-copy-or-kill-function)
6441 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6442 (allout-decorate-item-and-context)
6443 (allout-graphics-modification-handler): Fix typos in docstrings.
6444 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6445
6446 * cmuscheme.el (scheme-start-file): Doc fix.
6447 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6448 (scheme-input-filter): Use `string-match-p'.
6449
6450 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6451
6452 * dired-x.el: Use Dired consistently in docstrings.
6453
6454 * dired.el: Use Dired consistently in docstrings.
6455 (dired-readin, dired-mode): Use `setq-local'.
6456 (dired-switches-alist): Make defvar-local.
6457 (dired-buffers-for-dir): Use `zerop'.
6458 (dired-safe-switches-p, dired-switches-escape-p)
6459 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6460 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6461 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6462 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6463 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6464 (dired-toggle-marks, dired-mark-files-containing-regexp)
6465 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6466 (dired-flag-auto-save-files, dired-flag-backup-files):
6467 Use `looking-at-p'.
6468 (dired-mark-files-regexp, dired-build-subdir-alist):
6469 Use `string-match-p', `looking-at-p'.
6470
6471 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6472 (direct-print-region-helper): Use `string-match-p'.
6473
aed838b5
LL
64742013-06-21 Leo Liu <sdl.web@gmail.com>
6475
cedf5c9d
JB
6476 * comint.el (comint-redirect-results-list-from-process):
6477 Fix infinite loop.
aed838b5 6478
d80a808f
LMI
64792013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
6481 * net/eww.el (eww-update-header-line-format): Quote % characters.
6482
e7a526e3
GM
64832013-06-21 Glenn Morris <rgm@gnu.org>
6484
6485 * play/cookie1.el (cookie): New custom group.
6486 (cookie-file): New option.
6487 (cookie-check-file): New function.
6488 (cookie): Make it interactive. Make start and end messages optional.
6489 Interactively, display the result. Default to cookie-file.
6490 (cookie-insert): Default to cookie-file.
6491 (cookie-snarf): Make start and end messages optional.
6492 Default to cookie-file. Use with-temp-buffer.
6493 (cookie-read): Rename from read-cookie.
6494 Make start and end messages optional. Default to cookie-file.
6495 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6496 Do not autoload it.
e7a526e3
GM
6497 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6498 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6499
62efb35e
LL
65002013-06-21 Leo Liu <sdl.web@gmail.com>
6501
6502 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6503
21e3f963
GM
65042013-06-21 Glenn Morris <rgm@gnu.org>
6505
6506 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6507
fd846ab4
SM
65082013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6509 Daniel Hackney <dan@haxney.org>
6510
6511 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6512 Consolidate the single-file vs tarball code.
6513 (package-desc-suffix): New function.
6514 (package-desc-full-name): Don't bother inlining it.
6515 (package-load-descriptor): Return the new package-desc.
6516 (package-mark-obsolete): Remove unused arg `package'.
6517 (package-unpack): Make it work for single files as well.
6518 Make it update package-alist.
6519 (package--make-autoloads-and-stuff): Rename from
6520 package--make-autoloads-and-compile. Don't compile any more.
6521 (package--compile): New function.
6522 (package-generate-description-file): New function, extracted from
6523 package-unpack-single.
6524 (package-unpack-single): Remove.
6525 (package--with-work-buffer): Add indentation and debugging info.
6526 (package-download-single): Remove.
6527 (package-install-from-archive): Rename from package-download-tar, make
6528 it take a pkg-desc, and make it work for single files as well.
6529 (package-download-transaction): Simplify.
6530 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6531 external tar program.
6532 (package-install-from-buffer): Remove `pkg-desc' argument.
6533 Use package-tar-file-info for tar-mode buffers.
6534 (package-install-file): Simplify accordingly.
6535 (package-archive-base): Change to take a pkg-desc.
6536 * tar-mode.el (tar--check-descriptor): New function, extracted from
6537 tar-get-descriptor.
6538 (tar-get-descriptor): Use it.
6539 (tar-get-file-descriptor): New function.
6540 (tar--extract): New function, extracted from tar-extract.
6541 (tar--extract): Use it.
6542 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6543 case the summary uses non-ascii. Adjust to new calling convention of
6544 package-tar-file-info.
6545
b7deae5e
LL
65462013-06-21 Leo Liu <sdl.web@gmail.com>
6547
fd846ab4
SM
6548 * comint.el (comint-redirect-results-list-from-process):
6549 Fix random delay. (Bug#14681)
b7deae5e 6550
7a65a0b2
JB
65512013-06-21 Juanma Barranquero <lekktu@gmail.com>
6552
6553 * profiler.el (profiler-format-number): Use log, not log10.
6554
1493c2af
JB
65552013-06-20 Juanma Barranquero <lekktu@gmail.com>
6556
6557 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6558
aff6371e
SM
65592013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6562 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6563 yet available.
6564 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6565 (AUTOGENEL): ... here.
6566 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6567 (cl--defsubst-expand): Use it.
6568
89561f72
PE
65692013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6570
6571 * subr.el (log10): Move here from C code, and declare as obsolete.
6572 All uses of (log10 X) replaced with (log X 10).
6573
47199123
JB
65742013-06-20 Juanma Barranquero <lekktu@gmail.com>
6575
6576 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6577 Declare with `defvar-local'.
6578 (tabulated-list-use-header-line, tabulated-list-entries)
6579 (tabulated-list-padding, tabulated-list-printer)
6580 (tabulated-list-sort-key): Declare with `defvar-local'.
6581 (tabulated-list-init-header, tabulated-list-print-fake-header):
6582 Use `setq-local'.
6583
4a172eab
MA
65842013-06-20 Michael Albinus <michael.albinus@gmx.de>
6585
47199123
JB
6586 * arc-mode.el (archive-mode): Add `archive-write-file' to
6587 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6588
5fc0acc0
JB
65892013-06-20 Juanma Barranquero <lekktu@gmail.com>
6590
d5b27848
JB
6591 * cus-edit.el (custom-commands): Fix typos.
6592 (custom-display): Fix tooltip text.
6593 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6594 Fix typos in docstrings.
6595 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6596 (custom-unlispify-menu-entry, custom-magic-value-create)
6597 (custom-add-see-also, custom-group-value-create): Use ?\s.
6598 (custom-guess-type, customize-apropos, editable-field)
6599 (custom-face-value-create): Use `string-match-p'.
6600 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6601
6602 * custom.el (custom-load-symbol): Use `string-match-p'.
6603
a5c581d8
JB
6604 * ansi-color.el: Convert to lexical binding.
6605 (ansi-colors): Fix URL.
6606 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6607 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6608 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6609
970ad972
G
66102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611
6612 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6613
6614 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6615
66162013-06-19 Tom Tromey <tromey@redhat.com>
6617
6618 * net/eww.el (eww-top-url): Remove.
6619 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6620 (eww-render): Set new variables. Don't set eww-top-url.
6621 (eww-handle-link): Handle "prev", "home", and "contents".
6622 Downcase the rel text.
6623 (eww-top-url): Choose best top URL.
6624
66252013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6626
6627 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6628 relying in widget.el. Using widget.el leads to too many
6629 user interface inconsistencies.
6630 (eww-self-insert): Implement entering commands in text fields.
6631 (eww-process-text-input): New function to make text input field editing
6632 work.
6633 (eww-submit): Rewrite to use the new-style form methods.
6634 (eww-select-display): Display the correct selected item.
6635 (eww-change-select): Implement changing the select value.
6636 (eww-toggle-checkbox): Implement radio/checkboxes.
6637 (eww-update-field): Fix compilation error.
6638 (eww-tag-textarea): Implement <textarea>.
6639
6640 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6641 we don't shadow mode-specific bindings.
6642
6643 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6644 nothing to push.
6645
6646 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6647
4582a01c 66482013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6649
6650 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6651
15b263dc
MA
66522013-06-19 Michael Albinus <michael.albinus@gmx.de>
6653
6654 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6655 not needed.
6656
6657 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6658
8f5297f7
LMI
66592013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6660
6661 * net/browse-url.el (browse-url-browser-function):
6662 `eww-browse-url' has the right calling signature, `eww' does not.
6663
011c4552
GM
66642013-06-19 Glenn Morris <rgm@gnu.org>
6665
2285bd27
GM
6666 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6667 Only eval autoloaded macros.
6668 (byte-compile-autoload): Only give the macro warning for macros.
6669
1d653303
GM
6670 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6671 (ps-underlined-faces): Declare.
6672
bdd779ec
GM
6673 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6674 (speedbar-add-supported-extension): Declare.
6675
011c4552
GM
6676 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6677 Don't include a date stamp in the header of the generated file;
6678 it leads to needless differences between output files.
6679
e59dfb0e
MA
66802013-06-19 Michael Albinus <michael.albinus@gmx.de>
6681
c763842b
SM
6682 * net/secrets.el (secrets-struct-secret-content-type):
6683 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6684 Some servers do not offer introspection.
e59dfb0e 6685
102626e2
SM
66862013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * electric.el (electric-pair-mode): Improve interaction with
6689 electric-layout-mode.
6690 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6691 (electric-pair-syntax): Use text-mode-syntax-table in comments
6692 and strings.
6693 (electric-pair--insert): New function.
6694 (electric-pair-post-self-insert-function): Use it and
6695 electric--after-char-pos.
6696
ad528125
LL
66972013-06-19 Leo Liu <sdl.web@gmail.com>
6698
6699 * progmodes/octave.el (octave-help): Fix regexp.
6700
924d6997
G
67012013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6702
6703 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6704 (shr-table-horizontal-line): Allow nil as a value, and change the
6705 default.
6706 (shr-insert-table-ruler): Respect the nil value.
6707
67082013-06-18 Tom Tromey <tromey@barimba>
6709
6710 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6711 New defvars.
6712 (eww-open-file): New defun.
6713 (eww-render): Initialize new variables.
6714 (eww-display-html): Handle "link" and "a".
6715 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6716 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6717 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6718 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6719 New defuns.
924d6997 6720
d1bbba4f
DG
67212013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6722
6723 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6724 Distinguish ternary operator tokens from slash symbol and slash
6725 char literal.
6726
14dd22d2
JB
67272013-06-18 Juanma Barranquero <lekktu@gmail.com>
6728
6729 Convert symbol prettification into minor mode and global minor mode.
6730
6731 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6732 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6733 (prettify-symbols--keywords): Rename from
6734 `prog-prettify-symbols-alist' and make a local defvar.
6735 (prettify-symbols--compose-symbol): Rename from
6736 `prog--prettify-font-lock-compose-symbol'.
6737 (prettify-symbols--make-keywords): Rename from
6738 `prog-prettify-font-lock-symbols-keywords' and simplify.
6739 (prog-prettify-install): Remove.
6740 (prettify-symbols-mode): New minor mode, based on
6741 `prog-prettify-install'.
6742 (turn-on-prettify-symbols-mode): New function.
6743 (global-prettify-symbols-mode): New globalized minor mode.
6744
6745 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6746 * progmodes/cfengine.el (cfengine3-mode):
6747 * progmodes/perl-mode.el (perl-mode): Don't call
6748 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6749
292c880c
JL
67502013-06-18 Juri Linkov <juri@jurta.org>
6751
6752 * files-x.el (modify-file-local-variable-message): New function.
6753 (modify-file-local-variable)
6754 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6755 and call `modify-file-local-variable-message' when it's non-nil.
6756 (add-file-local-variable, delete-file-local-variable)
6757 (add-file-local-variable-prop-line)
6758 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6759 and use it. (Bug#9820)
6760
0950aa27
JL
67612013-06-18 Juri Linkov <juri@jurta.org>
6762
6763 * emulation/vi.el (vi-shell-op):
6764 * emulation/vip.el (vip-execute-com, ex-command):
6765 * emulation/viper-cmd.el (viper-exec-bang):
6766 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6767 the call of `shell-command-on-region'. (Bug#14637)
6768
6769 * simple.el (shell-command-on-region): Doc fix.
6770
8fbcca16
SM
67712013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6774 (bug#14633).
6775
dd7426ea
GM
67762013-06-18 Glenn Morris <rgm@gnu.org>
6777
4ba54f7d
GM
6778 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6779
dd7426ea
GM
6780 * newcomment.el (comment-search-forward, comment-search-backward):
6781 Doc fix. (Bug#14376)
6782
58aa805b
JB
67832013-06-18 Juanma Barranquero <lekktu@gmail.com>
6784
6785 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6786 (buffer-face-mode-invoke): Doc fix.
6787
9a08a617
MM
67882013-06-18 Matthias Meulien <orontee@gmail.com>
6789
6790 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6791 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6792
f2f426ca
GM
67932013-06-18 Glenn Morris <rgm@gnu.org>
6794
9445f99b
GM
6795 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6796 Replace obsolete function generic-make-keywords with its expansion.
6797
e0df2d14
GM
6798 * progmodes/python.el (ffap-alist): Declare.
6799
f2f426ca
GM
6800 * textmodes/reftex.el (bibtex-mode-map): Declare.
6801
f7f9a720
SM
68022013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6805 (package-unpack, package-unpack-single): Return the pkg-dir.
6806 (package-download-transaction): Use it to update package-alist.
6807
57ff04e0
LMI
68082013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6809
6810 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6811 possible choice.
6812
c048c022
JL
68132013-06-17 Juri Linkov <juri@jurta.org>
6814
6815 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6816
b5bcaee5
DG
68172013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6818
a020afb9
JB
6819 * emacs-lisp/package.el (package-load-descriptor):
6820 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6821 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6822
551e07e5
JB
68232013-06-17 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * startup.el (command-line): Expand package name returned by
6826 `package--description-file' (bug#14639).
6827
d363bffb
DG
68282013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6829
6830 * emacs-lisp/package.el (package-load-descriptor): Do not call
6831 `emacs-lisp-mode', just use its syntax table.
6832
f612933b
JB
68332013-06-17 Juanma Barranquero <lekktu@gmail.com>
6834
6835 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6836 `font-lock-extra-managed-props' if any prettifying keyword is added.
6837 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6838 (prog-mode): Use `setq-local'.
6839
db3b7db5
SM
68402013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * international/characters.el (standard-case-table): Set syntax of ?»
6843 and ?« to punctuation.
6844
f3d674df
JB
68452013-06-16 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6848 Save relevant match data before calling `syntax-ppss' (bug#14595).
6849
31489a32
JL
68502013-06-15 Juri Linkov <juri@jurta.org>
6851
6852 * files-x.el (modify-file-local-variable-prop-line): Add local
6853 variables to the end of the existing comment on the first line.
6854 Use `file-auto-mode-skip' to skip interpreter magic line,
6855 and also skip XML declaration.
6856
66bd25ab
SM
68572013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * startup.el (package--builtin-versions): New var.
6860 (package-subdirectory-regexp): Remove.
6861 (package--description-file): Hard code its value instead.
6862
6863 * emacs-lisp/package.el: Don't activate packages older than builtin.
6864 (package-obsolete-list): Rename from package-obsolete-alist, and make
6865 it into a simple list of package-desc.
6866 (package-strip-version): Remove.
6867 (package-built-in-p): Use package--builtin-versions.
6868 (package-mark-obsolete): Simplify.
6869 (package-process-define-package): Mark it obsolete if older than the
6870 builtin version.
6871 (package-handle-response): Use line-end-position.
6872 (package-read-archive-contents, package--download-one-archive):
6873 Simplify.
6874 (package--add-to-archive-contents): Skip if older than the builtin or
6875 installed version.
6876 (package-menu-describe-package): Fix last change.
6877 (package-list-unversioned): New var.
6878 (package-menu--generate): Use it.
6879
6880 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6881 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6882 (autoload-builtin-package-versions): New variable.
6883 (autoload-generate-file-autoloads): Use them.
6884 Remove the list of autoloaded functions/macros from the
6885 (autoload...) comments.
6886
6887 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6888
9583ec36
EZ
68892013-06-15 Eli Zaretskii <eliz@gnu.org>
6890
6891 * simple.el (line-move-partial): Don't jump to the next screen
6892 line as soon as it becomes visible. Instead, continue enlarging
6893 the vscroll until the portion of a tall screen line that's left on
6894 display is about the height of the frame's default font.
6895 (Bug#14567)
6896
f0100d8a
GM
68972013-06-15 Glenn Morris <rgm@gnu.org>
6898
b86a85ca
GM
6899 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6900 compilation-error-regexp-alist void, or local while let-bound.
6901
f0100d8a
GM
6902 * progmodes/make-mode.el (makefile-mode-syntax-table):
6903 Treat "=" as punctuation. (Bug#14614)
6904
05e7ce90
JB
69052013-06-15 Juanma Barranquero <lekktu@gmail.com>
6906
6907 * help-fns.el (describe-variable):
6908 Add extra line for permanent-local variables.
6909
12e5e86e
SH
69102013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6911
6912 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6913 Add export, import, library. (Bug#9164)
6914 (library): Set indent function.
6915
230dcbaf
GM
69162013-06-14 Glenn Morris <rgm@gnu.org>
6917
6918 * term/xterm.el (xterm--query):
6919 Stop after first matching handler. (Bug#14615)
6920
e36b2d20 69212013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6922
6923 Add support for dired in saveplace.
6924 * dired.el (dired-initial-position-hook): New variable.
6925 (dired-initial-position): Call hook to place cursor position.
6926 * saveplace.el (save-place-to-alist): Add dired position.
6927 (save-place-dired-hook): New function.
6928
0b31660d
SM
69292013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6930
bf1e6ae8
SM
6931 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6932 through a symbol rather than letrec.
6933
1b8dff23
SM
6934 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6935 (package-desc): Add `dir' field.
6936 (package-desc-full-name): New function.
6937 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6938 (package-maybe-load-descriptor): Remove.
6939 (package-load-all-descriptors): Just call package-load-descriptor.
6940 (package--disabled-p): New function.
6941 (package-desc-vers, package-desc-doc): Remove aliases.
6942 (package--dir): Remove function.
6943 (package-activate): Check if a package is disabled.
6944 (package-process-define-package): New function, extracted from
6945 define-package.
6946 (define-package): Turn into a place holder.
6947 (package-unpack-single, package-tar-file-info):
6948 Use package--description-file.
6949 (package-compute-transaction): Use package--disabled-p.
6950 (package-download-transaction): Don't call
6951 package-maybe-load-descriptor since they're all loaded anyway.
6952 (package-install): Change argument to be a pkg-desc.
6953 (package-delete): Use a single pkg-desc argument.
6954 (describe-package-1): Use package-desc-dir instead of package--dir.
6955 Use package-desc property instead of package-symbol.
6956 (package-install-button-action): Adjust accordingly.
6957 (package--push): Rewrite.
6958 (package-menu--print-info): Adjust accordingly. Change the ID format
6959 to be a pkg-desc.
6960 (package-menu-describe-package, package-menu-get-status)
6961 (package-menu--find-upgrades, package-menu-mark-upgrades)
6962 (package-menu-execute, package-menu--name-predicate):
6963 Adjust accordingly.
6964 * startup.el (package--description-file): New function.
6965 (command-line): Use it.
6966 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6967 Use package-desc-version.
6968
0b31660d
SM
6969 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6970 (byte-compile-preprocess): Use it.
6971 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6972 can't quite recognize.
6973 (byte-compile-add-to-list): Remove.
6974 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6975 (cconv-closure-convert): Add assertion.
6976
6977 * emacs-lisp/map-ynp.el: Use lexical-binding.
6978 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6979 Factor out some repeated code.
6980
de0503df
SM
69812013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * subr.el (with-eval-after-load): New macro.
6984 (eval-after-load): Allow form to be a function.
6985 take advantage of lexical-binding.
6986 (do-after-load-evaluation): Use dolist and adjust to new format.
6987 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6988
bc5c8c5a
JL
69892013-06-13 Juri Linkov <juri@jurta.org>
6990
6991 * replace.el (perform-replace): Display "symbol " and other search
6992 modes from `isearch-message-prefix' in the *Help* buffer.
6993
6994 * isearch.el (isearch-query-replace): Add " symbol" and other
6995 possible search modes from `isearch-message-prefix' to the prompt.
6996 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6997 when reading a regexp to collect.
6998
a22289f7
JL
69992013-06-13 Juri Linkov <juri@jurta.org>
7000
7001 * isearch.el (word-search-regexp): Match whitespace if the search
7002 string begins or ends in whitespace. The LAX arg is applied to
7003 both ends of the search string. Use `regexp-quote' and explicit
7004 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7005 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7006 boundaries are replaced with symbol boundaries, and characters
7007 between symbols match non-word non-symbol syntax. (Bug#14602)
7008
cb89acab
JL
70092013-06-13 Juri Linkov <juri@jurta.org>
7010
7011 * isearch.el (isearch-del-char): Don't exceed the length of
7012 `isearch-string' by the prefix arg. (Bug#14563)
7013
6e8cfc81
JL
70142013-06-13 Juri Linkov <juri@jurta.org>
7015
7016 * isearch.el (isearch-yank-word, isearch-yank-line)
7017 (isearch-char-by-name, isearch-quote-char)
7018 (isearch-printing-char, isearch-process-search-char):
7019 Add optional count prefix arg. (Bug#14563)
7020
7021 * international/isearch-x.el
7022 (isearch-process-search-multibyte-characters):
7023 Add optional count prefix arg.
7024
c23d55f4
VS
70252013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7028 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7029 lexical-binding.
7030
70312013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7032
7033 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7034
ba947bc4
GM
70352013-06-13 Glenn Morris <rgm@gnu.org>
7036
8baeb37a
GM
7037 * startup.el (tty-handle-args):
7038 Don't just discard "--" and anything after. (Bug#14608)
7039
ba947bc4
GM
7040 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7041
9abefce4
MA
70422013-06-13 Michael Albinus <michael.albinus@gmx.de>
7043
7044 Implement changes in Secret Service API. Make it backward compatible.
7045 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7046 (secrets-create-item): Use it. Prefix properties with interface.
7047
5755011f
MH
70482013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7049
7050 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7051 (term-emulate-terminal): Respect term-suppress-hard-newline.
7052
1261d2da
S
70532013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7054
7055 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7056 Only remove a `thumb-file' overlay. (Bug#14548)
7057
868490bb
GJ
70582013-06-12 Grégoire Jadi <daimrod@gmail.com>
7059
7060 * mail/reporter.el (reporter-submit-bug-report):
7061 Handle missing package-name. (Bug#14600)
7062
79d7167f
TH
70632013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7064
7065 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7066 (reftex-citation-prompt, reftex-default-bibliography)
7067 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7068 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7069 (reftex-bib-sort-author, reftex-bib-sort-year)
7070 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7071 (reftex-extract-bib-entries-from-thebibliography)
7072 (reftex-get-bibkey-default, reftex-get-bib-names)
7073 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7074 (reftex-format-bib-entry, reftex-parse-bibitem)
7075 (reftex-format-bibitem, reftex-do-citation)
7076 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7077 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7078 (reftex-insert-bib-matches, reftex-format-citation)
7079 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7080 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7081 existing comments into docstrings.
7082
5f9dbd7a
XF
70832013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7084
7085 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7086
94df41ab
AS
70872013-06-12 Andreas Schwab <schwab@suse.de>
7088
7089 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7090 for auto-save files.
7091
a7f3fecc
GM
70922013-06-12 Glenn Morris <rgm@gnu.org>
7093
001809f6
GM
7094 * ido.el (ido-delete-ignored-files): Remove.
7095 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7096 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7097
834b5ded
EL
70982013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7099
08c73ed2
EL
7100 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7101
834b5ded
EL
7102 * ido.el (ido-delete-ignored-files): New function,
7103 split from ido-make-file-list-1.
7104 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7105 (ido-make-file-list-1): Use ido-delete-ignored-files.
7106
daabf15a
LL
71072013-06-12 Leo Liu <sdl.web@gmail.com>
7108
7109 * progmodes/octave.el (inferior-octave-startup)
7110 (inferior-octave-completion-table)
7111 (inferior-octave-track-window-width-change)
7112 (octave-eldoc-function-signatures, octave-help)
7113 (octave-find-definition): Use single quoted strings.
7114 (inferior-octave-startup-args): Change default value.
7115 (inferior-octave-startup): Do not hard code "-i" and
7116 "--no-line-editing".
7117 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7118 (inferior-octave-directory-tracker): Use it.
7119 (octave-goto-function-definition): Robustify.
7120 (octave-help): Support highlighting operators in 'See also'.
7121 (octave-find-definition): Find subfunctions only in Octave mode.
7122
cf4e5178
SM
71232013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * help-fns.el (help-fns--compiler-macro): If the handler function is
7126 named, then put a link to it.
7127 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7128 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7129 (cl-typep): Use it.
7130 (cl-eval-when): Simplify debug spec.
7131 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7132 compiler-macro function instead of setting `compiler-macro-file'.
7133
99c81280 71342013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7135
7136 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7137 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7138
f56be016
SM
71392013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7140 Daniel Hackney <dan@haxney.org>
7141
7142 First part of Daniel Hackney's patch to package.el.
7143 * emacs-lisp/package.el: Use defstruct.
7144 (package-desc): New, main struct.
7145 (package--bi-desc, package--ac-desc): New structs, used to describe the
7146 format in external files.
7147 (package-desc-vers): Replace with package-desc-version accessor.
7148 (package-desc-doc): Replace with package-desc-summary accessor.
7149 (package-activate-1): Remove `package' arg since the pkg-vec now
7150 includes the name.
7151 (define-package): Use package-desc-from-define.
7152 (package-unpack-single): Change file-name arg to be a symbol.
7153 (package--add-to-archive-contents): Use package-desc-create and new
7154 accessor functions to package--ac-desc.
7155 (package-buffer-info, package-tar-file-info): Return a package-desc.
7156 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7157 arg to be a package-desc.
7158 (package-install-file): Adjust accordingly. Use \' to match EOS.
7159 (package--from-builtin): New function.
7160 (describe-package-1, package-menu--generate): Use it.
7161 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7162 (package-generate-autoloads): Idem and return the name of the file.
7163 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7164 Change pkg-info arg to be a package-desc.
7165 Use package-make-ac-desc.
7166 (package-upload-file): Use \' to match EOS.
7167 * finder.el (finder-compile-keywords): Use package-make-builtin.
7168
31119d63
SM
71692013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7170
931a2762
SM
7171 * vc/vc.el (vc-deduce-fileset): Change error message.
7172 (vc-read-backend): New function.
7173 (vc-next-action): Use it.
7174
5a3eb0c6
SM
7175 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7176
e3eb1bb7
SM
7177 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7178 (prolog-font-lock-keywords): Use regexp-opt instead.
7179 Don't manually highlight strings.
7180 (prolog-mode-variables): Simplify comment-start-skip.
7181 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7182
31119d63
SM
7183 * emacs-lisp/generic.el (generic--normalise-comments)
7184 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7185 (generic-mode-set-comments): Use them.
7186 (generic-bracket-support): Use setq-local.
7187 (generic-make-keywords-list): Declare obsolete.
7188
7de135d0
GM
71892013-06-11 Glenn Morris <rgm@gnu.org>
7190
7191 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7192 Prettify after setting font-lock-defaults. (Bug#14574)
7193
fa6bc6fd
JB
71942013-06-11 Juanma Barranquero <lekktu@gmail.com>
7195
7196 * replace.el (query-replace, occur-read-regexp-defaults-function)
7197 (replace-search):
7198 * subr.el (declare-function, number-sequence, local-set-key)
7199 (substitute-key-definition, locate-user-emacs-file)
7200 (with-silent-modifications, split-string, eval-after-load):
7201 Fix typos, remove unneeded backslashes and reflow some docstrings.
7202
cf1f9b9a
SM
72032013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7206 default for Elisp files.
7207
56602a4b
GM
72082013-06-11 Glenn Morris <rgm@gnu.org>
7209
7210 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7211 although define-derived-mode was doing this anyway. (Bug#14583)
7212
30ae0b2c
JB
72132013-06-10 Juanma Barranquero <lekktu@gmail.com>
7214
7215 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7216 Fix make-variable-buffer-local call to refer to the correct variable.
7217
fa472906
AG
72182013-06-10 Aidan Gauland <aidalgol@amuri.net>
7219
7220 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7221 (eshell-visual-subcommands, eshell-visual-options):
7222 Add summary line to docstrings. Add cross-references.
fa472906 7223
ff4871b9
GM
72242013-06-10 Glenn Morris <rgm@gnu.org>
7225
7226 * epa.el (epa-read-file-name): New function. (Bug#14510)
7227 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7228
04fcf1b0
AG
72292013-06-09 Aidan Gauland <aidalgol@amuri.net>
7230
7231 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7232 output redirection to be ignored with visual commands.
7233
88b00caa
AG
72342013-06-09 Aidan Gauland <aidalgol@amuri.net>
7235
7236 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7237 (eshell-term-initialize): Move long lambda to separate function
7238 eshell-visual-command-p.
e7b41c4c
JB
7239 * eshell/em-dirs.el (eshell-dirs-initialise):
7240 * eshell/em-script.el (eshell-script-initialize):
7241 Add missing #' to lambda.
88b00caa 7242
fda74125
LL
72432013-06-08 Leo Liu <sdl.web@gmail.com>
7244
7245 * progmodes/octave.el (octave-add-log-current-defun): New function.
7246 (octave-mode): Set add-log-current-defun-function.
7247 (octave-goto-function-definition): Do not move point if not found.
7248 (octave-find-definition): Enhance to try subfunctions first.
7249
467f3b33
GM
72502013-06-08 Glenn Morris <rgm@gnu.org>
7251
7252 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7253 (byte-compile-backward-char, byte-compile-backward-word):
7254 Improve previous change, to handle non-explicit nil.
7255
544badc3
SM
72562013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7257
7258 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7259 (smie--opener/closer-at-point): New function.
7260 (smie--matching-block-data): Use it. Don't match from right after an
7261 opener or right before a closer. Obey smie-blink-matching-inners.
7262 Don't signal a mismatch for repeated inners like "switch..case..case".
7263
a175bf33
LL
72642013-06-07 Leo Liu <sdl.web@gmail.com>
7265
7266 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7267 to t. (Bug#14303)
ce8209d4
LL
7268 (octave-function-header-regexp): Fix. (Bug#14570)
7269 (octave-help-mode-finish-hook, octave-help-mode-finish):
7270 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7271
7272 * newcomment.el (comment-search-backward): Revert last change.
7273 (Bug#14434)
7274
7275 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7276
a822acff
EZ
72772013-06-07 Eli Zaretskii <eliz@gnu.org>
7278
7279 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7280 through xargs, to avoid failure due to MS-Windows limitations on
7281 command-line length.
7282
961166f5
GM
72832013-06-06 Glenn Morris <rgm@gnu.org>
7284
d0341459
GM
7285 * font-lock.el (lisp-font-lock-keywords-2):
7286 Treat user-error like error.
7287
961166f5
GM
7288 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7289 (byte-compile-backward-char, byte-compile-backward-word):
7290 Handle explicit nil arguments. (Bug#14565)
7291
80fa505f
AM
72922013-06-05 Alan Mackenzie <acm@muc.de>
7293
7294 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7295 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7296 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7297 (Bug#9706)
80fa505f 7298
fccdc796
SM
72992013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * autorevert.el (auto-revert-notify-handler): Use memq.
7302 Hide assertion failure.
7303
7304 * skeleton.el: Use cl-lib.
7305 (skeleton-further-elements): Use defvar-local.
7306 (skeleton-insert): Use cl-progv.
7307
9bfff84b
TZ
73082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7309
7310 * progmodes/prog-mode.el (prog-prettify-symbols)
7311 (prog-prettify-install): Update docstrings.
7312
55577e7c
SM
73132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * simple.el: Move all the prog-mode code to prog-mode.el.
7316 * progmodes/prog-mode.el: New file.
7317 * loadup.el: Add prog-mode.el.
7318
8fc57765
TZ
73192013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7320
7321 * simple.el (prog-prettify-symbols): Add version.
7322 (prog-prettify-install): Add convenience function to prettify symbols.
7323
7324 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7325 (perl--augmented-font-lock-keywords-1)
7326 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7327 variables and use it.
7328
7329 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7330 (cfengine3-mode): Remove unneeded variable and use it.
7331
7332 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7333 (lisp--augmented-font-lock-keywords-1)
7334 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7335 Remove unneeded variables and use it.
7336
650645d5 73372013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7338
7339 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7340 to point when opening the connection. (Bug#14380)
28f5da6d 7341
781b4af6
SM
73422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * subr.el (load-history-regexp, load-history-filename-element)
7345 (eval-after-load, after-load-functions, do-after-load-evaluation)
7346 (eval-next-after-load, display-delayed-warnings)
7347 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7348 definition of save-match-data.
7349 (overriding-local-map): Remove accidental obsolescence declaration.
7350
7351 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7352
3ca0d0b4
TZ
73532013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7354
7355 Generalize symbol prettify support to prog-mode and implement it
7356 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7357 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7358 (prog--prettify-font-lock-compose-symbol)
7359 (prog-prettify-font-lock-symbols-keywords): New variables and
7360 functions to support symbol prettification.
7361 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7362 (lisp--augmented-font-lock-keywords-1)
7363 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7364 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7365 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7366 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7367 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7368 * progmodes/perl-mode.el (perl-prettify-symbols)
7369 (perl--font-lock-compose-symbol)
7370 (perl--font-lock-symbols-keywords): Move to prog-mode.
7371 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7372 (perl-font-lock-keywords-1)
7373 (perl-font-lock-keywords-2): Remove explicit prettify support.
7374 (perl--augmented-font-lock-keywords)
7375 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7376 (perl--augmented-font-lock-keywords-2, perl-mode):
7377 Implement prettify support.
3ca0d0b4 7378
976cb066
LL
73792013-06-05 Leo Liu <sdl.web@gmail.com>
7380
7381 Re-implement smie matching block highlight using
7382 show-paren-data-function. (Bug#14395)
7383 * emacs-lisp/smie.el (smie-matching-block-highlight)
7384 (smie--highlight-matching-block-overlay)
7385 (smie--highlight-matching-block-lastpos)
7386 (smie-highlight-matching-block)
7387 (smie-highlight-matching-block-mode): Remove.
7388 (smie--matching-block-data-cache): New variable.
7389 (smie--matching-block-data): New function.
7390 (smie-setup): Use smie--matching-block-data for
7391 show-paren-data-function.
7392
7393 * progmodes/octave.el (octave-mode-menu): Fix.
7394 (octave-find-definition): Skip garbage lines.
7395
208d0342
SM
73962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 Fix compilation error with simultaneous dynamic+lexical scoping.
7399 Add warning when a defvar appears after the first let-binding.
7400 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7401 (byte-compile-close-variables): Initialize it.
7402 (byte-compile--declare-var): New function.
7403 (byte-compile-file-form-defvar)
7404 (byte-compile-file-form-define-abbrev-table)
7405 (byte-compile-file-form-custom-declare-variable): Use it.
7406 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7407 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7408 (byte-compile-bind): Handle dynamic bindings that shadow
7409 lexical bindings.
7410 (byte-compile-unbind): Make arg non-optional.
7411 (byte-compile-let): Simplify.
7412 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7413 (cconv--analyse-function, cconv-analyse-form): Populate it.
7414 Protect byte-compile-bound-variables to limit the scope of defvars.
7415 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7416 Remove unneeded rule for `declare'.
7417
7418 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7419 so as to avoid depending on cl-adjoin at run-time.
7420 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7421
7422 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7423 (macroexp--warn-and-return): Use it.
7424
1ac2891e
GM
74252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * lisp/subr.el: Convert to lexical binding.
7428 (overriding-local-map): Make obsolete.
7429 (add-to-list): Doc fix. Add compiler macro.
7430 (read-key): Swap values of local maps.
7431
2587b005
LL
74322013-06-05 Leo Liu <sdl.web@gmail.com>
7433
7434 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7435
f1da3c88
LL
74362013-06-04 Leo Liu <sdl.web@gmail.com>
7437
7438 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7439 (compilation-auto-jump): Suppress the "Mark set" message to give
7440 way to exit message.
7441
3caa391f
AM
74422013-06-04 Alan Mackenzie <acm@muc.de>
7443
7444 Remove faulty optimisation from indentation calculation.
7445 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7446 search limit based on 2000 characters back from indent-point.
7447
068922a2
TH
74482013-06-03 Tassilo Horn <tsdh@gnu.org>
7449
7450 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7451
1f8fdd53
SM
74522013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7453
bbcc4d97
SM
7454 * emacs-lisp/lisp.el: Use lexical-binding.
7455 (lisp--local-variables-1, lisp--local-variables): New functions.
7456 (lisp--local-variables-completion-table): New var.
208d0342 7457 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7458
1f8fdd53
SM
7459 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7460 eagerly (bug#14422).
7461
c9628c79
MA
74622013-06-03 Michael Albinus <michael.albinus@gmx.de>
7463
7464 * autorevert.el (auto-revert-notify-enabled)
7465 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7466 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7467 (auto-revert-notify-handler): Handle also gfilenotify.
7468
e7b41c4c 7469 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7470 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7471 Remove.
c9628c79 7472
e5e4a942
JL
74732013-06-03 Juri Linkov <juri@jurta.org>
7474
7475 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7476 `M-s h .'. (Bug#14427)
7477
7478 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7479 command `hi-lock-face-symbol-at-point'.
7480 (hi-lock-face-symbol-at-point): New command.
7481 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7482 (hi-lock-menu): Add `highlight-symbol-at-point'.
7483 (hi-lock-mode): Doc fix.
7484
7485 * isearch.el (isearch-forward-symbol-at-point): New command.
7486 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7487 (isearch-highlight-regexp): Add a regexp which matches
7488 words/symbols for word/symbol mode.
7489
7490 * subr.el (find-tag-default-bounds): New function with the body
7491 mostly moved from `find-tag-default'.
7492 (find-tag-default): Move most code to `find-tag-default-bounds',
7493 call it and apply `buffer-substring-no-properties' afterwards.
7494
26b3353a
TH
74952013-06-03 Tassilo Horn <tsdh@gnu.org>
7496
781b4af6
SM
7497 * eshell/em-term.el (eshell-term-initialize):
7498 Use `cl-intersection' rather than `intersection'.
26b3353a 7499
51b60f53
XF
75002013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7501
fe054b63 7502 * vc/log-view.el: Doc fix.
d3ffe17c 7503 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7504
a0eb10b3 75052013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7506
7507 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7508 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7509 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7510 (eieio-unbound, eieio-default-superclass)
7511 (eieio--define-field-accessors, method-static, method-before)
7512 (method-primary, method-after, method-num-lists)
7513 (method-generic-before, method-generic-primary)
7514 (method-generic-after, method-num-slots)
7515 (eieio-specialized-key-to-generic-key)
7516 (eieio--check-type, class-v, class-p)
7517 (eieio-class-name, define-obsolete-function-alias)
7518 (eieio-class-parents-fast, eieio-class-children-fast)
7519 (same-class-fast-p, class-constructor, generic-p)
7520 (generic-primary-only-p, generic-primary-only-one-p)
7521 (class-option-assoc, class-option, eieio-object-p)
7522 (class-abstract-p, class-method-invocation-order)
7523 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7524 (eieio-class-un-autoload, eieio-defclass)
7525 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7526 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7527 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7528 (eieio-defgeneric-reset-generic-form)
7529 (eieio-defgeneric-form-primary-only)
7530 (eieio-defgeneric-reset-generic-form-primary-only)
7531 (eieio-defgeneric-form-primary-only-one)
7532 (eieio-defgeneric-reset-generic-form-primary-only-one)
7533 (eieio-unbind-method-implementations)
7534 (eieio--defmethod, eieio--typep)
7535 (eieio-perform-slot-validation, eieio-validate-slot-value)
7536 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7537 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7538 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7539 (eieio-slot-name-index, eieio-class-slot-name-index)
7540 (eieio-set-defaults, eieio-initarg-to-attribute)
7541 (eieio-attribute-to-initarg, eieio-c3-candidate)
7542 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7543 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7544 (eieio-class-precedence-list, eieio-generic-call-methodname)
7545 (eieio-generic-call-arglst, eieio-generic-call-key)
7546 (eieio-generic-call-next-method-list)
7547 (eieio-pre-method-execution-functions, eieio-generic-call)
7548 (eieio-generic-call-primary-only, eieiomt-method-list)
7549 (eieiomt-optimizing-obarray, eieiomt-install)
7550 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7551 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7552 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7553 (defclass): Remove `eval-and-compile' from macro.
7554 (call-next-method, shared-initialize): Instead of using
7555 `scoped-class' variable, use new eieio--scoped-class, and
7556 eieio--with-scoped-class.
7557 (initialize-instance): Rename local variable 'scoped-class' to
7558 'this-class' to remove ambiguitity from old global.
7559
7560 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7561 eieio.el.
4f405069
JB
7562 (eieio--scoped-class-stack): New variable.
7563 (eieio--scoped-class): New fcn.
890f7890
DE
7564 (eieio--with-scoped-class): New scoping macro.
7565 (eieio-defclass): Use pushnew instead of add-to-list.
7566 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7567 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7568 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7569 `scoped-class' variable, use new eieio--scoped-class, and
7570 eieio--with-scoped-class.
7571
7572 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7573
d105b0e2
TH
75742013-06-02 Tassilo Horn <tsdh@gnu.org>
7575
7576 * eshell/esh-ext.el (eshell-external-command): Pass args to
7577 `eshell-find-interpreter'.
7578 (eshell-find-interpreter): Add new second parameter ARGS.
7579
7580 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7581 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7582
7583 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7584 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7585
7586 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7587 (eshell-visual-options): New defcustom.
7588 (eshell-escape-control-x): Adapt docstring.
7589 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7590 `eshell-visual-options' in addition to `eshell-visual-commands'.
7591 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7592
f46305c8 75932013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7594
7595 * progmodes/python.el (python-indent-block-enders): Add break,
7596 continue and raise keywords.
7597
d870df21
GM
75982013-06-01 Glenn Morris <rgm@gnu.org>
7599
9133b82e
GM
7600 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7601
02c992ec 7602 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7603 * progmodes/cc-cmds.el (delete-forward-p):
7604 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7605 * progmodes/cc-engine.el (buffer-syntactic-context):
7606 * progmodes/cc-fonts.el (face-property-instance):
7607 * progmodes/cc-mode.el (set-keymap-parents):
7608 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7609 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7610 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7611 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7612 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7613
31e7b090
GM
7614 * progmodes/cc-vars.el (other): Emacs has this widget since
7615 at least 21.1, so don't (re)define it.
7616
d870df21
GM
7617 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7618 Replace the obsolete alias pcomplete-arg-quote-list.
7619
c75c93c7
LL
76202013-06-01 Leo Liu <sdl.web@gmail.com>
7621
7622 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7623 punctuation syntax.
7624 (inferior-octave-minimal-columns)
7625 (inferior-octave-last-column-width): New variables.
7626 (inferior-octave-track-window-width-change): New function.
7627 (inferior-octave-mode): Adjust column width so that Octave output,
7628 for example from 'ls', can fit into the window nicely.
7629
973d1e12
DG
76302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7631
7632 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7633 Highlight expansions inside regexp literals.
7634
0888c286
GM
76352013-05-31 Glenn Morris <rgm@gnu.org>
7636
e26aac1f
GM
7637 * obsolete/sym-comp.el (symbol-complete):
7638 Replace obsolete completion-annotate-function.
7639
0888c286
GM
7640 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7641
19bb8e62
DG
76422013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7643
781b4af6
SM
7644 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7645 New function, checks if point is inside a literal that allows
19bb8e62
DG
7646 expression expansion.
7647 (ruby-syntax-propertize-expansion): Use it.
7648 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7649 around the body.
7650
01dea85f
JL
76512013-05-30 Juri Linkov <juri@jurta.org>
7652
7653 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7654 to "\M-si".
7655 (isearch-invisible): New variable.
7656 (isearch-forward): Doc fix.
7657 (isearch-mode): Set `isearch-invisible'
7658 to the value of `search-invisible'.
7659 (isearch-toggle-case-fold): Doc fix.
7660 (isearch-toggle-invisible): New command.
7661 (isearch-query-replace): Let-bind `search-invisible'
7662 to the value of `isearch-invisible'.
7663 (isearch-search): Use `isearch-invisible' instead of
7664 `search-invisible'. Let-bind `search-invisible'
7665 to the value of `isearch-invisible'. (Bug#11378)
7666
ab1bdce5
JL
76672013-05-30 Juri Linkov <juri@jurta.org>
7668
7669 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7670 call when `query-flag' is nil and `search-invisible' is non-nil.
7671 (Bug#11746)
7672
d6d236e2
GM
76732013-05-30 Glenn Morris <rgm@gnu.org>
7674
8accd027
GM
7675 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7676
2a8bed1c
GM
7677 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7678 (cc-require): Suppress spurious "noruntime" warnings.
7679 (cc-require-when-compile): Use fboundp, for sake of compiler.
7680
d6d236e2
GM
7681 * progmodes/cc-mode.el: Move load of cc-vars before that of
7682 cc-langs (which in turn loads cc-vars), to quieten compiler.
7683
9190b35b
SM
76842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * paren.el: Simplify the code.
7687 (show-paren-mode): Always start the timer.
7688 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7689 (show-paren--overlay, show-paren--overlay-1): Rename from
7690 show-paren-overlay and show-paren-overlay-1, and initialize to an
7691 overlay rather than to nil.
7692 (show-paren-function): Misc cleanup and simplifications.
7693
4f8d1cf6
SM
76942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * paren.el (show-paren-data-function): New hook.
7697 (show-paren--default): New function, extracted from show-paren-function.
7698 (show-paren-function): Use show-paren-data-function.
7699
02d844b5
GM
77002013-05-30 Glenn Morris <rgm@gnu.org>
7701
d209d4a9
GM
7702 * ielm.el (ielm-map, ielm-complete-symbol):
7703 Use completion-at-point rather than obsolete functions.
7704 (inferior-emacs-lisp-mode): Doc fix.
7705 Set completion-at-point-functions, rather than
7706 comint-dynamic-complete-functions.
7707
2082faa6
GM
7708 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7709 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7710 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7711
dd8620de
GM
7712 * image.el (image-animated-p): Tweak definition.
7713
ceca95b1
GM
7714 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7715 (rlogin-process-connection-type): Tweak default. Add set-after.
7716 (rlogin-host): Doc fix.
7717 (rlogin): Tweak prompt.
7718 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7719
ee9f1acc
GM
7720 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7721 * progmodes/tcl.el (inferior-tcl-mode-map):
7722 Use completion-at-point rather than obsolete alias.
7723
45ce222e
GM
7724 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7725
02d844b5
GM
7726 * minibuffer.el (read-file-name-completion-ignore-case):
7727 Move before completion--in-region, for eager macro expansion.
7728
ac44d6c1
JL
77292013-05-29 Juri Linkov <juri@jurta.org>
7730
7731 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7732 for total count of matching lines. Add `global-matches' for total
7733 count of matches. Rename `matches' to `lines' for count of
7734 matching lines. Add `matches' for count of matches.
7735 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7736 to `prev-line' for line number of prev match endpt.
7737 Increment `matches' for every match. Print the number of
7738 matching lines in the header.
7739 (occur-context-lines): Rename `lines' to `curr-line'.
7740 Rename `prev-lines' to `prev-line'. (Bug#14017)
7741
3c9c9d38
JL
77422013-05-29 Juri Linkov <juri@jurta.org>
7743
7744 * replace.el (perform-replace): Add `skip-read-only-count',
7745 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7746 Increment them for corresponding conditions and report the number
7747 of skipped occurrences in the final message. (Bug#11746)
7748 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7749 (replace-string, replace-regexp): Doc fix.
7750
33e249a2
SM
77512013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7752
8e399682
SM
7753 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7754
33e249a2 7755 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7756 prog-mode-map (bug#14504).
33e249a2 7757
f236dd84
LL
77582013-05-29 Leo Liu <sdl.web@gmail.com>
7759
7760 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7761 (octave-help): Small simplification.
7762
7763 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7764 off the highlight first.
7765
3694d13f
GM
77662013-05-29 Glenn Morris <rgm@gnu.org>
7767
03983bdc
GM
7768 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7769 Handle idlwave-last-system-routine-info-cons-cell being nil.
7770
bc74a74a
GM
7771 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7772 (idlwave-write-paths): Simplify via with-temp-buffer.
7773
8b394200
GM
7774 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7775 * emulation/cua-rect.el: Also load cua-base at run time.
7776
3694d13f
GM
7777 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7778 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7779 (cperl-imenu-on-info): Require imenu.
7780
336d7284
AM
77812013-05-28 Alan Mackenzie <acm@muc.de>
7782
7783 Handle "capitalised keywords" correctly.
33e249a2 7784 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7785
cb29c582
AG
77862013-05-28 Aidan Gauland <aidalgol@amuri.net>
7787
781b4af6 7788 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7789
690e44b2
GM
77902013-05-28 Glenn Morris <rgm@gnu.org>
7791
e658d75c
GM
7792 * vc/vc-arch.el (vc-exec-after): Declare.
7793 (vc-switches): Autoload.
7794 * vc/vc-bzr.el: No need to require vc when compiling.
7795 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7796 (vc-resynch-buffer, vc-dir-refresh): Declare.
7797 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7798 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7799 (vc-resynch-buffer): Declare.
7800 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7801 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7802 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7803 (grep-read-regexp, grep-read-files, grep-expand-template)
7804 (vc-dir-refresh): Declare.
7805 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7806 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7807 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7808 * vc/vc-mtn.el (vc-exec-after): Declare.
7809 (vc-switches): Autoload.
7810 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7811 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7812 (vc-file-tree-walk): Declare.
712b9732
GM
7813 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7814 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7815 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7816 * vc/vc-svn.el (vc-exec-after): Declare.
7817 (vc-switches, vc-setup-buffer): Autoload.
7818 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7819 Autoload.
7820 (vc-resynch-buffer): Declare.
7821
98e87fb3
GM
7822 * obsolete/fast-lock.el (byte-compile-warnings):
7823 Don't warn about obsolete features in this obsolete file.
7824
f5379553
GM
7825 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7826 Move definition before use.
7827
7a20ef83
GM
7828 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7829 (dun-unix-verbs): Remove dun-zippy.
7830 (dun-zippy): Remove function.
7831
690e44b2
GM
7832 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7833
3a52ccf7
JL
78342013-05-27 Juri Linkov <juri@jurta.org>
7835
7836 * replace.el (replace-search): New function with code moved out
7837 from `perform-replace'.
7838 (replace-highlight, replace-dehighlight): Move function definitions
7839 up closer to `replace-search'. (Bug#11746)
7840
d289938a
JL
78412013-05-27 Juri Linkov <juri@jurta.org>
7842
7843 * replace.el (perform-replace): Ignore invisible matches.
7844 In addition to checking `query-replace-skip-read-only', also
7845 filter out matches by calling `run-hook-with-args-until-failure'
7846 on `isearch-filter-predicates', and also check `search-invisible'
7847 for t or call `isearch-range-invisible'.
7848 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7849
66fc57e3
JL
78502013-05-27 Juri Linkov <juri@jurta.org>
7851
7852 * isearch.el (isearch-filter-predicates): Rename from
7853 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7854 (isearch-message-prefix): Display text from the property
7855 `isearch-message-prefix' of the currently active filters.
7856 (isearch-search): Don't compare `isearch-filter-predicate' with
7857 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7858 on `isearch-filter-predicates'. Also check `search-invisible' for t
7859 or call `isearch-range-invisible'.
7860 (isearch-filter-visible): Make obsolete.
7861 (isearch-lazy-highlight-search):
7862 Call `run-hook-with-args-until-failure' on
7863 `isearch-filter-predicates' and use `isearch-range-invisible'.
7864
7865 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7866 `isearch-filter-predicates' instead of `funcall'ing
7867 `isearch-filter-predicate'.
7868 (Info-mode): Set `Info-isearch-filter' to
7869 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7870
7871 * dired-aux.el (dired-isearch-filter-predicate-orig):
7872 Remove variable.
7873 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7874 (dired-isearch-filenames-end): Add and remove
7875 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7876 instead of changing the value of `isearch-filter-predicate'.
7877 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7878 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7879 Put property `isearch-message-prefix' to "filename " on
7880 `dired-isearch-filter-filenames'.
7881
7882 * wdired.el (wdired-change-to-wdired-mode):
7883 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7884 locally instead of changing `isearch-filter-predicate'.
7885 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7886
f1a60a0f
DG
78872013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7888
7889 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7890 return the commit hash (Bug#14459). Also set the
7891 `vc-git-detached' property.
7892 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7893 (vc-git-mode-line-string): Use the same help-echo format whether
7894 in detached mode or not, because we know the actual revision now.
7895 When in detached mode, shorten the revision to 7 chars.
7896
7f17cc40
SM
78972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * emacs-lisp/easy-mmode.el (define-minor-mode):
7900 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7901 mode hook and provide a docstring.
7902
25c8401c
AM
79032013-05-27 Alan Mackenzie <acm@muc.de>
7904
7905 Remove spurious syntax-table text properties inserted by C-y.
7906 * progmodes/cc-mode.el (c-after-change): Also clear hard
7907 syntax-table property with value nil.
7908
dde84790
MA
79092013-05-27 Michael Albinus <michael.albinus@gmx.de>
7910
7911 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7912 when reading the events; the buffer layout shall not be changed.
7913
837fd9af
LL
79142013-05-27 Leo Liu <sdl.web@gmail.com>
7915
7916 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7917 New variable.
7918 (inferior-octave-directory-tracker): Automatically re-sync
7919 default-directory.
7920 (octave-help): Improve handling of 'See also'.
7921
4fd996b3
SM
79222013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7923
416f1802
SM
7924 * doc-view.el: Minor naming convention tweaks.
7925 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7926
4fd996b3
SM
7927 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7928 even if there's no `display' property yet (bug#14435).
7929
a052ef3b
EZ
79302013-05-25 Eli Zaretskii <eliz@gnu.org>
7931
4fd996b3 7932 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7933
7934 * Makefile.in (custom-deps, finder-data, autoloads)
7935 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7936 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7937 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7938
c9023370
SM
79392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7942 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7943 Don't burp at EOB.
c9023370 7944
24d699fa
LL
79452013-05-25 Leo Liu <sdl.web@gmail.com>
7946
7947 * comint.el (comint-previous-matching-input): Do not flood the
7948 *Messages* buffer with trivial messages.
7949
17e5c0cc
SM
79502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * progmodes/flymake.el (flymake-nop): Don't return a string.
7953 (flymake-set-at): Fix typo.
7954
7955 * simple.el (read--expression): New function, extracted from
7956 eval-expression. Set completion-at-point-functions (bug#14465).
7957 (eval-expression, eval-minibuffer): Use it.
7958
5d028165
XF
79592013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7960
7961 * progmodes/flymake.el (flymake-save-buffer-in-file)
7962 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7963 (flymake-selected-frame, flymake-log, flymake-ins-after)
7964 (flymake-set-at, flymake-get-buildfile-from-cache)
7965 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7966 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7967 Refine the doc string.
7968 (flymake-get-file-name-mode-and-masks): Reformat.
7969 (flymake-get-real-file-name-function): Fix a minor bug.
7970
7a1d7ba7
JL
79712013-05-24 Juri Linkov <juri@jurta.org>
7972
7973 * progmodes/grep.el (grep-mode-font-lock-keywords):
7974 Support =linenumber= format used by git-grep for lines with
7975 function names. (Bug#13549)
7976
650cff3d
SM
79772013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7980 0 after a semi-colon; it works better for smie-auto-fill.
7981 (octave--indent-new-comment-line): New function.
7982 (octave-indent-new-comment-line): Use it (indirectly).
7983 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7984 modify comment-line-break-function.
7985
7986 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7987 (smie-setup): Use add-function to set it.
7988
9631677d
SS
79892013-05-24 Sam Steingold <sds@gnu.org>
7990
7991 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7992 argument (before the `interactive' argument).
7993
50105835
SM
79942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * image-mode.el (image-mode-winprops): Add winprops to
7997 image-mode-winprops-alist before running
7998 image-mode-new-window-functions.
7999 * doc-view.el (doc-view-new-window-function): Don't delay
8000 doc-view-goto-page via timers (bug#14435).
8001
57b9823e
TH
80022013-05-24 Tassilo Horn <tsdh@gnu.org>
8003
8004 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8005 (doc-view-desktop-save-buffer): New function.
8006 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8007 (desktop-buffer-mode-handlers):
8008 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8009 handler.
8010 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8011 `desktop-save-buffer' function.
8012
91aafa16
MA
80132013-05-24 Michael Albinus <michael.albinus@gmx.de>
8014
8015 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8016 (tramp-gvfs-file-name-handler): Raise a user error when
8017 `tramp-gvfs-enabled' is nil.
8018 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8019 Do not raise a user error when loading package. (Bug#14447)
8020
ec076379
MA
8021 * net/xesam.el: Move to obsolete/.
8022
db785726
GM
80232013-05-24 Glenn Morris <rgm@gnu.org>
8024
af5c7606
GM
8025 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8026
e5d1916a
GM
8027 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8028
ded62b08
GM
8029 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8030 (Info-find-node, Man-getpage-in-background): Declare.
8031
9e614a3f
GM
8032 * mail/unrmail.el (unrmail):
8033 Replace obsolete detect-coding-with-priority.
8034
892f8ca3
GM
8035 * net/socks.el (socks-split-string): Use this rather than split-string.
8036 (socks-nslookup-host): Update for above change.
8037 (dynamic-choice, s5-dynamic-choice-match)
8038 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8039 Comment out unused code.
8040
3c291973
GM
8041 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8042 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8043 (gud-tooltip-echo-area): Make obsolete.
8044 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8045
43cc956b
GM
8046 * progmodes/js.el (js--optimize-arglist): Declare.
8047
dab49a3b
GM
8048 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8049
36b9d085
GM
8050 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8051 (ediff-window-C): Declare.
8052
e354ae76
GM
8053 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8054 Tweak requires to silence compiler.
8055
b8e57bf4
GM
8056 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8057 (he-search-string, he-tried-table, he-expand-list)
8058 (he-init-string, he-string-member, he-substitute-string)
8059 (he-reset-string): Declare.
8060
db785726
GM
8061 * obsolete/options.el (list-options): Use custom-variable-p,
8062 rather than obsolete alias.
8063
b3531901
SS
80642013-05-23 Sam Steingold <sds@gnu.org>
8065
8066 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8067 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8068 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8069
bdda4c66
SM
80702013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/smie.el (smie-indent-forward-token)
8073 (smie-indent-backward-token): Handle string tokens (bug#14381).
8074
c43d45f9
TH
80752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8076
fe1eb856
RS
8077 * ielm.el (ielm-menu): New menu.
8078 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8079
fe1eb856
RS
80802013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8081
8082 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8083 Fix deactivate action.
8084
8085 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8086 Add cleveref macros.
074dd971 8087
c43d45f9
TH
8088 * lisp/textmodes/reftex-parse.el
8089 (reftex-locate-bibliography-files): Accept options for
8090 bibliography commands.
8091 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8092 Add addbibresource. Basic Biblatex support.
8093
7764286e
MA
80942013-05-23 Michael Albinus <michael.albinus@gmx.de>
8095
8096 * net/tramp-gvfs.el (top):
8097 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8098 when loading package. (Bug#14447)
8099
d361bc10
GM
81002013-05-23 Glenn Morris <rgm@gnu.org>
8101
8fa23984
GM
8102 * progmodes/js.el: No need to load comint when compiling.
8103 (ring-insert, comint-send-string, comint-send-input)
8104 (comint-last-input-end, ido-chop): Declare.
8105
a5c7df1a
GM
8106 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8107 * vc/ediff-mult.el: Adjust requires.
8108 (ediff-directories-internal, ediff-directory-revisions-internal)
8109 (ediff-patch-file-internal): Declare.
8110 * vc/ediff-ptch.el: Adjust requires.
8111 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8112 (ediff-find-file): Autoload.
8113 * vc/ediff-util.el: No need to load ediff when compiling.
8114 (ediff-regions-internal): Declare.
8115 * vc/ediff-wind.el: Adjust requires.
8116 (ediff-compute-toolbar-width): Define when compiling.
8117 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8118 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8119 (dired-get-filename, dired-get-marked-files)
8120 (ediff-last-dir-patch, ediff-patch-default-directory)
8121 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8122 (ediff-patch-buffer-internal): Declare.
8123
e2aec513
GM
8124 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8125 (ispell-process, ispell-buffer-local-words, lm-summary)
8126 (lm-section-start, lm-section-end): Declare.
8127 (checkdoc-ispell-init): Simplify.
8128
e68bbd7c
GM
8129 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8130 (he-string-member, he-reset-string, he-substitute-string): Declare.
8131
7efe0991
GM
8132 * eshell/em-ls.el: Adjust requires.
8133 (eshell-glob-regexp): Declare.
f87b1284
GM
8134 * eshell/em-tramp.el: Adjust requires.
8135 (eshell-parse-command): Autoload.
8136 * eshell/em-xtra.el: Adjust requires.
8137 (eshell-parse-command): Autoload.
8138 * eshell/esh-ext.el: Adjust requires.
8139 (eshell-parse-command, eshell-close-handles): Autoload.
8140 * eshell/esh-io.el: Adjust requires.
8141 (eshell-output-filter): Autoload.
8142 * eshell/esh-util.el: No need to load tramp when compiling.
8143 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8144 Declare.
8145 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8146 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8147 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8148 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8149 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8150 * eshell/esh-opt.el, eshell/esh-proc.el:
8151 * eshell/esh-var.el: Adjust requires.
8152 * eshell/eshell.el: Do not require esh-util twice.
8153 (eshell-add-input-to-history): Declare.
8154 (eshell-command): Check history module is active before using it.
8155
d361bc10
GM
8156 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8157
85d090a9
LL
81582013-05-22 Leo Liu <sdl.web@gmail.com>
8159
8160 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8161
5d0acd9d
MA
81622013-05-22 Michael Albinus <michael.albinus@gmx.de>
8163
8164 * autorevert.el (auto-revert-notify-add-watch)
8165 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8166 it indicates changes in file modification time.
8167
0cdffd7d
GM
81682013-05-22 Glenn Morris <rgm@gnu.org>
8169
ca5995ec
GM
8170 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8171 Always delete the autoloaded function from the noruntime and
8172 unresolved functions lists.
8173
6450907e
GM
8174 * allout.el: No need to load epa, epg, overlay when compiling.
8175 (epg-context-set-passphrase-callback, epg-list-keys)
8176 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8177 (epg-key-user-id-list): Declare.
8178
9c6906f6
GM
8179 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8180 (viper-set-parsing-style-toggling-macro)
8181 (viper-set-emacs-state-searchstyle-macros):
8182 Use called-interactively-p on Emacs.
8183 (viper-looking-back): Make it an obsolete alias. Update callers.
8184 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8185 Use looking-back rather than viper-looking-back.
8186 (viper-tmp-insert-at-eob, viper-enlarge-region)
8187 (viper-read-string-with-history, viper-register-to-point)
8188 (viper-append-to-register, viper-change-state-to-vi)
8189 (viper-backward-char-carefully, viper-forward-char-carefully)
8190 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8191 (viper-change-state-to-emacs): Declare.
8192 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8193 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8194 * emulation/viper-mous.el: Do not load viper-cmd.
8195 (viper-backward-char-carefully, viper-forward-char-carefully)
8196 (viper-forward-word, viper-adjust-window): Declare.
8197
5f70c169
GM
8198 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8199
b1b7f300
GM
8200 * progmodes/idlw-help.el (idlwave-help-fontify):
8201 Use called-interactively-p.
8202
f6ebbb46
GM
8203 * term/w32console.el (w32-get-console-codepage)
8204 (w32-get-console-output-codepage): Declare.
8205
0cdffd7d
GM
8206 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8207 Remove unnecessary declarations.
8208 (dframe-message): Doc fix.
8209
8210 * info.el (dframe-select-attached-frame, dframe-current-frame):
8211 Declare.
8212
8213 * speedbar.el (speedbar-message): Make it an obsolete alias.
8214 Update all callers.
8215 (speedbar-with-attached-buffer)
8216 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8217 (speedbar-with-writable): Use backquote.
8218 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8219 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8220 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8221 rather than speedbar- aliases.
8222 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8223 (speedbar-make-specialized-keymap, speedbar-insert-button)
8224 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8225 (speedbar-do-function-pointer): Declare.
8226 (rmail-speedbar-button, rmail-speedbar-find-file)
8227 (rmail-speedbar-move-message):
8228 Use dframe-with-attached-buffer rather than speedbar- alias.
8229 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8230 (dframe-message, speedbar-make-specialized-keymap)
8231 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8232 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8233 (speedbar-insert-button, dframe-select-attached-frame)
8234 (dframe-maybee-jump-to-attached-frame)
8235 (speedbar-change-initial-expansion-list)
8236 (speedbar-previously-used-expansion-list-name): Declare.
8237 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8238 Use dframe-message, dframe-with-attached-buffer rather than
8239 speedbar- aliases.
8240 (gud-sentinel): Silence compiler.
8241 * progmodes/vhdl-mode.el (speedbar-refresh)
8242 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8243 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8244 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8245 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8246 (speedbar-file-lists, speedbar-make-tag-line)
8247 (speedbar-line-directory, speedbar-goto-this-file)
8248 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8249 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8250 (speedbar-make-button, speedbar-reset-scanners)
8251 (speedbar-files-item-info, speedbar-line-text)
8252 (speedbar-find-file-in-frame, speedbar-set-timer)
8253 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8254 (speedbar-with-writable): Do not (re)define it.
8255 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8256 rather than speedbar- alias.
8257
ee44b62a
LL
82582013-05-21 Leo Liu <sdl.web@gmail.com>
8259
8260 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8261 menu items.
8262 (octave-mode): Tweak fill-nobreak-predicate.
8263 (inferior-octave-startup): Check process to avoid infinite loop.
8264 (inferior-octave): Pop to buffer first to show abornmal process
8265 exit information.
8266
640f050f
GM
82672013-05-21 Glenn Morris <rgm@gnu.org>
8268
79458038
GM
8269 * printing.el (pr-menu-bar): Define when compiling.
8270
9cc3e83f
LL
82712013-05-21 Leo Liu <sdl.web@gmail.com>
8272
8273 * progmodes/octave.el (octave-auto-fill): Remove.
8274 (octave-indent-new-comment-line): Improve.
8275 (octave-mode): Use auto fill mode through
4f405069 8276 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8277 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8278 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8279 (octave-help): Show parent directory.
8280
f440830d
GM
82812013-05-21 Glenn Morris <rgm@gnu.org>
8282
8283 * files.el (dired-unmark):
8284 * progmodes/gud.el (gdb-input): Update declarations.
8285
8286 * calculator.el (electric, ehelp): No need to load when compiling.
8287 (Electric-command-loop, electric-describe-mode): Declare.
8288
8289 * doc-view.el (doc-view-current-converter-processes): Move before use.
8290
8291 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8292 Move MODE-set-explicitly definition before use.
8293
8294 * international/mule-diag.el (mule-diag):
8295 Don't use obsolete window-system-version.
8296
8297 * mail/feedmail.el (smtpmail): No need to load when compiling.
8298 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8299
8300 * mail/mail-utils.el (rfc822): No need to load when compiling.
8301 (rfc822-addresses): Autoload it.
8302 (mail-strip-quoted-names): Trivial simplification.
8303
8304 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8305 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8306
8307 * net/snmp-mode.el (tempo): Don't duplicate requires.
8308
8309 * progmodes/prolog.el (info): No need to load when compiling.
8310 (comint): Require before shell requires it.
8311 (Info-goto-node): Autoload it.
8312 (Info-follow-nearest-node): Declare.
8313 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8314
8315 * textmodes/artist.el (picture-mode-exit): Declare.
8316
8317 * textmodes/reftex-parse.el (reftex-parse-from-file):
8318 Trivial rewrite so the compiler can parse it better.
8319
b4da2cbb
LL
83202013-05-20 Leo Liu <sdl.web@gmail.com>
8321
8322 * progmodes/octave.el (octave-help-mode-map)
8323 (octave-help-mode-finish-hook): New variables.
8324 (octave-help-mode, octave-help-mode-finish): New functions.
8325 (octave-help): Use octave-help-mode.
8326
33c0f65b
GM
83272013-05-20 Glenn Morris <rgm@gnu.org>
8328
8329 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8330
1a0a0a8a
DG
83312013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8332
8333 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8334 start at point, so that expansion starting right after opening
8335 slash in a regexp is recognized.
8336 (ruby-syntax-before-regexp-re): New defvar, extracted from
8337 ruby-syntax-propertize-function. Since the value of this regexp
8338 is looked up at runtime now, we should be able to turn
8339 `ruby-syntax-methods-before-regexp' into a defcustom later.
8340 (ruby-syntax-propertize-function): Split regexp matching into two
8341 parts, for opening and closing slashes. That allows us to skip
8342 over string interpolations and support multiline regexps.
8343 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8344 for them, which calls `ruby-syntax-propertize-expansion'.
8345 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8346 call to `ruby-syntax-propertize-function'.
8347 (ruby-syntax-propertize-expansion): Extracted from
8348 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8349 (ruby-syntax-propertize-percent-literal): Leave point right after
8350 the percent symbol, so that the expression expansion rule can
8351 propertize the contents.
462388b6
DG
8352 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8353 heredoc openers.
8354 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8355
c1a6c0a4
JL
83562013-05-18 Juri Linkov <juri@jurta.org>
8357
8358 * man.el (Man-default-man-entry): Remove `-' from the end
8359 of the default value. (Bug#14400)
8360
8051fccd
GM
83612013-05-18 Glenn Morris <rgm@gnu.org>
8362
8363 * comint.el (comint-password-prompt-regexp):
8364 Allow "password for XXX" where XXX contains colons (eg https://...).
8365
5e80b74f
LL
83662013-05-18 Leo Liu <sdl.web@gmail.com>
8367
8368 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8369 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8370 (octave-source-directories): Don't check process.
8371 (octave-source-directories, octave-find-definition): Doc fix.
8372
521a54c5
GM
83732013-05-18 Glenn Morris <rgm@gnu.org>
8374
86a94b05
GM
8375 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8376 Remove backspace/delete bindings. (Bug#14392)
8377
521a54c5
GM
8378 * cus-dep.el (custom-make-dependencies): Sort the output.
8379 (custom-versions-load-alist): Convert comment to doc.
8380
42caeb89
LL
83812013-05-17 Leo Liu <sdl.web@gmail.com>
8382
8383 * newcomment.el (comment-search-backward): Stricter in finding
8384 comment start. (Bug#14303)
8385
8386 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8387 (octave-comment-start-skip): Properly anchored.
8388
e219dd97
LL
83892013-05-17 Leo Liu <sdl.web@gmail.com>
8390
fe1eb856
RS
8391 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8392 Clean up when turned off. (Bug#14395)
e219dd97
LL
8393 (smie--highlight-matching-block-overlay): No longer buffer-local.
8394 (smie-highlight-matching-block): Adjust.
8395
dc5dcb4b
PE
83962013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8397
8398 Doc string fix for "nanoseconds" (Bug#14406).
8399 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8400 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8401
1db165f0
JB
84022013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8403
8404 * calc/calc-units.el (math-extract-units): Preserve powers
8405 of units.
8406
c7a8fcac
LL
84072013-05-17 Leo Liu <sdl.web@gmail.com>
8408
8409 * subr.el (delete-consecutive-dups): New function.
8410 * ido.el (ido-set-matches-1): Use it.
8411 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8412 * ido.el (ido-remove-consecutive-dups): Remove.
8413
f678b18a
SM
84142013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8417 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8418 regexp-opt's `words'.
8419
ebfe68e8
LL
84202013-05-16 Leo Liu <sdl.web@gmail.com>
8421
8422 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8423 (smie--highlight-matching-block-overlay)
8424 (smie--highlight-matching-block-lastpos)
8425 (smie--highlight-matching-block-timer): New variables.
8426 (smie-highlight-matching-block): New function.
8427 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8428 (smie-setup): Conditionally enable smie-blink-matching-open.
8429
bc8bc17d
WS
84302013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8431
8432 Sync with upstream verilog-mode r840.
8433 * progmodes/verilog-mode.el (verilog-mode-version)
8434 (verilog-mode-release-date): Update.
8435 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8436 (verilog-sig-tieoff): Fix string error on
8437 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8438 (verilog-read-decls): Fix parameters confusing
8439 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8440
df065a0b
EZ
84412013-05-16 Eli Zaretskii <eliz@gnu.org>
8442
8443 * subr.el (reveal-filename): New function.
8444
8445 * loadup.el: Compute Emacs executable versions on MS-Windows,
8446 where executables have the .exe extension. Add a hard link
8447 emacs-XX.YY.ZZ.exe on MS-Windows.
8448
8449 * Makefile.in (XARGS_LIMIT): New variable.
8450 (custom-deps, finder-data, autoloads)
8451 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8452 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8453 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8454 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8455
2d4bf34b
LL
84562013-05-16 Leo Liu <sdl.web@gmail.com>
8457
8458 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8459 (octave-mode-menu, octave-mode-map): Remove its uses.
8460
6b9c2d85
RZ
84612013-05-16 Reto Zimmermann <reto@gnu.org>
8462
8463 Sync with upstream vhdl mode v3.34.2.
8464 * progmodes/vhdl-mode.el: Use `push' throughout.
8465 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8466 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8467 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8468 (vhdl-actual-generic-name): New option to derive actual generic name.
8469 (vhdl-port-paste-signals): Replace formal by actual generics.
8470 (vhdl-beautify): New name for old group vhdl-align. Update users.
8471 (vhdl-beautify-options): New option.
8472 (vhdl-last-input-event): New compat alias. Use throughout.
8473 (vhdl-goto-line): Replace user level function `goto-line'.
8474 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8475 vhdl-fix-statement-buffer.
8476 (vhdl-create-mode-menu): Add some entries.
8477 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8478 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8479 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8480 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8481 to force statements on one line.
8482 (vhdl-remove-trailing-spaces-region):
8483 New, split from vhdl-remove-trailing-spaces.
8484 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8485 Respect vhdl-beautify-options.
8486 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8487 (vhdl-update-sensitivity-list): Not add with index if exists without.
8488 Not include array index with signal. Ignore keywords in comments.
8489 (vhdl-get-visible-signals): Regexp tweaks.
8490 (vhdl-template-component-inst): Handle empty library.
8491 (vhdl-template-type): Add template for 'enum' type.
8492 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8493 Use vhdl-replace-string.
8494 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8495 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8496 (vhdl-speedbar-initialize): Update for above name change.
8497 (vhdl-compose-wire-components): Fix in handling of constants.
8498 (vhdl-error-regexp-emacs-alist): New variable.
8499 (vhdl-error-regexp-add-emacs): New function;
8500 adds support for new compile.el (Emacs 22+)
8501 (vhdl-generate-makefile-1): Change target order for single lib. units.
8502 Allow use of absolute file names.
8503
9df4ec5e
LL
85042013-05-16 Leo Liu <sdl.web@gmail.com>
8505
8506 * simple.el (prog-indent-sexp): Indent enclosing defun.
8507
f5ba00a6
GM
85082013-05-15 Glenn Morris <rgm@gnu.org>
8509
ed8be7ff
GM
8510 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8511 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8512 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8513 (whitespace-highlight): Move to whitespace group.
8514
8515 * comint.el (comint-source):
8516 * pcmpl-linux.el (pcmpl-linux):
8517 * shell.el (shell-faces):
8518 * eshell/esh-opt.el (eshell-opt):
8519 * international/ccl.el (ccl): Remove empty custom groups.
8520
8521 * completion.el (dynamic-completion-mode):
8522 * jit-lock.el (jit-lock-debug-mode):
8523 * minibuffer.el (completion-in-region-mode):
8524 * type-break.el (type-break-mode-line-message-mode)
8525 (type-break-query-mode):
8526 * emulation/tpu-edt.el (tpu-edt-mode):
8527 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8528 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8529 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8530
8531 * term/xterm.el (xterm): Change parent group to terminals.
8532
8533 * master.el (master): Remove empty custom group.
8534 (master-mode): Remove unused :group argument.
8535 * textmodes/refill.el (refill): Remove empty custom group.
8536 (refill-mode): Remove unused :group argument.
8537
8538 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8539
82a7c41b
GM
8540 * cus-dep.el: Provide a feature.
8541 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8542 Don't mistakenly ignore files whose basenames match a basename
8543 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8544 Add a fallback method for getting :group.
f5ba00a6 8545
6d65486d
JL
85462013-05-15 Juri Linkov <juri@jurta.org>
8547
da547b32
JL
8548 * isearch.el (isearch-char-by-name): Rename from
8549 `isearch-insert-char-by-name'. Doc fix.
8550 (isearch-forward): Mention `isearch-char-by-name' in
8551 the docstring. (Bug#13348)
8552
6d65486d
JL
8553 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8554 `exit-minibuffer' instead of
8555 `isearch-nonincremental-exit-minibuffer'.
8556 (isearch-edit-string): Remove mention of
8557 `isearch-nonincremental-exit-minibuffer' from docstring.
8558 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8559 (isearch-forward-exit-minibuffer)
8560 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8561
c9990474
SM
85622013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8563
6e911150
SM
8564 * loadup.el: Just use unversioned DOC.
8565
c9990474
SM
8566 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8567 literals as extending to EOB.
8568 (nxml-last-fontify-end): Remove unused variable.
8569 (nxml-after-change1): Use with-silent-modifications.
8570 (nxml-extend-after-change-region): Simplify.
8571 (nxml-extend-after-change-region1): Remove function.
8572 (nxml-after-change1): Don't adjust for dependent regions.
8573 (nxml-fontify-matcher): Simplify.
8574 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8575 (xmltok-add-dependent): Remove function.
8576 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8577 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8578 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8579 unclosed <[[, <?, comment, and other literals as extending to EOB.
8580 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8581 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8582 Remove functions.
8583 (rng-do-some-validation-1): Don't mark dependent regions.
8584 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8585 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8586 (nxml-clear-dependent-regions): Remove functions.
8587 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8588 (nxml-ensure-scan-up-to-date):
8589 Don't clear&mark dependent regions.
8590
e3772e98
LL
85912013-05-15 Leo Liu <sdl.web@gmail.com>
8592
c9990474
SM
8593 * progmodes/octave.el (octave-goto-function-definition):
8594 Improve and fix callers.
e3772e98 8595
5ac2eb34
SM
85962013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8597
c46c57b0
SM
8598 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8599 the setter (bug#14387).
8600
5ac2eb34
SM
8601 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8602 surrounding group (bug#14402).
8603
180ed218
JL
86042013-05-14 Juri Linkov <juri@jurta.org>
8605
8606 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8607 (Bug#14390)
8608
0ac0fecb
GM
86092013-05-14 Glenn Morris <rgm@gnu.org>
8610
8611 * progmodes/f90.el (f90-imenu-generic-expression):
8612 Fix typo in 2013-05-08 change. (Bug#14402)
8613
2e78e6a7
JPG
86142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8615
5ac2eb34
SM
8616 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8617 Remove signals for which replies are never received.
2e78e6a7 8618
53267cca
JPG
86192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8620
8621 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8622 (gdb-handler-alist, gdb-handler-number): Remove variables.
8623 (gdb-handler-list): New variable.
8624 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8625 (gdb-pending-handler-p, gdb-handle-reply)
8626 (gdb-remove-all-pending-triggers): New functions.
8627 (gdb-discard-unordered-replies): New defcustom.
8628 (gdb-handler): New defstruct.
8629 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8630 instead of gdb-pending-triggers. Update docstring.
8631 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8632 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8633 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8634 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8635 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8636 (gdb-frame-handler): Pending triggers are now automatically managed.
8637 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8638 Remove argument.
8639 (gdb-input): Automatically handles pending triggers. Update docstring.
8640 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8641 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8642 Update comments.
8643 (gdb-done-or-error): Now use gdb-handle-reply.
8644
d04ce803
JPG
86452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8646
8647 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8648 gdb-debug-log.
8649
0114073a
GM
86502013-05-14 Glenn Morris <rgm@gnu.org>
8651
8652 * subr.el (user-emacs-directory-warning): New option.
8653 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8654
4d25fd7e
LL
86552013-05-14 Leo Liu <sdl.web@gmail.com>
8656
8657 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8658 during redisplay.
8659 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8660 (octave-font-lock-texinfo-comment): Fix invalid search bound
8661 error: wrong side of point.
4d25fd7e 8662
27c8b6eb
GM
86632013-05-14 Glenn Morris <rgm@gnu.org>
8664
61aaeb01
GM
8665 * progmodes/flymake.el (flymake-xml-program): New option.
8666 (flymake-xml-init): Use it.
8667
5bf90bc5
GM
8668 * term/xterm.el: Provide a feature.
8669
8670 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8671
f4c7dfd2
GM
86722013-05-13 Glenn Morris <rgm@gnu.org>
8673
8674 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8675 Add compat aliases as a hack workaround. (Bug#14384)
8676
2aeb3a1d
LL
86772013-05-13 Leo Liu <sdl.web@gmail.com>
8678
b0e069c2
LL
8679 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8680 ###, and %!.
f5a9432f
LL
8681 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8682 C-M-q.
b0e069c2
LL
8683 (octave-comment-start-skip): Include %!.
8684 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8685
30ea8374
LL
86862013-05-12 Leo Liu <sdl.web@gmail.com>
8687
8688 * progmodes/octave.el (inferior-octave-startup): Store the value
8689 of __octave_srcdir__ for octave-source-directories.
8690 (inferior-octave-check-process): New function refactored out of
8691 inferior-octave-send-list-and-digest.
8692 (octave-source-directories)
8693 (octave-find-definition-filename-function): New variables.
8694 (octave-source-directories)
8695 (octave-find-definition-default-filename): New functions.
8696 (octave-find-definition): Improve to find functions implemented in C++.
8697
472a3834
GM
86982013-05-12 Glenn Morris <rgm@gnu.org>
8699
8700 * calendar/diary-lib.el (diary-outlook-format-1):
8701 Don't include dayname in the output. (Bug#14349)
8702
3191b52f
GM
87032013-05-11 Glenn Morris <rgm@gnu.org>
8704
0060ac73
GM
8705 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8706
3191b52f
GM
8707 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8708 Treat cc-provide like provide.
8709
e065ba74
KR
87102013-05-11 Kevin Ryde <user42@zip.com.au>
8711
8712 * cus-dep.el (custom-make-dependencies):
8713 Use generated-autoload-load-name for the sake of files such
8714 such cedet/semantic/bovine/c.el, where the base file name
8715 is not in load-path. (Bug#5277)
8716
36f84c37
GM
87172013-05-11 Glenn Morris <rgm@gnu.org>
8718
8719 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8720 Provide features.
8721
c8730c3a
LL
87222013-05-11 Leo Liu <sdl.web@gmail.com>
8723
8724 * progmodes/octave.el (octave-indent-comment): Improve.
8725 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8726 (octave-eldoc-function-signatures, octave-eldoc-function):
8727 New functions.
c8730c3a
LL
8728 (octave-mode, inferior-octave-mode): Add eldoc support.
8729
212e29f2
RS
87302013-05-11 Richard Stallman <rms@gnu.org>
8731
8732 * epa.el (epa-decrypt-file): Take output file name as argument
8733 and read it using `interactive'.
8734
083fe0d7
LL
87352013-05-11 Leo Liu <sdl.web@gmail.com>
8736
8737 * progmodes/octave.el (octave-beginning-of-line)
8738 (octave-end-of-line): Check before using up-list because it jumps
8739 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8740 (octave-indent-comment): New function.
8741 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8742 (octave-begin-keywords, octave-end-keywords)
8743 (octave-reserved-words, octave-smie-bnf-table)
8744 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8745
8582e4c4
GM
87462013-05-11 Glenn Morris <rgm@gnu.org>
8747
f20def1f
GM
8748 * faces.el (internal-face-x-get-resource):
8749 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8750 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8751 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8752 Fix declarations.
f20def1f 8753
445f95e2
GM
8754 * calc/calc-menu.el: Make it loadable in isolation.
8755
8756 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8757 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8758 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8759 (eudc-bbdb-query-internal): Require 'bbdb.
8760
99fb2756
GM
8761 * lpr.el (lpr-headers-switches):
8762 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8763
8764 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8765
0da7ad96
GM
8766 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8767
8582e4c4
GM
8768 * term.el (term-set-escape-char): Make it idempotent.
8769
f71c50d0
LL
87702013-05-10 Leo Liu <sdl.web@gmail.com>
8771
5ac2eb34
SM
8772 * progmodes/octave.el (inferior-octave-completion-table):
8773 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8774 completion due to bug#11906.
8775 (octave-beginning-of-defun): Re-write to be more general.
8776
d5837773
GM
87772013-05-10 Glenn Morris <rgm@gnu.org>
8778
8779 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8780
027c0f75
SM
87812013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * comint.el (comint-redirect-send-command-to-process): Use :around
8784 rather than :override for comint-redirect-filter.
8785 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8786 Call it instead of comint-redirect-original-filter-function (which
8787 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8788
4465bfb4
JD
87892013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8790
8791 * frame.el (display-monitor-attributes-list): Add NS case.
8792 (ns-display-monitor-attributes-list): Declare.
8793
2d809ffa 87942013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8795
8796 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8797
e54eeb9b
GM
87982013-05-09 Glenn Morris <rgm@gnu.org>
8799
56cd351d
GM
8800 * international/fontset.el (vertical-centering-font-regexp):
8801 Set standard-value.
8802
d84b6108
GM
8803 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8804
a931698a
GM
8805 * bookmark.el (bookmark-search-delay):
8806 * cus-start.el (vertical-centering-font-regexp):
8807 * ps-mule.el (ps-mule-font-info-database-default):
8808 * ps-print.el (ps-default-fg, ps-default-bg):
8809 * type-break.el (type-break-good-break-interval):
8810 * whitespace.el (whitespace-indentation-regexp)
8811 (whitespace-space-after-tab-regexp):
8812 * emacs-lisp/testcover.el (testcover-1value-functions)
8813 (testcover-noreturn-functions, testcover-progn-functions)
8814 (testcover-prog1-functions):
8815 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8816 * eshell/em-glob.el (eshell-glob-translate-alist):
8817 * play/tetris.el (tetris-tty-colors):
8818 * progmodes/cpp.el (cpp-face-default-list):
8819 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8820 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8821 (idlwave-help-browser-generic-args):
8822 * progmodes/make-mode.el (makefile-special-targets-list):
8823 * progmodes/python.el (python-shell-virtualenv-path):
8824 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8825 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8826 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8827 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8828 * textmodes/reftex-vars.el (reftex-format-label-function):
8829 * textmodes/remember.el (remember-diary-file): Fix custom types.
8830
e54eeb9b
GM
8831 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8832 Add :version.
8833
455851dd
LL
88342013-05-09 Leo Liu <sdl.web@gmail.com>
8835
8836 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8837 Restore file completion. (Bug#14300)
455851dd
LL
8838 (inferior-octave-startup): Fix incorrect highlighting for the
8839 first prompt.
8840
a9e4425b
SM
88412013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * progmodes/ruby-mode.el: First cut at SMIE support.
8844 (ruby-use-smie): New var.
8845 (ruby-smie-grammar): New constant.
8846 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8847 (ruby-smie--forward-token, ruby-smie--backward-token)
8848 (ruby-smie-rules): New functions.
8849 (ruby-mode-variables): Setup SMIE if applicable.
8850
060ca408
EZ
88512013-05-08 Eli Zaretskii <eliz@gnu.org>
8852
8853 * simple.el (line-move-visual): Signal beginning/end of buffer
8854 only if vertical-motion moved less than it was requested. Avoids
8855 silly incorrect error messages when there are display strings with
8856 multiple newlines at EOL.
8857
1d5963cc
SM
88582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8861 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8862 (prolog-char-quote-workaround):
8863 * progmodes/cperl-mode.el (cperl-under-as-char):
8864 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8865 Mark as obsolete.
8866 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8867 their declaration.
8868 (vhdl-mode-syntax-table-init): Remove.
8869
c9990474
SM
8870 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8871 last change.
1d5963cc
SM
8872
8873 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8874 syntax for "_".
8875 (ld-script-font-lock-keywords):
8876 Change regexps to use things like \_< and \_>.
8877
8878 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8879 Change all regexps to use things like \_< and \_>.
8880
8881 * progmodes/autoconf.el (autoconf-definition-regexp)
8882 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8883 Handle a _ with symbol syntax.
8884 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8885
c9990474
SM
8886 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8887 Consolidate declaration.
1d5963cc
SM
8888 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8889 the declaration.
8890 (ada-create-syntax-table): Remove.
8891 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8892 already has the right syntax nowadays.
8893 (ada-goto-next-word): Don't change the syntax of "_".
8894
8895 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8896 with-wrapper-hook.
8897
72d3cfca
SS
88982013-05-08 Sam Steingold <sds@gnu.org>
8899
8900 * thingatpt.el (thing-at-point): Accept optional second argument
8901 NO-PROPERTIES to strip the text properties from the return value.
8902 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8903 to `thing-at-point' instead of stripping the properties ourselves.
8904 Also, when `thing-at-point' fails to find a url, prepend "http://"
8905 to the filename at point on the assumption that the user is
8906 pointing at something like gnu.org/gnu.
8907
5cb15713
JB
89082013-05-08 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8911 * faces.el (crm-separator):
8912 Silence byte-compiler.
8913
8914 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8915 (tool-bar-map): Remove unneeded defvars.
8916
ea78b95b
LL
89172013-05-08 Leo Liu <sdl.web@gmail.com>
8918
8919 Re-work a fix for bug#10994 based on Le Wang's patch.
8920 * ido.el (ido-remove-consecutive-dups): New helper.
8921 (ido-completing-read): Use it.
8922 (ido-chop): Revert fix for bug#10994.
8923
dc7466df
AS
89242013-05-08 Adam Spiers <emacs@adamspiers.org>
8925
8926 * cus-edit.el (custom-save-variables):
8927 Pretty-print long values. (Bug#14187)
8928
9ecf672a
GM
89292013-05-08 Glenn Morris <rgm@gnu.org>
8930
8931 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8932 (m4-mode-syntax-table): Init in the defvar.
8933 (m4-mode-abbrev-table): Let define-derived-mode define it.
8934
3f555be8
TT
89352013-05-08 Tom Tromey <tromey@redhat.com>
8936
8937 * progmodes/m4-mode.el (m4-mode-syntax-table):
8938 Do not treat "_" as word constituent. (Bug#14167)
8939
7cc8ae06
GM
89402013-05-07 Glenn Morris <rgm@gnu.org>
8941
4f58bc06
GM
8942 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8943 Remove explicit eshell-isearch-cancel-map.
8944
7cc8ae06
GM
8945 * progmodes/f90.el (f90-smart-end-names): New option.
8946 (f90-smart-end): Doc fix.
8947 (f90-end-block-optional-name): New constant.
8948 (f90-block-match): Respect f90-smart-end-names.
8949
ceb57e59
SM
89502013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8951
8952 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8953 about implicit semi-colons (bug#14218).
8954
4e3f9230
YM
89552013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8956
8957 * frame.el (display-monitor-attributes-list)
8958 (frame-monitor-attributes): New functions.
8959
203a5572
LL
89602013-05-06 Leo Liu <sdl.web@gmail.com>
8961
8962 * progmodes/octave.el (octave-syntax-propertize-function): Change
8963 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8964 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8965 (octave-completion-at-point): Rename from
203a5572
LL
8966 octave-completion-at-point-function.
8967 (inferior-octave-directory-tracker): Robustify.
8968 (octave-text-functions): Remove and fix its uses. No such things
8969 any more.
8970
ee6cff99
SM
89712013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * emacs-lisp/trace.el (trace--display-buffer): New function.
8974 (trace-make-advice): Use it.
8975
32985194
JL
89762013-05-06 Juri Linkov <juri@jurta.org>
8977
8978 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8979 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8980 Doc fix.
8981 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8982 in the help string. (Bug#12985)
8983
a1c700de
KD
89842013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8985
8986 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8987
c67c0839
SM
89882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8989
323885fd
SM
8990 * progmodes/perl-mode.el: Add support for here documents.
8991 (perl-syntax-propertize-function): Match here-doc markers.
8992 (perl-syntax-propertize-special-constructs): Find their end.
8993 (perl-imenu-generic-expression): Use [:alnum:].
8994
c67c0839
SM
8995 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8996 (advice--add-function): Refresh the advice if already present
8997 (bug#14317).
8998
d491e7a8
IA
89992013-05-06 Ivan Andrus <darthandrus@gmail.com>
9000
9001 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9002
ddf9925e
GM
90032013-05-06 Glenn Morris <rgm@gnu.org>
9004
7cc3af27
GM
9005 * w32-fns.el (w32-charset-info-alist): Declare.
9006
16e343d6
GM
9007 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9008 of its defcustom properties.
9009 (eshell-cmpl-initialize): No need to load pcomplete.
9010
7d889a47
GM
9011 * generic-x.el: No need to require comint when compiling.
9012
ddf9925e
GM
9013 * net/eudc-export.el: Make it loadable without bbdb.
9014 (top-level): Use require rather than load-library.
9015 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9016 (eudc-batch-export-records-to-bbdb)
9017 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9018 Require bbdb.
9019
1e2c18df
SM
90202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9023 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9024 some tweaks, instead.
9025
02502a5f
LL
90262013-05-05 Leo Liu <sdl.web@gmail.com>
9027
9028 * progmodes/octave.el (octave-font-lock-keywords)
9029 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9030 (inferior-octave-send-list-and-digest): Improve error message.
9031 (octave-mode, inferior-octave-mode): Use setq-local.
9032 (octave-help): Set info-lookup-mode.
9033
0dc04f42
RS
90342013-05-05 Richard Stallman <rms@gnu.org>
9035
6c54491c
RS
9036 * vc/compare-w.el (compare-windows-whitespace):
9037 Treat no-break space as whitespace.
9038
0dc04f42
RS
9039 * mail/rmailsum.el (rmail-summary-rmail-update):
9040 Detect empty summary and don't change selected message.
9041 (rmail-summary-goto-msg): Likewise.
9042
df8f35df
RS
9043 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9044 Doc fixes, rename args.
9045
5356e1a3
AM
90462013-05-05 Alan Mackenzie <acm@muc.de>
9047
9048 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9049
d44014cb
JL
90502013-05-05 Juri Linkov <juri@jurta.org>
9051
9052 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9053 to not add the length of the summary segment to the return value.
9054 (Bug#14125)
9055
c129b51f
LL
90562013-05-05 Leo Liu <sdl.web@gmail.com>
9057
9058 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9059 (inferior-octave-output-filter): Remove.
9060 (octave-send-region, inferior-octave-startup): Fix callers.
9061 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9062 (octave-binary-file-extensions): New user variable.
9063 (octave-find-definition): Confirm if opening binary files.
9064 (octave-help-file): Use octave-find-definition to get the binary
9065 confirmation.
9066 (octave-help): Adjust for octave-help-file change.
9067
aa7dab97
SM
90682013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9071 Merge the two entries that handle function definitions.
9072 (pascal--syntax-propertize): New const.
9073 (pascal-mode): Use it. Use setq-local.
9074
fd3a9a6b
GM
90752013-05-04 Glenn Morris <rgm@gnu.org>
9076
9077 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9078 (diary-from-outlook): Respect diary-from-outlook-function.
9079
30c7e542
SM
90802013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9083 Move the declaration from C.
9084 (read-minibuffer, eval-minibuffer): Move from C.
9085 (completion-setup-function): Avoid minibuffer-completion-contents.
9086
b54f978b
LL
90872013-05-03 Leo Liu <sdl.web@gmail.com>
9088
9089 * progmodes/octave.el (octave-font-lock-keywords): Do not
9090 dehighlight 'end' in comments or strings.
30c7e542
SM
9091 (octave-completing-read, octave-goto-function-definition):
9092 New helpers.
d4d0f9b3
LL
9093 (octave-help-buffer): New user variable.
9094 (octave-help-file, octave-help-function): New button types.
9095 (octave-help): New command and bind it to C-h ;.
9096 (octave-find-definition): New command and bind it to M-.
d74a1581 9097 (user-error): Alias to error if not defined.
b54f978b 9098
27135018
LL
90992013-05-02 Leo Liu <sdl.web@gmail.com>
9100
9101 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9102 for \. (bug#14332)
9103 (octave-font-lock-keywords): Include [ and {.
9104
0d634d3a
LL
91052013-05-02 Leo Liu <sdl.web@gmail.com>
9106
9107 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9108 (inferior-octave): Remove calling comint-mode and return the buffer.
9109 (inferior-octave-startup): Cosmetic changes.
9110
b4c8295e
LL
91112013-05-02 Leo Liu <sdl.web@gmail.com>
9112
30c7e542
SM
9113 * progmodes/octave.el (octave-syntax-propertize-function):
9114 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9115
f12ad6ec
GM
91162013-05-02 Glenn Morris <rgm@gnu.org>
9117
9118 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9119 * desktop.el (vc-dir-mode): Just autoload it here.
9120
30cac1e0
AM
91212013-05-02 Alan Mackenzie <acm@muc.de>
9122
9123 Eliminate variable c-standard-font-lock-fontify-region-function.
9124 * progmodes/cc-mode.el
9125 (c-standard-font-lock-fontify-region-function): Remove.
9126 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9127
d8ef28b1
LL
91282013-05-01 Leo Liu <sdl.web@gmail.com>
9129
2640d52e 9130 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9131 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9132 variables were removed from Octave in 2007.
d8ef28b1
LL
9133 (inferior-octave-startup): Fix uses.
9134 (comint-line-beginning-position): Remove compatibility code for
9135 emacs 21.
9136
ac63ec89
JL
91372013-05-01 Juri Linkov <juri@jurta.org>
9138
9139 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9140
9e9be37c
JL
91412013-05-01 Juri Linkov <juri@jurta.org>
9142
9143 * comint.el (comint-previous-matching-input): Don't print message
9144 "History item: %d" when `isearch-mode' is active.
9145 (comint-history-isearch-message): Print message "History item: %d"
9146 when `comint-input-ring-index' is not empty and this function is
9147 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9148
9b92c13b
LL
91492013-05-01 Leo Liu <sdl.web@gmail.com>
9150
9151 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9152 definitions. Use completion-at-point to insert keywords.
9153 (octave-abbrev-start): Remove.
9154 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9155
b12d33d7
LL
91562013-04-30 Leo Liu <sdl.web@gmail.com>
9157
9158 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9159 change.
9160
3d1c39fa
AM
91612013-04-30 Alan Mackenzie <acm@muc.de>
9162
9163 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9164 * progmodes/cc-engine.el (c-back-over-member-initializers):
9165 new function.
3d1c39fa
AM
9166 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9167 (most) member init lists.
9168
5147fc17
RS
91692013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9170
9171 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9172 variable.
9173
5b78d7fc
LL
91742013-04-30 Leo Liu <sdl.web@gmail.com>
9175
9176 * progmodes/octave.el (octave-variables): Remove. No builtin
9177 variables any more. All converted to functions.
9178 (octave-font-lock-keywords, octave-completion-at-point-function):
9179 Fix uses.
9180 (octave-font-lock-texinfo-comment): New user variable.
9181 (octave-texinfo-font-lock-keywords): New variable for texinfo
9182 comment block.
9183 (octave-function-comment-block): New face.
9184 (octave-font-lock-texinfo-comment): New function.
9185 (octave-mode): Font lock texinfo comment block.
9186
38d8527b
LL
91872013-04-29 Leo Liu <sdl.web@gmail.com>
9188
9189 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9190 indexing expression.
9191 (octave-continuation-string): Do not use \.
9192 (inferior-octave-complete-impossible): Remove.
9193 (inferior-octave-completion-table)
9194 (inferior-octave-completion-at-point): Remove its uses.
9195 (inferior-octave-startup): completion_matches was introduced to
9196 Octave in 1996 so safe to assume it.
9197 (octave-function-file-comment): Improve to follow how Octave does it.
9198 (octave-update-function-file-comment): Tweak.
9199
2ec12cb0
LL
92002013-04-29 Leo Liu <sdl.web@gmail.com>
9201
9202 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9203 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9204 (octave-function-file-comment): Fix typo.
9205 (octave-sync-function-file-names): Use read-char-choice.
9206
6eaed048
JB
92072013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9208
9209 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9210 to t for the less important warnings.
9211
3ffa2d4f
DH
92122013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9213
9214 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9215
685c9501
GM
92162013-04-27 Glenn Morris <rgm@gnu.org>
9217
9218 * vc/log-view.el (log-view-current-entry):
9219 Treat "---" separator lines as part of the following rev. (Bug#14169)
9220
0208ede7
JL
92212013-04-27 Juri Linkov <juri@jurta.org>
9222
9223 * subr.el (read-number): Doc fix about using it by interactive
9224 code letter `n'. (Bug#14254)
9225
5db9dace
JL
92262013-04-27 Juri Linkov <juri@jurta.org>
9227
9228 * desktop.el (desktop-auto-save-timeout): New option.
9229 (desktop-file-checksum): New variable.
9230 (desktop-save): Add optional arg `auto-save' and don't auto-save
9231 if nothing changed.
9232 (desktop-auto-save-timer): New variable.
9233 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9234 (after-init-hook): Call `desktop-auto-save-set-timer'.
9235 Suggested by Reuben Thomas <rrt@sc3d.org> in
9236 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9237
b7260dd4
LL
92382013-04-27 Leo Liu <sdl.web@gmail.com>
9239
9240 * progmodes/octave.el (octave-function-file-p)
9241 (octave-skip-comment-forward, octave-function-file-comment)
9242 (octave-update-function-file-comment): New functions.
9243 (octave-mode-map): Bind C-c ; to
9244 octave-update-function-file-comment.
9245 (octave-mode-menu): Add octave-update-function-file-comment.
9246 (octave-mode, inferior-octave-mode): Fix doc-string.
9247 (octave-insert-defun): Conform to Octave's coding convention.
9248 (Bug#14285)
9249
9250 * files.el (basic-save-buffer): Don't let errors in
9251 before-save-hook prevent saving buffer.
9252
c46da669
RW
92532013-04-20 Roland Winkler <winkler@gnu.org>
9254
9255 * faces.el (read-face-name): Use completing-read if arg multiple
9256 is nil.
9257
a81ee1eb
IL
92582013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9259
9260 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9261 displayed, move point to after the totals line.
9262 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9263 for the details.
9264
4fac34ce
SM
92652013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9268 Add current dir to the load-path.
9269 (package-generate-autoloads): Don't rely on
9270 autoload-ensure-default-file.
9271
f6bfc063
RT
92722013-04-26 Reuben Thomas <rrt@sc3d.org>
9273
d40ab5cf
BG
9274 * textmodes/remember.el (remember-store-in-files): Document that
9275 the file name format is passed to `format-time-string'.
f6bfc063 9276
e55d3b04
LL
92772013-04-26 Leo Liu <sdl.web@gmail.com>
9278
9279 * progmodes/octave.el (octave-sync-function-file-names): New function.
9280 (octave-mode): Use it in before-save-hook.
9281
e53052d3
SM
92822013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9283
140ef50c
SM
9284 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9285 (bug#14274).
9286
e53052d3
SM
9287 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9288 \n and comment, even if it's not an implicit ; (bug#14218).
9289
af80458d 92902013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9291
9292 * subr.el (read-number): Once more use `read' rather than
9293 `string-to-number', to trap non-numeric input. (Bug#14254)
9294
af80458d 92952013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9296
9297 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9298 Use `syntax-multiline' text property consistently instead of
8a621d53 9299 `font-lock-multiline'. (Bug#14237)
70203c2e 9300
e6ea1f6c
GM
93012013-04-26 Glenn Morris <rgm@gnu.org>
9302
9303 * emacs-lisp/shadow.el (list-load-path-shadows):
9304 No longer necessary to check for duplicate simple.el, since
9305 2012-07-07 change to init_lread to not include installation lisp
9306 directories in load-path when running uninstalled. (Bug#14270)
9307
070ccca4
LL
93082013-04-26 Leo Liu <sdl.web@gmail.com>
9309
9310 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9311 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9312 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9313 octave-in-string-or-comment-p.
9314 (octave-in-comment-p, octave-in-string-p)
9315 (octave-in-string-or-comment-p): Replace defsubst with defun.
9316
9d1c5fb6
PE
93172013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9318
9319 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9320
c034abda
BG
93212013-04-25 Bastien Guerry <bzg@gnu.org>
9322
9323 * textmodes/remember.el (remember-data-directory)
9324 (remember-directory-file-name-format): Fix custom types.
9325
584ea277
LL
93262013-04-25 Leo Liu <sdl.web@gmail.com>
9327
e53052d3
SM
9328 * progmodes/octave.el (octave-completion-at-point-function):
9329 Make use of inferior octave process.
584ea277
LL
9330 (octave-initialize-completions): Remove.
9331 (inferior-octave-completion-table): New function.
9332 (inferior-octave-completion-at-point): Use it.
9333 (octave-completion-alist): Remove.
9334
1693b06a
SM
93352013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9338 (opascal-mode-syntax-table): New var.
9339 (opascal-literal-kind, opascal-is-literal-end)
9340 (opascal-literal-token-at): Rewrite.
9341 (opascal--literal-start-re, opascal-font-lock-keywords)
9342 (opascal--syntax-propertize): New constants.
9343 (opascal-font-lock-defaults): Adjust.
9344 (opascal-mode): Use them. Set comment-<foo> variables as well.
9345 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9346 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9347 (delphi-other-face, opascal-other-face): Remove face variables.
9348 (opascal-save-state): Remove macro.
9349 (opascal-fontifying-progress-step): Remove constant.
9350 (opascal--ignore-changes): Remove var.
9351 (opascal-set-token-property, opascal-parse-next-literal)
9352 (opascal-is-stable-literal, opascal-complete-literal)
9353 (opascal-is-literal-start, opascal-face-of)
9354 (opascal-parse-region, opascal-parse-region-until-stable)
9355 (opascal-fontify-region, opascal-after-change)
9356 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9357 (opascal-debug-parse-region, opascal-debug-parse-window)
9358 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9359 (opascal-debug-fontify-buffer): Remove.
9360 (opascal-debug-mode-map): Adjust accordingly.
9361
be64c05d
LL
93622013-04-25 Leo Liu <sdl.web@gmail.com>
9363
9364 Merge octave-mod.el and octave-inf.el into octave.el with some
9365 cleanups.
9366 * progmodes/octave.el: New file renamed from octave-mod.el.
9367 * progmodes/octave-inf.el: Merged into octave.el.
9368 * progmodes/octave-mod.el: Renamed to octave.el.
9369
d79d37bd
TH
93702013-04-25 Tassilo Horn <tsdh@gnu.org>
9371
9372 * textmodes/reftex-vars.el
9373 (reftex-label-ignored-macros-and-environments): New defcustom.
9374
9375 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9376
ced3fc5d
SM
93772013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9380 (smie-indent-keyword): Improve the check to ensure that the next
9381 comment is really on the same line.
9382 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9383
9384 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9385 semi-colons if the line is not otherwise empty (bug#14218).
9386
1c141dad
GM
93872013-04-25 Glenn Morris <rgm@gnu.org>
9388
9389 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9390
5058062a
SM
93912013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * progmodes/opascal.el (opascal-set-token-property): Rename from
9394 opascal-set-text-properties and only set `token' (bug#14134).
9395 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9396 (opascal-literal-text-properties): Remove.
9397 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9398 Adjust callers.
9399
5db9dace 94002013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9401
9402 * textmodes/remember.el (remember-handler-functions): Add an
9403 option for a new handler `remember-store-in-files'.
9404 (remember-data-directory, remember-directory-file-name-format):
9405 New options.
9406 (remember-store-in-files): New function to store remember notes
9407 as separate files within a directory.
9408
4391916c
MH
94092013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9410
9411 * progmodes/compile.el (compilation-next-error-function):
9412 Pass "formats" to compilation-find-file (bug#11777).
9413
bb7cdf58
GM
94142013-04-24 Glenn Morris <rgm@gnu.org>
9415
3b8fe752 9416 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9417 * vc/vc-hg.el (vc-hg-print-log):
9418 * vc/vc-svn.el (vc-svn-print-log):
9419 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9420
bb7cdf58
GM
9421 * vc/vc-bzr.el (vc-bzr-print-log):
9422 * vc/vc-cvs.el (vc-cvs-print-log):
9423 * vc/vc-git.el (vc-git-print-log):
9424 * vc/vc-hg.el (vc-hg-print-log):
9425 * vc/vc-mtn.el (vc-mtn-print-log):
9426 * vc/vc-rcs.el (vc-rcs-print-log):
9427 * vc/vc-sccs.el (vc-sccs-print-log):
9428 * vc/vc-svn.el (vc-svn-print-log):
9429 * vc/vc.el (vc-print-log-internal): Doc fixes.
9430
b46a056e
GM
94312013-04-23 Glenn Morris <rgm@gnu.org>
9432
9433 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9434 Remove venerable code attempting to avoid substitute-command-keys.
9435
0aecf718
TH
94362013-04-23 Tassilo Horn <tsdh@gnu.org>
9437
4391916c
MH
9438 * textmodes/reftex-vars.el (reftex-label-regexps):
9439 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9440
117f94cf
SM
94412013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9442
4391916c 9443 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9444 Use lexical-binding.
9445 (jit-lock-force-redisplay): Use markers, check buffer's continued
9446 existence and beware narrowed buffers.
9447 (jit-lock-fontify-now): Adjust call accordingly.
9448
1d829c64
SM
94492013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9452 to avoid misleading the user.
9453
72d548a9
LL
94542013-04-22 Leo Liu <sdl.web@gmail.com>
9455
9456 * info-look.el: Prefer latex2e.info. (Bug#14240)
9457
d0853629
MA
94582013-04-22 Michael Albinus <michael.albinus@gmx.de>
9459
9460 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9461
9462 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9463 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9464 (tramp-set-completion-function, tramp-parse-putty):
9465 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9466 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9467 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9468 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9469 (tramp-call-local-coding-command): Use `tramp-call-process'
9470 instead of `tramp-compat-call-process'.
9471
9472 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9473 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9474 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9475 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9476 (tramp-maybe-send-script): Check for Perl binary.
9477 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9478
38cc0210
DU
94792013-04-22 Daiki Ueno <ueno@gnu.org>
9480
9481 * epg.el (epg-context-pinentry-mode): New function.
9482 (epg-context-set-pinentry-mode): New function.
9483 (epg--start): Pass --pinentry-mode option to gpg command.
9484
cc641ee1
XF
94852013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9486
02d844b5 9487 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9488 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9489 `completion-at-point'. (Bug#13774)
5d4e5c31 9490
cc641ee1
XF
9491 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9492 default key binding for `describe-distribution' has been moved to
9493 `C-h C-o'. (Bug#13970)
9494
1b42ee43
GM
94952013-04-21 Glenn Morris <rgm@gnu.org>
9496
9497 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9498 Add doc strings.
9499 (vc-print-log): Clarify interactive prompt.
9500
a6d63d97
GM
95012013-04-20 Glenn Morris <rgm@gnu.org>
9502
9503 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9504 No longer include timestamp etc information.
9505
d7f5c16f
RW
95062013-04-20 Roland Winkler <winkler@gnu.org>
9507
9508 * faces.el (read-face-name): Bug fix, return just one face if arg
9509 multiple is nil. (Bug#14209)
9510
bcd7a0a4
SM
95112013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9514 (remove-function): Autoload.
9515
9516 * comint.el (comint-redirect-original-filter-function): Remove.
9517 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9518 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9519 (vc-cvs-annotate-command):
bcd7a0a4
SM
9520 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9521 * progmodes/prolog.el (prolog-consult-compile):
9522 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9523 Use add/remove-function instead.
9524 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9525 (gud-tooltip-process-output, gud-tooltip-tips):
9526 Use add/remove-function instead.
9527 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9528 (scheme-interaction-mode, exit-scheme-interaction-mode):
9529 Use add/remove-function instead.
9530
9531 * vc/vc-dispatcher.el: Use lexical-binding.
9532 (vc--process-sentinel): Rename from vc-process-sentinel.
9533 Change last arg to be the code to run. Don't use vc-previous-sentinel
9534 and vc-sentinel-commands any more.
9535 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9536 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9537
e36b2d20 95382013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9539
bcd7a0a4 9540 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9541 Handle function names with a single character. (Bug#14111)
4d3268ba 9542
781b4af6 95432013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9544
9545 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9546 for subroutines defined in an eval (bug#14182).
9547
7d688336
TV
95482013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9549
9550 * bookmark.el (bookmark-completing-read): Improve handling of empty
9551 string (bug#14176).
9552
31dcede0
SM
95532013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9556
adc31213
FEG
95572013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9558
9559 New faster Imenu implementation (bug#14058).
9560 * progmodes/python.el:
9561 (python-imenu-prev-index-position):
9562 (python-imenu-format-item-label-function)
9563 (python-imenu-format-parent-item-label-function)
9564 (python-imenu-format-parent-item-jump-label-function):
9565 New vars.
9566 (python-imenu-format-item-label)
9567 (python-imenu-format-parent-item-label)
9568 (python-imenu-format-parent-item-jump-label)
9569 (python-imenu--put-parent, python-imenu--build-tree)
9570 (python-imenu-create-index, python-imenu-create-flat-index)
9571 (python-util-popn): New functions.
9572 (python-mode): Set imenu-create-index-function to
9573 python-imenu-create-index.
9574
cdca8255
SM
95752013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * winner.el (winner-active-region): Use region-active-p, activate-mark
9578 and deactivate-mark (bug#14225).
9579
9580 * simple.el (deactivate-mark): Don't inline it.
9581
beb42340
MA
95822013-04-18 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9585
fc7f4d7e
TH
95862013-04-18 Tassilo Horn <tsdh@gnu.org>
9587
9588 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9589 file extensions from the archive-mode entry in order to prefer
9590 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9591
29f47822
LL
95922013-04-18 Leo Liu <sdl.web@gmail.com>
9593
9594 * bindings.el (help-event-list): Add ?\?.
9595
d36ed1c8
SM
95962013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9597
9598 * subr.el (with-wrapper-hook): Declare obsolete.
9599 * simple.el (filter-buffer-substring-function): New hook.
9600 (filter-buffer-substring): Use it.
9601 (filter-buffer-substring-functions): Mark obsolete.
9602 * minibuffer.el (completion-in-region-function): New hook.
9603 (completion-in-region): Use it.
9604 (completion-in-region-functions): Mark obsolete.
9605 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9606 * abbrev.el (abbrev-expand-function): New hook.
9607 (expand-abbrev): Use it.
9608 (abbrev-expand-functions): Mark obsolete.
9609 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9610 and :filter-return.
9611
04754d36
FEG
96122013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9613
9614 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9615 and do not care about match data.
9616
dd8791e9
SM
96172013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9618
9619 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9620 completion tables when completing error conditions and
9621 `declare' arguments.
9622 (lisp-complete-symbol, field-complete): Mark as obsolete.
9623 (check-parens): Unmatched parens are user errors.
9624 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9625
ffe54a13
AM
96262013-04-17 Michal Nazarewicz <mina86@mina86.com>
9627
dd8791e9
SM
9628 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9629 command changed buffer (ie. `flyspell-pre-buffer' is not current
9630 buffer), which prevents making decisions based on invalid value of
9631 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9632 cause an error when `flyspell-pre-point' was nil after switching
9633 buffers.
9634 (flyspell-post-command-hook): No longer needs to change buffers when
9635 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9636
ec7e39f2
AM
96372013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9638
9639 * textmodes/ispell.el (ispell-add-per-file-word-list):
9640 Fix `flyspell-correct-word-before-point' error when accepting
9641 words and `coment-padding' is an integer by using
9642 `comment-normalize-vars' (Bug #14214).
9643
083850a6
FEG
96442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9645
9646 New defun movement commands.
9647 * progmodes/python.el (python-nav--syntactically)
9648 (python-nav--forward-defun, python-nav-backward-defun)
9649 (python-nav-forward-defun): New functions.
9650
619ed6e1
FEG
96512013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9652
9653 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9654 (python-syntax-context): Use named compiler-macro for backwards
9655 compatibility with Emacs 24.x.
9656
7a1beb6c
LL
96572013-04-17 Leo Liu <sdl.web@gmail.com>
9658
9659 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9660 octave-hide-process-buffer.
9661
2d3fa3e5
SM
96622013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9665 (bug#14216).
9666
7ce5be54
JPG
96672013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9668
9669 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9670 Fix adjustment of offset when receiving incomplete responses from GDB
9671 (bug#14129).
9672
351edece
SM
96732013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9676 python-mode-abbrev-table.
9677 (python-skeleton-define): Adjust accordingly.
9678 (python-mode-abbrev-table): New table that inherits from it so that
9679 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9680
9681 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9682 (abbrev-symbol): Use it.
9683 (abbrev--before-point): Use it since we already handle inheritance.
9684
613f9481
LL
96852013-04-16 Leo Liu <sdl.web@gmail.com>
9686
9687 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9688 binding to info-lookup-symbol.
9689
51646b62
JB
96902013-04-16 Juanma Barranquero <lekktu@gmail.com>
9691
9692 * minibuffer.el (completion--twq-all):
9693 * term/ns-win.el (ns-initialize-window-system):
9694 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9695
efb3f01d
SM
96962013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9697
36c0a301
SM
9698 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9699 global bindings.
9700
efb3f01d
SM
9701 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9702
fb549d64
DG
97032013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9704
9705 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9706 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9707 to nil.
9708 (ruby-end-of-defun): Remove the unused arg, change the docstring
9709 to reflect that this function is only used as the value of
9710 `end-of-defun-function'.
9711 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9712 to reflect an earlier change that beginning/end-of-defun functions
9713 jump between methods in a class definition, as well as top-level
9714 functions.
9715
21e8fe2f
SM
97162013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 * minibuffer.el (minibuffer-complete): Don't just scroll
9719 a *Completions* that's been iconified.
9720 (minibuffer-force-complete): Make sure repetitions do cycle when going
9721 through completion-in-region -> minibuffer-complete.
9722
20e527d0
AM
97232013-04-15 Alan Mackenzie <acm@muc.de>
9724
9725 Correct the placement of c-cpp-delimiters when there're #s not at
9726 col 0.
9727
9728 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9729 place a submatch around the #.
21e8fe2f
SM
9730 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9731 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9732 on the #, not BOL.
9733
dabefae5
SM
97342013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9737 (advice--member-p): New arg `name'.
9738 (advice--add-function, advice-member-p): Use it (bug#14202).
9739
85c9ab64
AM
97402013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9741
9742 Reformulate java imenu-generic-expression.
9743 The old expression contained ill formed regexps.
9744
9745 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9746 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9747 (cc-imenu-java-method-arg-regexp): New defconsts.
9748 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9749 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9750 handling of spaces in the regexp.
9751
0f821d99
AM
97522013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9753
9754 * textmodes/ispell.el (ispell-command-loop): Remove
9755 flyspell highlight of a word when ispell accepts it (bug #14178).
9756
eb922adf
MA
97572013-04-15 Michael Albinus <michael.albinus@gmx.de>
9758
9759 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9760 uses code from the previous `ange-ftp-run-real-handler'.
9761 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9762 only in case that function exist. This is needed for proper
9763 unloading of Tramp.
9764
4d9a0979
TH
97652013-04-15 Tassilo Horn <tsdh@gnu.org>
9766
9767 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9768
9769 * textmodes/reftex.el (reftex-compile-variables): Use it.
9770
a829b0dc
SM
97712013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9772
91e8293c
SM
9773 * files.el (normal-mode): Only use default major-mode if no other mode
9774 was specified.
9775
830aed4d
SM
9776 * emacs-lisp/trace.el (trace-values): New function.
9777
a829b0dc
SM
9778 * files.el: Allow : in local variables (bug#14089).
9779 (hack-local-variable-regexp): New var.
9780 (hack-local-variables-prop-line, hack-local-variables): Use it.
9781
7ae9f0fb
RW
97822013-04-13 Roland Winkler <winkler@gnu.org>
9783
9784 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9785 data before it gets modified by bibtex-beginning-of-entry.
9786
6646e848
RW
97872013-04-13 Roland Winkler <winkler@gnu.org>
9788
9789 * textmodes/bibtex.el (bibtex-url): Doc fix.
9790
97912013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9792
9793 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9794 does not visit a BibTeX file, exclude it from the list of buffers
9795 returned by bibtex-initialize.
9796
0aa3616e
SB
97972013-04-13 Stephen Berman <stephen.berman@gmx.net>
9798
9799 * window.el (split-window): Remove interactive form, since as a
9800 command this function is a special case of split-window-below.
9801 Correct doc string.
9802
011cddd6
RW
98032013-04-12 Roland Winkler <winkler@gnu.org>
9804
9805 * faces.el (read-face-name): Do not override value of arg default.
9806 Allow single faces and strings as default values. Remove those
9807 elements from return value that are not faces.
9808 (describe-face): Simplify.
9809 (face-at-point): New optional args thing and multiple so that this
9810 function can provide the same functionality previously provided by
9811 read-face-name.
9812 (make-face-bold, make-face-unbold, make-face-italic)
9813 (make-face-unitalic, make-face-bold-italic, invert-face)
9814 (modify-face, read-face-and-attribute): Use face-at-point.
9815
9816 * cus-edit.el (customize-face, customize-face-other-window)
9817 * cus-theme.el (custom-theme-add-face)
9818 * face-remap.el (buffer-face-set)
9819 * facemenu.el (facemenu-set-face): Use face-at-point.
9820
f24e0036
MA
98212013-04-12 Michael Albinus <michael.albinus@gmx.de>
9822
9823 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9824
da3cda2d
TH
98252013-04-10 Tassilo Horn <tsdh@gnu.org>
9826
9827 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9828 off leading { and trailing } from field values.
9829
15e54145
SM
98302013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9831
78ce603d
SM
9832 * emacs-lisp/timer.el (timer--check): New function.
9833 (timer--time, timer-set-function, timer-event-handler): Use it.
9834 (timer-set-idle-time): Simplify.
9835 (timer--activate): CSE.
9836 (timer-event-handler): Give more info in error message.
9837 (internal-timer-start-idle): New function, moved from C.
9838
15e54145
SM
9839 * mpc.el (mpc-proc): Add `restart' argument.
9840 (mpc-proc-cmd): Use it.
9841 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9842 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9843 less often.
9844
7144c627
MY
98452013-04-10 Masatake YAMATO <yamato@redhat.com>
9846
9847 * progmodes/sh-script.el: Implement `sh-mode' own
9848 `add-log-current-defun-function' (bug#14112).
9849 (sh-current-defun-name): New function.
9850 (sh-mode): Use the function.
9851
b39792eb
BG
98522013-04-09 Bastien Guerry <bzg@gnu.org>
9853
9854 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9855
8acdeb71
SM
98562013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9857
6fcdab68
SM
9858 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9859
8acdeb71
SM
9860 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9861 timer (bug#14156).
9862
e3e7b504
NF
98632013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9864
9865 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9866 declaration.
9867
201bb296
LL
98682013-04-07 Leo Liu <sdl.web@gmail.com>
9869
9870 * pcmpl-x.el: New file.
9871
ebb19708
DA
98722013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9873
9874 Do not set x-display-name until X connection is established.
9875 This is needed to prevent from weird situation described at
9876 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9877 * frame.el (make-frame): Set x-display-name after call to
9878 window system initialization function, not before.
9879 * term/x-win.el (x-initialize-window-system): Add optional
9880 display argument and use it.
9881 * term/w32-win.el (w32-initialize-window-system):
9882 * term/ns-win.el (ns-initialize-window-system):
9883 * term/pc-win.el (msdos-initialize-window-system):
9884 Add compatible optional display argument.
9885
33bb237a
EZ
98862013-04-06 Eli Zaretskii <eliz@gnu.org>
9887
9888 * files.el (normal-backup-enable-predicate): On MS-Windows and
9889 MS-DOS compare truenames of temporary-file-directory and of the
9890 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9891 don't fail comparison by compare-strings. Also, compare file
9892 names case-insensitively on MS-Windows and MS-DOS.
9893
134abf1f
SM
98942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9897 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9898
d695cb94
DG
98992013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9900
e3e7b504
NF
9901 * whitespace.el (whitespace-color-on, whitespace-color-off):
9902 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9903
f4ad7ea1 99042013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9905
9906 * ispell.el (ispell-set-spellchecker-params):
9907 Really set `ispell-args' for all equivs.
9908
632556e4
SM
99092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * ido.el (ido-completions): Use extra elements of ido-decorations
9912 (bug#14143).
9913 (ido-decorations): Update docstring.
9914
2a417372
MA
99152013-04-05 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9918 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9919 nil during initialization, in order not to miss changes since the
9920 file was opened. (Bug#14140)
9921
fc164b0c
LL
99222013-04-05 Leo Liu <sdl.web@gmail.com>
9923
9924 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9925
0ccecc08
JB
99262013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9927
9928 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9929
51af1aa2
GM
99302013-04-04 Glenn Morris <rgm@gnu.org>
9931
9932 * electric.el (electric-pair-inhibit-predicate): Add :version.
9933
b208ebc6
SM
99342013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9937 when a package is required several times (bug#14082).
9938
f3d3eaf0
RW
99392013-04-04 Roland Winkler <winkler@gnu.org>
9940
9941 * faces.el (read-face-name): Behave as promised by the docstring.
9942 Assume that arg default is a list of faces.
9943 (describe-face): Call read-face-name with list of default faces.
9944
2575da50
TV
99452013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9946
9947 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9948 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9949 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9950 the header.
9951 (bookmark-exit-hook-internal): Save even if list is empty.
9952
397703b4
YH
99532013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9954
9955 * emacs-lisp/package.el (package-pinned-packages): New var.
9956 (package--add-to-archive-contents): Obey it (bug#14118).
9957
691e26ae
AM
99582013-04-03 Alan Mackenzie <acm@muc.de>
9959
8a621d53
JB
9960 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9961 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9962
9963 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9964 parameter `not-in-delimiter'. Handle being inside comment opener.
9965 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9966 character in case we're typing a '*' after a '/'.
9967 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9968 instead by passing the parameter to c-state-pp-to-literal.
9969
9970 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9971 for elt. 7 of a parse state.
9972
4b725a70
PE
99732013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9974
9975 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9976 * international/latin1-disp.el, international/mule-util.el:
9977 * language/cyril-util.el, language/european.el, language/ind-util.el:
9978 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9979 * language/tibetan.el, language/viet-util.el:
9980 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9981
15c579f0
SM
99822013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9985 (electric-pair-post-self-insert-function): Use it.
9986 (electric-pair-default-inhibit): New function, extracted from
9987 electric-pair-post-self-insert-function.
9988
a77e2924
RW
99892013-03-31 Roland Winkler <winkler@gnu.org>
9990
9991 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9992
2bd8a4a8
SM
99932013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9996
8d3655be 99972013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9998
9999 Un-indent after "pass" and "return" statements (Bug#13888)
10000 * progmodes/python.el (python-indent-block-enders): New var.
10001 (python-indent-calculate-indentation): Use it.
10002
8d3655be 100032013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10004
10005 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10006 defun. Defining it as defalias could introduce too eager
10007 byte-compiler optimization. (Bug#14030)
10008
8d3655be 100092013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10010
10011 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10012
0b1619da
LL
100132013-03-30 Leo Liu <sdl.web@gmail.com>
10014
10015 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10016 (kmacro-execute-from-register): Pass the keyboard macro to
10017 kmacro-call-macro or repeating won't work correctly.
10018
0b938190
TZ
100192013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10020
10021 * progmodes/subword.el: Back to using `forward-symbol'.
10022
10023 * subr.el (forward-whitespace, forward-symbol)
10024 (forward-same-syntax): Move from thingatpt.el.
10025
35710234
LL
100262013-03-29 Leo Liu <sdl.web@gmail.com>
10027
10028 * kmacro.el (kmacro-to-register): New command.
10029 (kmacro-execute-from-register): New function.
10030 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10031
efc0bb73
SM
100322013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * mpc.el: Use defvar-local and setq-local.
10035 (mpc--proc-connect): Connection failures are not bugs.
10036 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10037 (mpc-volume-map): Bind to the up-events.
10038
75a2f981
TZ
100392013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10040
10041 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10042 instead of `forward-symbol'.
10043
17c781d1
SM
100442013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10047 (edebug--recursive-edit): Use it.
10048 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10049 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10050
f67bfbcf
LL
100512013-03-28 Leo Liu <sdl.web@gmail.com>
10052
10053 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10054
b59f639d
EZ
100552013-03-27 Eli Zaretskii <eliz@gnu.org>
10056
10057 * facemenu.el (list-colors-callback): New defvar.
10058 (list-colors-redisplay): New function.
10059 (list-colors-display): Install list-colors-redisplay as the
10060 revert-buffer-function. (Bug#14063)
10061
f557c1b1
SM
100622013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10063
b1da2957
SM
10064 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10065 and suffixes don't overlap (bug#14061).
10066
f557c1b1
SM
10067 * case-table.el: Use lexical-binding.
10068 (case-table-get-table): New function.
10069 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10070
002668e1
TZ
100712013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10072
10073 * progmodes/subword.el: Add `superword-mode' to do word motion
10074 over symbol_words (parallels and leverages `subword-mode' which
10075 does word motion inside MixedCaseWords).
10076
73572c72
AG
100772013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10078
78b8f320 10079 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10080 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10081
69b2c07e
SM
100822013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10085 Change return value to be a sexp. Delay `get-buffer' to after
10086 restoring the desktop (bug#13951).
10087
08bb5ee2
LL
100882013-03-26 Leo Liu <sdl.web@gmail.com>
10089
10090 * register.el: Move semantic tag handling back to
10091 cedet/semantic/senator.el. (Bug#14052)
10092
8d4c974e
SM
100932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10096 into the prompt either (bug#13963).
10097
b234d92c
SM
100982013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10101 part of "(error-foo)".
10102
ddfa3cb4
JL
101032013-03-24 Juri Linkov <juri@jurta.org>
10104
10105 * replace.el (list-matching-lines-prefix-face): New defcustom.
10106 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10107 `occur-engine' if `face-differs-from-default-p' returns t.
10108 (occur-engine): Add `,' inside backquote construct to evaluate
10109 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10110 Pass `prefix-face' to the functions `occur-context-lines' and
10111 `occur-engine-add-prefix'.
10112 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10113 `prefix-face' and propertize the prefix with `prefix-face'.
10114 (Bug#14017)
10115
7b0e2f85
LL
101162013-03-24 Leo Liu <sdl.web@gmail.com>
10117
10118 * nxml/rng-valid.el (rng-validate-while-idle)
10119 (rng-validate-quick-while-idle): Guard against deleted buffer.
10120 (Bug#13999)
10121
10122 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10123 is the last entry in kill-buffer-hook.
10124
10125 * files.el (kill-buffer-hook): Doc fix.
10126
b3082f49
DG
101272013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10128
b234d92c
SM
10129 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10130 Make it safe-local.
bde73d27 10131
b3082f49
DG
10132 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10133
a320a2db
LL
101342013-03-23 Leo Liu <sdl.web@gmail.com>
10135
7e74b0fb
LL
10136 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10137 Remove.
10138
10139 * nxml/rng-valid.el (rng-validate-mode)
10140 (rng-after-change-function, rng-do-some-validation):
10141 * nxml/rng-maint.el (rng-validate-buffer):
10142 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10143 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10144 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10145 (nxml-extend-after-change-region): Use with-silent-modifications.
10146
a320a2db
LL
10147 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10148 timer-idle-list.
10149
10150 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10151 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10152 timer-idle-list. (Bug#13999)
10153
e38e6780
JL
101542013-03-23 Juri Linkov <juri@jurta.org>
10155
10156 * info.el (info-index-match): New face.
10157 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10158 main pattern and add text properties with the new face to matches
10159 in index entries relative to the beginning of the index entry.
10160 (Bug#14015)
10161
e8cc7880
DE
101622013-03-21 Eric Ludlam <zappo@gnu.org>
10163
10164 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10165 Inhibit read only while inserting objects.
10166
9bb0d822
TZ
101672013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10168
10169 * progmodes/cfengine.el: Update docs to mention
10170 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10171 symbol motion. Remove "_" from the word syntax.
10172
aa703640
TZ
101732013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10174
10175 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10176 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10177
afff09d0
JL
101782013-03-20 Juri Linkov <juri@jurta.org>
10179
10180 * info.el (Info-next-reference-or-link)
10181 (Info-prev-reference-or-link): New functions.
10182 (Info-next-reference, Info-prev-reference): Use them.
10183 (Info-try-follow-nearest-node): Handle footnote navigation.
10184 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10185
9a1ff164
SM
101862013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10189 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10190
2667d15d
PE
101912013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10192
10193 Suppress unnecessary non-ASCII chatter during build process.
10194 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10195 (batch-skkdic-convert): Suppress most of the chatter.
10196 It's not needed so much now that machines are faster,
10197 and its non-ASCII component was confusing; see Dmitry Gutov in
10198 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10199
438b0579
LL
102002013-03-20 Leo Liu <sdl.web@gmail.com>
10201
10202 * ido.el (ido-chop): Fix bug#10994.
10203
c128ab07
DG
102042013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10205
10206 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10207 Remove vars.
9a1ff164
SM
10208 (whitespace-color-on, whitespace-color-off):
10209 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10210
0e6008c5
SM
102112013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10214 remapping in mode-line.
10215 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10216
627b52b0
DG
102172013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10218
10219 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10220 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10221 (whitespace-font-lock-keywords): Change description.
10222 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10223 the constructed keywords instead.
10224 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10225
50c3a20b
LL
102262013-03-19 Leo Liu <sdl.web@gmail.com>
10227
10228 * progmodes/compile.el (compilation-display-error): New command.
10229 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10230 C-o. (Bug#13992)
10231
2aa2157b
PE
102322013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10233
10234 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10235
e477dbfa
JD
102362013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10237
10238 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10239
64ab82d1
MA
102402013-03-18 Michael Albinus <michael.albinus@gmx.de>
10241
10242 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10243
10244 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10245 * net/tramp-gvfs.el (top):
10246 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10247 (tramp-handle-shell-command): Use it.
10248 (tramp-dissect-file-name): Raise an error when hostname is a
10249 method name, and neither method nor user is specified.
10250
10251 * net/trampver.el: Update release number.
10252
33cef733
LL
102532013-03-18 Leo Liu <sdl.web@gmail.com>
10254
10255 Make sure eldoc can be turned off properly.
10256 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10257 eldoc-mode.
10258 (eldoc-display-message-p): Revert last change.
10259 (eldoc-display-message-no-interference-p)
10260 (eldoc-print-current-symbol-info): Tweak.
10261
2167b7b2
TH
102622013-03-18 Tassilo Horn <tsdh@gnu.org>
10263
10264 * doc-view.el (doc-view-new-window-function): Check the new window
10265 overlay's display property instead the char property of the
10266 buffer's first char. Use `with-selected-window' instead of
10267 `save-window-excursion' with `select-window'.
10268 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10269 display property instead the char property of the buffer's first char.
2167b7b2 10270
982efbcd
PE
102712013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10272
10273 Automate the build of ja-dic.el (Bug#13984).
10274 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10275 from the input, rather than assume that it's been done for us by the
10276 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10277 the current date into a ja-dic.el comment, as that complicates
10278 regression testing.
10279
2fcc7665
SM
102802013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 * whitespace.el: Fix double evaluation.
10283 (whitespace-space, whitespace-hspace, whitespace-tab)
10284 (whitespace-newline, whitespace-trailing, whitespace-line)
10285 (whitespace-space-before-tab, whitespace-indentation)
10286 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10287 obsolete defvars.
10288 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10289 (whitespace-color-on): Use a single font-lock-add-keywords call.
10290 Fix double-evaluation of face variables.
10291
67c0a6e6
MA
102922013-03-17 Michael Albinus <michael.albinus@gmx.de>
10293
2fcc7665
SM
10294 * net/tramp-adb.el (tramp-adb-parse-device-names):
10295 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10296 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10297
69489f1d
LL
102982013-03-17 Leo Liu <sdl.web@gmail.com>
10299
10300 Extend eldoc to display info in the mode-line. (Bug#13978)
10301 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10302 (eldoc-mode-line-string): New variable.
10303 (eldoc-minibuffer-message): New function.
10304 (eldoc-message-function): New variable.
10305 (eldoc-message): Use it.
10306 (eldoc-display-message-p)
2fcc7665
SM
10307 (eldoc-display-message-no-interference-p):
10308 Support eldoc-post-insert-mode.
69489f1d
LL
10309
10310 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10311 (eval-expression): Run it.
10312
9c44569e
RW
103132013-03-17 Roland Winkler <winkler@gnu.org>
10314
10315 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10316 strings in the list of return values.
10317
327f1f6f
JB
103182013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10319
10320 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10321 radix before checking for HMS forms.
10322
67ed8fcd
LL
103232013-03-16 Leo Liu <sdl.web@gmail.com>
10324
10325 * progmodes/scheme.el: Add indentation and font-locking for λ.
10326 (Bug#13975)
10327
78be8b64 103282013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10329
10330 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10331 token before point (bug#13942).
10332
78be8b64 103332013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10334
95b43468 10335 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10336
98e775e6
EZ
103372013-03-16 Eli Zaretskii <eliz@gnu.org>
10338
10339 * startup.el (command-line-normalize-file-name): Fix handling of
10340 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10341 <xfq.free@gmail.com> in
10342 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10343
2edd6029
MA
103442013-03-15 Michael Albinus <michael.albinus@gmx.de>
10345
10346 Sync with Tramp 2.2.7.
10347
10348 * net/trampver.el: Update release number.
10349
d35f5864
TH
103502013-03-14 Tassilo Horn <tsdh@gnu.org>
10351
e903c210 10352 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10353 (doc-view-insert-image): Don't modify overlay associated to
10354 non-live windows, and implement horizontal centering of image in
10355 case it's smaller than the window.
10356 (doc-view-new-window-function): Force redisplay of new windows on
10357 doc-view buffers.
d35f5864 10358
1c4a85ed
KF
103592013-03-13 Karl Fogel <kfogel@red-bean.com>
10360
10361 * saveplace.el (save-place-alist-to-file): Don't sort
10362 `save-place-alist', just pretty-print it (bug#13882).
10363
85b66a21
MA
103642013-03-13 Michael Albinus <michael.albinus@gmx.de>
10365
a020afb9
JB
10366 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10367 Check whether `default-file-name-coding-system' is bound.
10368 It isn't in XEmacs.
85b66a21 10369
175600da
SM
103702013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10371
e7f7cb1a
SM
10372 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10373 backquotes for `obsolete' (bug#13929).
10374
175600da
SM
10375 * international/mule.el (find-auto-coding): Include file name in
10376 obsolescence warning (bug#13922).
10377
ca68a22e
TZ
103782013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10379
10380 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10381 for CFEngine 3-specific indentation.
10382 (cfengine3-indent-line): Use it. Fix up category regex.
10383 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10384
940e5099
SM
103852013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * type-break.el (type-break-file-name):
10388 * textmodes/remember.el (remember-data-file):
10389 * strokes.el (strokes-file):
10390 * shadowfile.el (shadow-initialize):
10391 * saveplace.el (save-place-file):
10392 * ps-bdf.el (bdf-cache-file):
10393 * progmodes/idlwave.el (idlwave-config-directory):
10394 * net/quickurl.el (quickurl-url-file):
10395 * international/kkc.el (kkc-init-file-name):
10396 * ido.el (ido-save-directory-list-file):
10397 * emulation/viper.el (viper-custom-file-name):
10398 * emulation/vip.el (vip-startup-file):
10399 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10400 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10401
cc725808
PE
104022013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10403
10404 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10405 * language/thai-word.el: Switch to UTF-8.
10406
a020afb9 10407See ChangeLog.16 for earlier changes.
e3d51b27
MR
10408
10409;; Local Variables:
10410;; coding: utf-8
e3d51b27
MR
10411;; End:
10412
ab422c4d 10413 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10414
10415 This file is part of GNU Emacs.
10416
10417 GNU Emacs is free software: you can redistribute it and/or modify
10418 it under the terms of the GNU General Public License as published by
10419 the Free Software Foundation, either version 3 of the License, or
10420 (at your option) any later version.
10421
10422 GNU Emacs is distributed in the hope that it will be useful,
10423 but WITHOUT ANY WARRANTY; without even the implied warranty of
10424 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10425 GNU General Public License for more details.
10426
10427 You should have received a copy of the GNU General Public License
10428 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.