* emacs-lisp-intro.texi (Counting Words): Don't use ':' in xref
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f345395c
HE
12013-12-02 Helmut Eller <eller.helmut@gmail.com>
2
3 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4 (debugger-mode-map): Bind it.
5 (debugger--backtrace-base): New function.
6 (debugger-eval-expression): Use it.
7 (debugger-frame-number): Skip local vars when present.
8 (debugger--locals-visible-p, debugger--insert-locals)
9 (debugger--show-locals, debugger--hide-locals): New functions.
10
a8a15d9d
MA
112013-12-02 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
14 "LC_ALL".
15 (tramp-get-remote-locale): New defun.
16 (tramp-open-connection-setup-interactive-shell): Use it.
17
0518b057
LL
182013-12-02 Leo Liu <sdl.web@gmail.com>
19
20 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
21
22 * progmodes/sh-script.el (sh-shell-process):
23 * progmodes/octave.el (inferior-octave-process-live-p):
24 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
25 (gdb-inferior-io-sentinel):
26 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
27
3adc9c6d
DG
282013-12-02 Dmitry Gutov <dgutov@yandex.ru>
29
30 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
31 `save-selected-window' to `log-edit-hide-buf'. This makes
32 `log-edit-show-files' idempotent.
33 (log-edit-show-files): Mark the new window as dedicated.
34
47e8b74e
DG
352013-12-02 Dmitry Gutov <dgutov@yandex.ru>
36
37 * vc/log-edit.el (log-edit-mode-map): Add binding for
38 `log-edit-kill-biffer'.
39 (log-edit-hide-buf): Add a FIXME comment.
40 (log-edit-add-new-comment): New function, extracted from
41 `log-edit-done'.
42 (log-edit-done, log-edit-add-to-changelog): Use it.
43 (log-edit-kill-buffer): New command.
44
1f6e1bb0
LMI
452013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
46
47 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
48 instead of killing the buffer.
49
fb651d15
SM
502013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
53
8feacce0
RS
542013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
55
fb651d15 56 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 57 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
58 (eww-form-checkbox, eww-toggle-checkbox):
59 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
60
61 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
62 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
63 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
64 no :src tag was specified.
65
fb651d15 66 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
67 (eww-render): Handle `eww-use-external-browser-for-content-type'.
68 Use \\` to match beginning of string instead of ^.
69 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 70 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 71
177948a5
RS
72 * net/shr.el (shr-tag-video): Display content for video if no
73 poster is available.
eb2dd24d 74 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
75
76 * net/eww.el (eww-text-input-types): : New const.
77 (eww-process-text-input): Treat input types in
78 `eww-text-input-types' as text.
79
8feacce0
RS
80 * net/shr.el (shr-tag-table): Fix comment typo.
81
513562a1
LMI
822013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
83
84 * net/eww.el (eww-follow-link): New command to avoid reloading
85 pages when we follow #target links (bug#15243).
de8a5633 86 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 87
9dd99753
KN
882013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
89
90 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
91 forms.
92
3e9876de
LMI
932013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
94
95 * net/eww.el (eww-restore-history): Update the window title after
96 moving in the history.
ab6dea82 97 (eww-current-dom): New variable used to save the current DOM.
3e9876de 98
52789f7f
DG
992013-12-01 Dmitry Gutov <dgutov@yandex.ru>
100
101 * vc/log-edit.el (log-edit-mode-map): Add binding for
102 `log-edit-beginning-of-line'.
103 (log-edit-setup-add-author): New user option.
104 (log-edit-beginning-of-line): New command.
105 (log-edit): Move major mode call above the contents setup so that
106 the local variable values are already applied.
107 (log-edit): Only insert "Author: " when
108 `log-edit-setup-add-author' is non-nil.
109 (log-edit): When SETUP is non-nil, position point after ": "
110 instead of point-min.
111
2e6710c3
GM
1122013-12-01 Glenn Morris <rgm@gnu.org>
113
114 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
115
fadec31f
EZ
1162013-11-30 Eli Zaretskii <eliz@gnu.org>
117
118 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 119 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
120 visible. (Bug#16014)
121
10634b40 1222013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
123
124 Support resizing frames and windows pixelwise.
125 * cus-start.el (frame-resize-pixelwise)
126 (window-resize-pixelwise): New entries.
127 * emacs-lisp/debug.el (debug): Use window-total-height instead
128 of window-total-size.
129 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
130 * help.el (describe-bindings-internal): Call help-buffer
131 (temp-buffer-max-width): New option.
132 (resize-temp-buffer-window, help-window-setup)
133 (with-help-window): Rewrite.
134 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
135 dragging dividers.
136 * window.el (frame-char-size, window-min-pixel-height)
137 (window-safe-min-pixel-height, window-safe-min-pixel-width)
138 (window-min-pixel-width, window-safe-min-pixel-size)
139 (window-combination-p, window-safe-min-size)
140 (window-resizable-p, window--size-to-pixel)
141 (window--pixel-to-size, window--resize-apply-p): New functions.
142 (window-safe-min-height): Fix doc-string.
143 (window-size, window-min-size, window--min-size-1)
144 (window-sizable, window-sizable-p, window--min-delta-1)
145 (window-min-delta, window--max-delta-1, window-max-delta)
146 (window--resizable, window--resizable-p, window-resizable)
147 (window-full-height-p, window-full-width-p, window-at-side-p)
148 (window--in-direction-2, window-in-direction)
149 (window--resize-reset-1, window--resize-mini-window)
150 (window-resize, window-resize-no-error)
151 (window--resize-child-windows-normal)
152 (window--resize-child-windows, window--resize-siblings)
153 (window--resize-this-window, window--resize-root-window)
154 (window--resize-root-window-vertically)
155 (adjust-window-trailing-edge, enlarge-window, shrink-window)
156 (maximize-window, minimize-window, delete-window)
157 (quit-restore-window, window-split-min-size, split-window)
158 (balance-windows-2, balance-windows)
159 (balance-windows-area-adjust, balance-windows-area)
160 (window--state-get-1, window-state-get, window--state-put-1)
161 (window--state-put-2, window-state-put)
fb651d15
SM
162 (display-buffer-record-window, window--display-buffer):
163 Make functions handle pixelwise sizing of windows.
880e6158 164 (display-buffer--action-function-custom-type)
fb651d15
SM
165 (display-buffer-fallback-action):
166 Add display-buffer-in-previous-window.
880e6158
MR
167 (display-buffer-use-some-window): Resize window to height it had
168 before.
169 (fit-window-to-buffer-horizontally): New option.
170 (fit-frame-to-buffer): Describe new values.
171 (fit-frame-to-buffer-bottom-margin): Replace with
172 fit-frame-to-buffer-margins.
173 (window--sanitize-margin): New function.
174 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
175 using window-text-pixel-size.
176
f9b697dd
GM
1772013-11-30 Glenn Morris <rgm@gnu.org>
178
3e2fb4db
GM
179 * emacs-lisp/bytecomp.el (byte-compile-form):
180 Make the `interactive-only' warning like the `obsolete' one.
181 * comint.el (comint-run):
182 * files.el (insert-file-literally, insert-file):
183 * replace.el (replace-string, replace-regexp):
184 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
185 (goto-line, insert-buffer, next-line, previous-line):
186 Tweak `interactive-only' spec.
187
f9b697dd
GM
188 Stop keeping (most) generated cedet grammar files in the repository.
189 * Makefile.in (semantic): New.
190 (compile-main): Depend on semantic.
191
da048127
SM
1922013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
193
7784b779
SM
194 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
195 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
196
4e36a6a6
SM
197 * uniquify.el (uniquify-buffer-name-style): Change default.
198
199 * loadup.el: Preload "uniquify".
200
e0ba1308
SM
201 * time.el (display-time-update): Update all mode lines (bug#15999).
202
da048127
SM
203 * electric.el (electric-indent-mode): Enable by default.
204 * loadup.el: Preload "electric".
205
015b3b3e
BB
2062013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
207
208 * emacs-lisp/helpers.el (string-empty-p): New function.
209 (string-blank-p): New function.
210
7efb806d
AP
2112013-11-29 Andreas Politz <politza@hochschule-trier.de>
212
213 * imenu.el (imenu--index-alist): Add missing dot to the docstring
214 (Bug#14029).
215
c8f0efc2
AP
2162013-11-29 Andreas Politz <politza@fh-trier.de>
217 * imenu.el (imenu--subalist-p): Don't error on non-conses and
218 allow non-lambda lists as functions.
219 (imenu--in-alist): Don't recurse into non-subalists.
220 (imenu): Don't pass function itself as an argument (Bug#14029).
221
bd15d9d1
SM
2222013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * progmodes/python.el (python-mode-map): Remove binding for ":".
225 (python-indent-electric-colon): Remove command.
226 (python-indent-post-self-insert-function): Integrate the previous code
227 of python-indent-electric-colon. Make it conditional on
228 electric-indent-mode.
229 (python-mode): Add ?: to electric-indent-chars.
230 Move python-indent-post-self-insert-function to the end of
231 post-self-insert-hook.
232
1b10adb6
SM
2332013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
234
655ab9a3
SM
235 * doc-view.el (doc-view-goto-page): Update mode-line.
236
1b10adb6
SM
237 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
238
7e3bf78c
GM
2392013-11-27 Glenn Morris <rgm@gnu.org>
240
241 * international/charprop.el, international/uni-bidi.el:
242 * international/uni-category.el, international/uni-combining.el:
243 * international/uni-comment.el, international/uni-decimal.el:
244 * international/uni-decomposition.el, international/uni-digit.el:
245 * international/uni-lowercase.el, international/uni-mirrored.el:
246 * international/uni-name.el, international/uni-numeric.el:
247 * international/uni-old-name.el, international/uni-titlecase.el:
248 * international/uni-uppercase.el:
249 Remove generated files from VCS repository.
250
fb6a5d68
EZ
2512013-11-27 Eli Zaretskii <eliz@gnu.org>
252
253 * filenotify.el (file-notify-add-watch): Don't special-case
254 w32notify when computing the directory to watch.
255
cb6c95a3
GM
2562013-11-27 Glenn Morris <rgm@gnu.org>
257
20372d0c
GM
258 Make bootstrap without generated uni-*.el files possible again.
259 * loadup.el: Update command-line-args checking for unidata-gen.
260 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
261 * composite.el, international/characters.el:
262 Handle unicode tables being undefined.
263
52d6635f 264 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
265 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
266 (compile-main): Depend on leim rule.
267 (leim): New rule.
268 * loadup.el: Move leim-list.el to leim/ subdirectory.
269 * startup.el (normal-top-level): No more leim directory.
270 * international/ja-dic-cnv.el (skkdic-convert):
271 Disable version-control and autoloads in output files.
272 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
273 Disable version-control and autoloads in output files.
274 * leim/quail: Move here from ../leim.
275 * leim/quail/hangul.el (hangul-input-method-activate):
276 Add autoload cookie.
277 (generated-autoload-load-name): Set file-local value.
278 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
279 (generated-autoload-load-name): Set file-local value.
280
0449d6cd 2812013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
282
283 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
284 (eww-add-bookmark): ask confirmation when add to bookmarks
285 (eww-quit): ask confirmation before quitting eww
286
0e2c793f
EZ
2872013-11-26 Eli Zaretskii <eliz@gnu.org>
288
289 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
290 reading output from Diff on MS-Windows and MS-DOS.
291
447bdcb8
BB
2922013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
293
294 * emacs-lisp/helpers.el (string-reverse): New function.
295
5fbf6856
MA
2962013-11-26 Michael Albinus <michael.albinus@gmx.de>
297
298 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
299 names on MS Windows, like "/[::1]:".
300
301 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
302 SWITCHES.
303
624780f0
GM
3042013-11-26 Glenn Morris <rgm@gnu.org>
305
0bf3f0fa
GM
306 * progmodes/python.el (python-indent-guess-indent-offset):
307 Avoid corner-case error. (Bug#15975)
308
624780f0
GM
309 Preload leim-list.el. (Bug#4789)
310 * loadup.el: Load leim-list.el when found.
311 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
312
4301875e 3132013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
314
315 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
316
4301875e
BB
317 * emacs-lisp/helpers.el (string-join): New function.
318
1633a815 3192013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
320
321 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
322 Mark as obsolete and replace it with a symbol property.
323 (byte-compile-form): Use new 'interactive-only property.
324 * comint.el, files.el, replace.el, simple.el:
325 Apply new 'interactive-only properly.
326
00139435
MR
3272013-11-25 Martin Rudalics <rudalics@gmx.at>
328
329 * window.el (display-buffer-at-bottom): Make sure that
330 split-window-sensibly creates the new window on bottom
331 (Bug#15961).
332
5f5b128d
DK
3332013-11-23 David Kastrup <dak@gnu.org>
334
335 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
336 on the conflict markers when available.
337 (smerge--get-marker): New function.
338 (smerge-end-re, smerge-base-re): Add subgroup.
339
623891e5
SM
3402013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * frame.el (handle-focus-in, handle-focus-out): Add missing
343 interactive spec.
344
05ca27d8
MA
3452013-11-25 Michael Albinus <michael.albinus@gmx.de>
346
347 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
348 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
349
511fa0d3
SM
3502013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
351
e82ad66c
SM
352 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
353 (gomoku--last-pos): New var.
354 (gomoku--intangible-chars): New const.
355 (gomoku--intangible): New function.
356 (gomoku-mode): Use it. Derive from special-mode.
357 (gomoku-move-up): Adjust line count.
358 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
359 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
360 Simplify accordingly.
361
511fa0d3
SM
362 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
363 Remove blink-cursor code.
364 (blink-cursor-timer-function, blink-cursor-suspend):
365 Don't special-case GUIs.
366 (blink-cursor-mode): Use focus-in/out-hook.
367
6f20dd03
DG
3682013-11-25 Dmitry Gutov <dgutov@yandex.ru>
369
370 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
371 work when annotation is invisible (Bug#13886).
372
431dec31 3732013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
374
375 * json.el (json-alist-p): Only return non-nil if the alist has
376 simple keys (Bug#13518).
377
431dec31 3782013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
379
380 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
381 when control-statement is the first statement in a buffer (Bug#15956).
382
ee4f0261
DG
3832013-11-24 Dmitry Gutov <dgutov@yandex.ru>
384
385 * imenu.el (imenu-generic-skip-comments-and-strings):
386 New option (Bug#15560).
387 (imenu--generic-function): Use it.
388
c484f866
JS
3892013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
390
391 * minibuffer.el (completion--in-region-1): Scroll the correct
392 window. (Bug#13898)
393
41ce6f70
BB
3942013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
395
b55aea38
BB
396 * emacs-lisp/helpers.el: Add some string helpers.
397 (string-trim-left): Removes leading whitespace.
398 (string-trim-right): Removes trailing whitespace.
399 (string-trim): Removes leading and trailing whitespace.
400
41ce6f70
BB
401 * subr.el (string-suffix-p): New function.
402
3cfb6af3
GM
4032013-11-23 Glenn Morris <rgm@gnu.org>
404
405 * progmodes/python.el (python-shell-send-file):
406 Add option to delete file when done. (Bug#15647)
407 (python-shell-send-string, python-shell-send-region): Use it.
408
c27924b7
IS
4092013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
410
e1b01c7f
IS
411 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
412 to set buffer-read-only to t, never to nil. (Bug#15938)
413
c27924b7
IS
414 * textmodes/tex-mode.el (latex-noindent-environments):
415 Add safe-local-variable property. (Bug#15936)
416
17e0445b
GM
4172013-11-23 Glenn Morris <rgm@gnu.org>
418
92f78ea3
GM
419 * textmodes/enriched.el (enriched-mode): Doc fix.
420 * emacs-lisp/authors.el (authors-renamed-files-alist):
421 Add enriched.doc -> enriched.txt.
422
17e0445b
GM
423 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
424
965bb23a
LL
4252013-11-22 Leo Liu <sdl.web@gmail.com>
426
427 * progmodes/octave.el (inferior-octave-startup): Spit out error
428 message.
429
d19ffd64
BB
4302013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
431
432 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
433 Improve docstring.
15ba2182
BB
434 Add :version.
435 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 436
7a7567d2
LL
4372013-11-22 Leo Liu <sdl.web@gmail.com>
438
439 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
440 (Bug#15076)
8c09f64b
LL
441 (octave-help-mode): Adapt to change to help-mode-finish to use
442 derived-mode-p on 2013-09-17.
443 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 444 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 445
724bc265
LL
4462013-11-22 Leo Liu <sdl.web@gmail.com>
447
448 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
449 (inferior-octave-startup, inferior-octave-check-process)
450 (inferior-octave-track-window-width-change)
451 (octave-completion-at-point, octave-eldoc-function): Use it.
452 (octave-kill-process): Provide confirmation. (Bug#10564)
453
38637cca
LL
4542013-11-21 Leo Liu <sdl.web@gmail.com>
455
511fa0d3
SM
456 * progmodes/octave.el (octave-mode, inferior-octave-mode):
457 Fix obsolete variable comment-use-global-state.
38637cca 458
06e752b4
RS
4592013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
460
511fa0d3
SM
461 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
462 Add `octave-source-file'.
06e752b4
RS
463 (octave-source-file): New function. (Bug#15935)
464
0449d6cd 4652013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
466
467 * net/eww.el (eww-local-regex): New variable.
468 (eww): Use it to detect localhost and similar.
469
b6ffa04a
LL
4702013-11-21 Leo Liu <sdl.web@gmail.com>
471
472 Add completion for command `ag'.
2021a200
LL
473 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
474 (pcomplete/ag): New function.
475 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 476
d1a6bccc
SM
4772013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
480 (bug#14646).
481 (make-obsolete): Remove interactive spec.
482
2df10228
GM
4832013-11-21 Glenn Morris <rgm@gnu.org>
484
485 * startup.el (command-line-1): Use path-separator with -L.
486
86fd16b6
TZ
4872013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
488
489 * emacs-lisp/package.el (describe-package-1): Add package archive
490 to shown fields.
491
0449d6cd 4922013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
493
494 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
495 Change default to "# encoding: %s" to differentiate it from the
496 default Ruby encoding comment template.
497
dc7e8c17 4982013-11-20 era eriksson <era+emacsbugs@iki.fi>
499
500 * ses.el (ses-mode): Doc fix. (Bug#14748)
501
f0cfa5fe
LL
5022013-11-20 Leo Liu <sdl.web@gmail.com>
503
504 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
505
826dc7b6
DN
5062013-11-19 Dan Nicolaescu <dann@gnu.org>
507
508 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
509 when rebase or bisect are in progress.
510
a6e3a5d5
XF
5112013-11-19 Xue Fuqiao <xfq.free@gmail.com>
512
513 * filenotify.el (file-notify-add-watch): Doc fix.
514
f130cb76
LL
5152013-11-19 Leo Liu <sdl.web@gmail.com>
516
e0855d7d
LL
517 * obsolete/rcompile.el: Mark obsolete.
518
f130cb76 519 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
520 (compilation-goto-locus, compilation-find-file):
521 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
522 (Bug#13594)
523
524 * window.el (display-buffer-alist, display-buffer): Document the
525 new parameter no-display-ok.
526
1f35d401
SM
5272013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
528
25158c76
SM
529 * electric.el (electric-indent-mode-map): Remove.
530 (electric-indent-mode): Change the global-map instead (bug#15915).
531
532 * textmodes/text-mode.el (paragraph-indent-minor-mode):
533 Use add-function.
1f35d401 534
9bc67baa
SM
5352013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
536
986545b5
SM
537 * emacs-lisp/nadvice.el (remove-function): Align with
538 add-function's behavior.
539
9bc67baa
SM
540 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
541 (gdb--string-regexp): New constant.
542 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
543 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
544 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
545 submatch 1.
546 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
547 Adjust use accordingly.
548 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
549
56cd894e
AS
5502013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
551
552 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
553 interpolation curlies (Bug#15914).
554
014690de
JB
5552013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
556
557 * calc/calc.el (calc-context-sensitive-enter): New variable.
558 (calc-enter): Use `calc-context-sensitive-enter'.
559
7e26a6c3
TZ
5602013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
561
562 * progmodes/cfengine.el: Version bump.
563 (cfengine-cf-promises): New defcustom to locate cf-promises.
564 (cfengine3-vartypes): Add new "data" type.
565 (cfengine3--current-word): New function to get current name-like
566 word or its bounds.
567 (cfengine3--current-function): New function to look up a CFEngine
568 function's definition.
569 (cfengine3-format-function-docstring): New function.
570 (cfengine3-make-syntax-cache): New function.
571 (cfengine3-documentation-function): New function: ElDoc glue.
572 (cfengine3-completion-function): New function: completion glue.
573 (cfengine3-mode): Set `compile-command',
574 `eldoc-documentation-function', and add to
575 `completion-at-point-functions'.
576
355204dd
MA
5772013-11-16 Michael Albinus <michael.albinus@gmx.de>
578
579 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
580 `tramp-current-connection'.
581
43cebc23
DG
5822013-11-15 Dmitry Gutov <dgutov@yandex.ru>
583
584 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
585 nil/self/true/false with "end of symbol".
586
a3fed6ff
BB
5872013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
588
589 * subr.el (version-regexp-alist): Fix a typo.
590
e675b3e4
MA
5912013-11-15 Michael Albinus <michael.albinus@gmx.de>
592
593 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
594 "en_US.utf8" and "LC_CTYPE" to "".
595 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
596 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
597
a1f03e89
LL
5982013-11-15 Leo Liu <sdl.web@gmail.com>
599
600 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
601
5d9d9451
SM
6022013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
603
58362662
CS
604 * progmodes/gud.el (ctl-x-map):
605 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
606 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
607
6c1bf086
BB
6082013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
609
0d5363c4
BB
610 * subr.el (version-regexp-alist):
611 Recognize hg, svn and darcs versions as snapshot versions.
612
4e9fc48c
BB
613 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
614 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
615 (ruby--encoding-comment-required-p): Extract from
616 `ruby-mode-set-encoding'.
617 (ruby-mode-set-encoding): Add the ability to always insert an
618 utf-8 encoding comment. Fix and simplify coding comment update
619 logic.
6c1bf086 620
2f7e72f8
MA
6212013-11-14 Michael Albinus <michael.albinus@gmx.de>
622
623 * net/tramp-gvfs.el (top): Run init code only when
624 `tramp-gvfs-enabled' is not nil.
625 (tramp-gvfs-enabled): Check also :system bus.
626
0f137a73
SM
6272013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 Sync with upstream verilog-mode revision 78e66ba.
630 * progmodes/verilog-mode.el (verilog-end-of-defun)
631 (verilog-type-completion, verilog-get-list): Remove unused funcs.
632 (verilog-get-end-of-defun): Remove unused argument.
633 (verilog-comment-depth): Remove unused local `e'.
634 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
635 Don't pass arg to verilog-get-end-of-defun.
636
1c276bdd
GM
6372013-11-14 Glenn Morris <rgm@gnu.org>
638
639 * obsolete/assoc.el (aget): Prefix dynamic variable.
640
641 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
642
ff6ec81d
SM
6432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * widget.el, hfy-cmap.el: Remove bogus package version number.
646
75f777b6
GM
6472013-11-13 Glenn Morris <rgm@gnu.org>
648
1d43dba1
GM
649 * replace.el (replace-eval-replacement):
650 Try to give more helpful error message. (Bug#15836)
651
ff4b7bd5
GM
652 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
653 (archive-7z-update): Avoid custom type mismatches.
654
75f777b6
GM
655 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
656
11151a06
MA
6572013-11-13 Michael Albinus <michael.albinus@gmx.de>
658
e675b3e4 659 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
660 address can be empty.
661
662 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
663 Accept nil SWITCHES.
664 (tramp-gvfs-handle-write-region): Implement APPEND.
665
7b08f97e
DG
6662013-11-12 Dmitry Gutov <dgutov@yandex.ru>
667
668 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
669 binary "|" operator and closing block args delimiter.
670 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
671 (ruby-smie--implicit-semi-p): Not after "|" operator.
672 (ruby-smie--closing-pipe-p): New function.
673 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
674 (ruby-smie-rules): Indent after "|".
675
f201cf3a
GM
6762013-11-12 Glenn Morris <rgm@gnu.org>
677
678 * ps-print.el (ps-face-attribute-list):
679 Handle anonymous faces. (Bug#15827)
680
e6f759f9
MR
6812013-11-12 Martin Rudalics <rudalics@gmx.at>
682
683 * window.el (display-buffer-other-frame): Fix doc-string.
684 (Bug#15868)
685
ecda65d4
SM
6862013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * subr.el (force-mode-line-update): Delete, move to buffer.c.
689
7ce8fcc3
MA
6902013-11-11 Michael Albinus <michael.albinus@gmx.de>
691
692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
693 (tramp-sh-handle-file-local-copy): Don't write a message when
694 saving temporary files.
695
696 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
697 both directories are remote.
698 (tramp-smb-handle-directory-files): Do not return double entries.
699 Do not expand full file names.
700 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
701 (tramp-smb-handle-write-region): Implement APPEND.
702 (tramp-smb-get-stat-capability): Fix a stupid bug.
703
7818df11
SM
7042013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
707
608c2085
NT
7082013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
709
710 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
711 throwing error over malformed let/let* (bug#15814).
712
122a7e46
SM
7132013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * iswitchb.el (iswitchb-mode): Mark obsolete.
716
766284d9
GM
7172013-11-11 Glenn Morris <rgm@gnu.org>
718
719 * international/uni-bidi.el, international/uni-category.el:
720 * international/uni-name.el, international/uni-numeric.el:
721 Regenerate for Unicode 6.3.0.
722
7072a4e9
MA
7232013-11-10 Michael Albinus <michael.albinus@gmx.de>
724
725 * net/tramp.el (tramp-methods):
726 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
727 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
728
c9df215b
AS
7292013-11-09 Andreas Schwab <schwab@linux-m68k.org>
730
608c2085
NT
731 * progmodes/sh-script.el (sh-font-lock-keywords-var):
732 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 733
fa47d796
DG
7342013-11-09 Dmitry Gutov <dgutov@yandex.ru>
735
736 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 737 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
738 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
739 (ispell-complete-word): Call `ispell-lookup-words' with the value
740 independent of `ispell-look-p'.
741
1629a329
DG
7422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
745 Not after "||".
746 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
747 their parent.
748
ad16897c
SM
7492013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
752 (ruby-font-lock-keywords): Use backquote.
753
ffa2df72
DG
7542013-11-08 Dmitry Gutov <dgutov@yandex.ru>
755
756 * progmodes/ruby-mode.el (ruby-smie--forward-token)
757 (ruby-smie--backward-token): Only consider full-string matches.
758
5b97b4c0
JD
7592013-11-08 Jan Djärv <jan.h.d@swipnet.se>
760
761 * faces.el (describe-face): Add distant-foreground.
762
71731c03
BB
7632013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
764
4e9fc48c
BB
765 * progmodes/ruby-mode.el: Improve encoding comment handling.
766 (ruby-encoding-magic-comment-style): New option.
767 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
768 (ruby--insert-coding-comment, ruby--detect-encoding):
769 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
770 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
771 to control the style of the auto-inserted encoding comment.
71731c03 772
da3b328d
DG
7732013-11-08 Dmitry Gutov <dgutov@yandex.ru>
774
ad16897c
SM
775 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
776 Use `smie-backward-sexp' with token argument.
da3b328d 777
1606c2d3
MA
7782013-11-08 Michael Albinus <michael.albinus@gmx.de>
779
780 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
781 Remove instrumentation code.
782
b0f4c320
GM
7832013-11-08 Glenn Morris <rgm@gnu.org>
784
785 * progmodes/autoconf.el (autoconf-mode):
786 Tweak comment-start-skip. (Bug#15822)
787
43668fb1
SM
7882013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
791 at bobp (bug#15826).
792 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
793
daddb3fd
DH
7942013-11-08 Darren Hoo <darren.hoo@gmail.com>
795
796 * man.el (Man-start-calling): New macro, extracted from
797 Man-getpage-in-background.
798 (Man-getpage-in-background): Use it.
799 (Man-update-manpage): New command.
800 (Man-mode-map): Bind it.
801
1f923923
DG
8022013-11-08 Dmitry Gutov <dgutov@yandex.ru>
803
804 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
805 of "and", "or", "&&" and "||".
806 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
807 argument. Prohibit opening curly brace because it could only be a
808 block opener in that position.
daddb3fd
DH
809 (ruby-smie--forward-token, ruby-smie--backward-token):
810 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
811 arguments.
812 (ruby-smie--indent-to-stmt): New function, seeks the end of
813 previous statement or beginning of buffer.
814 (ruby-smie-rules): Use it.
815 (ruby-smie-rules): Check if there's a ":" before a curly block
816 opener candidate; if there is, it's a hash.
817
3220d527
SM
8182013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
821 (cl--block-wrapper): Fix last accidental change.
822
1eb1f9e0
MA
8232013-11-07 Michael Albinus <michael.albinus@gmx.de>
824
825 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
826 Instrument, in order to hunt failure on hydra.
827
e6e4db3c
NT
8282013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
829
830 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
831 malformed bindings form (bug#15814).
832
b420ccfc
DG
8332013-11-07 Dmitry Gutov <dgutov@yandex.ru>
834
835 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
836 "." compared to " @ ". This incidentally fixes some indentation
837 examples with "do".
e6e4db3c 838 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
839 (ruby-smie-grammar): New tokens: "and" and "or".
840 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
841 Exclude "and" and "or". Remove "do" in order to work around token
842 priorities.
843 (ruby-smie-rules): Add all infix tokens. Handle the case of
844 beginning-of-buffer.
b420ccfc 845
6b4ac03e
GM
8462013-11-06 Glenn Morris <rgm@gnu.org>
847
848 * Makefile.in (setwins_almost, setwins_for_subdirs):
849 Avoid accidental matches.
850
5ca114d1
SM
8512013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * menu-bar.el (popup-menu): Use key-binding.
854
f72552bd
EZ
8552013-11-06 Eli Zaretskii <eliz@gnu.org>
856
857 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
858 menus, support also the menus produced by minor modes.
859 (Bug#15817)
860
5d5c701e
LL
8612013-11-06 Leo Liu <sdl.web@gmail.com>
862
863 * thingatpt.el (thing-at-point-looking-at): Add optional arg
864 DISTANCE to bound the search. All uses changed. (Bug#15808)
865
0a8b75e2
GM
8662013-11-06 Glenn Morris <rgm@gnu.org>
867
868 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
869 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
870 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 871
a35287ea
SM
8722013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
873
feca4e2d
SM
874 * electric.el (electric-indent-just-newline): New command.
875 (electric-indent-mode-map): New keymap.
876 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
877 Re-add :group which weren't redundant.
878
a35287ea
SM
879 * electric.el (electric-indent-local-mode): New minor mode.
880 (electric-indent-functions-without-reindent): New var.
881 (electric-indent-post-self-insert-function): Use it.
882 * emacs-lisp/gv.el (buffer-local-value): Add setter.
883
375761b2
EZ
8842013-11-05 Eli Zaretskii <eliz@gnu.org>
885
9a6ad735
EZ
886 * international/quail.el (quail-help): Be more explicit about the
887 meaning of the labels shown on the keys. (Bug#15800)
888
375761b2
EZ
889 * startup.el (normal-top-level): Load the subdirs.el files before
890 setting the locale environment. (Bug#15805)
891
520a6e4a
SM
8922013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
893
0acfafef
SM
894 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
895 via arguments so as to get the right ones (bug#15418).
896
520a6e4a
SM
897 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
898
15826261
MA
8992013-11-05 Michael Albinus <michael.albinus@gmx.de>
900
901 Fix problems found while writing a test suite.
902
903 * net/tramp-compat.el (tramp-compat-load): New defun.
904 * net/tramp.el (tramp-handle-load): Use it.
905
906 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
907 "(numberp ok-if-already-exists)" correctly.
908
d35f31a4
XF
9092013-11-05 Xue Fuqiao <xfq.free@gmail.com>
910
911 * international/characters.el (glyphless-char-display-control):
912 Add usage note.
913
ae93bc74
BB
9142013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
915
520a6e4a
SM
916 * progmodes/python.el (python-mode):
917 * progmodes/scheme.el (scheme-mode):
918 * progmodes/prolog.el (prolog-mode):
919 * progmodes/ruby-mode.el (ruby-mode):
920 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
921 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 922
0ade65b5
SM
9232013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
924
a0d5f7a4
SM
925 * rect.el (rectangle--highlight-for-redisplay):
926 * emacs-lisp/smie.el (smie--next-indent-change):
927 Use buffer-chars-modified-tick.
928
c93f3f5c
SM
929 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
930
0ade65b5
SM
931 * electric.el (electric-indent-post-self-insert-function):
932 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
933
ef9dd188
HE
9342013-11-04 Helmut Eller <eller.helmut@gmail.com>
935
936 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
937
306e7308
NT
9382013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
939
940 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
941 (bug#15786).
942
e5afbcac
SM
9432013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
944
1d01ad41
SM
945 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
946
e5afbcac
SM
947 * progmodes/python.el: Fix up last change.
948 (python-shell--save-temp-file): New function.
949 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
950 `string' comes from the current buffer.
951 (python-shell-send-string-no-output): Remove `msg' arg.
952 (python--use-fake-loc): New var.
953 (python-shell-buffer-substring): Obey it. Try to compensate for the
954 extra coding line added by python-shell--save-temp-file.
955 (python-shell-send-region): Use python-shell--save-temp-file and
956 python-shell-send-file directly. Add `nomain' argument.
957 (python-shell-send-buffer): Use python-shell-send-region.
958 (python-electric-pair-string-delimiter): New function.
959 (python-mode): Use it.
960
d0065ff1
EZ
9612013-11-04 Eli Zaretskii <eliz@gnu.org>
962
963 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
964 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
965 environment and decoding all of the default-directory's to here
966 from command-line.
967 (command-line): Decode also argv[0].
968
969 * loadup.el: Error out if default-directory is a multibyte string
970 when we are dumping.
971
972 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
973
7397c587
TZ
9742013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
975
976 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
977 (package-menu--print-info, package-menu--archive-predicate):
978 Add Archive column to package list.
7397c587 979
b27cc9fc
MA
9802013-11-04 Michael Albinus <michael.albinus@gmx.de>
981
982 Fix problems found while writing a test suite.
983
984 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
985 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
986 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
987 to nil when running original file name handler. Otherwise,
988 there are problems with constructs like "$$FOO".
989
990 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
991 for `localname'.
992
d8c4f18a
BB
9932013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
994
7b530552
BB
995 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
996
997 * subr.el (version<, version<=, version=):
998 Update docstrings with information for snapshot versions.
999
d8c4f18a
BB
1000 * helpers.el: New library for misc helper functions.
1001 (hash-table-keys): New function returning a list of hash keys.
1002 (hash-table-values): New function returning a list of hash values.
1003
dca01b09
DG
10042013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1005
1006 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1007 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1008
0a749fa0
MN
10092013-11-04 Michal Nazarewicz <mina86@mina86.com>
1010
1011 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1012 checking whether point is after a 1-letter word.
1013
10142013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1015
1016 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1017 Don't infloop when expanding region over `multiline' syntax-type that
1018 begins a line (bug#15778).
1019
4aca7145
SM
10202013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1023 Make it into a proper minor mode.
1024 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1025 (rectangle-mark-mode-map): New keymap.
1026 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1027
a0833f62
GM
10282013-11-04 Glenn Morris <rgm@gnu.org>
1029
1030 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1031
e61845c1
SM
10322013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1035 (ruby-smie-rules): Use smie-rule-parent instead.
1036
1037 * emacs-lisp/smie.el (smie-rule-parent): Always call
1038 smie-indent-virtual rather than only for hanging tokens.
1039 (smie--next-indent-change): New helper command.
1040
62942f89
GM
10412013-11-03 Glenn Morris <rgm@gnu.org>
1042
1043 * Makefile.in (abs_srcdir): Remove.
1044 (emacs): Unset EMACSLOADPATH.
1045
b0b9e592
GM
10462013-11-02 Glenn Morris <rgm@gnu.org>
1047
18ba6a33 1048 * Makefile.in (EMACS): Use a relative filename.
8061810d 1049 (abs_top_builddir): Remove.
18ba6a33
GM
1050 (custom-deps, finder-data, autoloads): Use --chdir.
1051
6a8b929e
GM
1052 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1053
c617f3d0
GM
1054 Use relative filenames in TAGS files.
1055 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1056 (lisptagsfiles4, TAGS): Use relative file names.
1057 (TAGS-LISP): Remove.
1058 (maintainer-clean): No more TAGS-LISP file.
1059
b0b9e592
GM
1060 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1061 (lisptagsfiles4): Use absolute filenames again.
1062 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1063 Remove all *loaddefs files, not just the first. Remove esh-groups.
1064 (maintainer-clean): Delete TAGS, TAGS-LISP.
1065
d1c0ea6a
BB
10662013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1067
e61845c1
SM
1068 * emacs-lisp/package.el (package-version-join):
1069 Recognize snapshot versions.
d1c0ea6a 1070
684d71c6
BB
10712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1072
1073 * subr.el (version-regexp-alist): Add support for snapshot versions.
1074
3d42b968
DG
10752013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1076
e61845c1
SM
1077 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1078 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1079 skip over our direct parent if it's an assignment token..
1080 (ruby-smie-rules): Use it.
1081
7ffd3721
DG
10822013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1085 unconditionally. Remove now unnecessary forward declarations.
1086 Remove XEmacs-specific setup.
1087 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1088 (ruby-font-lock-syntactic-keywords)
1089 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1090 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1091 (ruby-here-doc-end-syntax): Remove.
1092 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1093 defined as function.
1094
a3996a2e
BB
10952013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1096
1097 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1098
6f9260e8
BB
10992013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1100
1101 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1102 table and abbrev table, `define-derived-mode' does that for us
1103 anyway.
1104
6014de84
GM
11052013-11-01 Glenn Morris <rgm@gnu.org>
1106
1107 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1108 files is atomic for some time, so no parallel compilation issues).
1109
3c334c14
JD
11102013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1111
1112 * faces.el (face-x-resources): Add :distant-foreground.
1113 (region): Use :distant-foreground for gtk and ns.
1114
9bc236c8
TH
11152013-11-01 Tassilo Horn <tsdh@gnu.org>
1116
5246583b 1117 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1118 BibTeX.
1119 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1120 (reftex-locate-bibliography-files): Us it.
1121
d14c81ee
CB
11222013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1123
0e7690de
CB
1124 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1125 allow comments in pbm files.
1126
d14c81ee
CB
1127 * term/w32-win.el (dynamic-library-alist): Support newer versions
1128 of libjpeg starting with v7: look only for the DLL from the
1129 version against which Emacs was built.
ac1bf374 1130 Support versions of libpng beyond 1.4.x.
019c8218 1131 Support libtiff v4.x.
d14c81ee 1132
983d0df5
BB
11332013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1134
1135 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1136 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1137 Add property :safe.
1138 (ruby-deep-arglist): Add property :type.
1139
47f58d85
GM
11402013-10-31 Glenn Morris <rgm@gnu.org>
1141
1142 * Makefile.in (custom-deps, finder-data): No need to setq the target
1143 variables, we are in the right directory and the defaults work fine.
1144
4f85b479
GM
11452013-10-30 Glenn Morris <rgm@gnu.org>
1146
ca7dd4cd
GM
1147 * Makefile.in (autoloads): Do not use abs_lisp.
1148
4f85b479
GM
1149 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1150 `newline' does not respect `standard-output', so use `princ'.
1151
cf59e41c
AA
11522013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1153
1154 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1155 * buff-menu.el (Buffer-menu--unmark): New function.
1156 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1157
74cf04fb
GM
11582013-10-30 Glenn Morris <rgm@gnu.org>
1159
b040b60e
GM
1160 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1161
f53d3815
GM
1162 * emacs-lisp/package.el (lm-homepage): Declare.
1163
5413d873
GM
1164 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1165 Fix doc typos.
1166
cecedb36
GM
1167 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1168
74cf04fb
GM
1169 * Makefile.in (finder-data, autoloads, update-subdirs)
1170 (compile-main, compile-clean, compile-always, bootstrap-clean):
1171 Check return value of cd.
1172 (compile-calc): Remove.
1173
195ee2f0
SM
11742013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1175
ae4002ce
SM
1176 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1177
1178 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1179 (byte-compile-and-folded): New function.
1180 (=, <, >, <=, >=): Use it.
1181
1182 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1183 (path-separator, null-device, buffer-file-coding-system)
1184 (lpr-headers-switches): Check system-type before modifying them.
1185 (find-buffer-file-type-coding-system): Mark obsolete.
1186 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1187 find-file-not-found-set-buffer-file-coding-system.
1188 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1189 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1190 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1191 (w32-direct-print-region-helper, w32-direct-print-region-function)
1192 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1193 * startup.el (normal-top-level-add-subdirs-to-load-path):
1194 * ps-print.el (ps-print-region-function):
1195 * lpr.el (print-region-function): Use new name.
1196
53b39e89
SM
1197 * subr.el (custom-declare-variable-early): Remove function.
1198 (custom-declare-variable-list): Remove var.
1199 (error, user-error): Remove `while' loop.
1200 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1201 (user-emacs-directory-warning, locate-user-emacs-file):
1202 Move to files.el.
1203 * simple.el (read-quoted-char-radix, read-quoted-char):
1204 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1205 Move from subr.el.
1206 * custom.el (custom-declare-variable-list): Don't process
1207 custom-declare-variable-list.
1208
195ee2f0
SM
1209 * progmodes/python.el (python-shell-get-buffer): New function.
1210 (python-shell-get-process): Use it.
1211 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1212 Python which encoding was used. Don't split-string since we only care
1213 about the first line. Return the temp-file, if applicable.
1214 (python-shell-send-region): Tell compile.el how to turn locations in
1215 the temp-file into locations in the source buffer.
1216
7e3561ee
SM
12172013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1218
4c9797cb
SM
1219 * subr.el (undefined): Add missing behavior from the C code for
1220 unbound keys.
1221
3472b6c6
SM
1222 * rect.el: Use lexical-binding. Add new rectangular region support.
1223 (rectangle-mark): New command.
1224 (rectangle--region): New var.
1225 (deactivate-mark-hook): Reset rectangle--region.
1226 (rectangle--extract-region, rectangle--insert-for-yank)
1227 (rectangle--highlight-for-redisplay)
1228 (rectangle--unhighlight-for-redisplay): New functions.
1229 (region-extract-function, redisplay-unhighlight-region-function)
1230 (redisplay-highlight-region-function): Use them to handle
1231 rectangular region.
1232 * simple.el (region-extract-function): New var.
1233 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1234 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1235 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1236 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1237 (redisplay-unhighlight-region-function)
1238 (redisplay-highlight-region-function): New vars.
1239 (redisplay--update-region-highlight): New function.
1240 (pre-redisplay-function): Use it.
1241 (exchange-point-and-mark): Don't deactivate the mark before
1242 reactivate-it anyway.
1243 * comint.el (comint-kill-region): Remove yank-handler argument.
1244 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1245 (delete-char): Remove property, since it's now part of their
1246 default behavior.
1247 (self-insert-iso): Remove property since this command doesn't exist.
1248
7e3561ee
SM
1249 * emacs-lisp/package.el (package--download-one-archive)
1250 (describe-package-1): Don't query the user about final newline.
1251
b9bef71f
DC
12522013-10-29 Daniel Colascione <dancol@dancol.org>
1253
1254 * net/tramp.el (tramp-methods): Document new functionality.
1255 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1256 tramp-hostname-checker if method provides one instead of scanning
1257 argument list for "%h" to decide hostname acceptability.
1258
4efc33f0
MA
12592013-10-28 Michael Albinus <michael.albinus@gmx.de>
1260
1261 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1262 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1263 Handle COPY-CONTENTS. (Bug#15737)
1264
ed42a877
DU
12652013-10-28 Daiki Ueno <ueno@gnu.org>
1266
1267 * epa-file.el
7e3561ee
SM
1268 (epa-file-cache-passphrase-for-symmetric-encryption):
1269 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1270
18c9f8a2
XF
12712013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1272
7a4bc7be
XF
1273 * image.el (defimage):
1274 (image-load-path): Doc fixes.
18c9f8a2 1275
b1e8e010
AM
12762013-10-27 Alan Mackenzie <acm@muc.de>
1277
1278 Indent statements in macros following "##" correctly.
7e3561ee
SM
1279 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1280 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1281
73d40d1e 12822013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1283
1284 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1285
c8c605ac
DG
12862013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1287
1288 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1289 after `=' is probably a new expression.
1290
ca7e59d4
RS
12912013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1292
1293 * man.el (man-imenu-title): New option.
1294 (Man-mode-map): Add menu. (Bug#15722)
1295 (Man-mode): Add imenu to menu.
1296
bae91342
DG
12972013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1298
1299 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1300 specific in what the first arg can be: a non-keyword word,
1301 string/regexp/percent literal opener, opening paren, or unary
1302 operator followed directly by word.
1303
eb89dc14
SM
13042013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1307 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1308 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1309 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1310 Remove vars, they do not apply any more.
1311 (prolog-mode-abbrev-table): Remove redundant declaration.
1312 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1313 (prolog-use-smie): Remove.
1314 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1315 supported by prolog-electric-if-then-else-flag.
1316 (prolog-mode-variables, prolog-menu): Use setq-local.
1317 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1318 Remove binding to `Backspace' since this key doesn't exist anyway.
1319 Remove bindings for electric self-inserting keys.
1320 (prog-mode): Assume it's defined.
1321 (prolog-post-self-insert): New function.
1322 (prolog-mode): Use it.
1323 (prolog-indent-line, prolog-indent-level)
1324 (prolog-find-indent-of-matching-paren)
1325 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1326 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1327 (prolog-goto-next-paren, prolog-in-string-or-comment)
1328 (prolog-tokenize, prolog-inside-mline-comment)
1329 (prolog-find-start-of-mline-comment): Remove functions.
1330 (prolog-find-unmatched-paren, prolog-clause-end)
1331 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1332 (prolog-electric--if-then-else): Rename from
1333 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1334 (prolog-tokenize-searchkey): Remove const.
1335 (prolog-clause-info): Use forward-sexp.
1336 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1337 (prolog-electric-if-then-else): Remove commands.
1338 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1339 for use in post-self-insert-hook.
1340 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1341 for use in post-self-insert-hook.
1342 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1343 for use in post-self-insert-hook.
1344 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1345 adapt it for use in post-self-insert-hook.
1346
3dab0a83
MA
13472013-10-25 Michael Albinus <michael.albinus@gmx.de>
1348
1349 * emacs-lisp/ert.el (ert-run-tests-interactively):
1350 Use `completing-read'. (Bug#9756)
1351
fbfd0e1d
EZ
13522013-10-25 Eli Zaretskii <eliz@gnu.org>
1353
1354 * simple.el (line-move): Call line-move-1 instead of
1355 line-move-visual when the current window hscroll is zero, but
1356 temporary-goal-column indicates we will need to hscroll as result
1357 of the movement. (Bug#15712)
1358
963ce636
DG
13592013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1362 capitalization. Use :visible instead of :active.
1363 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1364 commands that are used with SMIE.
1365 (ruby-do-end-to-brace): Insert space after `{'.
1366
a0be396a
JA
13672013-10-25 John Anthony <john@jo.hnanthony.com>
1368
f73754c9
JA
1369 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1370
1371 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1372
f5bf77df
GM
13732013-10-25 Glenn Morris <rgm@gnu.org>
1374
1375 * vc/vc.el (vc-print-log): Don't use a working revision unless
1376 one was explicitly specified. (Bug#15322)
1377
37241f62
SM
13782013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * subr.el (add-to-list): Preserve return value in compiler-macro
1381 (bug#15692).
1382
6408a65d
RS
13832013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1384
1385 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1386 result. Ask user to retry using '-all' flag. (Bug#15701)
1387
71e3276b
SM
13882013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * emacs-lisp/smie.el: New smie-config system.
1391 (smie-config): New defcustom.
1392 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1393 (smie-config-guess, smie-config-save): New commands.
1394 (smie-config--mode-local, smie-config--buffer-local)
1395 (smie-config--trace, smie-config--modefuns): New vars.
1396 (smie-config--advice, smie-config--mode-hook)
1397 (smie-config--setter, smie-config-local, smie-config--get-trace)
1398 (smie-config--guess-value, smie-config--guess): New functions.
1399 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1400 text properties. Treat "string fence" syntax like string syntax.
1401
1402 * progmodes/sh-script.el (sh-use-smie): Change default.
1403 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1404 (sh-var-value): Simplify by CSE.
1405 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1406 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1407 is used.
1408 (sh-guess-basic-offset): Use cl-incf.
1409 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1410
60db713e
HE
14112013-10-24 Helmut Eller <eller.helmut@gmail.com>
1412
1413 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1414 (bug#15699).
1415
8b251df6
GM
14162013-10-24 Glenn Morris <rgm@gnu.org>
1417
1418 * Makefile.in (abs_top_srcdir): Remove.
1419 (update-subdirs): Use relative path to update-subdirs.
1420
6be0e22b
EZ
14212013-10-24 Eli Zaretskii <eliz@gnu.org>
1422
1423 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1424 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1425 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1426 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1427
50b5b857
MA
14282013-10-24 Michael Albinus <michael.albinus@gmx.de>
1429
1430 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1431 (ert-test-skipped): New error.
1432 (ert-skip, ert-stats-skipped): New defuns.
1433 (ert--skip-unless): New macro.
1434 (ert-test-skipped): New struct.
1435 (ert--run-test-debugger, ert-test-result-type-p)
1436 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1437 (ert--stats-set-test-and-result, ert-char-for-test-result)
1438 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1439 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1440 Handle skipped tests. (Bug#9803)
50b5b857 1441
6f317c2f
GM
14422013-10-24 Glenn Morris <rgm@gnu.org>
1443
e43817c1
GM
1444 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1445
6f317c2f
GM
1446 * Makefile.in (abs_top_srcdir): New, set by configure.
1447 (update-subdirs): Correct build-aux location.
1448
369bbf71
DG
14492013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1450
8297b2cf
DG
1451 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1452 value, whether we could auto-deduce `backend', or not.
1453
369bbf71
DG
1454 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1455 with parameters" example. Simplify the "is it block or is it
1456 hash" check, but also make it more thorough.
1457
d5f1282f
MF
14582013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1459
1460 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1461
bc4aaa31
SM
14622013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1463
03d44565
SM
1464 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1465 { if it is hanging.
1466
bc4aaa31
SM
1467 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1468 :before ";".
1469
f493ff19
JB
14702013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1471
1472 * progmodes/compile.el (compilation-directory-matcher)
1473 (compilation-page-delimiter):
1474 Support GNU Make-4.0 directory quoting. (Bug#15678)
1475
c744a3b9
LL
14762013-10-23 Leo Liu <sdl.web@gmail.com>
1477
1478 * ido.el (ido-tidy): Handle read-only text.
1479
b8e3b0a9
GM
14802013-10-23 Glenn Morris <rgm@gnu.org>
1481
1482 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1483 (emacs, compile, compile-always):
1484 Quote entities that might contain whitespace.
1485 (custom-deps, finder-data, autoloads): Use abs_lisp.
1486 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1487 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1488 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1489
ee4282cd
DG
14902013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1491
bc4aaa31
SM
1492 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1493 Use `following-char'.
7790a270 1494
ee4282cd 14952013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1496
1497 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1498 * progmodes/ruby-mode.el (ruby-smie-rules):
1499 Remove corresponding workaround. Fix indentation rule of ";" so it
1500 also applies when ";" is the parent.
1501
d40a46d7
XF
15022013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1503
1504 * frame.el (display-screens, display-pixel-height)
1505 (display-pixel-width, display-mm-width, display-backing-store)
1506 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1507 (display-visual-class, display-monitor-attributes-list):
1508 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1509
a0f143c9
MG
15102013-10-22 Michael Gauland <mikelygee@amuri.net>
1511
1512 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1513 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1514
18cacc39
DG
15152013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1516
1517 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1518 TODO. Add "." after " @ ".
1519 (ruby-smie--at-dot-call): New function. Checks if point at method
1520 call with explicit target.
1521 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1522 to the method name tokens when it precedes them.
1523 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1524 (ruby-smie-rules): Add rule for indentation before and after "."
1525 token.
1526
df74c4be
SM
15272013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1528
c6dab55f
SM
1529 * textmodes/remember.el (remember-diary-extract-entries):
1530 Avoid add-to-list.
1531
df74c4be
SM
1532 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1533 an instruction.
1534
8c1ae481
DG
15352013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1536
cfef16c0
DG
1537 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1538 (ruby-smie--implicit-semi-p): Add new operator chars.
1539
8c1ae481
DG
1540 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1541 `smie-down-list'.
1542 (ruby-smie--args-separator-p): Check that there's no newline
1543 between method call and its arguments.
1544
87756ca9
AM
15452013-10-20 Alan Mackenzie <acm@muc.de>
1546
1547 Allow comma separated lists after Java "implements".
1548
df74c4be
SM
1549 * progmodes/cc-engine.el (c-backward-over-enum-header):
1550 Parse commas.
87756ca9
AM
1551 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1552 from a "disallowed" list in enum fontification.
1553
c25f8957
JB
15542013-10-20 Johan Bockgård <bojohan@gnu.org>
1555
df74c4be 1556 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1557
c25f8957
JB
1558 * progmodes/verilog-mode.el (verilog-mode): Don't set
1559 comment-indent-function globally.
1560
aca5fcdc
JD
15612013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1562
5f161884
JD
1563 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1564 Move Info menu item creation to ns-win.el.
1565
1566 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1567 in menu bar.
1568
aca5fcdc
JD
1569 * menu-bar.el: Move GNUStep specific menus...
1570
1571 * term/ns-win.el (ns-initialize-window-system): ... to here.
1572
914b7f98
SM
15732013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * simple.el (newline): Only run post-self-insert-hook when
1576 called interactively.
1577
846ffe77
JB
15782013-10-19 Johan Bockgård <bojohan@gnu.org>
1579
1580 * icomplete.el (icomplete-with-completion-tables): Add :version.
1581
033f22dd
AM
15822013-10-19 Alan Mackenzie <acm@muc.de>
1583
1584 Fix fontification bugs with constructors and const.
1585
1586 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1587 CASE 2) Remove the check for the absence of a suffix construct
1588 after a function declaration with only types (no identifiers) in
1589 the parentheses. Also, accept a function declaration with just a
1590 type inside the parentheses, if this type can be positively
1591 recognised as such, or if a prefix keyword like "explicit" nails
1592 down the construct as a declaration.
1593
58ce0cfc
EZ
15942013-10-19 Eli Zaretskii <eliz@gnu.org>
1595
1596 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1597 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1598 the problem whereby selecting a menu item that leads to a
1599 minibuffer prompt moves the cursor out of the minibuffer window,
1600 making it hard to type at the prompt. Suggested by Stefan Monnier
1601 <monnier@iro.umontreal.ca>.
1602
50e28e7d
JD
16032013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1604
1605 * menu-bar.el: Don't make Services menu.
1606
7deed4bf
RS
16072013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1608
1609 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1610 (ffap-alist): Use ffap-c++-mode for c++-mode.
1611 (ffap-c++-path): New variable.
1612 (ffap-c++-mode): New function.
1613
7bcb455b
JVJ
16142013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1615
1616 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1617
f0ff1cd5
MA
16182013-10-18 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1621 introduced on 2013-09-08, which results in an infinite loop
1622 requesting a password.
1623
d64da4b7
GM
16242013-10-18 Glenn Morris <rgm@gnu.org>
1625
1626 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1627
ea89ff08
WS
16282013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1629
1630 Sync with upstream verilog-mode revision 1a6ecec7.
1631 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1632 (verilog-mode-release-date): Remove.
1633 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1634 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1635 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1636 (verilog-auto-tieoff-ignore-regexp)
1637 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1638 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1639 (verilog-signals-with, verilog-dir-cache-preserving)
1640 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1641 Doc fixes.
1642 (verilog-case-fold): New option, to control case folding in
1643 regexp searches, bug597.
1644 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1645 (verilog-string-match-fold, verilog-in-paren-count)
1646 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1647 (verilog-at-close-struct-p): New functions.
1648 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1649 (verilog-forward-sexp, verilog-set-auto-endcomments):
1650 (verilog-leap-to-case-head): Handle "unique0" case.
1651 (verilog-in-constraint-re): New constant.
1652 (verilog-keywords, verilog-type-font-keywords):
1653 Add some SystemVerilog 1800-2012 keywords.
1654 (verilog-label-be): Remove unimplemented argument, bug669.
1655 (verilog-batch-execute-func): When batch expanding clear
1656 create-lockfiles to prevent spurious user locks when a file ends
1657 up not changing.
1658 (verilog-calculate-indent, verilog-calc-1)
1659 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1660 (verilog-do-indent): Fix indentation of nested constraints
1661 and structures.
1662 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1663 (verilog-auto-inst-param): Use verilog-string-match-fold.
1664 (verilog-read-inst-module-matcher):
1665 Fix AUTOINST on gate primitives with #1.
1666 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1667 Reads all user-defined typed variables.
1668 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1669 (verilog-signals-matching-regexp)
1670 (verilog-signals-not-matching-regexp, verilog-auto):
1671 Respect verilog-case-fold.
1672 (verilog-diff-report): Fix line count.
1673 (verilog-auto-assign-modport): Remove unused local `modi'.
1674 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1675 better handle multidimensional arrays.
1676 Fix packed array ports misadding bit index in AUTOINST, bug637.
1677 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1678 to not double-declare existing outputs and inputs, respectively.
1679 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1680 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1681 (verilog-sk-uvm-component): New skeleton.
1682 (verilog-submit-bug-report): Add verilog-case-fold,
1683 remove verilog-mode-release-date.
1684
ef566920
BR
16852013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1686
1687 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1688 as before.
1689
29df8a0b
RT
16902013-10-18 Reuben Thomas <rrt@sc3d.org>
1691
1692 * textmodes/remember.el (remember): set buffer-offer-save in
1693 remember buffers (bug#13566).
1694
04a19a79
DC
16952013-10-18 Daniel Colascione <dancol@dancol.org>
1696
1697 When evaluating forms in ielm, direct standard output to ielm
1698 buffer. Add new ielm-return-for-effect command. Remove trailing
1699 whitespace throughout.
1700
1701 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1702 (ielm-return-for-effect): New command.
1703 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1704 (ielm-eval-input): Accept optional `for-effect' parameter.
1705 Bind `standard-output' to stream we create using
04a19a79
DC
1706 `ielm-standard-output-impl'. Suppress printing result when
1707 `for-effect'.
1708 (ielm-standard-output-impl): New function.
1709 (inferior-emacs-lisp-mode): Explain new features in documentation.
1710
4c1f03ef
MA
17112013-10-17 Michael Albinus <michael.albinus@gmx.de>
1712
1713 Code cleanup.
1714
1715 * net/tramp.el (tramp-debug-message): Do not check for connection
1716 buffer.
1717 (tramp-message): Use "vector" connection property.
1718
1719 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1720 (tramp-equal-remote, tramp-eshell-directory-change)
1721 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1722 (tramp-adb-handle-rename-file)
1723 * net/tramp-cmds.el (tramp-list-remote-buffers)
1724 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1725 * net/tramp-compat.el (tramp-compat-process-running-p)
1726 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1727 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1728 (tramp-gvfs-handle-rename-file)
1729 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1730 (tramp-set-file-uid-gid)
1731 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1732 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1733 of `file-remote-p'.
1734
1735 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1736 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1737 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1738 (tramp-gw-open-network-stream): Suppress unrelated traces.
1739
1740 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1741 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1742 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1743 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1744 connection property.
1745
1746 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1747 persistency file.
4c1f03ef
MA
1748
1749 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1750 Refactor common code. Improve debug message.
1751 (tramp-maybe-open-connection)
1752 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1753 connection buffer too early.
1754
1755 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1756 from `tramp-smb-actions-with-acl'.
1757 (tramp-smb-actions-set-acl): New defconst.
1758 (tramp-smb-handle-copy-directory)
1759 (tramp-smb-action-get-acl): New defun, renamed from
1760 `tramp-smb-action-with-acl'.
1761 (tramp-smb-action-set-acl): New defun.
1762 (tramp-smb-handle-set-file-acl): Rewrite.
1763
642eb8b6
GM
17642013-10-17 Glenn Morris <rgm@gnu.org>
1765
1766 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1767
85527ff3
SM
17682013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1769
921c1d62
SM
1770 * skeleton.el (skeleton-newline): Remove.
1771 (skeleton-internal-1): Use (insert "\n") instead.
1772
e333fb10
SM
1773 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1774 let-bindings.
1775
85527ff3
SM
1776 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1777 forward-sexp-function while we redo its job (bug#15613).
1778
c8722a97
JB
17792013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1780
1781 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1782 represented by lists.
1783
7a550bbb
GM
17842013-10-16 Glenn Morris <rgm@gnu.org>
1785
1786 * tmm.el (tmm--history): New dynamic variable.
1787 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1788
f19da8ad
MA
17892013-10-16 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1792 (tramp-smb-errors): Add error messages.
1793 (tramp-smb-actions-with-acl): New defconst.
1794 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1795 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1796 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1797 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1798 (tramp-smb-get-stat-capability): Fix tests.
1799
a24b9961
DK
18002013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1801
1802 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1803 (bug#15580).
1804
62ad85e6
GM
18052013-10-16 Glenn Morris <rgm@gnu.org>
1806
0283d6b0
GM
1807 * ansi-color.el (ansi-color-drop-regexp):
1808 Add 1J, 1K, 2K. (Bug#15617)
1809
012e2f9f
GM
1810 * files.el (hack-local-variables--warned-lexical): New.
1811 (hack-local-variables):
1812 Warn about misplaced lexical-binding. (Bug#15616)
1813
62ad85e6
GM
1814 * net/eww.el (eww-render): Always set eww-current-url,
1815 and update header line. (Bug#15622)
1816 (eww-display-html): ... Rather than just doing it here.
1817
6456c0ea
EZ
18182013-10-15 Eli Zaretskii <eliz@gnu.org>
1819
1820 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1821 menu navigations commands.
1822
c2de5588
DK
18232013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1824
1825 * progmodes/subword.el (subword-capitalize): Be careful when
1826 the search for [[:alpha:]] fails (bug#15580).
1827
ccd4a783
EZ
18282013-10-14 Eli Zaretskii <eliz@gnu.org>
1829
1830 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1831 to commands that scroll the menu.
1832
1eda1d8d
DG
18332013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1834
c2de5588
DK
1835 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1836 Handle methods ending with `?' and `!'.
1eda1d8d 1837
e70181b8
AM
18382013-10-14 Akinori MUSHA <knu@iDaemons.org>
1839
1840 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1841 `japanese-cp932' to `cp932' to fix the problem where saving a
1842 source file written in Shift_JIS twice would end up having
1843 `coding: japanese-cp932' which Ruby could not recognize.
1844 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1845 in `ruby-encoding-map'.
1846 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1847 doesn't need to be explicitly declared in magic comment.
1848 (ruby-encoding-map): Add type declaration for better customize UI.
1849
9148ee92
GM
18502013-10-13 Glenn Morris <rgm@gnu.org>
1851
a5d38e34
GM
1852 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1853 Occur buffers are read-only. http://bugs.debian.org/720775
1854
9148ee92
GM
1855 * emacs-lisp/authors.el (authors-fixed-entries):
1856 Comment out old alpha stuff.
1857
a9ba094b
DG
18582013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1861 to `after-save-hook' instead of `before-save-hook'.
1862 (ruby-mode-set-encoding): Use the value of coding system used to
1863 write the file. Call `basic-save-buffer-1' after modifying the
1864 buffer.
1865
7a068717
AM
18662013-10-13 Alan Mackenzie <acm@muc.de>
1867
1868 Fix indentation/fontification of Java enum with
1869 "implements"/generic.
1870
c2de5588
DK
1871 * progmodes/cc-engine.el (c-backward-over-enum-header):
1872 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1873 (c-inside-bracelist-p): Uses new function above.
1874 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1875 function above.
1876 (c-font-lock-enum-tail): Uses new function above.
1877
85b64f02
KH
18782013-10-13 Kenichi Handa <handa@gnu.org>
1879
1880 * international/mule-cmds.el (select-safe-coding-system): Remove a
1881 superfluous condition in chekcing whether a coding system is safe
1882 or not.
1883
fc7f501b
OK
18842013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1885
1886 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1887
fdcb2049
AP
18882013-10-13 Andreas Politz <politza@hochschule-trier.de>
1889
1890 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1891
8c106d17
GM
18922013-10-13 Glenn Morris <rgm@gnu.org>
1893
feab892d
GM
1894 * menu-bar.el (menu-bar-update-buffers):
1895 Unify Buffers menu prompt string. (Bug#15576)
1896
b22d0686
GM
1897 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1898
8c106d17
GM
1899 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1900 Add some entries.
1901 (authors-fixed-entries): Use accented form of name.
1902
1b12c797
SM
19032013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1904
650fa7bf 1905 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1906 method calls (bug#15594).
650fa7bf
SM
1907 (ruby-smie--args-separator-p): New function.
1908 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1909 recognize paren-free method calls.
1910
1b12c797
SM
1911 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1912 internals of universal-argument.
1913
029619c8
EZ
19142013-10-11 Eli Zaretskii <eliz@gnu.org>
1915
1916 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1917 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1918 dropped menu on second mouse click on the menu bar.
029619c8 1919
dd070019
SM
19202013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1923 (explicit-shell-file-name): Declare.
1924 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1925 (sh-completion-at-point-function): New function.
1926 (sh-mode): Use it.
1927 (sh-smie--keyword-p): Remove unused argument.
1928 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1929 vars.
1930 (sh-set-shell): Always setup SMIE, even if we use the
1931 old indentation code.
1932
0922b826
DG
19332013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1934
b68e2926
DG
1935 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1936 cases of ? and =.
1937 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1938 predicate would return nil are almost non-existent.
1939 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1940
0922b826
DG
1941 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1942 cache also after commands that modify the buffer but don't move
1943 point.
1944
ee041f2d
SM
19452013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * env.el (substitute-env-in-file-name): New function.
1948 (substitute-env-vars): Extend the meaning of the optional arg.
1949
a5dab159
EZ
19502013-10-10 Eli Zaretskii <eliz@gnu.org>
1951
1952 * term/w32-win.el (dynamic-library-alist): Define separate lists
1953 of GIF DLLs for versions before and after 5.0.0 of giflib.
1954 (Bug#15531)
1955
0449d6cd 19562013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
1957
1958 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1959 not locked, use last revision and current source as
1960 defaults. (Bug#15569)
1961
2f6e161e
MY
19622013-10-10 Masatake YAMATO <yamato@redhat.com>
1963
1964 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1965 menu-bar is hidden.
1966
6c8413fc
MR
19672013-10-10 Martin Rudalics <rudalics@gmx.at>
1968
1969 * window.el (pop-to-buffer-same-window): Fix doc-string.
1970 (Bug#15492)
1971
20832de0
SM
19722013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1975
c6e8ae77
AC
19762013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1977
1978 * calendar/icalendar.el (icalendar-import-file):
1979 Fix interactive spec. (Bug#15482)
1980
9db13baf
GM
19812013-10-10 Glenn Morris <rgm@gnu.org>
1982
9271e90e
GM
1983 * desktop.el (desktop-save): Default to saving in .emacs.d,
1984 since PWD is no longer in desktop-path by default. (Bug#15319)
1985
9db13baf
GM
1986 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1987 now that text mode has a menu with the same entry.
1988 (menu-bar-text-mode-auto-fill): Remove now unused func.
1989 * textmodes/text-mode.el (text-mode-map):
1990 Use auto-fill help text from menu-bar.el.
1991
a0be396a 19922013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1993
1994 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1995
2edcd3c7
JL
19962013-10-09 Juri Linkov <juri@jurta.org>
1997
1998 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1999 instead of this-command-keys. Add universal-argument-more and
2000 universal-argument-minus to the list of prefix commands. (Bug#15568)
2001
574411d0
GM
20022013-10-09 Glenn Morris <rgm@gnu.org>
2003
14afa541
GM
2004 * vc/vc-svn.el (vc-svn-create-repo):
2005 Expand paths in file://... url. (Bug#15446)
2006
574411d0
GM
2007 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2008 Add some entries.
2009 (authors): Remove unused local variables.
2010
79804536
SM
20112013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * profiler.el: Create a more coherent calltree from partial backtraces.
2014 (profiler-format): Hide the tail with `invisible' so that C-s can still
2015 find the hidden elements.
2016 (profiler-calltree-depth): Don't recurse so enthusiastically.
2017 (profiler-function-equal): New hash-table-test.
2018 (profiler-calltree-build-unified): New function.
2019 (profiler-calltree-build): Use it.
2020 (profiler-report-make-name-part): Indent the calltree less.
2021 (profiler-report-mode): Add visibility specs for profiler-format.
2022 (profiler-report-expand-entry, profiler-report-toggle-entry):
2023 Expand the whole subtree when provided with a prefix arg.
2024
238150c8
DG
20252013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2026
2027 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2028 iuwu-mod token.
2029 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2030 hanging iuwu-mod token.
2031 (ruby-smie--forward-token): Do not include a dot after a token in
2032 that token.
2033 (ruby-smie--backward-token): Likewise.
2034
b0949cc4
JL
20352013-10-08 Juri Linkov <juri@jurta.org>
2036
2037 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2038 to isearch-other-control-char.
2039 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2040 and isearch-post-command-hook to post-command-hook.
2041 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2042 and isearch-post-command-hook from post-command-hook.
2043 (isearch-unread-key-sequence)
2044 (isearch-reread-key-sequence-naturally)
2045 (isearch-lookup-scroll-key, isearch-other-control-char)
2046 (isearch-other-meta-char): Remove functions.
2047 (isearch-pre-command-hook, isearch-post-command-hook):
2048 New functions based on isearch-other-meta-char rewritten
2049 relying on the new behavior of overriding-terminal-local-map
2050 that does not replace the local keymaps any more. (Bug#15200)
2051
4ed77415
EZ
20522013-10-08 Eli Zaretskii <eliz@gnu.org>
2053
2054 Support menus on text-mode terminals.
2055 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2056 functionality.
2057
2058 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2059
c2de5588
DK
2060 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2061 Move here from mouse.el.
4ed77415
EZ
2062 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2063 and arrow keys.
2064 (tty-menu-navigation-map): New map for TTY menu navigation.
2065
2066 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2067
2068 * frame.el (display-mouse-p): Report text-mode mouse as available
2069 on w32.
2070 (display-popup-menus-p): Report availability if mouse is
2071 available; don't condition on window-system.
2072
2073 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2074 (tty-menu-selected-face): New faces.
2075
b7d5bd82
TL
20762013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2077
06286513
SM
2078 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2079 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2080 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2081 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2082 New constants.
2083 (lisp-mode-variables): New `elisp' argument.
2084 (emacs-lisp-mode): Use it.
2085 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2086 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2087
b7d5bd82
TL
2088 * indent.el: Use lexical-binding.
2089 (indent-region): Add progress reporter.
2090 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2091 last step.
2092 (indent--next-tab-stop): New function to implement this behavior.
2093 (tab-to-tab-stop, move-to-tab-stop): Use it.
2094
20952013-10-08 Teemu Likonen <tlikonen@iki.fi>
2096
2097 * indent.el (indent-rigidly--current-indentation): New function.
2098 (indent-rigidly-map): New var.
2099 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2100
5ea75d23
BG
21012013-10-08 Bastien Guerry <bzg@gnu.org>
2102
2103 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2104
cc5da1ec
SM
21052013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2106
8ffa1a0b
SM
2107 * progmodes/perl-mode.el: Use lexical-binding.
2108 Remove redundant :group args.
2109 (perl-nochange): Change default to be closer to other major modes's
2110 standard behavior.
2111 (perl-indent-line): Don't consider text on current line as a
2112 valid beginning of function from which to indent.
2113
f2223371
SM
2114 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2115 with more than one argument (bug#15538).
2116
44256060
SM
2117 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2118
cc5da1ec
SM
2119 * vc/pcvs.el: Use lexical-binding.
2120 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2121 environment of `eval'.
2122 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2123 than a list of expressions. Adjust callers.
2124 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2125
0ea1599d
DG
21262013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2127
2128 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2129 case of the dot in a chained method call being on the following line.
0ea1599d 2130
da3e5ebb
SM
21312013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2abb4e65
SM
2133 * electric.el (electric-indent-inhibit): New var.
2134 (electric-indent-post-self-insert-function): Use it.
2135 * progmodes/python.el (python-mode): Set it.
2136
d2e0e795
SM
2137 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2138 open braces.
2139
2140 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2141
bdc6b4c8
SM
2142 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2143 (css-mode): Use electric-indent-chars.
2144
da3e5ebb
SM
2145 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2146 (font-lock-beg, font-lock-end): Move before first use.
2147 (nxml-mode): Use syntax-propertize-function.
2148 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2149 (nxml-extend-after-change-region): Remove.
2150 * nxml/xmltok.el: Use lexical-binding.
2151 (xmltok-save): Use `declare'.
2152 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2153 * nxml/nxml-util.el: Use lexical-binding.
2154 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2155 Use `declare'.
2156 * nxml/nxml-ns.el: Use lexical-binding.
2157 (nxml-ns-save): Use `declare'.
2158 (nxml-ns-prefixes-for): Avoid add-to-list.
2159 * nxml/rng-match.el: Use lexical-binding.
2160 (rng--ipattern): Use cl-defstruct.
2161 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2162 (rng-cons-group-after, rng-subst-group-after)
2163 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2164 Use closures instead of `(lambda...).
2165
f8f91d5d
MA
21662013-10-07 Michael Albinus <michael.albinus@gmx.de>
2167
2168 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2169 of BEG and END.
2170
da3e5ebb
SM
2171 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2172 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2173 (tramp-gvfs-handle-insert-file-contents): Remove function.
2174
da3e5ebb
SM
2175 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2176 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2177
2178 * net/trampver.el: Update release number.
2179
7ccae3b1
SM
21802013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2181
55ca2c0d
SM
2182 * progmodes/compile.el (compilation-parse-errors):
2183 Use compilation--put-prop.
2184 (compilation--ensure-parse): Check compilation-multiline.
2185
731fc3ae
SM
2186 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2187
da3e5ebb
SM
2188 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2189 lexical-binding.
a5833280 2190
2e7ba2c2
SM
2191 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2192
7ccae3b1
SM
2193 * progmodes/ruby-mode.el: Fix recently added tests.
2194 (ruby-smie-grammar): Add - and +.
2195 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2196 (ruby-smie--backward-id): New functions.
2197 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2198 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2199 any more.
2200
85698d63
LL
22012013-10-07 Leo Liu <sdl.web@gmail.com>
2202
2203 * register.el (register-preview-delay)
2204 (register-preview-functions): New variables.
2205 (register-read-with-preview, register-preview)
2206 (register-describe-oneline): New functions.
2207 (point-to-register, window-configuration-to-register)
2208 (frame-configuration-to-register, jump-to-register)
2209 (number-to-register, view-register, insert-register)
2210 (copy-to-register, append-to-register, prepend-to-register)
2211 (copy-rectangle-to-register): Use register-read-with-preview to
2212 read register. (Bug#15525)
2213
3986af6c
DS
22142013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2215
2216 * net/network-stream.el (network-stream-open-starttls): Don't add
2217 --insecure if it's already present, because that gnutls-cli
2218 rejects getting that parameter twice.
2219
5cd9cda9
DG
22202013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2221
2222 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2223 keyword, too.
2224
da9ea6d9
DG
22252013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2226
2227 * newcomment.el (comment-use-global-state): Change default value
2228 to t, mark obsolete (Bug#15251).
2229 (comment-beginning): In addition to `comment-to-syntax', check the
2230 value of `comment-use-global-state'.
2231
34d1a133
SM
22322013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2235 (ruby-comment-column): Follow the global default, by default.
2236 (ruby-smie-grammar): Add assignment syntax.
2237 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2238 open-paren, a comma, or a \.
2239 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2240 and line continuations.
2241 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2242 followed by implicit semi-colons. Add rule for string concatenation
2243 and for indentation at BOB.
2244 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2245
2246 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2247 calling next-sexp, since next-token may have skipped chars which
2248 next-sexp doesn't know should be skipped!
2249
6f6ab820
LL
22502013-10-05 Leo Liu <sdl.web@gmail.com>
2251
34d1a133
SM
2252 * progmodes/octave.el (octave-send-region):
2253 Call compilation-forget-errors.
6f6ab820 2254
34ca0f4c
XF
22552013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2256
2257 * vc/vc-svn.el (vc-svn-find-admin-dir):
2258 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2259 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2260 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2261 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2262
a27c1b72
SM
22632013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2266
258ab3bc
SM
22672013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * subr.el (read-passwd): Hide chars even when called within a context
2270 where after-change-functions is disabled (bug#15501).
2271 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2272 until we removed ourself from overriding-terminal-local-map.
2273
939fb29c
LL
22742013-10-04 Leo Liu <sdl.web@gmail.com>
2275
258ab3bc
SM
2276 * progmodes/octave.el (inferior-octave-mode):
2277 Call compilation-forget-errors.
939fb29c 2278
63bd7f35
XF
22792013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2280
2281 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2282
9e6229fa
MA
22832013-10-04 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * net/secrets.el (secrets-create-collection): Add optional
2286 argument ALIAS. Use proper Label keyword. Append ALIAS as
2287 dbus-call-method argument. (Bug#15516)
2288
1dab32a3
LL
22892013-10-04 Leo Liu <sdl.web@gmail.com>
2290
2291 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2292 (inferior-octave-compilation-font-lock-keywords): New variables.
2293 (compilation-error-regexp-alist)
2294 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2295 (inferior-octave-mode): Use compilation-shell-minor-mode.
2296
6cad7ba3
JS
22972013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2298
2299 * minibuffer.el (completion--replace): Be careful that `end' might be
2300 a marker.
2301
acbadd00
DU
23022013-10-03 Daiki Ueno <ueno@gnu.org>
2303
2304 Add support for package signature checking.
2305 * emacs-lisp/package.el (url-http-file-exists-p)
2306 (epg-make-context, epg-context-set-home-directory)
2307 (epg-verify-string, epg-context-result-for)
2308 (epg-signature-status, epg-signature-to-string)
2309 (epg-check-configuration, epg-configuration)
2310 (epg-import-keys-from-file): Declare.
2311 (package-check-signature): New user option.
2312 (package-unsigned-archives): New user option.
2313 (package-desc): Add `signed' field.
2314 (package-load-descriptor): Set `signed' field if .signed file exists.
2315 (package--archive-file-exists-p): New function.
2316 (package--check-signature): New function.
2317 (package-install-from-archive): Check package signature.
2318 (package--download-one-archive): Check archive signature.
2319 (package-delete): Remove .signed file.
2320 (package-import-keyring): New command.
2321 (package-refresh-contents): Import default keyring.
2322 (package-desc-status): Add "unsigned" status.
2323 (describe-package-1, package-menu--print-info)
2324 (package-menu-mark-delete, package-menu--find-upgrades)
2325 (package-menu--status-predicate): Support "unsigned" status.
2326
adf2aa61
SM
23272013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2330 the new compilation scheme using the new byte-codes.
2331
2332 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2333 (byte-pophandler): New byte codes.
2334 (byte-goto-ops): Adjust accordingly.
2335 (byte-compile--use-old-handlers): New var.
2336 (byte-compile-catch): Use new byte codes depending on
2337 byte-compile--use-old-handlers.
2338 (byte-compile-condition-case--old): Rename from
2339 byte-compile-condition-case.
2340 (byte-compile-condition-case--new): New function.
2341 (byte-compile-condition-case): New function that dispatches depending
2342 on byte-compile--use-old-handlers.
2343 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2344 when we can.
2345
2346 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2347 Optimize under `condition-case' and `catch' if
2348 byte-compile--use-old-handlers is nil.
2349 (disassemble-offset): Handle new bytecodes.
2350
328a8179
SM
23512013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * subr.el (error): Use `declare'.
2354 (decode-char, encode-char): Use advertised-calling-convention instead
2355 of the docstring to discourage use of the `restriction' arg.
2356
15a1e936
DU
23572013-10-03 Daiki Ueno <ueno@gnu.org>
2358
2359 * epg.el (epg-verify-file): Add a comment saying that it does not
2360 notify verification error as a return value nor a signal.
2361 (epg-verify-string): Ditto.
2362
376f862a
KR
23632013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2364
2365 * progmodes/compile.el (compilation-start): Try globbing the arg to
2366 `cd' (bug#15417).
2367
a2f93a5f
MA
23682013-10-02 Michael Albinus <michael.albinus@gmx.de>
2369
2370 Sync with Tramp 2.2.8.
2371
2372 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2373 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2374 * net/trampver.el: Update release number.
2375
0daa0804
JD
23762013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2377
2378 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2379 and default-process-coding-system for darwin only.
2380
abd1ae34
SM
23812013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2384
be4e325d
MH
23852013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2386
2387 * vc/vc-git.el (vc-git-grep): Disable pager.
2388
e9155c4a
DG
23892013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2390
494e898b
DG
2391 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2392 Use :url instead of :homepage, as per
2393 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2394
e9155c4a
DG
2395 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2396 non-nil, use `syntax-ppss' (Bug#15251).
2397
481a8e0f
RS
23982013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2399
be4e325d
MH
2400 * progmodes/octave.el (inferior-octave-startup-file):
2401 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2402
056453c6
DG
24032013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2404
be4e325d
MH
2405 * emacs-lisp/package.el (package-desc-from-define):
2406 Accept additional arguments as plist, convert them to an alist and store
2407 them in the `extras' slot.
056453c6
DG
2408 (package-generate-description-file): Convert extras alist back to
2409 plist and append to the `define-package' form arguments.
2410 (package--alist-to-plist): New function.
2411 (package--ac-desc): Add `extras' slot.
2412 (package--add-to-archive-contents): Check if the archive-contents
2413 vector is long enough, and if it is, pass its `extras' slot value
2414 to `package-desc-create'.
2415 (package-buffer-info): Call `lm-homepage', pass the returned value
2416 to `package-desc-from-define'.
2417 (describe-package-1): Render the homepage button (Bug#13291).
2418
be4e325d
MH
2419 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2420 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2421
832966e5
JD
24222013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2423
2424 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2425 and default-process-coding-system to utf-8-unix (Bug#15402).
2426
6cfe977d
XF
24272013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2428
2429 * subr.el (looking-back): Do not recommend using looking-back.
2430
38de11bd
AM
24312013-09-28 Alan Mackenzie <acm@muc.de>
2432
2433 Fix indentation/fontification of Java enum with "implements".
2434
2435 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2436 regexp which matches "implements", etc., in Java.
2437 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2438 specifier clauses coming after "enum".
2439 * progmodes/cc-fonts.el (c-font-lock-declarations)
2440 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2441 after "enum".
2442
1610938f
JD
24432013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2444
2445 * faces.el (region): Change ns_selection_color to
2446 ns_selection_fg_color, add ns_selection_bg_color.
2447
e090f499
LL
24482013-09-28 Leo Liu <sdl.web@gmail.com>
2449
4d2e94d1
LL
2450 * progmodes/octave.el (inferior-octave-completion-table)
2451 (inferior-octave-completion-at-point): Minor tweaks.
2452
e090f499
LL
2453 * textmodes/ispell.el (ispell-lookup-words): Rename from
2454 lookup-words. (Bug#15460)
2455 (lookup-words): Obsolete.
2456 (ispell-complete-word, ispell-command-loop): All uses changed.
2457
7e138a62
RS
24582013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2459
2460 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2461 (octave-mode-menu): Add octave-send-buffer.
2462 (octave-send-buffer): New function.
2463
5af5ed08
RS
24642013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2465
2466 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2467 octave-lookfor.
2468 (octave-mode-menu): Add octave-lookfor.
2469 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2470 octave-lookfor.
2471 (octave-lookfor): New function.
2472
3b7b2692
SM
24732013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * emacs-lisp/cl-macs.el:
2476 (cl--loop-destr-temps): Remove.
2477 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2478 its convention.
2479 (cl--loop-set-iterator-function): New function.
2480 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2481 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2482 Bind `it' with `let' instead of substituting it with `cl-subst'.
2483 (cl--unused-var-p): New function.
2484 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2485 Eliminate some unused variable warnings (bug#15326).
2486
529fb53f
TH
24872013-09-27 Tassilo Horn <tsdh@gnu.org>
2488
2489 * doc-view.el (doc-view-scale-reset): Rename from
2490 `doc-view-reset-zoom-level'.
2491 (doc-view-scale-adjust): New command.
2492 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2493 `doc-view-scale-adjust'.
2494
0550c95a
TH
24952013-09-26 Tassilo Horn <tsdh@gnu.org>
2496
2497 * doc-view.el (doc-view-reset-zoom-level): New command.
2498 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2499 zoom commands (bug#15466).
2500
6950f152
KH
25012013-09-26 Kenichi Handa <handa@gnu.org>
2502
2503 * international/quail.el (quail-help): Make it not a command.
2504
39587580
LL
25052013-09-26 Leo Liu <sdl.web@gmail.com>
2506
2507 * minibuffer.el (completion-all-sorted-completions): Make args
2508 optional as they are.
2509
00578659
DC
25102013-09-25 Daniel Colascione <dancol@dancol.org>
2511
2512 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2513 specs are and that they're not evaluated.
2514
0c173878
SS
25152013-09-24 Sam Steingold <sds@gnu.org>
2516
2517 * midnight.el (clean-buffer-list-kill-regexps)
2518 (clean-buffer-list-kill-buffer-names): Update for the new Man
2519 buffer naming which includes the object name.
2520
84998447
SM
25212013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2524 (eshell-parse-command, eshell-parse-pipeline): Use it since
2525 eshell-separate-commands requires a dynamic scoped var.
2526 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2527
33215353
LL
25282013-09-23 Leo Liu <sdl.web@gmail.com>
2529
2530 * autoinsert.el (auto-insert-alist): Make the value of
2531 lexical-binding match its file setting.
2532
57b16162
JB
25332013-09-23 Juanma Barranquero <lekktu@gmail.com>
2534
c8af4e67
JB
2535 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2536
57b16162
JB
2537 * autoarg.el (autoarg-kp-digit-argument):
2538 * electric.el (Electric-command-loop):
2539 * kmacro.el (kmacro-step-edit-insert):
2540 Do not set universal-argument-num-events.
2541
7186ba60
LL
25422013-09-22 Leo Liu <sdl.web@gmail.com>
2543
2544 * files.el (interpreter-mode-alist): Add octave.
2545
ece15004
AM
25462013-09-21 Alan Mackenzie <acm@muc.de>
2547
2548 C++: fontify identifier in declaration following "public:" correctly.
2549 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2550 to match "public", etc.
2551 (c-decl-prefix-re): Add ":" into the C++ value.
2552 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2553 bit. Add a check for a ":" preceded by "public", etc.
2554
75d83e22
EZ
25552013-09-21 Eli Zaretskii <eliz@gnu.org>
2556
2557 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2558 recognized by GDB 7.5 and later.
2559
d052d3bd
XF
25602013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2561
2562 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2563
31dca772
R
25642013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * subr.el (internal--call-interactively): New const.
2567 (called-interactively-p): Use it (bug#3984).
2568
98ccf24e
XF
25692013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2570
2571 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2572 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2573 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2574
c39cc7d1
SM
25752013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2578 (eshell-ls-orig-insert-directory): Remove.
2579 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2580 (eshell-ls-use-in-dired): Use advice-add/remove.
2581 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2582 Add `orig-fun' arg for use in :around advice.
2583 Make it check (redundantly) eshell-ls-use-in-dired.
2584
9a0289a2
GM
25852013-09-19 Glenn Morris <rgm@gnu.org>
2586
a2c501b8
GM
2587 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2588
c440407a
GM
2589 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2590
9a0289a2
GM
2591 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2592
85e05915
MA
25932013-09-19 Michael Albinus <michael.albinus@gmx.de>
2594
2595 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2596 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2597 (tramp-get-remote-python): New defuns.
2598 (tramp-get-remote-uid-with-perl)
2599 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2600 contributed by yary <not.com@gmail.com> (tiny change).
2601 (tramp-get-remote-uid-with-python)
2602 (tramp-get-remote-gid-with-python): New defuns. Python code
2603 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2604 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2605
ce503312
GM
26062013-09-19 Glenn Morris <rgm@gnu.org>
2607
f7544773
GM
2608 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2609
72fd2877
GM
2610 * eshell/em-unix.el (eshell-remove-entries):
2611 Rename argument to avoid name-clash with global `top-level'.
2612
336b5a56
GM
2613 * eshell/esh-proc.el (eshell-kill-process-function):
2614 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2615 (eshell-reset-after-proc): Remove unused arg `proc'.
2616
57a3a53d
GM
2617 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2618 (directory-files-and-attributes): Mark unused arg.
2619
3261d4af
GM
2620 * eshell/em-unix.el (eshell-remove-entries):
2621 Remove unused arg `path'. Update callers.
2622
8e51b5d0
GM
2623 * eshell/em-hist.el (eshell-hist-parse-arguments):
2624 Remove unused arg `silent'. Update callers.
2625
ce503312
GM
2626 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2627 Fix (f)boundp mix-up.
2628
2629 * eshell/em-smart.el (eshell-smart-scroll-window)
2630 (eshell-disable-after-change):
336b5a56 2631 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2632
ee3ce8a7
AM
26332013-09-18 Alan Mackenzie <acm@muc.de>
2634
2635 Fix fontification of type when followed by "const".
2636 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2637 "known" types from fontification.
2638
ec9177ba
GM
26392013-09-18 Glenn Morris <rgm@gnu.org>
2640
7bb3e768
GM
2641 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2642 (chart-face-list): Drop Emacsen without display-color-p.
2643
5148da15
GM
2644 * net/eww.el (libxml-parse-html-region): Declare.
2645 (eww-display-html): Explicit error if no libxml2 support.
2646
2f68e157
GM
2647 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2648
9019d095
GM
2649 * image.el (image-type-from-buffer, image-multi-frame-p):
2650 Remove --without-x warning/error.
67645389 2651
5f30349b 2652 * mouse.el (mouse-yank-primary):
45069b2e 2653 * term.el (term-mouse-paste):
5f30349b
GM
2654 Reorder to silence --without-x compilation.
2655
cd8edbbe
GM
2656 * mpc.el (doc-view-mode): Silence --without-x compilation.
2657
8a78544e
GM
2658 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2659 Silence --without-x compilation.
2660
12679bfd
GM
2661 * progmodes/gud.el (gud-find-file, gud-mode):
2662 Silence --without-x compilation.
2663 (tooltip-mode): Declare.
30810a05 2664
f0047cb9
GM
2665 * wdired.el (dired-backup-overwrite): Remove declaration.
2666 (wdired-mode-map): Add doc string.
2667
e740f9d2
GM
2668 * custom.el (x-get-resource): Declare.
2669
92d77c89
GM
2670 * eshell/em-glob.el (ange-cache):
2671 * eshell/em-unix.el (ange-cache): Declare.
2672
76e69577
GM
2673 * faces.el (x-display-list, x-open-connection, x-get-resource):
2674 Declare.
7e58af4b
GM
2675
2676 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2677 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2678 Declare.
76e69577 2679
4bd4c0af 2680 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2681
ffb82dbd
GM
2682 * net/gnutls.el (gnutls-log-level): Declare.
2683
986ed135
GM
2684 * net/shr.el (image-size, image-animate): Declare.
2685
e740f9d2
GM
2686 * simple.el (font-info): Declare.
2687
d2f3e9f8
GM
2688 * subr.el (x-popup-dialog): Declare.
2689
047a1a4c
GM
2690 * term/common-win.el (x-select-enable-primary)
2691 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2692 Declare.
2693
f4a1d572
GM
2694 * term/ns-win.el (x-handle-args): Declare.
2695
e843de77
GM
2696 * term/x-win.el (x-select-enable-clipboard): Declare.
2697
5fa89513
GM
2698 * term/w32-win.el (create-default-fontset): Declare.
2699
38702b5b
GM
2700 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2701 Declare.
2702
e740f9d2
GM
2703 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2704 (fit-frame-to-buffer): Explicit error if --without-x.
2705 (mouse-autoselect-window-select): Silence compiler.
2706
49a053fc
GM
2707 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2708
2709 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2710 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2711 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2712 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2713 Remove unused local variables.
2714
2715 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2716
ec9177ba
GM
2717 * textmodes/two-column.el: Make 2C-split work for --without-x.
2718 (scroll-bar-columns): Autoload.
2719 (top-level): Require fringe when compiling.
2720
9f25cb77
LL
27212013-09-18 Leo Liu <sdl.web@gmail.com>
2722
2723 * subr.el (add-hook): Robustify to handle closure as well.
2724
2b42da98
GM
27252013-09-17 Glenn Morris <rgm@gnu.org>
2726
2727 * simple.el (messages-buffer-mode-map): Unbind "g".
2728
e8b66a6a
SM
27292013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2730
9c0ad4f7
SM
2731 * help-mode.el (help-mode-finish): Use derived-mode-p.
2732 Remove obsolete highlighting.
2733
7a806dfb
SM
2734 * play/life.el (life-mode): Use define-derived-mode. Derive from
2735 special-mode.
2736 (life): Let-bind inhibit-read-only.
2737 (life-setup): Avoid `setq'. Use `life-mode'.
2738
96dbf5a8
SM
2739 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2740 which should not be needed any more.
2741 (package-menu-refresh, package-menu-describe-package): Use user-error.
2742
e8b66a6a
SM
2743 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2744 (eshell-post-rewrite-command-hook): Make obsolete.
2745 (eshell-parse-command): Simplify.
2746 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2747 (eshell--cmd): Declare.
2748 (eshell-parse-pipeline): Remove unused var `final-p'.
2749 Pass a dynvar to eshell-post-rewrite-command-hook.
2750 Implement the new eshell-post-rewrite-command-function.
2751 (eshell-invoke-directly): Remove unused arg `input'.
2752 * eshell/esh-io.el (eshell-io-initialize):
2753 Use eshell-post-rewrite-command-function (bug#15399).
2754 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2755 adjust to new calling convention.
2756 (eshell-create-handles): Rename args to avoid clashing with dynvar
2757 `standard-output'.
2758
90582f05
GM
27592013-09-17 Glenn Morris <rgm@gnu.org>
2760
2761 * simple.el (messages-buffer-mode): New major mode.
2762 (messages-buffer): New function.
2763 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2764 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2765 (ert-run-test): Use `messages-buffer' function.
90582f05 2766 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2767 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2768 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2769
39eb0cb5 27702013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2771
2772 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2773
1f1e06e2
SM
2774 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2775
70568a90
SM
27762013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2777
504a0381
SM
2778 * icomplete.el (icomplete-in-buffer): New var.
2779 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2780 vars and replace them with functions.
2781 (icomplete-minibuffer-setup): Adjust accordingly.
2782 (icomplete--completion-table, icomplete--completion-predicate)
2783 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2784 New functions.
2785 (icomplete-forward-completions, icomplete-backward-completions)
2786 (icomplete-simple-completing-p, icomplete-exhibit)
2787 (icomplete-completions): Use them.
2788 (icomplete--in-region-buffer): New var.
2789 (icomplete--in-region-setup): New function.
2790 (icomplete-mode): Use it.
2791
70568a90
SM
2792 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2793 (bug#15379).
2794 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2795 return args and options.
2796 (eshell-eval-using-options): Use the new return value of
2797 eshell--do-opts to set the options's vars in their scope.
2798 (eshell--set-option): Rename from eshell-set-option.
2799 Add arg `opt-vals'.
2800 (eshell--process-option): Rename from eshell-process-option.
2801 Add arg `opt-vals'.
2802 (eshell--process-args): Use an `opt-vals' alist to store the options's
2803 values during their processing and return them additionally to the
2804 remaining args.
2805
578c21bc
DG
28062013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2807
2808 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2809 continuation character an operator, as far as indentation is
2810 concerned (Bug#15369).
2811
c089653d
MR
28122013-09-15 Martin Rudalics <rudalics@gmx.at>
2813
2814 * window.el (window--state-put-2): Don't process buffer state
2815 when buffer doesn't exist any more (Bug#15382).
2816
1e53bb4b
GM
28172013-09-15 Glenn Morris <rgm@gnu.org>
2818
30753242
GM
2819 * eshell/em-unix.el (eshell/rm):
2820 Make -f ignore missing files. (Bug#15373)
2821
1e53bb4b
GM
2822 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2823 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2824 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2825
0d8863b3
GM
28262013-09-14 Glenn Morris <rgm@gnu.org>
2827
2828 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2829
d3fc6549
GM
28302013-09-13 Glenn Morris <rgm@gnu.org>
2831
2832 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2833 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2834
fcd42c11
DA
28352013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2836
2837 * frame.el (x-focus-frame): Mark as declared in frame.c.
2838
7830899f
SM
28392013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * ls-lisp.el: Use advice-add.
2842 (original-insert-directory): Remove.
2843 (ls-lisp--insert-directory): Rename from insert-directory; add
2844 `orig-fun' argument.
2845 (insert-directory): Advise.
2846
84387cd2
EZ
28472013-09-13 Eli Zaretskii <eliz@gnu.org>
2848
2849 * term.el (term-emulate-terminal): Decode the command string
2850 before passing it to term-command-hook. (Bug#15337)
2851
35ffc6ba
GM
28522013-09-13 Glenn Morris <rgm@gnu.org>
2853
5c3f9bcc
GM
2854 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2855
2ada368a
GM
2856 * eshell/esh-ext.el (eshell-search-path): Declare.
2857
fcef2e13
GM
2858 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2859 Otherwise an error occurs if eshell-dirs module not loaded.
2860
35ffc6ba
GM
2861 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2862
35c3d36e
MA
28632013-09-13 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2866 `tramp-check-proper-host'. Check for a valid method name.
2867
2868 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2869 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2870 * net/tramp-sh.el (tramp-maybe-open-connection):
2871 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2872
2873 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2874 also for hash values.
2875
ae5e4c48
SM
28762013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2877
379add74
SM
2878 * term/ns-win.el (parameters): Don't declare as dynamic.
2879 (before-make-frame-hook): Don't add ineffective function.
2880
ae5e4c48
SM
2881 * eshell/*.el: Use lexical-binding (bug#15231).
2882
b5623270
KH
28832013-09-12 Kenichi Handa <handa@gnu.org>
2884
ae5e4c48 2885 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2886
30213927
GM
28872013-09-12 Glenn Morris <rgm@gnu.org>
2888
be94d713 2889 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2890 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2891
44915370
GM
2892 * subr.el (do-after-load-evaluation): Also give compiler warnings
2893 when obsolete files are used (except by obsolete files).
2894
a6ae021f
GM
2895 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2896 in the status output, assume `filename' is the first. (Bug#15322)
2897
40e64f0c
GM
2898 * vc/vc.el (vc-deduce-fileset): Doc fix.
2899
16d9f896
GM
2900 * calc/calc-help.el (Info-goto-node):
2901 * progmodes/cperl-mode.el (Info-find-node):
2902 * vc/ediff.el (Info-goto-node): Update declarations.
2903
dea01c6e
GM
2904 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2905
759880bf 2906 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2907 (vc-bzr-pull): Require vc-dispatcher.
2908 * vc/vc-git.el (vc-compilation-mode): Declare.
2909 (vc-git-pull): Require vc-dispatcher.
2910
08d66420
GM
2911 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2912
30b626e9
GM
2913 * progmodes/octave.el (help-button-action): Declare.
2914
8c05cb10
GM
2915 * shell.el (shell-directory-tracker): Output error as a message
2916 rather than just returning it as a string.
2917 (shell-process-pushd): Remove useless use of message.
2918
30213927
GM
2919 * dframe.el (dframe-timer-fn):
2920 * files.el (dir-locals-read-from-file):
2921 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2922 (mpc-format):
2923 * reveal.el (reveal-post-command):
2924 * saveplace.el (load-save-place-alist-from-file):
2925 * shell.el (shell-resync-dirs):
2926 * w32-common-fns.el (x-get-selection-value):
2927 * emacs-lisp/copyright.el (copyright-find-copyright):
2928 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2929 * emulation/tpu-edt.el (tpu-copy-keyfile):
2930 * play/bubbles.el (bubbles--mark-neighbourhood):
2931 * progmodes/executable.el
2932 (executable-make-buffer-file-executable-if-script-p):
2933 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2934
d3b049e6
SM
29352013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2936
170266d0
SM
2937 Cleanup Eshell to rely less on dynamic scoping.
2938 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2939 last-value, and ext-command here. Bind `args' closer to `body'.
2940 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2941 (eshell--args): Declare new dynamic var.
2942 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2943 last-value, and ext-command. Pass `args' to `body'.
2944 (eshell-process-args): Bind eshell--args.
2945 (eshell-set-option): Use eshell--args.
2946 * eshell/eshell.el (eshell): Use derived-mode-p.
2947 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2948 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2949 (eshell-glob-function): Declare.
2950 * eshell/esh-util.el: Require cl-lib.
2951 (eshell-read-hosts-file): Avoid add-to-list.
2952 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2953 `err'.
2954 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2955 Declare.
2956 (eshell/diff): Remove unused var `err'.
2957 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2958 `killflag'.
2959 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2960 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2961 first use.
2962 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2963 Move declaration before first use.
2964 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2965 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2966 rely on cl-return.
2967
56834f3b
GM
29682013-09-12 Glenn Morris <rgm@gnu.org>
2969
2970 * term/ns-win.el (global-map): Remove binding for ispell-next,
2971 deleted 1999-05-29. (Bug#15357)
2972
5c91a2b8
GM
29732013-09-11 Glenn Morris <rgm@gnu.org>
2974
da712f22
GM
2975 * echistory.el (electric-command-history): Remove call to deleted func.
2976
512e4cdc
GM
2977 * play/landmark.el (landmark-mode): Fix typos.
2978
d3506ca5
GM
2979 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2980 Check cvs-sort-ignore-file is bound.
2981
5c91a2b8
GM
2982 * savehist.el: No need for cl when compiling on Emacs.
2983
feeff482
SM
29842013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2985
656bd483
SM
2986 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2987 (bug#15338).
d3b049e6
SM
2988 (eshell-self-insert-command, eshell-send-invisible):
2989 Remove unused argument.
656bd483
SM
2990 (eshell-handle-control-codes): Remove unused var `orig'.
2991 Avoid delete-backward-char.
2992
feeff482
SM
2993 * files.el (set-auto-mode): Simplify a bit further.
2994
2a08047a
GM
29952013-09-11 Glenn Morris <rgm@gnu.org>
2996
2997 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2998 (set-auto-mode): Don't regexp-quote elements.
2999 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3000 * progmodes/cc-mode.el (interpreter-mode-alist):
3001 * progmodes/ruby-mode.el (interpreter-mode-alist):
3002 Revert previous change.
3003
34675540
SM
30042013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3005
1b3b87df
SM
3006 * play/snake.el (snake-mode):
3007 * play/mpuz.el (mpuz-mode):
3008 * play/landmark.el (lm-mode):
3009 * play/blackbox.el (blackbox-mode):
3010 * play/5x5.el (5x5-mode):
3011 * obsolete/options.el (Edit-options-mode):
3012 * net/quickurl.el (quickurl-list-mode):
3013 * net/newst-treeview.el (newsticker-treeview-mode):
3014 * mail/rmailsum.el (rmail-summary-mode):
3015 * mail/mspools.el (mspools-mode):
3016 * locate.el (locate-mode):
3017 * ibuffer.el (ibuffer-mode):
3018 * emulation/ws-mode.el (wordstar-mode):
3019 * emacs-lisp/debug.el (debugger-mode):
3020 * array.el (array-mode):
3021 * net/eudc.el (eudc-mode): Use define-derived-mode.
3022 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3023 Move initialization into declaration.
3024 (mairix-searches-mode): Use define-derived-mode.
3025 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3026 (eudc-edit-hotlist): Use dolist.
3027 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3028 (Man-mode): Use define-derived-mode.
3029 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3030 (Info-edit-mode): Use define-derived-mode.
3031 (Info-cease-edit): Use Info-mode.
3032 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3033 into declaration.
3034 (eshell-mode): Use define-derived-mode.
3035 * chistory.el (command-history-mode-map): Rename from
3036 command-history-map.
3037 (command-history-mode): Use define-derived-mode.
da712f22 3038 (Command-history-setup): Remove function.
1b3b87df
SM
3039 * calc/calc.el (calc-trail-mode-map): New var.
3040 (calc-trail-mode): Use define-derived-mode.
3041 (calc-trail-buffer): Set calc-main-buffer manually.
3042 * bookmark.el (bookmark-insert-annotation): New function.
3043 (bookmark-edit-annotation): Use it.
3044 (bookmark-edit-annotation-mode): Make it a proper major mode.
3045 (bookmark-send-edited-annotation): Use derived-mode-p.
3046 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3047 closer to its ideal place. Use \' to match EOS.
3048
34675540
SM
3049 * profiler.el (profiler-calltree-find): Use function-equal.
3050
6a5c15d9
GM
30512013-09-10 Glenn Morris <rgm@gnu.org>
3052
1af4c220
GM
3053 * files.el (interpreter-mode-alist): Convert to regexps.
3054 (set-auto-mode): Adapt for this. (Bug#15306)
3055 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3056 Comment out unused variable.
3057 * progmodes/cc-mode.el (interpreter-mode-alist):
3058 * progmodes/python.el (interpreter-mode-alist):
3059 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3060 * progmodes/sh-script.el (sh-set-shell):
3061 No longer use interpreter-mode-alist to get list of shells.
3062
6a5c15d9
GM
3063 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3064
8c27f5ff
SM
30652013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3066
02ef6c1a 3067 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3068 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3069 Bind switch-frame explicitly. Replace universal-argument-minus with
3070 a conditional binding.
3071 (universal-argument-num-events, saved-overriding-map): Remove.
3072 (restore-overriding-map): Remove.
3073 (universal-argument--mode): Rename from save&set-overriding-map,
3074 and rewrite.
3075 (universal-argument, universal-argument-more, negative-argument)
3076 (digit-argument): Adjust accordingly.
3077 (universal-argument-minus): Remove.
3078 (universal-argument-other-key): Remove.
3079
8c27f5ff
SM
3080 * subr.el (with-demoted-errors): Add `format' argument.
3081
6480194c
MA
30822013-09-10 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3085 `tramp-cleanup-connection'.
3086
3087 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3088 parameters KEEP-DEBUG and KEEP-PASSWORD.
3089
3090 * net/tramp.el (tramp-file-name-handler):
3091 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3092 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3093 (tramp-maybe-open-connection):
8c27f5ff
SM
3094 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3095 Use `tramp-cleanup-connection'.
6480194c 3096
8c27f5ff
SM
3097 * net/tramp-sh.el (tramp-maybe-open-connection):
3098 Catch 'uname-changed inside the progress reporter.
6480194c 3099
e5e916d8
GM
31002013-09-10 Glenn Morris <rgm@gnu.org>
3101
9a2c9b47
GM
3102 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3103
e5e916d8
GM
3104 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3105 returns "alternate access method" in mode (eg "-rw-r--r--.").
3106
144e38fe
GM
31072013-09-08 Glenn Morris <rgm@gnu.org>
3108
3109 * saveplace.el (load-save-place-alist-from-file):
3110 Demote errors. (Bug#15305)
3111
af9ff9e8
MA
31122013-09-08 Michael Albinus <michael.albinus@gmx.de>
3113
3114 Improve compatibility with older Emacsen, and XEmacs.
3115
3116 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3117 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3118 (with-tramp-progress-reporter): Do not let-bind `result'.
3119 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3120 (tramp-handle-make-auto-save-file-name): New function, moved from
3121 tramp-sh.el.
3122
3123 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3124 for `make-auto-save-file-name'.
8c27f5ff
SM
3125 (tramp-adb--gnu-switches-to-ash):
3126 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3127
3128 * net/tramp-cache.el (tramp-cache-print): Call
3129 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3130
3131 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3132 bound. It isn't for XEmacs.
3133
8c27f5ff
SM
3134 * net/tramp-compat.el (tramp-compat-copy-file):
3135 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3136 (tramp-compat-replace-regexp-in-string): New defun.
3137
3138 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3139 for `make-auto-save-file-name'.
3140 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3141 `copy-file'.
3142 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3143 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3144 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3145
8c27f5ff
SM
3146 * net/tramp-gw.el (tramp-gw-open-network-stream):
3147 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3148
8c27f5ff
SM
3149 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3150 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3151 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3152 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3153 (tramp-sh-file-inotifywait-process-filter):
3154 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3155 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3156
3157 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3158 for `make-auto-save-file-name'.
8c27f5ff
SM
3159 (tramp-smb-handle-copy-directory):
3160 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3161 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3162 (tramp-smb-handle-copy-file): Improve error message.
3163 (tramp-smb-handle-rename-file): Rename directly only in case
3164 `newname' does not exist yet. This is a restriction of smbclient.
3165 (tramp-smb-maybe-open-connection): Rerun the function only when
3166 `auth-sources' is non-nil.
3167
0ca754d0
KH
31682013-09-08 Kenichi Handa <handa@gnu.org>
3169
3170 * international/characters.el: Set category "^" (Combining) for
3171 more characters.
3172
e8dd0787
AM
31732013-09-07 Alan Mackenzie <acm@muc.de>
3174
3175 Correctly fontify Java class constructors.
3176 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3177 in Java Mode.
3178 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3179 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3180 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3181 "typeless" declaration there.
3182
f2f248e7
RW
31832013-09-07 Roland Winkler <winkler@gnu.org>
3184
3185 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3186 field subtitle for entry type book.
3187
67982e2b
SM
31882013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * minibuffer.el: Make minibuffer-complete call completion-in-region
3191 rather than other way around.
3192 (completion--some, completion-pcm--find-all-completions):
3193 Don't delay signals when debugging.
3194 (minibuffer-completion-contents): Beware fields within the
3195 minibuffer contents.
3196 (completion-all-sorted-completions): Use defvar-local.
3197 (completion--do-completion, completion--cache-all-sorted-completions)
3198 (completion-all-sorted-completions, minibuffer-force-complete):
3199 Add args `beg' and `end'.
3200 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3201 (minibuffer-complete): Use completion-in-region.
3202 (completion-complete-and-exit): New fun, extracted from
3203 minibuffer-complete-and-exit.
3204 (minibuffer-complete-and-exit): Use it.
3205 (completion--complete-and-exit): Rename from
3206 minibuffer--complete-and-exit.
3207 (completion-in-region--single-word): New function, extracted from
3208 minibuffer-complete-word.
3209 (minibuffer-complete-word): Use it.
3210 (display-completion-list): Make `common-substring' argument obsolete.
3211 (completion--in-region): Call completion--in-region-1 instead of
3212 minibuffer-complete.
3213 (completion-help-at-point): Pass boundaries to
3214 minibuffer-completion-help as args rather than via an overlay.
3215 (completion-pcm--string->pattern): Use `any-delim'.
3216 (completion-pcm--optimize-pattern): New function.
3217 (completion-pcm--pattern->regex): Handle `any-delim'.
3218 * icomplete.el (icomplete-forward-completions)
3219 (icomplete-backward-completions, icomplete-completions):
3220 Adjust calls to completion-all-sorted-completions and
3221 completion--cache-all-sorted-completions.
3222 (icomplete-with-completion-tables): Default to t.
3223 * emacs-lisp/crm.el (crm--current-element): Rename from
3224 crm--select-current-element. Don't put an overlay but return the
3225 boundaries instead.
3226 (crm--completion-command): Take two new args to bind to the boundaries.
3227 (crm-completion-help): Adjust accordingly.
3228 (crm-complete): Use completion-in-region.
3229 (crm-complete-word): Use completion-in-region--single-word.
3230 (crm-complete-and-exit): Use completion-complete-and-exit.
3231
e17d94a5
SM
32322013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3233
3234 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3235 than dynamically.
3236
96727100
JL
32372013-09-06 Juri Linkov <juri@jurta.org>
3238
3239 * info.el (Info-display-images-node): When image file doesn't exist
3240 display text version of the image if it's provided in the Info file.
3241 Otherwise, display the location of missing image from SRC attribute.
3242 Add help-echo text property from ALT attribute. (Bug#15279)
3243
86cf7329
SM
32442013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3247 (edit-abbrevs-mode): Use define-derived-mode.
3248
3249 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3250 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3251 that it's defined.
3252 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3253 Use define-derived-mode.
3254
3255 * epg.el (epg-start-encrypt): Minor CSE simplification.
3256
816244a2
WX
32572013-09-06 William Xu <william.xwl@gmail.com>
3258
3259 * arc-mode.el: Add support for 7za (bug#15264).
3260 (archive-7z-program): New var.
3261 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3262 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3263 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3264
1486fa31
MA
32652013-09-06 Michael Albinus <michael.albinus@gmx.de>
3266
3267 Remove URL syntax.
3268
3269 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3270 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3271 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3272 (tramp-postfix-host-format, tramp-file-name-regexp)
3273 (tramp-completion-file-name-regexp)
3274 (tramp-completion-dissect-file-name)
3275 (tramp-handle-substitute-in-file-name): Remove 'url case.
3276 (tramp-file-name-regexp-url)
3277 (tramp-completion-file-name-regexp-url): Remove constants.
3278
39785324
GM
32792013-09-06 Glenn Morris <rgm@gnu.org>
3280
3281 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3282
1f896cb7
DG
32832013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3284
3285 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3286 keywords" below "here-doc beginnings" (Bug#15270).
3287
c0458e0b
SM
32882013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * subr.el (pop): Use `car-safe'.
3291 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3292 to detect unused `pop' return value.
3293
3294 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3295 var `block-regexp'.
3296 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3297 (python-fill-string): Remove unused var `marker'.
3298 (python-skeleton-add-menu-items): Remove unused var `items'.
3299
3300 * international/mule-cmds.el: Require CL.
3301 (find-coding-systems-for-charsets): Avoid add-to-list.
3302 (sanitize-coding-system-list): New function, extracted from
3303 select-safe-coding-system-interactively.
3304 (select-safe-coding-system-interactively): Use it.
3305 (read-input-method-name): Accept symbols for `default'.
3306
3307 * emacs-lisp/advice.el (defadvice): Add indent rule.
3308
6c42fc3e
DH
33092013-09-05 Daniel Hackney <dan@haxney.org>
3310
3311 * dired-x.el:
3312 * net/ange-ftp.el:
3313 * net/browse-url.el:
3314 * net/dbus.el:
3315 * net/eudc.el:
3316 * net/eudcb-ldap.el:
3317 * net/eww.el:
3318 * net/imap.el:
3319 * printing.el:
3320 * vc/ediff-diff.el:
3321 * vc/ediff-init.el:
3322 * vc/ediff-merg.el:
3323 * vc/ediff-mult.el:
3324 * vc/ediff-util.el:
3325 * vc/ediff-wind.el:
3326 * vc/ediff.el:
3327 * vc/emerge.el:
3328 * vc/pcvs.el:
3329 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3330 byte compiler. Remove some unused let-bound variables.
3331
4c528aab
SM
33322013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3335 a "ref-cell", since it gets better optimized (bug#14883).
3336
bd15c390
GM
33372013-09-05 Glenn Morris <rgm@gnu.org>
3338
3339 * progmodes/cc-awk.el (c-forward-sws): Declare.
3340
1c3ac2e5
GM
33412013-09-04 Glenn Morris <rgm@gnu.org>
3342
3343 * generic-x.el [rul-generic-mode]: Require cc-mode.
3344 (c++-mode-syntax-table): Declare.
3345 (rul-generic-mode-syntax-table): Init in the defvar.
3346
52b1cc79
SM
33472013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3348
c828af56
SM
3349 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3350 (vc-do-command, vc-set-async-update):
3351 * vc/vc-mtn.el (vc-mtn-dir-status):
3352 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3353 (vc-hg-pull, vc-hg-merge-branch):
3354 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3355 (vc-git-merge-branch):
3356 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3357 (vc-cvs-dir-status-files):
3358 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3359 (vc-bzr-dir-status-files):
3360 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3361 * vc/vc-annotate.el: Use lexical-binding.
3362 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3363 (vc-sentinel-movepoint): Declare.
3364 (vc-annotate): Don't use `goto-line'.
3365 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3366 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3367 (vc-sentinel-movepoint): Declare.
3368 * vc/vc-svn.el: Use lexical-binding.
3369 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3370 * vc/vc-sccs.el:
3371 * vc/vc-rcs.el: Use lexical-binding.
3372
abae272c
SM
3373 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3374 `deleted'. Don't drop errors silently.
3375
52b1cc79
SM
3376 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3377
63191d9f
XF
33782013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3379
3380 * vc/vc.el (vc-ignore): Rewrite.
3381 (vc-default-ignore): New function.
3382 (vc-default-ignore-completion-table): Use find-ignore-file.
3383
3384 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3385 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3386 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3387 Remove. Most code moved to vc.el.
3388
9d3f707c
SM
33892013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3390
abae272c 3391 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3392 * net/tramp-smb.el (tramp-smb-get-file-entries):
3393 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3394 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3395
fde38d49
SM
3396 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3397 Update call to it.
3398 (eww-change-select): Remove unused var `properties'.
3399 (eww-make-unique-file-name): Remove unused var `base'.
3400
3401 * finder.el (finder-compile-keywords): Don't mess with windows.
3402
84032db7
SM
3403 * calculator.el (calculator-funcall): Fix typo in last change.
3404
724f5e41
SM
3405 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3406
14b511d4
SM
3407 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3408 <pkg>-autoloads.el file stop us.
3409
9d3f707c 3410 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3411 warnings, and factor out common code.
9d3f707c 3412
88527bc0
DG
34132013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3414
3415 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3416 two-character operators and whether the character preceding them
3417 changes their meaning (Bug#15208).
3418
96edb677
FEG
34192013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3420
3421 Format code sent to Python shell for robustness.
9d3f707c
SM
3422 * progmodes/python.el (python-shell-buffer-substring):
3423 New function.
96edb677
FEG
3424 (python-shell-send-region, python-shell-send-buffer): Use it.
3425
95beaef3
MA
34262013-09-02 Michael Albinus <michael.albinus@gmx.de>
3427
3428 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3429 * net/tramp.el (tramp-user-error): ... here.
3430 (tramp-find-method, tramp-check-proper-host)
3431 (tramp-dissect-file-name, tramp-debug-message)
3432 (tramp-handle-shell-command):
3433 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3434 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3435
3436 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3437
f167c27b
MR
34382013-09-02 Martin Rudalics <rudalics@gmx.at>
3439
3440 * avoid.el (mouse-avoidance-point-position)
3441 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3442 returns nil.
3443
cd16c5f1
FEG
34442013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3445
3446 * progmodes/python.el (python-shell-completion-get-completions):
3447 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3448 (python-nav-if-name-main): New command.
cd16c5f1 3449
e73c3a0d
GM
34502013-09-01 Glenn Morris <rgm@gnu.org>
3451
f8ccce03
GM
3452 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3453 Avoid leading space in $wins. Otherwise the sed command used by
3454 eg compile-main ends up containing "/*.el". (Bug#15170)
3455
e73c3a0d
GM
3456 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3457
415f808e
GM
34582013-08-30 Glenn Morris <rgm@gnu.org>
3459
3460 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3461 Fix is-this-a-directory logic. (Bug#15220)
3462
f069bba8
SM
34632013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3464
112798c1
SM
3465 * textmodes/css-mode.el: Use SMIE.
3466 (css-smie-grammar): New var.
3467 (css-smie--forward-token, css-smie--backward-token)
3468 (css-smie-rules): New functions.
3469 (css-mode): Use them.
3470 (css-navigation-syntax-table): Remove var.
3471 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3472 (css-indent-calculate, css-indent-line): Remove functions.
3473
3474 Misc changes to reduce use of `(lambda...); and other cleanups.
3475 * cus-edit.el: Use lexical-binding.
3476 (customize-push-and-save, customize-apropos)
3477 (custom-buffer-create-internal): Use closures.
3478 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3479 * progmodes/ada-xref.el: Use setq.
3480 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3481 * dframe.el: Use lexical-binding.
3482 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3483 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3484 * descr-text.el: Use lexical-binding.
3485 (describe-text-widget, describe-text-sexp, describe-property-list):
3486 Use closures.
3487 * comint.el (comint-history-isearch-push-state): Use a closure.
3488 * calculator.el: Use lexical-binding.
3489 (calculator-number-to-string): Make it work with lexical-binding.
3490 (calculator-funcall): Same and use cl-letf.
3491
2da4c3ab
SM
3492 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3493 (lisp--company-doc-string, lisp--company-location): New functions.
3494 (lisp-completion-at-point): Use them to improve Company support.
3495
f069bba8
SM
3496 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3497 params of lambda expressions.
3498 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3499 (ruby-smie--opening-pipe-p): New function.
3500 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3501 symbols and matched |...| for formal params.
3502 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3503 from being treated as hanging. Handle "rescue".
3504
6758b6a8
GM
35052013-08-29 Glenn Morris <rgm@gnu.org>
3506
3507 * progmodes/cc-engine.el (c-pull-open-brace):
3508 Move definition before use.
3509
e8dfd197
SM
35102013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3513 are immutable. Don't use `unsafe' any more.
3514 (cl--defsubst-expand): Don't substitute at the same time as keeping
3515 a residual unused let-binding. Don't use `unsafe' any more.
3516
cc585c96
GM
35172013-08-29 Glenn Morris <rgm@gnu.org>
3518
ba579ea6
GM
3519 * calendar/cal-china.el (calendar-chinese-year-cache):
3520 Recenter on 2015.
3521
8201a87e
GM
3522 * nxml/nxml-util.el (nxml-debug-clear-inside):
3523 Use cl-loop rather than loop.
3524
6ee877c7
GM
3525 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3526
cc585c96
GM
3527 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3528
27be8d39
GM
35292013-08-28 Glenn Morris <rgm@gnu.org>
3530
397440a1
GM
3531 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3532
2bb762d4
GM
3533 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3534
27be8d39
GM
3535 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3536
2d69b99e
SM
35372013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3538
f663baa7
SM
3539 * simple.el (repeat-complex-command--called-interactively-skip):
3540 New function.
3541 (repeat-complex-command): Use it (bug#14136).
3542
dd4f8b74
SM
3543 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3544 (c-define-abbrev-table): Add `doc' argument.
3545 (c-mode-abbrev-table, c++-mode-abbrev-table)
3546 (objc-mode-abbrev-table, java-mode-abbrev-table)
3547 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3548 (awk-mode-abbrev-table): Use it.
3549 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3550 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3551 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3552 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3553 Move initialization into the declaration; and remove any
3554 autoload cookie.
3555
b58969f7
SM
3556 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3557 and dynamic let binding.
3558
4021d6a6
SM
3559 * vc/smerge-mode.el: Remove redundant :group args.
3560
2d69b99e
SM
3561 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3562 to load-path.
3563
274919fd
JL
35642013-08-28 Juri Linkov <juri@jurta.org>
3565
3566 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3567 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3568 (isearch-other-meta-char): Handle an undefined shifted printing
3569 character by downshifting it. (Bug#15200)
3570
121f8c95
JL
35712013-08-28 Juri Linkov <juri@jurta.org>
3572
3573 * isearch.el (isearch-search): Change regexp error message for
3574 non-regexp searches. (Bug#15166)
3575
50b13cde
PE
35762013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3577
3578 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3579 for portability to hosts where /bin/sh has problems.
3580
95888bca
SM
35812013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3582
3583 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3584
bbe558f1
JL
35852013-08-27 Juri Linkov <juri@jurta.org>
3586
3587 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3588 in the keyboard macro. (Bug#15126)
3589
26f98a7d
JL
35902013-08-27 Juri Linkov <juri@jurta.org>
3591
3592 * isearch.el (isearch-quote-char): Comment out converting unibyte
3593 to multibyte, thus syncing with its `quoted-insert' counterpart.
3594 (Bug#15166)
3595
7c97d35e
MR
35962013-08-27 Martin Rudalics <rudalics@gmx.at>
3597
3598 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3599 argument in call of get-largest-window (Bug#15185).
3600 Reported by Stephen Leake.
7c97d35e 3601
a0b5606e 36022013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3603
3604 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3605
9e89d835
SM
36062013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3609 from a matcher-function unless there's no more matches (bug#15161).
3610
78fc2530
MA
36112013-08-26 Michael Albinus <michael.albinus@gmx.de>
3612
3613 * minibuffer.el: Revert change from 2013-08-20.
3614
3615 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3616 with text property `tramp-default', if appropriate.
3617 (tramp-check-proper-host): New defun.
3618 (tramp-dissect-file-name): Do not check hostname. Revert change
3619 of 2013-03-18.
3620 (tramp-backtrace): Make VEC-OR-PROC optional.
3621
3622 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3623 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3624 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3625 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3626 Apply `tramp-check-proper-host'.
78fc2530 3627
edca97cd
TH
36282013-08-26 Tassilo Horn <tsdh@gnu.org>
3629
3630 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3631 lambda expression in order to have `describe-variable' display it.
3632
df54bcbd
MA
36332013-08-26 Michael Albinus <michael.albinus@gmx.de>
3634
3635 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3636 BUF can be optional. (Bug#15186)
3637
eed99101
XF
36382013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3639
3640 * progmodes/flymake.el (flymake-get-real-file-name-function):
3641 Fix broken customization. (Bug#15184)
3642
b5eb9035
AM
36432013-08-25 Alan Mackenzie <acm@muc.de>
3644
8a51e842
AM
3645 Improve indentation of bracelists defined by macros (without "=").
3646
3647 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3648 expansion begins with "{", regard it as bracelist when it doesn't
3649 contain a ";".
3650
869455d4
AM
3651 Parse C++ inher-intro when there's a template split over 2 lines.
3652
3653 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3654 rigorously the search for "class" etc. followed by ":".
3655
3656 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3657 random languages a regexp which never matches rather than nil.
3658
b5eb9035
AM
3659 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3660
3661 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3662 (c-awk-regexp-one-line-possibly-open-char-list-re)
3663 (c-awk-one-line-possibly-open-regexp-re)
3664 (c-awk-one-line-non-syn-ws*-re): Remove.
3665 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3666 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3667 (c-awk-space*-unclosed-regexp-/-re): New constants.
3668 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3669 aren't regexp delimiters.
3670
3671 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3672 handling for a rare situation in AWK Mode involving unterminated
3673 strings/regexps.
3674
61611d54
GM
36752013-08-23 Glenn Morris <rgm@gnu.org>
3676
2d85dc34
GM
3677 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3678
cb8d2612
GM
3679 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3680
bb35f42f
GM
3681 * files.el (create-file-buffer): If the result would begin with
3682 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3683
b9808e77
SM
36842013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3685
e3a66363
SM
3686 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3687 text-properties (bug#15155).
3688
b9808e77
SM
3689 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3690 exist any more.
3691 (calc-keypad-redraw): Remove unused var `pad'.
3692 (calc-keypad-press): Remove unused var `menu'.
3693
7fd5f65e
MR
36942013-08-23 Martin Rudalics <rudalics@gmx.at>
3695
b9808e77
SM
3696 * window.el (display-buffer-pop-up-frame):
3697 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3698 use it as the new frame's buffer (Bug#15133).
3699
8352b530
SM
37002013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * calendar/timeclock.el: Minor cleanups.
3703 (timeclock-ask-before-exiting, timeclock-use-display-time):
3704 Use `symbol'.
3705 (timeclock-modeline-display): Define as alias before the
3706 actual definition.
3707 (timeclock-mode-line-display): Use define-minor-mode.
3708 (timeclock-day-list-template): Make it a function, add an argument.
3709 (timeclock-day-list-required, timeclock-day-list-length)
3710 (timeclock-day-list-debt, timeclock-day-list-span)
3711 (timeclock-day-list-break): Adjust calls accordingly.
3712
9f7b1925
SM
37132013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3716 Use read--expression so that completion works again.
3717
6e50e983
SS
37182013-08-21 Sam Steingold <sds@gnu.org>
3719
3720 Add rudimentary inferior shell interaction
3721 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3722 (sh-set-shell): Reset it.
9f7b1925
SM
3723 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3724 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3725
dbb0d350
SM
37262013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * align.el: Use lexical-binding.
3729 (align-region): Simplify accordingly.
3730
c88586a9
MA
37312013-08-20 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3734
3735 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3736 `non-essential' up.
3737
f95527c8
MA
37382013-08-17 Michael Albinus <michael.albinus@gmx.de>
3739
3740 * net/tramp.el:
3741 * net/tramp-adb.el:
3742 * net/tramp-cmds.el:
3743 * net/tramp-ftp.el:
3744 * net/tramp-gvfs.el:
3745 * net/tramp-gw.el:
3746 * net/tramp-sh.el: Don't wrap external variable declarations by
3747 `eval-when-compile'.
3748
4b5fe4ee
LMI
37492013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3750
3751 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3752 now that Emacs supports ImageMagick animations.
3753
13c366c9
MA
37542013-08-16 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3757 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3758
3dfc5cd6
MR
37592013-08-16 Martin Rudalics <rudalics@gmx.at>
3760
3761 * window.el (mouse-autoselect-window-select): Do autoselect when
3762 mouse pointer is on margin.
3763
4bbb4381
WP
37642013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3765
3766 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3767
3a2ddc2d
GM
37682013-08-16 Glenn Morris <rgm@gnu.org>
3769
e8bedf5a
GM
3770 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3771 Handle "Remote Directory" response of some clients. (Bug#15058)
3772
58c4682f
GM
3773 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3774 Tweak warning. (Bug#14926)
3775
57953f49
GM
3776 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3777 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3778
3a2ddc2d
GM
3779 * image-mode.el (image-mode-map): Add menu items to reverse,
3780 increase, decrease, reset animation speed.
3781 (image--set-speed, image-increase-speed, image-decrease-speed)
3782 (image-reverse-speed, image-reset-speed): New functions.
3783 (image-mode-map): Add bindings for speed commands.
3784
3785 * image.el (image-animate-get-speed, image-animate-set-speed):
3786 New functions.
3787 (image-animate-timeout): Respect image :speed property.
3788
10fa0ed3
SM
37892013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3792 previous line (bug#15101).
3793 (debugger-eval-expression, debugger-record-expression):
3794 Use read--expression (bug#15102).
3795
5d89d9d2
MA
37962013-08-15 Michael Albinus <michael.albinus@gmx.de>
3797
3798 Remove byte compiler warnings, visible when compiling with
3799 `byte-compile-force-lexical-warnings' set to t.
3800
3801 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3802 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3803 (tramp-handle-unhandled-file-name-directory)
3804 (tramp-handle-file-notify-add-watch, tramp-action-login)
3805 (tramp-action-succeed, tramp-action-permission-denied)
3806 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3807 arguments with "_".
3808
3809 * net/tramp-adb.el (tramp-adb-parse-device-names)
3810 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3811 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3812 (tramp-adb-handle-file-truename): Remove unused arguments.
3813
3814 * net/tramp-cache.el (tramp-flush-directory-property)
3815 (tramp-flush-connection-property, tramp-list-connections)
3816 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3817
10fa0ed3
SM
3818 * net/tramp-compat.el (tramp-compat-make-temp-file):
3819 Rename FILENAME to F.
5d89d9d2
MA
3820
3821 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3822 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3823 (tramp-zeroconf-parse-workstation-device-names)
3824 (tramp-zeroconf-parse-webdav-device-names)
3825 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3826
3827 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3828 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3829
3830 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3831 arguments.
3832 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3833 (tramp-sh-handle-insert-file-contents-literally)
3834 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3835 with "_".
3836 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3837 Remove unused variables.
3838
3839 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3840 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3841 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3842
3843 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3844 Make them a defconst.
3845 (tramp-uuencode-region): Remove unused variable.
3846
62f33bae
JB
38472013-08-14 Juanma Barranquero <lekktu@gmail.com>
3848
3849 * frameset.el (frameset--prop-setter): New function.
3850 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3851 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3852 parameter was already set in FILTERED. Doc fix.
3853 (frameset--record-minibuffer-relationships): Allow saving a
3854 minibufferless frame without its corresponding minibuffer frame.
3855 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3856 frame, if the frame id matches.
3857 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3858 frames before orphaned ones.
3859 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3860
c660a885
MR
38612013-08-14 Martin Rudalics <rudalics@gmx.at>
3862
3863 * window.el (window-make-atom): Don't overwrite parameter
3864 already present.
3865 (display-buffer-in-atom-window): Handle special case where we
3866 split an already atomic window.
3867 (window--major-non-side-window, display-buffer-in-side-window)
3868 (window--side-check): Ignore minibuffer window when walking
3869 window tree.
3870 (window-deletable-p): Return 'frame only if no other frame uses
3871 our minibuffer window.
3872 (record-window-buffer): Run buffer-list-update-hook.
3873 (split-window): Make sure window--check-frame won't destroy an
3874 existing atomic window in case the new window gets nested
3875 inside.
3876 (display-buffer-at-bottom): Ignore minibuffer window when
3877 walking window tree. Don't split a side window.
3878 (pop-to-buffer): Don't set-buffer here, the select-window call
3879 should do that.
3880 (mouse-autoselect-window-select): Autoselect only if we are in the
3881 text portion of the window.
3882
8259030d
LMI
38832013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3884
21c58ae2
LMI
3885 * net/shr.el (shr-parse-image-data): New function to grab both the
3886 data itself and the Content-Type.
3887 (shr-put-image): Use it.
3888
3889 * net/eww.el (eww-display-image): Ditto.
3890
8259030d
LMI
3891 * image.el (image-content-type-suffixes): New variable.
3892
ad756449
FEG
38932013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3894
3895 * progmodes/python.el (python-imenu--build-tree)
3896 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3897
f73f4ce6
XF
38982013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3899
3900 * simple.el (backward-word): Mention the optional argument.
3901
1f585e65
SM
39022013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * frameset.el (frameset--make): Rename constructor from make-frameset.
3905 (frameset-p, frameset-valid-p): Don't autoload.
3906 (frameset-valid-p): Use normal accessors.
3907
af1c6c84
GM
39082013-08-13 Glenn Morris <rgm@gnu.org>
3909
55e47f95
GM
3910 * progmodes/compile.el (compile-command): Tweak example in doc.
3911 * obsolete/scribe.el (scribe-mode):
3912 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3913
f0024d8c
GM
3914 * mail/feedmail.el (feedmail-confirm-outgoing)
3915 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3916
3917 * cus-start.el (truncate-partial-width-windows): Fix type.
3918
3919 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3920
af1c6c84
GM
3921 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3922
5514cc4c
SM
39232013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * emacs-lisp/timer.el (timer--time-setter): New function.
3926 (timer--time): Use it as gv-setter.
3927
3928 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3929 setter is not a symbol.
3930
7997a2f1
GJ
39312013-08-12 Grégoire Jadi <daimrod@gmail.com>
3932
3933 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3934 if sending fails. This makes debugging easier.
3935
01f1a9ab
JB
39362013-08-12 Juanma Barranquero <lekktu@gmail.com>
3937
3938 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3939 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3940 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3941
594a4307
EZ
39422013-08-12 Eli Zaretskii <eliz@gnu.org>
3943
3944 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3945
7a22490f 39462013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3947
3948 * format.el (format-annotate-function):
3949 Handle read-only text properties in the source. (Bug#14887)
3950
3e41a054
LMI
39512013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3952
5514cc4c
SM
3953 * net/eww.el (eww-display-html): Ignore coding system errors.
3954 One web site uses "utf-8lias" as the coding system.
3e41a054 3955
7ec326db
JB
39562013-08-11 Juanma Barranquero <lekktu@gmail.com>
3957
3958 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3959
5660113b
JB
39602013-08-10 Juanma Barranquero <lekktu@gmail.com>
3961
9a4ebc74
JB
3962 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3963 (tutorial--detailed-help): Remove unused local variables.
3964 (tutorial--save-tutorial-to): Use ignore-errors.
3965 (help-with-tutorial): Use looking-at-p.
3966
3967 * view.el (view-buffer-other-window, view-buffer-other-frame):
3968 Mark unused arguments.
3969
3970 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3971 (woman-select-symbol-fonts, woman, woman-find-file)
3972 (woman-insert-file-contents, woman-non-underline-faces):
3973 Use string-match-p.
3974 (woman1-unquote): Move declaration.
3975
3976 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3977 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3978 argument. Remove unused local variable.
3979 (xml-parse-elem-type): Use string-match-p.
3980 (xml-substitute-numeric-entities): Use ignore-errors.
3981
45fdb482
JB
3982 * calculator.el (calculator): Mark unused argument.
3983 (calculator-paste, calculator-quit, calculator-integer-p):
3984 Use ignore-errors.
3985 (calculator-string-to-number, calculator-decimal, calculator-exp)
3986 (calculator-op-or-exp): Use string-match-p.
3987
3988 * dired.el (dired-buffer-more-recently-used-p): Declare.
3989 (dired-insert-set-properties, dired-insert-old-subdirs):
3990 Use ignore-errors.
3991
3992 * dired-aux.el (dired-compress): Use ignore-errors.
3993 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3994 (dired-do-async-shell-command, dired-do-shell-command)
3995 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3996 (dired-insert-subdir-validate): Use string-match-p.
3997 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3998 (dired-add-entry): Use string-match-p, looking-at-p.
3999 (dired-insert-subdir-newpos): Remove unused local variable.
4000
4001 * filenotify.el (file-notify-callback): Remove unused local variable.
4002
4003 * filesets.el (filesets-error): Mark unused argument.
4004 (filesets-which-command-p, filesets-filter-dir-names)
4005 (filesets-directory-files, filesets-get-external-viewer)
4006 (filesets-ingroup-get-data): Use string-match-p.
4007
4008 * find-file.el (ff-other-file-name, ff-other-file-name)
4009 (ff-find-the-other-file, ff-cc-hh-converter):
4010 Remove unused local variables.
4011 (ff-get-file-name): Use string-match-p.
4012 (ff-all-dirs-under): Use ignore-errors.
4013
4014 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4015 (follow-select-if-visible): Remove unused local variable.
4016
4017 * forms.el (read-file-filter): Move declaration.
4018 (forms--make-format, forms--make-parser, forms-insert-record):
4019 Quote function with #'.
4020 (forms--update): Use string-match-p. Quote function with #'.
4021
4022 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4023 (help-make-xrefs): Use looking-at-p.
4024 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4025
4026 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4027 (ibuffer-confirm-operation-on): Use string-match-p.
4028
4029 * msb.el (msb-item-handler, msb-dired-item-handler):
4030 Mark unused arguments.
4031
4032 * ses.el (ses-decode-cell-symbol)
4033 (ses-kill-override): Remove unused local variable.
4034 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4035 (ses-load): Use ignore-errors, looking-at-p.
4036 (ses-jump-safe): Use ignore-errors.
4037 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4038
4039 * tabify.el (untabify, tabify): Mark unused arguments.
4040
4041 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4042 Mark unused argument.
4043 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4044 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4045
c880af52
JB
4046 * emacs-lisp/timer.el (timer--time): Define setter with
4047 gv-define-setter to avoid deprecation warning.
4048
5660113b 4049 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4050 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4051 (cmpl-statistics-block): Remove (body was commented out).
4052 All callers changed.
4053 (add-completions-from-buffer, load-completions-from-file):
4054 Remove unused variables.
4055
156aab80
JB
40562013-08-09 Juanma Barranquero <lekktu@gmail.com>
4057
5c5dee78
JB
4058 * filecache.el (file-cache-delete-file-list):
4059 Print message only when told so.
4060 (file-cache-files-matching): Use #' in mapconcat argument.
4061
156aab80
JB
4062 * ffap.el (ffap-url-at-point): Fix reference to variable
4063 thing-at-point-default-mail-uri-scheme.
4064
ad9dcd70
SM
40652013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4066
54bd972f
SM
4067 * subr.el (define-error): New function.
4068 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4069 error-file-not-found and define with define-error.
4070 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4071 and define with define-error.
4072 * userlock.el (file-locked, file-supersession):
4073 * simple.el (mark-inactive):
4074 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4075 * progmodes/ada-mode.el (ada-mode-errors):
4076 * play/life.el (life-extinct):
4077 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4078 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4079 * nxml/rng-util.el (rng-error):
4080 * nxml/rng-uri.el (rng-uri-error):
4081 * nxml/rng-match.el (rng-compile-error):
4082 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4083 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4084 * nxml/nxml-rap.el (nxml-scan-error):
4085 * nxml/nxml-outln.el (nxml-outline-error):
4086 * net/soap-client.el (soap-error):
4087 * net/gnutls.el (gnutls-error):
4088 * net/ange-ftp.el (ftp-error):
4089 * mpc.el (mpc-proc-error):
4090 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4091 (json-number-format, json-string-escape, json-string-format)
4092 (json-key-format, json-object-format):
4093 * jka-compr.el (compression-error):
4094 * international/quail.el (quail-error):
4095 * international/kkc.el (kkc-error):
4096 * emacs-lisp/ert.el (ert-test-failed):
4097 * calc/calc.el (calc-error, inexact-result, math-overflow)
4098 (math-underflow):
4099 * bookmark.el (bookmark-error-no-filename):
4100 * epg.el (epg-error): Define with define-error.
4101
0ea9e53a
SM
4102 * time.el (display-time-event-handler)
4103 (display-time-next-load-average): Don't call sit-for since it seems
4104 unnecessary (bug#15045).
4105
b0429158
SM
4106 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4107 Use #' instead of ' to quote functions.
4108 (checkdoc-output-mode): Use setq-local.
4109 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4110 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4111 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4112 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4113 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4114 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4115 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4116 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4117
ad9dcd70
SM
4118 * ido.el (ido-completion-help): Fix up compiler warning.
4119
77187e6f
JB
41202013-08-09 Juanma Barranquero <lekktu@gmail.com>
4121
4122 * frameset.el (frameset-p): Add autoload cookie.
4123 (frameset--jump-to-register): New function, based on code moved from
4124 register.el.
4125 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4126
4127 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4128 (frameset-restore, frameset-save, frameset-session-filter-alist):
4129 Remove declarations.
4130 (register-alist): Doc fix.
4131 (frameset-to-register): Move to frameset.el.
4132 (jump-to-register, describe-register-1): Remove frameset-specific code.
4133
9d3aa82c
JB
41342013-08-08 Juanma Barranquero <lekktu@gmail.com>
4135
4136 * allout-widgets.el (allout-widgets-pre-command-business)
4137 (allout-widgets-post-command-business)
4138 (allout-widgets-after-change-handler)
4139 (allout-decorate-item-and-context, allout-set-boundary-marker)
4140 (allout-body-modification-handler)
4141 (allout-graphics-modification-handler): Mark ignored arguments.
4142 (allout-widgets-post-command-business)
4143 (allout-widgets-exposure-change-processor)
4144 (allout-widgets-exposure-undo-processor)
4145 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4146 (allout-parse-item-at-point, allout-decorate-item-guides)
4147 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4148 * allout.el (epa-passphrase-callback-function): Declare.
4149 (allout-overlay-insert-in-front-handler)
4150 (allout-overlay-interior-modification-handler)
4151 (allout-isearch-end-handler, allout-chart-siblings)
4152 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4153 (allout-yank-processing, allout-process-exposed)
4154 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4155 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4156 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4157 (lisp-indent-defform): Mark ignored arguments.
4158 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4159 (calculate-lisp-indent): Remove unused variables.
4160 * international/characters.el (indian-2-column, arabic-2-column)
4161 (tibetan): Mark ignored arguments.
4162 (use-cjk-char-width-table): Mark ignored arguments.
4163 Remove unused variables.
4164 * international/fontset.el (build-default-fontset-data)
4165 (x-compose-font-name, create-fontset-from-fontset-spec):
4166 Mark ignored arguments.
4167 (fontset-plain-name): Remove unused variables.
4168 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4169 (keyboard-coding-system): Mark ignored arguments.
4170 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4171 * help.el (resize-temp-buffer-window):
4172 * window.el (display-buffer-in-major-side-window)
4173 (display-buffer-in-side-window, display-buffer-in-previous-window):
4174 Remove unused variables.
4175 * isearch.el (isearch-forward-symbol):
4176 * version.el (emacs-bzr-version-bzr):
4177 * international/mule-cmds.el (current-language-environment):
4178 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4179 (x-handle-display):
4180 * term/pc-win.el (x-list-fonts, x-display-planes)
4181 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4182 (x-server-version, x-display-screens, x-display-mm-height)
4183 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4184 (x-selection-owner-p, x-own-selection-internal)
4185 (x-disown-selection-internal, x-get-selection-internal)
4186 (msdos-initialize-window-system):
4187 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4188 * term/x-win.el (x-handle-no-bitmap-icon):
4189 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4190 (vc-default-find-file-hook, vc-default-extra-menu):
4191 Mark ignored arguments.
4192
0ca3f70e
SM
41932013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4196 break-condition in the context of the debugged code (bug#12685).
4197
74c5d24c
CS
41982013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4199
4200 * comint.el:
4201 Do not use an overlay to highlight the last prompt. (Bug#14744)
4202 (comint-mode): Make comint-last-prompt buffer local.
4203 (comint-last-prompt): New variable.
4204 (comint-last-prompt-overlay): Remove. Superseded by
4205 comint-last-prompt.
0ca3f70e
SM
4206 (comint-snapshot-last-prompt, comint-output-filter):
4207 Use comint-last-prompt.
74c5d24c 4208
c03c02ee
JB
42092013-08-08 Juanma Barranquero <lekktu@gmail.com>
4210
a3738d20 4211 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4212 (frameset-save): Check validity of the resulting frameset.
4213
04263d23
XF
42142013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4215
4216 * ido.el (ido-record-command): Add doc string.
4217
76c5e5ab
JB
42182013-08-08 Juanma Barranquero <lekktu@gmail.com>
4219
4220 * frameset.el (frameset): Do not disable creation of the default
4221 frameset-p predicate. Doc fix.
4222 (frameset-valid-p): New function, copied from the old predicate-p.
4223 Add additional checks.
4224 (frameset-restore): Check with frameset-valid-p.
4225 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4226 (frameset-name, frameset-description, frameset-properties)
4227 (frameset-states): Add docstring.
f9dbf1cb
JB
4228 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4229 (frameset-filter-alist): Doc fixes.
76c5e5ab 4230
bd0c3c0b
JB
42312013-08-08 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4234
c735544c
SM
42352013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4238 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4239 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4240 (byte-compile-normal-call): Remove obsolescence check.
4241
2805a651
JB
42422013-08-08 Juanma Barranquero <lekktu@gmail.com>
4243
3677ffeb
JB
4244 * frameset.el (frameset-restore): Doc fix.
4245
2805a651
JB
4246 * register.el (frameset-frame-id, frameset-frame-with-id)
4247 (frameset-p, frameset-restore, frameset-save): Declare.
4248 (register-alist): Document framesets.
4249 (frameset-session-filter-alist): Declare.
4250 (frameset-to-register): New function.
4251 (jump-to-register): Implement jumping to framesets. Doc fix.
4252 (describe-register-1): Describe framesets.
4253
4254 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4255
a912c016
JB
42562013-08-07 Juanma Barranquero <lekktu@gmail.com>
4257
4258 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4259 Use lexical-binding.
4260
4261 * frameset.el (frameset): Use type vector, not list (incompatible
4262 change). Do not declare a new constructor, use the default one.
4263 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4264 `name' and `description', respectively, and add read-only slot
4265 `timestamp'. Doc fixes.
4266 (frameset-copy, frameset-persistent-filter-alist)
4267 (frameset-filter-alist, frameset-switch-to-gui-p)
4268 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4269 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4270 (frameset-filter-iconified, frameset-keep-original-display-p):
4271 Doc fixes.
4272 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4273 Rename from frameset-filter-(save|restore)-param. All callers changed.
4274 Doc fix.
4275 (frameset-p): Adapt to change to vector and be more thorough.
4276 Change arg name to OBJECT. Doc fix.
4277 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4278 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4279 All callers changed.
4280 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4281 All callers changed.
4282 (frameset--record-minibuffer-relationships): Rename from
4283 frameset--process-minibuffer-frames. All callers changed.
4284 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4285 Use new default constructor (again). Doc fix.
4286 (frameset--find-frame-if): Rename from `frameset--find-frame.
4287 All callers changed.
4288 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4289 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4290 Doc fix.
4291 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4292 PARAMETERS and WINDOW-STATE, respectively.
4293 (frameset-restore): Add new keyword argument PREDICATE.
4294 Reset frameset--target-display to nil. Doc fix.
4295
bb41480a
SM
42962013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4297
f001e98e
SM
4298 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4299 (bat-mode): Use it.
4300 (bat-mode-syntax-table): Mark \n as end-of-comment.
4301 (bat-font-lock-keywords): Remove comment rule.
4302
7679edb1
SM
4303 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4304 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4305
bb41480a
SM
4306 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4307 (byte-compile-callargs-warn): Use `push'.
4308 (byte-compile-arglist-warn): Ignore higher-order "calls".
4309 (byte-compile-file-form-autoload): Use `pcase'.
4310 (byte-compile-function-form): If quoting a symbol, check that it exists.
4311
cdc1ebb9
EZ
43122013-08-07 Eli Zaretskii <eliz@gnu.org>
4313
4314 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4315 and add a few popular commands found in batch files.
4316 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4317 (dos-mode): Doc fixes.
4318
312b1740
SM
43192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4322 (dos-mode): Use setq-local. Add space after "rem".
4323 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4324 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4325
400a3178
AM
43262013-08-07 Arni Magnusson <arnima@hafro.is>
4327
4328 * progmodes/dos.el: New file.
4329 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4330 dos-mode.
4331
3b5c03d3
GM
43322013-08-06 Glenn Morris <rgm@gnu.org>
4333
4334 * calendar/calendar.el: Add new faces, and day-header-array.
4335 (calendar-weekday-header, calendar-weekend-header)
4336 (calendar-month-header): New faces.
4337 (calendar-day-header-construct): New function.
4338 (calendar-day-header-width): Also :set calendar-day-header-array.
4339 (calendar-american-month-header, calendar-european-month-header)
4340 (calendar-iso-month-header): Use calendar- faces.
4341 (calendar-generate-month):
4342 Use calendar-day-header-array for day headers; apply faces to them.
4343 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4344 (calendar-abbrev-construct): Add optional maxlen argument.
4345 (calendar-day-name-array): Doc fix.
4346 (calendar-day-name-array, calendar-abbrev-length)
4347 (calendar-day-abbrev-array):
4348 Also :set calendar-day-header-array, and maybe redraw.
4349 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4350 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4351 (calendar-day-name): Add option to use header array.
4352
ec6a2d7a
LMI
43532013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4354
4355 * net/shr.el (shr-render-td): Remove debugging.
4356 (shr-render-td): Make width computation consistent by defaulting
4357 all zero-width columns to 10 characters. This may not be optimal,
4358 but it's at least consistent.
2122cb6d
LMI
4359 (shr-make-table-1): Redo last change to fix the real problem in
4360 colspan handling.
ec6a2d7a 4361
ed4fd9c5
DA
43622013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4363
0ca3f70e
SM
4364 * files.el (cache-long-line-scans):
4365 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4366
64e22afe
JB
43672013-08-06 Juanma Barranquero <lekktu@gmail.com>
4368
024b38fc
JB
4369 * frameset.el (frameset, frameset-filter-alist)
4370 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4371 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4372 (frameset-compute-pos): Rename from frameset--compute-pos,
4373 and add docstring.
4374 (frameset-move-onscreen): Use frameset-compute-pos.
4375 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4376
64e22afe
JB
4377 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4378 Fix typos in docstrings.
4379
c8c2aca8
DA
43802013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4381
4382 * frame.el (get-other-frame): Tiny cleanup.
4383
1d237bba
JB
43842013-08-06 Juanma Barranquero <lekktu@gmail.com>
4385
8951efef
JB
4386 * vc/vc.el (vc-default-ignore-completion-table):
4387 Silence byte-compiler warning.
4388
307764cc
JB
4389 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4390 slot , which can indeed be nil.
4391 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4392 Move entry for `left' from persistent to live filter alist.
4393 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4394 Doc fixes.
4395 (frameset-filter-params): When restoring a frame, copy items added to
4396 `filtered', to avoid unwittingly modifying the original parameters.
4397 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4398 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4399
1d237bba
JB
4400 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4401 to use looking-at-p instead of looking-at. (Bug#15028)
4402
dc6c0eda
SM
44032013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 Revert introduction of isearch-filter-predicates (bug#14714).
4406 Rely on add-function instead.
4407 * isearch.el (isearch-filter-predicates): Rename it back to
4408 isearch-filter-predicate.
4409 (isearch-message-prefix): Use advice-function-mapc and advice
4410 properties to get the isearch-message-prefix.
4411 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4412 instead of run-hook-with-args-until-failure.
4413 (isearch-filter-visible): Not obsolete any more.
4414 * loadup.el: Preload nadvice.
4415 * replace.el (perform-replace): Revert to funcall
4416 instead of run-hook-with-args-until-failure.
4417 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4418 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4419 dired-isearch-filenames-toggle; make it into a proper minor mode.
4420 Use add/remove-function.
4421 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4422 Call the minor-mode rather than add/remove-hook.
4423 (dired-isearch-filter-filenames):
4424 Remove isearch-message-prefix property.
4425 * info.el (Info--search-loop): New function, extracted from Info-search.
4426 Funcall isearch-filter-predicate instead of
4427 run-hook-with-args-until-failure isearch-filter-predicates.
4428 (Info-search): Use it.
4429 (Info-mode): Use isearch-filter-predicate instead of
4430 isearch-filter-predicates.
4431
290d5b58
DA
44322013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4433
4434 Do not call to `selected-window' where it is assumed by default.
4435 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4436 `window-hscroll', `window-width', `window-height', `window-buffer',
4437 `window-frame', `window-start', `window-point', `next-window'
4438 and `window-display-table'.
4439 * abbrev.el (abbrev--default-expand):
4440 * bs.el (bs--show-with-configuration):
4441 * buff-menu.el (Buffer-menu-mouse-select):
4442 * calc/calc.el (calc):
4443 * calendar/calendar.el (calendar-generate-window):
4444 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4445 (diary-make-entry):
4446 * comint.el (send-invisible, comint-dynamic-complete-filename)
4447 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4448 * completion.el (complete):
4449 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4450 * disp-table.el (describe-current-display-table):
4451 * doc-view.el (doc-view-insert-image):
4452 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4453 * ehelp.el (with-electric-help):
4454 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4455 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4456 * emacs-lisp/helper.el (Helper-help-scroller):
4457 * emulation/cua-base.el (cua--post-command-handler-1):
4458 * eshell/esh-mode.el (eshell-output-filter):
4459 * ffap.el (ffap-gnus-wrapper):
4460 * help-macro.el (make-help-screen):
4461 * hilit-chg.el (highlight-compare-buffers):
4462 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4463 * hl-line.el (global-hl-line-highlight):
4464 * icomplete.el (icomplete-simple-completing-p):
4465 * isearch.el (isearch-done):
4466 * jit-lock.el (jit-lock-stealth-fontify):
4467 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4468 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4469 * mpc.el (mpc-tagbrowser, mpc):
4470 * net/rcirc.el (rcirc-any-buffer):
4471 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4472 * play/landmark.el (landmark-max-width, landmark-max-height):
4473 * play/zone.el (zone):
4474 * progmodes/compile.el (compilation-goto-locus):
4475 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4476 * progmodes/etags.el (find-tag-other-window):
4477 * progmodes/fortran.el (fortran-column-ruler):
4478 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4479 * progmodes/verilog-mode.el (verilog-point-text):
4480 * reposition.el (reposition-window):
4481 * rot13.el (toggle-rot13-mode):
4482 * server.el (server-switch-buffer):
4483 * shell.el (shell-dynamic-complete-command)
4484 (shell-dynamic-complete-environment-variable):
4485 * simple.el (insert-buffer, set-selective-display)
4486 (delete-completion-window):
4487 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4488 (speedbar-recenter):
4489 * startup.el (fancy-splash-head):
4490 * textmodes/ispell.el (ispell-command-loop):
4491 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4492 * tutorial.el (help-with-tutorial):
4493 * vc/add-log.el (add-change-log-entry):
4494 * vc/compare-w.el (compare-windows):
4495 * vc/ediff-help.el (ediff-indent-help-message):
4496 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4497 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4498 (ediff-setup-control-frame):
4499 * vc/emerge.el (emerge-position-region):
4500 * vc/pcvs-util.el (cvs-bury-buffer):
4501 * window.el (walk-windows, mouse-autoselect-window-select):
4502 * winner.el (winner-set-conf, winner-undo): Related users changed.
4503
38276e01
JB
45042013-08-05 Juanma Barranquero <lekktu@gmail.com>
4505
4506 * frameset.el (frameset--set-id): Doc fix.
4507 (frameset-frame-id, frameset-frame-id-equal-p)
4508 (frameset-locate-frame-id): New functions.
4509 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4510 (frameset-restore): Use them.
4511
12b4c0ea
DA
45122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4513
4514 Do not call to `selected-frame' where it is assumed by default.
4515 Affected functions are `raise-frame', `redraw-frame',
4516 `frame-first-window', `frame-terminal' and `delete-frame'.
4517 * calendar/appt.el (appt-disp-window):
4518 * epg.el (epg-wait-for-completion):
4519 * follow.el (follow-delete-other-windows-and-split)
4520 (follow-avoid-tail-recenter):
4521 * international/mule.el (set-terminal-coding-system):
4522 * mail/rmail.el (rmail-mail-return):
4523 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4524 * progmodes/f90.el (f90-add-imenu-menu):
4525 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4526 * server.el (server-switch-buffer):
4527 * simple.el (delete-completion-window):
4528 * talk.el (talk):
4529 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4530 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4531 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4532 * vc/ediff.el (ediff-documentation): Related users changed.
4533 * frame.el (selected-terminal): Remove the leftover.
4534
17f25e76
GM
45352013-08-05 Glenn Morris <rgm@gnu.org>
4536
4537 * calendar/calendar.el (calendar-generate-month):
4538 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4539 (calendar-generate-month, calendar-font-lock-keywords):
4540 Fix for calendar-day-header-width > length of any day name.
17f25e76 4541
063233c3
JB
45422013-08-05 Juanma Barranquero <lekktu@gmail.com>
4543
4544 * desktop.el (desktop-clear): Use new name of sort predicate.
4545
4546 * frameset.el (frameset): Add docstring. Move :version property to its
4547 own `version' slot.
4548 (frameset-copy): Rename from copy-frameset.
4549 (frameset-p): Check more thoroughly.
4550 (frameset-prop): Do not check for :version, which is no longer a prop.
4551 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4552 Use new :never value instead of t.
4553 (frameset-filter-alist): Expand and clarify docstring.
4554 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4555 (frameset-filter-minibuffer, frameset-filter-save-param)
4556 (frameset-filter-restore-param, frameset-filter-iconified):
4557 Add pointer to docstring of frameset-filter-alist.
4558 (frameset-filter-params): Rename filter values to be more meaningful:
4559 :never instead of t, and reverse the meanings of :save and :restore.
4560 (frameset--process-minibuffer-frames): Clarify error message.
4561 (frameset-save): Avoid unnecessary and confusing call to framep.
4562 Use new BOA constructor for framesets.
4563 (frameset--reuse-list): Doc fix.
4564 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4565 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4566 (frameset-minibufferless-first-p): Doc fix.
4567 Rename from frameset-sort-frames-for-deletion.
4568 (frameset-restore): Doc fixes. Use new function names.
4569 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4570
d5671a82
JB
45712013-08-04 Juanma Barranquero <lekktu@gmail.com>
4572
4573 * desktop.el (desktop-restore-forces-onscreen)
4574 (desktop-restore-reuses-frames): Document :keyword constant values.
4575 (desktop-filter-parameters-alist): Remove, now identical to
4576 frameset-filter-alist.
4577 (desktop--filter-tty*): Remove, moved to frameset.el.
4578 (desktop-save-frameset, desktop-restore-frameset):
4579 Do not pass :filters argument.
4580
4581 * frameset.el (frameset-live-filter-alist)
4582 (frameset-persistent-filter-alist): New variables.
4583 (frameset-filter-alist): Use them. Add autoload cookie.
4584 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4585 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4586 `frameset--id' (it's supposed to be internal to frameset.el).
4587 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4588 (frameset--initial-params): New function.
4589 (frameset--get-frame): Use it. Doc fix.
4590 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4591 Accept :all, not 'all.
4592 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4593 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4594 with fbound symbols. Fix frame id matching, and remove matching ids if
4595 the frame being restored is deleted. Obey :delete.
4596
671d5c16
SM
45972013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * subr.el (macrop): New function.
4600 (text-clone--maintaining): New var.
4601 (text-clone--maintain): Rename from text-clone-maintain. Use it
4602 instead of inhibit-modification-hooks.
4603
4604 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4605 a proxy, so as handle autoloads and redefinitions of the target.
4606 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4607
4608 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4609 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4610 (pcase--mutually-exclusive-p): New function.
4611 (pcase--split-consp): Use it.
4612 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4613 mutually exclusive with the current predicate.
4614
4615 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4616 (edebug-macrop): Remove. Use `macrop' instead.
4617 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4618 (ad-macro-p):
4619 * eshell/esh-cmd.el (eshell-macrop):
4620 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4621
1d44e9dc
SM
46222013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4625 (advice-mapc): New function, using it.
4626 (advice-function-member-p): New function.
4627 (advice--normalize): Store the cdr in advice--saved-rewrite since
4628 that's the part that will be changed.
4629 (advice--symbol-function): New function.
4630 (advice-remove): Handle removal before the function is defined.
4631 Adjust to new advice--saved-rewrite.
4632 (advice-member-p): Use advice-function-member-p and
4633 advice--symbol-function.
4634
5414a283
JB
46352013-08-04 Juanma Barranquero <lekktu@gmail.com>
4636
51d30f2c
JB
4637 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4638 (frameset-filter-minibuffer): Doc fix.
4639 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4640 (frameset--set-id, frameset--process-minibuffer-frames)
4641 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4642 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4643
5414a283
JB
4644 * desktop.el (desktop-clear): Only delete frames when called
4645 interactively and desktop-restore-frames is non-nil. Doc fix.
4646 (desktop-read): Set desktop-saved-frameset to nil.
4647
ab419665
XF
46482013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4649
4650 * vc/vc.el (vc-ignore): Rewrite.
4651 (vc-default-ignore-completion-table):
4652 (vc--read-lines):
4653 (vc--add-line, vc--remove-regexp): New functions.
4654
4655 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4656 (vc-svn-ignore-completion-table): New function.
4657
4658 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4659 (vc-hg-ignore-completion-table):
4660 (vc-hg-find-ignore-file): New functions.
4661
4662 * vc/vc-git.el (vc-git-ignore): Rewrite.
4663 (vc-git-ignore-completion-table):
4664 (vc-git-find-ignore-file): New functions.
4665
4666 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4667
4668 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4669 (vc-bzr-ignore-completion-table):
4670 (vc-bzr-find-ignore-file): New functions.
4671
2613dea2
JB
46722013-08-03 Juanma Barranquero <lekktu@gmail.com>
4673
4674 * frameset.el (frameset-prop): New function and setter.
4675 (frameset-save): Do not modify frame list passed by the caller.
4676
9c959872
SM
46772013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4680
a104f656
SM
46812013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4682
70122acf
SM
4683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4684 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4685
a104f656
SM
4686 * custom.el (custom-initialize-default, custom-initialize-set)
4687 (custom-initialize-reset, custom-initialize-changed): Affect the
4688 toplevel-default-value (bug#6275, bug#14586).
4689 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4690 for bug#6275.
4691
f078d570
JB
46922013-08-02 Juanma Barranquero <lekktu@gmail.com>
4693
185e3b5a
JB
4694 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4695 Add cl-def* expressions.
4696
f078d570
JB
4697 * frameset.el (frameset-filter-params): Fix order of arguments.
4698
9421876d
JB
46992013-08-02 Juanma Barranquero <lekktu@gmail.com>
4700
4701 Move code related to saving frames to frameset.el.
4702 * desktop.el: Require frameset.
4703 (desktop-restore-frames): Doc fix.
4704 (desktop-restore-reuses-frames): Rename from
4705 desktop-restoring-reuses-frames.
4706 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4707 (desktop-clear): Clear frames too.
4708 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4709 (desktop--filter-tty*, desktop-save, desktop-read):
4710 Use frameset functions.
4711 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4712 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4713 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4714 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4715 (desktop--process-minibuffer-frames, desktop-save-frames)
4716 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4717 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4718 (desktop--sort-states, desktop-restoring-frames-p)
4719 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4720 (desktop-restoring-frameset-p, desktop-restore-frameset)
4721 (desktop--check-dont-save, desktop-save-frameset): New functions.
4722 (desktop--app-id): New constant.
4723 (desktop-first-buffer, desktop-buffer-ok-count)
4724 (desktop-buffer-fail-count): Move before first use.
4725 * frameset.el: New file.
4726
76dc5996
SM
47272013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * files.el: Use lexical-binding.
4730 (dir-locals-read-from-file): Remove unused `err' variable.
4731 (hack-dir-local-variables--warned-coding): New var.
4732 (hack-dir-local-variables): Use it to avoid repeated warnings.
4733 (make-backup-file-name--default-function): New function.
4734 (make-backup-file-name-function): Use it as default.
4735 (buffer-stale--default-function): New function.
4736 (buffer-stale-function): Use it as default.
4737 (revert-buffer-insert-file-contents--default-function): New function.
4738 (revert-buffer-insert-file-contents-function): Use it as default.
4739 (insert-directory): Avoid add-to-list.
4740
4741 * autorevert.el (auto-revert-handler): Simplify.
4742 Use buffer-stale--default-function.
4743
06d36e2b
TH
47442013-08-01 Tassilo Horn <tsdh@gnu.org>
4745
5f648ab4
TH
4746 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4747
06d36e2b
TH
4748 * whitespace.el (whitespace-ensure-local-variables): New function.
4749 (whitespace-cleanup-region): Call it.
4750 (whitespace-turn-on): Call it.
4751
a43dc424
MA
47522013-08-01 Michael Albinus <michael.albinus@gmx.de>
4753
4754 Complete file name handlers.
4755
4756 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4757 (tramp-handle-verify-visited-file-modtime)
4758 (tramp-handle-file-notify-rm-watch): New functions.
4759 (tramp-call-process): Do not bind `default-directory'.
4760
44e18199
JB
4761 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4762 Order alphabetically.
a43dc424
MA
4763 [access-file, add-name-to-file, dired-call-process]:
4764 [dired-compress-file, file-acl, file-notify-rm-watch]:
4765 [file-ownership-preserved-p, file-selinux-context]:
4766 [make-directory-internal, make-symbolic-link, set-file-acl]:
4767 [set-file-selinux-context, set-visited-file-modtime]:
4768 [verify-visited-file-modtime]: Add handler.
4769 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4770
4771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4772 [file-notify-add-watch, file-notify-rm-watch]:
4773 [set-file-times, set-visited-file-modtime]:
4774 [verify-visited-file-modtime]: Add handler.
4775 (with-tramp-gvfs-error-message)
4776 (tramp-gvfs-handle-set-visited-file-modtime)
4777 (tramp-gvfs-fuse-file-name): Remove.
4778 (tramp-gvfs-handle-file-notify-add-watch)
4779 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4780 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4781
44e18199
JB
4782 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4783 Order alphabetically.
a43dc424
MA
4784 [file-notify-rm-watch ]: Use default Tramp handler.
4785 [executable-find]: Remove private handler.
4786 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4787 `default-directory'.
4788 (tramp-sh-handle-executable-find)
4789 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4790 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4791 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4792 Do not use `format' in `tramp-message'.
4793
4794 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4795 [file-notify-rm-watch, set-visited-file-modtime]:
4796 [verify-visited-file-modtime]: Add handler.
4797 (tramp-smb-call-winexe): Do not bind `default-directory'.
4798
7188b515
XF
47992013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4800
4801 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4802
2412ee1a
DG
48032013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4804
4805 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4806 use it.
4807 (log-view-diff-changeset): Same.
4808 (log-view-diff-common): Call backend command `previous-revision'
4809 to find out the previous revision, in both cases. Swap the
4810 variables `to' and `fr', so that `fr' usually refers to the
4811 earlier revision (Bug#14989).
4812
5002a754
KRC
48132013-07-31 Kan-Ru Chen <kanru@kanru.info>
4814
4815 * ibuf-ext.el (ibuffer-filter-by-filename):
4816 Make it work with dired buffers too.
4817
44e18199 48182013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4819
4820 * emacs-lisp/re-builder.el (reb-color-display-p):
4821 * files.el (save-buffers-kill-terminal):
4822 * net/browse-url.el (browse-url):
4823 * server.el (server-save-buffers-kill-terminal):
4824 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4825 Prefer nil to selected-frame for the first arg of frame-parameter.
4826
aeca3fbb
XF
48272013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4828
4829 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4830
158bc55c
SB
48312013-07-30 Stephen Berman <stephen.berman@gmx.net>
4832
4833 * minibuffer.el (completion--twq-all): Try and preserve each
4834 completion's case choice (bug#14907).
4835
d50fceab
LMI
48362013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4837
ac38e731
LMI
4838 * net/network-stream.el (open-network-stream): Mention the new
4839 :nogreeting parameter.
4840 (network-stream-open-starttls): Use the :nogreeting parameter
4841 (bug#14938).
4842
1211de50
LMI
4843 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4844
997798bf
LMI
4845 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4846 more natural than popping.
4847
d50fceab 4848 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4849 (shr-urlify): Highlight under mouse.
d50fceab 4850
5c09de04
XF
48512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4852
207d1d04
XF
4853 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4854
4855 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4856
5c09de04
XF
4857 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4858 buffer for output.
4859
3cd51eaa
XF
4860 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4861 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4862
44e18199 4863 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4864 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4865
4866 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4867
4868 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4869 buffer for output.
4870
35a89bdd
EZ
48712013-07-29 Eli Zaretskii <eliz@gnu.org>
4872
4873 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4874 initial frame is minibuffer-less. (Bug#14841)
4875
78822e94
MA
48762013-07-29 Michael Albinus <michael.albinus@gmx.de>
4877
4878 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4879 option.
4880
4881 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4882 (tramp-maybe-open-connection): Use it.
4883
9503c190
JB
48842013-07-28 Juanma Barranquero <lekktu@gmail.com>
4885
4886 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4887 minimal set of parameters passed when creating a frame, because
4888 the minibuffer status of a frame cannot be changed later.
4889
d5a845b4
SB
48902013-07-28 Stephen Berman <stephen.berman@gmx.net>
4891
4892 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4893 replace-regexp-in-string and inadvertent omissions in previous change.
4894 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4895 name of filtered items buffer.
d5a845b4 4896
ddeffb17
JB
48972013-07-28 Juanma Barranquero <lekktu@gmail.com>
4898
4899 * desktop.el: Optionally force offscreen frames back onscreen.
4900 (desktop-restoring-reuses-frames): New option.
4901 (desktop--compute-pos, desktop--move-onscreen): New functions.
4902 (desktop--make-frame): Use desktop--move-onscreen.
4903
f5950f7a
AM
49042013-07-27 Alan Mackenzie <acm@muc.de>
4905
4906 Fontify a Java generic method as a function.
4907 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4908 value to t.
4909
ae43b66a
SB
49102013-07-27 Stephen Berman <stephen.berman@gmx.net>
4911
4912 * calendar/todo-mode.el: Add command to rename todo files.
4913 (todo-rename-file): New command.
4914 (todo-key-bindings-t): Add key binding for it. Change the
4915 bindings of todo-filter-regexp-items(-multifile) to use `x'
4916 instead of `r', since the latter is better suited to the new
4917 renaming command.
4918
5ab78d3d
AM
49192013-07-27 Alan Mackenzie <acm@muc.de>
4920
4921 Make Java try-with-resources statement parse properly.
4922 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4923 (c-block-stmt-1-2-key): New language constants/variables.
4924 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4925 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4926 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4927 with c-block-stmt-1-2-key.
5ab78d3d 4928
d85c4d50
JB
49292013-07-27 Juanma Barranquero <lekktu@gmail.com>
4930
4931 * desktop.el (desktop--make-frame): Apply most frame parameters after
4932 creating the frame to force (partially or totally) offscreen frames to
4933 be restored as such.
4934
e4c467f9
XF
49352013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4936
4937 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4938 (Bug#14948)
e4c467f9 4939
7ced0d04
SM
49402013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4943 `base' arg of backtrace-frame.
4944
fec92060
EZ
49452013-07-26 Eli Zaretskii <eliz@gnu.org>
4946
4947 * simple.el (list-processes): Doc fix.
4948
d58d31fb
JB
49492013-07-26 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * desktop.el (desktop--select-frame):
d85c4d50 4952 Try harder to reuse existing frames.
d58d31fb 4953
53ff3e77
SM
49542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4957 (edebug-eval): Use backtrace-eval.
4958 (edebug--display, edebug--recursive-edit): Don't let-bind the
4959 edebug-outer-* vars that keep track of variables we locally let-bind.
4960 (edebug-outside-excursion): Don't restore outside values of locally
4961 let-bound vars.
4962 (edebug--display): Use user-error.
4963 (cl-lexical-debug, cl-debug-env): Remove.
4964
045f7a53
JB
49652013-07-26 Juanma Barranquero <lekktu@gmail.com>
4966
4967 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4968 are restored to be sure that they are visible before deleting any
4969 remaining ones.
4970
59070b32
MM
49712013-07-26 Matthias Meulien <orontee@gmail.com>
4972
742a3501
XF
4973 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4974 vc-print-root-log. (Bug#14948)
59070b32 4975
b1fb3596
RS
49762013-07-26 Richard Stallman <rms@gnu.org>
4977
4978 Add aliases for encrypting mail.
4979 * epa.el (epa-mail-aliases): New option.
4980 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4981 Bind inhibit-read-only so read-only text doesn't ruin everything.
4982 (epa-mail-default-recipients): New subroutine broken out.
4983 Handle epa-mail-aliases.
4984
56ea7291
SM
49852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 Add support for lexical variables to the debugger's `e' command.
4988 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4989 vars, except for debugger-outer-match-data.
4990 (debugger-frame-number): Move check for "on a function call" from
4991 callers into it. Add `skip-base' argument.
4992 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4993 (debugger-env-macro): Only reset the state stored in non-variables,
4994 i.e. current-buffer and match-data.
4995 (debugger-eval-expression): Rewrite using backtrace-eval.
4996 * subr.el (internal--called-interactively-p--get-frame): Remove.
4997 (called-interactively-p):
4998 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4999 `base' arg of backtrace-frame instead.
5000
15ac32d5
GM
50012013-07-26 Glenn Morris <rgm@gnu.org>
5002
8358a09d
GM
5003 * align.el (align-regexp): Doc fix. (Bug#14857)
5004 (align-region): Explicit error if subexpression missing/does not match.
5005
15ac32d5
GM
5006 * simple.el (global-visual-line-mode):
5007 Do not duplicate the mode lighter. (Bug#14858)
5008
f47ad11b
MR
50092013-07-25 Martin Rudalics <rudalics@gmx.at>
5010
5011 * window.el (display-buffer): In display-buffer bind
5012 split-window-keep-point to t, bug#14829.
5013
02530987
JB
50142013-07-25 Juanma Barranquero <lekktu@gmail.com>
5015
5016 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5017 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5018 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5019 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5020 Change accordingly.
f63ebeb5
JB
5021 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5022 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5023
6ccb9cab 50242013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5025
6ccb9cab 5026 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5027
cb3a56d2
JB
50282013-07-25 Juanma Barranquero <lekktu@gmail.com>
5029
5030 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5031 parameter to modify-frame-parameters if the value has not changed;
5032 this is a workaround for bug#14949.
5033 (desktop--make-frame): On cl-delete-if call, check parameter name,
5034 not full parameter.
5035
7aa7fff0
XF
50362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5037
5038 * vc/vc.el (vc-ignore): New function.
5039
5040 * vc/vc-svn.el (vc-svn-ignore): New function.
5041
5042 * vc/vc-hg.el (vc-hg-ignore): New function.
5043
5044 * vc/vc-git.el (vc-git-ignore): New function.
5045
5046 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5047 (vc-dir-ignore): New function.
5048
5049 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5050 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5051
5052 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5053
5054 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5055
889acc5c
JB
50562013-07-24 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5059 (desktop-restore-frames): Warn when deleting an existing frame failed.
5060
86c40970
GM
50612013-07-24 Glenn Morris <rgm@gnu.org>
5062
5063 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5064
d5d3c58a
MA
50652013-07-24 Michael Albinus <michael.albinus@gmx.de>
5066
5067 * filenotify.el (file-notify-supported-p):
5068 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5069 Remove functions.
5070
5071 * autorevert.el (auto-revert-use-notify):
5072 (auto-revert-notify-add-watch):
5073 * net/tramp.el (tramp-file-name-for-operation):
5074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5075 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5076 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5078 Remove `file-notify-supported-p' entry.
5079
d100084b
GM
50802013-07-24 Glenn Morris <rgm@gnu.org>
5081
5082 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5083 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5084
ac93e56b
SM
50852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5086
249eea30
SM
5087 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5088 checked with memq (bug#14935).
5089
ac93e56b
SM
5090 * files.el (revert-buffer-function): Use a non-nil default.
5091 (revert-buffer-preserve-modes): Declare var to
5092 provide access to the `preserve-modes' argument.
5093 (revert-buffer): Let-bind it.
5094 (revert-buffer--default): New function, extracted from revert-buffer.
5095
2cdeb903
SM
50962013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * lpr.el: Signal print errors more prominently.
5099 (print-region-function): Don't default to nil.
5100 (lpr-print-region): New function, extracted from print-region-1.
5101 Check lpr's return value and signal an error in case of problem.
5102 (print-region-1): Use it.
5103 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5104 versions instead.
5105 (ps-printer-name): Default to nil.
5106 (ps-printer-name-option): Default to lpr-printer-switch.
5107 (ps-print-region-function): Don't default to nil.
5108 (ps-postscript-code-directory): Simplify default.
5109 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5110 (ps-string-list, ps-eval-switch, ps-flatten-list)
5111 (ps-flatten-list-1): Remove.
5112 (ps-multibyte-buffer): Avoid setq.
5113 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5114 (print-region-function, ps-print-region-function): Don't set them here.
5115
73600831
XF
51162013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5117
0e55c076
XF
5118 * ido.el (ido-fractionp):
5119 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5120 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5121 (ido-max-directory-size, ido-max-dir-file-cache)
5122 (ido-decorations): Doc fix.
5123
73600831
XF
5124 * ansi-color.el: Fix old URL.
5125
3d012865
MM
51262013-07-23 Michael R. Mauger <michael@mauger.com>
5127
e903c210 5128 * progmodes/sql.el: Version 3.3
3d012865
MM
5129 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5130 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5131 (sql-interactive-remove-continuation-prompt): Rewrite, use
5132 functions above. Fix continuation prompt and complete output line
5133 handling.
5134 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5135 redirected output buffer.
5136 (sql-mode): Restore deleted code (Bug#13591).
5137
da77a2e2
JB
51382013-07-23 Juanma Barranquero <lekktu@gmail.com>
5139
5140 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5141
80ff0c71
MA
51422013-07-23 Michael Albinus <michael.albinus@gmx.de>
5143
5144 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5145
5146 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5147 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5148 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5149
b61d71e4
JB
51502013-07-23 Juanma Barranquero <lekktu@gmail.com>
5151
5152 * desktop.el (desktop-clear): Simplify; remove useless checks
5153 against invalid buffer names.
5154 (desktop-list*): Use cl-list*.
5155 (desktop-buffer-info, desktop-create-buffer): Simplify.
5156
c3512092
LL
51572013-07-23 Leo Liu <sdl.web@gmail.com>
5158
5159 * bookmark.el (bookmark-make-record): Restore NAME as a default
5160 value. (Bug#14933)
5161
0ac26976
SM
51622013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5163
7d22ce18
SM
5164 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5165 extracted from autoload--insert-text.
5166 (autoload--insert-text): Remove.
5167 (autoload--print-cookie-text): New function, extracted from
5168 autoload--insert-cookie-text.
5169 (autoload--insert-cookie-text): Remove.
5170 (autoload-generate-file-autoloads): Adjust calls accordingly.
5171
9b2607e8
SM
5172 * winner.el (winner-hook-installed-p): Remove.
5173 (winner-mode): Simplify accordingly.
5174
c43a8618
SM
5175 * subr.el (add-to-list): Fix compiler-macro when `append' is
5176 not constant. Don't use `cl-member' for the base case.
5177
0ac26976
SM
5178 * progmodes/subword.el: Fix boundary case (bug#13758).
5179 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5180 own group.
5181 (subword-backward-regexp): Make it a constant.
5182 (subword-forward-internal): Don't treat a trailing capital as the
5183 beginning of a word.
5184
6874724a
AR
51852013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5186
5187 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5188 global value of tabulated-list-revert-hook (bug#14930).
5189
70f1b5e8
JB
51902013-07-22 Juanma Barranquero <lekktu@gmail.com>
5191
a1c80d9d
JB
5192 * desktop.el: Require 'cl-lib.
5193 (desktop-before-saving-frames-functions): New hook.
5194 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5195 for frames being saved. Rename from desktop--save-minibuffer-frames.
5196 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5197 Do not save frames with non-nil `desktop-dont-save' parameter.
5198 Filter out deleted frames.
a1c80d9d
JB
5199 (desktop--find-frame): Use cl-find-if.
5200 (desktop--select-frame): Use cl-(first|second|third) to access values
5201 of desktop-mini.
5202 (desktop--make-frame): Use cl-delete-if.
5203 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5204 (desktop-restore-frames): Use cl-(first|second|third) to access values
5205 of desktop-mini. Look for visible frame at the end, not while
5206 restoring frames.
5207
70f1b5e8
JB
5208 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5209 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5210 Use string-match-p, looking-at-p (bug#14927).
5211
728dc3cc
JB
52122013-07-21 Juanma Barranquero <lekktu@gmail.com>
5213
56bc453c
JB
5214 * desktop.el (desktop-saved-frame-states):
5215 Rename from desktop--saved-states; all users changed.
5216 (desktop-save-frames): Rename from desktop--save-frames.
5217 Do not save state to desktop file.
5218 (desktop-save): Save desktop-saved-frame-states to desktop file
5219 and reset to nil.
5220 (desktop-restoring-frames-p): New function.
5221 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5222 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5223 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5224
728dc3cc
JB
5225 * desktop.el: Correctly restore iconified frames.
5226 (desktop--filter-iconified-position): New function.
5227 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5228
862f1c9c
GM
52292013-07-20 Glenn Morris <rgm@gnu.org>
5230
c4074c9f
GM
5231 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5232 Let `message' do the formatting.
5233 (def-gdb-preempt-display-buffer): Add explicit format.
5234
d828e5f9
GM
5235 * image-dired.el (image-dired-track-original-file):
5236 Use with-current-buffer.
5237 (image-dired-track-thumbnail): Use with-current-buffer.
5238 Avoid changing point of wrong window.
5239
862f1c9c
GM
5240 * image-dired.el (image-dired-track-original-file):
5241 Avoid changing point of wrong window. (Bug#14909)
5242
f0398ec1 52432013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5244
5245 * progmodes/gdb-mi.el (gdb-done-or-error):
5246 Guard against "%" in gdb output. (Bug#14127)
5247
1451928f
AS
52482013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5249
763a086d
JB
5250 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5251 (Bug#14826)
f7a03897 5252
1451928f
AS
5253 * international/mule.el (coding-system-iso-2022-flags): Fix last
5254 change.
5255
99107004
KH
52562013-07-20 Kenichi Handa <handa@gnu.org>
5257
763a086d
JB
5258 * international/mule.el (coding-system-iso-2022-flags):
5259 Add `8-bit-level-4'. (Bug#8522)
99107004 5260
48494e06
LMI
52612013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5262
8ba8eec5
LMI
5263 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5264 (bug#14815).
5265
dfbc66e3
LMI
5266 * net/eww.el (eww-process-text-input): Allow inputting when the
5267 point is at the start of the line, as the properties aren't
5268 front-sticky.
5269
48494e06
LMI
5270 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5271 degenerate widths.
5272
77c92cb9
RS
52732013-07-19 Richard Stallman <rms@gnu.org>
5274
aec7da77
RS
5275 * epa.el (epa-popup-info-window): Doc fix.
5276
77c92cb9
RS
5277 * subr.el (split-string): New arg TRIM.
5278
945c5bb1
JB
52792013-07-18 Juanma Barranquero <lekktu@gmail.com>
5280
5281 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5282 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5283
e06ec67f
MA
52842013-07-18 Michael Albinus <michael.albinus@gmx.de>
5285
c7064f05 5286 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5287 `file-notify-support'. Do not autoload. Adapt all uses.
5288 (file-notify-supported-p): New defun.
5289
c7064f05
JB
5290 * autorevert.el (auto-revert-use-notify):
5291 Use `file-notify-supported-p' instead of `file-notify-support'.
5292 Adapt docstring.
e06ec67f
MA
5293 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5294
5295 * net/tramp.el (tramp-file-name-for-operation):
5296 Add `file-notify-supported-p'.
5297
5298 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5299 New defun.
5300 (tramp-sh-file-name-handler-alist): Add it as handler for
5301 `file-notify-supported-p '.
5302
5303 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5304 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5305 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5306 Add `ignore' as handler for `file-notify-*' functions.
5307
5dc8a629
EZ
53082013-07-17 Eli Zaretskii <eliz@gnu.org>
5309
5310 * simple.el (line-move-partial, line-move): Don't start vscroll or
5311 scroll-up if the current line is not taller than the window.
5312 (Bug#14881)
5313
77aea2fb
DG
53142013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5315
5316 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5317 highlight question marks in the method names as strings.
ac72c08d
DG
5318 (ruby-block-beg-keywords): Inline.
5319 (ruby-font-lock-keyword-beg-re): Extract from
5320 `ruby-font-lock-keywords'.
77aea2fb 5321
18c26d81
JD
53222013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5323
5324 * frame.el (blink-cursor-blinks): New defcustom.
5325 (blink-cursor-blinks-done): New defvar.
5326 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5327 (blink-cursor-timer-function): Check if number of blinks has been
5328 done on X and NS.
5329 (blink-cursor-suspend, blink-cursor-check): New defuns.
5330
da48522e
GM
53312013-07-15 Glenn Morris <rgm@gnu.org>
5332
5333 * edmacro.el (edmacro-format-keys): Fix previous change.
5334
0463c1ef
PE
53352013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5336
5337 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5338 The hack didn't work outside English locales anyway.
5339
b43f6451
JB
53402013-07-15 Juanma Barranquero <lekktu@gmail.com>
5341
5342 * simple.el (define-alternatives): Rename from alternatives-define,
5343 per RMS' suggestion.
5344
b958c0ad
JB
53452013-07-14 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * desktop.el (desktop-restore-frames): Change default to t.
5348 (desktop-restore-in-current-display): Now offer more options.
5349 (desktop-restoring-reuses-frames): New customization option.
5350 (desktop--saved-states): Doc fix.
5351 (desktop-filter-parameters-alist): New variable, renamed and expanded
5352 from desktop--excluded-frame-parameters.
5353 (desktop--target-display): New variable.
5354 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5355 (desktop--filter-tty*, desktop--filter-*-color)
5356 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5357 (desktop--filter-save-desktop-parm)
5358 (desktop-restore-in-original-display-p): New functions.
5359 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5360 (desktop--save-minibuffer-frames): New function, inspired by a similar
5361 function from Martin Rudalics.
5362 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5363 (desktop--restore-in-this-display-p): Remove.
5364 (desktop--find-frame): Rename from desktop--find-frame-in-display
5365 and add predicate argument.
5366 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5367 (desktop--reuse-list): New variable.
5368 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5369 New functions.
5370 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5371
f6dd8b36
MA
53722013-07-14 Michael Albinus <michael.albinus@gmx.de>
5373
5374 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5375
2ce3c565
DG
53762013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5377
763a086d
JB
5378 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5379 Highlight conversion methods on Kernel.
2ce3c565 5380
2cdb7698
AM
53812013-07-13 Alan Mackenzie <acm@muc.de>
5382
5383 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5384 and comment it out. This out-commenting enables certain C++
5385 declarations to be parsed correctly.
5386
1a67b811
EZ
53872013-07-13 Eli Zaretskii <eliz@gnu.org>
5388
1b796d6b
EZ
5389 * international/mule.el (define-coding-system): Doc fix.
5390
1a67b811
EZ
5391 * simple.el (default-font-height): Don't call font-info if the
5392 frame's default font didn't change since the frame was created.
5393 (Bug#14838)
5394
58fbe886
LL
53952013-07-13 Leo Liu <sdl.web@gmail.com>
5396
5397 * ido.el (ido-read-file-name): Guard against non-symbol value.
5398
1f0480d4
FEG
53992013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5400
5401 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5402 in nested defuns.
5403
97ead0e5
LL
54042013-07-13 Leo Liu <sdl.web@gmail.com>
5405
5406 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5407 ido-set-matches call. (Bug#6852)
5408
0880a952
DG
54092013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5410
5411 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5412 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5413 Ruby 2.0.
5414 (ruby-font-lock-keywords): Distinguish calls to functions with
5415 module-like names from module references. Highlight character
5416 literals.
5417
a7d8babb
SDJ
54182013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5419
5420 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5421 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5422
acfcc8c5
JB
54232013-07-12 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * desktop.el (desktop--v2s): Remove unused local variable.
5426 (desktop-save-buffer): Make defvar-local; adjust docstring.
5427 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5428 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5429
051f2775
AS
54302013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5431
5432 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5433
f24e7572
GM
54342013-07-12 Eli Zaretskii <eliz@gnu.org>
5435
5436 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5437 (Bug#14842)
5438
539a920c
GM
54392013-07-12 Glenn Morris <rgm@gnu.org>
5440
5441 * doc-view.el: Require cl-lib at runtime too.
5442 (doc-view-remove-if): Remove.
5443 (doc-view-search-next-match, doc-view-search-previous-match):
5444 Use cl-remove-if.
5445
5446 * edmacro.el: Require cl-lib at runtime too.
5447 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5448 (edmacro-mismatch, edmacro-subseq): Remove.
5449
5450 * shadowfile.el: Require cl-lib.
5451 (shadow-remove-if): Remove.
5452 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5453 Use cl-remove-if.
5454
5455 * wid-edit.el: Require cl-lib.
5456 (widget-choose): Use cl-remove-if.
5457 (widget-remove-if): Remove.
5458
5459 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5460 (ebrowse-delete-if-not): Remove.
5461 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5462 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5463 Use cl-delete-if-not.
5464
1048af7c
JB
54652013-07-12 Juanma Barranquero <lekktu@gmail.com>
5466
5467 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5468 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5469
6c0674ee
LL
54702013-07-12 Leo Liu <sdl.web@gmail.com>
5471
5472 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5473
a19b3c2d
GM
54742013-07-11 Glenn Morris <rgm@gnu.org>
5475
4582a01c
GM
5476 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5477 (edebug-gensym-index, edebug-gensym):
5478 Remove reimplementation of cl-gensym.
5479 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5480
5481 * thumbs.el: Require cl-lib at run-time too.
5482 (thumbs-gensym-counter, thumbs-gensym):
5483 Remove reimplementation of cl-gensym.
5484 (thumbs-temp-file): Use cl-gensym.
5485
a19b3c2d
GM
5486 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5487 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5488 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5489 (ert--union, ert--gensym-counter, ert--gensym-counter)
5490 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5491 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5492 (ert-make-test-unbound, ert--expand-should-1)
5493 (ert--expand-should, ert--should-error-handle-error)
5494 (should-error, ert--explain-equal-rec)
5495 (ert--plist-difference-explanation, ert-select-tests)
5496 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5497 Use cl-lib functions rather than reimplementations.
5498
88f6a933
MA
54992013-07-11 Michael Albinus <michael.albinus@gmx.de>
5500
5501 * net/tramp.el (tramp-methods): Extend docstring.
5502 (tramp-connection-timeout): New defcustom.
5503 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5504 (with-tramp-progress-reporter): Simplify.
5505 (tramp-process-actions): Improve messages.
5506
5507 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5508 * net/tramp-sh.el (tramp-maybe-open-connection):
5509 Use `tramp-connection-timeout'.
5510 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5511 (Bug#14808)
5512
a43d577e
LL
55132013-07-11 Leo Liu <sdl.web@gmail.com>
5514
5515 * ido.el (ido-read-file-name): Conform to the requirements of
5516 read-file-name. (Bug#11861)
5517 (ido-read-directory-name): Conform to the requirements of
5518 read-directory-name.
5519
d77974bf
JB
55202013-07-11 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * subr.el (delay-warning): New function.
5523
35cb8a3e
EZ
55242013-07-10 Eli Zaretskii <eliz@gnu.org>
5525
5526 * simple.el (default-line-height): New function.
5527 (line-move-partial, line-move): Use it instead of computing the
5528 line height inline.
5529 (line-move-partial): Always compute ROWH. If the last line is
5530 partially-visible, but its text is completely visible, allow
5531 cursor to enter such a partially-visible line.
5532
525c5c77
MA
55332013-07-10 Michael Albinus <michael.albinus@gmx.de>
5534
5535 Improve error messages. (Bug#14808)
5536
5537 * net/tramp.el (tramp-current-connection): New defvar, moved from
5538 tramp-sh.el.
0ac26976 5539 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5540 needed anymore.
0ac26976
SM
5541 (tramp-error-with-buffer): Show message in minibuffer.
5542 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5543 (with-tramp-progress-reporter): Improve messages.
5544 (tramp-process-actions): Use progress reporter. Delete process in
5545 case of error. Improve messages.
5546
763a086d
JB
5547 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5548 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5549 (tramp-current-connection): Remove.
525c5c77
MA
5550 (tramp-maybe-open-connection): The car of
5551 `tramp-current-connection' are the first 3 slots of the vector.
5552
c7a4d368
TZ
55532013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5554
5555 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5556 inside continued strings.
5557
954b166e
PE
55582013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5559
5560 Timestamp fixes for undo (Bug#14824).
5561 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5562
56973319
LL
55632013-07-10 Leo Liu <sdl.web@gmail.com>
5564
5565 * files.el (require-final-newline): Allow safe local value.
5566 (Bug#14834)
5567
5550a72c
LL
55682013-07-09 Leo Liu <sdl.web@gmail.com>
5569
5570 * ido.el (ido-read-directory-name): Handle fallback.
5571 (ido-read-file-name): Update DIR to ido-current-directory.
5572 (Bug#1516)
c28b9050 5573 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5574
70c46b28
DG
55752013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5576
5577 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5578 "autoload". Remove "warn lower camel case" section, previously
5579 commented out. Highlight negation char. Do not highlight the
5580 target in singleton method definitions.
5581
0b64b838
SM
55822013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5583
7fd72e2c
SM
5584 * faces.el (tty-setup-hook): Declare the hook.
5585
0b64b838
SM
5586 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5587 and detect when a guard/pred depends on local vars (bug#14773).
5588 (pcase--u1): Adjust caller.
5589
ab49d60b
EZ
55902013-07-08 Eli Zaretskii <eliz@gnu.org>
5591
5592 * simple.el (line-move-partial, line-move): Account for
5593 line-spacing.
701d79aa
EZ
5594 (line-move-partial): Avoid setting vscroll when the last
5595 partially-visible line in window is of default height.
ab49d60b 5596
2d756ae0
LMI
55972013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5600 been used a while.
5601
ed095bd7
JB
56022013-07-07 Juanma Barranquero <lekktu@gmail.com>
5603
5604 * subr.el (read-quoted-char): Remove unused local variable `char'.
5605
f1e6674b
MK
56062013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5607
584ee3fc
GM
5608 * ediff.el (ediff-version): Version update.
5609 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5610 (ediff-merge-with-ancestor-command, ediff-directories-command)
5611 (ediff-directories3-command, ediff-merge-directories-command)
5612 (ediff-merge-directories-with-ancestor-command): New functions.
5613 All are command-line interfaces to ediff: to facilitate calling
5614 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5615
5616 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5617 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5618
584ee3fc
GM
5619 * viper.el (viper-version): Version update.
5620 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5621
584ee3fc
GM
56222013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5625 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5626 (viper-intercept-ESC-key): Simplify.
5627 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5628 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5629 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5630 (viper-setup-ESC-to-escape): New functions.
5631 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5632 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5633
9aff9b38
EZ
56342013-07-07 Eli Zaretskii <eliz@gnu.org>
5635
5165d44a
JB
5636 * simple.el (default-font-height, window-screen-lines):
5637 New functions.
9aff9b38
EZ
5638 (line-move, line-move-partial): Use them instead of
5639 frame-char-height and window-text-height. This makes scrolling
5640 text smoother when the buffer's default face uses a font that is
5641 different from the frame's default font.
5642
1afb1d07
JD
56432013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5644
5645 * files.el (write-file): Do not display confirm dialog for NS,
5646 it does its own dialog, which can't be cancelled (Bug#14578).
5647
23de972a
EZ
56482013-07-06 Eli Zaretskii <eliz@gnu.org>
5649
5650 * simple.el (line-move-partial): Adjust the row returned by
5651 posn-at-point for the current window-vscroll. (Bug#14567)
5652
54a42486
MA
56532013-07-06 Michael Albinus <michael.albinus@gmx.de>
5654
5655 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5656 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5657 spaces.
5658
34ada5f4
MR
56592013-07-06 Martin Rudalics <rudalics@gmx.at>
5660
5661 * window.el (window-state-put-stale-windows): New variable.
5662 (window--state-put-2): Save list of windows without matching buffer.
5663 (window-state-put): Remove "bufferless" windows if possible.
5664
11e03d89
JB
56652013-07-06 Juanma Barranquero <lekktu@gmail.com>
5666
5667 * simple.el (alternatives-define): Remove leftover :group keyword.
5668 Tweak docstring.
5669
3504a4be
LL
56702013-07-06 Leo Liu <sdl.web@gmail.com>
5671
5672 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5673 (ido-enable-virtual-buffers): New variable.
5674 (ido-buffer-internal, ido-toggle-virtual-buffers)
5675 (ido-make-buffer-list): Use it.
5676 (ido-exhibit): Support turning on and off virtual buffers
5677 automatically.
5678
61e56e2c
JB
56792013-07-06 Juanma Barranquero <lekktu@gmail.com>
5680
5681 * simple.el (alternatives-define): New macro.
5682
321e1a9c
SM
56832013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * subr.el (read-quoted-char): Use read-key.
5686 (sit-for): Let read-event decode tty input (bug#14782).
5687
d610f6dd
SB
56882013-07-05 Stephen Berman <stephen.berman@gmx.net>
5689
5690 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5691 mode command and externally. Fix various related bugs.
5692 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5693 (todo-delete-file): New command.
5694 (todo-check-file): New function.
5695 (todo-show): Handle external deletion of the file we're trying to
5696 show (bug#14688). Replace called-interactively-p by an optional
5697 prefix argument to avoid problematic interaction with catch form
5698 when byte compiled (bug#14702).
5699 (todo-quit): Handle external deletion of the archive's todo file.
5700 Make sure the buffer that was visiting the archive file is still
5701 live before trying to bury it.
5702 (todo-category-completions): Handle external deletion of any
5703 category completion files.
5704 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5705 of todo files, in case of external deletion.
5706 (todo-add-file): Replace unnecessary setq by let-binding.
5707 (todo-find-archive): Check whether there are any archives.
5708 Replace unnecessary setq by let-binding.
5709 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5710 archive buffer whether or not the archive already exists.
5711 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5712 check if the archive is new; if it is, update list of archives.
5713 (todo-default-todo-file): Allow nil to be a valid value for when
5714 there are no todo files.
5715 (todo-reevaluate-default-file-defcustom): Use corrected definition
5716 of todo-default-todo-file.
5717 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5718 (todo-delete-category, todo-show-categories-table)
5719 (todo-category-number): Clarify comment.
5720 (todo-filter-items): Clarify documentation string.
5721 (todo-show-current-file, todo-display-as-todo-file)
5722 (todo-reset-and-enable-done-separator): Tweak documentation string.
5723 (todo-done-separator): Make separator length window-width, since
5724 bug#2749 is now fixed.
5725
ddbdfd6f
MA
57262013-07-05 Michael Albinus <michael.albinus@gmx.de>
5727
321e1a9c
SM
5728 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5729 Support both "gvfs-monitor-dir" and "inotifywait".
5730 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5731 `tramp-sh-file-notify-process-filter'.
5732 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5733 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5734
96eb829a
LL
57352013-07-05 Leo Liu <sdl.web@gmail.com>
5736
5737 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5738
cf13177e
YM
57392013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5740
5741 * frame.el (display-pixel-height, display-pixel-width)
5742 (display-mm-height, display-mm-width): Mention behavior on
5743 multi-monitor setups in docstrings.
5744 (w32-display-monitor-attributes-list): Declare function.
5745 (display-monitor-attributes-list): Use it.
5746
864c58ca
MA
57472013-07-04 Michael Albinus <michael.albinus@gmx.de>
5748
5749 * filenotify.el: New package.
5750
5751 * autorevert.el (top): Require filenotify.el.
5752 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5753 instead.
5754 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5755 (auto-revert-notify-handler): Use `file-notify-*' functions.
5756
5757 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5758
321e1a9c
SM
5759 * net/tramp.el (tramp-file-name-for-operation):
5760 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5761
5762 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5763 for `file-notify-add-watch' and `file-notify-rm-watch'.
5764 (tramp-process-sentinel): Improve trace.
5765 (tramp-sh-handle-file-notify-add-watch)
5766 (tramp-sh-file-notify-process-filter)
5767 (tramp-sh-handle-file-notify-rm-watch)
5768 (tramp-get-remote-inotifywait): New defuns.
5769
96673afe
JL
57702013-07-03 Juri Linkov <juri@jurta.org>
5771
5772 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5773 call of `occur-read-primary-args' to interactive spec.
5774
5775 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5776 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5777
924494f4
MM
57782013-07-03 Matthias Meulien <orontee@gmail.com>
5779
5780 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5781 `Buffer-menu-multi-occur'. Add it to the menu.
5782 (Buffer-menu-mode): Document it in docstring.
5783 (Buffer-menu-multi-occur): New command. (Bug#14673)
5784
56f75efc
DG
57852013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5786
5787 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5788 keywords and built-ins.
5789
9b057d61
GM
57902013-07-03 Glenn Morris <rgm@gnu.org>
5791
208dee4d
GM
5792 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5793
9b057d61
GM
5794 Make info-xref checks case-sensitive by default
5795 * info.el (Info-find-node, Info-find-in-tag-table)
5796 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5797 Add option for exact case matching of nodes.
5798 * info-xref.el (info-xref): New custom group.
5799 (info-xref-case-fold): New option.
5800 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5801
e01aa29c
LL
58022013-07-03 Leo Liu <sdl.web@gmail.com>
5803
5804 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5805
3086ca2e
DG
58062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5807
5808 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5809 middle of block statement initially, lower the depth. Remove
5810 FIXME comment, not longer valid. Remove middle of block statement
5811 detection, no need to do that anymore since we've been using
5812 `ruby-parse-region' here.
5813
a3b49114
JD
58142013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5815
5816 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5817
08e5c823 58182013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5819
5820 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5821
2addf922
JB
58222013-07-01 Juanma Barranquero <lekktu@gmail.com>
5823
5824 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5825 (desktop-restore-in-current-display): New customization option.
5826 (desktop--excluded-frame-parameters): Add `font'.
5827 (desktop--save-frames): Rename from desktop--save-windows.
5828 (desktop--restore-in-this-display-p): New function.
5829 (desktop--make-full-frame): Remove unwanted width/height from
5830 full(width|height) frames.
5831 (desktop--restore-frames): Rename from desktop--restore-windows.
5832 Obey desktop-restore-current-display. Do not delete old frames or
5833 select a new frame unless we were able to restore at least one frame.
5834
ef099a94
MN
58352013-06-30 Michal Nazarewicz <mina86@mina86.com>
5836
5837 * files.el (find-file-noselect): Simplify conditional expression.
5838
5839 * remember.el (remember-append-to-file):
5840 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5841
5842 Add `remember-notes' function to store random notes across Emacs
5843 restarts.
5844 * remember.el (remember-data-file): Add :set callback to affect
5845 notes buffer (if any).
5846 (remember-notes): New command.
5847 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5848 New defcustoms for the `remember-notes' function.
5849 (remember-notes-save-and-bury-buffer): New command.
5850 (remember-notes-mode-map): New variable.
5851 (remember-mode): New minor mode.
5852 (remember-notes--kill-buffer-query): New function.
5853 * startup.el (initial-buffer-choice): Add notes to custom type.
5854
0865d506
EZ
58552013-06-30 Eli Zaretskii <eliz@gnu.org>
5856
0ba54312
EZ
5857 * bindings.el (right-char, left-char): Don't call sit-for, this is
5858 no longer needed. Use arithmetic comparison only for numerical
5859 arguments.
5860
ef099a94
MN
5861 * international/mule-cmds.el (select-safe-coding-system):
5862 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5863
2fae38e5
LMI
58642013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5865
5866 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5867 progression on degenerate tables.
ef099a94 5868 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5869
a47cbd64
JB
58702013-06-30 Juanma Barranquero <lekktu@gmail.com>
5871
5872 Some fixes and improvements for desktop frame restoration.
5873 It is still experimental and disabled by default.
5874 * desktop.el (desktop--save-windows): Put the selected frame at
5875 the head of the list.
5876 (desktop--make-full-frame): New function.
5877 (desktop--restore-windows): Try to re-select the frame that was
5878 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5879 just show an error message and continue. Set up maximized frames
5880 so they have default non-maximized dimensions.
a47cbd64 5881
6dbafa30
DG
58822013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5883
ef099a94
MN
5884 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5885 Don't start heredoc inside a string or comment.
6dbafa30 5886
4c672a0f
EZ
58872013-06-29 Eli Zaretskii <eliz@gnu.org>
5888
5889 * bindings.el (visual-order-cursor-movement): New defcustom.
5890 (right-char, left-char): Provide visual-order cursor motion by
5891 calling move-point-visually. Update the doc strings.
5892
50960f36
KH
58932013-06-28 Kenichi Handa <handa@gnu.org>
5894
5895 * international/mule.el (define-coding-system): New coding system
5896 properties :inhibit-null-byte-detection,
5897 :inhibit-iso-escape-detection, and :prefer-utf-8.
5898 (set-buffer-file-coding-system): If :charset-list property of
5899 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5900 appropriate for setting.
5901
c1ea3abf
JB
5902 * international/mule-cmds.el (select-safe-coding-system):
5903 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5904 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5905
5906 * international/mule-conf.el (prefer-utf-8): New coding system.
5907 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5908 files.
5909
75dbaf9d
IK
59102013-06-28 Ivan Kanis <ivan@kanis.fr>
5911
eadb6068
IK
5912 * net/shr.el (shr-render-region): New function.
5913
75dbaf9d
IK
5914 * net/eww.el: Autoload `eww-browse-url'.
5915
9ea5cf9f
DG
59162013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5917
c1ea3abf
JB
5918 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5919 Adapt to `package-desc-version' being a list.
5920 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5921 archive element.
5922
39c0e36f
JB
59232013-06-27 Juanma Barranquero <lekktu@gmail.com>
5924
5925 New experimental feature to save&restore window and frame setup.
5926 * desktop.el (desktop-save-windows): New defcustom.
5927 (desktop--saved-states): New var.
5928 (desktop--excluded-frame-parameters): New defconst.
5929 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5930 (desktop--restore-windows, desktop--save-windows): New functions.
5931 (desktop-save): Call `desktop--save-windows'.
5932 (desktop-read): Call `desktop--restore-windows'.
5933
7f13406b
LMI
59342013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
ef099a94 5936 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5937
1e072639
SB
59382013-06-27 Stephen Berman <stephen.berman@gmx.net>
5939
5940 * info.el (Info-try-follow-nearest-node): Move search for footnote
5941 above search for node name to prevent missing a footnote (bug#14717).
5942
f3e2cbde
SB
59432013-06-27 Stephen Berman <stephen.berman@gmx.net>
5944
5945 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5946
99906aa0
LL
59472013-06-27 Leo Liu <sdl.web@gmail.com>
5948
5949 * net/eww.el (eww-read-bookmarks): Check file size.
5950
539f75f4
SM
59512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5954 advice--pending if newdef is nil or an autoload (bug#13820).
5955 (advice-mapc): New function.
5956
843571cb
LMI
59572013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5958
5959 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5960 probably.
23a75d7f 5961 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5962 (eww-add-bookmark): New command.
5963 (eww-bookmark-mode): New mode and commands.
a285ce99 5964 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5965 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5966
f2136e1e
GM
59672013-06-26 Glenn Morris <rgm@gnu.org>
5968
eab35f39
GM
5969 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5970 (hfy-size): Handle ttys. (Bug#14668)
5971
f2136e1e
GM
5972 * info-xref.el: Update for Texinfo 5 change in *note format.
5973 (info-xref-node-re, info-xref-note-re): New constants.
5974 (info-xref-check-buffer): Use info-xref-note-re.
5975
a49ff80c
SM
59762013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5977
a343d218
SM
5978 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5979
a49ff80c
SM
5980 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5981 nil terminate the loop (bug#14718).
5982
8308f184
LMI
59832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5984
5985 * net/eww.el: Rework history traversal. When going forward/back,
5986 put these actions into the history, too, so that they can be
5987 replayed.
26bf2b82 5988 (eww-render): Move the history reset to the correct buffer.
8308f184 5989
ec64c273
JL
59902013-06-25 Juri Linkov <juri@jurta.org>
5991
5992 * files-x.el (modify-dir-local-variable): Change the header comment
5993 in the file with directory local variables. (Bug#14692)
5994
e080a9d7
JL
5995 * files-x.el (read-file-local-variable-value): Add `default'.
5996 (Bug#14710)
5997
bfbc93a1
IK
59982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5999
6000 * net/eww.el (eww-make-unique-file-name): Create a unique file
6001 name before saving to entering `y' accidentally asynchronously.
6002
60032013-06-25 Ivan Kanis <ivan@kanis.fr>
6004
6005 * net/eww.el (eww-download): New command and keystroke.
6006
16f74f10
LMI
60072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
a49ff80c 6009 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6010
6011 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6012 be more consistent with Info and dired.
6013
6014 * net/eww.el (eww-mode-map): Ditto.
6015
12059709
SM
60162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6019 packages from archives.
6020 (package-archive-contents): Change format; include obsolete packages.
6021 (package-desc): Use `dir' to mark builtin packages.
6022 (package--from-builtin): Set the `dir' field to `builtin'.
6023 (generated-autoload-file, version-control): Declare.
6024 (package-compute-transaction): Change first arg and return value to be
6025 lists of package-descs. Adjust to new package-archive-contents format.
6026 (package--add-to-archive-contents): Adjust to new
6027 package-archive-contents format.
6028 (package-download-transaction): Arg is now a list of package-descs.
6029 (package-install): If `pkg' is a package name, pass it as
6030 a requirement, so it is subject to the usual (e.g. disabled) checks.
6031 (describe-package): Accept package-desc as well.
6032 (describe-package-1): Describe a specific package-desc. Add links to
6033 other package-descs for the same package name.
6034 (package-menu-describe-package): Pass the actual package-desc.
6035 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6036 works correctly.
6037 (package-desc-status): New function.
6038 (package-menu--refresh): New function, extracted
6039 from package-menu--generate.
6040 (package-menu--generate): Use it.
6041 (package-delete): Update package-alist.
6042 (package-menu-execute): Don't call package-initialize.
6043
6044 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6045 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6046 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6047 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6048 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6049 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6050
8bbdea0f
MR
60512013-06-25 Martin Rudalics <rudalics@gmx.at>
6052
6053 * window.el (window--state-get-1): Workaround for bug#14527.
6054 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6055
e82b0991
LMI
60562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6057
6058 * net/eww.el (eww-back-url): Implement the history by stashing all
6059 the data into a list.
d3f0f918 6060 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6061
c763842b
SM
60622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6065 for values and use read--expression for expressions (bug#14710).
6066 (read-file-local-variable): Avoid setq.
6067 (read-file-local-variable-mode): Use minor-mode-list.
6068
bceff189
RW
60692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6070
864c58ca 6071 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6072 for DOI URLs.
6073
45f431c6
RW
60742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6075
864c58ca 6076 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6077 Update imenu-support when dialect changes.
6078
f42d8237
LL
60792013-06-25 Leo Liu <sdl.web@gmail.com>
6080
6081 * ido.el (ido-read-internal): Allow forward slash on windows.
6082
be549ce6
LMI
60832013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6084
6085 * net/eww.el (eww): Start of strings is \\`, not ^.
6086
71d4c19d
IK
60872013-06-24 Ivan Kanis <ivan@kanis.fr>
6088
5196f88a
IK
6089 * net/shr.el (shr-browse-url): Fix interactive spec.
6090
71d4c19d
IK
6091 * net/eww.el (eww): Add a trailing slash to domain names.
6092
ae36ca55
JB
60932013-06-24 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6096
0ebd92a3
LMI
60972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098
bdaa086b
LMI
6099 * net/shr.el (shr-browse-url): Use an external browser if given a
6100 prefix.
6101
c763842b 6102 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6103
b89fc156
IK
61042013-06-24 Ivan Kanis <ivan@kanis.fr>
6105
6106 * net/eww.el (eww): Work more correctly for file: URLs.
6107 (eww-detect-charset): Allow quoted charsets.
6108 (eww-yank-page-url): New command and keystroke.
6109
18eb4bca
DU
61102013-06-24 Daiki Ueno <ueno@gnu.org>
6111
6112 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6113 file name of gpg executable.
6114 (epg-context-program): New function.
6115 (epg-context-home-directory): New function.
6116 (epg-context-set-program): New function.
6117 (epg-context-set-home-directory): New function.
6118 (epg--start): Use `epg-context-program' instead of
6119 'epg-gpg-program'.
6120 (epg--list-keys-1): Likewise.
6121
6c6268c8
LL
61222013-06-24 Leo Liu <sdl.web@gmail.com>
6123
6124 * ido.el (ido-read-internal): Fix bug#14620.
6125
5e400cb3
JB
61262013-06-23 Juanma Barranquero <lekktu@gmail.com>
6127
6128 * faces.el (face-documentation): Simplify.
6129 (read-face-attribute, tty-find-type, x-resolve-font-name):
6130 Use `string-match-p'.
6131 (list-faces-display): Use `string-match-p'. Simplify.
6132 (face-spec-recalc): Check face to avoid face alias loops.
6133 (read-color): Use `string-match-p' and non-capturing parenthesis.
6134
f3f9606c
LMI
61352013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6136
6137 * net/shr.el (shr-rescale-image): Use the new
6138 :max-width/:max-height functionality.
6139
a3ca09b9
IK
61402013-06-23 Ivan Kanis <ivan@kanis.fr>
6141
6142 * net/eww.el (eww-search-prefix): New variable.
6143 (eww): Use it.
f865b474
IK
6144 (eww-external-browser): New variable.
6145 (eww-mode-map): New keystroke.
6146 (eww-browse-with-external-browser): New command.
a3ca09b9 6147
e854cfc7
IK
6148 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6149
18bb9e21
JB
61502013-06-23 Juanma Barranquero <lekktu@gmail.com>
6151
6152 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6153 Don't skip aligning the next header field when padding is 0;
6154 otherwise, field width is not respected unless the title is as
6155 wide as the field.
6156
5b165ade
SM
61572013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * emacs-lisp/package.el (package-el-version): Remove.
6160 (package-process-define-package): Fix inf-loop.
6161 (package-install): Allow symbols as arguments again.
6162
12adebe9
DG
61632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6164
6165 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6166 add some more keyword-like methods.
6167 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6168
388573ee
JB
61692013-06-22 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * bs.el (bs-buffer-show-mark): Make defvar-local.
6172 (bs-mode): Use setq-local.
6173
6174 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6175 (emacs-lock--try-unlocking): Make defvar-local.
6176
4582a01c 61772013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6178
2663dd23
GM
6179 * play/cookie1.el (cookie-apropos): Minor simplification.
6180
3d94f3ad
GM
6181 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6182
f72e2fdb
DG
61832013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6184
6185 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6186 `regexp-opt', it breaks the build during dumping.
6187
73eab938
DG
61882013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6189
c763842b
SM
6190 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6191 Highlight keyword-like methods on Kernel and Module with
73eab938 6192 font-lock-builtin-face.
5cf8176d
DG
6193 (auto-mode-alist): Consolidate different entries into one regexp
6194 and add more *file-s.
73eab938 6195
d26255f6
SB
61962013-06-21 Stephen Berman <stephen.berman@gmx.net>
6197
6198 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6199
6200 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6201 (diary-entry): Use it in the action of this button type instead of
6202 diary-goto-entry.
6203
6204 * calendar/todo-mode.el: New version.
6205 (todo-add-category): Append new category to end of file and give
6206 it the highest number, instead of putting it at the beginning and
6207 giving it 0. Incorporate noninteractive functionality.
6208 (todo-forward-category): Adapt to 1-based category numbering.
6209 Allow skipping over archived categories.
6210 (todo-backward-category): Derive from todo-forward-category.
6211 (todo-backward-item, todo-forward-item): Make noninteractive and
6212 delegate interactive part to new commands. Make sensitive to done items.
6213 (todo-categories): Make value an alist of category names and
6214 vectors of item counts.
6215 (todo-category-beg): Make a defconst.
6216 (todo-category-number): Use 1 instead of 0 as initial value.
6217 (todo-category-select): Make sensitive to overlays, optional item
6218 highlighting and done items.
6219 (todo-delete-item): Make sensitive to overlays and marked and done items.
6220 (todo-edit-item): Make sensitive to overlays and editing of
6221 date/time header optional. Add format checks.
6222 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6223 no-op if point is not on an item. Advertise using todo-edit-quit.
6224 (todo-edit-mode): Make sensitive to new format, font-locking, and
6225 multiple todo files.
6226 (todo-insert-item, todo-insert-item-here): Derive from
6227 todo-basic-insert-item and extend functionality.
6228 (todo-item-end, todo-item-start): Make sensitive to done items.
6229 (todo-item-string): Don't return text properties. Restore point.
6230 (todo-jump-to-category): Make sensitive to multiple todo files and
6231 todo archives. Use extended category completion.
6232 (todo-lower-item, todo-raise-item): Rename to *-priority and
6233 derive from todo-set-item-priority.
6234 (todo-mode): Derive from special-mode. Make sensitive to new
6235 format, font-locking and multiple todo files. Make read-only.
6236 (todo-mode-map): Don't suppress digit keys, so they can supply
6237 prefix arguments. Add many new key bindings.
6238 (todo-prefix): Insert as an overlay instead of file text.
6239 Change semantics from diary date expression to purely visual mark.
6240 (todo-print): Rename to todo-print-buffer. Make buffer display
6241 features printable. Remove option to restrict number of items
6242 printed. Add option to print to file.
6243 (todo-print-function): Rename to todo-print-buffer-function.
6244 (todo-quit): Extend to handle exiting new todo modes.
6245 (todo-remove-item): Make sensitive to overlays.
6246 (todo-save): Extend to buffers of filtered items.
6247 (todo-show): Make sensitive to done items, multiple todo files and
6248 new todo modes. Offer to convert legacy todo file before creating
6249 first new todo file.
6250 (todo-show-priorities): Rename to todo-top-priorities.
6251 Change semantics of value 0.
6252 (todo-top-priorities): Rename to todo-filter-top-priorities,
6253 derive from todo-filter-items and extend functionality.
6254 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6255 and extend functionality to other types of filtered items.
6256 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6257 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6258 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6259 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6260 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6261 (todo-edit-mode-hook, todo-entry-prefix-function)
6262 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6263 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6264 (todo-initials, todo-insert-threshold, todo-item-string-start)
6265 (todo-line-string, todo-menu, todo-mode-hook)
6266 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6267 (todo-print-priorities, todo-remove-separator)
6268 (todo-save-top-priorities-too, todo-string-count-lines)
6269 (todo-string-multiline-p, todo-time-string-format)
6270 (todo-tmp-buffer-name): Remove.
6271 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6272 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6273 (todo-edit-category-diary-inclusion)
6274 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6275 (todo-edit-file, todo-edit-item-date-day)
6276 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6277 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6278 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6279 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6280 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6281 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6282 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6283 (todo-filter-top-priorities-multifile, todo-find-archive)
6284 (todo-find-filtered-items-file, todo-go-to-source-item)
6285 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6286 (todo-jump-to-archive-category, todo-lower-category)
6287 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6288 (todo-move-category, todo-move-item, todo-next-button)
6289 (todo-next-item, todo-padded-string, todo-powerset)
6290 (todo-previous-button, todo-previous-item)
6291 (todo-print-buffer-to-file, todo-raise-category)
6292 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6293 (todo-set-category-number, todo-set-item-priority)
6294 (todo-set-top-priorities-in-category)
6295 (todo-set-top-priorities-in-file, todo-show-categories-table)
6296 (todo-sort-categories-alphabetically-or-numerically)
6297 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6298 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6299 (todo-toggle-item-header, todo-toggle-item-highlighting)
6300 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6301 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6302 (todo-unarchive-items, todo-unmark-category): New commands.
6303 (todo-absolute-file-name, todo-add-to-buffer-list)
6304 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6305 (todo-basic-insert-item, todo-category-completions)
6306 (todo-category-number, todo-category-string-matcher-1)
6307 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6308 (todo-check-format, todo-clear-matches)
6309 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6310 (todo-current-category, todo-date-string-matcher)
6311 (todo-define-insertion-command, todo-diary-expired-matcher)
6312 (todo-diary-goto-entry, todo-diary-item-p)
6313 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6314 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6315 (todo-done-item-section-p, todo-done-separator)
6316 (todo-done-string-matcher, todo-files, todo-filter-items)
6317 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6318 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6319 (todo-insert-category-line, todo-insert-item-from-calendar)
6320 (todo-insert-sort-button, todo-insert-with-overlays)
6321 (todo-insertion-command-name, todo-insertion-key-bindings)
6322 (todo-label-to-key, todo-longest-category-name-length)
6323 (todo-make-categories-list, todo-mode-external-set)
6324 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6325 (todo-modes-set-3, todo-multiple-filter-files)
6326 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6327 (todo-read-category, todo-read-date, todo-read-dayname)
6328 (todo-read-file-name, todo-read-time)
6329 (todo-reevaluate-category-completions-files-defcustom)
6330 (todo-reevaluate-default-file-defcustom)
6331 (todo-reevaluate-filelist-defcustoms)
6332 (todo-reevaluate-filter-files-defcustom)
6333 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6334 (todo-reset-done-separator, todo-reset-done-separator-string)
6335 (todo-reset-done-string, todo-reset-global-current-todo-file)
6336 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6337 (todo-reset-prefix, todo-set-categories)
6338 (todo-set-date-from-calendar, todo-set-show-current-file)
6339 (todo-set-top-priorities, todo-short-file-name)
6340 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6341 (todo-total-item-counts, todo-update-buffer-list)
6342 (todo-update-categories-display, todo-update-categories-sexp)
6343 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6344 New functions.
6345 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6346 New major modes.
6347 (todo-categories, todo-display, todo-edit, todo-faces)
6348 (todo-filtered): New defgroups.
6349 (todo-archived-only, todo-button, todo-category-string, todo-date)
6350 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6351 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6352 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6353 (todo-add-item-if-new-category, todo-always-add-time-string)
6354 (todo-categories-align, todo-categories-archived-label)
6355 (todo-categories-category-label, todo-categories-diary-label)
6356 (todo-categories-done-label, todo-categories-number-separator)
6357 (todo-categories-todo-label, todo-categories-totals-label)
6358 (todo-category-completions-files, todo-completion-ignore-case)
6359 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6360 (todo-done-separator-string, todo-done-string)
6361 (todo-files-function, todo-filter-done-items, todo-filter-files)
6362 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6363 (todo-initial-category, todo-initial-file, todo-item-mark)
6364 (todo-legacy-date-time-regexp, todo-mode-line-function)
6365 (todo-nondiary-marker, todo-number-prefix)
6366 (todo-print-buffer-function, todo-show-current-file)
6367 (todo-show-done-only, todo-show-first, todo-show-with-done)
6368 (todo-skip-archived-categories, todo-top-priorities-overrides)
6369 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6370 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6371 New defcustoms.
6372 (todo-category-done, todo-date-pattern, todo-date-string-start)
6373 (todo-diary-items-buffer, todo-done-string-start)
6374 (todo-filtered-items-buffer, todo-item-start)
6375 (todo-month-abbrev-array, todo-month-name-array)
6376 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6377 (todo-top-priorities-buffer): New defconsts.
6378 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6379 (todo-categories-with-marks, todo-category-string-face)
6380 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6381 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6382 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6383 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6384 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6385 (todo-font-lock-keywords, todo-global-current-todo-file)
6386 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6387 (todo-insertion-commands-args)
6388 (todo-insertion-commands-args-genlist)
6389 (todo-insertion-commands-names, todo-insertion-map)
6390 (todo-key-bindings-t, todo-key-bindings-t+a)
6391 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6392 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6393 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6394 (todo-visited): New variables.
6395
cad5d1cb
GM
63962013-06-21 Glenn Morris <rgm@gnu.org>
6397
6398 * play/cookie1.el (cookie-apropos): Add optional display argument.
6399 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6400 (psychoanalyze-pinhead): Use cookie-doctor.
6401
9e277302
JB
64022013-06-21 Juanma Barranquero <lekktu@gmail.com>
6403
6404 * emacs-lisp/package.el (tar-get-file-descriptor)
6405 (tar--extract): Declare.
6406
c5b0993e
EW
64072013-06-21 Eduard Wiebe <usenet@pusto.de>
6408
6409 Extend flymake's warning predicate to be a function (bug#14217).
6410 * progmodes/flymake.el (flymake-warning-predicate): New.
6411 (flymake-parse-line): Use it.
6412 (flymake-warning-re): Make obsolete alias to
6413 `flymake-warning-predicate'.
6414
a7d2d465
SM
64152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6418 (package-obsolete-list): Remove.
6419 (package-activate): Remove min-version argument. Add `force' argument.
6420 Adjust to new package-alist format.
6421 (package-mark-obsolete): Remove.
6422 (package-unpack): Force reload of the package's autoloads.
6423 (package-installed-p): Check builtins if the installed package is not
6424 recent enough.
6425 (package-initialize): Don't reset package-obsolete-list.
6426 Don't specify which package version to activate.
6427 (package-process-define-package, describe-package-1)
6428 (package-menu--generate): Adjust to new package-alist format.
6429
cedf5c9d
JB
64302013-06-21 Juanma Barranquero <lekktu@gmail.com>
6431
6432 * allout-widgets.el (allout-widgets-mode-off)
6433 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6434 (allout-widgets-post-command-business)
6435 (allout-widgets-after-copy-or-kill-function)
6436 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6437 (allout-decorate-item-and-context)
6438 (allout-graphics-modification-handler): Fix typos in docstrings.
6439 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6440
6441 * cmuscheme.el (scheme-start-file): Doc fix.
6442 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6443 (scheme-input-filter): Use `string-match-p'.
6444
6445 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6446
6447 * dired-x.el: Use Dired consistently in docstrings.
6448
6449 * dired.el: Use Dired consistently in docstrings.
6450 (dired-readin, dired-mode): Use `setq-local'.
6451 (dired-switches-alist): Make defvar-local.
6452 (dired-buffers-for-dir): Use `zerop'.
6453 (dired-safe-switches-p, dired-switches-escape-p)
6454 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6455 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6456 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6457 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6458 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6459 (dired-toggle-marks, dired-mark-files-containing-regexp)
6460 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6461 (dired-flag-auto-save-files, dired-flag-backup-files):
6462 Use `looking-at-p'.
6463 (dired-mark-files-regexp, dired-build-subdir-alist):
6464 Use `string-match-p', `looking-at-p'.
6465
6466 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6467 (direct-print-region-helper): Use `string-match-p'.
6468
aed838b5
LL
64692013-06-21 Leo Liu <sdl.web@gmail.com>
6470
cedf5c9d
JB
6471 * comint.el (comint-redirect-results-list-from-process):
6472 Fix infinite loop.
aed838b5 6473
d80a808f
LMI
64742013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6475
6476 * net/eww.el (eww-update-header-line-format): Quote % characters.
6477
e7a526e3
GM
64782013-06-21 Glenn Morris <rgm@gnu.org>
6479
6480 * play/cookie1.el (cookie): New custom group.
6481 (cookie-file): New option.
6482 (cookie-check-file): New function.
6483 (cookie): Make it interactive. Make start and end messages optional.
6484 Interactively, display the result. Default to cookie-file.
6485 (cookie-insert): Default to cookie-file.
6486 (cookie-snarf): Make start and end messages optional.
6487 Default to cookie-file. Use with-temp-buffer.
6488 (cookie-read): Rename from read-cookie.
6489 Make start and end messages optional. Default to cookie-file.
6490 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6491 Do not autoload it.
e7a526e3
GM
6492 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6493 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6494
62efb35e
LL
64952013-06-21 Leo Liu <sdl.web@gmail.com>
6496
6497 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6498
21e3f963
GM
64992013-06-21 Glenn Morris <rgm@gnu.org>
6500
6501 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6502
fd846ab4
SM
65032013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6504 Daniel Hackney <dan@haxney.org>
6505
6506 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6507 Consolidate the single-file vs tarball code.
6508 (package-desc-suffix): New function.
6509 (package-desc-full-name): Don't bother inlining it.
6510 (package-load-descriptor): Return the new package-desc.
6511 (package-mark-obsolete): Remove unused arg `package'.
6512 (package-unpack): Make it work for single files as well.
6513 Make it update package-alist.
6514 (package--make-autoloads-and-stuff): Rename from
6515 package--make-autoloads-and-compile. Don't compile any more.
6516 (package--compile): New function.
6517 (package-generate-description-file): New function, extracted from
6518 package-unpack-single.
6519 (package-unpack-single): Remove.
6520 (package--with-work-buffer): Add indentation and debugging info.
6521 (package-download-single): Remove.
6522 (package-install-from-archive): Rename from package-download-tar, make
6523 it take a pkg-desc, and make it work for single files as well.
6524 (package-download-transaction): Simplify.
6525 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6526 external tar program.
6527 (package-install-from-buffer): Remove `pkg-desc' argument.
6528 Use package-tar-file-info for tar-mode buffers.
6529 (package-install-file): Simplify accordingly.
6530 (package-archive-base): Change to take a pkg-desc.
6531 * tar-mode.el (tar--check-descriptor): New function, extracted from
6532 tar-get-descriptor.
6533 (tar-get-descriptor): Use it.
6534 (tar-get-file-descriptor): New function.
6535 (tar--extract): New function, extracted from tar-extract.
6536 (tar--extract): Use it.
6537 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6538 case the summary uses non-ascii. Adjust to new calling convention of
6539 package-tar-file-info.
6540
b7deae5e
LL
65412013-06-21 Leo Liu <sdl.web@gmail.com>
6542
fd846ab4
SM
6543 * comint.el (comint-redirect-results-list-from-process):
6544 Fix random delay. (Bug#14681)
b7deae5e 6545
7a65a0b2
JB
65462013-06-21 Juanma Barranquero <lekktu@gmail.com>
6547
6548 * profiler.el (profiler-format-number): Use log, not log10.
6549
1493c2af
JB
65502013-06-20 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6553
aff6371e
SM
65542013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6557 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6558 yet available.
6559 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6560 (AUTOGENEL): ... here.
6561 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6562 (cl--defsubst-expand): Use it.
6563
89561f72
PE
65642013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6565
6566 * subr.el (log10): Move here from C code, and declare as obsolete.
6567 All uses of (log10 X) replaced with (log X 10).
6568
47199123
JB
65692013-06-20 Juanma Barranquero <lekktu@gmail.com>
6570
6571 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6572 Declare with `defvar-local'.
6573 (tabulated-list-use-header-line, tabulated-list-entries)
6574 (tabulated-list-padding, tabulated-list-printer)
6575 (tabulated-list-sort-key): Declare with `defvar-local'.
6576 (tabulated-list-init-header, tabulated-list-print-fake-header):
6577 Use `setq-local'.
6578
4a172eab
MA
65792013-06-20 Michael Albinus <michael.albinus@gmx.de>
6580
47199123
JB
6581 * arc-mode.el (archive-mode): Add `archive-write-file' to
6582 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6583
5fc0acc0
JB
65842013-06-20 Juanma Barranquero <lekktu@gmail.com>
6585
d5b27848
JB
6586 * cus-edit.el (custom-commands): Fix typos.
6587 (custom-display): Fix tooltip text.
6588 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6589 Fix typos in docstrings.
6590 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6591 (custom-unlispify-menu-entry, custom-magic-value-create)
6592 (custom-add-see-also, custom-group-value-create): Use ?\s.
6593 (custom-guess-type, customize-apropos, editable-field)
6594 (custom-face-value-create): Use `string-match-p'.
6595 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6596
6597 * custom.el (custom-load-symbol): Use `string-match-p'.
6598
a5c581d8
JB
6599 * ansi-color.el: Convert to lexical binding.
6600 (ansi-colors): Fix URL.
6601 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6602 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6603 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6604
970ad972
G
66052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6606
6607 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6608
6609 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6610
66112013-06-19 Tom Tromey <tromey@redhat.com>
6612
6613 * net/eww.el (eww-top-url): Remove.
6614 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6615 (eww-render): Set new variables. Don't set eww-top-url.
6616 (eww-handle-link): Handle "prev", "home", and "contents".
6617 Downcase the rel text.
6618 (eww-top-url): Choose best top URL.
6619
66202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6621
6622 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6623 relying in widget.el. Using widget.el leads to too many
6624 user interface inconsistencies.
6625 (eww-self-insert): Implement entering commands in text fields.
6626 (eww-process-text-input): New function to make text input field editing
6627 work.
6628 (eww-submit): Rewrite to use the new-style form methods.
6629 (eww-select-display): Display the correct selected item.
6630 (eww-change-select): Implement changing the select value.
6631 (eww-toggle-checkbox): Implement radio/checkboxes.
6632 (eww-update-field): Fix compilation error.
6633 (eww-tag-textarea): Implement <textarea>.
6634
6635 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6636 we don't shadow mode-specific bindings.
6637
6638 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6639 nothing to push.
6640
6641 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6642
4582a01c 66432013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6644
6645 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6646
15b263dc
MA
66472013-06-19 Michael Albinus <michael.albinus@gmx.de>
6648
6649 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6650 not needed.
6651
6652 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6653
8f5297f7
LMI
66542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6655
6656 * net/browse-url.el (browse-url-browser-function):
6657 `eww-browse-url' has the right calling signature, `eww' does not.
6658
011c4552
GM
66592013-06-19 Glenn Morris <rgm@gnu.org>
6660
2285bd27
GM
6661 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6662 Only eval autoloaded macros.
6663 (byte-compile-autoload): Only give the macro warning for macros.
6664
1d653303
GM
6665 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6666 (ps-underlined-faces): Declare.
6667
bdd779ec
GM
6668 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6669 (speedbar-add-supported-extension): Declare.
6670
011c4552
GM
6671 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6672 Don't include a date stamp in the header of the generated file;
6673 it leads to needless differences between output files.
6674
e59dfb0e
MA
66752013-06-19 Michael Albinus <michael.albinus@gmx.de>
6676
c763842b
SM
6677 * net/secrets.el (secrets-struct-secret-content-type):
6678 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6679 Some servers do not offer introspection.
e59dfb0e 6680
102626e2
SM
66812013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * electric.el (electric-pair-mode): Improve interaction with
6684 electric-layout-mode.
6685 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6686 (electric-pair-syntax): Use text-mode-syntax-table in comments
6687 and strings.
6688 (electric-pair--insert): New function.
6689 (electric-pair-post-self-insert-function): Use it and
6690 electric--after-char-pos.
6691
ad528125
LL
66922013-06-19 Leo Liu <sdl.web@gmail.com>
6693
6694 * progmodes/octave.el (octave-help): Fix regexp.
6695
924d6997
G
66962013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6697
6698 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6699 (shr-table-horizontal-line): Allow nil as a value, and change the
6700 default.
6701 (shr-insert-table-ruler): Respect the nil value.
6702
67032013-06-18 Tom Tromey <tromey@barimba>
6704
6705 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6706 New defvars.
6707 (eww-open-file): New defun.
6708 (eww-render): Initialize new variables.
6709 (eww-display-html): Handle "link" and "a".
6710 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6711 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6712 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6713 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6714 New defuns.
924d6997 6715
d1bbba4f
DG
67162013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6717
6718 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6719 Distinguish ternary operator tokens from slash symbol and slash
6720 char literal.
6721
14dd22d2
JB
67222013-06-18 Juanma Barranquero <lekktu@gmail.com>
6723
6724 Convert symbol prettification into minor mode and global minor mode.
6725
6726 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6727 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6728 (prettify-symbols--keywords): Rename from
6729 `prog-prettify-symbols-alist' and make a local defvar.
6730 (prettify-symbols--compose-symbol): Rename from
6731 `prog--prettify-font-lock-compose-symbol'.
6732 (prettify-symbols--make-keywords): Rename from
6733 `prog-prettify-font-lock-symbols-keywords' and simplify.
6734 (prog-prettify-install): Remove.
6735 (prettify-symbols-mode): New minor mode, based on
6736 `prog-prettify-install'.
6737 (turn-on-prettify-symbols-mode): New function.
6738 (global-prettify-symbols-mode): New globalized minor mode.
6739
6740 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6741 * progmodes/cfengine.el (cfengine3-mode):
6742 * progmodes/perl-mode.el (perl-mode): Don't call
6743 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6744
292c880c
JL
67452013-06-18 Juri Linkov <juri@jurta.org>
6746
6747 * files-x.el (modify-file-local-variable-message): New function.
6748 (modify-file-local-variable)
6749 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6750 and call `modify-file-local-variable-message' when it's non-nil.
6751 (add-file-local-variable, delete-file-local-variable)
6752 (add-file-local-variable-prop-line)
6753 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6754 and use it. (Bug#9820)
6755
0950aa27
JL
67562013-06-18 Juri Linkov <juri@jurta.org>
6757
6758 * emulation/vi.el (vi-shell-op):
6759 * emulation/vip.el (vip-execute-com, ex-command):
6760 * emulation/viper-cmd.el (viper-exec-bang):
6761 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6762 the call of `shell-command-on-region'. (Bug#14637)
6763
6764 * simple.el (shell-command-on-region): Doc fix.
6765
8fbcca16
SM
67662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6769 (bug#14633).
6770
dd7426ea
GM
67712013-06-18 Glenn Morris <rgm@gnu.org>
6772
4ba54f7d
GM
6773 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6774
dd7426ea
GM
6775 * newcomment.el (comment-search-forward, comment-search-backward):
6776 Doc fix. (Bug#14376)
6777
58aa805b
JB
67782013-06-18 Juanma Barranquero <lekktu@gmail.com>
6779
6780 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6781 (buffer-face-mode-invoke): Doc fix.
6782
9a08a617
MM
67832013-06-18 Matthias Meulien <orontee@gmail.com>
6784
6785 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6786 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6787
f2f426ca
GM
67882013-06-18 Glenn Morris <rgm@gnu.org>
6789
9445f99b
GM
6790 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6791 Replace obsolete function generic-make-keywords with its expansion.
6792
e0df2d14
GM
6793 * progmodes/python.el (ffap-alist): Declare.
6794
f2f426ca
GM
6795 * textmodes/reftex.el (bibtex-mode-map): Declare.
6796
f7f9a720
SM
67972013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6800 (package-unpack, package-unpack-single): Return the pkg-dir.
6801 (package-download-transaction): Use it to update package-alist.
6802
57ff04e0
LMI
68032013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6804
6805 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6806 possible choice.
6807
c048c022
JL
68082013-06-17 Juri Linkov <juri@jurta.org>
6809
6810 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6811
b5bcaee5
DG
68122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6813
a020afb9
JB
6814 * emacs-lisp/package.el (package-load-descriptor):
6815 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6816 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6817
551e07e5
JB
68182013-06-17 Juanma Barranquero <lekktu@gmail.com>
6819
6820 * startup.el (command-line): Expand package name returned by
6821 `package--description-file' (bug#14639).
6822
d363bffb
DG
68232013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6824
6825 * emacs-lisp/package.el (package-load-descriptor): Do not call
6826 `emacs-lisp-mode', just use its syntax table.
6827
f612933b
JB
68282013-06-17 Juanma Barranquero <lekktu@gmail.com>
6829
6830 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6831 `font-lock-extra-managed-props' if any prettifying keyword is added.
6832 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6833 (prog-mode): Use `setq-local'.
6834
db3b7db5
SM
68352013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * international/characters.el (standard-case-table): Set syntax of ?»
6838 and ?« to punctuation.
6839
f3d674df
JB
68402013-06-16 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6843 Save relevant match data before calling `syntax-ppss' (bug#14595).
6844
31489a32
JL
68452013-06-15 Juri Linkov <juri@jurta.org>
6846
6847 * files-x.el (modify-file-local-variable-prop-line): Add local
6848 variables to the end of the existing comment on the first line.
6849 Use `file-auto-mode-skip' to skip interpreter magic line,
6850 and also skip XML declaration.
6851
66bd25ab
SM
68522013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * startup.el (package--builtin-versions): New var.
6855 (package-subdirectory-regexp): Remove.
6856 (package--description-file): Hard code its value instead.
6857
6858 * emacs-lisp/package.el: Don't activate packages older than builtin.
6859 (package-obsolete-list): Rename from package-obsolete-alist, and make
6860 it into a simple list of package-desc.
6861 (package-strip-version): Remove.
6862 (package-built-in-p): Use package--builtin-versions.
6863 (package-mark-obsolete): Simplify.
6864 (package-process-define-package): Mark it obsolete if older than the
6865 builtin version.
6866 (package-handle-response): Use line-end-position.
6867 (package-read-archive-contents, package--download-one-archive):
6868 Simplify.
6869 (package--add-to-archive-contents): Skip if older than the builtin or
6870 installed version.
6871 (package-menu-describe-package): Fix last change.
6872 (package-list-unversioned): New var.
6873 (package-menu--generate): Use it.
6874
6875 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6876 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6877 (autoload-builtin-package-versions): New variable.
6878 (autoload-generate-file-autoloads): Use them.
6879 Remove the list of autoloaded functions/macros from the
6880 (autoload...) comments.
6881
6882 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6883
9583ec36
EZ
68842013-06-15 Eli Zaretskii <eliz@gnu.org>
6885
6886 * simple.el (line-move-partial): Don't jump to the next screen
6887 line as soon as it becomes visible. Instead, continue enlarging
6888 the vscroll until the portion of a tall screen line that's left on
6889 display is about the height of the frame's default font.
6890 (Bug#14567)
6891
f0100d8a
GM
68922013-06-15 Glenn Morris <rgm@gnu.org>
6893
b86a85ca
GM
6894 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6895 compilation-error-regexp-alist void, or local while let-bound.
6896
f0100d8a
GM
6897 * progmodes/make-mode.el (makefile-mode-syntax-table):
6898 Treat "=" as punctuation. (Bug#14614)
6899
05e7ce90
JB
69002013-06-15 Juanma Barranquero <lekktu@gmail.com>
6901
6902 * help-fns.el (describe-variable):
6903 Add extra line for permanent-local variables.
6904
12e5e86e
SH
69052013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6906
6907 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6908 Add export, import, library. (Bug#9164)
6909 (library): Set indent function.
6910
230dcbaf
GM
69112013-06-14 Glenn Morris <rgm@gnu.org>
6912
6913 * term/xterm.el (xterm--query):
6914 Stop after first matching handler. (Bug#14615)
6915
e36b2d20 69162013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6917
6918 Add support for dired in saveplace.
6919 * dired.el (dired-initial-position-hook): New variable.
6920 (dired-initial-position): Call hook to place cursor position.
6921 * saveplace.el (save-place-to-alist): Add dired position.
6922 (save-place-dired-hook): New function.
6923
0b31660d
SM
69242013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6925
bf1e6ae8
SM
6926 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6927 through a symbol rather than letrec.
6928
1b8dff23
SM
6929 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6930 (package-desc): Add `dir' field.
6931 (package-desc-full-name): New function.
6932 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6933 (package-maybe-load-descriptor): Remove.
6934 (package-load-all-descriptors): Just call package-load-descriptor.
6935 (package--disabled-p): New function.
6936 (package-desc-vers, package-desc-doc): Remove aliases.
6937 (package--dir): Remove function.
6938 (package-activate): Check if a package is disabled.
6939 (package-process-define-package): New function, extracted from
6940 define-package.
6941 (define-package): Turn into a place holder.
6942 (package-unpack-single, package-tar-file-info):
6943 Use package--description-file.
6944 (package-compute-transaction): Use package--disabled-p.
6945 (package-download-transaction): Don't call
6946 package-maybe-load-descriptor since they're all loaded anyway.
6947 (package-install): Change argument to be a pkg-desc.
6948 (package-delete): Use a single pkg-desc argument.
6949 (describe-package-1): Use package-desc-dir instead of package--dir.
6950 Use package-desc property instead of package-symbol.
6951 (package-install-button-action): Adjust accordingly.
6952 (package--push): Rewrite.
6953 (package-menu--print-info): Adjust accordingly. Change the ID format
6954 to be a pkg-desc.
6955 (package-menu-describe-package, package-menu-get-status)
6956 (package-menu--find-upgrades, package-menu-mark-upgrades)
6957 (package-menu-execute, package-menu--name-predicate):
6958 Adjust accordingly.
6959 * startup.el (package--description-file): New function.
6960 (command-line): Use it.
6961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6962 Use package-desc-version.
6963
0b31660d
SM
6964 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6965 (byte-compile-preprocess): Use it.
6966 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6967 can't quite recognize.
6968 (byte-compile-add-to-list): Remove.
6969 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6970 (cconv-closure-convert): Add assertion.
6971
6972 * emacs-lisp/map-ynp.el: Use lexical-binding.
6973 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6974 Factor out some repeated code.
6975
de0503df
SM
69762013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * subr.el (with-eval-after-load): New macro.
6979 (eval-after-load): Allow form to be a function.
6980 take advantage of lexical-binding.
6981 (do-after-load-evaluation): Use dolist and adjust to new format.
6982 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6983
bc5c8c5a
JL
69842013-06-13 Juri Linkov <juri@jurta.org>
6985
6986 * replace.el (perform-replace): Display "symbol " and other search
6987 modes from `isearch-message-prefix' in the *Help* buffer.
6988
6989 * isearch.el (isearch-query-replace): Add " symbol" and other
6990 possible search modes from `isearch-message-prefix' to the prompt.
6991 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6992 when reading a regexp to collect.
6993
a22289f7
JL
69942013-06-13 Juri Linkov <juri@jurta.org>
6995
6996 * isearch.el (word-search-regexp): Match whitespace if the search
6997 string begins or ends in whitespace. The LAX arg is applied to
6998 both ends of the search string. Use `regexp-quote' and explicit
6999 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7000 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7001 boundaries are replaced with symbol boundaries, and characters
7002 between symbols match non-word non-symbol syntax. (Bug#14602)
7003
cb89acab
JL
70042013-06-13 Juri Linkov <juri@jurta.org>
7005
7006 * isearch.el (isearch-del-char): Don't exceed the length of
7007 `isearch-string' by the prefix arg. (Bug#14563)
7008
6e8cfc81
JL
70092013-06-13 Juri Linkov <juri@jurta.org>
7010
7011 * isearch.el (isearch-yank-word, isearch-yank-line)
7012 (isearch-char-by-name, isearch-quote-char)
7013 (isearch-printing-char, isearch-process-search-char):
7014 Add optional count prefix arg. (Bug#14563)
7015
7016 * international/isearch-x.el
7017 (isearch-process-search-multibyte-characters):
7018 Add optional count prefix arg.
7019
c23d55f4
VS
70202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7023 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7024 lexical-binding.
7025
70262013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7027
7028 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7029
ba947bc4
GM
70302013-06-13 Glenn Morris <rgm@gnu.org>
7031
8baeb37a
GM
7032 * startup.el (tty-handle-args):
7033 Don't just discard "--" and anything after. (Bug#14608)
7034
ba947bc4
GM
7035 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7036
9abefce4
MA
70372013-06-13 Michael Albinus <michael.albinus@gmx.de>
7038
7039 Implement changes in Secret Service API. Make it backward compatible.
7040 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7041 (secrets-create-item): Use it. Prefix properties with interface.
7042
5755011f
MH
70432013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7044
7045 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7046 (term-emulate-terminal): Respect term-suppress-hard-newline.
7047
1261d2da
S
70482013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7049
7050 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7051 Only remove a `thumb-file' overlay. (Bug#14548)
7052
868490bb
GJ
70532013-06-12 Grégoire Jadi <daimrod@gmail.com>
7054
7055 * mail/reporter.el (reporter-submit-bug-report):
7056 Handle missing package-name. (Bug#14600)
7057
79d7167f
TH
70582013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7059
7060 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7061 (reftex-citation-prompt, reftex-default-bibliography)
7062 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7063 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7064 (reftex-bib-sort-author, reftex-bib-sort-year)
7065 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7066 (reftex-extract-bib-entries-from-thebibliography)
7067 (reftex-get-bibkey-default, reftex-get-bib-names)
7068 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7069 (reftex-format-bib-entry, reftex-parse-bibitem)
7070 (reftex-format-bibitem, reftex-do-citation)
7071 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7072 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7073 (reftex-insert-bib-matches, reftex-format-citation)
7074 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7075 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7076 existing comments into docstrings.
7077
5f9dbd7a
XF
70782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7079
7080 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7081
94df41ab
AS
70822013-06-12 Andreas Schwab <schwab@suse.de>
7083
7084 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7085 for auto-save files.
7086
a7f3fecc
GM
70872013-06-12 Glenn Morris <rgm@gnu.org>
7088
001809f6
GM
7089 * ido.el (ido-delete-ignored-files): Remove.
7090 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7091 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7092
834b5ded
EL
70932013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7094
08c73ed2
EL
7095 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7096
834b5ded
EL
7097 * ido.el (ido-delete-ignored-files): New function,
7098 split from ido-make-file-list-1.
7099 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7100 (ido-make-file-list-1): Use ido-delete-ignored-files.
7101
daabf15a
LL
71022013-06-12 Leo Liu <sdl.web@gmail.com>
7103
7104 * progmodes/octave.el (inferior-octave-startup)
7105 (inferior-octave-completion-table)
7106 (inferior-octave-track-window-width-change)
7107 (octave-eldoc-function-signatures, octave-help)
7108 (octave-find-definition): Use single quoted strings.
7109 (inferior-octave-startup-args): Change default value.
7110 (inferior-octave-startup): Do not hard code "-i" and
7111 "--no-line-editing".
7112 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7113 (inferior-octave-directory-tracker): Use it.
7114 (octave-goto-function-definition): Robustify.
7115 (octave-help): Support highlighting operators in 'See also'.
7116 (octave-find-definition): Find subfunctions only in Octave mode.
7117
cf4e5178
SM
71182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * help-fns.el (help-fns--compiler-macro): If the handler function is
7121 named, then put a link to it.
7122 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7123 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7124 (cl-typep): Use it.
7125 (cl-eval-when): Simplify debug spec.
7126 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7127 compiler-macro function instead of setting `compiler-macro-file'.
7128
99c81280 71292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7130
7131 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7132 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7133
f56be016
SM
71342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7135 Daniel Hackney <dan@haxney.org>
7136
7137 First part of Daniel Hackney's patch to package.el.
7138 * emacs-lisp/package.el: Use defstruct.
7139 (package-desc): New, main struct.
7140 (package--bi-desc, package--ac-desc): New structs, used to describe the
7141 format in external files.
7142 (package-desc-vers): Replace with package-desc-version accessor.
7143 (package-desc-doc): Replace with package-desc-summary accessor.
7144 (package-activate-1): Remove `package' arg since the pkg-vec now
7145 includes the name.
7146 (define-package): Use package-desc-from-define.
7147 (package-unpack-single): Change file-name arg to be a symbol.
7148 (package--add-to-archive-contents): Use package-desc-create and new
7149 accessor functions to package--ac-desc.
7150 (package-buffer-info, package-tar-file-info): Return a package-desc.
7151 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7152 arg to be a package-desc.
7153 (package-install-file): Adjust accordingly. Use \' to match EOS.
7154 (package--from-builtin): New function.
7155 (describe-package-1, package-menu--generate): Use it.
7156 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7157 (package-generate-autoloads): Idem and return the name of the file.
7158 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7159 Change pkg-info arg to be a package-desc.
7160 Use package-make-ac-desc.
7161 (package-upload-file): Use \' to match EOS.
7162 * finder.el (finder-compile-keywords): Use package-make-builtin.
7163
31119d63
SM
71642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7165
931a2762
SM
7166 * vc/vc.el (vc-deduce-fileset): Change error message.
7167 (vc-read-backend): New function.
7168 (vc-next-action): Use it.
7169
5a3eb0c6
SM
7170 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7171
e3eb1bb7
SM
7172 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7173 (prolog-font-lock-keywords): Use regexp-opt instead.
7174 Don't manually highlight strings.
7175 (prolog-mode-variables): Simplify comment-start-skip.
7176 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7177
31119d63
SM
7178 * emacs-lisp/generic.el (generic--normalise-comments)
7179 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7180 (generic-mode-set-comments): Use them.
7181 (generic-bracket-support): Use setq-local.
7182 (generic-make-keywords-list): Declare obsolete.
7183
7de135d0
GM
71842013-06-11 Glenn Morris <rgm@gnu.org>
7185
7186 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7187 Prettify after setting font-lock-defaults. (Bug#14574)
7188
fa6bc6fd
JB
71892013-06-11 Juanma Barranquero <lekktu@gmail.com>
7190
7191 * replace.el (query-replace, occur-read-regexp-defaults-function)
7192 (replace-search):
7193 * subr.el (declare-function, number-sequence, local-set-key)
7194 (substitute-key-definition, locate-user-emacs-file)
7195 (with-silent-modifications, split-string, eval-after-load):
7196 Fix typos, remove unneeded backslashes and reflow some docstrings.
7197
cf1f9b9a
SM
71982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7201 default for Elisp files.
7202
56602a4b
GM
72032013-06-11 Glenn Morris <rgm@gnu.org>
7204
7205 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7206 although define-derived-mode was doing this anyway. (Bug#14583)
7207
30ae0b2c
JB
72082013-06-10 Juanma Barranquero <lekktu@gmail.com>
7209
7210 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7211 Fix make-variable-buffer-local call to refer to the correct variable.
7212
fa472906
AG
72132013-06-10 Aidan Gauland <aidalgol@amuri.net>
7214
7215 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7216 (eshell-visual-subcommands, eshell-visual-options):
7217 Add summary line to docstrings. Add cross-references.
fa472906 7218
ff4871b9
GM
72192013-06-10 Glenn Morris <rgm@gnu.org>
7220
7221 * epa.el (epa-read-file-name): New function. (Bug#14510)
7222 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7223
04fcf1b0
AG
72242013-06-09 Aidan Gauland <aidalgol@amuri.net>
7225
7226 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7227 output redirection to be ignored with visual commands.
7228
88b00caa
AG
72292013-06-09 Aidan Gauland <aidalgol@amuri.net>
7230
7231 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7232 (eshell-term-initialize): Move long lambda to separate function
7233 eshell-visual-command-p.
e7b41c4c
JB
7234 * eshell/em-dirs.el (eshell-dirs-initialise):
7235 * eshell/em-script.el (eshell-script-initialize):
7236 Add missing #' to lambda.
88b00caa 7237
fda74125
LL
72382013-06-08 Leo Liu <sdl.web@gmail.com>
7239
7240 * progmodes/octave.el (octave-add-log-current-defun): New function.
7241 (octave-mode): Set add-log-current-defun-function.
7242 (octave-goto-function-definition): Do not move point if not found.
7243 (octave-find-definition): Enhance to try subfunctions first.
7244
467f3b33
GM
72452013-06-08 Glenn Morris <rgm@gnu.org>
7246
7247 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7248 (byte-compile-backward-char, byte-compile-backward-word):
7249 Improve previous change, to handle non-explicit nil.
7250
544badc3
SM
72512013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7254 (smie--opener/closer-at-point): New function.
7255 (smie--matching-block-data): Use it. Don't match from right after an
7256 opener or right before a closer. Obey smie-blink-matching-inners.
7257 Don't signal a mismatch for repeated inners like "switch..case..case".
7258
a175bf33
LL
72592013-06-07 Leo Liu <sdl.web@gmail.com>
7260
7261 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7262 to t. (Bug#14303)
ce8209d4
LL
7263 (octave-function-header-regexp): Fix. (Bug#14570)
7264 (octave-help-mode-finish-hook, octave-help-mode-finish):
7265 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7266
7267 * newcomment.el (comment-search-backward): Revert last change.
7268 (Bug#14434)
7269
7270 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7271
a822acff
EZ
72722013-06-07 Eli Zaretskii <eliz@gnu.org>
7273
7274 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7275 through xargs, to avoid failure due to MS-Windows limitations on
7276 command-line length.
7277
961166f5
GM
72782013-06-06 Glenn Morris <rgm@gnu.org>
7279
d0341459
GM
7280 * font-lock.el (lisp-font-lock-keywords-2):
7281 Treat user-error like error.
7282
961166f5
GM
7283 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7284 (byte-compile-backward-char, byte-compile-backward-word):
7285 Handle explicit nil arguments. (Bug#14565)
7286
80fa505f
AM
72872013-06-05 Alan Mackenzie <acm@muc.de>
7288
7289 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7290 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7291 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7292 (Bug#9706)
80fa505f 7293
fccdc796
SM
72942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * autorevert.el (auto-revert-notify-handler): Use memq.
7297 Hide assertion failure.
7298
7299 * skeleton.el: Use cl-lib.
7300 (skeleton-further-elements): Use defvar-local.
7301 (skeleton-insert): Use cl-progv.
7302
9bfff84b
TZ
73032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7304
7305 * progmodes/prog-mode.el (prog-prettify-symbols)
7306 (prog-prettify-install): Update docstrings.
7307
55577e7c
SM
73082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * simple.el: Move all the prog-mode code to prog-mode.el.
7311 * progmodes/prog-mode.el: New file.
7312 * loadup.el: Add prog-mode.el.
7313
8fc57765
TZ
73142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7315
7316 * simple.el (prog-prettify-symbols): Add version.
7317 (prog-prettify-install): Add convenience function to prettify symbols.
7318
7319 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7320 (perl--augmented-font-lock-keywords-1)
7321 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7322 variables and use it.
7323
7324 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7325 (cfengine3-mode): Remove unneeded variable and use it.
7326
7327 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7328 (lisp--augmented-font-lock-keywords-1)
7329 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7330 Remove unneeded variables and use it.
7331
650645d5 73322013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7333
7334 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7335 to point when opening the connection. (Bug#14380)
28f5da6d 7336
781b4af6
SM
73372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * subr.el (load-history-regexp, load-history-filename-element)
7340 (eval-after-load, after-load-functions, do-after-load-evaluation)
7341 (eval-next-after-load, display-delayed-warnings)
7342 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7343 definition of save-match-data.
7344 (overriding-local-map): Remove accidental obsolescence declaration.
7345
7346 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7347
3ca0d0b4
TZ
73482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7349
7350 Generalize symbol prettify support to prog-mode and implement it
7351 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7352 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7353 (prog--prettify-font-lock-compose-symbol)
7354 (prog-prettify-font-lock-symbols-keywords): New variables and
7355 functions to support symbol prettification.
7356 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7357 (lisp--augmented-font-lock-keywords-1)
7358 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7359 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7360 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7361 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7362 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7363 * progmodes/perl-mode.el (perl-prettify-symbols)
7364 (perl--font-lock-compose-symbol)
7365 (perl--font-lock-symbols-keywords): Move to prog-mode.
7366 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7367 (perl-font-lock-keywords-1)
7368 (perl-font-lock-keywords-2): Remove explicit prettify support.
7369 (perl--augmented-font-lock-keywords)
7370 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7371 (perl--augmented-font-lock-keywords-2, perl-mode):
7372 Implement prettify support.
3ca0d0b4 7373
976cb066
LL
73742013-06-05 Leo Liu <sdl.web@gmail.com>
7375
7376 Re-implement smie matching block highlight using
7377 show-paren-data-function. (Bug#14395)
7378 * emacs-lisp/smie.el (smie-matching-block-highlight)
7379 (smie--highlight-matching-block-overlay)
7380 (smie--highlight-matching-block-lastpos)
7381 (smie-highlight-matching-block)
7382 (smie-highlight-matching-block-mode): Remove.
7383 (smie--matching-block-data-cache): New variable.
7384 (smie--matching-block-data): New function.
7385 (smie-setup): Use smie--matching-block-data for
7386 show-paren-data-function.
7387
7388 * progmodes/octave.el (octave-mode-menu): Fix.
7389 (octave-find-definition): Skip garbage lines.
7390
208d0342
SM
73912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 Fix compilation error with simultaneous dynamic+lexical scoping.
7394 Add warning when a defvar appears after the first let-binding.
7395 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7396 (byte-compile-close-variables): Initialize it.
7397 (byte-compile--declare-var): New function.
7398 (byte-compile-file-form-defvar)
7399 (byte-compile-file-form-define-abbrev-table)
7400 (byte-compile-file-form-custom-declare-variable): Use it.
7401 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7402 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7403 (byte-compile-bind): Handle dynamic bindings that shadow
7404 lexical bindings.
7405 (byte-compile-unbind): Make arg non-optional.
7406 (byte-compile-let): Simplify.
7407 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7408 (cconv--analyse-function, cconv-analyse-form): Populate it.
7409 Protect byte-compile-bound-variables to limit the scope of defvars.
7410 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7411 Remove unneeded rule for `declare'.
7412
7413 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7414 so as to avoid depending on cl-adjoin at run-time.
7415 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7416
7417 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7418 (macroexp--warn-and-return): Use it.
7419
1ac2891e
GM
74202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * lisp/subr.el: Convert to lexical binding.
7423 (overriding-local-map): Make obsolete.
7424 (add-to-list): Doc fix. Add compiler macro.
7425 (read-key): Swap values of local maps.
7426
2587b005
LL
74272013-06-05 Leo Liu <sdl.web@gmail.com>
7428
7429 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7430
f1da3c88
LL
74312013-06-04 Leo Liu <sdl.web@gmail.com>
7432
7433 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7434 (compilation-auto-jump): Suppress the "Mark set" message to give
7435 way to exit message.
7436
3caa391f
AM
74372013-06-04 Alan Mackenzie <acm@muc.de>
7438
7439 Remove faulty optimisation from indentation calculation.
7440 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7441 search limit based on 2000 characters back from indent-point.
7442
068922a2
TH
74432013-06-03 Tassilo Horn <tsdh@gnu.org>
7444
7445 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7446
1f8fdd53
SM
74472013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7448
bbcc4d97
SM
7449 * emacs-lisp/lisp.el: Use lexical-binding.
7450 (lisp--local-variables-1, lisp--local-variables): New functions.
7451 (lisp--local-variables-completion-table): New var.
208d0342 7452 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7453
1f8fdd53
SM
7454 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7455 eagerly (bug#14422).
7456
c9628c79
MA
74572013-06-03 Michael Albinus <michael.albinus@gmx.de>
7458
7459 * autorevert.el (auto-revert-notify-enabled)
7460 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7461 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7462 (auto-revert-notify-handler): Handle also gfilenotify.
7463
e7b41c4c 7464 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7465 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7466 Remove.
c9628c79 7467
e5e4a942
JL
74682013-06-03 Juri Linkov <juri@jurta.org>
7469
7470 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7471 `M-s h .'. (Bug#14427)
7472
7473 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7474 command `hi-lock-face-symbol-at-point'.
7475 (hi-lock-face-symbol-at-point): New command.
7476 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7477 (hi-lock-menu): Add `highlight-symbol-at-point'.
7478 (hi-lock-mode): Doc fix.
7479
7480 * isearch.el (isearch-forward-symbol-at-point): New command.
7481 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7482 (isearch-highlight-regexp): Add a regexp which matches
7483 words/symbols for word/symbol mode.
7484
7485 * subr.el (find-tag-default-bounds): New function with the body
7486 mostly moved from `find-tag-default'.
7487 (find-tag-default): Move most code to `find-tag-default-bounds',
7488 call it and apply `buffer-substring-no-properties' afterwards.
7489
26b3353a
TH
74902013-06-03 Tassilo Horn <tsdh@gnu.org>
7491
781b4af6
SM
7492 * eshell/em-term.el (eshell-term-initialize):
7493 Use `cl-intersection' rather than `intersection'.
26b3353a 7494
51b60f53
XF
74952013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7496
fe054b63 7497 * vc/log-view.el: Doc fix.
d3ffe17c 7498 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7499
a0eb10b3 75002013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7501
7502 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7503 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7504 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7505 (eieio-unbound, eieio-default-superclass)
7506 (eieio--define-field-accessors, method-static, method-before)
7507 (method-primary, method-after, method-num-lists)
7508 (method-generic-before, method-generic-primary)
7509 (method-generic-after, method-num-slots)
7510 (eieio-specialized-key-to-generic-key)
7511 (eieio--check-type, class-v, class-p)
7512 (eieio-class-name, define-obsolete-function-alias)
7513 (eieio-class-parents-fast, eieio-class-children-fast)
7514 (same-class-fast-p, class-constructor, generic-p)
7515 (generic-primary-only-p, generic-primary-only-one-p)
7516 (class-option-assoc, class-option, eieio-object-p)
7517 (class-abstract-p, class-method-invocation-order)
7518 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7519 (eieio-class-un-autoload, eieio-defclass)
7520 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7521 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7522 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7523 (eieio-defgeneric-reset-generic-form)
7524 (eieio-defgeneric-form-primary-only)
7525 (eieio-defgeneric-reset-generic-form-primary-only)
7526 (eieio-defgeneric-form-primary-only-one)
7527 (eieio-defgeneric-reset-generic-form-primary-only-one)
7528 (eieio-unbind-method-implementations)
7529 (eieio--defmethod, eieio--typep)
7530 (eieio-perform-slot-validation, eieio-validate-slot-value)
7531 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7532 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7533 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7534 (eieio-slot-name-index, eieio-class-slot-name-index)
7535 (eieio-set-defaults, eieio-initarg-to-attribute)
7536 (eieio-attribute-to-initarg, eieio-c3-candidate)
7537 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7538 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7539 (eieio-class-precedence-list, eieio-generic-call-methodname)
7540 (eieio-generic-call-arglst, eieio-generic-call-key)
7541 (eieio-generic-call-next-method-list)
7542 (eieio-pre-method-execution-functions, eieio-generic-call)
7543 (eieio-generic-call-primary-only, eieiomt-method-list)
7544 (eieiomt-optimizing-obarray, eieiomt-install)
7545 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7546 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7547 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7548 (defclass): Remove `eval-and-compile' from macro.
7549 (call-next-method, shared-initialize): Instead of using
7550 `scoped-class' variable, use new eieio--scoped-class, and
7551 eieio--with-scoped-class.
7552 (initialize-instance): Rename local variable 'scoped-class' to
7553 'this-class' to remove ambiguitity from old global.
7554
7555 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7556 eieio.el.
4f405069
JB
7557 (eieio--scoped-class-stack): New variable.
7558 (eieio--scoped-class): New fcn.
890f7890
DE
7559 (eieio--with-scoped-class): New scoping macro.
7560 (eieio-defclass): Use pushnew instead of add-to-list.
7561 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7562 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7563 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7564 `scoped-class' variable, use new eieio--scoped-class, and
7565 eieio--with-scoped-class.
7566
7567 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7568
d105b0e2
TH
75692013-06-02 Tassilo Horn <tsdh@gnu.org>
7570
7571 * eshell/esh-ext.el (eshell-external-command): Pass args to
7572 `eshell-find-interpreter'.
7573 (eshell-find-interpreter): Add new second parameter ARGS.
7574
7575 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7576 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7577
7578 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7579 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7580
7581 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7582 (eshell-visual-options): New defcustom.
7583 (eshell-escape-control-x): Adapt docstring.
7584 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7585 `eshell-visual-options' in addition to `eshell-visual-commands'.
7586 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7587
f46305c8 75882013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7589
7590 * progmodes/python.el (python-indent-block-enders): Add break,
7591 continue and raise keywords.
7592
d870df21
GM
75932013-06-01 Glenn Morris <rgm@gnu.org>
7594
9133b82e
GM
7595 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7596
02c992ec 7597 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7598 * progmodes/cc-cmds.el (delete-forward-p):
7599 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7600 * progmodes/cc-engine.el (buffer-syntactic-context):
7601 * progmodes/cc-fonts.el (face-property-instance):
7602 * progmodes/cc-mode.el (set-keymap-parents):
7603 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7604 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7605 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7606 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7607 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7608
31e7b090
GM
7609 * progmodes/cc-vars.el (other): Emacs has this widget since
7610 at least 21.1, so don't (re)define it.
7611
d870df21
GM
7612 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7613 Replace the obsolete alias pcomplete-arg-quote-list.
7614
c75c93c7
LL
76152013-06-01 Leo Liu <sdl.web@gmail.com>
7616
7617 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7618 punctuation syntax.
7619 (inferior-octave-minimal-columns)
7620 (inferior-octave-last-column-width): New variables.
7621 (inferior-octave-track-window-width-change): New function.
7622 (inferior-octave-mode): Adjust column width so that Octave output,
7623 for example from 'ls', can fit into the window nicely.
7624
973d1e12
DG
76252013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7626
7627 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7628 Highlight expansions inside regexp literals.
7629
0888c286
GM
76302013-05-31 Glenn Morris <rgm@gnu.org>
7631
e26aac1f
GM
7632 * obsolete/sym-comp.el (symbol-complete):
7633 Replace obsolete completion-annotate-function.
7634
0888c286
GM
7635 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7636
19bb8e62
DG
76372013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7638
781b4af6
SM
7639 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7640 New function, checks if point is inside a literal that allows
19bb8e62
DG
7641 expression expansion.
7642 (ruby-syntax-propertize-expansion): Use it.
7643 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7644 around the body.
7645
01dea85f
JL
76462013-05-30 Juri Linkov <juri@jurta.org>
7647
7648 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7649 to "\M-si".
7650 (isearch-invisible): New variable.
7651 (isearch-forward): Doc fix.
7652 (isearch-mode): Set `isearch-invisible'
7653 to the value of `search-invisible'.
7654 (isearch-toggle-case-fold): Doc fix.
7655 (isearch-toggle-invisible): New command.
7656 (isearch-query-replace): Let-bind `search-invisible'
7657 to the value of `isearch-invisible'.
7658 (isearch-search): Use `isearch-invisible' instead of
7659 `search-invisible'. Let-bind `search-invisible'
7660 to the value of `isearch-invisible'. (Bug#11378)
7661
ab1bdce5
JL
76622013-05-30 Juri Linkov <juri@jurta.org>
7663
7664 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7665 call when `query-flag' is nil and `search-invisible' is non-nil.
7666 (Bug#11746)
7667
d6d236e2
GM
76682013-05-30 Glenn Morris <rgm@gnu.org>
7669
8accd027
GM
7670 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7671
2a8bed1c
GM
7672 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7673 (cc-require): Suppress spurious "noruntime" warnings.
7674 (cc-require-when-compile): Use fboundp, for sake of compiler.
7675
d6d236e2
GM
7676 * progmodes/cc-mode.el: Move load of cc-vars before that of
7677 cc-langs (which in turn loads cc-vars), to quieten compiler.
7678
9190b35b
SM
76792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * paren.el: Simplify the code.
7682 (show-paren-mode): Always start the timer.
7683 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7684 (show-paren--overlay, show-paren--overlay-1): Rename from
7685 show-paren-overlay and show-paren-overlay-1, and initialize to an
7686 overlay rather than to nil.
7687 (show-paren-function): Misc cleanup and simplifications.
7688
4f8d1cf6
SM
76892013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 * paren.el (show-paren-data-function): New hook.
7692 (show-paren--default): New function, extracted from show-paren-function.
7693 (show-paren-function): Use show-paren-data-function.
7694
02d844b5
GM
76952013-05-30 Glenn Morris <rgm@gnu.org>
7696
d209d4a9
GM
7697 * ielm.el (ielm-map, ielm-complete-symbol):
7698 Use completion-at-point rather than obsolete functions.
7699 (inferior-emacs-lisp-mode): Doc fix.
7700 Set completion-at-point-functions, rather than
7701 comint-dynamic-complete-functions.
7702
2082faa6
GM
7703 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7704 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7705 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7706
dd8620de
GM
7707 * image.el (image-animated-p): Tweak definition.
7708
ceca95b1
GM
7709 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7710 (rlogin-process-connection-type): Tweak default. Add set-after.
7711 (rlogin-host): Doc fix.
7712 (rlogin): Tweak prompt.
7713 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7714
ee9f1acc
GM
7715 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7716 * progmodes/tcl.el (inferior-tcl-mode-map):
7717 Use completion-at-point rather than obsolete alias.
7718
45ce222e
GM
7719 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7720
02d844b5
GM
7721 * minibuffer.el (read-file-name-completion-ignore-case):
7722 Move before completion--in-region, for eager macro expansion.
7723
ac44d6c1
JL
77242013-05-29 Juri Linkov <juri@jurta.org>
7725
7726 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7727 for total count of matching lines. Add `global-matches' for total
7728 count of matches. Rename `matches' to `lines' for count of
7729 matching lines. Add `matches' for count of matches.
7730 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7731 to `prev-line' for line number of prev match endpt.
7732 Increment `matches' for every match. Print the number of
7733 matching lines in the header.
7734 (occur-context-lines): Rename `lines' to `curr-line'.
7735 Rename `prev-lines' to `prev-line'. (Bug#14017)
7736
3c9c9d38
JL
77372013-05-29 Juri Linkov <juri@jurta.org>
7738
7739 * replace.el (perform-replace): Add `skip-read-only-count',
7740 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7741 Increment them for corresponding conditions and report the number
7742 of skipped occurrences in the final message. (Bug#11746)
7743 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7744 (replace-string, replace-regexp): Doc fix.
7745
33e249a2
SM
77462013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7747
8e399682
SM
7748 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7749
33e249a2 7750 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7751 prog-mode-map (bug#14504).
33e249a2 7752
f236dd84
LL
77532013-05-29 Leo Liu <sdl.web@gmail.com>
7754
7755 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7756 (octave-help): Small simplification.
7757
7758 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7759 off the highlight first.
7760
3694d13f
GM
77612013-05-29 Glenn Morris <rgm@gnu.org>
7762
03983bdc
GM
7763 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7764 Handle idlwave-last-system-routine-info-cons-cell being nil.
7765
bc74a74a
GM
7766 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7767 (idlwave-write-paths): Simplify via with-temp-buffer.
7768
8b394200
GM
7769 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7770 * emulation/cua-rect.el: Also load cua-base at run time.
7771
3694d13f
GM
7772 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7773 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7774 (cperl-imenu-on-info): Require imenu.
7775
336d7284
AM
77762013-05-28 Alan Mackenzie <acm@muc.de>
7777
7778 Handle "capitalised keywords" correctly.
33e249a2 7779 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7780
cb29c582
AG
77812013-05-28 Aidan Gauland <aidalgol@amuri.net>
7782
781b4af6 7783 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7784
690e44b2
GM
77852013-05-28 Glenn Morris <rgm@gnu.org>
7786
e658d75c
GM
7787 * vc/vc-arch.el (vc-exec-after): Declare.
7788 (vc-switches): Autoload.
7789 * vc/vc-bzr.el: No need to require vc when compiling.
7790 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7791 (vc-resynch-buffer, vc-dir-refresh): Declare.
7792 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7793 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7794 (vc-resynch-buffer): Declare.
7795 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7796 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7797 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7798 (grep-read-regexp, grep-read-files, grep-expand-template)
7799 (vc-dir-refresh): Declare.
7800 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7801 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7802 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7803 * vc/vc-mtn.el (vc-exec-after): Declare.
7804 (vc-switches): Autoload.
7805 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7806 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7807 (vc-file-tree-walk): Declare.
712b9732
GM
7808 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7809 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7810 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7811 * vc/vc-svn.el (vc-exec-after): Declare.
7812 (vc-switches, vc-setup-buffer): Autoload.
7813 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7814 Autoload.
7815 (vc-resynch-buffer): Declare.
7816
98e87fb3
GM
7817 * obsolete/fast-lock.el (byte-compile-warnings):
7818 Don't warn about obsolete features in this obsolete file.
7819
f5379553
GM
7820 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7821 Move definition before use.
7822
7a20ef83
GM
7823 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7824 (dun-unix-verbs): Remove dun-zippy.
7825 (dun-zippy): Remove function.
7826
690e44b2
GM
7827 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7828
3a52ccf7
JL
78292013-05-27 Juri Linkov <juri@jurta.org>
7830
7831 * replace.el (replace-search): New function with code moved out
7832 from `perform-replace'.
7833 (replace-highlight, replace-dehighlight): Move function definitions
7834 up closer to `replace-search'. (Bug#11746)
7835
d289938a
JL
78362013-05-27 Juri Linkov <juri@jurta.org>
7837
7838 * replace.el (perform-replace): Ignore invisible matches.
7839 In addition to checking `query-replace-skip-read-only', also
7840 filter out matches by calling `run-hook-with-args-until-failure'
7841 on `isearch-filter-predicates', and also check `search-invisible'
7842 for t or call `isearch-range-invisible'.
7843 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7844
66fc57e3
JL
78452013-05-27 Juri Linkov <juri@jurta.org>
7846
7847 * isearch.el (isearch-filter-predicates): Rename from
7848 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7849 (isearch-message-prefix): Display text from the property
7850 `isearch-message-prefix' of the currently active filters.
7851 (isearch-search): Don't compare `isearch-filter-predicate' with
7852 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7853 on `isearch-filter-predicates'. Also check `search-invisible' for t
7854 or call `isearch-range-invisible'.
7855 (isearch-filter-visible): Make obsolete.
7856 (isearch-lazy-highlight-search):
7857 Call `run-hook-with-args-until-failure' on
7858 `isearch-filter-predicates' and use `isearch-range-invisible'.
7859
7860 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7861 `isearch-filter-predicates' instead of `funcall'ing
7862 `isearch-filter-predicate'.
7863 (Info-mode): Set `Info-isearch-filter' to
7864 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7865
7866 * dired-aux.el (dired-isearch-filter-predicate-orig):
7867 Remove variable.
7868 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7869 (dired-isearch-filenames-end): Add and remove
7870 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7871 instead of changing the value of `isearch-filter-predicate'.
7872 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7873 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7874 Put property `isearch-message-prefix' to "filename " on
7875 `dired-isearch-filter-filenames'.
7876
7877 * wdired.el (wdired-change-to-wdired-mode):
7878 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7879 locally instead of changing `isearch-filter-predicate'.
7880 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7881
f1a60a0f
DG
78822013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7883
7884 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7885 return the commit hash (Bug#14459). Also set the
7886 `vc-git-detached' property.
7887 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7888 (vc-git-mode-line-string): Use the same help-echo format whether
7889 in detached mode or not, because we know the actual revision now.
7890 When in detached mode, shorten the revision to 7 chars.
7891
7f17cc40
SM
78922013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * emacs-lisp/easy-mmode.el (define-minor-mode):
7895 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7896 mode hook and provide a docstring.
7897
25c8401c
AM
78982013-05-27 Alan Mackenzie <acm@muc.de>
7899
7900 Remove spurious syntax-table text properties inserted by C-y.
7901 * progmodes/cc-mode.el (c-after-change): Also clear hard
7902 syntax-table property with value nil.
7903
dde84790
MA
79042013-05-27 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7907 when reading the events; the buffer layout shall not be changed.
7908
837fd9af
LL
79092013-05-27 Leo Liu <sdl.web@gmail.com>
7910
7911 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7912 New variable.
7913 (inferior-octave-directory-tracker): Automatically re-sync
7914 default-directory.
7915 (octave-help): Improve handling of 'See also'.
7916
4fd996b3
SM
79172013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7918
416f1802
SM
7919 * doc-view.el: Minor naming convention tweaks.
7920 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7921
4fd996b3
SM
7922 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7923 even if there's no `display' property yet (bug#14435).
7924
a052ef3b
EZ
79252013-05-25 Eli Zaretskii <eliz@gnu.org>
7926
4fd996b3 7927 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7928
7929 * Makefile.in (custom-deps, finder-data, autoloads)
7930 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7931 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7932 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7933
c9023370
SM
79342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7937 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7938 Don't burp at EOB.
c9023370 7939
24d699fa
LL
79402013-05-25 Leo Liu <sdl.web@gmail.com>
7941
7942 * comint.el (comint-previous-matching-input): Do not flood the
7943 *Messages* buffer with trivial messages.
7944
17e5c0cc
SM
79452013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * progmodes/flymake.el (flymake-nop): Don't return a string.
7948 (flymake-set-at): Fix typo.
7949
7950 * simple.el (read--expression): New function, extracted from
7951 eval-expression. Set completion-at-point-functions (bug#14465).
7952 (eval-expression, eval-minibuffer): Use it.
7953
5d028165
XF
79542013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7955
7956 * progmodes/flymake.el (flymake-save-buffer-in-file)
7957 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7958 (flymake-selected-frame, flymake-log, flymake-ins-after)
7959 (flymake-set-at, flymake-get-buildfile-from-cache)
7960 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7961 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7962 Refine the doc string.
7963 (flymake-get-file-name-mode-and-masks): Reformat.
7964 (flymake-get-real-file-name-function): Fix a minor bug.
7965
7a1d7ba7
JL
79662013-05-24 Juri Linkov <juri@jurta.org>
7967
7968 * progmodes/grep.el (grep-mode-font-lock-keywords):
7969 Support =linenumber= format used by git-grep for lines with
7970 function names. (Bug#13549)
7971
650cff3d
SM
79722013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7975 0 after a semi-colon; it works better for smie-auto-fill.
7976 (octave--indent-new-comment-line): New function.
7977 (octave-indent-new-comment-line): Use it (indirectly).
7978 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7979 modify comment-line-break-function.
7980
7981 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7982 (smie-setup): Use add-function to set it.
7983
9631677d
SS
79842013-05-24 Sam Steingold <sds@gnu.org>
7985
7986 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7987 argument (before the `interactive' argument).
7988
50105835
SM
79892013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * image-mode.el (image-mode-winprops): Add winprops to
7992 image-mode-winprops-alist before running
7993 image-mode-new-window-functions.
7994 * doc-view.el (doc-view-new-window-function): Don't delay
7995 doc-view-goto-page via timers (bug#14435).
7996
57b9823e
TH
79972013-05-24 Tassilo Horn <tsdh@gnu.org>
7998
7999 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8000 (doc-view-desktop-save-buffer): New function.
8001 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8002 (desktop-buffer-mode-handlers):
8003 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8004 handler.
8005 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8006 `desktop-save-buffer' function.
8007
91aafa16
MA
80082013-05-24 Michael Albinus <michael.albinus@gmx.de>
8009
8010 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8011 (tramp-gvfs-file-name-handler): Raise a user error when
8012 `tramp-gvfs-enabled' is nil.
8013 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8014 Do not raise a user error when loading package. (Bug#14447)
8015
ec076379
MA
8016 * net/xesam.el: Move to obsolete/.
8017
db785726
GM
80182013-05-24 Glenn Morris <rgm@gnu.org>
8019
af5c7606
GM
8020 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8021
e5d1916a
GM
8022 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8023
ded62b08
GM
8024 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8025 (Info-find-node, Man-getpage-in-background): Declare.
8026
9e614a3f
GM
8027 * mail/unrmail.el (unrmail):
8028 Replace obsolete detect-coding-with-priority.
8029
892f8ca3
GM
8030 * net/socks.el (socks-split-string): Use this rather than split-string.
8031 (socks-nslookup-host): Update for above change.
8032 (dynamic-choice, s5-dynamic-choice-match)
8033 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8034 Comment out unused code.
8035
3c291973
GM
8036 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8037 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8038 (gud-tooltip-echo-area): Make obsolete.
8039 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8040
43cc956b
GM
8041 * progmodes/js.el (js--optimize-arglist): Declare.
8042
dab49a3b
GM
8043 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8044
36b9d085
GM
8045 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8046 (ediff-window-C): Declare.
8047
e354ae76
GM
8048 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8049 Tweak requires to silence compiler.
8050
b8e57bf4
GM
8051 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8052 (he-search-string, he-tried-table, he-expand-list)
8053 (he-init-string, he-string-member, he-substitute-string)
8054 (he-reset-string): Declare.
8055
db785726
GM
8056 * obsolete/options.el (list-options): Use custom-variable-p,
8057 rather than obsolete alias.
8058
b3531901
SS
80592013-05-23 Sam Steingold <sds@gnu.org>
8060
8061 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8062 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8063 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8064
bdda4c66
SM
80652013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * emacs-lisp/smie.el (smie-indent-forward-token)
8068 (smie-indent-backward-token): Handle string tokens (bug#14381).
8069
c43d45f9
TH
80702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8071
fe1eb856
RS
8072 * ielm.el (ielm-menu): New menu.
8073 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8074
fe1eb856
RS
80752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8076
8077 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8078 Fix deactivate action.
8079
8080 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8081 Add cleveref macros.
074dd971 8082
c43d45f9
TH
8083 * lisp/textmodes/reftex-parse.el
8084 (reftex-locate-bibliography-files): Accept options for
8085 bibliography commands.
8086 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8087 Add addbibresource. Basic Biblatex support.
8088
7764286e
MA
80892013-05-23 Michael Albinus <michael.albinus@gmx.de>
8090
8091 * net/tramp-gvfs.el (top):
8092 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8093 when loading package. (Bug#14447)
8094
d361bc10
GM
80952013-05-23 Glenn Morris <rgm@gnu.org>
8096
8fa23984
GM
8097 * progmodes/js.el: No need to load comint when compiling.
8098 (ring-insert, comint-send-string, comint-send-input)
8099 (comint-last-input-end, ido-chop): Declare.
8100
a5c7df1a
GM
8101 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8102 * vc/ediff-mult.el: Adjust requires.
8103 (ediff-directories-internal, ediff-directory-revisions-internal)
8104 (ediff-patch-file-internal): Declare.
8105 * vc/ediff-ptch.el: Adjust requires.
8106 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8107 (ediff-find-file): Autoload.
8108 * vc/ediff-util.el: No need to load ediff when compiling.
8109 (ediff-regions-internal): Declare.
8110 * vc/ediff-wind.el: Adjust requires.
8111 (ediff-compute-toolbar-width): Define when compiling.
8112 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8113 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8114 (dired-get-filename, dired-get-marked-files)
8115 (ediff-last-dir-patch, ediff-patch-default-directory)
8116 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8117 (ediff-patch-buffer-internal): Declare.
8118
e2aec513
GM
8119 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8120 (ispell-process, ispell-buffer-local-words, lm-summary)
8121 (lm-section-start, lm-section-end): Declare.
8122 (checkdoc-ispell-init): Simplify.
8123
e68bbd7c
GM
8124 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8125 (he-string-member, he-reset-string, he-substitute-string): Declare.
8126
7efe0991
GM
8127 * eshell/em-ls.el: Adjust requires.
8128 (eshell-glob-regexp): Declare.
f87b1284
GM
8129 * eshell/em-tramp.el: Adjust requires.
8130 (eshell-parse-command): Autoload.
8131 * eshell/em-xtra.el: Adjust requires.
8132 (eshell-parse-command): Autoload.
8133 * eshell/esh-ext.el: Adjust requires.
8134 (eshell-parse-command, eshell-close-handles): Autoload.
8135 * eshell/esh-io.el: Adjust requires.
8136 (eshell-output-filter): Autoload.
8137 * eshell/esh-util.el: No need to load tramp when compiling.
8138 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8139 Declare.
8140 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8141 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8142 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8143 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8144 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8145 * eshell/esh-opt.el, eshell/esh-proc.el:
8146 * eshell/esh-var.el: Adjust requires.
8147 * eshell/eshell.el: Do not require esh-util twice.
8148 (eshell-add-input-to-history): Declare.
8149 (eshell-command): Check history module is active before using it.
8150
d361bc10
GM
8151 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8152
85d090a9
LL
81532013-05-22 Leo Liu <sdl.web@gmail.com>
8154
8155 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8156
5d0acd9d
MA
81572013-05-22 Michael Albinus <michael.albinus@gmx.de>
8158
8159 * autorevert.el (auto-revert-notify-add-watch)
8160 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8161 it indicates changes in file modification time.
8162
0cdffd7d
GM
81632013-05-22 Glenn Morris <rgm@gnu.org>
8164
ca5995ec
GM
8165 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8166 Always delete the autoloaded function from the noruntime and
8167 unresolved functions lists.
8168
6450907e
GM
8169 * allout.el: No need to load epa, epg, overlay when compiling.
8170 (epg-context-set-passphrase-callback, epg-list-keys)
8171 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8172 (epg-key-user-id-list): Declare.
8173
9c6906f6
GM
8174 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8175 (viper-set-parsing-style-toggling-macro)
8176 (viper-set-emacs-state-searchstyle-macros):
8177 Use called-interactively-p on Emacs.
8178 (viper-looking-back): Make it an obsolete alias. Update callers.
8179 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8180 Use looking-back rather than viper-looking-back.
8181 (viper-tmp-insert-at-eob, viper-enlarge-region)
8182 (viper-read-string-with-history, viper-register-to-point)
8183 (viper-append-to-register, viper-change-state-to-vi)
8184 (viper-backward-char-carefully, viper-forward-char-carefully)
8185 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8186 (viper-change-state-to-emacs): Declare.
8187 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8188 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8189 * emulation/viper-mous.el: Do not load viper-cmd.
8190 (viper-backward-char-carefully, viper-forward-char-carefully)
8191 (viper-forward-word, viper-adjust-window): Declare.
8192
5f70c169
GM
8193 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8194
b1b7f300
GM
8195 * progmodes/idlw-help.el (idlwave-help-fontify):
8196 Use called-interactively-p.
8197
f6ebbb46
GM
8198 * term/w32console.el (w32-get-console-codepage)
8199 (w32-get-console-output-codepage): Declare.
8200
0cdffd7d
GM
8201 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8202 Remove unnecessary declarations.
8203 (dframe-message): Doc fix.
8204
8205 * info.el (dframe-select-attached-frame, dframe-current-frame):
8206 Declare.
8207
8208 * speedbar.el (speedbar-message): Make it an obsolete alias.
8209 Update all callers.
8210 (speedbar-with-attached-buffer)
8211 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8212 (speedbar-with-writable): Use backquote.
8213 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8214 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8215 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8216 rather than speedbar- aliases.
8217 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8218 (speedbar-make-specialized-keymap, speedbar-insert-button)
8219 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8220 (speedbar-do-function-pointer): Declare.
8221 (rmail-speedbar-button, rmail-speedbar-find-file)
8222 (rmail-speedbar-move-message):
8223 Use dframe-with-attached-buffer rather than speedbar- alias.
8224 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8225 (dframe-message, speedbar-make-specialized-keymap)
8226 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8227 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8228 (speedbar-insert-button, dframe-select-attached-frame)
8229 (dframe-maybee-jump-to-attached-frame)
8230 (speedbar-change-initial-expansion-list)
8231 (speedbar-previously-used-expansion-list-name): Declare.
8232 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8233 Use dframe-message, dframe-with-attached-buffer rather than
8234 speedbar- aliases.
8235 (gud-sentinel): Silence compiler.
8236 * progmodes/vhdl-mode.el (speedbar-refresh)
8237 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8238 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8239 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8240 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8241 (speedbar-file-lists, speedbar-make-tag-line)
8242 (speedbar-line-directory, speedbar-goto-this-file)
8243 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8244 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8245 (speedbar-make-button, speedbar-reset-scanners)
8246 (speedbar-files-item-info, speedbar-line-text)
8247 (speedbar-find-file-in-frame, speedbar-set-timer)
8248 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8249 (speedbar-with-writable): Do not (re)define it.
8250 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8251 rather than speedbar- alias.
8252
ee44b62a
LL
82532013-05-21 Leo Liu <sdl.web@gmail.com>
8254
8255 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8256 menu items.
8257 (octave-mode): Tweak fill-nobreak-predicate.
8258 (inferior-octave-startup): Check process to avoid infinite loop.
8259 (inferior-octave): Pop to buffer first to show abornmal process
8260 exit information.
8261
640f050f
GM
82622013-05-21 Glenn Morris <rgm@gnu.org>
8263
79458038
GM
8264 * printing.el (pr-menu-bar): Define when compiling.
8265
9cc3e83f
LL
82662013-05-21 Leo Liu <sdl.web@gmail.com>
8267
8268 * progmodes/octave.el (octave-auto-fill): Remove.
8269 (octave-indent-new-comment-line): Improve.
8270 (octave-mode): Use auto fill mode through
4f405069 8271 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8272 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8273 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8274 (octave-help): Show parent directory.
8275
f440830d
GM
82762013-05-21 Glenn Morris <rgm@gnu.org>
8277
8278 * files.el (dired-unmark):
8279 * progmodes/gud.el (gdb-input): Update declarations.
8280
8281 * calculator.el (electric, ehelp): No need to load when compiling.
8282 (Electric-command-loop, electric-describe-mode): Declare.
8283
8284 * doc-view.el (doc-view-current-converter-processes): Move before use.
8285
8286 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8287 Move MODE-set-explicitly definition before use.
8288
8289 * international/mule-diag.el (mule-diag):
8290 Don't use obsolete window-system-version.
8291
8292 * mail/feedmail.el (smtpmail): No need to load when compiling.
8293 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8294
8295 * mail/mail-utils.el (rfc822): No need to load when compiling.
8296 (rfc822-addresses): Autoload it.
8297 (mail-strip-quoted-names): Trivial simplification.
8298
8299 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8300 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8301
8302 * net/snmp-mode.el (tempo): Don't duplicate requires.
8303
8304 * progmodes/prolog.el (info): No need to load when compiling.
8305 (comint): Require before shell requires it.
8306 (Info-goto-node): Autoload it.
8307 (Info-follow-nearest-node): Declare.
8308 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8309
8310 * textmodes/artist.el (picture-mode-exit): Declare.
8311
8312 * textmodes/reftex-parse.el (reftex-parse-from-file):
8313 Trivial rewrite so the compiler can parse it better.
8314
b4da2cbb
LL
83152013-05-20 Leo Liu <sdl.web@gmail.com>
8316
8317 * progmodes/octave.el (octave-help-mode-map)
8318 (octave-help-mode-finish-hook): New variables.
8319 (octave-help-mode, octave-help-mode-finish): New functions.
8320 (octave-help): Use octave-help-mode.
8321
33c0f65b
GM
83222013-05-20 Glenn Morris <rgm@gnu.org>
8323
8324 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8325
1a0a0a8a
DG
83262013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8327
8328 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8329 start at point, so that expansion starting right after opening
8330 slash in a regexp is recognized.
8331 (ruby-syntax-before-regexp-re): New defvar, extracted from
8332 ruby-syntax-propertize-function. Since the value of this regexp
8333 is looked up at runtime now, we should be able to turn
8334 `ruby-syntax-methods-before-regexp' into a defcustom later.
8335 (ruby-syntax-propertize-function): Split regexp matching into two
8336 parts, for opening and closing slashes. That allows us to skip
8337 over string interpolations and support multiline regexps.
8338 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8339 for them, which calls `ruby-syntax-propertize-expansion'.
8340 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8341 call to `ruby-syntax-propertize-function'.
8342 (ruby-syntax-propertize-expansion): Extracted from
8343 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8344 (ruby-syntax-propertize-percent-literal): Leave point right after
8345 the percent symbol, so that the expression expansion rule can
8346 propertize the contents.
462388b6
DG
8347 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8348 heredoc openers.
8349 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8350
c1a6c0a4
JL
83512013-05-18 Juri Linkov <juri@jurta.org>
8352
8353 * man.el (Man-default-man-entry): Remove `-' from the end
8354 of the default value. (Bug#14400)
8355
8051fccd
GM
83562013-05-18 Glenn Morris <rgm@gnu.org>
8357
8358 * comint.el (comint-password-prompt-regexp):
8359 Allow "password for XXX" where XXX contains colons (eg https://...).
8360
5e80b74f
LL
83612013-05-18 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8364 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8365 (octave-source-directories): Don't check process.
8366 (octave-source-directories, octave-find-definition): Doc fix.
8367
521a54c5
GM
83682013-05-18 Glenn Morris <rgm@gnu.org>
8369
86a94b05
GM
8370 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8371 Remove backspace/delete bindings. (Bug#14392)
8372
521a54c5
GM
8373 * cus-dep.el (custom-make-dependencies): Sort the output.
8374 (custom-versions-load-alist): Convert comment to doc.
8375
42caeb89
LL
83762013-05-17 Leo Liu <sdl.web@gmail.com>
8377
8378 * newcomment.el (comment-search-backward): Stricter in finding
8379 comment start. (Bug#14303)
8380
8381 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8382 (octave-comment-start-skip): Properly anchored.
8383
e219dd97
LL
83842013-05-17 Leo Liu <sdl.web@gmail.com>
8385
fe1eb856
RS
8386 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8387 Clean up when turned off. (Bug#14395)
e219dd97
LL
8388 (smie--highlight-matching-block-overlay): No longer buffer-local.
8389 (smie-highlight-matching-block): Adjust.
8390
dc5dcb4b
PE
83912013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8392
8393 Doc string fix for "nanoseconds" (Bug#14406).
8394 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8395 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8396
1db165f0
JB
83972013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8398
8399 * calc/calc-units.el (math-extract-units): Preserve powers
8400 of units.
8401
c7a8fcac
LL
84022013-05-17 Leo Liu <sdl.web@gmail.com>
8403
8404 * subr.el (delete-consecutive-dups): New function.
8405 * ido.el (ido-set-matches-1): Use it.
8406 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8407 * ido.el (ido-remove-consecutive-dups): Remove.
8408
f678b18a
SM
84092013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8412 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8413 regexp-opt's `words'.
8414
ebfe68e8
LL
84152013-05-16 Leo Liu <sdl.web@gmail.com>
8416
8417 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8418 (smie--highlight-matching-block-overlay)
8419 (smie--highlight-matching-block-lastpos)
8420 (smie--highlight-matching-block-timer): New variables.
8421 (smie-highlight-matching-block): New function.
8422 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8423 (smie-setup): Conditionally enable smie-blink-matching-open.
8424
bc8bc17d
WS
84252013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8426
8427 Sync with upstream verilog-mode r840.
8428 * progmodes/verilog-mode.el (verilog-mode-version)
8429 (verilog-mode-release-date): Update.
8430 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8431 (verilog-sig-tieoff): Fix string error on
8432 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8433 (verilog-read-decls): Fix parameters confusing
8434 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8435
df065a0b
EZ
84362013-05-16 Eli Zaretskii <eliz@gnu.org>
8437
8438 * subr.el (reveal-filename): New function.
8439
8440 * loadup.el: Compute Emacs executable versions on MS-Windows,
8441 where executables have the .exe extension. Add a hard link
8442 emacs-XX.YY.ZZ.exe on MS-Windows.
8443
8444 * Makefile.in (XARGS_LIMIT): New variable.
8445 (custom-deps, finder-data, autoloads)
8446 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8447 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8448 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8449 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8450
2d4bf34b
LL
84512013-05-16 Leo Liu <sdl.web@gmail.com>
8452
8453 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8454 (octave-mode-menu, octave-mode-map): Remove its uses.
8455
6b9c2d85
RZ
84562013-05-16 Reto Zimmermann <reto@gnu.org>
8457
8458 Sync with upstream vhdl mode v3.34.2.
8459 * progmodes/vhdl-mode.el: Use `push' throughout.
8460 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8461 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8462 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8463 (vhdl-actual-generic-name): New option to derive actual generic name.
8464 (vhdl-port-paste-signals): Replace formal by actual generics.
8465 (vhdl-beautify): New name for old group vhdl-align. Update users.
8466 (vhdl-beautify-options): New option.
8467 (vhdl-last-input-event): New compat alias. Use throughout.
8468 (vhdl-goto-line): Replace user level function `goto-line'.
8469 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8470 vhdl-fix-statement-buffer.
8471 (vhdl-create-mode-menu): Add some entries.
8472 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8473 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8474 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8475 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8476 to force statements on one line.
8477 (vhdl-remove-trailing-spaces-region):
8478 New, split from vhdl-remove-trailing-spaces.
8479 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8480 Respect vhdl-beautify-options.
8481 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8482 (vhdl-update-sensitivity-list): Not add with index if exists without.
8483 Not include array index with signal. Ignore keywords in comments.
8484 (vhdl-get-visible-signals): Regexp tweaks.
8485 (vhdl-template-component-inst): Handle empty library.
8486 (vhdl-template-type): Add template for 'enum' type.
8487 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8488 Use vhdl-replace-string.
8489 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8490 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8491 (vhdl-speedbar-initialize): Update for above name change.
8492 (vhdl-compose-wire-components): Fix in handling of constants.
8493 (vhdl-error-regexp-emacs-alist): New variable.
8494 (vhdl-error-regexp-add-emacs): New function;
8495 adds support for new compile.el (Emacs 22+)
8496 (vhdl-generate-makefile-1): Change target order for single lib. units.
8497 Allow use of absolute file names.
8498
9df4ec5e
LL
84992013-05-16 Leo Liu <sdl.web@gmail.com>
8500
8501 * simple.el (prog-indent-sexp): Indent enclosing defun.
8502
f5ba00a6
GM
85032013-05-15 Glenn Morris <rgm@gnu.org>
8504
ed8be7ff
GM
8505 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8506 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8507 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8508 (whitespace-highlight): Move to whitespace group.
8509
8510 * comint.el (comint-source):
8511 * pcmpl-linux.el (pcmpl-linux):
8512 * shell.el (shell-faces):
8513 * eshell/esh-opt.el (eshell-opt):
8514 * international/ccl.el (ccl): Remove empty custom groups.
8515
8516 * completion.el (dynamic-completion-mode):
8517 * jit-lock.el (jit-lock-debug-mode):
8518 * minibuffer.el (completion-in-region-mode):
8519 * type-break.el (type-break-mode-line-message-mode)
8520 (type-break-query-mode):
8521 * emulation/tpu-edt.el (tpu-edt-mode):
8522 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8523 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8524 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8525
8526 * term/xterm.el (xterm): Change parent group to terminals.
8527
8528 * master.el (master): Remove empty custom group.
8529 (master-mode): Remove unused :group argument.
8530 * textmodes/refill.el (refill): Remove empty custom group.
8531 (refill-mode): Remove unused :group argument.
8532
8533 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8534
82a7c41b
GM
8535 * cus-dep.el: Provide a feature.
8536 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8537 Don't mistakenly ignore files whose basenames match a basename
8538 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8539 Add a fallback method for getting :group.
f5ba00a6 8540
6d65486d
JL
85412013-05-15 Juri Linkov <juri@jurta.org>
8542
da547b32
JL
8543 * isearch.el (isearch-char-by-name): Rename from
8544 `isearch-insert-char-by-name'. Doc fix.
8545 (isearch-forward): Mention `isearch-char-by-name' in
8546 the docstring. (Bug#13348)
8547
6d65486d
JL
8548 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8549 `exit-minibuffer' instead of
8550 `isearch-nonincremental-exit-minibuffer'.
8551 (isearch-edit-string): Remove mention of
8552 `isearch-nonincremental-exit-minibuffer' from docstring.
8553 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8554 (isearch-forward-exit-minibuffer)
8555 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8556
c9990474
SM
85572013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8558
6e911150
SM
8559 * loadup.el: Just use unversioned DOC.
8560
c9990474
SM
8561 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8562 literals as extending to EOB.
8563 (nxml-last-fontify-end): Remove unused variable.
8564 (nxml-after-change1): Use with-silent-modifications.
8565 (nxml-extend-after-change-region): Simplify.
8566 (nxml-extend-after-change-region1): Remove function.
8567 (nxml-after-change1): Don't adjust for dependent regions.
8568 (nxml-fontify-matcher): Simplify.
8569 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8570 (xmltok-add-dependent): Remove function.
8571 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8572 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8573 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8574 unclosed <[[, <?, comment, and other literals as extending to EOB.
8575 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8576 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8577 Remove functions.
8578 (rng-do-some-validation-1): Don't mark dependent regions.
8579 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8580 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8581 (nxml-clear-dependent-regions): Remove functions.
8582 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8583 (nxml-ensure-scan-up-to-date):
8584 Don't clear&mark dependent regions.
8585
e3772e98
LL
85862013-05-15 Leo Liu <sdl.web@gmail.com>
8587
c9990474
SM
8588 * progmodes/octave.el (octave-goto-function-definition):
8589 Improve and fix callers.
e3772e98 8590
5ac2eb34
SM
85912013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8592
c46c57b0
SM
8593 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8594 the setter (bug#14387).
8595
5ac2eb34
SM
8596 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8597 surrounding group (bug#14402).
8598
180ed218
JL
85992013-05-14 Juri Linkov <juri@jurta.org>
8600
8601 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8602 (Bug#14390)
8603
0ac0fecb
GM
86042013-05-14 Glenn Morris <rgm@gnu.org>
8605
8606 * progmodes/f90.el (f90-imenu-generic-expression):
8607 Fix typo in 2013-05-08 change. (Bug#14402)
8608
2e78e6a7
JPG
86092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8610
5ac2eb34
SM
8611 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8612 Remove signals for which replies are never received.
2e78e6a7 8613
53267cca
JPG
86142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8615
8616 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8617 (gdb-handler-alist, gdb-handler-number): Remove variables.
8618 (gdb-handler-list): New variable.
8619 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8620 (gdb-pending-handler-p, gdb-handle-reply)
8621 (gdb-remove-all-pending-triggers): New functions.
8622 (gdb-discard-unordered-replies): New defcustom.
8623 (gdb-handler): New defstruct.
8624 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8625 instead of gdb-pending-triggers. Update docstring.
8626 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8627 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8628 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8629 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8630 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8631 (gdb-frame-handler): Pending triggers are now automatically managed.
8632 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8633 Remove argument.
8634 (gdb-input): Automatically handles pending triggers. Update docstring.
8635 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8636 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8637 Update comments.
8638 (gdb-done-or-error): Now use gdb-handle-reply.
8639
d04ce803
JPG
86402013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8641
8642 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8643 gdb-debug-log.
8644
0114073a
GM
86452013-05-14 Glenn Morris <rgm@gnu.org>
8646
8647 * subr.el (user-emacs-directory-warning): New option.
8648 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8649
4d25fd7e
LL
86502013-05-14 Leo Liu <sdl.web@gmail.com>
8651
8652 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8653 during redisplay.
8654 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8655 (octave-font-lock-texinfo-comment): Fix invalid search bound
8656 error: wrong side of point.
4d25fd7e 8657
27c8b6eb
GM
86582013-05-14 Glenn Morris <rgm@gnu.org>
8659
61aaeb01
GM
8660 * progmodes/flymake.el (flymake-xml-program): New option.
8661 (flymake-xml-init): Use it.
8662
5bf90bc5
GM
8663 * term/xterm.el: Provide a feature.
8664
8665 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8666
f4c7dfd2
GM
86672013-05-13 Glenn Morris <rgm@gnu.org>
8668
8669 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8670 Add compat aliases as a hack workaround. (Bug#14384)
8671
2aeb3a1d
LL
86722013-05-13 Leo Liu <sdl.web@gmail.com>
8673
b0e069c2
LL
8674 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8675 ###, and %!.
f5a9432f
LL
8676 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8677 C-M-q.
b0e069c2
LL
8678 (octave-comment-start-skip): Include %!.
8679 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8680
30ea8374
LL
86812013-05-12 Leo Liu <sdl.web@gmail.com>
8682
8683 * progmodes/octave.el (inferior-octave-startup): Store the value
8684 of __octave_srcdir__ for octave-source-directories.
8685 (inferior-octave-check-process): New function refactored out of
8686 inferior-octave-send-list-and-digest.
8687 (octave-source-directories)
8688 (octave-find-definition-filename-function): New variables.
8689 (octave-source-directories)
8690 (octave-find-definition-default-filename): New functions.
8691 (octave-find-definition): Improve to find functions implemented in C++.
8692
472a3834
GM
86932013-05-12 Glenn Morris <rgm@gnu.org>
8694
8695 * calendar/diary-lib.el (diary-outlook-format-1):
8696 Don't include dayname in the output. (Bug#14349)
8697
3191b52f
GM
86982013-05-11 Glenn Morris <rgm@gnu.org>
8699
0060ac73
GM
8700 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8701
3191b52f
GM
8702 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8703 Treat cc-provide like provide.
8704
e065ba74
KR
87052013-05-11 Kevin Ryde <user42@zip.com.au>
8706
8707 * cus-dep.el (custom-make-dependencies):
8708 Use generated-autoload-load-name for the sake of files such
8709 such cedet/semantic/bovine/c.el, where the base file name
8710 is not in load-path. (Bug#5277)
8711
36f84c37
GM
87122013-05-11 Glenn Morris <rgm@gnu.org>
8713
8714 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8715 Provide features.
8716
c8730c3a
LL
87172013-05-11 Leo Liu <sdl.web@gmail.com>
8718
8719 * progmodes/octave.el (octave-indent-comment): Improve.
8720 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8721 (octave-eldoc-function-signatures, octave-eldoc-function):
8722 New functions.
c8730c3a
LL
8723 (octave-mode, inferior-octave-mode): Add eldoc support.
8724
212e29f2
RS
87252013-05-11 Richard Stallman <rms@gnu.org>
8726
8727 * epa.el (epa-decrypt-file): Take output file name as argument
8728 and read it using `interactive'.
8729
083fe0d7
LL
87302013-05-11 Leo Liu <sdl.web@gmail.com>
8731
8732 * progmodes/octave.el (octave-beginning-of-line)
8733 (octave-end-of-line): Check before using up-list because it jumps
8734 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8735 (octave-indent-comment): New function.
8736 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8737 (octave-begin-keywords, octave-end-keywords)
8738 (octave-reserved-words, octave-smie-bnf-table)
8739 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8740
8582e4c4
GM
87412013-05-11 Glenn Morris <rgm@gnu.org>
8742
f20def1f
GM
8743 * faces.el (internal-face-x-get-resource):
8744 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8745 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8746 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8747 Fix declarations.
f20def1f 8748
445f95e2
GM
8749 * calc/calc-menu.el: Make it loadable in isolation.
8750
8751 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8752 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8753 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8754 (eudc-bbdb-query-internal): Require 'bbdb.
8755
99fb2756
GM
8756 * lpr.el (lpr-headers-switches):
8757 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8758
8759 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8760
0da7ad96
GM
8761 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8762
8582e4c4
GM
8763 * term.el (term-set-escape-char): Make it idempotent.
8764
f71c50d0
LL
87652013-05-10 Leo Liu <sdl.web@gmail.com>
8766
5ac2eb34
SM
8767 * progmodes/octave.el (inferior-octave-completion-table):
8768 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8769 completion due to bug#11906.
8770 (octave-beginning-of-defun): Re-write to be more general.
8771
d5837773
GM
87722013-05-10 Glenn Morris <rgm@gnu.org>
8773
8774 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8775
027c0f75
SM
87762013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * comint.el (comint-redirect-send-command-to-process): Use :around
8779 rather than :override for comint-redirect-filter.
8780 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8781 Call it instead of comint-redirect-original-filter-function (which
8782 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8783
4465bfb4
JD
87842013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8785
8786 * frame.el (display-monitor-attributes-list): Add NS case.
8787 (ns-display-monitor-attributes-list): Declare.
8788
2d809ffa 87892013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8790
8791 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8792
e54eeb9b
GM
87932013-05-09 Glenn Morris <rgm@gnu.org>
8794
56cd351d
GM
8795 * international/fontset.el (vertical-centering-font-regexp):
8796 Set standard-value.
8797
d84b6108
GM
8798 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8799
a931698a
GM
8800 * bookmark.el (bookmark-search-delay):
8801 * cus-start.el (vertical-centering-font-regexp):
8802 * ps-mule.el (ps-mule-font-info-database-default):
8803 * ps-print.el (ps-default-fg, ps-default-bg):
8804 * type-break.el (type-break-good-break-interval):
8805 * whitespace.el (whitespace-indentation-regexp)
8806 (whitespace-space-after-tab-regexp):
8807 * emacs-lisp/testcover.el (testcover-1value-functions)
8808 (testcover-noreturn-functions, testcover-progn-functions)
8809 (testcover-prog1-functions):
8810 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8811 * eshell/em-glob.el (eshell-glob-translate-alist):
8812 * play/tetris.el (tetris-tty-colors):
8813 * progmodes/cpp.el (cpp-face-default-list):
8814 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8815 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8816 (idlwave-help-browser-generic-args):
8817 * progmodes/make-mode.el (makefile-special-targets-list):
8818 * progmodes/python.el (python-shell-virtualenv-path):
8819 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8820 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8821 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8822 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8823 * textmodes/reftex-vars.el (reftex-format-label-function):
8824 * textmodes/remember.el (remember-diary-file): Fix custom types.
8825
e54eeb9b
GM
8826 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8827 Add :version.
8828
455851dd
LL
88292013-05-09 Leo Liu <sdl.web@gmail.com>
8830
8831 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8832 Restore file completion. (Bug#14300)
455851dd
LL
8833 (inferior-octave-startup): Fix incorrect highlighting for the
8834 first prompt.
8835
a9e4425b
SM
88362013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * progmodes/ruby-mode.el: First cut at SMIE support.
8839 (ruby-use-smie): New var.
8840 (ruby-smie-grammar): New constant.
8841 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8842 (ruby-smie--forward-token, ruby-smie--backward-token)
8843 (ruby-smie-rules): New functions.
8844 (ruby-mode-variables): Setup SMIE if applicable.
8845
060ca408
EZ
88462013-05-08 Eli Zaretskii <eliz@gnu.org>
8847
8848 * simple.el (line-move-visual): Signal beginning/end of buffer
8849 only if vertical-motion moved less than it was requested. Avoids
8850 silly incorrect error messages when there are display strings with
8851 multiple newlines at EOL.
8852
1d5963cc
SM
88532013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8856 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8857 (prolog-char-quote-workaround):
8858 * progmodes/cperl-mode.el (cperl-under-as-char):
8859 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8860 Mark as obsolete.
8861 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8862 their declaration.
8863 (vhdl-mode-syntax-table-init): Remove.
8864
c9990474
SM
8865 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8866 last change.
1d5963cc
SM
8867
8868 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8869 syntax for "_".
8870 (ld-script-font-lock-keywords):
8871 Change regexps to use things like \_< and \_>.
8872
8873 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8874 Change all regexps to use things like \_< and \_>.
8875
8876 * progmodes/autoconf.el (autoconf-definition-regexp)
8877 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8878 Handle a _ with symbol syntax.
8879 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8880
c9990474
SM
8881 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8882 Consolidate declaration.
1d5963cc
SM
8883 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8884 the declaration.
8885 (ada-create-syntax-table): Remove.
8886 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8887 already has the right syntax nowadays.
8888 (ada-goto-next-word): Don't change the syntax of "_".
8889
8890 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8891 with-wrapper-hook.
8892
72d3cfca
SS
88932013-05-08 Sam Steingold <sds@gnu.org>
8894
8895 * thingatpt.el (thing-at-point): Accept optional second argument
8896 NO-PROPERTIES to strip the text properties from the return value.
8897 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8898 to `thing-at-point' instead of stripping the properties ourselves.
8899 Also, when `thing-at-point' fails to find a url, prepend "http://"
8900 to the filename at point on the assumption that the user is
8901 pointing at something like gnu.org/gnu.
8902
5cb15713
JB
89032013-05-08 Juanma Barranquero <lekktu@gmail.com>
8904
8905 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8906 * faces.el (crm-separator):
8907 Silence byte-compiler.
8908
8909 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8910 (tool-bar-map): Remove unneeded defvars.
8911
ea78b95b
LL
89122013-05-08 Leo Liu <sdl.web@gmail.com>
8913
8914 Re-work a fix for bug#10994 based on Le Wang's patch.
8915 * ido.el (ido-remove-consecutive-dups): New helper.
8916 (ido-completing-read): Use it.
8917 (ido-chop): Revert fix for bug#10994.
8918
dc7466df
AS
89192013-05-08 Adam Spiers <emacs@adamspiers.org>
8920
8921 * cus-edit.el (custom-save-variables):
8922 Pretty-print long values. (Bug#14187)
8923
9ecf672a
GM
89242013-05-08 Glenn Morris <rgm@gnu.org>
8925
8926 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8927 (m4-mode-syntax-table): Init in the defvar.
8928 (m4-mode-abbrev-table): Let define-derived-mode define it.
8929
3f555be8
TT
89302013-05-08 Tom Tromey <tromey@redhat.com>
8931
8932 * progmodes/m4-mode.el (m4-mode-syntax-table):
8933 Do not treat "_" as word constituent. (Bug#14167)
8934
7cc8ae06
GM
89352013-05-07 Glenn Morris <rgm@gnu.org>
8936
4f58bc06
GM
8937 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8938 Remove explicit eshell-isearch-cancel-map.
8939
7cc8ae06
GM
8940 * progmodes/f90.el (f90-smart-end-names): New option.
8941 (f90-smart-end): Doc fix.
8942 (f90-end-block-optional-name): New constant.
8943 (f90-block-match): Respect f90-smart-end-names.
8944
ceb57e59
SM
89452013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8948 about implicit semi-colons (bug#14218).
8949
4e3f9230
YM
89502013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8951
8952 * frame.el (display-monitor-attributes-list)
8953 (frame-monitor-attributes): New functions.
8954
203a5572
LL
89552013-05-06 Leo Liu <sdl.web@gmail.com>
8956
8957 * progmodes/octave.el (octave-syntax-propertize-function): Change
8958 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8959 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8960 (octave-completion-at-point): Rename from
203a5572
LL
8961 octave-completion-at-point-function.
8962 (inferior-octave-directory-tracker): Robustify.
8963 (octave-text-functions): Remove and fix its uses. No such things
8964 any more.
8965
ee6cff99
SM
89662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * emacs-lisp/trace.el (trace--display-buffer): New function.
8969 (trace-make-advice): Use it.
8970
32985194
JL
89712013-05-06 Juri Linkov <juri@jurta.org>
8972
8973 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8974 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8975 Doc fix.
8976 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8977 in the help string. (Bug#12985)
8978
a1c700de
KD
89792013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8980
8981 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8982
c67c0839
SM
89832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8984
323885fd
SM
8985 * progmodes/perl-mode.el: Add support for here documents.
8986 (perl-syntax-propertize-function): Match here-doc markers.
8987 (perl-syntax-propertize-special-constructs): Find their end.
8988 (perl-imenu-generic-expression): Use [:alnum:].
8989
c67c0839
SM
8990 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8991 (advice--add-function): Refresh the advice if already present
8992 (bug#14317).
8993
d491e7a8
IA
89942013-05-06 Ivan Andrus <darthandrus@gmail.com>
8995
8996 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8997
ddf9925e
GM
89982013-05-06 Glenn Morris <rgm@gnu.org>
8999
7cc3af27
GM
9000 * w32-fns.el (w32-charset-info-alist): Declare.
9001
16e343d6
GM
9002 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9003 of its defcustom properties.
9004 (eshell-cmpl-initialize): No need to load pcomplete.
9005
7d889a47
GM
9006 * generic-x.el: No need to require comint when compiling.
9007
ddf9925e
GM
9008 * net/eudc-export.el: Make it loadable without bbdb.
9009 (top-level): Use require rather than load-library.
9010 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9011 (eudc-batch-export-records-to-bbdb)
9012 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9013 Require bbdb.
9014
1e2c18df
SM
90152013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9018 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9019 some tweaks, instead.
9020
02502a5f
LL
90212013-05-05 Leo Liu <sdl.web@gmail.com>
9022
9023 * progmodes/octave.el (octave-font-lock-keywords)
9024 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9025 (inferior-octave-send-list-and-digest): Improve error message.
9026 (octave-mode, inferior-octave-mode): Use setq-local.
9027 (octave-help): Set info-lookup-mode.
9028
0dc04f42
RS
90292013-05-05 Richard Stallman <rms@gnu.org>
9030
6c54491c
RS
9031 * vc/compare-w.el (compare-windows-whitespace):
9032 Treat no-break space as whitespace.
9033
0dc04f42
RS
9034 * mail/rmailsum.el (rmail-summary-rmail-update):
9035 Detect empty summary and don't change selected message.
9036 (rmail-summary-goto-msg): Likewise.
9037
df8f35df
RS
9038 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9039 Doc fixes, rename args.
9040
5356e1a3
AM
90412013-05-05 Alan Mackenzie <acm@muc.de>
9042
9043 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9044
d44014cb
JL
90452013-05-05 Juri Linkov <juri@jurta.org>
9046
9047 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9048 to not add the length of the summary segment to the return value.
9049 (Bug#14125)
9050
c129b51f
LL
90512013-05-05 Leo Liu <sdl.web@gmail.com>
9052
9053 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9054 (inferior-octave-output-filter): Remove.
9055 (octave-send-region, inferior-octave-startup): Fix callers.
9056 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9057 (octave-binary-file-extensions): New user variable.
9058 (octave-find-definition): Confirm if opening binary files.
9059 (octave-help-file): Use octave-find-definition to get the binary
9060 confirmation.
9061 (octave-help): Adjust for octave-help-file change.
9062
aa7dab97
SM
90632013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9066 Merge the two entries that handle function definitions.
9067 (pascal--syntax-propertize): New const.
9068 (pascal-mode): Use it. Use setq-local.
9069
fd3a9a6b
GM
90702013-05-04 Glenn Morris <rgm@gnu.org>
9071
9072 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9073 (diary-from-outlook): Respect diary-from-outlook-function.
9074
30c7e542
SM
90752013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9078 Move the declaration from C.
9079 (read-minibuffer, eval-minibuffer): Move from C.
9080 (completion-setup-function): Avoid minibuffer-completion-contents.
9081
b54f978b
LL
90822013-05-03 Leo Liu <sdl.web@gmail.com>
9083
9084 * progmodes/octave.el (octave-font-lock-keywords): Do not
9085 dehighlight 'end' in comments or strings.
30c7e542
SM
9086 (octave-completing-read, octave-goto-function-definition):
9087 New helpers.
d4d0f9b3
LL
9088 (octave-help-buffer): New user variable.
9089 (octave-help-file, octave-help-function): New button types.
9090 (octave-help): New command and bind it to C-h ;.
9091 (octave-find-definition): New command and bind it to M-.
d74a1581 9092 (user-error): Alias to error if not defined.
b54f978b 9093
27135018
LL
90942013-05-02 Leo Liu <sdl.web@gmail.com>
9095
9096 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9097 for \. (bug#14332)
9098 (octave-font-lock-keywords): Include [ and {.
9099
0d634d3a
LL
91002013-05-02 Leo Liu <sdl.web@gmail.com>
9101
9102 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9103 (inferior-octave): Remove calling comint-mode and return the buffer.
9104 (inferior-octave-startup): Cosmetic changes.
9105
b4c8295e
LL
91062013-05-02 Leo Liu <sdl.web@gmail.com>
9107
30c7e542
SM
9108 * progmodes/octave.el (octave-syntax-propertize-function):
9109 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9110
f12ad6ec
GM
91112013-05-02 Glenn Morris <rgm@gnu.org>
9112
9113 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9114 * desktop.el (vc-dir-mode): Just autoload it here.
9115
30cac1e0
AM
91162013-05-02 Alan Mackenzie <acm@muc.de>
9117
9118 Eliminate variable c-standard-font-lock-fontify-region-function.
9119 * progmodes/cc-mode.el
9120 (c-standard-font-lock-fontify-region-function): Remove.
9121 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9122
d8ef28b1
LL
91232013-05-01 Leo Liu <sdl.web@gmail.com>
9124
2640d52e 9125 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9126 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9127 variables were removed from Octave in 2007.
d8ef28b1
LL
9128 (inferior-octave-startup): Fix uses.
9129 (comint-line-beginning-position): Remove compatibility code for
9130 emacs 21.
9131
ac63ec89
JL
91322013-05-01 Juri Linkov <juri@jurta.org>
9133
9134 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9135
9e9be37c
JL
91362013-05-01 Juri Linkov <juri@jurta.org>
9137
9138 * comint.el (comint-previous-matching-input): Don't print message
9139 "History item: %d" when `isearch-mode' is active.
9140 (comint-history-isearch-message): Print message "History item: %d"
9141 when `comint-input-ring-index' is not empty and this function is
9142 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9143
9b92c13b
LL
91442013-05-01 Leo Liu <sdl.web@gmail.com>
9145
9146 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9147 definitions. Use completion-at-point to insert keywords.
9148 (octave-abbrev-start): Remove.
9149 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9150
b12d33d7
LL
91512013-04-30 Leo Liu <sdl.web@gmail.com>
9152
9153 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9154 change.
9155
3d1c39fa
AM
91562013-04-30 Alan Mackenzie <acm@muc.de>
9157
9158 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9159 * progmodes/cc-engine.el (c-back-over-member-initializers):
9160 new function.
3d1c39fa
AM
9161 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9162 (most) member init lists.
9163
5147fc17
RS
91642013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9165
9166 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9167 variable.
9168
5b78d7fc
LL
91692013-04-30 Leo Liu <sdl.web@gmail.com>
9170
9171 * progmodes/octave.el (octave-variables): Remove. No builtin
9172 variables any more. All converted to functions.
9173 (octave-font-lock-keywords, octave-completion-at-point-function):
9174 Fix uses.
9175 (octave-font-lock-texinfo-comment): New user variable.
9176 (octave-texinfo-font-lock-keywords): New variable for texinfo
9177 comment block.
9178 (octave-function-comment-block): New face.
9179 (octave-font-lock-texinfo-comment): New function.
9180 (octave-mode): Font lock texinfo comment block.
9181
38d8527b
LL
91822013-04-29 Leo Liu <sdl.web@gmail.com>
9183
9184 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9185 indexing expression.
9186 (octave-continuation-string): Do not use \.
9187 (inferior-octave-complete-impossible): Remove.
9188 (inferior-octave-completion-table)
9189 (inferior-octave-completion-at-point): Remove its uses.
9190 (inferior-octave-startup): completion_matches was introduced to
9191 Octave in 1996 so safe to assume it.
9192 (octave-function-file-comment): Improve to follow how Octave does it.
9193 (octave-update-function-file-comment): Tweak.
9194
2ec12cb0
LL
91952013-04-29 Leo Liu <sdl.web@gmail.com>
9196
9197 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9198 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9199 (octave-function-file-comment): Fix typo.
9200 (octave-sync-function-file-names): Use read-char-choice.
9201
6eaed048
JB
92022013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9203
9204 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9205 to t for the less important warnings.
9206
3ffa2d4f
DH
92072013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9208
9209 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9210
685c9501
GM
92112013-04-27 Glenn Morris <rgm@gnu.org>
9212
9213 * vc/log-view.el (log-view-current-entry):
9214 Treat "---" separator lines as part of the following rev. (Bug#14169)
9215
0208ede7
JL
92162013-04-27 Juri Linkov <juri@jurta.org>
9217
9218 * subr.el (read-number): Doc fix about using it by interactive
9219 code letter `n'. (Bug#14254)
9220
5db9dace
JL
92212013-04-27 Juri Linkov <juri@jurta.org>
9222
9223 * desktop.el (desktop-auto-save-timeout): New option.
9224 (desktop-file-checksum): New variable.
9225 (desktop-save): Add optional arg `auto-save' and don't auto-save
9226 if nothing changed.
9227 (desktop-auto-save-timer): New variable.
9228 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9229 (after-init-hook): Call `desktop-auto-save-set-timer'.
9230 Suggested by Reuben Thomas <rrt@sc3d.org> in
9231 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9232
b7260dd4
LL
92332013-04-27 Leo Liu <sdl.web@gmail.com>
9234
9235 * progmodes/octave.el (octave-function-file-p)
9236 (octave-skip-comment-forward, octave-function-file-comment)
9237 (octave-update-function-file-comment): New functions.
9238 (octave-mode-map): Bind C-c ; to
9239 octave-update-function-file-comment.
9240 (octave-mode-menu): Add octave-update-function-file-comment.
9241 (octave-mode, inferior-octave-mode): Fix doc-string.
9242 (octave-insert-defun): Conform to Octave's coding convention.
9243 (Bug#14285)
9244
9245 * files.el (basic-save-buffer): Don't let errors in
9246 before-save-hook prevent saving buffer.
9247
c46da669
RW
92482013-04-20 Roland Winkler <winkler@gnu.org>
9249
9250 * faces.el (read-face-name): Use completing-read if arg multiple
9251 is nil.
9252
a81ee1eb
IL
92532013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9254
9255 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9256 displayed, move point to after the totals line.
9257 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9258 for the details.
9259
4fac34ce
SM
92602013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9263 Add current dir to the load-path.
9264 (package-generate-autoloads): Don't rely on
9265 autoload-ensure-default-file.
9266
f6bfc063
RT
92672013-04-26 Reuben Thomas <rrt@sc3d.org>
9268
d40ab5cf
BG
9269 * textmodes/remember.el (remember-store-in-files): Document that
9270 the file name format is passed to `format-time-string'.
f6bfc063 9271
e55d3b04
LL
92722013-04-26 Leo Liu <sdl.web@gmail.com>
9273
9274 * progmodes/octave.el (octave-sync-function-file-names): New function.
9275 (octave-mode): Use it in before-save-hook.
9276
e53052d3
SM
92772013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9278
140ef50c
SM
9279 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9280 (bug#14274).
9281
e53052d3
SM
9282 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9283 \n and comment, even if it's not an implicit ; (bug#14218).
9284
af80458d 92852013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9286
9287 * subr.el (read-number): Once more use `read' rather than
9288 `string-to-number', to trap non-numeric input. (Bug#14254)
9289
af80458d 92902013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9291
9292 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9293 Use `syntax-multiline' text property consistently instead of
8a621d53 9294 `font-lock-multiline'. (Bug#14237)
70203c2e 9295
e6ea1f6c
GM
92962013-04-26 Glenn Morris <rgm@gnu.org>
9297
9298 * emacs-lisp/shadow.el (list-load-path-shadows):
9299 No longer necessary to check for duplicate simple.el, since
9300 2012-07-07 change to init_lread to not include installation lisp
9301 directories in load-path when running uninstalled. (Bug#14270)
9302
070ccca4
LL
93032013-04-26 Leo Liu <sdl.web@gmail.com>
9304
9305 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9306 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9307 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9308 octave-in-string-or-comment-p.
9309 (octave-in-comment-p, octave-in-string-p)
9310 (octave-in-string-or-comment-p): Replace defsubst with defun.
9311
9d1c5fb6
PE
93122013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9313
9314 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9315
c034abda
BG
93162013-04-25 Bastien Guerry <bzg@gnu.org>
9317
9318 * textmodes/remember.el (remember-data-directory)
9319 (remember-directory-file-name-format): Fix custom types.
9320
584ea277
LL
93212013-04-25 Leo Liu <sdl.web@gmail.com>
9322
e53052d3
SM
9323 * progmodes/octave.el (octave-completion-at-point-function):
9324 Make use of inferior octave process.
584ea277
LL
9325 (octave-initialize-completions): Remove.
9326 (inferior-octave-completion-table): New function.
9327 (inferior-octave-completion-at-point): Use it.
9328 (octave-completion-alist): Remove.
9329
1693b06a
SM
93302013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9333 (opascal-mode-syntax-table): New var.
9334 (opascal-literal-kind, opascal-is-literal-end)
9335 (opascal-literal-token-at): Rewrite.
9336 (opascal--literal-start-re, opascal-font-lock-keywords)
9337 (opascal--syntax-propertize): New constants.
9338 (opascal-font-lock-defaults): Adjust.
9339 (opascal-mode): Use them. Set comment-<foo> variables as well.
9340 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9341 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9342 (delphi-other-face, opascal-other-face): Remove face variables.
9343 (opascal-save-state): Remove macro.
9344 (opascal-fontifying-progress-step): Remove constant.
9345 (opascal--ignore-changes): Remove var.
9346 (opascal-set-token-property, opascal-parse-next-literal)
9347 (opascal-is-stable-literal, opascal-complete-literal)
9348 (opascal-is-literal-start, opascal-face-of)
9349 (opascal-parse-region, opascal-parse-region-until-stable)
9350 (opascal-fontify-region, opascal-after-change)
9351 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9352 (opascal-debug-parse-region, opascal-debug-parse-window)
9353 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9354 (opascal-debug-fontify-buffer): Remove.
9355 (opascal-debug-mode-map): Adjust accordingly.
9356
be64c05d
LL
93572013-04-25 Leo Liu <sdl.web@gmail.com>
9358
9359 Merge octave-mod.el and octave-inf.el into octave.el with some
9360 cleanups.
9361 * progmodes/octave.el: New file renamed from octave-mod.el.
9362 * progmodes/octave-inf.el: Merged into octave.el.
9363 * progmodes/octave-mod.el: Renamed to octave.el.
9364
d79d37bd
TH
93652013-04-25 Tassilo Horn <tsdh@gnu.org>
9366
9367 * textmodes/reftex-vars.el
9368 (reftex-label-ignored-macros-and-environments): New defcustom.
9369
9370 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9371
ced3fc5d
SM
93722013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9375 (smie-indent-keyword): Improve the check to ensure that the next
9376 comment is really on the same line.
9377 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9378
9379 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9380 semi-colons if the line is not otherwise empty (bug#14218).
9381
1c141dad
GM
93822013-04-25 Glenn Morris <rgm@gnu.org>
9383
9384 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9385
5058062a
SM
93862013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * progmodes/opascal.el (opascal-set-token-property): Rename from
9389 opascal-set-text-properties and only set `token' (bug#14134).
9390 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9391 (opascal-literal-text-properties): Remove.
9392 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9393 Adjust callers.
9394
5db9dace 93952013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9396
9397 * textmodes/remember.el (remember-handler-functions): Add an
9398 option for a new handler `remember-store-in-files'.
9399 (remember-data-directory, remember-directory-file-name-format):
9400 New options.
9401 (remember-store-in-files): New function to store remember notes
9402 as separate files within a directory.
9403
4391916c
MH
94042013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9405
9406 * progmodes/compile.el (compilation-next-error-function):
9407 Pass "formats" to compilation-find-file (bug#11777).
9408
bb7cdf58
GM
94092013-04-24 Glenn Morris <rgm@gnu.org>
9410
3b8fe752 9411 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9412 * vc/vc-hg.el (vc-hg-print-log):
9413 * vc/vc-svn.el (vc-svn-print-log):
9414 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9415
bb7cdf58
GM
9416 * vc/vc-bzr.el (vc-bzr-print-log):
9417 * vc/vc-cvs.el (vc-cvs-print-log):
9418 * vc/vc-git.el (vc-git-print-log):
9419 * vc/vc-hg.el (vc-hg-print-log):
9420 * vc/vc-mtn.el (vc-mtn-print-log):
9421 * vc/vc-rcs.el (vc-rcs-print-log):
9422 * vc/vc-sccs.el (vc-sccs-print-log):
9423 * vc/vc-svn.el (vc-svn-print-log):
9424 * vc/vc.el (vc-print-log-internal): Doc fixes.
9425
b46a056e
GM
94262013-04-23 Glenn Morris <rgm@gnu.org>
9427
9428 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9429 Remove venerable code attempting to avoid substitute-command-keys.
9430
0aecf718
TH
94312013-04-23 Tassilo Horn <tsdh@gnu.org>
9432
4391916c
MH
9433 * textmodes/reftex-vars.el (reftex-label-regexps):
9434 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9435
117f94cf
SM
94362013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9437
4391916c 9438 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9439 Use lexical-binding.
9440 (jit-lock-force-redisplay): Use markers, check buffer's continued
9441 existence and beware narrowed buffers.
9442 (jit-lock-fontify-now): Adjust call accordingly.
9443
1d829c64
SM
94442013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9447 to avoid misleading the user.
9448
72d548a9
LL
94492013-04-22 Leo Liu <sdl.web@gmail.com>
9450
9451 * info-look.el: Prefer latex2e.info. (Bug#14240)
9452
d0853629
MA
94532013-04-22 Michael Albinus <michael.albinus@gmx.de>
9454
9455 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9456
9457 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9458 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9459 (tramp-set-completion-function, tramp-parse-putty):
9460 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9461 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9462 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9463 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9464 (tramp-call-local-coding-command): Use `tramp-call-process'
9465 instead of `tramp-compat-call-process'.
9466
9467 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9468 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9469 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9470 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9471 (tramp-maybe-send-script): Check for Perl binary.
9472 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9473
38cc0210
DU
94742013-04-22 Daiki Ueno <ueno@gnu.org>
9475
9476 * epg.el (epg-context-pinentry-mode): New function.
9477 (epg-context-set-pinentry-mode): New function.
9478 (epg--start): Pass --pinentry-mode option to gpg command.
9479
cc641ee1
XF
94802013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9481
02d844b5 9482 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9483 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9484 `completion-at-point'. (Bug#13774)
5d4e5c31 9485
cc641ee1
XF
9486 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9487 default key binding for `describe-distribution' has been moved to
9488 `C-h C-o'. (Bug#13970)
9489
1b42ee43
GM
94902013-04-21 Glenn Morris <rgm@gnu.org>
9491
9492 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9493 Add doc strings.
9494 (vc-print-log): Clarify interactive prompt.
9495
a6d63d97
GM
94962013-04-20 Glenn Morris <rgm@gnu.org>
9497
9498 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9499 No longer include timestamp etc information.
9500
d7f5c16f
RW
95012013-04-20 Roland Winkler <winkler@gnu.org>
9502
9503 * faces.el (read-face-name): Bug fix, return just one face if arg
9504 multiple is nil. (Bug#14209)
9505
bcd7a0a4
SM
95062013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9509 (remove-function): Autoload.
9510
9511 * comint.el (comint-redirect-original-filter-function): Remove.
9512 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9513 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9514 (vc-cvs-annotate-command):
bcd7a0a4
SM
9515 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9516 * progmodes/prolog.el (prolog-consult-compile):
9517 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9518 Use add/remove-function instead.
9519 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9520 (gud-tooltip-process-output, gud-tooltip-tips):
9521 Use add/remove-function instead.
9522 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9523 (scheme-interaction-mode, exit-scheme-interaction-mode):
9524 Use add/remove-function instead.
9525
9526 * vc/vc-dispatcher.el: Use lexical-binding.
9527 (vc--process-sentinel): Rename from vc-process-sentinel.
9528 Change last arg to be the code to run. Don't use vc-previous-sentinel
9529 and vc-sentinel-commands any more.
9530 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9531 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9532
e36b2d20 95332013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9534
bcd7a0a4 9535 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9536 Handle function names with a single character. (Bug#14111)
4d3268ba 9537
781b4af6 95382013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9539
9540 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9541 for subroutines defined in an eval (bug#14182).
9542
7d688336
TV
95432013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9544
9545 * bookmark.el (bookmark-completing-read): Improve handling of empty
9546 string (bug#14176).
9547
31dcede0
SM
95482013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9551
adc31213
FEG
95522013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9553
9554 New faster Imenu implementation (bug#14058).
9555 * progmodes/python.el:
9556 (python-imenu-prev-index-position):
9557 (python-imenu-format-item-label-function)
9558 (python-imenu-format-parent-item-label-function)
9559 (python-imenu-format-parent-item-jump-label-function):
9560 New vars.
9561 (python-imenu-format-item-label)
9562 (python-imenu-format-parent-item-label)
9563 (python-imenu-format-parent-item-jump-label)
9564 (python-imenu--put-parent, python-imenu--build-tree)
9565 (python-imenu-create-index, python-imenu-create-flat-index)
9566 (python-util-popn): New functions.
9567 (python-mode): Set imenu-create-index-function to
9568 python-imenu-create-index.
9569
cdca8255
SM
95702013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * winner.el (winner-active-region): Use region-active-p, activate-mark
9573 and deactivate-mark (bug#14225).
9574
9575 * simple.el (deactivate-mark): Don't inline it.
9576
beb42340
MA
95772013-04-18 Michael Albinus <michael.albinus@gmx.de>
9578
9579 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9580
fc7f4d7e
TH
95812013-04-18 Tassilo Horn <tsdh@gnu.org>
9582
9583 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9584 file extensions from the archive-mode entry in order to prefer
9585 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9586
29f47822
LL
95872013-04-18 Leo Liu <sdl.web@gmail.com>
9588
9589 * bindings.el (help-event-list): Add ?\?.
9590
d36ed1c8
SM
95912013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * subr.el (with-wrapper-hook): Declare obsolete.
9594 * simple.el (filter-buffer-substring-function): New hook.
9595 (filter-buffer-substring): Use it.
9596 (filter-buffer-substring-functions): Mark obsolete.
9597 * minibuffer.el (completion-in-region-function): New hook.
9598 (completion-in-region): Use it.
9599 (completion-in-region-functions): Mark obsolete.
9600 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9601 * abbrev.el (abbrev-expand-function): New hook.
9602 (expand-abbrev): Use it.
9603 (abbrev-expand-functions): Mark obsolete.
9604 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9605 and :filter-return.
9606
04754d36
FEG
96072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9608
9609 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9610 and do not care about match data.
9611
dd8791e9
SM
96122013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9613
9614 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9615 completion tables when completing error conditions and
9616 `declare' arguments.
9617 (lisp-complete-symbol, field-complete): Mark as obsolete.
9618 (check-parens): Unmatched parens are user errors.
9619 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9620
ffe54a13
AM
96212013-04-17 Michal Nazarewicz <mina86@mina86.com>
9622
dd8791e9
SM
9623 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9624 command changed buffer (ie. `flyspell-pre-buffer' is not current
9625 buffer), which prevents making decisions based on invalid value of
9626 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9627 cause an error when `flyspell-pre-point' was nil after switching
9628 buffers.
9629 (flyspell-post-command-hook): No longer needs to change buffers when
9630 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9631
ec7e39f2
AM
96322013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9633
9634 * textmodes/ispell.el (ispell-add-per-file-word-list):
9635 Fix `flyspell-correct-word-before-point' error when accepting
9636 words and `coment-padding' is an integer by using
9637 `comment-normalize-vars' (Bug #14214).
9638
083850a6
FEG
96392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9640
9641 New defun movement commands.
9642 * progmodes/python.el (python-nav--syntactically)
9643 (python-nav--forward-defun, python-nav-backward-defun)
9644 (python-nav-forward-defun): New functions.
9645
619ed6e1
FEG
96462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9647
9648 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9649 (python-syntax-context): Use named compiler-macro for backwards
9650 compatibility with Emacs 24.x.
9651
7a1beb6c
LL
96522013-04-17 Leo Liu <sdl.web@gmail.com>
9653
9654 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9655 octave-hide-process-buffer.
9656
2d3fa3e5
SM
96572013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9660 (bug#14216).
9661
7ce5be54
JPG
96622013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9663
9664 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9665 Fix adjustment of offset when receiving incomplete responses from GDB
9666 (bug#14129).
9667
351edece
SM
96682013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9671 python-mode-abbrev-table.
9672 (python-skeleton-define): Adjust accordingly.
9673 (python-mode-abbrev-table): New table that inherits from it so that
9674 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9675
9676 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9677 (abbrev-symbol): Use it.
9678 (abbrev--before-point): Use it since we already handle inheritance.
9679
613f9481
LL
96802013-04-16 Leo Liu <sdl.web@gmail.com>
9681
9682 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9683 binding to info-lookup-symbol.
9684
51646b62
JB
96852013-04-16 Juanma Barranquero <lekktu@gmail.com>
9686
9687 * minibuffer.el (completion--twq-all):
9688 * term/ns-win.el (ns-initialize-window-system):
9689 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9690
efb3f01d
SM
96912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9692
36c0a301
SM
9693 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9694 global bindings.
9695
efb3f01d
SM
9696 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9697
fb549d64
DG
96982013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9699
9700 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9701 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9702 to nil.
9703 (ruby-end-of-defun): Remove the unused arg, change the docstring
9704 to reflect that this function is only used as the value of
9705 `end-of-defun-function'.
9706 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9707 to reflect an earlier change that beginning/end-of-defun functions
9708 jump between methods in a class definition, as well as top-level
9709 functions.
9710
21e8fe2f
SM
97112013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * minibuffer.el (minibuffer-complete): Don't just scroll
9714 a *Completions* that's been iconified.
9715 (minibuffer-force-complete): Make sure repetitions do cycle when going
9716 through completion-in-region -> minibuffer-complete.
9717
20e527d0
AM
97182013-04-15 Alan Mackenzie <acm@muc.de>
9719
9720 Correct the placement of c-cpp-delimiters when there're #s not at
9721 col 0.
9722
9723 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9724 place a submatch around the #.
21e8fe2f
SM
9725 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9726 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9727 on the #, not BOL.
9728
dabefae5
SM
97292013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9732 (advice--member-p): New arg `name'.
9733 (advice--add-function, advice-member-p): Use it (bug#14202).
9734
85c9ab64
AM
97352013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9736
9737 Reformulate java imenu-generic-expression.
9738 The old expression contained ill formed regexps.
9739
9740 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9741 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9742 (cc-imenu-java-method-arg-regexp): New defconsts.
9743 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9744 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9745 handling of spaces in the regexp.
9746
0f821d99
AM
97472013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9748
9749 * textmodes/ispell.el (ispell-command-loop): Remove
9750 flyspell highlight of a word when ispell accepts it (bug #14178).
9751
eb922adf
MA
97522013-04-15 Michael Albinus <michael.albinus@gmx.de>
9753
9754 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9755 uses code from the previous `ange-ftp-run-real-handler'.
9756 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9757 only in case that function exist. This is needed for proper
9758 unloading of Tramp.
9759
4d9a0979
TH
97602013-04-15 Tassilo Horn <tsdh@gnu.org>
9761
9762 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9763
9764 * textmodes/reftex.el (reftex-compile-variables): Use it.
9765
a829b0dc
SM
97662013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9767
91e8293c
SM
9768 * files.el (normal-mode): Only use default major-mode if no other mode
9769 was specified.
9770
830aed4d
SM
9771 * emacs-lisp/trace.el (trace-values): New function.
9772
a829b0dc
SM
9773 * files.el: Allow : in local variables (bug#14089).
9774 (hack-local-variable-regexp): New var.
9775 (hack-local-variables-prop-line, hack-local-variables): Use it.
9776
7ae9f0fb
RW
97772013-04-13 Roland Winkler <winkler@gnu.org>
9778
9779 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9780 data before it gets modified by bibtex-beginning-of-entry.
9781
6646e848
RW
97822013-04-13 Roland Winkler <winkler@gnu.org>
9783
9784 * textmodes/bibtex.el (bibtex-url): Doc fix.
9785
97862013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9787
9788 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9789 does not visit a BibTeX file, exclude it from the list of buffers
9790 returned by bibtex-initialize.
9791
0aa3616e
SB
97922013-04-13 Stephen Berman <stephen.berman@gmx.net>
9793
9794 * window.el (split-window): Remove interactive form, since as a
9795 command this function is a special case of split-window-below.
9796 Correct doc string.
9797
011cddd6
RW
97982013-04-12 Roland Winkler <winkler@gnu.org>
9799
9800 * faces.el (read-face-name): Do not override value of arg default.
9801 Allow single faces and strings as default values. Remove those
9802 elements from return value that are not faces.
9803 (describe-face): Simplify.
9804 (face-at-point): New optional args thing and multiple so that this
9805 function can provide the same functionality previously provided by
9806 read-face-name.
9807 (make-face-bold, make-face-unbold, make-face-italic)
9808 (make-face-unitalic, make-face-bold-italic, invert-face)
9809 (modify-face, read-face-and-attribute): Use face-at-point.
9810
9811 * cus-edit.el (customize-face, customize-face-other-window)
9812 * cus-theme.el (custom-theme-add-face)
9813 * face-remap.el (buffer-face-set)
9814 * facemenu.el (facemenu-set-face): Use face-at-point.
9815
f24e0036
MA
98162013-04-12 Michael Albinus <michael.albinus@gmx.de>
9817
9818 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9819
da3cda2d
TH
98202013-04-10 Tassilo Horn <tsdh@gnu.org>
9821
9822 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9823 off leading { and trailing } from field values.
9824
15e54145
SM
98252013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9826
78ce603d
SM
9827 * emacs-lisp/timer.el (timer--check): New function.
9828 (timer--time, timer-set-function, timer-event-handler): Use it.
9829 (timer-set-idle-time): Simplify.
9830 (timer--activate): CSE.
9831 (timer-event-handler): Give more info in error message.
9832 (internal-timer-start-idle): New function, moved from C.
9833
15e54145
SM
9834 * mpc.el (mpc-proc): Add `restart' argument.
9835 (mpc-proc-cmd): Use it.
9836 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9837 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9838 less often.
9839
7144c627
MY
98402013-04-10 Masatake YAMATO <yamato@redhat.com>
9841
9842 * progmodes/sh-script.el: Implement `sh-mode' own
9843 `add-log-current-defun-function' (bug#14112).
9844 (sh-current-defun-name): New function.
9845 (sh-mode): Use the function.
9846
b39792eb
BG
98472013-04-09 Bastien Guerry <bzg@gnu.org>
9848
9849 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9850
8acdeb71
SM
98512013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9852
6fcdab68
SM
9853 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9854
8acdeb71
SM
9855 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9856 timer (bug#14156).
9857
e3e7b504
NF
98582013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9859
9860 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9861 declaration.
9862
201bb296
LL
98632013-04-07 Leo Liu <sdl.web@gmail.com>
9864
9865 * pcmpl-x.el: New file.
9866
ebb19708
DA
98672013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9868
9869 Do not set x-display-name until X connection is established.
9870 This is needed to prevent from weird situation described at
9871 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9872 * frame.el (make-frame): Set x-display-name after call to
9873 window system initialization function, not before.
9874 * term/x-win.el (x-initialize-window-system): Add optional
9875 display argument and use it.
9876 * term/w32-win.el (w32-initialize-window-system):
9877 * term/ns-win.el (ns-initialize-window-system):
9878 * term/pc-win.el (msdos-initialize-window-system):
9879 Add compatible optional display argument.
9880
33bb237a
EZ
98812013-04-06 Eli Zaretskii <eliz@gnu.org>
9882
9883 * files.el (normal-backup-enable-predicate): On MS-Windows and
9884 MS-DOS compare truenames of temporary-file-directory and of the
9885 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9886 don't fail comparison by compare-strings. Also, compare file
9887 names case-insensitively on MS-Windows and MS-DOS.
9888
134abf1f
SM
98892013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9892 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9893
d695cb94
DG
98942013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9895
e3e7b504
NF
9896 * whitespace.el (whitespace-color-on, whitespace-color-off):
9897 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9898
f4ad7ea1 98992013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9900
9901 * ispell.el (ispell-set-spellchecker-params):
9902 Really set `ispell-args' for all equivs.
9903
632556e4
SM
99042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * ido.el (ido-completions): Use extra elements of ido-decorations
9907 (bug#14143).
9908 (ido-decorations): Update docstring.
9909
2a417372
MA
99102013-04-05 Michael Albinus <michael.albinus@gmx.de>
9911
9912 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9913 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9914 nil during initialization, in order not to miss changes since the
9915 file was opened. (Bug#14140)
9916
fc164b0c
LL
99172013-04-05 Leo Liu <sdl.web@gmail.com>
9918
9919 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9920
0ccecc08
JB
99212013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9922
9923 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9924
51af1aa2
GM
99252013-04-04 Glenn Morris <rgm@gnu.org>
9926
9927 * electric.el (electric-pair-inhibit-predicate): Add :version.
9928
b208ebc6
SM
99292013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9932 when a package is required several times (bug#14082).
9933
f3d3eaf0
RW
99342013-04-04 Roland Winkler <winkler@gnu.org>
9935
9936 * faces.el (read-face-name): Behave as promised by the docstring.
9937 Assume that arg default is a list of faces.
9938 (describe-face): Call read-face-name with list of default faces.
9939
2575da50
TV
99402013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9941
9942 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9943 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9944 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9945 the header.
9946 (bookmark-exit-hook-internal): Save even if list is empty.
9947
397703b4
YH
99482013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9949
9950 * emacs-lisp/package.el (package-pinned-packages): New var.
9951 (package--add-to-archive-contents): Obey it (bug#14118).
9952
691e26ae
AM
99532013-04-03 Alan Mackenzie <acm@muc.de>
9954
8a621d53
JB
9955 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9956 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9957
9958 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9959 parameter `not-in-delimiter'. Handle being inside comment opener.
9960 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9961 character in case we're typing a '*' after a '/'.
9962 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9963 instead by passing the parameter to c-state-pp-to-literal.
9964
9965 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9966 for elt. 7 of a parse state.
9967
4b725a70
PE
99682013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9969
9970 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9971 * international/latin1-disp.el, international/mule-util.el:
9972 * language/cyril-util.el, language/european.el, language/ind-util.el:
9973 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9974 * language/tibetan.el, language/viet-util.el:
9975 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9976
15c579f0
SM
99772013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9980 (electric-pair-post-self-insert-function): Use it.
9981 (electric-pair-default-inhibit): New function, extracted from
9982 electric-pair-post-self-insert-function.
9983
a77e2924
RW
99842013-03-31 Roland Winkler <winkler@gnu.org>
9985
9986 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9987
2bd8a4a8
SM
99882013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9991
8d3655be 99922013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9993
9994 Un-indent after "pass" and "return" statements (Bug#13888)
9995 * progmodes/python.el (python-indent-block-enders): New var.
9996 (python-indent-calculate-indentation): Use it.
9997
8d3655be 99982013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9999
10000 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10001 defun. Defining it as defalias could introduce too eager
10002 byte-compiler optimization. (Bug#14030)
10003
8d3655be 100042013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10005
10006 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10007
0b1619da
LL
100082013-03-30 Leo Liu <sdl.web@gmail.com>
10009
10010 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10011 (kmacro-execute-from-register): Pass the keyboard macro to
10012 kmacro-call-macro or repeating won't work correctly.
10013
0b938190
TZ
100142013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10015
10016 * progmodes/subword.el: Back to using `forward-symbol'.
10017
10018 * subr.el (forward-whitespace, forward-symbol)
10019 (forward-same-syntax): Move from thingatpt.el.
10020
35710234
LL
100212013-03-29 Leo Liu <sdl.web@gmail.com>
10022
10023 * kmacro.el (kmacro-to-register): New command.
10024 (kmacro-execute-from-register): New function.
10025 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10026
efc0bb73
SM
100272013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * mpc.el: Use defvar-local and setq-local.
10030 (mpc--proc-connect): Connection failures are not bugs.
10031 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10032 (mpc-volume-map): Bind to the up-events.
10033
75a2f981
TZ
100342013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10035
10036 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10037 instead of `forward-symbol'.
10038
17c781d1
SM
100392013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10042 (edebug--recursive-edit): Use it.
10043 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10044 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10045
f67bfbcf
LL
100462013-03-28 Leo Liu <sdl.web@gmail.com>
10047
10048 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10049
b59f639d
EZ
100502013-03-27 Eli Zaretskii <eliz@gnu.org>
10051
10052 * facemenu.el (list-colors-callback): New defvar.
10053 (list-colors-redisplay): New function.
10054 (list-colors-display): Install list-colors-redisplay as the
10055 revert-buffer-function. (Bug#14063)
10056
f557c1b1
SM
100572013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10058
b1da2957
SM
10059 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10060 and suffixes don't overlap (bug#14061).
10061
f557c1b1
SM
10062 * case-table.el: Use lexical-binding.
10063 (case-table-get-table): New function.
10064 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10065
002668e1
TZ
100662013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10067
10068 * progmodes/subword.el: Add `superword-mode' to do word motion
10069 over symbol_words (parallels and leverages `subword-mode' which
10070 does word motion inside MixedCaseWords).
10071
73572c72
AG
100722013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10073
78b8f320 10074 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10075 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10076
69b2c07e
SM
100772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10080 Change return value to be a sexp. Delay `get-buffer' to after
10081 restoring the desktop (bug#13951).
10082
08bb5ee2
LL
100832013-03-26 Leo Liu <sdl.web@gmail.com>
10084
10085 * register.el: Move semantic tag handling back to
10086 cedet/semantic/senator.el. (Bug#14052)
10087
8d4c974e
SM
100882013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10091 into the prompt either (bug#13963).
10092
b234d92c
SM
100932013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10096 part of "(error-foo)".
10097
ddfa3cb4
JL
100982013-03-24 Juri Linkov <juri@jurta.org>
10099
10100 * replace.el (list-matching-lines-prefix-face): New defcustom.
10101 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10102 `occur-engine' if `face-differs-from-default-p' returns t.
10103 (occur-engine): Add `,' inside backquote construct to evaluate
10104 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10105 Pass `prefix-face' to the functions `occur-context-lines' and
10106 `occur-engine-add-prefix'.
10107 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10108 `prefix-face' and propertize the prefix with `prefix-face'.
10109 (Bug#14017)
10110
7b0e2f85
LL
101112013-03-24 Leo Liu <sdl.web@gmail.com>
10112
10113 * nxml/rng-valid.el (rng-validate-while-idle)
10114 (rng-validate-quick-while-idle): Guard against deleted buffer.
10115 (Bug#13999)
10116
10117 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10118 is the last entry in kill-buffer-hook.
10119
10120 * files.el (kill-buffer-hook): Doc fix.
10121
b3082f49
DG
101222013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10123
b234d92c
SM
10124 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10125 Make it safe-local.
bde73d27 10126
b3082f49
DG
10127 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10128
a320a2db
LL
101292013-03-23 Leo Liu <sdl.web@gmail.com>
10130
7e74b0fb
LL
10131 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10132 Remove.
10133
10134 * nxml/rng-valid.el (rng-validate-mode)
10135 (rng-after-change-function, rng-do-some-validation):
10136 * nxml/rng-maint.el (rng-validate-buffer):
10137 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10138 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10139 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10140 (nxml-extend-after-change-region): Use with-silent-modifications.
10141
a320a2db
LL
10142 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10143 timer-idle-list.
10144
10145 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10146 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10147 timer-idle-list. (Bug#13999)
10148
e38e6780
JL
101492013-03-23 Juri Linkov <juri@jurta.org>
10150
10151 * info.el (info-index-match): New face.
10152 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10153 main pattern and add text properties with the new face to matches
10154 in index entries relative to the beginning of the index entry.
10155 (Bug#14015)
10156
e8cc7880
DE
101572013-03-21 Eric Ludlam <zappo@gnu.org>
10158
10159 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10160 Inhibit read only while inserting objects.
10161
9bb0d822
TZ
101622013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10163
10164 * progmodes/cfengine.el: Update docs to mention
10165 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10166 symbol motion. Remove "_" from the word syntax.
10167
aa703640
TZ
101682013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10169
10170 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10171 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10172
afff09d0
JL
101732013-03-20 Juri Linkov <juri@jurta.org>
10174
10175 * info.el (Info-next-reference-or-link)
10176 (Info-prev-reference-or-link): New functions.
10177 (Info-next-reference, Info-prev-reference): Use them.
10178 (Info-try-follow-nearest-node): Handle footnote navigation.
10179 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10180
9a1ff164
SM
101812013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10184 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10185
2667d15d
PE
101862013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10187
10188 Suppress unnecessary non-ASCII chatter during build process.
10189 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10190 (batch-skkdic-convert): Suppress most of the chatter.
10191 It's not needed so much now that machines are faster,
10192 and its non-ASCII component was confusing; see Dmitry Gutov in
10193 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10194
438b0579
LL
101952013-03-20 Leo Liu <sdl.web@gmail.com>
10196
10197 * ido.el (ido-chop): Fix bug#10994.
10198
c128ab07
DG
101992013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10200
10201 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10202 Remove vars.
9a1ff164
SM
10203 (whitespace-color-on, whitespace-color-off):
10204 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10205
0e6008c5
SM
102062013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10209 remapping in mode-line.
10210 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10211
627b52b0
DG
102122013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10213
10214 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10215 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10216 (whitespace-font-lock-keywords): Change description.
10217 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10218 the constructed keywords instead.
10219 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10220
50c3a20b
LL
102212013-03-19 Leo Liu <sdl.web@gmail.com>
10222
10223 * progmodes/compile.el (compilation-display-error): New command.
10224 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10225 C-o. (Bug#13992)
10226
2aa2157b
PE
102272013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10228
10229 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10230
e477dbfa
JD
102312013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10232
10233 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10234
64ab82d1
MA
102352013-03-18 Michael Albinus <michael.albinus@gmx.de>
10236
10237 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10238
10239 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10240 * net/tramp-gvfs.el (top):
10241 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10242 (tramp-handle-shell-command): Use it.
10243 (tramp-dissect-file-name): Raise an error when hostname is a
10244 method name, and neither method nor user is specified.
10245
10246 * net/trampver.el: Update release number.
10247
33cef733
LL
102482013-03-18 Leo Liu <sdl.web@gmail.com>
10249
10250 Make sure eldoc can be turned off properly.
10251 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10252 eldoc-mode.
10253 (eldoc-display-message-p): Revert last change.
10254 (eldoc-display-message-no-interference-p)
10255 (eldoc-print-current-symbol-info): Tweak.
10256
2167b7b2
TH
102572013-03-18 Tassilo Horn <tsdh@gnu.org>
10258
10259 * doc-view.el (doc-view-new-window-function): Check the new window
10260 overlay's display property instead the char property of the
10261 buffer's first char. Use `with-selected-window' instead of
10262 `save-window-excursion' with `select-window'.
10263 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10264 display property instead the char property of the buffer's first char.
2167b7b2 10265
982efbcd
PE
102662013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10267
10268 Automate the build of ja-dic.el (Bug#13984).
10269 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10270 from the input, rather than assume that it's been done for us by the
10271 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10272 the current date into a ja-dic.el comment, as that complicates
10273 regression testing.
10274
2fcc7665
SM
102752013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * whitespace.el: Fix double evaluation.
10278 (whitespace-space, whitespace-hspace, whitespace-tab)
10279 (whitespace-newline, whitespace-trailing, whitespace-line)
10280 (whitespace-space-before-tab, whitespace-indentation)
10281 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10282 obsolete defvars.
10283 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10284 (whitespace-color-on): Use a single font-lock-add-keywords call.
10285 Fix double-evaluation of face variables.
10286
67c0a6e6
MA
102872013-03-17 Michael Albinus <michael.albinus@gmx.de>
10288
2fcc7665
SM
10289 * net/tramp-adb.el (tramp-adb-parse-device-names):
10290 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10291 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10292
69489f1d
LL
102932013-03-17 Leo Liu <sdl.web@gmail.com>
10294
10295 Extend eldoc to display info in the mode-line. (Bug#13978)
10296 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10297 (eldoc-mode-line-string): New variable.
10298 (eldoc-minibuffer-message): New function.
10299 (eldoc-message-function): New variable.
10300 (eldoc-message): Use it.
10301 (eldoc-display-message-p)
2fcc7665
SM
10302 (eldoc-display-message-no-interference-p):
10303 Support eldoc-post-insert-mode.
69489f1d
LL
10304
10305 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10306 (eval-expression): Run it.
10307
9c44569e
RW
103082013-03-17 Roland Winkler <winkler@gnu.org>
10309
10310 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10311 strings in the list of return values.
10312
327f1f6f
JB
103132013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10314
10315 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10316 radix before checking for HMS forms.
10317
67ed8fcd
LL
103182013-03-16 Leo Liu <sdl.web@gmail.com>
10319
10320 * progmodes/scheme.el: Add indentation and font-locking for λ.
10321 (Bug#13975)
10322
78be8b64 103232013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10324
10325 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10326 token before point (bug#13942).
10327
78be8b64 103282013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10329
95b43468 10330 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10331
98e775e6
EZ
103322013-03-16 Eli Zaretskii <eliz@gnu.org>
10333
10334 * startup.el (command-line-normalize-file-name): Fix handling of
10335 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10336 <xfq.free@gmail.com> in
10337 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10338
2edd6029
MA
103392013-03-15 Michael Albinus <michael.albinus@gmx.de>
10340
10341 Sync with Tramp 2.2.7.
10342
10343 * net/trampver.el: Update release number.
10344
d35f5864
TH
103452013-03-14 Tassilo Horn <tsdh@gnu.org>
10346
e903c210 10347 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10348 (doc-view-insert-image): Don't modify overlay associated to
10349 non-live windows, and implement horizontal centering of image in
10350 case it's smaller than the window.
10351 (doc-view-new-window-function): Force redisplay of new windows on
10352 doc-view buffers.
d35f5864 10353
1c4a85ed
KF
103542013-03-13 Karl Fogel <kfogel@red-bean.com>
10355
10356 * saveplace.el (save-place-alist-to-file): Don't sort
10357 `save-place-alist', just pretty-print it (bug#13882).
10358
85b66a21
MA
103592013-03-13 Michael Albinus <michael.albinus@gmx.de>
10360
a020afb9
JB
10361 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10362 Check whether `default-file-name-coding-system' is bound.
10363 It isn't in XEmacs.
85b66a21 10364
175600da
SM
103652013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10366
e7f7cb1a
SM
10367 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10368 backquotes for `obsolete' (bug#13929).
10369
175600da
SM
10370 * international/mule.el (find-auto-coding): Include file name in
10371 obsolescence warning (bug#13922).
10372
ca68a22e
TZ
103732013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10374
10375 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10376 for CFEngine 3-specific indentation.
10377 (cfengine3-indent-line): Use it. Fix up category regex.
10378 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10379
940e5099
SM
103802013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * type-break.el (type-break-file-name):
10383 * textmodes/remember.el (remember-data-file):
10384 * strokes.el (strokes-file):
10385 * shadowfile.el (shadow-initialize):
10386 * saveplace.el (save-place-file):
10387 * ps-bdf.el (bdf-cache-file):
10388 * progmodes/idlwave.el (idlwave-config-directory):
10389 * net/quickurl.el (quickurl-url-file):
10390 * international/kkc.el (kkc-init-file-name):
10391 * ido.el (ido-save-directory-list-file):
10392 * emulation/viper.el (viper-custom-file-name):
10393 * emulation/vip.el (vip-startup-file):
10394 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10395 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10396
cc725808
PE
103972013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10398
10399 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10400 * language/thai-word.el: Switch to UTF-8.
10401
a020afb9 10402See ChangeLog.16 for earlier changes.
e3d51b27
MR
10403
10404;; Local Variables:
10405;; coding: utf-8
e3d51b27
MR
10406;; End:
10407
ab422c4d 10408 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10409
10410 This file is part of GNU Emacs.
10411
10412 GNU Emacs is free software: you can redistribute it and/or modify
10413 it under the terms of the GNU General Public License as published by
10414 the Free Software Foundation, either version 3 of the License, or
10415 (at your option) any later version.
10416
10417 GNU Emacs is distributed in the hope that it will be useful,
10418 but WITHOUT ANY WARRANTY; without even the implied warranty of
10419 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10420 GNU General Public License for more details.
10421
10422 You should have received a copy of the GNU General Public License
10423 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.