Allow customizing the checkboxes in eww
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8feacce0
RS
12013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
4570dd16
RS
3 * net/eww.el (eww-form-checkbox-selected-symbol): New
4 customizable variable.
5 (eww-form-checkbox-symbol): New customizable variable.
6 (eww-form-checkbox): Use `eww-form-checkbox-selected-symbol' and
7 `eww-form-checkbox-symbol'.
8 (eww-toggle-checkbox): Use `eww-form-checkbox-selected-symbol' and
9 `eww-form-checkbox-symbol'.
10
ad9a773c
RS
11 * net/shr.el (shr-prefer-media-type-alist): : New customizable
12 variable.
13 (shr--get-media-pref): New function.
14 (shr--extract-best-source): New function.
15 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
16 no :src tag was specified.
17
b2afb3ea
RS
18 * net/eww.el (eww-use-external-browser-for-content-type): New
19 variable.
20 (eww-render): Handle `eww-use-external-browser-for-content-type'.
21 Use \\` to match beginning of string instead of ^.
22 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 23 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 24
177948a5
RS
25 * net/shr.el (shr-tag-video): Display content for video if no
26 poster is available.
eb2dd24d 27 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
28
29 * net/eww.el (eww-text-input-types): : New const.
30 (eww-process-text-input): Treat input types in
31 `eww-text-input-types' as text.
32
8feacce0
RS
33 * net/shr.el (shr-tag-table): Fix comment typo.
34
513562a1
LMI
352013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
36
37 * net/eww.el (eww-follow-link): New command to avoid reloading
38 pages when we follow #target links (bug#15243).
de8a5633 39 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 40
9dd99753
KN
412013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
42
43 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
44 forms.
45
3e9876de
LMI
462013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
47
48 * net/eww.el (eww-restore-history): Update the window title after
49 moving in the history.
ab6dea82 50 (eww-current-dom): New variable used to save the current DOM.
3e9876de 51
52789f7f
DG
522013-12-01 Dmitry Gutov <dgutov@yandex.ru>
53
54 * vc/log-edit.el (log-edit-mode-map): Add binding for
55 `log-edit-beginning-of-line'.
56 (log-edit-setup-add-author): New user option.
57 (log-edit-beginning-of-line): New command.
58 (log-edit): Move major mode call above the contents setup so that
59 the local variable values are already applied.
60 (log-edit): Only insert "Author: " when
61 `log-edit-setup-add-author' is non-nil.
62 (log-edit): When SETUP is non-nil, position point after ": "
63 instead of point-min.
64
2e6710c3
GM
652013-12-01 Glenn Morris <rgm@gnu.org>
66
67 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
68
fadec31f
EZ
692013-11-30 Eli Zaretskii <eliz@gnu.org>
70
71 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 72 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
73 visible. (Bug#16014)
74
10634b40 752013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
76
77 Support resizing frames and windows pixelwise.
78 * cus-start.el (frame-resize-pixelwise)
79 (window-resize-pixelwise): New entries.
80 * emacs-lisp/debug.el (debug): Use window-total-height instead
81 of window-total-size.
82 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
83 * help.el (describe-bindings-internal): Call help-buffer
84 (temp-buffer-max-width): New option.
85 (resize-temp-buffer-window, help-window-setup)
86 (with-help-window): Rewrite.
87 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
88 dragging dividers.
89 * window.el (frame-char-size, window-min-pixel-height)
90 (window-safe-min-pixel-height, window-safe-min-pixel-width)
91 (window-min-pixel-width, window-safe-min-pixel-size)
92 (window-combination-p, window-safe-min-size)
93 (window-resizable-p, window--size-to-pixel)
94 (window--pixel-to-size, window--resize-apply-p): New functions.
95 (window-safe-min-height): Fix doc-string.
96 (window-size, window-min-size, window--min-size-1)
97 (window-sizable, window-sizable-p, window--min-delta-1)
98 (window-min-delta, window--max-delta-1, window-max-delta)
99 (window--resizable, window--resizable-p, window-resizable)
100 (window-full-height-p, window-full-width-p, window-at-side-p)
101 (window--in-direction-2, window-in-direction)
102 (window--resize-reset-1, window--resize-mini-window)
103 (window-resize, window-resize-no-error)
104 (window--resize-child-windows-normal)
105 (window--resize-child-windows, window--resize-siblings)
106 (window--resize-this-window, window--resize-root-window)
107 (window--resize-root-window-vertically)
108 (adjust-window-trailing-edge, enlarge-window, shrink-window)
109 (maximize-window, minimize-window, delete-window)
110 (quit-restore-window, window-split-min-size, split-window)
111 (balance-windows-2, balance-windows)
112 (balance-windows-area-adjust, balance-windows-area)
113 (window--state-get-1, window-state-get, window--state-put-1)
114 (window--state-put-2, window-state-put)
115 (display-buffer-record-window, window--display-buffer): Make
116 functions handle pixelwise sizing of windows.
117 (display-buffer--action-function-custom-type)
118 (display-buffer-fallback-action): Add
119 display-buffer-in-previous-window.
120 (display-buffer-use-some-window): Resize window to height it had
121 before.
122 (fit-window-to-buffer-horizontally): New option.
123 (fit-frame-to-buffer): Describe new values.
124 (fit-frame-to-buffer-bottom-margin): Replace with
125 fit-frame-to-buffer-margins.
126 (window--sanitize-margin): New function.
127 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
128 using window-text-pixel-size.
129
f9b697dd
GM
1302013-11-30 Glenn Morris <rgm@gnu.org>
131
3e2fb4db
GM
132 * emacs-lisp/bytecomp.el (byte-compile-form):
133 Make the `interactive-only' warning like the `obsolete' one.
134 * comint.el (comint-run):
135 * files.el (insert-file-literally, insert-file):
136 * replace.el (replace-string, replace-regexp):
137 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
138 (goto-line, insert-buffer, next-line, previous-line):
139 Tweak `interactive-only' spec.
140
f9b697dd
GM
141 Stop keeping (most) generated cedet grammar files in the repository.
142 * Makefile.in (semantic): New.
143 (compile-main): Depend on semantic.
144
da048127
SM
1452013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
146
7784b779
SM
147 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
148 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
149
4e36a6a6
SM
150 * uniquify.el (uniquify-buffer-name-style): Change default.
151
152 * loadup.el: Preload "uniquify".
153
e0ba1308
SM
154 * time.el (display-time-update): Update all mode lines (bug#15999).
155
da048127
SM
156 * electric.el (electric-indent-mode): Enable by default.
157 * loadup.el: Preload "electric".
158
015b3b3e
BB
1592013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
160
161 * emacs-lisp/helpers.el (string-empty-p): New function.
162 (string-blank-p): New function.
163
7efb806d
AP
1642013-11-29 Andreas Politz <politza@hochschule-trier.de>
165
166 * imenu.el (imenu--index-alist): Add missing dot to the docstring
167 (Bug#14029).
168
c8f0efc2
AP
1692013-11-29 Andreas Politz <politza@fh-trier.de>
170 * imenu.el (imenu--subalist-p): Don't error on non-conses and
171 allow non-lambda lists as functions.
172 (imenu--in-alist): Don't recurse into non-subalists.
173 (imenu): Don't pass function itself as an argument (Bug#14029).
174
bd15d9d1
SM
1752013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * progmodes/python.el (python-mode-map): Remove binding for ":".
178 (python-indent-electric-colon): Remove command.
179 (python-indent-post-self-insert-function): Integrate the previous code
180 of python-indent-electric-colon. Make it conditional on
181 electric-indent-mode.
182 (python-mode): Add ?: to electric-indent-chars.
183 Move python-indent-post-self-insert-function to the end of
184 post-self-insert-hook.
185
1b10adb6
SM
1862013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
187
655ab9a3
SM
188 * doc-view.el (doc-view-goto-page): Update mode-line.
189
1b10adb6
SM
190 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
191
7e3bf78c
GM
1922013-11-27 Glenn Morris <rgm@gnu.org>
193
194 * international/charprop.el, international/uni-bidi.el:
195 * international/uni-category.el, international/uni-combining.el:
196 * international/uni-comment.el, international/uni-decimal.el:
197 * international/uni-decomposition.el, international/uni-digit.el:
198 * international/uni-lowercase.el, international/uni-mirrored.el:
199 * international/uni-name.el, international/uni-numeric.el:
200 * international/uni-old-name.el, international/uni-titlecase.el:
201 * international/uni-uppercase.el:
202 Remove generated files from VCS repository.
203
fb6a5d68
EZ
2042013-11-27 Eli Zaretskii <eliz@gnu.org>
205
206 * filenotify.el (file-notify-add-watch): Don't special-case
207 w32notify when computing the directory to watch.
208
cb6c95a3
GM
2092013-11-27 Glenn Morris <rgm@gnu.org>
210
20372d0c
GM
211 Make bootstrap without generated uni-*.el files possible again.
212 * loadup.el: Update command-line-args checking for unidata-gen.
213 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
214 * composite.el, international/characters.el:
215 Handle unicode tables being undefined.
216
52d6635f 217 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
218 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
219 (compile-main): Depend on leim rule.
220 (leim): New rule.
221 * loadup.el: Move leim-list.el to leim/ subdirectory.
222 * startup.el (normal-top-level): No more leim directory.
223 * international/ja-dic-cnv.el (skkdic-convert):
224 Disable version-control and autoloads in output files.
225 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
226 Disable version-control and autoloads in output files.
227 * leim/quail: Move here from ../leim.
228 * leim/quail/hangul.el (hangul-input-method-activate):
229 Add autoload cookie.
230 (generated-autoload-load-name): Set file-local value.
231 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
232 (generated-autoload-load-name): Set file-local value.
233
0449d6cd 2342013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
235
236 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
237 (eww-add-bookmark): ask confirmation when add to bookmarks
238 (eww-quit): ask confirmation before quitting eww
239
0e2c793f
EZ
2402013-11-26 Eli Zaretskii <eliz@gnu.org>
241
242 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
243 reading output from Diff on MS-Windows and MS-DOS.
244
447bdcb8
BB
2452013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
246
247 * emacs-lisp/helpers.el (string-reverse): New function.
248
5fbf6856
MA
2492013-11-26 Michael Albinus <michael.albinus@gmx.de>
250
251 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
252 names on MS Windows, like "/[::1]:".
253
254 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
255 SWITCHES.
256
624780f0
GM
2572013-11-26 Glenn Morris <rgm@gnu.org>
258
0bf3f0fa
GM
259 * progmodes/python.el (python-indent-guess-indent-offset):
260 Avoid corner-case error. (Bug#15975)
261
624780f0
GM
262 Preload leim-list.el. (Bug#4789)
263 * loadup.el: Load leim-list.el when found.
264 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
265
4301875e 2662013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
267
268 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
269
4301875e
BB
270 * emacs-lisp/helpers.el (string-join): New function.
271
1633a815 2722013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
273
274 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
275 Mark as obsolete and replace it with a symbol property.
276 (byte-compile-form): Use new 'interactive-only property.
277 * comint.el, files.el, replace.el, simple.el:
278 Apply new 'interactive-only properly.
279
00139435
MR
2802013-11-25 Martin Rudalics <rudalics@gmx.at>
281
282 * window.el (display-buffer-at-bottom): Make sure that
283 split-window-sensibly creates the new window on bottom
284 (Bug#15961).
285
5f5b128d
DK
2862013-11-23 David Kastrup <dak@gnu.org>
287
288 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
289 on the conflict markers when available.
290 (smerge--get-marker): New function.
291 (smerge-end-re, smerge-base-re): Add subgroup.
292
623891e5
SM
2932013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * frame.el (handle-focus-in, handle-focus-out): Add missing
296 interactive spec.
297
05ca27d8
MA
2982013-11-25 Michael Albinus <michael.albinus@gmx.de>
299
300 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
301 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
302
511fa0d3
SM
3032013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
304
e82ad66c
SM
305 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
306 (gomoku--last-pos): New var.
307 (gomoku--intangible-chars): New const.
308 (gomoku--intangible): New function.
309 (gomoku-mode): Use it. Derive from special-mode.
310 (gomoku-move-up): Adjust line count.
311 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
312 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
313 Simplify accordingly.
314
511fa0d3
SM
315 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
316 Remove blink-cursor code.
317 (blink-cursor-timer-function, blink-cursor-suspend):
318 Don't special-case GUIs.
319 (blink-cursor-mode): Use focus-in/out-hook.
320
6f20dd03
DG
3212013-11-25 Dmitry Gutov <dgutov@yandex.ru>
322
323 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
324 work when annotation is invisible (Bug#13886).
325
431dec31 3262013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
327
328 * json.el (json-alist-p): Only return non-nil if the alist has
329 simple keys (Bug#13518).
330
431dec31 3312013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
332
333 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
334 when control-statement is the first statement in a buffer (Bug#15956).
335
ee4f0261
DG
3362013-11-24 Dmitry Gutov <dgutov@yandex.ru>
337
338 * imenu.el (imenu-generic-skip-comments-and-strings):
339 New option (Bug#15560).
340 (imenu--generic-function): Use it.
341
c484f866
JS
3422013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
343
344 * minibuffer.el (completion--in-region-1): Scroll the correct
345 window. (Bug#13898)
346
41ce6f70
BB
3472013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
348
b55aea38
BB
349 * emacs-lisp/helpers.el: Add some string helpers.
350 (string-trim-left): Removes leading whitespace.
351 (string-trim-right): Removes trailing whitespace.
352 (string-trim): Removes leading and trailing whitespace.
353
41ce6f70
BB
354 * subr.el (string-suffix-p): New function.
355
3cfb6af3
GM
3562013-11-23 Glenn Morris <rgm@gnu.org>
357
358 * progmodes/python.el (python-shell-send-file):
359 Add option to delete file when done. (Bug#15647)
360 (python-shell-send-string, python-shell-send-region): Use it.
361
c27924b7
IS
3622013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
363
e1b01c7f
IS
364 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
365 to set buffer-read-only to t, never to nil. (Bug#15938)
366
c27924b7
IS
367 * textmodes/tex-mode.el (latex-noindent-environments):
368 Add safe-local-variable property. (Bug#15936)
369
17e0445b
GM
3702013-11-23 Glenn Morris <rgm@gnu.org>
371
92f78ea3
GM
372 * textmodes/enriched.el (enriched-mode): Doc fix.
373 * emacs-lisp/authors.el (authors-renamed-files-alist):
374 Add enriched.doc -> enriched.txt.
375
17e0445b
GM
376 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
377
965bb23a
LL
3782013-11-22 Leo Liu <sdl.web@gmail.com>
379
380 * progmodes/octave.el (inferior-octave-startup): Spit out error
381 message.
382
d19ffd64
BB
3832013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
384
385 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
386 Improve docstring.
15ba2182
BB
387 Add :version.
388 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 389
7a7567d2
LL
3902013-11-22 Leo Liu <sdl.web@gmail.com>
391
392 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
393 (Bug#15076)
8c09f64b
LL
394 (octave-help-mode): Adapt to change to help-mode-finish to use
395 derived-mode-p on 2013-09-17.
396 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 397 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 398
724bc265
LL
3992013-11-22 Leo Liu <sdl.web@gmail.com>
400
401 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
402 (inferior-octave-startup, inferior-octave-check-process)
403 (inferior-octave-track-window-width-change)
404 (octave-completion-at-point, octave-eldoc-function): Use it.
405 (octave-kill-process): Provide confirmation. (Bug#10564)
406
38637cca
LL
4072013-11-21 Leo Liu <sdl.web@gmail.com>
408
511fa0d3
SM
409 * progmodes/octave.el (octave-mode, inferior-octave-mode):
410 Fix obsolete variable comment-use-global-state.
38637cca 411
06e752b4
RS
4122013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
413
511fa0d3
SM
414 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
415 Add `octave-source-file'.
06e752b4
RS
416 (octave-source-file): New function. (Bug#15935)
417
0449d6cd 4182013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
419
420 * net/eww.el (eww-local-regex): New variable.
421 (eww): Use it to detect localhost and similar.
422
b6ffa04a
LL
4232013-11-21 Leo Liu <sdl.web@gmail.com>
424
425 Add completion for command `ag'.
2021a200
LL
426 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
427 (pcomplete/ag): New function.
428 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 429
d1a6bccc
SM
4302013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
433 (bug#14646).
434 (make-obsolete): Remove interactive spec.
435
2df10228
GM
4362013-11-21 Glenn Morris <rgm@gnu.org>
437
438 * startup.el (command-line-1): Use path-separator with -L.
439
86fd16b6
TZ
4402013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
441
442 * emacs-lisp/package.el (describe-package-1): Add package archive
443 to shown fields.
444
0449d6cd 4452013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
446
447 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
448 Change default to "# encoding: %s" to differentiate it from the
449 default Ruby encoding comment template.
450
dc7e8c17 4512013-11-20 era eriksson <era+emacsbugs@iki.fi>
452
453 * ses.el (ses-mode): Doc fix. (Bug#14748)
454
f0cfa5fe
LL
4552013-11-20 Leo Liu <sdl.web@gmail.com>
456
457 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
458
826dc7b6
DN
4592013-11-19 Dan Nicolaescu <dann@gnu.org>
460
461 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
462 when rebase or bisect are in progress.
463
a6e3a5d5
XF
4642013-11-19 Xue Fuqiao <xfq.free@gmail.com>
465
466 * filenotify.el (file-notify-add-watch): Doc fix.
467
f130cb76
LL
4682013-11-19 Leo Liu <sdl.web@gmail.com>
469
e0855d7d
LL
470 * obsolete/rcompile.el: Mark obsolete.
471
f130cb76 472 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
473 (compilation-goto-locus, compilation-find-file):
474 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
475 (Bug#13594)
476
477 * window.el (display-buffer-alist, display-buffer): Document the
478 new parameter no-display-ok.
479
1f35d401
SM
4802013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
481
25158c76
SM
482 * electric.el (electric-indent-mode-map): Remove.
483 (electric-indent-mode): Change the global-map instead (bug#15915).
484
485 * textmodes/text-mode.el (paragraph-indent-minor-mode):
486 Use add-function.
1f35d401 487
9bc67baa
SM
4882013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
489
986545b5
SM
490 * emacs-lisp/nadvice.el (remove-function): Align with
491 add-function's behavior.
492
9bc67baa
SM
493 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
494 (gdb--string-regexp): New constant.
495 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
496 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
497 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
498 submatch 1.
499 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
500 Adjust use accordingly.
501 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
502
56cd894e
AS
5032013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
504
505 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
506 interpolation curlies (Bug#15914).
507
014690de
JB
5082013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
509
510 * calc/calc.el (calc-context-sensitive-enter): New variable.
511 (calc-enter): Use `calc-context-sensitive-enter'.
512
7e26a6c3
TZ
5132013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
514
515 * progmodes/cfengine.el: Version bump.
516 (cfengine-cf-promises): New defcustom to locate cf-promises.
517 (cfengine3-vartypes): Add new "data" type.
518 (cfengine3--current-word): New function to get current name-like
519 word or its bounds.
520 (cfengine3--current-function): New function to look up a CFEngine
521 function's definition.
522 (cfengine3-format-function-docstring): New function.
523 (cfengine3-make-syntax-cache): New function.
524 (cfengine3-documentation-function): New function: ElDoc glue.
525 (cfengine3-completion-function): New function: completion glue.
526 (cfengine3-mode): Set `compile-command',
527 `eldoc-documentation-function', and add to
528 `completion-at-point-functions'.
529
355204dd
MA
5302013-11-16 Michael Albinus <michael.albinus@gmx.de>
531
532 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
533 `tramp-current-connection'.
534
43cebc23
DG
5352013-11-15 Dmitry Gutov <dgutov@yandex.ru>
536
537 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
538 nil/self/true/false with "end of symbol".
539
a3fed6ff
BB
5402013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
541
542 * subr.el (version-regexp-alist): Fix a typo.
543
e675b3e4
MA
5442013-11-15 Michael Albinus <michael.albinus@gmx.de>
545
546 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
547 "en_US.utf8" and "LC_CTYPE" to "".
548 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
549 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
550
a1f03e89
LL
5512013-11-15 Leo Liu <sdl.web@gmail.com>
552
553 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
554
5d9d9451
SM
5552013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
556
58362662
CS
557 * progmodes/gud.el (ctl-x-map):
558 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
559 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
560
6c1bf086
BB
5612013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
562
0d5363c4
BB
563 * subr.el (version-regexp-alist):
564 Recognize hg, svn and darcs versions as snapshot versions.
565
4e9fc48c
BB
566 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
567 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
568 (ruby--encoding-comment-required-p): Extract from
569 `ruby-mode-set-encoding'.
570 (ruby-mode-set-encoding): Add the ability to always insert an
571 utf-8 encoding comment. Fix and simplify coding comment update
572 logic.
6c1bf086 573
2f7e72f8
MA
5742013-11-14 Michael Albinus <michael.albinus@gmx.de>
575
576 * net/tramp-gvfs.el (top): Run init code only when
577 `tramp-gvfs-enabled' is not nil.
578 (tramp-gvfs-enabled): Check also :system bus.
579
0f137a73
SM
5802013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 Sync with upstream verilog-mode revision 78e66ba.
583 * progmodes/verilog-mode.el (verilog-end-of-defun)
584 (verilog-type-completion, verilog-get-list): Remove unused funcs.
585 (verilog-get-end-of-defun): Remove unused argument.
586 (verilog-comment-depth): Remove unused local `e'.
587 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
588 Don't pass arg to verilog-get-end-of-defun.
589
1c276bdd
GM
5902013-11-14 Glenn Morris <rgm@gnu.org>
591
592 * obsolete/assoc.el (aget): Prefix dynamic variable.
593
594 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
595
ff6ec81d
SM
5962013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * widget.el, hfy-cmap.el: Remove bogus package version number.
599
75f777b6
GM
6002013-11-13 Glenn Morris <rgm@gnu.org>
601
1d43dba1
GM
602 * replace.el (replace-eval-replacement):
603 Try to give more helpful error message. (Bug#15836)
604
ff4b7bd5
GM
605 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
606 (archive-7z-update): Avoid custom type mismatches.
607
75f777b6
GM
608 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
609
11151a06
MA
6102013-11-13 Michael Albinus <michael.albinus@gmx.de>
611
e675b3e4 612 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
613 address can be empty.
614
615 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
616 Accept nil SWITCHES.
617 (tramp-gvfs-handle-write-region): Implement APPEND.
618
7b08f97e
DG
6192013-11-12 Dmitry Gutov <dgutov@yandex.ru>
620
621 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
622 binary "|" operator and closing block args delimiter.
623 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
624 (ruby-smie--implicit-semi-p): Not after "|" operator.
625 (ruby-smie--closing-pipe-p): New function.
626 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
627 (ruby-smie-rules): Indent after "|".
628
f201cf3a
GM
6292013-11-12 Glenn Morris <rgm@gnu.org>
630
631 * ps-print.el (ps-face-attribute-list):
632 Handle anonymous faces. (Bug#15827)
633
e6f759f9
MR
6342013-11-12 Martin Rudalics <rudalics@gmx.at>
635
636 * window.el (display-buffer-other-frame): Fix doc-string.
637 (Bug#15868)
638
ecda65d4
SM
6392013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * subr.el (force-mode-line-update): Delete, move to buffer.c.
642
7ce8fcc3
MA
6432013-11-11 Michael Albinus <michael.albinus@gmx.de>
644
645 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
646 (tramp-sh-handle-file-local-copy): Don't write a message when
647 saving temporary files.
648
649 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
650 both directories are remote.
651 (tramp-smb-handle-directory-files): Do not return double entries.
652 Do not expand full file names.
653 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
654 (tramp-smb-handle-write-region): Implement APPEND.
655 (tramp-smb-get-stat-capability): Fix a stupid bug.
656
7818df11
SM
6572013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
660
608c2085
NT
6612013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
662
663 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
664 throwing error over malformed let/let* (bug#15814).
665
122a7e46
SM
6662013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * iswitchb.el (iswitchb-mode): Mark obsolete.
669
766284d9
GM
6702013-11-11 Glenn Morris <rgm@gnu.org>
671
672 * international/uni-bidi.el, international/uni-category.el:
673 * international/uni-name.el, international/uni-numeric.el:
674 Regenerate for Unicode 6.3.0.
675
7072a4e9
MA
6762013-11-10 Michael Albinus <michael.albinus@gmx.de>
677
678 * net/tramp.el (tramp-methods):
679 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
680 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
681
c9df215b
AS
6822013-11-09 Andreas Schwab <schwab@linux-m68k.org>
683
608c2085
NT
684 * progmodes/sh-script.el (sh-font-lock-keywords-var):
685 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 686
fa47d796
DG
6872013-11-09 Dmitry Gutov <dgutov@yandex.ru>
688
689 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 690 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
691 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
692 (ispell-complete-word): Call `ispell-lookup-words' with the value
693 independent of `ispell-look-p'.
694
1629a329
DG
6952013-11-08 Dmitry Gutov <dgutov@yandex.ru>
696
697 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
698 Not after "||".
699 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
700 their parent.
701
ad16897c
SM
7022013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
705 (ruby-font-lock-keywords): Use backquote.
706
ffa2df72
DG
7072013-11-08 Dmitry Gutov <dgutov@yandex.ru>
708
709 * progmodes/ruby-mode.el (ruby-smie--forward-token)
710 (ruby-smie--backward-token): Only consider full-string matches.
711
5b97b4c0
JD
7122013-11-08 Jan Djärv <jan.h.d@swipnet.se>
713
714 * faces.el (describe-face): Add distant-foreground.
715
71731c03
BB
7162013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
717
4e9fc48c
BB
718 * progmodes/ruby-mode.el: Improve encoding comment handling.
719 (ruby-encoding-magic-comment-style): New option.
720 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
721 (ruby--insert-coding-comment, ruby--detect-encoding):
722 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
723 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
724 to control the style of the auto-inserted encoding comment.
71731c03 725
da3b328d
DG
7262013-11-08 Dmitry Gutov <dgutov@yandex.ru>
727
ad16897c
SM
728 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
729 Use `smie-backward-sexp' with token argument.
da3b328d 730
1606c2d3
MA
7312013-11-08 Michael Albinus <michael.albinus@gmx.de>
732
733 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
734 Remove instrumentation code.
735
b0f4c320
GM
7362013-11-08 Glenn Morris <rgm@gnu.org>
737
738 * progmodes/autoconf.el (autoconf-mode):
739 Tweak comment-start-skip. (Bug#15822)
740
43668fb1
SM
7412013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
744 at bobp (bug#15826).
745 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
746
daddb3fd
DH
7472013-11-08 Darren Hoo <darren.hoo@gmail.com>
748
749 * man.el (Man-start-calling): New macro, extracted from
750 Man-getpage-in-background.
751 (Man-getpage-in-background): Use it.
752 (Man-update-manpage): New command.
753 (Man-mode-map): Bind it.
754
1f923923
DG
7552013-11-08 Dmitry Gutov <dgutov@yandex.ru>
756
757 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
758 of "and", "or", "&&" and "||".
759 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
760 argument. Prohibit opening curly brace because it could only be a
761 block opener in that position.
daddb3fd
DH
762 (ruby-smie--forward-token, ruby-smie--backward-token):
763 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
764 arguments.
765 (ruby-smie--indent-to-stmt): New function, seeks the end of
766 previous statement or beginning of buffer.
767 (ruby-smie-rules): Use it.
768 (ruby-smie-rules): Check if there's a ":" before a curly block
769 opener candidate; if there is, it's a hash.
770
3220d527
SM
7712013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
774 (cl--block-wrapper): Fix last accidental change.
775
1eb1f9e0
MA
7762013-11-07 Michael Albinus <michael.albinus@gmx.de>
777
778 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
779 Instrument, in order to hunt failure on hydra.
780
e6e4db3c
NT
7812013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
782
783 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
784 malformed bindings form (bug#15814).
785
b420ccfc
DG
7862013-11-07 Dmitry Gutov <dgutov@yandex.ru>
787
788 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
789 "." compared to " @ ". This incidentally fixes some indentation
790 examples with "do".
e6e4db3c 791 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
792 (ruby-smie-grammar): New tokens: "and" and "or".
793 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
794 Exclude "and" and "or". Remove "do" in order to work around token
795 priorities.
796 (ruby-smie-rules): Add all infix tokens. Handle the case of
797 beginning-of-buffer.
b420ccfc 798
6b4ac03e
GM
7992013-11-06 Glenn Morris <rgm@gnu.org>
800
801 * Makefile.in (setwins_almost, setwins_for_subdirs):
802 Avoid accidental matches.
803
5ca114d1
SM
8042013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * menu-bar.el (popup-menu): Use key-binding.
807
f72552bd
EZ
8082013-11-06 Eli Zaretskii <eliz@gnu.org>
809
810 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
811 menus, support also the menus produced by minor modes.
812 (Bug#15817)
813
5d5c701e
LL
8142013-11-06 Leo Liu <sdl.web@gmail.com>
815
816 * thingatpt.el (thing-at-point-looking-at): Add optional arg
817 DISTANCE to bound the search. All uses changed. (Bug#15808)
818
0a8b75e2
GM
8192013-11-06 Glenn Morris <rgm@gnu.org>
820
821 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
822 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
823 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 824
a35287ea
SM
8252013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
826
feca4e2d
SM
827 * electric.el (electric-indent-just-newline): New command.
828 (electric-indent-mode-map): New keymap.
829 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
830 Re-add :group which weren't redundant.
831
a35287ea
SM
832 * electric.el (electric-indent-local-mode): New minor mode.
833 (electric-indent-functions-without-reindent): New var.
834 (electric-indent-post-self-insert-function): Use it.
835 * emacs-lisp/gv.el (buffer-local-value): Add setter.
836
375761b2
EZ
8372013-11-05 Eli Zaretskii <eliz@gnu.org>
838
9a6ad735
EZ
839 * international/quail.el (quail-help): Be more explicit about the
840 meaning of the labels shown on the keys. (Bug#15800)
841
375761b2
EZ
842 * startup.el (normal-top-level): Load the subdirs.el files before
843 setting the locale environment. (Bug#15805)
844
520a6e4a
SM
8452013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
846
0acfafef
SM
847 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
848 via arguments so as to get the right ones (bug#15418).
849
520a6e4a
SM
850 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
851
15826261
MA
8522013-11-05 Michael Albinus <michael.albinus@gmx.de>
853
854 Fix problems found while writing a test suite.
855
856 * net/tramp-compat.el (tramp-compat-load): New defun.
857 * net/tramp.el (tramp-handle-load): Use it.
858
859 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
860 "(numberp ok-if-already-exists)" correctly.
861
d35f31a4
XF
8622013-11-05 Xue Fuqiao <xfq.free@gmail.com>
863
864 * international/characters.el (glyphless-char-display-control):
865 Add usage note.
866
ae93bc74
BB
8672013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
868
520a6e4a
SM
869 * progmodes/python.el (python-mode):
870 * progmodes/scheme.el (scheme-mode):
871 * progmodes/prolog.el (prolog-mode):
872 * progmodes/ruby-mode.el (ruby-mode):
873 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
874 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 875
0ade65b5
SM
8762013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
877
a0d5f7a4
SM
878 * rect.el (rectangle--highlight-for-redisplay):
879 * emacs-lisp/smie.el (smie--next-indent-change):
880 Use buffer-chars-modified-tick.
881
c93f3f5c
SM
882 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
883
0ade65b5
SM
884 * electric.el (electric-indent-post-self-insert-function):
885 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
886
ef9dd188
HE
8872013-11-04 Helmut Eller <eller.helmut@gmail.com>
888
889 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
890
306e7308
NT
8912013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
892
893 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
894 (bug#15786).
895
e5afbcac
SM
8962013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
897
1d01ad41
SM
898 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
899
e5afbcac
SM
900 * progmodes/python.el: Fix up last change.
901 (python-shell--save-temp-file): New function.
902 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
903 `string' comes from the current buffer.
904 (python-shell-send-string-no-output): Remove `msg' arg.
905 (python--use-fake-loc): New var.
906 (python-shell-buffer-substring): Obey it. Try to compensate for the
907 extra coding line added by python-shell--save-temp-file.
908 (python-shell-send-region): Use python-shell--save-temp-file and
909 python-shell-send-file directly. Add `nomain' argument.
910 (python-shell-send-buffer): Use python-shell-send-region.
911 (python-electric-pair-string-delimiter): New function.
912 (python-mode): Use it.
913
d0065ff1
EZ
9142013-11-04 Eli Zaretskii <eliz@gnu.org>
915
916 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
917 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
918 environment and decoding all of the default-directory's to here
919 from command-line.
920 (command-line): Decode also argv[0].
921
922 * loadup.el: Error out if default-directory is a multibyte string
923 when we are dumping.
924
925 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
926
7397c587
TZ
9272013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
928
929 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
930 (package-menu--print-info, package-menu--archive-predicate):
931 Add Archive column to package list.
7397c587 932
b27cc9fc
MA
9332013-11-04 Michael Albinus <michael.albinus@gmx.de>
934
935 Fix problems found while writing a test suite.
936
937 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
938 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
939 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
940 to nil when running original file name handler. Otherwise,
941 there are problems with constructs like "$$FOO".
942
943 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
944 for `localname'.
945
d8c4f18a
BB
9462013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
947
7b530552
BB
948 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
949
950 * subr.el (version<, version<=, version=):
951 Update docstrings with information for snapshot versions.
952
d8c4f18a
BB
953 * helpers.el: New library for misc helper functions.
954 (hash-table-keys): New function returning a list of hash keys.
955 (hash-table-values): New function returning a list of hash values.
956
dca01b09
DG
9572013-11-04 Dmitry Gutov <dgutov@yandex.ru>
958
959 * progmodes/ruby-mode.el (ruby-smie--forward-token)
960 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
961
0a749fa0
MN
9622013-11-04 Michal Nazarewicz <mina86@mina86.com>
963
964 * textmodes/fill.el (fill-single-char-nobreak-p): New function
965 checking whether point is after a 1-letter word.
966
9672013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
968
969 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
970 Don't infloop when expanding region over `multiline' syntax-type that
971 begins a line (bug#15778).
972
4aca7145
SM
9732013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
974
975 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
976 Make it into a proper minor mode.
977 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
978 (rectangle-mark-mode-map): New keymap.
979 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
980
a0833f62
GM
9812013-11-04 Glenn Morris <rgm@gnu.org>
982
983 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
984
e61845c1
SM
9852013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
988 (ruby-smie-rules): Use smie-rule-parent instead.
989
990 * emacs-lisp/smie.el (smie-rule-parent): Always call
991 smie-indent-virtual rather than only for hanging tokens.
992 (smie--next-indent-change): New helper command.
993
62942f89
GM
9942013-11-03 Glenn Morris <rgm@gnu.org>
995
996 * Makefile.in (abs_srcdir): Remove.
997 (emacs): Unset EMACSLOADPATH.
998
b0b9e592
GM
9992013-11-02 Glenn Morris <rgm@gnu.org>
1000
18ba6a33 1001 * Makefile.in (EMACS): Use a relative filename.
8061810d 1002 (abs_top_builddir): Remove.
18ba6a33
GM
1003 (custom-deps, finder-data, autoloads): Use --chdir.
1004
6a8b929e
GM
1005 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1006
c617f3d0
GM
1007 Use relative filenames in TAGS files.
1008 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1009 (lisptagsfiles4, TAGS): Use relative file names.
1010 (TAGS-LISP): Remove.
1011 (maintainer-clean): No more TAGS-LISP file.
1012
b0b9e592
GM
1013 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1014 (lisptagsfiles4): Use absolute filenames again.
1015 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1016 Remove all *loaddefs files, not just the first. Remove esh-groups.
1017 (maintainer-clean): Delete TAGS, TAGS-LISP.
1018
d1c0ea6a
BB
10192013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1020
e61845c1
SM
1021 * emacs-lisp/package.el (package-version-join):
1022 Recognize snapshot versions.
d1c0ea6a 1023
684d71c6
BB
10242013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1025
1026 * subr.el (version-regexp-alist): Add support for snapshot versions.
1027
3d42b968
DG
10282013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1029
e61845c1
SM
1030 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1031 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1032 skip over our direct parent if it's an assignment token..
1033 (ruby-smie-rules): Use it.
1034
7ffd3721
DG
10352013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1036
1037 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1038 unconditionally. Remove now unnecessary forward declarations.
1039 Remove XEmacs-specific setup.
1040 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1041 (ruby-font-lock-syntactic-keywords)
1042 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1043 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1044 (ruby-here-doc-end-syntax): Remove.
1045 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1046 defined as function.
1047
a3996a2e
BB
10482013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1049
1050 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1051
6f9260e8
BB
10522013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1053
1054 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1055 table and abbrev table, `define-derived-mode' does that for us
1056 anyway.
1057
6014de84
GM
10582013-11-01 Glenn Morris <rgm@gnu.org>
1059
1060 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1061 files is atomic for some time, so no parallel compilation issues).
1062
3c334c14
JD
10632013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1064
1065 * faces.el (face-x-resources): Add :distant-foreground.
1066 (region): Use :distant-foreground for gtk and ns.
1067
9bc236c8
TH
10682013-11-01 Tassilo Horn <tsdh@gnu.org>
1069
5246583b 1070 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1071 BibTeX.
1072 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1073 (reftex-locate-bibliography-files): Us it.
1074
d14c81ee
CB
10752013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1076
0e7690de
CB
1077 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1078 allow comments in pbm files.
1079
d14c81ee
CB
1080 * term/w32-win.el (dynamic-library-alist): Support newer versions
1081 of libjpeg starting with v7: look only for the DLL from the
1082 version against which Emacs was built.
ac1bf374 1083 Support versions of libpng beyond 1.4.x.
019c8218 1084 Support libtiff v4.x.
d14c81ee 1085
983d0df5
BB
10862013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1087
1088 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1089 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1090 Add property :safe.
1091 (ruby-deep-arglist): Add property :type.
1092
47f58d85
GM
10932013-10-31 Glenn Morris <rgm@gnu.org>
1094
1095 * Makefile.in (custom-deps, finder-data): No need to setq the target
1096 variables, we are in the right directory and the defaults work fine.
1097
4f85b479
GM
10982013-10-30 Glenn Morris <rgm@gnu.org>
1099
ca7dd4cd
GM
1100 * Makefile.in (autoloads): Do not use abs_lisp.
1101
4f85b479
GM
1102 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1103 `newline' does not respect `standard-output', so use `princ'.
1104
cf59e41c
AA
11052013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1106
1107 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1108 * buff-menu.el (Buffer-menu--unmark): New function.
1109 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1110
74cf04fb
GM
11112013-10-30 Glenn Morris <rgm@gnu.org>
1112
b040b60e
GM
1113 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1114
f53d3815
GM
1115 * emacs-lisp/package.el (lm-homepage): Declare.
1116
5413d873
GM
1117 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1118 Fix doc typos.
1119
cecedb36
GM
1120 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1121
74cf04fb
GM
1122 * Makefile.in (finder-data, autoloads, update-subdirs)
1123 (compile-main, compile-clean, compile-always, bootstrap-clean):
1124 Check return value of cd.
1125 (compile-calc): Remove.
1126
195ee2f0
SM
11272013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1128
ae4002ce
SM
1129 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1130
1131 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1132 (byte-compile-and-folded): New function.
1133 (=, <, >, <=, >=): Use it.
1134
1135 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1136 (path-separator, null-device, buffer-file-coding-system)
1137 (lpr-headers-switches): Check system-type before modifying them.
1138 (find-buffer-file-type-coding-system): Mark obsolete.
1139 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1140 find-file-not-found-set-buffer-file-coding-system.
1141 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1142 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1143 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1144 (w32-direct-print-region-helper, w32-direct-print-region-function)
1145 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1146 * startup.el (normal-top-level-add-subdirs-to-load-path):
1147 * ps-print.el (ps-print-region-function):
1148 * lpr.el (print-region-function): Use new name.
1149
53b39e89
SM
1150 * subr.el (custom-declare-variable-early): Remove function.
1151 (custom-declare-variable-list): Remove var.
1152 (error, user-error): Remove `while' loop.
1153 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1154 (user-emacs-directory-warning, locate-user-emacs-file):
1155 Move to files.el.
1156 * simple.el (read-quoted-char-radix, read-quoted-char):
1157 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1158 Move from subr.el.
1159 * custom.el (custom-declare-variable-list): Don't process
1160 custom-declare-variable-list.
1161
195ee2f0
SM
1162 * progmodes/python.el (python-shell-get-buffer): New function.
1163 (python-shell-get-process): Use it.
1164 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1165 Python which encoding was used. Don't split-string since we only care
1166 about the first line. Return the temp-file, if applicable.
1167 (python-shell-send-region): Tell compile.el how to turn locations in
1168 the temp-file into locations in the source buffer.
1169
7e3561ee
SM
11702013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1171
4c9797cb
SM
1172 * subr.el (undefined): Add missing behavior from the C code for
1173 unbound keys.
1174
3472b6c6
SM
1175 * rect.el: Use lexical-binding. Add new rectangular region support.
1176 (rectangle-mark): New command.
1177 (rectangle--region): New var.
1178 (deactivate-mark-hook): Reset rectangle--region.
1179 (rectangle--extract-region, rectangle--insert-for-yank)
1180 (rectangle--highlight-for-redisplay)
1181 (rectangle--unhighlight-for-redisplay): New functions.
1182 (region-extract-function, redisplay-unhighlight-region-function)
1183 (redisplay-highlight-region-function): Use them to handle
1184 rectangular region.
1185 * simple.el (region-extract-function): New var.
1186 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1187 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1188 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1189 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1190 (redisplay-unhighlight-region-function)
1191 (redisplay-highlight-region-function): New vars.
1192 (redisplay--update-region-highlight): New function.
1193 (pre-redisplay-function): Use it.
1194 (exchange-point-and-mark): Don't deactivate the mark before
1195 reactivate-it anyway.
1196 * comint.el (comint-kill-region): Remove yank-handler argument.
1197 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1198 (delete-char): Remove property, since it's now part of their
1199 default behavior.
1200 (self-insert-iso): Remove property since this command doesn't exist.
1201
7e3561ee
SM
1202 * emacs-lisp/package.el (package--download-one-archive)
1203 (describe-package-1): Don't query the user about final newline.
1204
b9bef71f
DC
12052013-10-29 Daniel Colascione <dancol@dancol.org>
1206
1207 * net/tramp.el (tramp-methods): Document new functionality.
1208 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1209 tramp-hostname-checker if method provides one instead of scanning
1210 argument list for "%h" to decide hostname acceptability.
1211
4efc33f0
MA
12122013-10-28 Michael Albinus <michael.albinus@gmx.de>
1213
1214 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1215 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1216 Handle COPY-CONTENTS. (Bug#15737)
1217
ed42a877
DU
12182013-10-28 Daiki Ueno <ueno@gnu.org>
1219
1220 * epa-file.el
7e3561ee
SM
1221 (epa-file-cache-passphrase-for-symmetric-encryption):
1222 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1223
18c9f8a2
XF
12242013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1225
7a4bc7be
XF
1226 * image.el (defimage):
1227 (image-load-path): Doc fixes.
18c9f8a2 1228
b1e8e010
AM
12292013-10-27 Alan Mackenzie <acm@muc.de>
1230
1231 Indent statements in macros following "##" correctly.
7e3561ee
SM
1232 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1233 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1234
73d40d1e 12352013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1236
1237 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1238
c8c605ac
DG
12392013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1242 after `=' is probably a new expression.
1243
ca7e59d4
RS
12442013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1245
1246 * man.el (man-imenu-title): New option.
1247 (Man-mode-map): Add menu. (Bug#15722)
1248 (Man-mode): Add imenu to menu.
1249
bae91342
DG
12502013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1251
1252 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1253 specific in what the first arg can be: a non-keyword word,
1254 string/regexp/percent literal opener, opening paren, or unary
1255 operator followed directly by word.
1256
eb89dc14
SM
12572013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1260 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1261 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1262 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1263 Remove vars, they do not apply any more.
1264 (prolog-mode-abbrev-table): Remove redundant declaration.
1265 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1266 (prolog-use-smie): Remove.
1267 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1268 supported by prolog-electric-if-then-else-flag.
1269 (prolog-mode-variables, prolog-menu): Use setq-local.
1270 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1271 Remove binding to `Backspace' since this key doesn't exist anyway.
1272 Remove bindings for electric self-inserting keys.
1273 (prog-mode): Assume it's defined.
1274 (prolog-post-self-insert): New function.
1275 (prolog-mode): Use it.
1276 (prolog-indent-line, prolog-indent-level)
1277 (prolog-find-indent-of-matching-paren)
1278 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1279 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1280 (prolog-goto-next-paren, prolog-in-string-or-comment)
1281 (prolog-tokenize, prolog-inside-mline-comment)
1282 (prolog-find-start-of-mline-comment): Remove functions.
1283 (prolog-find-unmatched-paren, prolog-clause-end)
1284 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1285 (prolog-electric--if-then-else): Rename from
1286 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1287 (prolog-tokenize-searchkey): Remove const.
1288 (prolog-clause-info): Use forward-sexp.
1289 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1290 (prolog-electric-if-then-else): Remove commands.
1291 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1292 for use in post-self-insert-hook.
1293 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1294 for use in post-self-insert-hook.
1295 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1296 for use in post-self-insert-hook.
1297 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1298 adapt it for use in post-self-insert-hook.
1299
3dab0a83
MA
13002013-10-25 Michael Albinus <michael.albinus@gmx.de>
1301
1302 * emacs-lisp/ert.el (ert-run-tests-interactively):
1303 Use `completing-read'. (Bug#9756)
1304
fbfd0e1d
EZ
13052013-10-25 Eli Zaretskii <eliz@gnu.org>
1306
1307 * simple.el (line-move): Call line-move-1 instead of
1308 line-move-visual when the current window hscroll is zero, but
1309 temporary-goal-column indicates we will need to hscroll as result
1310 of the movement. (Bug#15712)
1311
963ce636
DG
13122013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1315 capitalization. Use :visible instead of :active.
1316 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1317 commands that are used with SMIE.
1318 (ruby-do-end-to-brace): Insert space after `{'.
1319
a0be396a
JA
13202013-10-25 John Anthony <john@jo.hnanthony.com>
1321
f73754c9
JA
1322 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1323
1324 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1325
f5bf77df
GM
13262013-10-25 Glenn Morris <rgm@gnu.org>
1327
1328 * vc/vc.el (vc-print-log): Don't use a working revision unless
1329 one was explicitly specified. (Bug#15322)
1330
37241f62
SM
13312013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * subr.el (add-to-list): Preserve return value in compiler-macro
1334 (bug#15692).
1335
6408a65d
RS
13362013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1337
1338 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1339 result. Ask user to retry using '-all' flag. (Bug#15701)
1340
71e3276b
SM
13412013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * emacs-lisp/smie.el: New smie-config system.
1344 (smie-config): New defcustom.
1345 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1346 (smie-config-guess, smie-config-save): New commands.
1347 (smie-config--mode-local, smie-config--buffer-local)
1348 (smie-config--trace, smie-config--modefuns): New vars.
1349 (smie-config--advice, smie-config--mode-hook)
1350 (smie-config--setter, smie-config-local, smie-config--get-trace)
1351 (smie-config--guess-value, smie-config--guess): New functions.
1352 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1353 text properties. Treat "string fence" syntax like string syntax.
1354
1355 * progmodes/sh-script.el (sh-use-smie): Change default.
1356 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1357 (sh-var-value): Simplify by CSE.
1358 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1359 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1360 is used.
1361 (sh-guess-basic-offset): Use cl-incf.
1362 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1363
60db713e
HE
13642013-10-24 Helmut Eller <eller.helmut@gmail.com>
1365
1366 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1367 (bug#15699).
1368
8b251df6
GM
13692013-10-24 Glenn Morris <rgm@gnu.org>
1370
1371 * Makefile.in (abs_top_srcdir): Remove.
1372 (update-subdirs): Use relative path to update-subdirs.
1373
6be0e22b
EZ
13742013-10-24 Eli Zaretskii <eliz@gnu.org>
1375
1376 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1377 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1378 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1379 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1380
50b5b857
MA
13812013-10-24 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1384 (ert-test-skipped): New error.
1385 (ert-skip, ert-stats-skipped): New defuns.
1386 (ert--skip-unless): New macro.
1387 (ert-test-skipped): New struct.
1388 (ert--run-test-debugger, ert-test-result-type-p)
1389 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1390 (ert--stats-set-test-and-result, ert-char-for-test-result)
1391 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1392 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1393 Handle skipped tests. (Bug#9803)
50b5b857 1394
6f317c2f
GM
13952013-10-24 Glenn Morris <rgm@gnu.org>
1396
e43817c1
GM
1397 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1398
6f317c2f
GM
1399 * Makefile.in (abs_top_srcdir): New, set by configure.
1400 (update-subdirs): Correct build-aux location.
1401
369bbf71
DG
14022013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1403
8297b2cf
DG
1404 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1405 value, whether we could auto-deduce `backend', or not.
1406
369bbf71
DG
1407 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1408 with parameters" example. Simplify the "is it block or is it
1409 hash" check, but also make it more thorough.
1410
d5f1282f
MF
14112013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1412
1413 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1414
bc4aaa31
SM
14152013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1416
03d44565
SM
1417 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1418 { if it is hanging.
1419
bc4aaa31
SM
1420 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1421 :before ";".
1422
f493ff19
JB
14232013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1424
1425 * progmodes/compile.el (compilation-directory-matcher)
1426 (compilation-page-delimiter):
1427 Support GNU Make-4.0 directory quoting. (Bug#15678)
1428
c744a3b9
LL
14292013-10-23 Leo Liu <sdl.web@gmail.com>
1430
1431 * ido.el (ido-tidy): Handle read-only text.
1432
b8e3b0a9
GM
14332013-10-23 Glenn Morris <rgm@gnu.org>
1434
1435 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1436 (emacs, compile, compile-always):
1437 Quote entities that might contain whitespace.
1438 (custom-deps, finder-data, autoloads): Use abs_lisp.
1439 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1440 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1441 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1442
ee4282cd
DG
14432013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1444
bc4aaa31
SM
1445 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1446 Use `following-char'.
7790a270 1447
ee4282cd 14482013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1449
1450 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1451 * progmodes/ruby-mode.el (ruby-smie-rules):
1452 Remove corresponding workaround. Fix indentation rule of ";" so it
1453 also applies when ";" is the parent.
1454
d40a46d7
XF
14552013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1456
1457 * frame.el (display-screens, display-pixel-height)
1458 (display-pixel-width, display-mm-width, display-backing-store)
1459 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1460 (display-visual-class, display-monitor-attributes-list):
1461 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1462
a0f143c9
MG
14632013-10-22 Michael Gauland <mikelygee@amuri.net>
1464
1465 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1466 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1467
18cacc39
DG
14682013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1469
1470 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1471 TODO. Add "." after " @ ".
1472 (ruby-smie--at-dot-call): New function. Checks if point at method
1473 call with explicit target.
1474 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1475 to the method name tokens when it precedes them.
1476 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1477 (ruby-smie-rules): Add rule for indentation before and after "."
1478 token.
1479
df74c4be
SM
14802013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1481
c6dab55f
SM
1482 * textmodes/remember.el (remember-diary-extract-entries):
1483 Avoid add-to-list.
1484
df74c4be
SM
1485 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1486 an instruction.
1487
8c1ae481
DG
14882013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1489
cfef16c0
DG
1490 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1491 (ruby-smie--implicit-semi-p): Add new operator chars.
1492
8c1ae481
DG
1493 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1494 `smie-down-list'.
1495 (ruby-smie--args-separator-p): Check that there's no newline
1496 between method call and its arguments.
1497
87756ca9
AM
14982013-10-20 Alan Mackenzie <acm@muc.de>
1499
1500 Allow comma separated lists after Java "implements".
1501
df74c4be
SM
1502 * progmodes/cc-engine.el (c-backward-over-enum-header):
1503 Parse commas.
87756ca9
AM
1504 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1505 from a "disallowed" list in enum fontification.
1506
c25f8957
JB
15072013-10-20 Johan Bockgård <bojohan@gnu.org>
1508
df74c4be 1509 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1510
c25f8957
JB
1511 * progmodes/verilog-mode.el (verilog-mode): Don't set
1512 comment-indent-function globally.
1513
aca5fcdc
JD
15142013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1515
5f161884
JD
1516 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1517 Move Info menu item creation to ns-win.el.
1518
1519 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1520 in menu bar.
1521
aca5fcdc
JD
1522 * menu-bar.el: Move GNUStep specific menus...
1523
1524 * term/ns-win.el (ns-initialize-window-system): ... to here.
1525
914b7f98
SM
15262013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * simple.el (newline): Only run post-self-insert-hook when
1529 called interactively.
1530
846ffe77
JB
15312013-10-19 Johan Bockgård <bojohan@gnu.org>
1532
1533 * icomplete.el (icomplete-with-completion-tables): Add :version.
1534
033f22dd
AM
15352013-10-19 Alan Mackenzie <acm@muc.de>
1536
1537 Fix fontification bugs with constructors and const.
1538
1539 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1540 CASE 2) Remove the check for the absence of a suffix construct
1541 after a function declaration with only types (no identifiers) in
1542 the parentheses. Also, accept a function declaration with just a
1543 type inside the parentheses, if this type can be positively
1544 recognised as such, or if a prefix keyword like "explicit" nails
1545 down the construct as a declaration.
1546
58ce0cfc
EZ
15472013-10-19 Eli Zaretskii <eliz@gnu.org>
1548
1549 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1550 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1551 the problem whereby selecting a menu item that leads to a
1552 minibuffer prompt moves the cursor out of the minibuffer window,
1553 making it hard to type at the prompt. Suggested by Stefan Monnier
1554 <monnier@iro.umontreal.ca>.
1555
50e28e7d
JD
15562013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1557
1558 * menu-bar.el: Don't make Services menu.
1559
7deed4bf
RS
15602013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1561
1562 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1563 (ffap-alist): Use ffap-c++-mode for c++-mode.
1564 (ffap-c++-path): New variable.
1565 (ffap-c++-mode): New function.
1566
7bcb455b
JVJ
15672013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1568
1569 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1570
f0ff1cd5
MA
15712013-10-18 Michael Albinus <michael.albinus@gmx.de>
1572
1573 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1574 introduced on 2013-09-08, which results in an infinite loop
1575 requesting a password.
1576
d64da4b7
GM
15772013-10-18 Glenn Morris <rgm@gnu.org>
1578
1579 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1580
ea89ff08
WS
15812013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1582
1583 Sync with upstream verilog-mode revision 1a6ecec7.
1584 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1585 (verilog-mode-release-date): Remove.
1586 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1587 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1588 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1589 (verilog-auto-tieoff-ignore-regexp)
1590 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1591 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1592 (verilog-signals-with, verilog-dir-cache-preserving)
1593 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1594 Doc fixes.
1595 (verilog-case-fold): New option, to control case folding in
1596 regexp searches, bug597.
1597 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1598 (verilog-string-match-fold, verilog-in-paren-count)
1599 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1600 (verilog-at-close-struct-p): New functions.
1601 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1602 (verilog-forward-sexp, verilog-set-auto-endcomments):
1603 (verilog-leap-to-case-head): Handle "unique0" case.
1604 (verilog-in-constraint-re): New constant.
1605 (verilog-keywords, verilog-type-font-keywords):
1606 Add some SystemVerilog 1800-2012 keywords.
1607 (verilog-label-be): Remove unimplemented argument, bug669.
1608 (verilog-batch-execute-func): When batch expanding clear
1609 create-lockfiles to prevent spurious user locks when a file ends
1610 up not changing.
1611 (verilog-calculate-indent, verilog-calc-1)
1612 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1613 (verilog-do-indent): Fix indentation of nested constraints
1614 and structures.
1615 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1616 (verilog-auto-inst-param): Use verilog-string-match-fold.
1617 (verilog-read-inst-module-matcher):
1618 Fix AUTOINST on gate primitives with #1.
1619 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1620 Reads all user-defined typed variables.
1621 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1622 (verilog-signals-matching-regexp)
1623 (verilog-signals-not-matching-regexp, verilog-auto):
1624 Respect verilog-case-fold.
1625 (verilog-diff-report): Fix line count.
1626 (verilog-auto-assign-modport): Remove unused local `modi'.
1627 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1628 better handle multidimensional arrays.
1629 Fix packed array ports misadding bit index in AUTOINST, bug637.
1630 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1631 to not double-declare existing outputs and inputs, respectively.
1632 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1633 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1634 (verilog-sk-uvm-component): New skeleton.
1635 (verilog-submit-bug-report): Add verilog-case-fold,
1636 remove verilog-mode-release-date.
1637
ef566920
BR
16382013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1639
1640 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1641 as before.
1642
29df8a0b
RT
16432013-10-18 Reuben Thomas <rrt@sc3d.org>
1644
1645 * textmodes/remember.el (remember): set buffer-offer-save in
1646 remember buffers (bug#13566).
1647
04a19a79
DC
16482013-10-18 Daniel Colascione <dancol@dancol.org>
1649
1650 When evaluating forms in ielm, direct standard output to ielm
1651 buffer. Add new ielm-return-for-effect command. Remove trailing
1652 whitespace throughout.
1653
1654 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1655 (ielm-return-for-effect): New command.
1656 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1657 (ielm-eval-input): Accept optional `for-effect' parameter.
1658 Bind `standard-output' to stream we create using
04a19a79
DC
1659 `ielm-standard-output-impl'. Suppress printing result when
1660 `for-effect'.
1661 (ielm-standard-output-impl): New function.
1662 (inferior-emacs-lisp-mode): Explain new features in documentation.
1663
4c1f03ef
MA
16642013-10-17 Michael Albinus <michael.albinus@gmx.de>
1665
1666 Code cleanup.
1667
1668 * net/tramp.el (tramp-debug-message): Do not check for connection
1669 buffer.
1670 (tramp-message): Use "vector" connection property.
1671
1672 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1673 (tramp-equal-remote, tramp-eshell-directory-change)
1674 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1675 (tramp-adb-handle-rename-file)
1676 * net/tramp-cmds.el (tramp-list-remote-buffers)
1677 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1678 * net/tramp-compat.el (tramp-compat-process-running-p)
1679 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1680 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1681 (tramp-gvfs-handle-rename-file)
1682 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1683 (tramp-set-file-uid-gid)
1684 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1685 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1686 of `file-remote-p'.
1687
1688 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1689 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1690 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1691 (tramp-gw-open-network-stream): Suppress unrelated traces.
1692
1693 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1694 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1695 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1696 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1697 connection property.
1698
1699 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1700 persistency file.
4c1f03ef
MA
1701
1702 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1703 Refactor common code. Improve debug message.
1704 (tramp-maybe-open-connection)
1705 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1706 connection buffer too early.
1707
1708 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1709 from `tramp-smb-actions-with-acl'.
1710 (tramp-smb-actions-set-acl): New defconst.
1711 (tramp-smb-handle-copy-directory)
1712 (tramp-smb-action-get-acl): New defun, renamed from
1713 `tramp-smb-action-with-acl'.
1714 (tramp-smb-action-set-acl): New defun.
1715 (tramp-smb-handle-set-file-acl): Rewrite.
1716
642eb8b6
GM
17172013-10-17 Glenn Morris <rgm@gnu.org>
1718
1719 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1720
85527ff3
SM
17212013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1722
921c1d62
SM
1723 * skeleton.el (skeleton-newline): Remove.
1724 (skeleton-internal-1): Use (insert "\n") instead.
1725
e333fb10
SM
1726 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1727 let-bindings.
1728
85527ff3
SM
1729 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1730 forward-sexp-function while we redo its job (bug#15613).
1731
c8722a97
JB
17322013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1733
1734 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1735 represented by lists.
1736
7a550bbb
GM
17372013-10-16 Glenn Morris <rgm@gnu.org>
1738
1739 * tmm.el (tmm--history): New dynamic variable.
1740 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1741
f19da8ad
MA
17422013-10-16 Michael Albinus <michael.albinus@gmx.de>
1743
1744 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1745 (tramp-smb-errors): Add error messages.
1746 (tramp-smb-actions-with-acl): New defconst.
1747 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1748 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1749 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1750 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1751 (tramp-smb-get-stat-capability): Fix tests.
1752
a24b9961
DK
17532013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1754
1755 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1756 (bug#15580).
1757
62ad85e6
GM
17582013-10-16 Glenn Morris <rgm@gnu.org>
1759
0283d6b0
GM
1760 * ansi-color.el (ansi-color-drop-regexp):
1761 Add 1J, 1K, 2K. (Bug#15617)
1762
012e2f9f
GM
1763 * files.el (hack-local-variables--warned-lexical): New.
1764 (hack-local-variables):
1765 Warn about misplaced lexical-binding. (Bug#15616)
1766
62ad85e6
GM
1767 * net/eww.el (eww-render): Always set eww-current-url,
1768 and update header line. (Bug#15622)
1769 (eww-display-html): ... Rather than just doing it here.
1770
6456c0ea
EZ
17712013-10-15 Eli Zaretskii <eliz@gnu.org>
1772
1773 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1774 menu navigations commands.
1775
c2de5588
DK
17762013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1777
1778 * progmodes/subword.el (subword-capitalize): Be careful when
1779 the search for [[:alpha:]] fails (bug#15580).
1780
ccd4a783
EZ
17812013-10-14 Eli Zaretskii <eliz@gnu.org>
1782
1783 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1784 to commands that scroll the menu.
1785
1eda1d8d
DG
17862013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1787
c2de5588
DK
1788 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1789 Handle methods ending with `?' and `!'.
1eda1d8d 1790
e70181b8
AM
17912013-10-14 Akinori MUSHA <knu@iDaemons.org>
1792
1793 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1794 `japanese-cp932' to `cp932' to fix the problem where saving a
1795 source file written in Shift_JIS twice would end up having
1796 `coding: japanese-cp932' which Ruby could not recognize.
1797 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1798 in `ruby-encoding-map'.
1799 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1800 doesn't need to be explicitly declared in magic comment.
1801 (ruby-encoding-map): Add type declaration for better customize UI.
1802
9148ee92
GM
18032013-10-13 Glenn Morris <rgm@gnu.org>
1804
a5d38e34
GM
1805 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1806 Occur buffers are read-only. http://bugs.debian.org/720775
1807
9148ee92
GM
1808 * emacs-lisp/authors.el (authors-fixed-entries):
1809 Comment out old alpha stuff.
1810
a9ba094b
DG
18112013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1812
1813 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1814 to `after-save-hook' instead of `before-save-hook'.
1815 (ruby-mode-set-encoding): Use the value of coding system used to
1816 write the file. Call `basic-save-buffer-1' after modifying the
1817 buffer.
1818
7a068717
AM
18192013-10-13 Alan Mackenzie <acm@muc.de>
1820
1821 Fix indentation/fontification of Java enum with
1822 "implements"/generic.
1823
c2de5588
DK
1824 * progmodes/cc-engine.el (c-backward-over-enum-header):
1825 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1826 (c-inside-bracelist-p): Uses new function above.
1827 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1828 function above.
1829 (c-font-lock-enum-tail): Uses new function above.
1830
85b64f02
KH
18312013-10-13 Kenichi Handa <handa@gnu.org>
1832
1833 * international/mule-cmds.el (select-safe-coding-system): Remove a
1834 superfluous condition in chekcing whether a coding system is safe
1835 or not.
1836
fc7f501b
OK
18372013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1838
1839 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1840
fdcb2049
AP
18412013-10-13 Andreas Politz <politza@hochschule-trier.de>
1842
1843 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1844
8c106d17
GM
18452013-10-13 Glenn Morris <rgm@gnu.org>
1846
feab892d
GM
1847 * menu-bar.el (menu-bar-update-buffers):
1848 Unify Buffers menu prompt string. (Bug#15576)
1849
b22d0686
GM
1850 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1851
8c106d17
GM
1852 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1853 Add some entries.
1854 (authors-fixed-entries): Use accented form of name.
1855
1b12c797
SM
18562013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1857
650fa7bf 1858 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1859 method calls (bug#15594).
650fa7bf
SM
1860 (ruby-smie--args-separator-p): New function.
1861 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1862 recognize paren-free method calls.
1863
1b12c797
SM
1864 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1865 internals of universal-argument.
1866
029619c8
EZ
18672013-10-11 Eli Zaretskii <eliz@gnu.org>
1868
1869 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1870 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1871 dropped menu on second mouse click on the menu bar.
029619c8 1872
dd070019
SM
18732013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1876 (explicit-shell-file-name): Declare.
1877 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1878 (sh-completion-at-point-function): New function.
1879 (sh-mode): Use it.
1880 (sh-smie--keyword-p): Remove unused argument.
1881 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1882 vars.
1883 (sh-set-shell): Always setup SMIE, even if we use the
1884 old indentation code.
1885
0922b826
DG
18862013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1887
b68e2926
DG
1888 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1889 cases of ? and =.
1890 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1891 predicate would return nil are almost non-existent.
1892 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1893
0922b826
DG
1894 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1895 cache also after commands that modify the buffer but don't move
1896 point.
1897
ee041f2d
SM
18982013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * env.el (substitute-env-in-file-name): New function.
1901 (substitute-env-vars): Extend the meaning of the optional arg.
1902
a5dab159
EZ
19032013-10-10 Eli Zaretskii <eliz@gnu.org>
1904
1905 * term/w32-win.el (dynamic-library-alist): Define separate lists
1906 of GIF DLLs for versions before and after 5.0.0 of giflib.
1907 (Bug#15531)
1908
0449d6cd 19092013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
1910
1911 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1912 not locked, use last revision and current source as
1913 defaults. (Bug#15569)
1914
2f6e161e
MY
19152013-10-10 Masatake YAMATO <yamato@redhat.com>
1916
1917 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1918 menu-bar is hidden.
1919
6c8413fc
MR
19202013-10-10 Martin Rudalics <rudalics@gmx.at>
1921
1922 * window.el (pop-to-buffer-same-window): Fix doc-string.
1923 (Bug#15492)
1924
20832de0
SM
19252013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1928
c6e8ae77
AC
19292013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1930
1931 * calendar/icalendar.el (icalendar-import-file):
1932 Fix interactive spec. (Bug#15482)
1933
9db13baf
GM
19342013-10-10 Glenn Morris <rgm@gnu.org>
1935
9271e90e
GM
1936 * desktop.el (desktop-save): Default to saving in .emacs.d,
1937 since PWD is no longer in desktop-path by default. (Bug#15319)
1938
9db13baf
GM
1939 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1940 now that text mode has a menu with the same entry.
1941 (menu-bar-text-mode-auto-fill): Remove now unused func.
1942 * textmodes/text-mode.el (text-mode-map):
1943 Use auto-fill help text from menu-bar.el.
1944
a0be396a 19452013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1946
1947 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1948
2edcd3c7
JL
19492013-10-09 Juri Linkov <juri@jurta.org>
1950
1951 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1952 instead of this-command-keys. Add universal-argument-more and
1953 universal-argument-minus to the list of prefix commands. (Bug#15568)
1954
574411d0
GM
19552013-10-09 Glenn Morris <rgm@gnu.org>
1956
14afa541
GM
1957 * vc/vc-svn.el (vc-svn-create-repo):
1958 Expand paths in file://... url. (Bug#15446)
1959
574411d0
GM
1960 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1961 Add some entries.
1962 (authors): Remove unused local variables.
1963
79804536
SM
19642013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * profiler.el: Create a more coherent calltree from partial backtraces.
1967 (profiler-format): Hide the tail with `invisible' so that C-s can still
1968 find the hidden elements.
1969 (profiler-calltree-depth): Don't recurse so enthusiastically.
1970 (profiler-function-equal): New hash-table-test.
1971 (profiler-calltree-build-unified): New function.
1972 (profiler-calltree-build): Use it.
1973 (profiler-report-make-name-part): Indent the calltree less.
1974 (profiler-report-mode): Add visibility specs for profiler-format.
1975 (profiler-report-expand-entry, profiler-report-toggle-entry):
1976 Expand the whole subtree when provided with a prefix arg.
1977
238150c8
DG
19782013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1979
1980 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1981 iuwu-mod token.
1982 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1983 hanging iuwu-mod token.
1984 (ruby-smie--forward-token): Do not include a dot after a token in
1985 that token.
1986 (ruby-smie--backward-token): Likewise.
1987
b0949cc4
JL
19882013-10-08 Juri Linkov <juri@jurta.org>
1989
1990 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1991 to isearch-other-control-char.
1992 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1993 and isearch-post-command-hook to post-command-hook.
1994 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1995 and isearch-post-command-hook from post-command-hook.
1996 (isearch-unread-key-sequence)
1997 (isearch-reread-key-sequence-naturally)
1998 (isearch-lookup-scroll-key, isearch-other-control-char)
1999 (isearch-other-meta-char): Remove functions.
2000 (isearch-pre-command-hook, isearch-post-command-hook):
2001 New functions based on isearch-other-meta-char rewritten
2002 relying on the new behavior of overriding-terminal-local-map
2003 that does not replace the local keymaps any more. (Bug#15200)
2004
4ed77415
EZ
20052013-10-08 Eli Zaretskii <eliz@gnu.org>
2006
2007 Support menus on text-mode terminals.
2008 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2009 functionality.
2010
2011 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2012
c2de5588
DK
2013 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2014 Move here from mouse.el.
4ed77415
EZ
2015 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2016 and arrow keys.
2017 (tty-menu-navigation-map): New map for TTY menu navigation.
2018
2019 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2020
2021 * frame.el (display-mouse-p): Report text-mode mouse as available
2022 on w32.
2023 (display-popup-menus-p): Report availability if mouse is
2024 available; don't condition on window-system.
2025
2026 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2027 (tty-menu-selected-face): New faces.
2028
b7d5bd82
TL
20292013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2030
06286513
SM
2031 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2032 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2033 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2034 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2035 New constants.
2036 (lisp-mode-variables): New `elisp' argument.
2037 (emacs-lisp-mode): Use it.
2038 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2039 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2040
b7d5bd82
TL
2041 * indent.el: Use lexical-binding.
2042 (indent-region): Add progress reporter.
2043 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2044 last step.
2045 (indent--next-tab-stop): New function to implement this behavior.
2046 (tab-to-tab-stop, move-to-tab-stop): Use it.
2047
20482013-10-08 Teemu Likonen <tlikonen@iki.fi>
2049
2050 * indent.el (indent-rigidly--current-indentation): New function.
2051 (indent-rigidly-map): New var.
2052 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2053
5ea75d23
BG
20542013-10-08 Bastien Guerry <bzg@gnu.org>
2055
2056 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2057
cc5da1ec
SM
20582013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2059
8ffa1a0b
SM
2060 * progmodes/perl-mode.el: Use lexical-binding.
2061 Remove redundant :group args.
2062 (perl-nochange): Change default to be closer to other major modes's
2063 standard behavior.
2064 (perl-indent-line): Don't consider text on current line as a
2065 valid beginning of function from which to indent.
2066
f2223371
SM
2067 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2068 with more than one argument (bug#15538).
2069
44256060
SM
2070 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2071
cc5da1ec
SM
2072 * vc/pcvs.el: Use lexical-binding.
2073 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2074 environment of `eval'.
2075 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2076 than a list of expressions. Adjust callers.
2077 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2078
0ea1599d
DG
20792013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2080
2081 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2082 case of the dot in a chained method call being on the following line.
0ea1599d 2083
da3e5ebb
SM
20842013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2abb4e65
SM
2086 * electric.el (electric-indent-inhibit): New var.
2087 (electric-indent-post-self-insert-function): Use it.
2088 * progmodes/python.el (python-mode): Set it.
2089
d2e0e795
SM
2090 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2091 open braces.
2092
2093 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2094
bdc6b4c8
SM
2095 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2096 (css-mode): Use electric-indent-chars.
2097
da3e5ebb
SM
2098 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2099 (font-lock-beg, font-lock-end): Move before first use.
2100 (nxml-mode): Use syntax-propertize-function.
2101 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2102 (nxml-extend-after-change-region): Remove.
2103 * nxml/xmltok.el: Use lexical-binding.
2104 (xmltok-save): Use `declare'.
2105 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2106 * nxml/nxml-util.el: Use lexical-binding.
2107 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2108 Use `declare'.
2109 * nxml/nxml-ns.el: Use lexical-binding.
2110 (nxml-ns-save): Use `declare'.
2111 (nxml-ns-prefixes-for): Avoid add-to-list.
2112 * nxml/rng-match.el: Use lexical-binding.
2113 (rng--ipattern): Use cl-defstruct.
2114 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2115 (rng-cons-group-after, rng-subst-group-after)
2116 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2117 Use closures instead of `(lambda...).
2118
f8f91d5d
MA
21192013-10-07 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2122 of BEG and END.
2123
da3e5ebb
SM
2124 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2125 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2126 (tramp-gvfs-handle-insert-file-contents): Remove function.
2127
da3e5ebb
SM
2128 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2129 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2130
2131 * net/trampver.el: Update release number.
2132
7ccae3b1
SM
21332013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2134
55ca2c0d
SM
2135 * progmodes/compile.el (compilation-parse-errors):
2136 Use compilation--put-prop.
2137 (compilation--ensure-parse): Check compilation-multiline.
2138
731fc3ae
SM
2139 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2140
da3e5ebb
SM
2141 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2142 lexical-binding.
a5833280 2143
2e7ba2c2
SM
2144 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2145
7ccae3b1
SM
2146 * progmodes/ruby-mode.el: Fix recently added tests.
2147 (ruby-smie-grammar): Add - and +.
2148 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2149 (ruby-smie--backward-id): New functions.
2150 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2151 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2152 any more.
2153
85698d63
LL
21542013-10-07 Leo Liu <sdl.web@gmail.com>
2155
2156 * register.el (register-preview-delay)
2157 (register-preview-functions): New variables.
2158 (register-read-with-preview, register-preview)
2159 (register-describe-oneline): New functions.
2160 (point-to-register, window-configuration-to-register)
2161 (frame-configuration-to-register, jump-to-register)
2162 (number-to-register, view-register, insert-register)
2163 (copy-to-register, append-to-register, prepend-to-register)
2164 (copy-rectangle-to-register): Use register-read-with-preview to
2165 read register. (Bug#15525)
2166
3986af6c
DS
21672013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2168
2169 * net/network-stream.el (network-stream-open-starttls): Don't add
2170 --insecure if it's already present, because that gnutls-cli
2171 rejects getting that parameter twice.
2172
5cd9cda9
DG
21732013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2174
2175 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2176 keyword, too.
2177
da9ea6d9
DG
21782013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2179
2180 * newcomment.el (comment-use-global-state): Change default value
2181 to t, mark obsolete (Bug#15251).
2182 (comment-beginning): In addition to `comment-to-syntax', check the
2183 value of `comment-use-global-state'.
2184
34d1a133
SM
21852013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2188 (ruby-comment-column): Follow the global default, by default.
2189 (ruby-smie-grammar): Add assignment syntax.
2190 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2191 open-paren, a comma, or a \.
2192 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2193 and line continuations.
2194 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2195 followed by implicit semi-colons. Add rule for string concatenation
2196 and for indentation at BOB.
2197 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2198
2199 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2200 calling next-sexp, since next-token may have skipped chars which
2201 next-sexp doesn't know should be skipped!
2202
6f6ab820
LL
22032013-10-05 Leo Liu <sdl.web@gmail.com>
2204
34d1a133
SM
2205 * progmodes/octave.el (octave-send-region):
2206 Call compilation-forget-errors.
6f6ab820 2207
34ca0f4c
XF
22082013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2209
2210 * vc/vc-svn.el (vc-svn-find-admin-dir):
2211 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2212 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2213 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2214 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2215
a27c1b72
SM
22162013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2219
258ab3bc
SM
22202013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * subr.el (read-passwd): Hide chars even when called within a context
2223 where after-change-functions is disabled (bug#15501).
2224 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2225 until we removed ourself from overriding-terminal-local-map.
2226
939fb29c
LL
22272013-10-04 Leo Liu <sdl.web@gmail.com>
2228
258ab3bc
SM
2229 * progmodes/octave.el (inferior-octave-mode):
2230 Call compilation-forget-errors.
939fb29c 2231
63bd7f35
XF
22322013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2233
2234 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2235
9e6229fa
MA
22362013-10-04 Michael Albinus <michael.albinus@gmx.de>
2237
2238 * net/secrets.el (secrets-create-collection): Add optional
2239 argument ALIAS. Use proper Label keyword. Append ALIAS as
2240 dbus-call-method argument. (Bug#15516)
2241
1dab32a3
LL
22422013-10-04 Leo Liu <sdl.web@gmail.com>
2243
2244 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2245 (inferior-octave-compilation-font-lock-keywords): New variables.
2246 (compilation-error-regexp-alist)
2247 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2248 (inferior-octave-mode): Use compilation-shell-minor-mode.
2249
6cad7ba3
JS
22502013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2251
2252 * minibuffer.el (completion--replace): Be careful that `end' might be
2253 a marker.
2254
acbadd00
DU
22552013-10-03 Daiki Ueno <ueno@gnu.org>
2256
2257 Add support for package signature checking.
2258 * emacs-lisp/package.el (url-http-file-exists-p)
2259 (epg-make-context, epg-context-set-home-directory)
2260 (epg-verify-string, epg-context-result-for)
2261 (epg-signature-status, epg-signature-to-string)
2262 (epg-check-configuration, epg-configuration)
2263 (epg-import-keys-from-file): Declare.
2264 (package-check-signature): New user option.
2265 (package-unsigned-archives): New user option.
2266 (package-desc): Add `signed' field.
2267 (package-load-descriptor): Set `signed' field if .signed file exists.
2268 (package--archive-file-exists-p): New function.
2269 (package--check-signature): New function.
2270 (package-install-from-archive): Check package signature.
2271 (package--download-one-archive): Check archive signature.
2272 (package-delete): Remove .signed file.
2273 (package-import-keyring): New command.
2274 (package-refresh-contents): Import default keyring.
2275 (package-desc-status): Add "unsigned" status.
2276 (describe-package-1, package-menu--print-info)
2277 (package-menu-mark-delete, package-menu--find-upgrades)
2278 (package-menu--status-predicate): Support "unsigned" status.
2279
adf2aa61
SM
22802013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2283 the new compilation scheme using the new byte-codes.
2284
2285 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2286 (byte-pophandler): New byte codes.
2287 (byte-goto-ops): Adjust accordingly.
2288 (byte-compile--use-old-handlers): New var.
2289 (byte-compile-catch): Use new byte codes depending on
2290 byte-compile--use-old-handlers.
2291 (byte-compile-condition-case--old): Rename from
2292 byte-compile-condition-case.
2293 (byte-compile-condition-case--new): New function.
2294 (byte-compile-condition-case): New function that dispatches depending
2295 on byte-compile--use-old-handlers.
2296 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2297 when we can.
2298
2299 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2300 Optimize under `condition-case' and `catch' if
2301 byte-compile--use-old-handlers is nil.
2302 (disassemble-offset): Handle new bytecodes.
2303
328a8179
SM
23042013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * subr.el (error): Use `declare'.
2307 (decode-char, encode-char): Use advertised-calling-convention instead
2308 of the docstring to discourage use of the `restriction' arg.
2309
15a1e936
DU
23102013-10-03 Daiki Ueno <ueno@gnu.org>
2311
2312 * epg.el (epg-verify-file): Add a comment saying that it does not
2313 notify verification error as a return value nor a signal.
2314 (epg-verify-string): Ditto.
2315
376f862a
KR
23162013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2317
2318 * progmodes/compile.el (compilation-start): Try globbing the arg to
2319 `cd' (bug#15417).
2320
a2f93a5f
MA
23212013-10-02 Michael Albinus <michael.albinus@gmx.de>
2322
2323 Sync with Tramp 2.2.8.
2324
2325 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2326 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2327 * net/trampver.el: Update release number.
2328
0daa0804
JD
23292013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2330
2331 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2332 and default-process-coding-system for darwin only.
2333
abd1ae34
SM
23342013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2337
be4e325d
MH
23382013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2339
2340 * vc/vc-git.el (vc-git-grep): Disable pager.
2341
e9155c4a
DG
23422013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2343
494e898b
DG
2344 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2345 Use :url instead of :homepage, as per
2346 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2347
e9155c4a
DG
2348 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2349 non-nil, use `syntax-ppss' (Bug#15251).
2350
481a8e0f
RS
23512013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2352
be4e325d
MH
2353 * progmodes/octave.el (inferior-octave-startup-file):
2354 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2355
056453c6
DG
23562013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2357
be4e325d
MH
2358 * emacs-lisp/package.el (package-desc-from-define):
2359 Accept additional arguments as plist, convert them to an alist and store
2360 them in the `extras' slot.
056453c6
DG
2361 (package-generate-description-file): Convert extras alist back to
2362 plist and append to the `define-package' form arguments.
2363 (package--alist-to-plist): New function.
2364 (package--ac-desc): Add `extras' slot.
2365 (package--add-to-archive-contents): Check if the archive-contents
2366 vector is long enough, and if it is, pass its `extras' slot value
2367 to `package-desc-create'.
2368 (package-buffer-info): Call `lm-homepage', pass the returned value
2369 to `package-desc-from-define'.
2370 (describe-package-1): Render the homepage button (Bug#13291).
2371
be4e325d
MH
2372 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2373 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2374
832966e5
JD
23752013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2376
2377 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2378 and default-process-coding-system to utf-8-unix (Bug#15402).
2379
6cfe977d
XF
23802013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2381
2382 * subr.el (looking-back): Do not recommend using looking-back.
2383
38de11bd
AM
23842013-09-28 Alan Mackenzie <acm@muc.de>
2385
2386 Fix indentation/fontification of Java enum with "implements".
2387
2388 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2389 regexp which matches "implements", etc., in Java.
2390 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2391 specifier clauses coming after "enum".
2392 * progmodes/cc-fonts.el (c-font-lock-declarations)
2393 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2394 after "enum".
2395
1610938f
JD
23962013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2397
2398 * faces.el (region): Change ns_selection_color to
2399 ns_selection_fg_color, add ns_selection_bg_color.
2400
e090f499
LL
24012013-09-28 Leo Liu <sdl.web@gmail.com>
2402
4d2e94d1
LL
2403 * progmodes/octave.el (inferior-octave-completion-table)
2404 (inferior-octave-completion-at-point): Minor tweaks.
2405
e090f499
LL
2406 * textmodes/ispell.el (ispell-lookup-words): Rename from
2407 lookup-words. (Bug#15460)
2408 (lookup-words): Obsolete.
2409 (ispell-complete-word, ispell-command-loop): All uses changed.
2410
7e138a62
RS
24112013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2412
2413 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2414 (octave-mode-menu): Add octave-send-buffer.
2415 (octave-send-buffer): New function.
2416
5af5ed08
RS
24172013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2418
2419 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2420 octave-lookfor.
2421 (octave-mode-menu): Add octave-lookfor.
2422 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2423 octave-lookfor.
2424 (octave-lookfor): New function.
2425
3b7b2692
SM
24262013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * emacs-lisp/cl-macs.el:
2429 (cl--loop-destr-temps): Remove.
2430 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2431 its convention.
2432 (cl--loop-set-iterator-function): New function.
2433 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2434 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2435 Bind `it' with `let' instead of substituting it with `cl-subst'.
2436 (cl--unused-var-p): New function.
2437 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2438 Eliminate some unused variable warnings (bug#15326).
2439
529fb53f
TH
24402013-09-27 Tassilo Horn <tsdh@gnu.org>
2441
2442 * doc-view.el (doc-view-scale-reset): Rename from
2443 `doc-view-reset-zoom-level'.
2444 (doc-view-scale-adjust): New command.
2445 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2446 `doc-view-scale-adjust'.
2447
0550c95a
TH
24482013-09-26 Tassilo Horn <tsdh@gnu.org>
2449
2450 * doc-view.el (doc-view-reset-zoom-level): New command.
2451 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2452 zoom commands (bug#15466).
2453
6950f152
KH
24542013-09-26 Kenichi Handa <handa@gnu.org>
2455
2456 * international/quail.el (quail-help): Make it not a command.
2457
39587580
LL
24582013-09-26 Leo Liu <sdl.web@gmail.com>
2459
2460 * minibuffer.el (completion-all-sorted-completions): Make args
2461 optional as they are.
2462
00578659
DC
24632013-09-25 Daniel Colascione <dancol@dancol.org>
2464
2465 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2466 specs are and that they're not evaluated.
2467
0c173878
SS
24682013-09-24 Sam Steingold <sds@gnu.org>
2469
2470 * midnight.el (clean-buffer-list-kill-regexps)
2471 (clean-buffer-list-kill-buffer-names): Update for the new Man
2472 buffer naming which includes the object name.
2473
84998447
SM
24742013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2477 (eshell-parse-command, eshell-parse-pipeline): Use it since
2478 eshell-separate-commands requires a dynamic scoped var.
2479 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2480
33215353
LL
24812013-09-23 Leo Liu <sdl.web@gmail.com>
2482
2483 * autoinsert.el (auto-insert-alist): Make the value of
2484 lexical-binding match its file setting.
2485
57b16162
JB
24862013-09-23 Juanma Barranquero <lekktu@gmail.com>
2487
c8af4e67
JB
2488 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2489
57b16162
JB
2490 * autoarg.el (autoarg-kp-digit-argument):
2491 * electric.el (Electric-command-loop):
2492 * kmacro.el (kmacro-step-edit-insert):
2493 Do not set universal-argument-num-events.
2494
7186ba60
LL
24952013-09-22 Leo Liu <sdl.web@gmail.com>
2496
2497 * files.el (interpreter-mode-alist): Add octave.
2498
ece15004
AM
24992013-09-21 Alan Mackenzie <acm@muc.de>
2500
2501 C++: fontify identifier in declaration following "public:" correctly.
2502 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2503 to match "public", etc.
2504 (c-decl-prefix-re): Add ":" into the C++ value.
2505 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2506 bit. Add a check for a ":" preceded by "public", etc.
2507
75d83e22
EZ
25082013-09-21 Eli Zaretskii <eliz@gnu.org>
2509
2510 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2511 recognized by GDB 7.5 and later.
2512
d052d3bd
XF
25132013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2514
2515 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2516
31dca772
R
25172013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2518
2519 * subr.el (internal--call-interactively): New const.
2520 (called-interactively-p): Use it (bug#3984).
2521
98ccf24e
XF
25222013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2523
2524 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2525 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2526 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2527
c39cc7d1
SM
25282013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2531 (eshell-ls-orig-insert-directory): Remove.
2532 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2533 (eshell-ls-use-in-dired): Use advice-add/remove.
2534 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2535 Add `orig-fun' arg for use in :around advice.
2536 Make it check (redundantly) eshell-ls-use-in-dired.
2537
9a0289a2
GM
25382013-09-19 Glenn Morris <rgm@gnu.org>
2539
a2c501b8
GM
2540 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2541
c440407a
GM
2542 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2543
9a0289a2
GM
2544 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2545
85e05915
MA
25462013-09-19 Michael Albinus <michael.albinus@gmx.de>
2547
2548 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2549 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2550 (tramp-get-remote-python): New defuns.
2551 (tramp-get-remote-uid-with-perl)
2552 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2553 contributed by yary <not.com@gmail.com> (tiny change).
2554 (tramp-get-remote-uid-with-python)
2555 (tramp-get-remote-gid-with-python): New defuns. Python code
2556 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2557 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2558
ce503312
GM
25592013-09-19 Glenn Morris <rgm@gnu.org>
2560
f7544773
GM
2561 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2562
72fd2877
GM
2563 * eshell/em-unix.el (eshell-remove-entries):
2564 Rename argument to avoid name-clash with global `top-level'.
2565
336b5a56
GM
2566 * eshell/esh-proc.el (eshell-kill-process-function):
2567 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2568 (eshell-reset-after-proc): Remove unused arg `proc'.
2569
57a3a53d
GM
2570 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2571 (directory-files-and-attributes): Mark unused arg.
2572
3261d4af
GM
2573 * eshell/em-unix.el (eshell-remove-entries):
2574 Remove unused arg `path'. Update callers.
2575
8e51b5d0
GM
2576 * eshell/em-hist.el (eshell-hist-parse-arguments):
2577 Remove unused arg `silent'. Update callers.
2578
ce503312
GM
2579 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2580 Fix (f)boundp mix-up.
2581
2582 * eshell/em-smart.el (eshell-smart-scroll-window)
2583 (eshell-disable-after-change):
336b5a56 2584 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2585
ee3ce8a7
AM
25862013-09-18 Alan Mackenzie <acm@muc.de>
2587
2588 Fix fontification of type when followed by "const".
2589 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2590 "known" types from fontification.
2591
ec9177ba
GM
25922013-09-18 Glenn Morris <rgm@gnu.org>
2593
7bb3e768
GM
2594 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2595 (chart-face-list): Drop Emacsen without display-color-p.
2596
5148da15
GM
2597 * net/eww.el (libxml-parse-html-region): Declare.
2598 (eww-display-html): Explicit error if no libxml2 support.
2599
2f68e157
GM
2600 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2601
9019d095
GM
2602 * image.el (image-type-from-buffer, image-multi-frame-p):
2603 Remove --without-x warning/error.
67645389 2604
5f30349b 2605 * mouse.el (mouse-yank-primary):
45069b2e 2606 * term.el (term-mouse-paste):
5f30349b
GM
2607 Reorder to silence --without-x compilation.
2608
cd8edbbe
GM
2609 * mpc.el (doc-view-mode): Silence --without-x compilation.
2610
8a78544e
GM
2611 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2612 Silence --without-x compilation.
2613
12679bfd
GM
2614 * progmodes/gud.el (gud-find-file, gud-mode):
2615 Silence --without-x compilation.
2616 (tooltip-mode): Declare.
30810a05 2617
f0047cb9
GM
2618 * wdired.el (dired-backup-overwrite): Remove declaration.
2619 (wdired-mode-map): Add doc string.
2620
e740f9d2
GM
2621 * custom.el (x-get-resource): Declare.
2622
92d77c89
GM
2623 * eshell/em-glob.el (ange-cache):
2624 * eshell/em-unix.el (ange-cache): Declare.
2625
76e69577
GM
2626 * faces.el (x-display-list, x-open-connection, x-get-resource):
2627 Declare.
7e58af4b
GM
2628
2629 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2630 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2631 Declare.
76e69577 2632
4bd4c0af 2633 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2634
ffb82dbd
GM
2635 * net/gnutls.el (gnutls-log-level): Declare.
2636
986ed135
GM
2637 * net/shr.el (image-size, image-animate): Declare.
2638
e740f9d2
GM
2639 * simple.el (font-info): Declare.
2640
d2f3e9f8
GM
2641 * subr.el (x-popup-dialog): Declare.
2642
047a1a4c
GM
2643 * term/common-win.el (x-select-enable-primary)
2644 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2645 Declare.
2646
f4a1d572
GM
2647 * term/ns-win.el (x-handle-args): Declare.
2648
e843de77
GM
2649 * term/x-win.el (x-select-enable-clipboard): Declare.
2650
5fa89513
GM
2651 * term/w32-win.el (create-default-fontset): Declare.
2652
38702b5b
GM
2653 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2654 Declare.
2655
e740f9d2
GM
2656 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2657 (fit-frame-to-buffer): Explicit error if --without-x.
2658 (mouse-autoselect-window-select): Silence compiler.
2659
49a053fc
GM
2660 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2661
2662 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2663 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2664 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2665 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2666 Remove unused local variables.
2667
2668 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2669
ec9177ba
GM
2670 * textmodes/two-column.el: Make 2C-split work for --without-x.
2671 (scroll-bar-columns): Autoload.
2672 (top-level): Require fringe when compiling.
2673
9f25cb77
LL
26742013-09-18 Leo Liu <sdl.web@gmail.com>
2675
2676 * subr.el (add-hook): Robustify to handle closure as well.
2677
2b42da98
GM
26782013-09-17 Glenn Morris <rgm@gnu.org>
2679
2680 * simple.el (messages-buffer-mode-map): Unbind "g".
2681
e8b66a6a
SM
26822013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2683
9c0ad4f7
SM
2684 * help-mode.el (help-mode-finish): Use derived-mode-p.
2685 Remove obsolete highlighting.
2686
7a806dfb
SM
2687 * play/life.el (life-mode): Use define-derived-mode. Derive from
2688 special-mode.
2689 (life): Let-bind inhibit-read-only.
2690 (life-setup): Avoid `setq'. Use `life-mode'.
2691
96dbf5a8
SM
2692 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2693 which should not be needed any more.
2694 (package-menu-refresh, package-menu-describe-package): Use user-error.
2695
e8b66a6a
SM
2696 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2697 (eshell-post-rewrite-command-hook): Make obsolete.
2698 (eshell-parse-command): Simplify.
2699 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2700 (eshell--cmd): Declare.
2701 (eshell-parse-pipeline): Remove unused var `final-p'.
2702 Pass a dynvar to eshell-post-rewrite-command-hook.
2703 Implement the new eshell-post-rewrite-command-function.
2704 (eshell-invoke-directly): Remove unused arg `input'.
2705 * eshell/esh-io.el (eshell-io-initialize):
2706 Use eshell-post-rewrite-command-function (bug#15399).
2707 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2708 adjust to new calling convention.
2709 (eshell-create-handles): Rename args to avoid clashing with dynvar
2710 `standard-output'.
2711
90582f05
GM
27122013-09-17 Glenn Morris <rgm@gnu.org>
2713
2714 * simple.el (messages-buffer-mode): New major mode.
2715 (messages-buffer): New function.
2716 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2717 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2718 (ert-run-test): Use `messages-buffer' function.
90582f05 2719 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2720 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2721 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2722
39eb0cb5 27232013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2724
2725 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2726
1f1e06e2
SM
2727 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2728
70568a90
SM
27292013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2730
504a0381
SM
2731 * icomplete.el (icomplete-in-buffer): New var.
2732 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2733 vars and replace them with functions.
2734 (icomplete-minibuffer-setup): Adjust accordingly.
2735 (icomplete--completion-table, icomplete--completion-predicate)
2736 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2737 New functions.
2738 (icomplete-forward-completions, icomplete-backward-completions)
2739 (icomplete-simple-completing-p, icomplete-exhibit)
2740 (icomplete-completions): Use them.
2741 (icomplete--in-region-buffer): New var.
2742 (icomplete--in-region-setup): New function.
2743 (icomplete-mode): Use it.
2744
70568a90
SM
2745 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2746 (bug#15379).
2747 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2748 return args and options.
2749 (eshell-eval-using-options): Use the new return value of
2750 eshell--do-opts to set the options's vars in their scope.
2751 (eshell--set-option): Rename from eshell-set-option.
2752 Add arg `opt-vals'.
2753 (eshell--process-option): Rename from eshell-process-option.
2754 Add arg `opt-vals'.
2755 (eshell--process-args): Use an `opt-vals' alist to store the options's
2756 values during their processing and return them additionally to the
2757 remaining args.
2758
578c21bc
DG
27592013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2760
2761 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2762 continuation character an operator, as far as indentation is
2763 concerned (Bug#15369).
2764
c089653d
MR
27652013-09-15 Martin Rudalics <rudalics@gmx.at>
2766
2767 * window.el (window--state-put-2): Don't process buffer state
2768 when buffer doesn't exist any more (Bug#15382).
2769
1e53bb4b
GM
27702013-09-15 Glenn Morris <rgm@gnu.org>
2771
30753242
GM
2772 * eshell/em-unix.el (eshell/rm):
2773 Make -f ignore missing files. (Bug#15373)
2774
1e53bb4b
GM
2775 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2776 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2777 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2778
0d8863b3
GM
27792013-09-14 Glenn Morris <rgm@gnu.org>
2780
2781 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2782
d3fc6549
GM
27832013-09-13 Glenn Morris <rgm@gnu.org>
2784
2785 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2786 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2787
fcd42c11
DA
27882013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2789
2790 * frame.el (x-focus-frame): Mark as declared in frame.c.
2791
7830899f
SM
27922013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * ls-lisp.el: Use advice-add.
2795 (original-insert-directory): Remove.
2796 (ls-lisp--insert-directory): Rename from insert-directory; add
2797 `orig-fun' argument.
2798 (insert-directory): Advise.
2799
84387cd2
EZ
28002013-09-13 Eli Zaretskii <eliz@gnu.org>
2801
2802 * term.el (term-emulate-terminal): Decode the command string
2803 before passing it to term-command-hook. (Bug#15337)
2804
35ffc6ba
GM
28052013-09-13 Glenn Morris <rgm@gnu.org>
2806
5c3f9bcc
GM
2807 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2808
2ada368a
GM
2809 * eshell/esh-ext.el (eshell-search-path): Declare.
2810
fcef2e13
GM
2811 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2812 Otherwise an error occurs if eshell-dirs module not loaded.
2813
35ffc6ba
GM
2814 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2815
35c3d36e
MA
28162013-09-13 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2819 `tramp-check-proper-host'. Check for a valid method name.
2820
2821 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2822 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2823 * net/tramp-sh.el (tramp-maybe-open-connection):
2824 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2825
2826 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2827 also for hash values.
2828
ae5e4c48
SM
28292013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2830
379add74
SM
2831 * term/ns-win.el (parameters): Don't declare as dynamic.
2832 (before-make-frame-hook): Don't add ineffective function.
2833
ae5e4c48
SM
2834 * eshell/*.el: Use lexical-binding (bug#15231).
2835
b5623270
KH
28362013-09-12 Kenichi Handa <handa@gnu.org>
2837
ae5e4c48 2838 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2839
30213927
GM
28402013-09-12 Glenn Morris <rgm@gnu.org>
2841
be94d713 2842 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2843 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2844
44915370
GM
2845 * subr.el (do-after-load-evaluation): Also give compiler warnings
2846 when obsolete files are used (except by obsolete files).
2847
a6ae021f
GM
2848 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2849 in the status output, assume `filename' is the first. (Bug#15322)
2850
40e64f0c
GM
2851 * vc/vc.el (vc-deduce-fileset): Doc fix.
2852
16d9f896
GM
2853 * calc/calc-help.el (Info-goto-node):
2854 * progmodes/cperl-mode.el (Info-find-node):
2855 * vc/ediff.el (Info-goto-node): Update declarations.
2856
dea01c6e
GM
2857 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2858
759880bf 2859 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2860 (vc-bzr-pull): Require vc-dispatcher.
2861 * vc/vc-git.el (vc-compilation-mode): Declare.
2862 (vc-git-pull): Require vc-dispatcher.
2863
08d66420
GM
2864 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2865
30b626e9
GM
2866 * progmodes/octave.el (help-button-action): Declare.
2867
8c05cb10
GM
2868 * shell.el (shell-directory-tracker): Output error as a message
2869 rather than just returning it as a string.
2870 (shell-process-pushd): Remove useless use of message.
2871
30213927
GM
2872 * dframe.el (dframe-timer-fn):
2873 * files.el (dir-locals-read-from-file):
2874 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2875 (mpc-format):
2876 * reveal.el (reveal-post-command):
2877 * saveplace.el (load-save-place-alist-from-file):
2878 * shell.el (shell-resync-dirs):
2879 * w32-common-fns.el (x-get-selection-value):
2880 * emacs-lisp/copyright.el (copyright-find-copyright):
2881 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2882 * emulation/tpu-edt.el (tpu-copy-keyfile):
2883 * play/bubbles.el (bubbles--mark-neighbourhood):
2884 * progmodes/executable.el
2885 (executable-make-buffer-file-executable-if-script-p):
2886 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2887
d3b049e6
SM
28882013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2889
170266d0
SM
2890 Cleanup Eshell to rely less on dynamic scoping.
2891 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2892 last-value, and ext-command here. Bind `args' closer to `body'.
2893 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2894 (eshell--args): Declare new dynamic var.
2895 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2896 last-value, and ext-command. Pass `args' to `body'.
2897 (eshell-process-args): Bind eshell--args.
2898 (eshell-set-option): Use eshell--args.
2899 * eshell/eshell.el (eshell): Use derived-mode-p.
2900 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2901 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2902 (eshell-glob-function): Declare.
2903 * eshell/esh-util.el: Require cl-lib.
2904 (eshell-read-hosts-file): Avoid add-to-list.
2905 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2906 `err'.
2907 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2908 Declare.
2909 (eshell/diff): Remove unused var `err'.
2910 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2911 `killflag'.
2912 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2913 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2914 first use.
2915 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2916 Move declaration before first use.
2917 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2918 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2919 rely on cl-return.
2920
56834f3b
GM
29212013-09-12 Glenn Morris <rgm@gnu.org>
2922
2923 * term/ns-win.el (global-map): Remove binding for ispell-next,
2924 deleted 1999-05-29. (Bug#15357)
2925
5c91a2b8
GM
29262013-09-11 Glenn Morris <rgm@gnu.org>
2927
da712f22
GM
2928 * echistory.el (electric-command-history): Remove call to deleted func.
2929
512e4cdc
GM
2930 * play/landmark.el (landmark-mode): Fix typos.
2931
d3506ca5
GM
2932 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2933 Check cvs-sort-ignore-file is bound.
2934
5c91a2b8
GM
2935 * savehist.el: No need for cl when compiling on Emacs.
2936
feeff482
SM
29372013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2938
656bd483
SM
2939 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2940 (bug#15338).
d3b049e6
SM
2941 (eshell-self-insert-command, eshell-send-invisible):
2942 Remove unused argument.
656bd483
SM
2943 (eshell-handle-control-codes): Remove unused var `orig'.
2944 Avoid delete-backward-char.
2945
feeff482
SM
2946 * files.el (set-auto-mode): Simplify a bit further.
2947
2a08047a
GM
29482013-09-11 Glenn Morris <rgm@gnu.org>
2949
2950 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2951 (set-auto-mode): Don't regexp-quote elements.
2952 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2953 * progmodes/cc-mode.el (interpreter-mode-alist):
2954 * progmodes/ruby-mode.el (interpreter-mode-alist):
2955 Revert previous change.
2956
34675540
SM
29572013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2958
1b3b87df
SM
2959 * play/snake.el (snake-mode):
2960 * play/mpuz.el (mpuz-mode):
2961 * play/landmark.el (lm-mode):
2962 * play/blackbox.el (blackbox-mode):
2963 * play/5x5.el (5x5-mode):
2964 * obsolete/options.el (Edit-options-mode):
2965 * net/quickurl.el (quickurl-list-mode):
2966 * net/newst-treeview.el (newsticker-treeview-mode):
2967 * mail/rmailsum.el (rmail-summary-mode):
2968 * mail/mspools.el (mspools-mode):
2969 * locate.el (locate-mode):
2970 * ibuffer.el (ibuffer-mode):
2971 * emulation/ws-mode.el (wordstar-mode):
2972 * emacs-lisp/debug.el (debugger-mode):
2973 * array.el (array-mode):
2974 * net/eudc.el (eudc-mode): Use define-derived-mode.
2975 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2976 Move initialization into declaration.
2977 (mairix-searches-mode): Use define-derived-mode.
2978 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2979 (eudc-edit-hotlist): Use dolist.
2980 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2981 (Man-mode): Use define-derived-mode.
2982 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2983 (Info-edit-mode): Use define-derived-mode.
2984 (Info-cease-edit): Use Info-mode.
2985 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2986 into declaration.
2987 (eshell-mode): Use define-derived-mode.
2988 * chistory.el (command-history-mode-map): Rename from
2989 command-history-map.
2990 (command-history-mode): Use define-derived-mode.
da712f22 2991 (Command-history-setup): Remove function.
1b3b87df
SM
2992 * calc/calc.el (calc-trail-mode-map): New var.
2993 (calc-trail-mode): Use define-derived-mode.
2994 (calc-trail-buffer): Set calc-main-buffer manually.
2995 * bookmark.el (bookmark-insert-annotation): New function.
2996 (bookmark-edit-annotation): Use it.
2997 (bookmark-edit-annotation-mode): Make it a proper major mode.
2998 (bookmark-send-edited-annotation): Use derived-mode-p.
2999 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3000 closer to its ideal place. Use \' to match EOS.
3001
34675540
SM
3002 * profiler.el (profiler-calltree-find): Use function-equal.
3003
6a5c15d9
GM
30042013-09-10 Glenn Morris <rgm@gnu.org>
3005
1af4c220
GM
3006 * files.el (interpreter-mode-alist): Convert to regexps.
3007 (set-auto-mode): Adapt for this. (Bug#15306)
3008 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3009 Comment out unused variable.
3010 * progmodes/cc-mode.el (interpreter-mode-alist):
3011 * progmodes/python.el (interpreter-mode-alist):
3012 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3013 * progmodes/sh-script.el (sh-set-shell):
3014 No longer use interpreter-mode-alist to get list of shells.
3015
6a5c15d9
GM
3016 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3017
8c27f5ff
SM
30182013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3019
02ef6c1a 3020 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3021 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3022 Bind switch-frame explicitly. Replace universal-argument-minus with
3023 a conditional binding.
3024 (universal-argument-num-events, saved-overriding-map): Remove.
3025 (restore-overriding-map): Remove.
3026 (universal-argument--mode): Rename from save&set-overriding-map,
3027 and rewrite.
3028 (universal-argument, universal-argument-more, negative-argument)
3029 (digit-argument): Adjust accordingly.
3030 (universal-argument-minus): Remove.
3031 (universal-argument-other-key): Remove.
3032
8c27f5ff
SM
3033 * subr.el (with-demoted-errors): Add `format' argument.
3034
6480194c
MA
30352013-09-10 Michael Albinus <michael.albinus@gmx.de>
3036
3037 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3038 `tramp-cleanup-connection'.
3039
3040 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3041 parameters KEEP-DEBUG and KEEP-PASSWORD.
3042
3043 * net/tramp.el (tramp-file-name-handler):
3044 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3045 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3046 (tramp-maybe-open-connection):
8c27f5ff
SM
3047 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3048 Use `tramp-cleanup-connection'.
6480194c 3049
8c27f5ff
SM
3050 * net/tramp-sh.el (tramp-maybe-open-connection):
3051 Catch 'uname-changed inside the progress reporter.
6480194c 3052
e5e916d8
GM
30532013-09-10 Glenn Morris <rgm@gnu.org>
3054
9a2c9b47
GM
3055 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3056
e5e916d8
GM
3057 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3058 returns "alternate access method" in mode (eg "-rw-r--r--.").
3059
144e38fe
GM
30602013-09-08 Glenn Morris <rgm@gnu.org>
3061
3062 * saveplace.el (load-save-place-alist-from-file):
3063 Demote errors. (Bug#15305)
3064
af9ff9e8
MA
30652013-09-08 Michael Albinus <michael.albinus@gmx.de>
3066
3067 Improve compatibility with older Emacsen, and XEmacs.
3068
3069 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3070 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3071 (with-tramp-progress-reporter): Do not let-bind `result'.
3072 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3073 (tramp-handle-make-auto-save-file-name): New function, moved from
3074 tramp-sh.el.
3075
3076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3077 for `make-auto-save-file-name'.
8c27f5ff
SM
3078 (tramp-adb--gnu-switches-to-ash):
3079 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3080
3081 * net/tramp-cache.el (tramp-cache-print): Call
3082 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3083
3084 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3085 bound. It isn't for XEmacs.
3086
8c27f5ff
SM
3087 * net/tramp-compat.el (tramp-compat-copy-file):
3088 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3089 (tramp-compat-replace-regexp-in-string): New defun.
3090
3091 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3092 for `make-auto-save-file-name'.
3093 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3094 `copy-file'.
3095 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3096 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3097 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3098
8c27f5ff
SM
3099 * net/tramp-gw.el (tramp-gw-open-network-stream):
3100 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3101
8c27f5ff
SM
3102 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3103 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3104 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3105 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3106 (tramp-sh-file-inotifywait-process-filter):
3107 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3108 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3109
3110 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3111 for `make-auto-save-file-name'.
8c27f5ff
SM
3112 (tramp-smb-handle-copy-directory):
3113 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3114 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3115 (tramp-smb-handle-copy-file): Improve error message.
3116 (tramp-smb-handle-rename-file): Rename directly only in case
3117 `newname' does not exist yet. This is a restriction of smbclient.
3118 (tramp-smb-maybe-open-connection): Rerun the function only when
3119 `auth-sources' is non-nil.
3120
0ca754d0
KH
31212013-09-08 Kenichi Handa <handa@gnu.org>
3122
3123 * international/characters.el: Set category "^" (Combining) for
3124 more characters.
3125
e8dd0787
AM
31262013-09-07 Alan Mackenzie <acm@muc.de>
3127
3128 Correctly fontify Java class constructors.
3129 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3130 in Java Mode.
3131 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3132 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3133 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3134 "typeless" declaration there.
3135
f2f248e7
RW
31362013-09-07 Roland Winkler <winkler@gnu.org>
3137
3138 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3139 field subtitle for entry type book.
3140
67982e2b
SM
31412013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * minibuffer.el: Make minibuffer-complete call completion-in-region
3144 rather than other way around.
3145 (completion--some, completion-pcm--find-all-completions):
3146 Don't delay signals when debugging.
3147 (minibuffer-completion-contents): Beware fields within the
3148 minibuffer contents.
3149 (completion-all-sorted-completions): Use defvar-local.
3150 (completion--do-completion, completion--cache-all-sorted-completions)
3151 (completion-all-sorted-completions, minibuffer-force-complete):
3152 Add args `beg' and `end'.
3153 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3154 (minibuffer-complete): Use completion-in-region.
3155 (completion-complete-and-exit): New fun, extracted from
3156 minibuffer-complete-and-exit.
3157 (minibuffer-complete-and-exit): Use it.
3158 (completion--complete-and-exit): Rename from
3159 minibuffer--complete-and-exit.
3160 (completion-in-region--single-word): New function, extracted from
3161 minibuffer-complete-word.
3162 (minibuffer-complete-word): Use it.
3163 (display-completion-list): Make `common-substring' argument obsolete.
3164 (completion--in-region): Call completion--in-region-1 instead of
3165 minibuffer-complete.
3166 (completion-help-at-point): Pass boundaries to
3167 minibuffer-completion-help as args rather than via an overlay.
3168 (completion-pcm--string->pattern): Use `any-delim'.
3169 (completion-pcm--optimize-pattern): New function.
3170 (completion-pcm--pattern->regex): Handle `any-delim'.
3171 * icomplete.el (icomplete-forward-completions)
3172 (icomplete-backward-completions, icomplete-completions):
3173 Adjust calls to completion-all-sorted-completions and
3174 completion--cache-all-sorted-completions.
3175 (icomplete-with-completion-tables): Default to t.
3176 * emacs-lisp/crm.el (crm--current-element): Rename from
3177 crm--select-current-element. Don't put an overlay but return the
3178 boundaries instead.
3179 (crm--completion-command): Take two new args to bind to the boundaries.
3180 (crm-completion-help): Adjust accordingly.
3181 (crm-complete): Use completion-in-region.
3182 (crm-complete-word): Use completion-in-region--single-word.
3183 (crm-complete-and-exit): Use completion-complete-and-exit.
3184
e17d94a5
SM
31852013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3188 than dynamically.
3189
96727100
JL
31902013-09-06 Juri Linkov <juri@jurta.org>
3191
3192 * info.el (Info-display-images-node): When image file doesn't exist
3193 display text version of the image if it's provided in the Info file.
3194 Otherwise, display the location of missing image from SRC attribute.
3195 Add help-echo text property from ALT attribute. (Bug#15279)
3196
86cf7329
SM
31972013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3200 (edit-abbrevs-mode): Use define-derived-mode.
3201
3202 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3203 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3204 that it's defined.
3205 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3206 Use define-derived-mode.
3207
3208 * epg.el (epg-start-encrypt): Minor CSE simplification.
3209
816244a2
WX
32102013-09-06 William Xu <william.xwl@gmail.com>
3211
3212 * arc-mode.el: Add support for 7za (bug#15264).
3213 (archive-7z-program): New var.
3214 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3215 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3216 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3217
1486fa31
MA
32182013-09-06 Michael Albinus <michael.albinus@gmx.de>
3219
3220 Remove URL syntax.
3221
3222 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3223 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3224 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3225 (tramp-postfix-host-format, tramp-file-name-regexp)
3226 (tramp-completion-file-name-regexp)
3227 (tramp-completion-dissect-file-name)
3228 (tramp-handle-substitute-in-file-name): Remove 'url case.
3229 (tramp-file-name-regexp-url)
3230 (tramp-completion-file-name-regexp-url): Remove constants.
3231
39785324
GM
32322013-09-06 Glenn Morris <rgm@gnu.org>
3233
3234 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3235
1f896cb7
DG
32362013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3237
3238 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3239 keywords" below "here-doc beginnings" (Bug#15270).
3240
c0458e0b
SM
32412013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * subr.el (pop): Use `car-safe'.
3244 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3245 to detect unused `pop' return value.
3246
3247 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3248 var `block-regexp'.
3249 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3250 (python-fill-string): Remove unused var `marker'.
3251 (python-skeleton-add-menu-items): Remove unused var `items'.
3252
3253 * international/mule-cmds.el: Require CL.
3254 (find-coding-systems-for-charsets): Avoid add-to-list.
3255 (sanitize-coding-system-list): New function, extracted from
3256 select-safe-coding-system-interactively.
3257 (select-safe-coding-system-interactively): Use it.
3258 (read-input-method-name): Accept symbols for `default'.
3259
3260 * emacs-lisp/advice.el (defadvice): Add indent rule.
3261
6c42fc3e
DH
32622013-09-05 Daniel Hackney <dan@haxney.org>
3263
3264 * dired-x.el:
3265 * net/ange-ftp.el:
3266 * net/browse-url.el:
3267 * net/dbus.el:
3268 * net/eudc.el:
3269 * net/eudcb-ldap.el:
3270 * net/eww.el:
3271 * net/imap.el:
3272 * printing.el:
3273 * vc/ediff-diff.el:
3274 * vc/ediff-init.el:
3275 * vc/ediff-merg.el:
3276 * vc/ediff-mult.el:
3277 * vc/ediff-util.el:
3278 * vc/ediff-wind.el:
3279 * vc/ediff.el:
3280 * vc/emerge.el:
3281 * vc/pcvs.el:
3282 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3283 byte compiler. Remove some unused let-bound variables.
3284
4c528aab
SM
32852013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3288 a "ref-cell", since it gets better optimized (bug#14883).
3289
bd15c390
GM
32902013-09-05 Glenn Morris <rgm@gnu.org>
3291
3292 * progmodes/cc-awk.el (c-forward-sws): Declare.
3293
1c3ac2e5
GM
32942013-09-04 Glenn Morris <rgm@gnu.org>
3295
3296 * generic-x.el [rul-generic-mode]: Require cc-mode.
3297 (c++-mode-syntax-table): Declare.
3298 (rul-generic-mode-syntax-table): Init in the defvar.
3299
52b1cc79
SM
33002013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3301
c828af56
SM
3302 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3303 (vc-do-command, vc-set-async-update):
3304 * vc/vc-mtn.el (vc-mtn-dir-status):
3305 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3306 (vc-hg-pull, vc-hg-merge-branch):
3307 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3308 (vc-git-merge-branch):
3309 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3310 (vc-cvs-dir-status-files):
3311 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3312 (vc-bzr-dir-status-files):
3313 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3314 * vc/vc-annotate.el: Use lexical-binding.
3315 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3316 (vc-sentinel-movepoint): Declare.
3317 (vc-annotate): Don't use `goto-line'.
3318 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3319 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3320 (vc-sentinel-movepoint): Declare.
3321 * vc/vc-svn.el: Use lexical-binding.
3322 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3323 * vc/vc-sccs.el:
3324 * vc/vc-rcs.el: Use lexical-binding.
3325
abae272c
SM
3326 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3327 `deleted'. Don't drop errors silently.
3328
52b1cc79
SM
3329 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3330
63191d9f
XF
33312013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3332
3333 * vc/vc.el (vc-ignore): Rewrite.
3334 (vc-default-ignore): New function.
3335 (vc-default-ignore-completion-table): Use find-ignore-file.
3336
3337 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3338 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3339 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3340 Remove. Most code moved to vc.el.
3341
9d3f707c
SM
33422013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3343
abae272c 3344 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3345 * net/tramp-smb.el (tramp-smb-get-file-entries):
3346 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3347 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3348
fde38d49
SM
3349 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3350 Update call to it.
3351 (eww-change-select): Remove unused var `properties'.
3352 (eww-make-unique-file-name): Remove unused var `base'.
3353
3354 * finder.el (finder-compile-keywords): Don't mess with windows.
3355
84032db7
SM
3356 * calculator.el (calculator-funcall): Fix typo in last change.
3357
724f5e41
SM
3358 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3359
14b511d4
SM
3360 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3361 <pkg>-autoloads.el file stop us.
3362
9d3f707c 3363 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3364 warnings, and factor out common code.
9d3f707c 3365
88527bc0
DG
33662013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3369 two-character operators and whether the character preceding them
3370 changes their meaning (Bug#15208).
3371
96edb677
FEG
33722013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3373
3374 Format code sent to Python shell for robustness.
9d3f707c
SM
3375 * progmodes/python.el (python-shell-buffer-substring):
3376 New function.
96edb677
FEG
3377 (python-shell-send-region, python-shell-send-buffer): Use it.
3378
95beaef3
MA
33792013-09-02 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3382 * net/tramp.el (tramp-user-error): ... here.
3383 (tramp-find-method, tramp-check-proper-host)
3384 (tramp-dissect-file-name, tramp-debug-message)
3385 (tramp-handle-shell-command):
3386 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3388
3389 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3390
f167c27b
MR
33912013-09-02 Martin Rudalics <rudalics@gmx.at>
3392
3393 * avoid.el (mouse-avoidance-point-position)
3394 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3395 returns nil.
3396
cd16c5f1
FEG
33972013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3398
3399 * progmodes/python.el (python-shell-completion-get-completions):
3400 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3401 (python-nav-if-name-main): New command.
cd16c5f1 3402
e73c3a0d
GM
34032013-09-01 Glenn Morris <rgm@gnu.org>
3404
f8ccce03
GM
3405 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3406 Avoid leading space in $wins. Otherwise the sed command used by
3407 eg compile-main ends up containing "/*.el". (Bug#15170)
3408
e73c3a0d
GM
3409 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3410
415f808e
GM
34112013-08-30 Glenn Morris <rgm@gnu.org>
3412
3413 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3414 Fix is-this-a-directory logic. (Bug#15220)
3415
f069bba8
SM
34162013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3417
112798c1
SM
3418 * textmodes/css-mode.el: Use SMIE.
3419 (css-smie-grammar): New var.
3420 (css-smie--forward-token, css-smie--backward-token)
3421 (css-smie-rules): New functions.
3422 (css-mode): Use them.
3423 (css-navigation-syntax-table): Remove var.
3424 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3425 (css-indent-calculate, css-indent-line): Remove functions.
3426
3427 Misc changes to reduce use of `(lambda...); and other cleanups.
3428 * cus-edit.el: Use lexical-binding.
3429 (customize-push-and-save, customize-apropos)
3430 (custom-buffer-create-internal): Use closures.
3431 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3432 * progmodes/ada-xref.el: Use setq.
3433 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3434 * dframe.el: Use lexical-binding.
3435 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3436 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3437 * descr-text.el: Use lexical-binding.
3438 (describe-text-widget, describe-text-sexp, describe-property-list):
3439 Use closures.
3440 * comint.el (comint-history-isearch-push-state): Use a closure.
3441 * calculator.el: Use lexical-binding.
3442 (calculator-number-to-string): Make it work with lexical-binding.
3443 (calculator-funcall): Same and use cl-letf.
3444
2da4c3ab
SM
3445 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3446 (lisp--company-doc-string, lisp--company-location): New functions.
3447 (lisp-completion-at-point): Use them to improve Company support.
3448
f069bba8
SM
3449 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3450 params of lambda expressions.
3451 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3452 (ruby-smie--opening-pipe-p): New function.
3453 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3454 symbols and matched |...| for formal params.
3455 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3456 from being treated as hanging. Handle "rescue".
3457
6758b6a8
GM
34582013-08-29 Glenn Morris <rgm@gnu.org>
3459
3460 * progmodes/cc-engine.el (c-pull-open-brace):
3461 Move definition before use.
3462
e8dfd197
SM
34632013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3466 are immutable. Don't use `unsafe' any more.
3467 (cl--defsubst-expand): Don't substitute at the same time as keeping
3468 a residual unused let-binding. Don't use `unsafe' any more.
3469
cc585c96
GM
34702013-08-29 Glenn Morris <rgm@gnu.org>
3471
ba579ea6
GM
3472 * calendar/cal-china.el (calendar-chinese-year-cache):
3473 Recenter on 2015.
3474
8201a87e
GM
3475 * nxml/nxml-util.el (nxml-debug-clear-inside):
3476 Use cl-loop rather than loop.
3477
6ee877c7
GM
3478 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3479
cc585c96
GM
3480 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3481
27be8d39
GM
34822013-08-28 Glenn Morris <rgm@gnu.org>
3483
397440a1
GM
3484 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3485
2bb762d4
GM
3486 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3487
27be8d39
GM
3488 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3489
2d69b99e
SM
34902013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3491
f663baa7
SM
3492 * simple.el (repeat-complex-command--called-interactively-skip):
3493 New function.
3494 (repeat-complex-command): Use it (bug#14136).
3495
dd4f8b74
SM
3496 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3497 (c-define-abbrev-table): Add `doc' argument.
3498 (c-mode-abbrev-table, c++-mode-abbrev-table)
3499 (objc-mode-abbrev-table, java-mode-abbrev-table)
3500 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3501 (awk-mode-abbrev-table): Use it.
3502 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3503 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3504 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3505 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3506 Move initialization into the declaration; and remove any
3507 autoload cookie.
3508
b58969f7
SM
3509 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3510 and dynamic let binding.
3511
4021d6a6
SM
3512 * vc/smerge-mode.el: Remove redundant :group args.
3513
2d69b99e
SM
3514 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3515 to load-path.
3516
274919fd
JL
35172013-08-28 Juri Linkov <juri@jurta.org>
3518
3519 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3520 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3521 (isearch-other-meta-char): Handle an undefined shifted printing
3522 character by downshifting it. (Bug#15200)
3523
121f8c95
JL
35242013-08-28 Juri Linkov <juri@jurta.org>
3525
3526 * isearch.el (isearch-search): Change regexp error message for
3527 non-regexp searches. (Bug#15166)
3528
50b13cde
PE
35292013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3530
3531 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3532 for portability to hosts where /bin/sh has problems.
3533
95888bca
SM
35342013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3537
bbe558f1
JL
35382013-08-27 Juri Linkov <juri@jurta.org>
3539
3540 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3541 in the keyboard macro. (Bug#15126)
3542
26f98a7d
JL
35432013-08-27 Juri Linkov <juri@jurta.org>
3544
3545 * isearch.el (isearch-quote-char): Comment out converting unibyte
3546 to multibyte, thus syncing with its `quoted-insert' counterpart.
3547 (Bug#15166)
3548
7c97d35e
MR
35492013-08-27 Martin Rudalics <rudalics@gmx.at>
3550
3551 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3552 argument in call of get-largest-window (Bug#15185).
3553 Reported by Stephen Leake.
7c97d35e 3554
a0b5606e 35552013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3556
3557 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3558
9e89d835
SM
35592013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3560
3561 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3562 from a matcher-function unless there's no more matches (bug#15161).
3563
78fc2530
MA
35642013-08-26 Michael Albinus <michael.albinus@gmx.de>
3565
3566 * minibuffer.el: Revert change from 2013-08-20.
3567
3568 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3569 with text property `tramp-default', if appropriate.
3570 (tramp-check-proper-host): New defun.
3571 (tramp-dissect-file-name): Do not check hostname. Revert change
3572 of 2013-03-18.
3573 (tramp-backtrace): Make VEC-OR-PROC optional.
3574
3575 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3576 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3577 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3578 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3579 Apply `tramp-check-proper-host'.
78fc2530 3580
edca97cd
TH
35812013-08-26 Tassilo Horn <tsdh@gnu.org>
3582
3583 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3584 lambda expression in order to have `describe-variable' display it.
3585
df54bcbd
MA
35862013-08-26 Michael Albinus <michael.albinus@gmx.de>
3587
3588 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3589 BUF can be optional. (Bug#15186)
3590
eed99101
XF
35912013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3592
3593 * progmodes/flymake.el (flymake-get-real-file-name-function):
3594 Fix broken customization. (Bug#15184)
3595
b5eb9035
AM
35962013-08-25 Alan Mackenzie <acm@muc.de>
3597
8a51e842
AM
3598 Improve indentation of bracelists defined by macros (without "=").
3599
3600 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3601 expansion begins with "{", regard it as bracelist when it doesn't
3602 contain a ";".
3603
869455d4
AM
3604 Parse C++ inher-intro when there's a template split over 2 lines.
3605
3606 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3607 rigorously the search for "class" etc. followed by ":".
3608
3609 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3610 random languages a regexp which never matches rather than nil.
3611
b5eb9035
AM
3612 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3613
3614 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3615 (c-awk-regexp-one-line-possibly-open-char-list-re)
3616 (c-awk-one-line-possibly-open-regexp-re)
3617 (c-awk-one-line-non-syn-ws*-re): Remove.
3618 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3619 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3620 (c-awk-space*-unclosed-regexp-/-re): New constants.
3621 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3622 aren't regexp delimiters.
3623
3624 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3625 handling for a rare situation in AWK Mode involving unterminated
3626 strings/regexps.
3627
61611d54
GM
36282013-08-23 Glenn Morris <rgm@gnu.org>
3629
2d85dc34
GM
3630 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3631
cb8d2612
GM
3632 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3633
bb35f42f
GM
3634 * files.el (create-file-buffer): If the result would begin with
3635 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3636
b9808e77
SM
36372013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3638
e3a66363
SM
3639 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3640 text-properties (bug#15155).
3641
b9808e77
SM
3642 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3643 exist any more.
3644 (calc-keypad-redraw): Remove unused var `pad'.
3645 (calc-keypad-press): Remove unused var `menu'.
3646
7fd5f65e
MR
36472013-08-23 Martin Rudalics <rudalics@gmx.at>
3648
b9808e77
SM
3649 * window.el (display-buffer-pop-up-frame):
3650 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3651 use it as the new frame's buffer (Bug#15133).
3652
8352b530
SM
36532013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * calendar/timeclock.el: Minor cleanups.
3656 (timeclock-ask-before-exiting, timeclock-use-display-time):
3657 Use `symbol'.
3658 (timeclock-modeline-display): Define as alias before the
3659 actual definition.
3660 (timeclock-mode-line-display): Use define-minor-mode.
3661 (timeclock-day-list-template): Make it a function, add an argument.
3662 (timeclock-day-list-required, timeclock-day-list-length)
3663 (timeclock-day-list-debt, timeclock-day-list-span)
3664 (timeclock-day-list-break): Adjust calls accordingly.
3665
9f7b1925
SM
36662013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3669 Use read--expression so that completion works again.
3670
6e50e983
SS
36712013-08-21 Sam Steingold <sds@gnu.org>
3672
3673 Add rudimentary inferior shell interaction
3674 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3675 (sh-set-shell): Reset it.
9f7b1925
SM
3676 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3677 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3678
dbb0d350
SM
36792013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * align.el: Use lexical-binding.
3682 (align-region): Simplify accordingly.
3683
c88586a9
MA
36842013-08-20 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3687
3688 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3689 `non-essential' up.
3690
f95527c8
MA
36912013-08-17 Michael Albinus <michael.albinus@gmx.de>
3692
3693 * net/tramp.el:
3694 * net/tramp-adb.el:
3695 * net/tramp-cmds.el:
3696 * net/tramp-ftp.el:
3697 * net/tramp-gvfs.el:
3698 * net/tramp-gw.el:
3699 * net/tramp-sh.el: Don't wrap external variable declarations by
3700 `eval-when-compile'.
3701
4b5fe4ee
LMI
37022013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3703
3704 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3705 now that Emacs supports ImageMagick animations.
3706
13c366c9
MA
37072013-08-16 Michael Albinus <michael.albinus@gmx.de>
3708
3709 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3710 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3711
3dfc5cd6
MR
37122013-08-16 Martin Rudalics <rudalics@gmx.at>
3713
3714 * window.el (mouse-autoselect-window-select): Do autoselect when
3715 mouse pointer is on margin.
3716
4bbb4381
WP
37172013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3718
3719 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3720
3a2ddc2d
GM
37212013-08-16 Glenn Morris <rgm@gnu.org>
3722
e8bedf5a
GM
3723 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3724 Handle "Remote Directory" response of some clients. (Bug#15058)
3725
58c4682f
GM
3726 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3727 Tweak warning. (Bug#14926)
3728
57953f49
GM
3729 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3730 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3731
3a2ddc2d
GM
3732 * image-mode.el (image-mode-map): Add menu items to reverse,
3733 increase, decrease, reset animation speed.
3734 (image--set-speed, image-increase-speed, image-decrease-speed)
3735 (image-reverse-speed, image-reset-speed): New functions.
3736 (image-mode-map): Add bindings for speed commands.
3737
3738 * image.el (image-animate-get-speed, image-animate-set-speed):
3739 New functions.
3740 (image-animate-timeout): Respect image :speed property.
3741
10fa0ed3
SM
37422013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3745 previous line (bug#15101).
3746 (debugger-eval-expression, debugger-record-expression):
3747 Use read--expression (bug#15102).
3748
5d89d9d2
MA
37492013-08-15 Michael Albinus <michael.albinus@gmx.de>
3750
3751 Remove byte compiler warnings, visible when compiling with
3752 `byte-compile-force-lexical-warnings' set to t.
3753
3754 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3755 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3756 (tramp-handle-unhandled-file-name-directory)
3757 (tramp-handle-file-notify-add-watch, tramp-action-login)
3758 (tramp-action-succeed, tramp-action-permission-denied)
3759 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3760 arguments with "_".
3761
3762 * net/tramp-adb.el (tramp-adb-parse-device-names)
3763 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3764 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3765 (tramp-adb-handle-file-truename): Remove unused arguments.
3766
3767 * net/tramp-cache.el (tramp-flush-directory-property)
3768 (tramp-flush-connection-property, tramp-list-connections)
3769 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3770
10fa0ed3
SM
3771 * net/tramp-compat.el (tramp-compat-make-temp-file):
3772 Rename FILENAME to F.
5d89d9d2
MA
3773
3774 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3775 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3776 (tramp-zeroconf-parse-workstation-device-names)
3777 (tramp-zeroconf-parse-webdav-device-names)
3778 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3779
3780 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3781 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3782
3783 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3784 arguments.
3785 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3786 (tramp-sh-handle-insert-file-contents-literally)
3787 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3788 with "_".
3789 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3790 Remove unused variables.
3791
3792 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3793 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3794 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3795
3796 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3797 Make them a defconst.
3798 (tramp-uuencode-region): Remove unused variable.
3799
62f33bae
JB
38002013-08-14 Juanma Barranquero <lekktu@gmail.com>
3801
3802 * frameset.el (frameset--prop-setter): New function.
3803 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3804 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3805 parameter was already set in FILTERED. Doc fix.
3806 (frameset--record-minibuffer-relationships): Allow saving a
3807 minibufferless frame without its corresponding minibuffer frame.
3808 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3809 frame, if the frame id matches.
3810 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3811 frames before orphaned ones.
3812 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3813
c660a885
MR
38142013-08-14 Martin Rudalics <rudalics@gmx.at>
3815
3816 * window.el (window-make-atom): Don't overwrite parameter
3817 already present.
3818 (display-buffer-in-atom-window): Handle special case where we
3819 split an already atomic window.
3820 (window--major-non-side-window, display-buffer-in-side-window)
3821 (window--side-check): Ignore minibuffer window when walking
3822 window tree.
3823 (window-deletable-p): Return 'frame only if no other frame uses
3824 our minibuffer window.
3825 (record-window-buffer): Run buffer-list-update-hook.
3826 (split-window): Make sure window--check-frame won't destroy an
3827 existing atomic window in case the new window gets nested
3828 inside.
3829 (display-buffer-at-bottom): Ignore minibuffer window when
3830 walking window tree. Don't split a side window.
3831 (pop-to-buffer): Don't set-buffer here, the select-window call
3832 should do that.
3833 (mouse-autoselect-window-select): Autoselect only if we are in the
3834 text portion of the window.
3835
8259030d
LMI
38362013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3837
21c58ae2
LMI
3838 * net/shr.el (shr-parse-image-data): New function to grab both the
3839 data itself and the Content-Type.
3840 (shr-put-image): Use it.
3841
3842 * net/eww.el (eww-display-image): Ditto.
3843
8259030d
LMI
3844 * image.el (image-content-type-suffixes): New variable.
3845
ad756449
FEG
38462013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3847
3848 * progmodes/python.el (python-imenu--build-tree)
3849 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3850
f73f4ce6
XF
38512013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3852
3853 * simple.el (backward-word): Mention the optional argument.
3854
1f585e65
SM
38552013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * frameset.el (frameset--make): Rename constructor from make-frameset.
3858 (frameset-p, frameset-valid-p): Don't autoload.
3859 (frameset-valid-p): Use normal accessors.
3860
af1c6c84
GM
38612013-08-13 Glenn Morris <rgm@gnu.org>
3862
55e47f95
GM
3863 * progmodes/compile.el (compile-command): Tweak example in doc.
3864 * obsolete/scribe.el (scribe-mode):
3865 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3866
f0024d8c
GM
3867 * mail/feedmail.el (feedmail-confirm-outgoing)
3868 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3869
3870 * cus-start.el (truncate-partial-width-windows): Fix type.
3871
3872 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3873
af1c6c84
GM
3874 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3875
5514cc4c
SM
38762013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/timer.el (timer--time-setter): New function.
3879 (timer--time): Use it as gv-setter.
3880
3881 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3882 setter is not a symbol.
3883
7997a2f1
GJ
38842013-08-12 Grégoire Jadi <daimrod@gmail.com>
3885
3886 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3887 if sending fails. This makes debugging easier.
3888
01f1a9ab
JB
38892013-08-12 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3892 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3893 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3894
594a4307
EZ
38952013-08-12 Eli Zaretskii <eliz@gnu.org>
3896
3897 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3898
7a22490f 38992013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3900
3901 * format.el (format-annotate-function):
3902 Handle read-only text properties in the source. (Bug#14887)
3903
3e41a054
LMI
39042013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905
5514cc4c
SM
3906 * net/eww.el (eww-display-html): Ignore coding system errors.
3907 One web site uses "utf-8lias" as the coding system.
3e41a054 3908
7ec326db
JB
39092013-08-11 Juanma Barranquero <lekktu@gmail.com>
3910
3911 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3912
5660113b
JB
39132013-08-10 Juanma Barranquero <lekktu@gmail.com>
3914
9a4ebc74
JB
3915 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3916 (tutorial--detailed-help): Remove unused local variables.
3917 (tutorial--save-tutorial-to): Use ignore-errors.
3918 (help-with-tutorial): Use looking-at-p.
3919
3920 * view.el (view-buffer-other-window, view-buffer-other-frame):
3921 Mark unused arguments.
3922
3923 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3924 (woman-select-symbol-fonts, woman, woman-find-file)
3925 (woman-insert-file-contents, woman-non-underline-faces):
3926 Use string-match-p.
3927 (woman1-unquote): Move declaration.
3928
3929 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3930 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3931 argument. Remove unused local variable.
3932 (xml-parse-elem-type): Use string-match-p.
3933 (xml-substitute-numeric-entities): Use ignore-errors.
3934
45fdb482
JB
3935 * calculator.el (calculator): Mark unused argument.
3936 (calculator-paste, calculator-quit, calculator-integer-p):
3937 Use ignore-errors.
3938 (calculator-string-to-number, calculator-decimal, calculator-exp)
3939 (calculator-op-or-exp): Use string-match-p.
3940
3941 * dired.el (dired-buffer-more-recently-used-p): Declare.
3942 (dired-insert-set-properties, dired-insert-old-subdirs):
3943 Use ignore-errors.
3944
3945 * dired-aux.el (dired-compress): Use ignore-errors.
3946 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3947 (dired-do-async-shell-command, dired-do-shell-command)
3948 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3949 (dired-insert-subdir-validate): Use string-match-p.
3950 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3951 (dired-add-entry): Use string-match-p, looking-at-p.
3952 (dired-insert-subdir-newpos): Remove unused local variable.
3953
3954 * filenotify.el (file-notify-callback): Remove unused local variable.
3955
3956 * filesets.el (filesets-error): Mark unused argument.
3957 (filesets-which-command-p, filesets-filter-dir-names)
3958 (filesets-directory-files, filesets-get-external-viewer)
3959 (filesets-ingroup-get-data): Use string-match-p.
3960
3961 * find-file.el (ff-other-file-name, ff-other-file-name)
3962 (ff-find-the-other-file, ff-cc-hh-converter):
3963 Remove unused local variables.
3964 (ff-get-file-name): Use string-match-p.
3965 (ff-all-dirs-under): Use ignore-errors.
3966
3967 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3968 (follow-select-if-visible): Remove unused local variable.
3969
3970 * forms.el (read-file-filter): Move declaration.
3971 (forms--make-format, forms--make-parser, forms-insert-record):
3972 Quote function with #'.
3973 (forms--update): Use string-match-p. Quote function with #'.
3974
3975 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3976 (help-make-xrefs): Use looking-at-p.
3977 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3978
3979 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3980 (ibuffer-confirm-operation-on): Use string-match-p.
3981
3982 * msb.el (msb-item-handler, msb-dired-item-handler):
3983 Mark unused arguments.
3984
3985 * ses.el (ses-decode-cell-symbol)
3986 (ses-kill-override): Remove unused local variable.
3987 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3988 (ses-load): Use ignore-errors, looking-at-p.
3989 (ses-jump-safe): Use ignore-errors.
3990 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3991
3992 * tabify.el (untabify, tabify): Mark unused arguments.
3993
3994 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3995 Mark unused argument.
3996 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3997 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3998
c880af52
JB
3999 * emacs-lisp/timer.el (timer--time): Define setter with
4000 gv-define-setter to avoid deprecation warning.
4001
5660113b 4002 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4003 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4004 (cmpl-statistics-block): Remove (body was commented out).
4005 All callers changed.
4006 (add-completions-from-buffer, load-completions-from-file):
4007 Remove unused variables.
4008
156aab80
JB
40092013-08-09 Juanma Barranquero <lekktu@gmail.com>
4010
5c5dee78
JB
4011 * filecache.el (file-cache-delete-file-list):
4012 Print message only when told so.
4013 (file-cache-files-matching): Use #' in mapconcat argument.
4014
156aab80
JB
4015 * ffap.el (ffap-url-at-point): Fix reference to variable
4016 thing-at-point-default-mail-uri-scheme.
4017
ad9dcd70
SM
40182013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4019
54bd972f
SM
4020 * subr.el (define-error): New function.
4021 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4022 error-file-not-found and define with define-error.
4023 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4024 and define with define-error.
4025 * userlock.el (file-locked, file-supersession):
4026 * simple.el (mark-inactive):
4027 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4028 * progmodes/ada-mode.el (ada-mode-errors):
4029 * play/life.el (life-extinct):
4030 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4031 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4032 * nxml/rng-util.el (rng-error):
4033 * nxml/rng-uri.el (rng-uri-error):
4034 * nxml/rng-match.el (rng-compile-error):
4035 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4036 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4037 * nxml/nxml-rap.el (nxml-scan-error):
4038 * nxml/nxml-outln.el (nxml-outline-error):
4039 * net/soap-client.el (soap-error):
4040 * net/gnutls.el (gnutls-error):
4041 * net/ange-ftp.el (ftp-error):
4042 * mpc.el (mpc-proc-error):
4043 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4044 (json-number-format, json-string-escape, json-string-format)
4045 (json-key-format, json-object-format):
4046 * jka-compr.el (compression-error):
4047 * international/quail.el (quail-error):
4048 * international/kkc.el (kkc-error):
4049 * emacs-lisp/ert.el (ert-test-failed):
4050 * calc/calc.el (calc-error, inexact-result, math-overflow)
4051 (math-underflow):
4052 * bookmark.el (bookmark-error-no-filename):
4053 * epg.el (epg-error): Define with define-error.
4054
0ea9e53a
SM
4055 * time.el (display-time-event-handler)
4056 (display-time-next-load-average): Don't call sit-for since it seems
4057 unnecessary (bug#15045).
4058
b0429158
SM
4059 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4060 Use #' instead of ' to quote functions.
4061 (checkdoc-output-mode): Use setq-local.
4062 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4063 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4064 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4065 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4066 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4067 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4068 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4069 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4070
ad9dcd70
SM
4071 * ido.el (ido-completion-help): Fix up compiler warning.
4072
77187e6f
JB
40732013-08-09 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * frameset.el (frameset-p): Add autoload cookie.
4076 (frameset--jump-to-register): New function, based on code moved from
4077 register.el.
4078 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4079
4080 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4081 (frameset-restore, frameset-save, frameset-session-filter-alist):
4082 Remove declarations.
4083 (register-alist): Doc fix.
4084 (frameset-to-register): Move to frameset.el.
4085 (jump-to-register, describe-register-1): Remove frameset-specific code.
4086
9d3aa82c
JB
40872013-08-08 Juanma Barranquero <lekktu@gmail.com>
4088
4089 * allout-widgets.el (allout-widgets-pre-command-business)
4090 (allout-widgets-post-command-business)
4091 (allout-widgets-after-change-handler)
4092 (allout-decorate-item-and-context, allout-set-boundary-marker)
4093 (allout-body-modification-handler)
4094 (allout-graphics-modification-handler): Mark ignored arguments.
4095 (allout-widgets-post-command-business)
4096 (allout-widgets-exposure-change-processor)
4097 (allout-widgets-exposure-undo-processor)
4098 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4099 (allout-parse-item-at-point, allout-decorate-item-guides)
4100 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4101 * allout.el (epa-passphrase-callback-function): Declare.
4102 (allout-overlay-insert-in-front-handler)
4103 (allout-overlay-interior-modification-handler)
4104 (allout-isearch-end-handler, allout-chart-siblings)
4105 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4106 (allout-yank-processing, allout-process-exposed)
4107 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4108 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4109 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4110 (lisp-indent-defform): Mark ignored arguments.
4111 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4112 (calculate-lisp-indent): Remove unused variables.
4113 * international/characters.el (indian-2-column, arabic-2-column)
4114 (tibetan): Mark ignored arguments.
4115 (use-cjk-char-width-table): Mark ignored arguments.
4116 Remove unused variables.
4117 * international/fontset.el (build-default-fontset-data)
4118 (x-compose-font-name, create-fontset-from-fontset-spec):
4119 Mark ignored arguments.
4120 (fontset-plain-name): Remove unused variables.
4121 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4122 (keyboard-coding-system): Mark ignored arguments.
4123 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4124 * help.el (resize-temp-buffer-window):
4125 * window.el (display-buffer-in-major-side-window)
4126 (display-buffer-in-side-window, display-buffer-in-previous-window):
4127 Remove unused variables.
4128 * isearch.el (isearch-forward-symbol):
4129 * version.el (emacs-bzr-version-bzr):
4130 * international/mule-cmds.el (current-language-environment):
4131 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4132 (x-handle-display):
4133 * term/pc-win.el (x-list-fonts, x-display-planes)
4134 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4135 (x-server-version, x-display-screens, x-display-mm-height)
4136 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4137 (x-selection-owner-p, x-own-selection-internal)
4138 (x-disown-selection-internal, x-get-selection-internal)
4139 (msdos-initialize-window-system):
4140 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4141 * term/x-win.el (x-handle-no-bitmap-icon):
4142 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4143 (vc-default-find-file-hook, vc-default-extra-menu):
4144 Mark ignored arguments.
4145
0ca3f70e
SM
41462013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4149 break-condition in the context of the debugged code (bug#12685).
4150
74c5d24c
CS
41512013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4152
4153 * comint.el:
4154 Do not use an overlay to highlight the last prompt. (Bug#14744)
4155 (comint-mode): Make comint-last-prompt buffer local.
4156 (comint-last-prompt): New variable.
4157 (comint-last-prompt-overlay): Remove. Superseded by
4158 comint-last-prompt.
0ca3f70e
SM
4159 (comint-snapshot-last-prompt, comint-output-filter):
4160 Use comint-last-prompt.
74c5d24c 4161
c03c02ee
JB
41622013-08-08 Juanma Barranquero <lekktu@gmail.com>
4163
a3738d20 4164 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4165 (frameset-save): Check validity of the resulting frameset.
4166
04263d23
XF
41672013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4168
4169 * ido.el (ido-record-command): Add doc string.
4170
76c5e5ab
JB
41712013-08-08 Juanma Barranquero <lekktu@gmail.com>
4172
4173 * frameset.el (frameset): Do not disable creation of the default
4174 frameset-p predicate. Doc fix.
4175 (frameset-valid-p): New function, copied from the old predicate-p.
4176 Add additional checks.
4177 (frameset-restore): Check with frameset-valid-p.
4178 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4179 (frameset-name, frameset-description, frameset-properties)
4180 (frameset-states): Add docstring.
f9dbf1cb
JB
4181 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4182 (frameset-filter-alist): Doc fixes.
76c5e5ab 4183
bd0c3c0b
JB
41842013-08-08 Juanma Barranquero <lekktu@gmail.com>
4185
4186 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4187
c735544c
SM
41882013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4191 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4192 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4193 (byte-compile-normal-call): Remove obsolescence check.
4194
2805a651
JB
41952013-08-08 Juanma Barranquero <lekktu@gmail.com>
4196
3677ffeb
JB
4197 * frameset.el (frameset-restore): Doc fix.
4198
2805a651
JB
4199 * register.el (frameset-frame-id, frameset-frame-with-id)
4200 (frameset-p, frameset-restore, frameset-save): Declare.
4201 (register-alist): Document framesets.
4202 (frameset-session-filter-alist): Declare.
4203 (frameset-to-register): New function.
4204 (jump-to-register): Implement jumping to framesets. Doc fix.
4205 (describe-register-1): Describe framesets.
4206
4207 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4208
a912c016
JB
42092013-08-07 Juanma Barranquero <lekktu@gmail.com>
4210
4211 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4212 Use lexical-binding.
4213
4214 * frameset.el (frameset): Use type vector, not list (incompatible
4215 change). Do not declare a new constructor, use the default one.
4216 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4217 `name' and `description', respectively, and add read-only slot
4218 `timestamp'. Doc fixes.
4219 (frameset-copy, frameset-persistent-filter-alist)
4220 (frameset-filter-alist, frameset-switch-to-gui-p)
4221 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4222 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4223 (frameset-filter-iconified, frameset-keep-original-display-p):
4224 Doc fixes.
4225 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4226 Rename from frameset-filter-(save|restore)-param. All callers changed.
4227 Doc fix.
4228 (frameset-p): Adapt to change to vector and be more thorough.
4229 Change arg name to OBJECT. Doc fix.
4230 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4231 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4232 All callers changed.
4233 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4234 All callers changed.
4235 (frameset--record-minibuffer-relationships): Rename from
4236 frameset--process-minibuffer-frames. All callers changed.
4237 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4238 Use new default constructor (again). Doc fix.
4239 (frameset--find-frame-if): Rename from `frameset--find-frame.
4240 All callers changed.
4241 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4242 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4243 Doc fix.
4244 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4245 PARAMETERS and WINDOW-STATE, respectively.
4246 (frameset-restore): Add new keyword argument PREDICATE.
4247 Reset frameset--target-display to nil. Doc fix.
4248
bb41480a
SM
42492013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4250
f001e98e
SM
4251 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4252 (bat-mode): Use it.
4253 (bat-mode-syntax-table): Mark \n as end-of-comment.
4254 (bat-font-lock-keywords): Remove comment rule.
4255
7679edb1
SM
4256 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4257 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4258
bb41480a
SM
4259 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4260 (byte-compile-callargs-warn): Use `push'.
4261 (byte-compile-arglist-warn): Ignore higher-order "calls".
4262 (byte-compile-file-form-autoload): Use `pcase'.
4263 (byte-compile-function-form): If quoting a symbol, check that it exists.
4264
cdc1ebb9
EZ
42652013-08-07 Eli Zaretskii <eliz@gnu.org>
4266
4267 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4268 and add a few popular commands found in batch files.
4269 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4270 (dos-mode): Doc fixes.
4271
312b1740
SM
42722013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4275 (dos-mode): Use setq-local. Add space after "rem".
4276 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4277 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4278
400a3178
AM
42792013-08-07 Arni Magnusson <arnima@hafro.is>
4280
4281 * progmodes/dos.el: New file.
4282 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4283 dos-mode.
4284
3b5c03d3
GM
42852013-08-06 Glenn Morris <rgm@gnu.org>
4286
4287 * calendar/calendar.el: Add new faces, and day-header-array.
4288 (calendar-weekday-header, calendar-weekend-header)
4289 (calendar-month-header): New faces.
4290 (calendar-day-header-construct): New function.
4291 (calendar-day-header-width): Also :set calendar-day-header-array.
4292 (calendar-american-month-header, calendar-european-month-header)
4293 (calendar-iso-month-header): Use calendar- faces.
4294 (calendar-generate-month):
4295 Use calendar-day-header-array for day headers; apply faces to them.
4296 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4297 (calendar-abbrev-construct): Add optional maxlen argument.
4298 (calendar-day-name-array): Doc fix.
4299 (calendar-day-name-array, calendar-abbrev-length)
4300 (calendar-day-abbrev-array):
4301 Also :set calendar-day-header-array, and maybe redraw.
4302 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4303 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4304 (calendar-day-name): Add option to use header array.
4305
ec6a2d7a
LMI
43062013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4307
4308 * net/shr.el (shr-render-td): Remove debugging.
4309 (shr-render-td): Make width computation consistent by defaulting
4310 all zero-width columns to 10 characters. This may not be optimal,
4311 but it's at least consistent.
2122cb6d
LMI
4312 (shr-make-table-1): Redo last change to fix the real problem in
4313 colspan handling.
ec6a2d7a 4314
ed4fd9c5
DA
43152013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4316
0ca3f70e
SM
4317 * files.el (cache-long-line-scans):
4318 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4319
64e22afe
JB
43202013-08-06 Juanma Barranquero <lekktu@gmail.com>
4321
024b38fc
JB
4322 * frameset.el (frameset, frameset-filter-alist)
4323 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4324 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4325 (frameset-compute-pos): Rename from frameset--compute-pos,
4326 and add docstring.
4327 (frameset-move-onscreen): Use frameset-compute-pos.
4328 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4329
64e22afe
JB
4330 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4331 Fix typos in docstrings.
4332
c8c2aca8
DA
43332013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4334
4335 * frame.el (get-other-frame): Tiny cleanup.
4336
1d237bba
JB
43372013-08-06 Juanma Barranquero <lekktu@gmail.com>
4338
8951efef
JB
4339 * vc/vc.el (vc-default-ignore-completion-table):
4340 Silence byte-compiler warning.
4341
307764cc
JB
4342 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4343 slot , which can indeed be nil.
4344 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4345 Move entry for `left' from persistent to live filter alist.
4346 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4347 Doc fixes.
4348 (frameset-filter-params): When restoring a frame, copy items added to
4349 `filtered', to avoid unwittingly modifying the original parameters.
4350 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4351 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4352
1d237bba
JB
4353 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4354 to use looking-at-p instead of looking-at. (Bug#15028)
4355
dc6c0eda
SM
43562013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 Revert introduction of isearch-filter-predicates (bug#14714).
4359 Rely on add-function instead.
4360 * isearch.el (isearch-filter-predicates): Rename it back to
4361 isearch-filter-predicate.
4362 (isearch-message-prefix): Use advice-function-mapc and advice
4363 properties to get the isearch-message-prefix.
4364 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4365 instead of run-hook-with-args-until-failure.
4366 (isearch-filter-visible): Not obsolete any more.
4367 * loadup.el: Preload nadvice.
4368 * replace.el (perform-replace): Revert to funcall
4369 instead of run-hook-with-args-until-failure.
4370 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4371 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4372 dired-isearch-filenames-toggle; make it into a proper minor mode.
4373 Use add/remove-function.
4374 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4375 Call the minor-mode rather than add/remove-hook.
4376 (dired-isearch-filter-filenames):
4377 Remove isearch-message-prefix property.
4378 * info.el (Info--search-loop): New function, extracted from Info-search.
4379 Funcall isearch-filter-predicate instead of
4380 run-hook-with-args-until-failure isearch-filter-predicates.
4381 (Info-search): Use it.
4382 (Info-mode): Use isearch-filter-predicate instead of
4383 isearch-filter-predicates.
4384
290d5b58
DA
43852013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4386
4387 Do not call to `selected-window' where it is assumed by default.
4388 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4389 `window-hscroll', `window-width', `window-height', `window-buffer',
4390 `window-frame', `window-start', `window-point', `next-window'
4391 and `window-display-table'.
4392 * abbrev.el (abbrev--default-expand):
4393 * bs.el (bs--show-with-configuration):
4394 * buff-menu.el (Buffer-menu-mouse-select):
4395 * calc/calc.el (calc):
4396 * calendar/calendar.el (calendar-generate-window):
4397 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4398 (diary-make-entry):
4399 * comint.el (send-invisible, comint-dynamic-complete-filename)
4400 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4401 * completion.el (complete):
4402 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4403 * disp-table.el (describe-current-display-table):
4404 * doc-view.el (doc-view-insert-image):
4405 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4406 * ehelp.el (with-electric-help):
4407 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4408 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4409 * emacs-lisp/helper.el (Helper-help-scroller):
4410 * emulation/cua-base.el (cua--post-command-handler-1):
4411 * eshell/esh-mode.el (eshell-output-filter):
4412 * ffap.el (ffap-gnus-wrapper):
4413 * help-macro.el (make-help-screen):
4414 * hilit-chg.el (highlight-compare-buffers):
4415 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4416 * hl-line.el (global-hl-line-highlight):
4417 * icomplete.el (icomplete-simple-completing-p):
4418 * isearch.el (isearch-done):
4419 * jit-lock.el (jit-lock-stealth-fontify):
4420 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4421 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4422 * mpc.el (mpc-tagbrowser, mpc):
4423 * net/rcirc.el (rcirc-any-buffer):
4424 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4425 * play/landmark.el (landmark-max-width, landmark-max-height):
4426 * play/zone.el (zone):
4427 * progmodes/compile.el (compilation-goto-locus):
4428 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4429 * progmodes/etags.el (find-tag-other-window):
4430 * progmodes/fortran.el (fortran-column-ruler):
4431 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4432 * progmodes/verilog-mode.el (verilog-point-text):
4433 * reposition.el (reposition-window):
4434 * rot13.el (toggle-rot13-mode):
4435 * server.el (server-switch-buffer):
4436 * shell.el (shell-dynamic-complete-command)
4437 (shell-dynamic-complete-environment-variable):
4438 * simple.el (insert-buffer, set-selective-display)
4439 (delete-completion-window):
4440 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4441 (speedbar-recenter):
4442 * startup.el (fancy-splash-head):
4443 * textmodes/ispell.el (ispell-command-loop):
4444 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4445 * tutorial.el (help-with-tutorial):
4446 * vc/add-log.el (add-change-log-entry):
4447 * vc/compare-w.el (compare-windows):
4448 * vc/ediff-help.el (ediff-indent-help-message):
4449 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4450 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4451 (ediff-setup-control-frame):
4452 * vc/emerge.el (emerge-position-region):
4453 * vc/pcvs-util.el (cvs-bury-buffer):
4454 * window.el (walk-windows, mouse-autoselect-window-select):
4455 * winner.el (winner-set-conf, winner-undo): Related users changed.
4456
38276e01
JB
44572013-08-05 Juanma Barranquero <lekktu@gmail.com>
4458
4459 * frameset.el (frameset--set-id): Doc fix.
4460 (frameset-frame-id, frameset-frame-id-equal-p)
4461 (frameset-locate-frame-id): New functions.
4462 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4463 (frameset-restore): Use them.
4464
12b4c0ea
DA
44652013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4466
4467 Do not call to `selected-frame' where it is assumed by default.
4468 Affected functions are `raise-frame', `redraw-frame',
4469 `frame-first-window', `frame-terminal' and `delete-frame'.
4470 * calendar/appt.el (appt-disp-window):
4471 * epg.el (epg-wait-for-completion):
4472 * follow.el (follow-delete-other-windows-and-split)
4473 (follow-avoid-tail-recenter):
4474 * international/mule.el (set-terminal-coding-system):
4475 * mail/rmail.el (rmail-mail-return):
4476 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4477 * progmodes/f90.el (f90-add-imenu-menu):
4478 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4479 * server.el (server-switch-buffer):
4480 * simple.el (delete-completion-window):
4481 * talk.el (talk):
4482 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4483 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4484 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4485 * vc/ediff.el (ediff-documentation): Related users changed.
4486 * frame.el (selected-terminal): Remove the leftover.
4487
17f25e76
GM
44882013-08-05 Glenn Morris <rgm@gnu.org>
4489
4490 * calendar/calendar.el (calendar-generate-month):
4491 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4492 (calendar-generate-month, calendar-font-lock-keywords):
4493 Fix for calendar-day-header-width > length of any day name.
17f25e76 4494
063233c3
JB
44952013-08-05 Juanma Barranquero <lekktu@gmail.com>
4496
4497 * desktop.el (desktop-clear): Use new name of sort predicate.
4498
4499 * frameset.el (frameset): Add docstring. Move :version property to its
4500 own `version' slot.
4501 (frameset-copy): Rename from copy-frameset.
4502 (frameset-p): Check more thoroughly.
4503 (frameset-prop): Do not check for :version, which is no longer a prop.
4504 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4505 Use new :never value instead of t.
4506 (frameset-filter-alist): Expand and clarify docstring.
4507 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4508 (frameset-filter-minibuffer, frameset-filter-save-param)
4509 (frameset-filter-restore-param, frameset-filter-iconified):
4510 Add pointer to docstring of frameset-filter-alist.
4511 (frameset-filter-params): Rename filter values to be more meaningful:
4512 :never instead of t, and reverse the meanings of :save and :restore.
4513 (frameset--process-minibuffer-frames): Clarify error message.
4514 (frameset-save): Avoid unnecessary and confusing call to framep.
4515 Use new BOA constructor for framesets.
4516 (frameset--reuse-list): Doc fix.
4517 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4518 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4519 (frameset-minibufferless-first-p): Doc fix.
4520 Rename from frameset-sort-frames-for-deletion.
4521 (frameset-restore): Doc fixes. Use new function names.
4522 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4523
d5671a82
JB
45242013-08-04 Juanma Barranquero <lekktu@gmail.com>
4525
4526 * desktop.el (desktop-restore-forces-onscreen)
4527 (desktop-restore-reuses-frames): Document :keyword constant values.
4528 (desktop-filter-parameters-alist): Remove, now identical to
4529 frameset-filter-alist.
4530 (desktop--filter-tty*): Remove, moved to frameset.el.
4531 (desktop-save-frameset, desktop-restore-frameset):
4532 Do not pass :filters argument.
4533
4534 * frameset.el (frameset-live-filter-alist)
4535 (frameset-persistent-filter-alist): New variables.
4536 (frameset-filter-alist): Use them. Add autoload cookie.
4537 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4538 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4539 `frameset--id' (it's supposed to be internal to frameset.el).
4540 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4541 (frameset--initial-params): New function.
4542 (frameset--get-frame): Use it. Doc fix.
4543 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4544 Accept :all, not 'all.
4545 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4546 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4547 with fbound symbols. Fix frame id matching, and remove matching ids if
4548 the frame being restored is deleted. Obey :delete.
4549
671d5c16
SM
45502013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * subr.el (macrop): New function.
4553 (text-clone--maintaining): New var.
4554 (text-clone--maintain): Rename from text-clone-maintain. Use it
4555 instead of inhibit-modification-hooks.
4556
4557 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4558 a proxy, so as handle autoloads and redefinitions of the target.
4559 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4560
4561 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4562 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4563 (pcase--mutually-exclusive-p): New function.
4564 (pcase--split-consp): Use it.
4565 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4566 mutually exclusive with the current predicate.
4567
4568 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4569 (edebug-macrop): Remove. Use `macrop' instead.
4570 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4571 (ad-macro-p):
4572 * eshell/esh-cmd.el (eshell-macrop):
4573 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4574
1d44e9dc
SM
45752013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4578 (advice-mapc): New function, using it.
4579 (advice-function-member-p): New function.
4580 (advice--normalize): Store the cdr in advice--saved-rewrite since
4581 that's the part that will be changed.
4582 (advice--symbol-function): New function.
4583 (advice-remove): Handle removal before the function is defined.
4584 Adjust to new advice--saved-rewrite.
4585 (advice-member-p): Use advice-function-member-p and
4586 advice--symbol-function.
4587
5414a283
JB
45882013-08-04 Juanma Barranquero <lekktu@gmail.com>
4589
51d30f2c
JB
4590 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4591 (frameset-filter-minibuffer): Doc fix.
4592 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4593 (frameset--set-id, frameset--process-minibuffer-frames)
4594 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4595 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4596
5414a283
JB
4597 * desktop.el (desktop-clear): Only delete frames when called
4598 interactively and desktop-restore-frames is non-nil. Doc fix.
4599 (desktop-read): Set desktop-saved-frameset to nil.
4600
ab419665
XF
46012013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4602
4603 * vc/vc.el (vc-ignore): Rewrite.
4604 (vc-default-ignore-completion-table):
4605 (vc--read-lines):
4606 (vc--add-line, vc--remove-regexp): New functions.
4607
4608 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4609 (vc-svn-ignore-completion-table): New function.
4610
4611 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4612 (vc-hg-ignore-completion-table):
4613 (vc-hg-find-ignore-file): New functions.
4614
4615 * vc/vc-git.el (vc-git-ignore): Rewrite.
4616 (vc-git-ignore-completion-table):
4617 (vc-git-find-ignore-file): New functions.
4618
4619 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4620
4621 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4622 (vc-bzr-ignore-completion-table):
4623 (vc-bzr-find-ignore-file): New functions.
4624
2613dea2
JB
46252013-08-03 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * frameset.el (frameset-prop): New function and setter.
4628 (frameset-save): Do not modify frame list passed by the caller.
4629
9c959872
SM
46302013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4633
a104f656
SM
46342013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4635
70122acf
SM
4636 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4637 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4638
a104f656
SM
4639 * custom.el (custom-initialize-default, custom-initialize-set)
4640 (custom-initialize-reset, custom-initialize-changed): Affect the
4641 toplevel-default-value (bug#6275, bug#14586).
4642 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4643 for bug#6275.
4644
f078d570
JB
46452013-08-02 Juanma Barranquero <lekktu@gmail.com>
4646
185e3b5a
JB
4647 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4648 Add cl-def* expressions.
4649
f078d570
JB
4650 * frameset.el (frameset-filter-params): Fix order of arguments.
4651
9421876d
JB
46522013-08-02 Juanma Barranquero <lekktu@gmail.com>
4653
4654 Move code related to saving frames to frameset.el.
4655 * desktop.el: Require frameset.
4656 (desktop-restore-frames): Doc fix.
4657 (desktop-restore-reuses-frames): Rename from
4658 desktop-restoring-reuses-frames.
4659 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4660 (desktop-clear): Clear frames too.
4661 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4662 (desktop--filter-tty*, desktop-save, desktop-read):
4663 Use frameset functions.
4664 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4665 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4666 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4667 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4668 (desktop--process-minibuffer-frames, desktop-save-frames)
4669 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4670 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4671 (desktop--sort-states, desktop-restoring-frames-p)
4672 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4673 (desktop-restoring-frameset-p, desktop-restore-frameset)
4674 (desktop--check-dont-save, desktop-save-frameset): New functions.
4675 (desktop--app-id): New constant.
4676 (desktop-first-buffer, desktop-buffer-ok-count)
4677 (desktop-buffer-fail-count): Move before first use.
4678 * frameset.el: New file.
4679
76dc5996
SM
46802013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * files.el: Use lexical-binding.
4683 (dir-locals-read-from-file): Remove unused `err' variable.
4684 (hack-dir-local-variables--warned-coding): New var.
4685 (hack-dir-local-variables): Use it to avoid repeated warnings.
4686 (make-backup-file-name--default-function): New function.
4687 (make-backup-file-name-function): Use it as default.
4688 (buffer-stale--default-function): New function.
4689 (buffer-stale-function): Use it as default.
4690 (revert-buffer-insert-file-contents--default-function): New function.
4691 (revert-buffer-insert-file-contents-function): Use it as default.
4692 (insert-directory): Avoid add-to-list.
4693
4694 * autorevert.el (auto-revert-handler): Simplify.
4695 Use buffer-stale--default-function.
4696
06d36e2b
TH
46972013-08-01 Tassilo Horn <tsdh@gnu.org>
4698
5f648ab4
TH
4699 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4700
06d36e2b
TH
4701 * whitespace.el (whitespace-ensure-local-variables): New function.
4702 (whitespace-cleanup-region): Call it.
4703 (whitespace-turn-on): Call it.
4704
a43dc424
MA
47052013-08-01 Michael Albinus <michael.albinus@gmx.de>
4706
4707 Complete file name handlers.
4708
4709 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4710 (tramp-handle-verify-visited-file-modtime)
4711 (tramp-handle-file-notify-rm-watch): New functions.
4712 (tramp-call-process): Do not bind `default-directory'.
4713
44e18199
JB
4714 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4715 Order alphabetically.
a43dc424
MA
4716 [access-file, add-name-to-file, dired-call-process]:
4717 [dired-compress-file, file-acl, file-notify-rm-watch]:
4718 [file-ownership-preserved-p, file-selinux-context]:
4719 [make-directory-internal, make-symbolic-link, set-file-acl]:
4720 [set-file-selinux-context, set-visited-file-modtime]:
4721 [verify-visited-file-modtime]: Add handler.
4722 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4723
4724 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4725 [file-notify-add-watch, file-notify-rm-watch]:
4726 [set-file-times, set-visited-file-modtime]:
4727 [verify-visited-file-modtime]: Add handler.
4728 (with-tramp-gvfs-error-message)
4729 (tramp-gvfs-handle-set-visited-file-modtime)
4730 (tramp-gvfs-fuse-file-name): Remove.
4731 (tramp-gvfs-handle-file-notify-add-watch)
4732 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4733 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4734
44e18199
JB
4735 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4736 Order alphabetically.
a43dc424
MA
4737 [file-notify-rm-watch ]: Use default Tramp handler.
4738 [executable-find]: Remove private handler.
4739 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4740 `default-directory'.
4741 (tramp-sh-handle-executable-find)
4742 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4743 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4744 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4745 Do not use `format' in `tramp-message'.
4746
4747 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4748 [file-notify-rm-watch, set-visited-file-modtime]:
4749 [verify-visited-file-modtime]: Add handler.
4750 (tramp-smb-call-winexe): Do not bind `default-directory'.
4751
7188b515
XF
47522013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4753
4754 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4755
2412ee1a
DG
47562013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4757
4758 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4759 use it.
4760 (log-view-diff-changeset): Same.
4761 (log-view-diff-common): Call backend command `previous-revision'
4762 to find out the previous revision, in both cases. Swap the
4763 variables `to' and `fr', so that `fr' usually refers to the
4764 earlier revision (Bug#14989).
4765
5002a754
KRC
47662013-07-31 Kan-Ru Chen <kanru@kanru.info>
4767
4768 * ibuf-ext.el (ibuffer-filter-by-filename):
4769 Make it work with dired buffers too.
4770
44e18199 47712013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4772
4773 * emacs-lisp/re-builder.el (reb-color-display-p):
4774 * files.el (save-buffers-kill-terminal):
4775 * net/browse-url.el (browse-url):
4776 * server.el (server-save-buffers-kill-terminal):
4777 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4778 Prefer nil to selected-frame for the first arg of frame-parameter.
4779
aeca3fbb
XF
47802013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4781
4782 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4783
158bc55c
SB
47842013-07-30 Stephen Berman <stephen.berman@gmx.net>
4785
4786 * minibuffer.el (completion--twq-all): Try and preserve each
4787 completion's case choice (bug#14907).
4788
d50fceab
LMI
47892013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4790
ac38e731
LMI
4791 * net/network-stream.el (open-network-stream): Mention the new
4792 :nogreeting parameter.
4793 (network-stream-open-starttls): Use the :nogreeting parameter
4794 (bug#14938).
4795
1211de50
LMI
4796 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4797
997798bf
LMI
4798 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4799 more natural than popping.
4800
d50fceab 4801 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4802 (shr-urlify): Highlight under mouse.
d50fceab 4803
5c09de04
XF
48042013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4805
207d1d04
XF
4806 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4807
4808 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4809
5c09de04
XF
4810 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4811 buffer for output.
4812
3cd51eaa
XF
4813 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4814 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4815
44e18199 4816 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4817 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4818
4819 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4820
4821 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4822 buffer for output.
4823
35a89bdd
EZ
48242013-07-29 Eli Zaretskii <eliz@gnu.org>
4825
4826 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4827 initial frame is minibuffer-less. (Bug#14841)
4828
78822e94
MA
48292013-07-29 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4832 option.
4833
4834 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4835 (tramp-maybe-open-connection): Use it.
4836
9503c190
JB
48372013-07-28 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4840 minimal set of parameters passed when creating a frame, because
4841 the minibuffer status of a frame cannot be changed later.
4842
d5a845b4
SB
48432013-07-28 Stephen Berman <stephen.berman@gmx.net>
4844
4845 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4846 replace-regexp-in-string and inadvertent omissions in previous change.
4847 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4848 name of filtered items buffer.
d5a845b4 4849
ddeffb17
JB
48502013-07-28 Juanma Barranquero <lekktu@gmail.com>
4851
4852 * desktop.el: Optionally force offscreen frames back onscreen.
4853 (desktop-restoring-reuses-frames): New option.
4854 (desktop--compute-pos, desktop--move-onscreen): New functions.
4855 (desktop--make-frame): Use desktop--move-onscreen.
4856
f5950f7a
AM
48572013-07-27 Alan Mackenzie <acm@muc.de>
4858
4859 Fontify a Java generic method as a function.
4860 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4861 value to t.
4862
ae43b66a
SB
48632013-07-27 Stephen Berman <stephen.berman@gmx.net>
4864
4865 * calendar/todo-mode.el: Add command to rename todo files.
4866 (todo-rename-file): New command.
4867 (todo-key-bindings-t): Add key binding for it. Change the
4868 bindings of todo-filter-regexp-items(-multifile) to use `x'
4869 instead of `r', since the latter is better suited to the new
4870 renaming command.
4871
5ab78d3d
AM
48722013-07-27 Alan Mackenzie <acm@muc.de>
4873
4874 Make Java try-with-resources statement parse properly.
4875 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4876 (c-block-stmt-1-2-key): New language constants/variables.
4877 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4878 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4879 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4880 with c-block-stmt-1-2-key.
5ab78d3d 4881
d85c4d50
JB
48822013-07-27 Juanma Barranquero <lekktu@gmail.com>
4883
4884 * desktop.el (desktop--make-frame): Apply most frame parameters after
4885 creating the frame to force (partially or totally) offscreen frames to
4886 be restored as such.
4887
e4c467f9
XF
48882013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4889
4890 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4891 (Bug#14948)
e4c467f9 4892
7ced0d04
SM
48932013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4896 `base' arg of backtrace-frame.
4897
fec92060
EZ
48982013-07-26 Eli Zaretskii <eliz@gnu.org>
4899
4900 * simple.el (list-processes): Doc fix.
4901
d58d31fb
JB
49022013-07-26 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * desktop.el (desktop--select-frame):
d85c4d50 4905 Try harder to reuse existing frames.
d58d31fb 4906
53ff3e77
SM
49072013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4910 (edebug-eval): Use backtrace-eval.
4911 (edebug--display, edebug--recursive-edit): Don't let-bind the
4912 edebug-outer-* vars that keep track of variables we locally let-bind.
4913 (edebug-outside-excursion): Don't restore outside values of locally
4914 let-bound vars.
4915 (edebug--display): Use user-error.
4916 (cl-lexical-debug, cl-debug-env): Remove.
4917
045f7a53
JB
49182013-07-26 Juanma Barranquero <lekktu@gmail.com>
4919
4920 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4921 are restored to be sure that they are visible before deleting any
4922 remaining ones.
4923
59070b32
MM
49242013-07-26 Matthias Meulien <orontee@gmail.com>
4925
742a3501
XF
4926 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4927 vc-print-root-log. (Bug#14948)
59070b32 4928
b1fb3596
RS
49292013-07-26 Richard Stallman <rms@gnu.org>
4930
4931 Add aliases for encrypting mail.
4932 * epa.el (epa-mail-aliases): New option.
4933 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4934 Bind inhibit-read-only so read-only text doesn't ruin everything.
4935 (epa-mail-default-recipients): New subroutine broken out.
4936 Handle epa-mail-aliases.
4937
56ea7291
SM
49382013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 Add support for lexical variables to the debugger's `e' command.
4941 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4942 vars, except for debugger-outer-match-data.
4943 (debugger-frame-number): Move check for "on a function call" from
4944 callers into it. Add `skip-base' argument.
4945 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4946 (debugger-env-macro): Only reset the state stored in non-variables,
4947 i.e. current-buffer and match-data.
4948 (debugger-eval-expression): Rewrite using backtrace-eval.
4949 * subr.el (internal--called-interactively-p--get-frame): Remove.
4950 (called-interactively-p):
4951 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4952 `base' arg of backtrace-frame instead.
4953
15ac32d5
GM
49542013-07-26 Glenn Morris <rgm@gnu.org>
4955
8358a09d
GM
4956 * align.el (align-regexp): Doc fix. (Bug#14857)
4957 (align-region): Explicit error if subexpression missing/does not match.
4958
15ac32d5
GM
4959 * simple.el (global-visual-line-mode):
4960 Do not duplicate the mode lighter. (Bug#14858)
4961
f47ad11b
MR
49622013-07-25 Martin Rudalics <rudalics@gmx.at>
4963
4964 * window.el (display-buffer): In display-buffer bind
4965 split-window-keep-point to t, bug#14829.
4966
02530987
JB
49672013-07-25 Juanma Barranquero <lekktu@gmail.com>
4968
4969 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4970 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4971 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4972 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4973 Change accordingly.
f63ebeb5
JB
4974 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4975 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4976
6ccb9cab 49772013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4978
6ccb9cab 4979 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4980
cb3a56d2
JB
49812013-07-25 Juanma Barranquero <lekktu@gmail.com>
4982
4983 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4984 parameter to modify-frame-parameters if the value has not changed;
4985 this is a workaround for bug#14949.
4986 (desktop--make-frame): On cl-delete-if call, check parameter name,
4987 not full parameter.
4988
7aa7fff0
XF
49892013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4990
4991 * vc/vc.el (vc-ignore): New function.
4992
4993 * vc/vc-svn.el (vc-svn-ignore): New function.
4994
4995 * vc/vc-hg.el (vc-hg-ignore): New function.
4996
4997 * vc/vc-git.el (vc-git-ignore): New function.
4998
4999 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5000 (vc-dir-ignore): New function.
5001
5002 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5003 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5004
5005 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5006
5007 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5008
889acc5c
JB
50092013-07-24 Juanma Barranquero <lekktu@gmail.com>
5010
5011 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5012 (desktop-restore-frames): Warn when deleting an existing frame failed.
5013
86c40970
GM
50142013-07-24 Glenn Morris <rgm@gnu.org>
5015
5016 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5017
d5d3c58a
MA
50182013-07-24 Michael Albinus <michael.albinus@gmx.de>
5019
5020 * filenotify.el (file-notify-supported-p):
5021 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5022 Remove functions.
5023
5024 * autorevert.el (auto-revert-use-notify):
5025 (auto-revert-notify-add-watch):
5026 * net/tramp.el (tramp-file-name-for-operation):
5027 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5028 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5029 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5030 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5031 Remove `file-notify-supported-p' entry.
5032
d100084b
GM
50332013-07-24 Glenn Morris <rgm@gnu.org>
5034
5035 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5036 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5037
ac93e56b
SM
50382013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5039
249eea30
SM
5040 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5041 checked with memq (bug#14935).
5042
ac93e56b
SM
5043 * files.el (revert-buffer-function): Use a non-nil default.
5044 (revert-buffer-preserve-modes): Declare var to
5045 provide access to the `preserve-modes' argument.
5046 (revert-buffer): Let-bind it.
5047 (revert-buffer--default): New function, extracted from revert-buffer.
5048
2cdeb903
SM
50492013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * lpr.el: Signal print errors more prominently.
5052 (print-region-function): Don't default to nil.
5053 (lpr-print-region): New function, extracted from print-region-1.
5054 Check lpr's return value and signal an error in case of problem.
5055 (print-region-1): Use it.
5056 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5057 versions instead.
5058 (ps-printer-name): Default to nil.
5059 (ps-printer-name-option): Default to lpr-printer-switch.
5060 (ps-print-region-function): Don't default to nil.
5061 (ps-postscript-code-directory): Simplify default.
5062 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5063 (ps-string-list, ps-eval-switch, ps-flatten-list)
5064 (ps-flatten-list-1): Remove.
5065 (ps-multibyte-buffer): Avoid setq.
5066 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5067 (print-region-function, ps-print-region-function): Don't set them here.
5068
73600831
XF
50692013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5070
0e55c076
XF
5071 * ido.el (ido-fractionp):
5072 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5073 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5074 (ido-max-directory-size, ido-max-dir-file-cache)
5075 (ido-decorations): Doc fix.
5076
73600831
XF
5077 * ansi-color.el: Fix old URL.
5078
3d012865
MM
50792013-07-23 Michael R. Mauger <michael@mauger.com>
5080
e903c210 5081 * progmodes/sql.el: Version 3.3
3d012865
MM
5082 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5083 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5084 (sql-interactive-remove-continuation-prompt): Rewrite, use
5085 functions above. Fix continuation prompt and complete output line
5086 handling.
5087 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5088 redirected output buffer.
5089 (sql-mode): Restore deleted code (Bug#13591).
5090
da77a2e2
JB
50912013-07-23 Juanma Barranquero <lekktu@gmail.com>
5092
5093 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5094
80ff0c71
MA
50952013-07-23 Michael Albinus <michael.albinus@gmx.de>
5096
5097 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5098
5099 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5100 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5101 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5102
b61d71e4
JB
51032013-07-23 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * desktop.el (desktop-clear): Simplify; remove useless checks
5106 against invalid buffer names.
5107 (desktop-list*): Use cl-list*.
5108 (desktop-buffer-info, desktop-create-buffer): Simplify.
5109
c3512092
LL
51102013-07-23 Leo Liu <sdl.web@gmail.com>
5111
5112 * bookmark.el (bookmark-make-record): Restore NAME as a default
5113 value. (Bug#14933)
5114
0ac26976
SM
51152013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5116
7d22ce18
SM
5117 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5118 extracted from autoload--insert-text.
5119 (autoload--insert-text): Remove.
5120 (autoload--print-cookie-text): New function, extracted from
5121 autoload--insert-cookie-text.
5122 (autoload--insert-cookie-text): Remove.
5123 (autoload-generate-file-autoloads): Adjust calls accordingly.
5124
9b2607e8
SM
5125 * winner.el (winner-hook-installed-p): Remove.
5126 (winner-mode): Simplify accordingly.
5127
c43a8618
SM
5128 * subr.el (add-to-list): Fix compiler-macro when `append' is
5129 not constant. Don't use `cl-member' for the base case.
5130
0ac26976
SM
5131 * progmodes/subword.el: Fix boundary case (bug#13758).
5132 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5133 own group.
5134 (subword-backward-regexp): Make it a constant.
5135 (subword-forward-internal): Don't treat a trailing capital as the
5136 beginning of a word.
5137
6874724a
AR
51382013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5139
5140 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5141 global value of tabulated-list-revert-hook (bug#14930).
5142
70f1b5e8
JB
51432013-07-22 Juanma Barranquero <lekktu@gmail.com>
5144
a1c80d9d
JB
5145 * desktop.el: Require 'cl-lib.
5146 (desktop-before-saving-frames-functions): New hook.
5147 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5148 for frames being saved. Rename from desktop--save-minibuffer-frames.
5149 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5150 Do not save frames with non-nil `desktop-dont-save' parameter.
5151 Filter out deleted frames.
a1c80d9d
JB
5152 (desktop--find-frame): Use cl-find-if.
5153 (desktop--select-frame): Use cl-(first|second|third) to access values
5154 of desktop-mini.
5155 (desktop--make-frame): Use cl-delete-if.
5156 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5157 (desktop-restore-frames): Use cl-(first|second|third) to access values
5158 of desktop-mini. Look for visible frame at the end, not while
5159 restoring frames.
5160
70f1b5e8
JB
5161 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5162 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5163 Use string-match-p, looking-at-p (bug#14927).
5164
728dc3cc
JB
51652013-07-21 Juanma Barranquero <lekktu@gmail.com>
5166
56bc453c
JB
5167 * desktop.el (desktop-saved-frame-states):
5168 Rename from desktop--saved-states; all users changed.
5169 (desktop-save-frames): Rename from desktop--save-frames.
5170 Do not save state to desktop file.
5171 (desktop-save): Save desktop-saved-frame-states to desktop file
5172 and reset to nil.
5173 (desktop-restoring-frames-p): New function.
5174 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5175 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5176 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5177
728dc3cc
JB
5178 * desktop.el: Correctly restore iconified frames.
5179 (desktop--filter-iconified-position): New function.
5180 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5181
862f1c9c
GM
51822013-07-20 Glenn Morris <rgm@gnu.org>
5183
c4074c9f
GM
5184 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5185 Let `message' do the formatting.
5186 (def-gdb-preempt-display-buffer): Add explicit format.
5187
d828e5f9
GM
5188 * image-dired.el (image-dired-track-original-file):
5189 Use with-current-buffer.
5190 (image-dired-track-thumbnail): Use with-current-buffer.
5191 Avoid changing point of wrong window.
5192
862f1c9c
GM
5193 * image-dired.el (image-dired-track-original-file):
5194 Avoid changing point of wrong window. (Bug#14909)
5195
f0398ec1 51962013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5197
5198 * progmodes/gdb-mi.el (gdb-done-or-error):
5199 Guard against "%" in gdb output. (Bug#14127)
5200
1451928f
AS
52012013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5202
763a086d
JB
5203 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5204 (Bug#14826)
f7a03897 5205
1451928f
AS
5206 * international/mule.el (coding-system-iso-2022-flags): Fix last
5207 change.
5208
99107004
KH
52092013-07-20 Kenichi Handa <handa@gnu.org>
5210
763a086d
JB
5211 * international/mule.el (coding-system-iso-2022-flags):
5212 Add `8-bit-level-4'. (Bug#8522)
99107004 5213
48494e06
LMI
52142013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5215
8ba8eec5
LMI
5216 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5217 (bug#14815).
5218
dfbc66e3
LMI
5219 * net/eww.el (eww-process-text-input): Allow inputting when the
5220 point is at the start of the line, as the properties aren't
5221 front-sticky.
5222
48494e06
LMI
5223 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5224 degenerate widths.
5225
77c92cb9
RS
52262013-07-19 Richard Stallman <rms@gnu.org>
5227
aec7da77
RS
5228 * epa.el (epa-popup-info-window): Doc fix.
5229
77c92cb9
RS
5230 * subr.el (split-string): New arg TRIM.
5231
945c5bb1
JB
52322013-07-18 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5235 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5236
e06ec67f
MA
52372013-07-18 Michael Albinus <michael.albinus@gmx.de>
5238
c7064f05 5239 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5240 `file-notify-support'. Do not autoload. Adapt all uses.
5241 (file-notify-supported-p): New defun.
5242
c7064f05
JB
5243 * autorevert.el (auto-revert-use-notify):
5244 Use `file-notify-supported-p' instead of `file-notify-support'.
5245 Adapt docstring.
e06ec67f
MA
5246 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5247
5248 * net/tramp.el (tramp-file-name-for-operation):
5249 Add `file-notify-supported-p'.
5250
5251 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5252 New defun.
5253 (tramp-sh-file-name-handler-alist): Add it as handler for
5254 `file-notify-supported-p '.
5255
5256 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5257 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5258 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5259 Add `ignore' as handler for `file-notify-*' functions.
5260
5dc8a629
EZ
52612013-07-17 Eli Zaretskii <eliz@gnu.org>
5262
5263 * simple.el (line-move-partial, line-move): Don't start vscroll or
5264 scroll-up if the current line is not taller than the window.
5265 (Bug#14881)
5266
77aea2fb
DG
52672013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5268
5269 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5270 highlight question marks in the method names as strings.
ac72c08d
DG
5271 (ruby-block-beg-keywords): Inline.
5272 (ruby-font-lock-keyword-beg-re): Extract from
5273 `ruby-font-lock-keywords'.
77aea2fb 5274
18c26d81
JD
52752013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5276
5277 * frame.el (blink-cursor-blinks): New defcustom.
5278 (blink-cursor-blinks-done): New defvar.
5279 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5280 (blink-cursor-timer-function): Check if number of blinks has been
5281 done on X and NS.
5282 (blink-cursor-suspend, blink-cursor-check): New defuns.
5283
da48522e
GM
52842013-07-15 Glenn Morris <rgm@gnu.org>
5285
5286 * edmacro.el (edmacro-format-keys): Fix previous change.
5287
0463c1ef
PE
52882013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5289
5290 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5291 The hack didn't work outside English locales anyway.
5292
b43f6451
JB
52932013-07-15 Juanma Barranquero <lekktu@gmail.com>
5294
5295 * simple.el (define-alternatives): Rename from alternatives-define,
5296 per RMS' suggestion.
5297
b958c0ad
JB
52982013-07-14 Juanma Barranquero <lekktu@gmail.com>
5299
5300 * desktop.el (desktop-restore-frames): Change default to t.
5301 (desktop-restore-in-current-display): Now offer more options.
5302 (desktop-restoring-reuses-frames): New customization option.
5303 (desktop--saved-states): Doc fix.
5304 (desktop-filter-parameters-alist): New variable, renamed and expanded
5305 from desktop--excluded-frame-parameters.
5306 (desktop--target-display): New variable.
5307 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5308 (desktop--filter-tty*, desktop--filter-*-color)
5309 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5310 (desktop--filter-save-desktop-parm)
5311 (desktop-restore-in-original-display-p): New functions.
5312 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5313 (desktop--save-minibuffer-frames): New function, inspired by a similar
5314 function from Martin Rudalics.
5315 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5316 (desktop--restore-in-this-display-p): Remove.
5317 (desktop--find-frame): Rename from desktop--find-frame-in-display
5318 and add predicate argument.
5319 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5320 (desktop--reuse-list): New variable.
5321 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5322 New functions.
5323 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5324
f6dd8b36
MA
53252013-07-14 Michael Albinus <michael.albinus@gmx.de>
5326
5327 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5328
2ce3c565
DG
53292013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5330
763a086d
JB
5331 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5332 Highlight conversion methods on Kernel.
2ce3c565 5333
2cdb7698
AM
53342013-07-13 Alan Mackenzie <acm@muc.de>
5335
5336 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5337 and comment it out. This out-commenting enables certain C++
5338 declarations to be parsed correctly.
5339
1a67b811
EZ
53402013-07-13 Eli Zaretskii <eliz@gnu.org>
5341
1b796d6b
EZ
5342 * international/mule.el (define-coding-system): Doc fix.
5343
1a67b811
EZ
5344 * simple.el (default-font-height): Don't call font-info if the
5345 frame's default font didn't change since the frame was created.
5346 (Bug#14838)
5347
58fbe886
LL
53482013-07-13 Leo Liu <sdl.web@gmail.com>
5349
5350 * ido.el (ido-read-file-name): Guard against non-symbol value.
5351
1f0480d4
FEG
53522013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5353
5354 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5355 in nested defuns.
5356
97ead0e5
LL
53572013-07-13 Leo Liu <sdl.web@gmail.com>
5358
5359 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5360 ido-set-matches call. (Bug#6852)
5361
0880a952
DG
53622013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5363
5364 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5365 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5366 Ruby 2.0.
5367 (ruby-font-lock-keywords): Distinguish calls to functions with
5368 module-like names from module references. Highlight character
5369 literals.
5370
a7d8babb
SDJ
53712013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5372
5373 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5374 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5375
acfcc8c5
JB
53762013-07-12 Juanma Barranquero <lekktu@gmail.com>
5377
5378 * desktop.el (desktop--v2s): Remove unused local variable.
5379 (desktop-save-buffer): Make defvar-local; adjust docstring.
5380 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5381 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5382
051f2775
AS
53832013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5384
5385 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5386
f24e7572
GM
53872013-07-12 Eli Zaretskii <eliz@gnu.org>
5388
5389 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5390 (Bug#14842)
5391
539a920c
GM
53922013-07-12 Glenn Morris <rgm@gnu.org>
5393
5394 * doc-view.el: Require cl-lib at runtime too.
5395 (doc-view-remove-if): Remove.
5396 (doc-view-search-next-match, doc-view-search-previous-match):
5397 Use cl-remove-if.
5398
5399 * edmacro.el: Require cl-lib at runtime too.
5400 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5401 (edmacro-mismatch, edmacro-subseq): Remove.
5402
5403 * shadowfile.el: Require cl-lib.
5404 (shadow-remove-if): Remove.
5405 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5406 Use cl-remove-if.
5407
5408 * wid-edit.el: Require cl-lib.
5409 (widget-choose): Use cl-remove-if.
5410 (widget-remove-if): Remove.
5411
5412 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5413 (ebrowse-delete-if-not): Remove.
5414 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5415 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5416 Use cl-delete-if-not.
5417
1048af7c
JB
54182013-07-12 Juanma Barranquero <lekktu@gmail.com>
5419
5420 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5421 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5422
6c0674ee
LL
54232013-07-12 Leo Liu <sdl.web@gmail.com>
5424
5425 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5426
a19b3c2d
GM
54272013-07-11 Glenn Morris <rgm@gnu.org>
5428
4582a01c
GM
5429 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5430 (edebug-gensym-index, edebug-gensym):
5431 Remove reimplementation of cl-gensym.
5432 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5433
5434 * thumbs.el: Require cl-lib at run-time too.
5435 (thumbs-gensym-counter, thumbs-gensym):
5436 Remove reimplementation of cl-gensym.
5437 (thumbs-temp-file): Use cl-gensym.
5438
a19b3c2d
GM
5439 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5440 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5441 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5442 (ert--union, ert--gensym-counter, ert--gensym-counter)
5443 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5444 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5445 (ert-make-test-unbound, ert--expand-should-1)
5446 (ert--expand-should, ert--should-error-handle-error)
5447 (should-error, ert--explain-equal-rec)
5448 (ert--plist-difference-explanation, ert-select-tests)
5449 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5450 Use cl-lib functions rather than reimplementations.
5451
88f6a933
MA
54522013-07-11 Michael Albinus <michael.albinus@gmx.de>
5453
5454 * net/tramp.el (tramp-methods): Extend docstring.
5455 (tramp-connection-timeout): New defcustom.
5456 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5457 (with-tramp-progress-reporter): Simplify.
5458 (tramp-process-actions): Improve messages.
5459
5460 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5461 * net/tramp-sh.el (tramp-maybe-open-connection):
5462 Use `tramp-connection-timeout'.
5463 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5464 (Bug#14808)
5465
a43d577e
LL
54662013-07-11 Leo Liu <sdl.web@gmail.com>
5467
5468 * ido.el (ido-read-file-name): Conform to the requirements of
5469 read-file-name. (Bug#11861)
5470 (ido-read-directory-name): Conform to the requirements of
5471 read-directory-name.
5472
d77974bf
JB
54732013-07-11 Juanma Barranquero <lekktu@gmail.com>
5474
5475 * subr.el (delay-warning): New function.
5476
35cb8a3e
EZ
54772013-07-10 Eli Zaretskii <eliz@gnu.org>
5478
5479 * simple.el (default-line-height): New function.
5480 (line-move-partial, line-move): Use it instead of computing the
5481 line height inline.
5482 (line-move-partial): Always compute ROWH. If the last line is
5483 partially-visible, but its text is completely visible, allow
5484 cursor to enter such a partially-visible line.
5485
525c5c77
MA
54862013-07-10 Michael Albinus <michael.albinus@gmx.de>
5487
5488 Improve error messages. (Bug#14808)
5489
5490 * net/tramp.el (tramp-current-connection): New defvar, moved from
5491 tramp-sh.el.
0ac26976 5492 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5493 needed anymore.
0ac26976
SM
5494 (tramp-error-with-buffer): Show message in minibuffer.
5495 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5496 (with-tramp-progress-reporter): Improve messages.
5497 (tramp-process-actions): Use progress reporter. Delete process in
5498 case of error. Improve messages.
5499
763a086d
JB
5500 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5501 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5502 (tramp-current-connection): Remove.
525c5c77
MA
5503 (tramp-maybe-open-connection): The car of
5504 `tramp-current-connection' are the first 3 slots of the vector.
5505
c7a4d368
TZ
55062013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5507
5508 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5509 inside continued strings.
5510
954b166e
PE
55112013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5512
5513 Timestamp fixes for undo (Bug#14824).
5514 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5515
56973319
LL
55162013-07-10 Leo Liu <sdl.web@gmail.com>
5517
5518 * files.el (require-final-newline): Allow safe local value.
5519 (Bug#14834)
5520
5550a72c
LL
55212013-07-09 Leo Liu <sdl.web@gmail.com>
5522
5523 * ido.el (ido-read-directory-name): Handle fallback.
5524 (ido-read-file-name): Update DIR to ido-current-directory.
5525 (Bug#1516)
c28b9050 5526 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5527
70c46b28
DG
55282013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5529
5530 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5531 "autoload". Remove "warn lower camel case" section, previously
5532 commented out. Highlight negation char. Do not highlight the
5533 target in singleton method definitions.
5534
0b64b838
SM
55352013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5536
7fd72e2c
SM
5537 * faces.el (tty-setup-hook): Declare the hook.
5538
0b64b838
SM
5539 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5540 and detect when a guard/pred depends on local vars (bug#14773).
5541 (pcase--u1): Adjust caller.
5542
ab49d60b
EZ
55432013-07-08 Eli Zaretskii <eliz@gnu.org>
5544
5545 * simple.el (line-move-partial, line-move): Account for
5546 line-spacing.
701d79aa
EZ
5547 (line-move-partial): Avoid setting vscroll when the last
5548 partially-visible line in window is of default height.
ab49d60b 5549
2d756ae0
LMI
55502013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5551
5552 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5553 been used a while.
5554
ed095bd7
JB
55552013-07-07 Juanma Barranquero <lekktu@gmail.com>
5556
5557 * subr.el (read-quoted-char): Remove unused local variable `char'.
5558
f1e6674b
MK
55592013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5560
584ee3fc
GM
5561 * ediff.el (ediff-version): Version update.
5562 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5563 (ediff-merge-with-ancestor-command, ediff-directories-command)
5564 (ediff-directories3-command, ediff-merge-directories-command)
5565 (ediff-merge-directories-with-ancestor-command): New functions.
5566 All are command-line interfaces to ediff: to facilitate calling
5567 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5568
5569 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5570 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5571
584ee3fc
GM
5572 * viper.el (viper-version): Version update.
5573 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5574
584ee3fc
GM
55752013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5578 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5579 (viper-intercept-ESC-key): Simplify.
5580 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5581 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5582 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5583 (viper-setup-ESC-to-escape): New functions.
5584 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5585 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5586
9aff9b38
EZ
55872013-07-07 Eli Zaretskii <eliz@gnu.org>
5588
5165d44a
JB
5589 * simple.el (default-font-height, window-screen-lines):
5590 New functions.
9aff9b38
EZ
5591 (line-move, line-move-partial): Use them instead of
5592 frame-char-height and window-text-height. This makes scrolling
5593 text smoother when the buffer's default face uses a font that is
5594 different from the frame's default font.
5595
1afb1d07
JD
55962013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5597
5598 * files.el (write-file): Do not display confirm dialog for NS,
5599 it does its own dialog, which can't be cancelled (Bug#14578).
5600
23de972a
EZ
56012013-07-06 Eli Zaretskii <eliz@gnu.org>
5602
5603 * simple.el (line-move-partial): Adjust the row returned by
5604 posn-at-point for the current window-vscroll. (Bug#14567)
5605
54a42486
MA
56062013-07-06 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5609 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5610 spaces.
5611
34ada5f4
MR
56122013-07-06 Martin Rudalics <rudalics@gmx.at>
5613
5614 * window.el (window-state-put-stale-windows): New variable.
5615 (window--state-put-2): Save list of windows without matching buffer.
5616 (window-state-put): Remove "bufferless" windows if possible.
5617
11e03d89
JB
56182013-07-06 Juanma Barranquero <lekktu@gmail.com>
5619
5620 * simple.el (alternatives-define): Remove leftover :group keyword.
5621 Tweak docstring.
5622
3504a4be
LL
56232013-07-06 Leo Liu <sdl.web@gmail.com>
5624
5625 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5626 (ido-enable-virtual-buffers): New variable.
5627 (ido-buffer-internal, ido-toggle-virtual-buffers)
5628 (ido-make-buffer-list): Use it.
5629 (ido-exhibit): Support turning on and off virtual buffers
5630 automatically.
5631
61e56e2c
JB
56322013-07-06 Juanma Barranquero <lekktu@gmail.com>
5633
5634 * simple.el (alternatives-define): New macro.
5635
321e1a9c
SM
56362013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * subr.el (read-quoted-char): Use read-key.
5639 (sit-for): Let read-event decode tty input (bug#14782).
5640
d610f6dd
SB
56412013-07-05 Stephen Berman <stephen.berman@gmx.net>
5642
5643 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5644 mode command and externally. Fix various related bugs.
5645 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5646 (todo-delete-file): New command.
5647 (todo-check-file): New function.
5648 (todo-show): Handle external deletion of the file we're trying to
5649 show (bug#14688). Replace called-interactively-p by an optional
5650 prefix argument to avoid problematic interaction with catch form
5651 when byte compiled (bug#14702).
5652 (todo-quit): Handle external deletion of the archive's todo file.
5653 Make sure the buffer that was visiting the archive file is still
5654 live before trying to bury it.
5655 (todo-category-completions): Handle external deletion of any
5656 category completion files.
5657 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5658 of todo files, in case of external deletion.
5659 (todo-add-file): Replace unnecessary setq by let-binding.
5660 (todo-find-archive): Check whether there are any archives.
5661 Replace unnecessary setq by let-binding.
5662 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5663 archive buffer whether or not the archive already exists.
5664 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5665 check if the archive is new; if it is, update list of archives.
5666 (todo-default-todo-file): Allow nil to be a valid value for when
5667 there are no todo files.
5668 (todo-reevaluate-default-file-defcustom): Use corrected definition
5669 of todo-default-todo-file.
5670 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5671 (todo-delete-category, todo-show-categories-table)
5672 (todo-category-number): Clarify comment.
5673 (todo-filter-items): Clarify documentation string.
5674 (todo-show-current-file, todo-display-as-todo-file)
5675 (todo-reset-and-enable-done-separator): Tweak documentation string.
5676 (todo-done-separator): Make separator length window-width, since
5677 bug#2749 is now fixed.
5678
ddbdfd6f
MA
56792013-07-05 Michael Albinus <michael.albinus@gmx.de>
5680
321e1a9c
SM
5681 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5682 Support both "gvfs-monitor-dir" and "inotifywait".
5683 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5684 `tramp-sh-file-notify-process-filter'.
5685 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5686 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5687
96eb829a
LL
56882013-07-05 Leo Liu <sdl.web@gmail.com>
5689
5690 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5691
cf13177e
YM
56922013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5693
5694 * frame.el (display-pixel-height, display-pixel-width)
5695 (display-mm-height, display-mm-width): Mention behavior on
5696 multi-monitor setups in docstrings.
5697 (w32-display-monitor-attributes-list): Declare function.
5698 (display-monitor-attributes-list): Use it.
5699
864c58ca
MA
57002013-07-04 Michael Albinus <michael.albinus@gmx.de>
5701
5702 * filenotify.el: New package.
5703
5704 * autorevert.el (top): Require filenotify.el.
5705 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5706 instead.
5707 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5708 (auto-revert-notify-handler): Use `file-notify-*' functions.
5709
5710 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5711
321e1a9c
SM
5712 * net/tramp.el (tramp-file-name-for-operation):
5713 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5714
5715 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5716 for `file-notify-add-watch' and `file-notify-rm-watch'.
5717 (tramp-process-sentinel): Improve trace.
5718 (tramp-sh-handle-file-notify-add-watch)
5719 (tramp-sh-file-notify-process-filter)
5720 (tramp-sh-handle-file-notify-rm-watch)
5721 (tramp-get-remote-inotifywait): New defuns.
5722
96673afe
JL
57232013-07-03 Juri Linkov <juri@jurta.org>
5724
5725 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5726 call of `occur-read-primary-args' to interactive spec.
5727
5728 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5729 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5730
924494f4
MM
57312013-07-03 Matthias Meulien <orontee@gmail.com>
5732
5733 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5734 `Buffer-menu-multi-occur'. Add it to the menu.
5735 (Buffer-menu-mode): Document it in docstring.
5736 (Buffer-menu-multi-occur): New command. (Bug#14673)
5737
56f75efc
DG
57382013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5739
5740 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5741 keywords and built-ins.
5742
9b057d61
GM
57432013-07-03 Glenn Morris <rgm@gnu.org>
5744
208dee4d
GM
5745 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5746
9b057d61
GM
5747 Make info-xref checks case-sensitive by default
5748 * info.el (Info-find-node, Info-find-in-tag-table)
5749 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5750 Add option for exact case matching of nodes.
5751 * info-xref.el (info-xref): New custom group.
5752 (info-xref-case-fold): New option.
5753 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5754
e01aa29c
LL
57552013-07-03 Leo Liu <sdl.web@gmail.com>
5756
5757 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5758
3086ca2e
DG
57592013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5760
5761 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5762 middle of block statement initially, lower the depth. Remove
5763 FIXME comment, not longer valid. Remove middle of block statement
5764 detection, no need to do that anymore since we've been using
5765 `ruby-parse-region' here.
5766
a3b49114
JD
57672013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5768
5769 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5770
08e5c823 57712013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5772
5773 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5774
2addf922
JB
57752013-07-01 Juanma Barranquero <lekktu@gmail.com>
5776
5777 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5778 (desktop-restore-in-current-display): New customization option.
5779 (desktop--excluded-frame-parameters): Add `font'.
5780 (desktop--save-frames): Rename from desktop--save-windows.
5781 (desktop--restore-in-this-display-p): New function.
5782 (desktop--make-full-frame): Remove unwanted width/height from
5783 full(width|height) frames.
5784 (desktop--restore-frames): Rename from desktop--restore-windows.
5785 Obey desktop-restore-current-display. Do not delete old frames or
5786 select a new frame unless we were able to restore at least one frame.
5787
ef099a94
MN
57882013-06-30 Michal Nazarewicz <mina86@mina86.com>
5789
5790 * files.el (find-file-noselect): Simplify conditional expression.
5791
5792 * remember.el (remember-append-to-file):
5793 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5794
5795 Add `remember-notes' function to store random notes across Emacs
5796 restarts.
5797 * remember.el (remember-data-file): Add :set callback to affect
5798 notes buffer (if any).
5799 (remember-notes): New command.
5800 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5801 New defcustoms for the `remember-notes' function.
5802 (remember-notes-save-and-bury-buffer): New command.
5803 (remember-notes-mode-map): New variable.
5804 (remember-mode): New minor mode.
5805 (remember-notes--kill-buffer-query): New function.
5806 * startup.el (initial-buffer-choice): Add notes to custom type.
5807
0865d506
EZ
58082013-06-30 Eli Zaretskii <eliz@gnu.org>
5809
0ba54312
EZ
5810 * bindings.el (right-char, left-char): Don't call sit-for, this is
5811 no longer needed. Use arithmetic comparison only for numerical
5812 arguments.
5813
ef099a94
MN
5814 * international/mule-cmds.el (select-safe-coding-system):
5815 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5816
2fae38e5
LMI
58172013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5818
5819 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5820 progression on degenerate tables.
ef099a94 5821 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5822
a47cbd64
JB
58232013-06-30 Juanma Barranquero <lekktu@gmail.com>
5824
5825 Some fixes and improvements for desktop frame restoration.
5826 It is still experimental and disabled by default.
5827 * desktop.el (desktop--save-windows): Put the selected frame at
5828 the head of the list.
5829 (desktop--make-full-frame): New function.
5830 (desktop--restore-windows): Try to re-select the frame that was
5831 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5832 just show an error message and continue. Set up maximized frames
5833 so they have default non-maximized dimensions.
a47cbd64 5834
6dbafa30
DG
58352013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5836
ef099a94
MN
5837 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5838 Don't start heredoc inside a string or comment.
6dbafa30 5839
4c672a0f
EZ
58402013-06-29 Eli Zaretskii <eliz@gnu.org>
5841
5842 * bindings.el (visual-order-cursor-movement): New defcustom.
5843 (right-char, left-char): Provide visual-order cursor motion by
5844 calling move-point-visually. Update the doc strings.
5845
50960f36
KH
58462013-06-28 Kenichi Handa <handa@gnu.org>
5847
5848 * international/mule.el (define-coding-system): New coding system
5849 properties :inhibit-null-byte-detection,
5850 :inhibit-iso-escape-detection, and :prefer-utf-8.
5851 (set-buffer-file-coding-system): If :charset-list property of
5852 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5853 appropriate for setting.
5854
c1ea3abf
JB
5855 * international/mule-cmds.el (select-safe-coding-system):
5856 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5857 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5858
5859 * international/mule-conf.el (prefer-utf-8): New coding system.
5860 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5861 files.
5862
75dbaf9d
IK
58632013-06-28 Ivan Kanis <ivan@kanis.fr>
5864
eadb6068
IK
5865 * net/shr.el (shr-render-region): New function.
5866
75dbaf9d
IK
5867 * net/eww.el: Autoload `eww-browse-url'.
5868
9ea5cf9f
DG
58692013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5870
c1ea3abf
JB
5871 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5872 Adapt to `package-desc-version' being a list.
5873 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5874 archive element.
5875
39c0e36f
JB
58762013-06-27 Juanma Barranquero <lekktu@gmail.com>
5877
5878 New experimental feature to save&restore window and frame setup.
5879 * desktop.el (desktop-save-windows): New defcustom.
5880 (desktop--saved-states): New var.
5881 (desktop--excluded-frame-parameters): New defconst.
5882 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5883 (desktop--restore-windows, desktop--save-windows): New functions.
5884 (desktop-save): Call `desktop--save-windows'.
5885 (desktop-read): Call `desktop--restore-windows'.
5886
7f13406b
LMI
58872013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5888
ef099a94 5889 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5890
1e072639
SB
58912013-06-27 Stephen Berman <stephen.berman@gmx.net>
5892
5893 * info.el (Info-try-follow-nearest-node): Move search for footnote
5894 above search for node name to prevent missing a footnote (bug#14717).
5895
f3e2cbde
SB
58962013-06-27 Stephen Berman <stephen.berman@gmx.net>
5897
5898 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5899
99906aa0
LL
59002013-06-27 Leo Liu <sdl.web@gmail.com>
5901
5902 * net/eww.el (eww-read-bookmarks): Check file size.
5903
539f75f4
SM
59042013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5907 advice--pending if newdef is nil or an autoload (bug#13820).
5908 (advice-mapc): New function.
5909
843571cb
LMI
59102013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5911
5912 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5913 probably.
23a75d7f 5914 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5915 (eww-add-bookmark): New command.
5916 (eww-bookmark-mode): New mode and commands.
a285ce99 5917 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5918 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5919
f2136e1e
GM
59202013-06-26 Glenn Morris <rgm@gnu.org>
5921
eab35f39
GM
5922 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5923 (hfy-size): Handle ttys. (Bug#14668)
5924
f2136e1e
GM
5925 * info-xref.el: Update for Texinfo 5 change in *note format.
5926 (info-xref-node-re, info-xref-note-re): New constants.
5927 (info-xref-check-buffer): Use info-xref-note-re.
5928
a49ff80c
SM
59292013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5930
a343d218
SM
5931 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5932
a49ff80c
SM
5933 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5934 nil terminate the loop (bug#14718).
5935
8308f184
LMI
59362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5937
5938 * net/eww.el: Rework history traversal. When going forward/back,
5939 put these actions into the history, too, so that they can be
5940 replayed.
26bf2b82 5941 (eww-render): Move the history reset to the correct buffer.
8308f184 5942
ec64c273
JL
59432013-06-25 Juri Linkov <juri@jurta.org>
5944
5945 * files-x.el (modify-dir-local-variable): Change the header comment
5946 in the file with directory local variables. (Bug#14692)
5947
e080a9d7
JL
5948 * files-x.el (read-file-local-variable-value): Add `default'.
5949 (Bug#14710)
5950
bfbc93a1
IK
59512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5952
5953 * net/eww.el (eww-make-unique-file-name): Create a unique file
5954 name before saving to entering `y' accidentally asynchronously.
5955
59562013-06-25 Ivan Kanis <ivan@kanis.fr>
5957
5958 * net/eww.el (eww-download): New command and keystroke.
5959
16f74f10
LMI
59602013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5961
a49ff80c 5962 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5963
5964 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5965 be more consistent with Info and dired.
5966
5967 * net/eww.el (eww-mode-map): Ditto.
5968
12059709
SM
59692013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5972 packages from archives.
5973 (package-archive-contents): Change format; include obsolete packages.
5974 (package-desc): Use `dir' to mark builtin packages.
5975 (package--from-builtin): Set the `dir' field to `builtin'.
5976 (generated-autoload-file, version-control): Declare.
5977 (package-compute-transaction): Change first arg and return value to be
5978 lists of package-descs. Adjust to new package-archive-contents format.
5979 (package--add-to-archive-contents): Adjust to new
5980 package-archive-contents format.
5981 (package-download-transaction): Arg is now a list of package-descs.
5982 (package-install): If `pkg' is a package name, pass it as
5983 a requirement, so it is subject to the usual (e.g. disabled) checks.
5984 (describe-package): Accept package-desc as well.
5985 (describe-package-1): Describe a specific package-desc. Add links to
5986 other package-descs for the same package name.
5987 (package-menu-describe-package): Pass the actual package-desc.
5988 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5989 works correctly.
5990 (package-desc-status): New function.
5991 (package-menu--refresh): New function, extracted
5992 from package-menu--generate.
5993 (package-menu--generate): Use it.
5994 (package-delete): Update package-alist.
5995 (package-menu-execute): Don't call package-initialize.
5996
5997 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5998 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5999 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6000 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6001 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6002 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6003
8bbdea0f
MR
60042013-06-25 Martin Rudalics <rudalics@gmx.at>
6005
6006 * window.el (window--state-get-1): Workaround for bug#14527.
6007 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6008
e82b0991
LMI
60092013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6010
6011 * net/eww.el (eww-back-url): Implement the history by stashing all
6012 the data into a list.
d3f0f918 6013 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6014
c763842b
SM
60152013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6018 for values and use read--expression for expressions (bug#14710).
6019 (read-file-local-variable): Avoid setq.
6020 (read-file-local-variable-mode): Use minor-mode-list.
6021
bceff189
RW
60222013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6023
864c58ca 6024 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6025 for DOI URLs.
6026
45f431c6
RW
60272013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6028
864c58ca 6029 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6030 Update imenu-support when dialect changes.
6031
f42d8237
LL
60322013-06-25 Leo Liu <sdl.web@gmail.com>
6033
6034 * ido.el (ido-read-internal): Allow forward slash on windows.
6035
be549ce6
LMI
60362013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6037
6038 * net/eww.el (eww): Start of strings is \\`, not ^.
6039
71d4c19d
IK
60402013-06-24 Ivan Kanis <ivan@kanis.fr>
6041
5196f88a
IK
6042 * net/shr.el (shr-browse-url): Fix interactive spec.
6043
71d4c19d
IK
6044 * net/eww.el (eww): Add a trailing slash to domain names.
6045
ae36ca55
JB
60462013-06-24 Juanma Barranquero <lekktu@gmail.com>
6047
6048 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6049
0ebd92a3
LMI
60502013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6051
bdaa086b
LMI
6052 * net/shr.el (shr-browse-url): Use an external browser if given a
6053 prefix.
6054
c763842b 6055 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6056
b89fc156
IK
60572013-06-24 Ivan Kanis <ivan@kanis.fr>
6058
6059 * net/eww.el (eww): Work more correctly for file: URLs.
6060 (eww-detect-charset): Allow quoted charsets.
6061 (eww-yank-page-url): New command and keystroke.
6062
18eb4bca
DU
60632013-06-24 Daiki Ueno <ueno@gnu.org>
6064
6065 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6066 file name of gpg executable.
6067 (epg-context-program): New function.
6068 (epg-context-home-directory): New function.
6069 (epg-context-set-program): New function.
6070 (epg-context-set-home-directory): New function.
6071 (epg--start): Use `epg-context-program' instead of
6072 'epg-gpg-program'.
6073 (epg--list-keys-1): Likewise.
6074
6c6268c8
LL
60752013-06-24 Leo Liu <sdl.web@gmail.com>
6076
6077 * ido.el (ido-read-internal): Fix bug#14620.
6078
5e400cb3
JB
60792013-06-23 Juanma Barranquero <lekktu@gmail.com>
6080
6081 * faces.el (face-documentation): Simplify.
6082 (read-face-attribute, tty-find-type, x-resolve-font-name):
6083 Use `string-match-p'.
6084 (list-faces-display): Use `string-match-p'. Simplify.
6085 (face-spec-recalc): Check face to avoid face alias loops.
6086 (read-color): Use `string-match-p' and non-capturing parenthesis.
6087
f3f9606c
LMI
60882013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
6090 * net/shr.el (shr-rescale-image): Use the new
6091 :max-width/:max-height functionality.
6092
a3ca09b9
IK
60932013-06-23 Ivan Kanis <ivan@kanis.fr>
6094
6095 * net/eww.el (eww-search-prefix): New variable.
6096 (eww): Use it.
f865b474
IK
6097 (eww-external-browser): New variable.
6098 (eww-mode-map): New keystroke.
6099 (eww-browse-with-external-browser): New command.
a3ca09b9 6100
e854cfc7
IK
6101 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6102
18bb9e21
JB
61032013-06-23 Juanma Barranquero <lekktu@gmail.com>
6104
6105 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6106 Don't skip aligning the next header field when padding is 0;
6107 otherwise, field width is not respected unless the title is as
6108 wide as the field.
6109
5b165ade
SM
61102013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/package.el (package-el-version): Remove.
6113 (package-process-define-package): Fix inf-loop.
6114 (package-install): Allow symbols as arguments again.
6115
12adebe9
DG
61162013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6117
6118 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6119 add some more keyword-like methods.
6120 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6121
388573ee
JB
61222013-06-22 Juanma Barranquero <lekktu@gmail.com>
6123
6124 * bs.el (bs-buffer-show-mark): Make defvar-local.
6125 (bs-mode): Use setq-local.
6126
6127 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6128 (emacs-lock--try-unlocking): Make defvar-local.
6129
4582a01c 61302013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6131
2663dd23
GM
6132 * play/cookie1.el (cookie-apropos): Minor simplification.
6133
3d94f3ad
GM
6134 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6135
f72e2fdb
DG
61362013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6137
6138 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6139 `regexp-opt', it breaks the build during dumping.
6140
73eab938
DG
61412013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6142
c763842b
SM
6143 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6144 Highlight keyword-like methods on Kernel and Module with
73eab938 6145 font-lock-builtin-face.
5cf8176d
DG
6146 (auto-mode-alist): Consolidate different entries into one regexp
6147 and add more *file-s.
73eab938 6148
d26255f6
SB
61492013-06-21 Stephen Berman <stephen.berman@gmx.net>
6150
6151 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6152
6153 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6154 (diary-entry): Use it in the action of this button type instead of
6155 diary-goto-entry.
6156
6157 * calendar/todo-mode.el: New version.
6158 (todo-add-category): Append new category to end of file and give
6159 it the highest number, instead of putting it at the beginning and
6160 giving it 0. Incorporate noninteractive functionality.
6161 (todo-forward-category): Adapt to 1-based category numbering.
6162 Allow skipping over archived categories.
6163 (todo-backward-category): Derive from todo-forward-category.
6164 (todo-backward-item, todo-forward-item): Make noninteractive and
6165 delegate interactive part to new commands. Make sensitive to done items.
6166 (todo-categories): Make value an alist of category names and
6167 vectors of item counts.
6168 (todo-category-beg): Make a defconst.
6169 (todo-category-number): Use 1 instead of 0 as initial value.
6170 (todo-category-select): Make sensitive to overlays, optional item
6171 highlighting and done items.
6172 (todo-delete-item): Make sensitive to overlays and marked and done items.
6173 (todo-edit-item): Make sensitive to overlays and editing of
6174 date/time header optional. Add format checks.
6175 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6176 no-op if point is not on an item. Advertise using todo-edit-quit.
6177 (todo-edit-mode): Make sensitive to new format, font-locking, and
6178 multiple todo files.
6179 (todo-insert-item, todo-insert-item-here): Derive from
6180 todo-basic-insert-item and extend functionality.
6181 (todo-item-end, todo-item-start): Make sensitive to done items.
6182 (todo-item-string): Don't return text properties. Restore point.
6183 (todo-jump-to-category): Make sensitive to multiple todo files and
6184 todo archives. Use extended category completion.
6185 (todo-lower-item, todo-raise-item): Rename to *-priority and
6186 derive from todo-set-item-priority.
6187 (todo-mode): Derive from special-mode. Make sensitive to new
6188 format, font-locking and multiple todo files. Make read-only.
6189 (todo-mode-map): Don't suppress digit keys, so they can supply
6190 prefix arguments. Add many new key bindings.
6191 (todo-prefix): Insert as an overlay instead of file text.
6192 Change semantics from diary date expression to purely visual mark.
6193 (todo-print): Rename to todo-print-buffer. Make buffer display
6194 features printable. Remove option to restrict number of items
6195 printed. Add option to print to file.
6196 (todo-print-function): Rename to todo-print-buffer-function.
6197 (todo-quit): Extend to handle exiting new todo modes.
6198 (todo-remove-item): Make sensitive to overlays.
6199 (todo-save): Extend to buffers of filtered items.
6200 (todo-show): Make sensitive to done items, multiple todo files and
6201 new todo modes. Offer to convert legacy todo file before creating
6202 first new todo file.
6203 (todo-show-priorities): Rename to todo-top-priorities.
6204 Change semantics of value 0.
6205 (todo-top-priorities): Rename to todo-filter-top-priorities,
6206 derive from todo-filter-items and extend functionality.
6207 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6208 and extend functionality to other types of filtered items.
6209 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6210 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6211 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6212 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6213 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6214 (todo-edit-mode-hook, todo-entry-prefix-function)
6215 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6216 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6217 (todo-initials, todo-insert-threshold, todo-item-string-start)
6218 (todo-line-string, todo-menu, todo-mode-hook)
6219 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6220 (todo-print-priorities, todo-remove-separator)
6221 (todo-save-top-priorities-too, todo-string-count-lines)
6222 (todo-string-multiline-p, todo-time-string-format)
6223 (todo-tmp-buffer-name): Remove.
6224 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6225 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6226 (todo-edit-category-diary-inclusion)
6227 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6228 (todo-edit-file, todo-edit-item-date-day)
6229 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6230 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6231 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6232 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6233 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6234 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6235 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6236 (todo-filter-top-priorities-multifile, todo-find-archive)
6237 (todo-find-filtered-items-file, todo-go-to-source-item)
6238 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6239 (todo-jump-to-archive-category, todo-lower-category)
6240 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6241 (todo-move-category, todo-move-item, todo-next-button)
6242 (todo-next-item, todo-padded-string, todo-powerset)
6243 (todo-previous-button, todo-previous-item)
6244 (todo-print-buffer-to-file, todo-raise-category)
6245 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6246 (todo-set-category-number, todo-set-item-priority)
6247 (todo-set-top-priorities-in-category)
6248 (todo-set-top-priorities-in-file, todo-show-categories-table)
6249 (todo-sort-categories-alphabetically-or-numerically)
6250 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6251 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6252 (todo-toggle-item-header, todo-toggle-item-highlighting)
6253 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6254 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6255 (todo-unarchive-items, todo-unmark-category): New commands.
6256 (todo-absolute-file-name, todo-add-to-buffer-list)
6257 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6258 (todo-basic-insert-item, todo-category-completions)
6259 (todo-category-number, todo-category-string-matcher-1)
6260 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6261 (todo-check-format, todo-clear-matches)
6262 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6263 (todo-current-category, todo-date-string-matcher)
6264 (todo-define-insertion-command, todo-diary-expired-matcher)
6265 (todo-diary-goto-entry, todo-diary-item-p)
6266 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6267 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6268 (todo-done-item-section-p, todo-done-separator)
6269 (todo-done-string-matcher, todo-files, todo-filter-items)
6270 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6271 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6272 (todo-insert-category-line, todo-insert-item-from-calendar)
6273 (todo-insert-sort-button, todo-insert-with-overlays)
6274 (todo-insertion-command-name, todo-insertion-key-bindings)
6275 (todo-label-to-key, todo-longest-category-name-length)
6276 (todo-make-categories-list, todo-mode-external-set)
6277 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6278 (todo-modes-set-3, todo-multiple-filter-files)
6279 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6280 (todo-read-category, todo-read-date, todo-read-dayname)
6281 (todo-read-file-name, todo-read-time)
6282 (todo-reevaluate-category-completions-files-defcustom)
6283 (todo-reevaluate-default-file-defcustom)
6284 (todo-reevaluate-filelist-defcustoms)
6285 (todo-reevaluate-filter-files-defcustom)
6286 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6287 (todo-reset-done-separator, todo-reset-done-separator-string)
6288 (todo-reset-done-string, todo-reset-global-current-todo-file)
6289 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6290 (todo-reset-prefix, todo-set-categories)
6291 (todo-set-date-from-calendar, todo-set-show-current-file)
6292 (todo-set-top-priorities, todo-short-file-name)
6293 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6294 (todo-total-item-counts, todo-update-buffer-list)
6295 (todo-update-categories-display, todo-update-categories-sexp)
6296 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6297 New functions.
6298 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6299 New major modes.
6300 (todo-categories, todo-display, todo-edit, todo-faces)
6301 (todo-filtered): New defgroups.
6302 (todo-archived-only, todo-button, todo-category-string, todo-date)
6303 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6304 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6305 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6306 (todo-add-item-if-new-category, todo-always-add-time-string)
6307 (todo-categories-align, todo-categories-archived-label)
6308 (todo-categories-category-label, todo-categories-diary-label)
6309 (todo-categories-done-label, todo-categories-number-separator)
6310 (todo-categories-todo-label, todo-categories-totals-label)
6311 (todo-category-completions-files, todo-completion-ignore-case)
6312 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6313 (todo-done-separator-string, todo-done-string)
6314 (todo-files-function, todo-filter-done-items, todo-filter-files)
6315 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6316 (todo-initial-category, todo-initial-file, todo-item-mark)
6317 (todo-legacy-date-time-regexp, todo-mode-line-function)
6318 (todo-nondiary-marker, todo-number-prefix)
6319 (todo-print-buffer-function, todo-show-current-file)
6320 (todo-show-done-only, todo-show-first, todo-show-with-done)
6321 (todo-skip-archived-categories, todo-top-priorities-overrides)
6322 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6323 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6324 New defcustoms.
6325 (todo-category-done, todo-date-pattern, todo-date-string-start)
6326 (todo-diary-items-buffer, todo-done-string-start)
6327 (todo-filtered-items-buffer, todo-item-start)
6328 (todo-month-abbrev-array, todo-month-name-array)
6329 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6330 (todo-top-priorities-buffer): New defconsts.
6331 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6332 (todo-categories-with-marks, todo-category-string-face)
6333 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6334 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6335 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6336 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6337 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6338 (todo-font-lock-keywords, todo-global-current-todo-file)
6339 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6340 (todo-insertion-commands-args)
6341 (todo-insertion-commands-args-genlist)
6342 (todo-insertion-commands-names, todo-insertion-map)
6343 (todo-key-bindings-t, todo-key-bindings-t+a)
6344 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6345 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6346 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6347 (todo-visited): New variables.
6348
cad5d1cb
GM
63492013-06-21 Glenn Morris <rgm@gnu.org>
6350
6351 * play/cookie1.el (cookie-apropos): Add optional display argument.
6352 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6353 (psychoanalyze-pinhead): Use cookie-doctor.
6354
9e277302
JB
63552013-06-21 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * emacs-lisp/package.el (tar-get-file-descriptor)
6358 (tar--extract): Declare.
6359
c5b0993e
EW
63602013-06-21 Eduard Wiebe <usenet@pusto.de>
6361
6362 Extend flymake's warning predicate to be a function (bug#14217).
6363 * progmodes/flymake.el (flymake-warning-predicate): New.
6364 (flymake-parse-line): Use it.
6365 (flymake-warning-re): Make obsolete alias to
6366 `flymake-warning-predicate'.
6367
a7d2d465
SM
63682013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6371 (package-obsolete-list): Remove.
6372 (package-activate): Remove min-version argument. Add `force' argument.
6373 Adjust to new package-alist format.
6374 (package-mark-obsolete): Remove.
6375 (package-unpack): Force reload of the package's autoloads.
6376 (package-installed-p): Check builtins if the installed package is not
6377 recent enough.
6378 (package-initialize): Don't reset package-obsolete-list.
6379 Don't specify which package version to activate.
6380 (package-process-define-package, describe-package-1)
6381 (package-menu--generate): Adjust to new package-alist format.
6382
cedf5c9d
JB
63832013-06-21 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * allout-widgets.el (allout-widgets-mode-off)
6386 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6387 (allout-widgets-post-command-business)
6388 (allout-widgets-after-copy-or-kill-function)
6389 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6390 (allout-decorate-item-and-context)
6391 (allout-graphics-modification-handler): Fix typos in docstrings.
6392 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6393
6394 * cmuscheme.el (scheme-start-file): Doc fix.
6395 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6396 (scheme-input-filter): Use `string-match-p'.
6397
6398 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6399
6400 * dired-x.el: Use Dired consistently in docstrings.
6401
6402 * dired.el: Use Dired consistently in docstrings.
6403 (dired-readin, dired-mode): Use `setq-local'.
6404 (dired-switches-alist): Make defvar-local.
6405 (dired-buffers-for-dir): Use `zerop'.
6406 (dired-safe-switches-p, dired-switches-escape-p)
6407 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6408 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6409 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6410 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6411 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6412 (dired-toggle-marks, dired-mark-files-containing-regexp)
6413 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6414 (dired-flag-auto-save-files, dired-flag-backup-files):
6415 Use `looking-at-p'.
6416 (dired-mark-files-regexp, dired-build-subdir-alist):
6417 Use `string-match-p', `looking-at-p'.
6418
6419 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6420 (direct-print-region-helper): Use `string-match-p'.
6421
aed838b5
LL
64222013-06-21 Leo Liu <sdl.web@gmail.com>
6423
cedf5c9d
JB
6424 * comint.el (comint-redirect-results-list-from-process):
6425 Fix infinite loop.
aed838b5 6426
d80a808f
LMI
64272013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6428
6429 * net/eww.el (eww-update-header-line-format): Quote % characters.
6430
e7a526e3
GM
64312013-06-21 Glenn Morris <rgm@gnu.org>
6432
6433 * play/cookie1.el (cookie): New custom group.
6434 (cookie-file): New option.
6435 (cookie-check-file): New function.
6436 (cookie): Make it interactive. Make start and end messages optional.
6437 Interactively, display the result. Default to cookie-file.
6438 (cookie-insert): Default to cookie-file.
6439 (cookie-snarf): Make start and end messages optional.
6440 Default to cookie-file. Use with-temp-buffer.
6441 (cookie-read): Rename from read-cookie.
6442 Make start and end messages optional. Default to cookie-file.
6443 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6444 Do not autoload it.
e7a526e3
GM
6445 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6446 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6447
62efb35e
LL
64482013-06-21 Leo Liu <sdl.web@gmail.com>
6449
6450 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6451
21e3f963
GM
64522013-06-21 Glenn Morris <rgm@gnu.org>
6453
6454 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6455
fd846ab4
SM
64562013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6457 Daniel Hackney <dan@haxney.org>
6458
6459 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6460 Consolidate the single-file vs tarball code.
6461 (package-desc-suffix): New function.
6462 (package-desc-full-name): Don't bother inlining it.
6463 (package-load-descriptor): Return the new package-desc.
6464 (package-mark-obsolete): Remove unused arg `package'.
6465 (package-unpack): Make it work for single files as well.
6466 Make it update package-alist.
6467 (package--make-autoloads-and-stuff): Rename from
6468 package--make-autoloads-and-compile. Don't compile any more.
6469 (package--compile): New function.
6470 (package-generate-description-file): New function, extracted from
6471 package-unpack-single.
6472 (package-unpack-single): Remove.
6473 (package--with-work-buffer): Add indentation and debugging info.
6474 (package-download-single): Remove.
6475 (package-install-from-archive): Rename from package-download-tar, make
6476 it take a pkg-desc, and make it work for single files as well.
6477 (package-download-transaction): Simplify.
6478 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6479 external tar program.
6480 (package-install-from-buffer): Remove `pkg-desc' argument.
6481 Use package-tar-file-info for tar-mode buffers.
6482 (package-install-file): Simplify accordingly.
6483 (package-archive-base): Change to take a pkg-desc.
6484 * tar-mode.el (tar--check-descriptor): New function, extracted from
6485 tar-get-descriptor.
6486 (tar-get-descriptor): Use it.
6487 (tar-get-file-descriptor): New function.
6488 (tar--extract): New function, extracted from tar-extract.
6489 (tar--extract): Use it.
6490 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6491 case the summary uses non-ascii. Adjust to new calling convention of
6492 package-tar-file-info.
6493
b7deae5e
LL
64942013-06-21 Leo Liu <sdl.web@gmail.com>
6495
fd846ab4
SM
6496 * comint.el (comint-redirect-results-list-from-process):
6497 Fix random delay. (Bug#14681)
b7deae5e 6498
7a65a0b2
JB
64992013-06-21 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * profiler.el (profiler-format-number): Use log, not log10.
6502
1493c2af
JB
65032013-06-20 Juanma Barranquero <lekktu@gmail.com>
6504
6505 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6506
aff6371e
SM
65072013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6510 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6511 yet available.
6512 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6513 (AUTOGENEL): ... here.
6514 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6515 (cl--defsubst-expand): Use it.
6516
89561f72
PE
65172013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6518
6519 * subr.el (log10): Move here from C code, and declare as obsolete.
6520 All uses of (log10 X) replaced with (log X 10).
6521
47199123
JB
65222013-06-20 Juanma Barranquero <lekktu@gmail.com>
6523
6524 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6525 Declare with `defvar-local'.
6526 (tabulated-list-use-header-line, tabulated-list-entries)
6527 (tabulated-list-padding, tabulated-list-printer)
6528 (tabulated-list-sort-key): Declare with `defvar-local'.
6529 (tabulated-list-init-header, tabulated-list-print-fake-header):
6530 Use `setq-local'.
6531
4a172eab
MA
65322013-06-20 Michael Albinus <michael.albinus@gmx.de>
6533
47199123
JB
6534 * arc-mode.el (archive-mode): Add `archive-write-file' to
6535 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6536
5fc0acc0
JB
65372013-06-20 Juanma Barranquero <lekktu@gmail.com>
6538
d5b27848
JB
6539 * cus-edit.el (custom-commands): Fix typos.
6540 (custom-display): Fix tooltip text.
6541 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6542 Fix typos in docstrings.
6543 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6544 (custom-unlispify-menu-entry, custom-magic-value-create)
6545 (custom-add-see-also, custom-group-value-create): Use ?\s.
6546 (custom-guess-type, customize-apropos, editable-field)
6547 (custom-face-value-create): Use `string-match-p'.
6548 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6549
6550 * custom.el (custom-load-symbol): Use `string-match-p'.
6551
a5c581d8
JB
6552 * ansi-color.el: Convert to lexical binding.
6553 (ansi-colors): Fix URL.
6554 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6555 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6556 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6557
970ad972
G
65582013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6559
6560 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6561
6562 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6563
65642013-06-19 Tom Tromey <tromey@redhat.com>
6565
6566 * net/eww.el (eww-top-url): Remove.
6567 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6568 (eww-render): Set new variables. Don't set eww-top-url.
6569 (eww-handle-link): Handle "prev", "home", and "contents".
6570 Downcase the rel text.
6571 (eww-top-url): Choose best top URL.
6572
65732013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574
6575 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6576 relying in widget.el. Using widget.el leads to too many
6577 user interface inconsistencies.
6578 (eww-self-insert): Implement entering commands in text fields.
6579 (eww-process-text-input): New function to make text input field editing
6580 work.
6581 (eww-submit): Rewrite to use the new-style form methods.
6582 (eww-select-display): Display the correct selected item.
6583 (eww-change-select): Implement changing the select value.
6584 (eww-toggle-checkbox): Implement radio/checkboxes.
6585 (eww-update-field): Fix compilation error.
6586 (eww-tag-textarea): Implement <textarea>.
6587
6588 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6589 we don't shadow mode-specific bindings.
6590
6591 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6592 nothing to push.
6593
6594 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6595
4582a01c 65962013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6597
6598 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6599
15b263dc
MA
66002013-06-19 Michael Albinus <michael.albinus@gmx.de>
6601
6602 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6603 not needed.
6604
6605 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6606
8f5297f7
LMI
66072013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6608
6609 * net/browse-url.el (browse-url-browser-function):
6610 `eww-browse-url' has the right calling signature, `eww' does not.
6611
011c4552
GM
66122013-06-19 Glenn Morris <rgm@gnu.org>
6613
2285bd27
GM
6614 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6615 Only eval autoloaded macros.
6616 (byte-compile-autoload): Only give the macro warning for macros.
6617
1d653303
GM
6618 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6619 (ps-underlined-faces): Declare.
6620
bdd779ec
GM
6621 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6622 (speedbar-add-supported-extension): Declare.
6623
011c4552
GM
6624 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6625 Don't include a date stamp in the header of the generated file;
6626 it leads to needless differences between output files.
6627
e59dfb0e
MA
66282013-06-19 Michael Albinus <michael.albinus@gmx.de>
6629
c763842b
SM
6630 * net/secrets.el (secrets-struct-secret-content-type):
6631 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6632 Some servers do not offer introspection.
e59dfb0e 6633
102626e2
SM
66342013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * electric.el (electric-pair-mode): Improve interaction with
6637 electric-layout-mode.
6638 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6639 (electric-pair-syntax): Use text-mode-syntax-table in comments
6640 and strings.
6641 (electric-pair--insert): New function.
6642 (electric-pair-post-self-insert-function): Use it and
6643 electric--after-char-pos.
6644
ad528125
LL
66452013-06-19 Leo Liu <sdl.web@gmail.com>
6646
6647 * progmodes/octave.el (octave-help): Fix regexp.
6648
924d6997
G
66492013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6650
6651 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6652 (shr-table-horizontal-line): Allow nil as a value, and change the
6653 default.
6654 (shr-insert-table-ruler): Respect the nil value.
6655
66562013-06-18 Tom Tromey <tromey@barimba>
6657
6658 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6659 New defvars.
6660 (eww-open-file): New defun.
6661 (eww-render): Initialize new variables.
6662 (eww-display-html): Handle "link" and "a".
6663 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6664 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6665 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6666 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6667 New defuns.
924d6997 6668
d1bbba4f
DG
66692013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6670
6671 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6672 Distinguish ternary operator tokens from slash symbol and slash
6673 char literal.
6674
14dd22d2
JB
66752013-06-18 Juanma Barranquero <lekktu@gmail.com>
6676
6677 Convert symbol prettification into minor mode and global minor mode.
6678
6679 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6680 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6681 (prettify-symbols--keywords): Rename from
6682 `prog-prettify-symbols-alist' and make a local defvar.
6683 (prettify-symbols--compose-symbol): Rename from
6684 `prog--prettify-font-lock-compose-symbol'.
6685 (prettify-symbols--make-keywords): Rename from
6686 `prog-prettify-font-lock-symbols-keywords' and simplify.
6687 (prog-prettify-install): Remove.
6688 (prettify-symbols-mode): New minor mode, based on
6689 `prog-prettify-install'.
6690 (turn-on-prettify-symbols-mode): New function.
6691 (global-prettify-symbols-mode): New globalized minor mode.
6692
6693 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6694 * progmodes/cfengine.el (cfengine3-mode):
6695 * progmodes/perl-mode.el (perl-mode): Don't call
6696 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6697
292c880c
JL
66982013-06-18 Juri Linkov <juri@jurta.org>
6699
6700 * files-x.el (modify-file-local-variable-message): New function.
6701 (modify-file-local-variable)
6702 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6703 and call `modify-file-local-variable-message' when it's non-nil.
6704 (add-file-local-variable, delete-file-local-variable)
6705 (add-file-local-variable-prop-line)
6706 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6707 and use it. (Bug#9820)
6708
0950aa27
JL
67092013-06-18 Juri Linkov <juri@jurta.org>
6710
6711 * emulation/vi.el (vi-shell-op):
6712 * emulation/vip.el (vip-execute-com, ex-command):
6713 * emulation/viper-cmd.el (viper-exec-bang):
6714 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6715 the call of `shell-command-on-region'. (Bug#14637)
6716
6717 * simple.el (shell-command-on-region): Doc fix.
6718
8fbcca16
SM
67192013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6722 (bug#14633).
6723
dd7426ea
GM
67242013-06-18 Glenn Morris <rgm@gnu.org>
6725
4ba54f7d
GM
6726 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6727
dd7426ea
GM
6728 * newcomment.el (comment-search-forward, comment-search-backward):
6729 Doc fix. (Bug#14376)
6730
58aa805b
JB
67312013-06-18 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6734 (buffer-face-mode-invoke): Doc fix.
6735
9a08a617
MM
67362013-06-18 Matthias Meulien <orontee@gmail.com>
6737
6738 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6739 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6740
f2f426ca
GM
67412013-06-18 Glenn Morris <rgm@gnu.org>
6742
9445f99b
GM
6743 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6744 Replace obsolete function generic-make-keywords with its expansion.
6745
e0df2d14
GM
6746 * progmodes/python.el (ffap-alist): Declare.
6747
f2f426ca
GM
6748 * textmodes/reftex.el (bibtex-mode-map): Declare.
6749
f7f9a720
SM
67502013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6753 (package-unpack, package-unpack-single): Return the pkg-dir.
6754 (package-download-transaction): Use it to update package-alist.
6755
57ff04e0
LMI
67562013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
6758 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6759 possible choice.
6760
c048c022
JL
67612013-06-17 Juri Linkov <juri@jurta.org>
6762
6763 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6764
b5bcaee5
DG
67652013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6766
a020afb9
JB
6767 * emacs-lisp/package.el (package-load-descriptor):
6768 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6769 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6770
551e07e5
JB
67712013-06-17 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * startup.el (command-line): Expand package name returned by
6774 `package--description-file' (bug#14639).
6775
d363bffb
DG
67762013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6777
6778 * emacs-lisp/package.el (package-load-descriptor): Do not call
6779 `emacs-lisp-mode', just use its syntax table.
6780
f612933b
JB
67812013-06-17 Juanma Barranquero <lekktu@gmail.com>
6782
6783 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6784 `font-lock-extra-managed-props' if any prettifying keyword is added.
6785 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6786 (prog-mode): Use `setq-local'.
6787
db3b7db5
SM
67882013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * international/characters.el (standard-case-table): Set syntax of ?»
6791 and ?« to punctuation.
6792
f3d674df
JB
67932013-06-16 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6796 Save relevant match data before calling `syntax-ppss' (bug#14595).
6797
31489a32
JL
67982013-06-15 Juri Linkov <juri@jurta.org>
6799
6800 * files-x.el (modify-file-local-variable-prop-line): Add local
6801 variables to the end of the existing comment on the first line.
6802 Use `file-auto-mode-skip' to skip interpreter magic line,
6803 and also skip XML declaration.
6804
66bd25ab
SM
68052013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * startup.el (package--builtin-versions): New var.
6808 (package-subdirectory-regexp): Remove.
6809 (package--description-file): Hard code its value instead.
6810
6811 * emacs-lisp/package.el: Don't activate packages older than builtin.
6812 (package-obsolete-list): Rename from package-obsolete-alist, and make
6813 it into a simple list of package-desc.
6814 (package-strip-version): Remove.
6815 (package-built-in-p): Use package--builtin-versions.
6816 (package-mark-obsolete): Simplify.
6817 (package-process-define-package): Mark it obsolete if older than the
6818 builtin version.
6819 (package-handle-response): Use line-end-position.
6820 (package-read-archive-contents, package--download-one-archive):
6821 Simplify.
6822 (package--add-to-archive-contents): Skip if older than the builtin or
6823 installed version.
6824 (package-menu-describe-package): Fix last change.
6825 (package-list-unversioned): New var.
6826 (package-menu--generate): Use it.
6827
6828 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6829 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6830 (autoload-builtin-package-versions): New variable.
6831 (autoload-generate-file-autoloads): Use them.
6832 Remove the list of autoloaded functions/macros from the
6833 (autoload...) comments.
6834
6835 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6836
9583ec36
EZ
68372013-06-15 Eli Zaretskii <eliz@gnu.org>
6838
6839 * simple.el (line-move-partial): Don't jump to the next screen
6840 line as soon as it becomes visible. Instead, continue enlarging
6841 the vscroll until the portion of a tall screen line that's left on
6842 display is about the height of the frame's default font.
6843 (Bug#14567)
6844
f0100d8a
GM
68452013-06-15 Glenn Morris <rgm@gnu.org>
6846
b86a85ca
GM
6847 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6848 compilation-error-regexp-alist void, or local while let-bound.
6849
f0100d8a
GM
6850 * progmodes/make-mode.el (makefile-mode-syntax-table):
6851 Treat "=" as punctuation. (Bug#14614)
6852
05e7ce90
JB
68532013-06-15 Juanma Barranquero <lekktu@gmail.com>
6854
6855 * help-fns.el (describe-variable):
6856 Add extra line for permanent-local variables.
6857
12e5e86e
SH
68582013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6859
6860 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6861 Add export, import, library. (Bug#9164)
6862 (library): Set indent function.
6863
230dcbaf
GM
68642013-06-14 Glenn Morris <rgm@gnu.org>
6865
6866 * term/xterm.el (xterm--query):
6867 Stop after first matching handler. (Bug#14615)
6868
e36b2d20 68692013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6870
6871 Add support for dired in saveplace.
6872 * dired.el (dired-initial-position-hook): New variable.
6873 (dired-initial-position): Call hook to place cursor position.
6874 * saveplace.el (save-place-to-alist): Add dired position.
6875 (save-place-dired-hook): New function.
6876
0b31660d
SM
68772013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6878
bf1e6ae8
SM
6879 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6880 through a symbol rather than letrec.
6881
1b8dff23
SM
6882 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6883 (package-desc): Add `dir' field.
6884 (package-desc-full-name): New function.
6885 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6886 (package-maybe-load-descriptor): Remove.
6887 (package-load-all-descriptors): Just call package-load-descriptor.
6888 (package--disabled-p): New function.
6889 (package-desc-vers, package-desc-doc): Remove aliases.
6890 (package--dir): Remove function.
6891 (package-activate): Check if a package is disabled.
6892 (package-process-define-package): New function, extracted from
6893 define-package.
6894 (define-package): Turn into a place holder.
6895 (package-unpack-single, package-tar-file-info):
6896 Use package--description-file.
6897 (package-compute-transaction): Use package--disabled-p.
6898 (package-download-transaction): Don't call
6899 package-maybe-load-descriptor since they're all loaded anyway.
6900 (package-install): Change argument to be a pkg-desc.
6901 (package-delete): Use a single pkg-desc argument.
6902 (describe-package-1): Use package-desc-dir instead of package--dir.
6903 Use package-desc property instead of package-symbol.
6904 (package-install-button-action): Adjust accordingly.
6905 (package--push): Rewrite.
6906 (package-menu--print-info): Adjust accordingly. Change the ID format
6907 to be a pkg-desc.
6908 (package-menu-describe-package, package-menu-get-status)
6909 (package-menu--find-upgrades, package-menu-mark-upgrades)
6910 (package-menu-execute, package-menu--name-predicate):
6911 Adjust accordingly.
6912 * startup.el (package--description-file): New function.
6913 (command-line): Use it.
6914 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6915 Use package-desc-version.
6916
0b31660d
SM
6917 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6918 (byte-compile-preprocess): Use it.
6919 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6920 can't quite recognize.
6921 (byte-compile-add-to-list): Remove.
6922 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6923 (cconv-closure-convert): Add assertion.
6924
6925 * emacs-lisp/map-ynp.el: Use lexical-binding.
6926 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6927 Factor out some repeated code.
6928
de0503df
SM
69292013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * subr.el (with-eval-after-load): New macro.
6932 (eval-after-load): Allow form to be a function.
6933 take advantage of lexical-binding.
6934 (do-after-load-evaluation): Use dolist and adjust to new format.
6935 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6936
bc5c8c5a
JL
69372013-06-13 Juri Linkov <juri@jurta.org>
6938
6939 * replace.el (perform-replace): Display "symbol " and other search
6940 modes from `isearch-message-prefix' in the *Help* buffer.
6941
6942 * isearch.el (isearch-query-replace): Add " symbol" and other
6943 possible search modes from `isearch-message-prefix' to the prompt.
6944 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6945 when reading a regexp to collect.
6946
a22289f7
JL
69472013-06-13 Juri Linkov <juri@jurta.org>
6948
6949 * isearch.el (word-search-regexp): Match whitespace if the search
6950 string begins or ends in whitespace. The LAX arg is applied to
6951 both ends of the search string. Use `regexp-quote' and explicit
6952 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6953 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6954 boundaries are replaced with symbol boundaries, and characters
6955 between symbols match non-word non-symbol syntax. (Bug#14602)
6956
cb89acab
JL
69572013-06-13 Juri Linkov <juri@jurta.org>
6958
6959 * isearch.el (isearch-del-char): Don't exceed the length of
6960 `isearch-string' by the prefix arg. (Bug#14563)
6961
6e8cfc81
JL
69622013-06-13 Juri Linkov <juri@jurta.org>
6963
6964 * isearch.el (isearch-yank-word, isearch-yank-line)
6965 (isearch-char-by-name, isearch-quote-char)
6966 (isearch-printing-char, isearch-process-search-char):
6967 Add optional count prefix arg. (Bug#14563)
6968
6969 * international/isearch-x.el
6970 (isearch-process-search-multibyte-characters):
6971 Add optional count prefix arg.
6972
c23d55f4
VS
69732013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6976 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6977 lexical-binding.
6978
69792013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6980
6981 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6982
ba947bc4
GM
69832013-06-13 Glenn Morris <rgm@gnu.org>
6984
8baeb37a
GM
6985 * startup.el (tty-handle-args):
6986 Don't just discard "--" and anything after. (Bug#14608)
6987
ba947bc4
GM
6988 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6989
9abefce4
MA
69902013-06-13 Michael Albinus <michael.albinus@gmx.de>
6991
6992 Implement changes in Secret Service API. Make it backward compatible.
6993 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6994 (secrets-create-item): Use it. Prefix properties with interface.
6995
5755011f
MH
69962013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6997
6998 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6999 (term-emulate-terminal): Respect term-suppress-hard-newline.
7000
1261d2da
S
70012013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7002
7003 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7004 Only remove a `thumb-file' overlay. (Bug#14548)
7005
868490bb
GJ
70062013-06-12 Grégoire Jadi <daimrod@gmail.com>
7007
7008 * mail/reporter.el (reporter-submit-bug-report):
7009 Handle missing package-name. (Bug#14600)
7010
79d7167f
TH
70112013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7012
7013 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7014 (reftex-citation-prompt, reftex-default-bibliography)
7015 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7016 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7017 (reftex-bib-sort-author, reftex-bib-sort-year)
7018 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7019 (reftex-extract-bib-entries-from-thebibliography)
7020 (reftex-get-bibkey-default, reftex-get-bib-names)
7021 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7022 (reftex-format-bib-entry, reftex-parse-bibitem)
7023 (reftex-format-bibitem, reftex-do-citation)
7024 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7025 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7026 (reftex-insert-bib-matches, reftex-format-citation)
7027 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7028 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7029 existing comments into docstrings.
7030
5f9dbd7a
XF
70312013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7032
7033 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7034
94df41ab
AS
70352013-06-12 Andreas Schwab <schwab@suse.de>
7036
7037 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7038 for auto-save files.
7039
a7f3fecc
GM
70402013-06-12 Glenn Morris <rgm@gnu.org>
7041
001809f6
GM
7042 * ido.el (ido-delete-ignored-files): Remove.
7043 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7044 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7045
834b5ded
EL
70462013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7047
08c73ed2
EL
7048 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7049
834b5ded
EL
7050 * ido.el (ido-delete-ignored-files): New function,
7051 split from ido-make-file-list-1.
7052 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7053 (ido-make-file-list-1): Use ido-delete-ignored-files.
7054
daabf15a
LL
70552013-06-12 Leo Liu <sdl.web@gmail.com>
7056
7057 * progmodes/octave.el (inferior-octave-startup)
7058 (inferior-octave-completion-table)
7059 (inferior-octave-track-window-width-change)
7060 (octave-eldoc-function-signatures, octave-help)
7061 (octave-find-definition): Use single quoted strings.
7062 (inferior-octave-startup-args): Change default value.
7063 (inferior-octave-startup): Do not hard code "-i" and
7064 "--no-line-editing".
7065 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7066 (inferior-octave-directory-tracker): Use it.
7067 (octave-goto-function-definition): Robustify.
7068 (octave-help): Support highlighting operators in 'See also'.
7069 (octave-find-definition): Find subfunctions only in Octave mode.
7070
cf4e5178
SM
70712013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * help-fns.el (help-fns--compiler-macro): If the handler function is
7074 named, then put a link to it.
7075 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7076 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7077 (cl-typep): Use it.
7078 (cl-eval-when): Simplify debug spec.
7079 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7080 compiler-macro function instead of setting `compiler-macro-file'.
7081
99c81280 70822013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7083
7084 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7085 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7086
f56be016
SM
70872013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7088 Daniel Hackney <dan@haxney.org>
7089
7090 First part of Daniel Hackney's patch to package.el.
7091 * emacs-lisp/package.el: Use defstruct.
7092 (package-desc): New, main struct.
7093 (package--bi-desc, package--ac-desc): New structs, used to describe the
7094 format in external files.
7095 (package-desc-vers): Replace with package-desc-version accessor.
7096 (package-desc-doc): Replace with package-desc-summary accessor.
7097 (package-activate-1): Remove `package' arg since the pkg-vec now
7098 includes the name.
7099 (define-package): Use package-desc-from-define.
7100 (package-unpack-single): Change file-name arg to be a symbol.
7101 (package--add-to-archive-contents): Use package-desc-create and new
7102 accessor functions to package--ac-desc.
7103 (package-buffer-info, package-tar-file-info): Return a package-desc.
7104 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7105 arg to be a package-desc.
7106 (package-install-file): Adjust accordingly. Use \' to match EOS.
7107 (package--from-builtin): New function.
7108 (describe-package-1, package-menu--generate): Use it.
7109 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7110 (package-generate-autoloads): Idem and return the name of the file.
7111 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7112 Change pkg-info arg to be a package-desc.
7113 Use package-make-ac-desc.
7114 (package-upload-file): Use \' to match EOS.
7115 * finder.el (finder-compile-keywords): Use package-make-builtin.
7116
31119d63
SM
71172013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7118
931a2762
SM
7119 * vc/vc.el (vc-deduce-fileset): Change error message.
7120 (vc-read-backend): New function.
7121 (vc-next-action): Use it.
7122
5a3eb0c6
SM
7123 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7124
e3eb1bb7
SM
7125 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7126 (prolog-font-lock-keywords): Use regexp-opt instead.
7127 Don't manually highlight strings.
7128 (prolog-mode-variables): Simplify comment-start-skip.
7129 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7130
31119d63
SM
7131 * emacs-lisp/generic.el (generic--normalise-comments)
7132 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7133 (generic-mode-set-comments): Use them.
7134 (generic-bracket-support): Use setq-local.
7135 (generic-make-keywords-list): Declare obsolete.
7136
7de135d0
GM
71372013-06-11 Glenn Morris <rgm@gnu.org>
7138
7139 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7140 Prettify after setting font-lock-defaults. (Bug#14574)
7141
fa6bc6fd
JB
71422013-06-11 Juanma Barranquero <lekktu@gmail.com>
7143
7144 * replace.el (query-replace, occur-read-regexp-defaults-function)
7145 (replace-search):
7146 * subr.el (declare-function, number-sequence, local-set-key)
7147 (substitute-key-definition, locate-user-emacs-file)
7148 (with-silent-modifications, split-string, eval-after-load):
7149 Fix typos, remove unneeded backslashes and reflow some docstrings.
7150
cf1f9b9a
SM
71512013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7154 default for Elisp files.
7155
56602a4b
GM
71562013-06-11 Glenn Morris <rgm@gnu.org>
7157
7158 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7159 although define-derived-mode was doing this anyway. (Bug#14583)
7160
30ae0b2c
JB
71612013-06-10 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7164 Fix make-variable-buffer-local call to refer to the correct variable.
7165
fa472906
AG
71662013-06-10 Aidan Gauland <aidalgol@amuri.net>
7167
7168 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7169 (eshell-visual-subcommands, eshell-visual-options):
7170 Add summary line to docstrings. Add cross-references.
fa472906 7171
ff4871b9
GM
71722013-06-10 Glenn Morris <rgm@gnu.org>
7173
7174 * epa.el (epa-read-file-name): New function. (Bug#14510)
7175 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7176
04fcf1b0
AG
71772013-06-09 Aidan Gauland <aidalgol@amuri.net>
7178
7179 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7180 output redirection to be ignored with visual commands.
7181
88b00caa
AG
71822013-06-09 Aidan Gauland <aidalgol@amuri.net>
7183
7184 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7185 (eshell-term-initialize): Move long lambda to separate function
7186 eshell-visual-command-p.
e7b41c4c
JB
7187 * eshell/em-dirs.el (eshell-dirs-initialise):
7188 * eshell/em-script.el (eshell-script-initialize):
7189 Add missing #' to lambda.
88b00caa 7190
fda74125
LL
71912013-06-08 Leo Liu <sdl.web@gmail.com>
7192
7193 * progmodes/octave.el (octave-add-log-current-defun): New function.
7194 (octave-mode): Set add-log-current-defun-function.
7195 (octave-goto-function-definition): Do not move point if not found.
7196 (octave-find-definition): Enhance to try subfunctions first.
7197
467f3b33
GM
71982013-06-08 Glenn Morris <rgm@gnu.org>
7199
7200 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7201 (byte-compile-backward-char, byte-compile-backward-word):
7202 Improve previous change, to handle non-explicit nil.
7203
544badc3
SM
72042013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7207 (smie--opener/closer-at-point): New function.
7208 (smie--matching-block-data): Use it. Don't match from right after an
7209 opener or right before a closer. Obey smie-blink-matching-inners.
7210 Don't signal a mismatch for repeated inners like "switch..case..case".
7211
a175bf33
LL
72122013-06-07 Leo Liu <sdl.web@gmail.com>
7213
7214 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7215 to t. (Bug#14303)
ce8209d4
LL
7216 (octave-function-header-regexp): Fix. (Bug#14570)
7217 (octave-help-mode-finish-hook, octave-help-mode-finish):
7218 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7219
7220 * newcomment.el (comment-search-backward): Revert last change.
7221 (Bug#14434)
7222
7223 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7224
a822acff
EZ
72252013-06-07 Eli Zaretskii <eliz@gnu.org>
7226
7227 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7228 through xargs, to avoid failure due to MS-Windows limitations on
7229 command-line length.
7230
961166f5
GM
72312013-06-06 Glenn Morris <rgm@gnu.org>
7232
d0341459
GM
7233 * font-lock.el (lisp-font-lock-keywords-2):
7234 Treat user-error like error.
7235
961166f5
GM
7236 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7237 (byte-compile-backward-char, byte-compile-backward-word):
7238 Handle explicit nil arguments. (Bug#14565)
7239
80fa505f
AM
72402013-06-05 Alan Mackenzie <acm@muc.de>
7241
7242 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7243 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7244 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7245 (Bug#9706)
80fa505f 7246
fccdc796
SM
72472013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * autorevert.el (auto-revert-notify-handler): Use memq.
7250 Hide assertion failure.
7251
7252 * skeleton.el: Use cl-lib.
7253 (skeleton-further-elements): Use defvar-local.
7254 (skeleton-insert): Use cl-progv.
7255
9bfff84b
TZ
72562013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7257
7258 * progmodes/prog-mode.el (prog-prettify-symbols)
7259 (prog-prettify-install): Update docstrings.
7260
55577e7c
SM
72612013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * simple.el: Move all the prog-mode code to prog-mode.el.
7264 * progmodes/prog-mode.el: New file.
7265 * loadup.el: Add prog-mode.el.
7266
8fc57765
TZ
72672013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7268
7269 * simple.el (prog-prettify-symbols): Add version.
7270 (prog-prettify-install): Add convenience function to prettify symbols.
7271
7272 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7273 (perl--augmented-font-lock-keywords-1)
7274 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7275 variables and use it.
7276
7277 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7278 (cfengine3-mode): Remove unneeded variable and use it.
7279
7280 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7281 (lisp--augmented-font-lock-keywords-1)
7282 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7283 Remove unneeded variables and use it.
7284
650645d5 72852013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7286
7287 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7288 to point when opening the connection. (Bug#14380)
28f5da6d 7289
781b4af6
SM
72902013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * subr.el (load-history-regexp, load-history-filename-element)
7293 (eval-after-load, after-load-functions, do-after-load-evaluation)
7294 (eval-next-after-load, display-delayed-warnings)
7295 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7296 definition of save-match-data.
7297 (overriding-local-map): Remove accidental obsolescence declaration.
7298
7299 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7300
3ca0d0b4
TZ
73012013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7302
7303 Generalize symbol prettify support to prog-mode and implement it
7304 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7305 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7306 (prog--prettify-font-lock-compose-symbol)
7307 (prog-prettify-font-lock-symbols-keywords): New variables and
7308 functions to support symbol prettification.
7309 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7310 (lisp--augmented-font-lock-keywords-1)
7311 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7312 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7313 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7314 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7315 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7316 * progmodes/perl-mode.el (perl-prettify-symbols)
7317 (perl--font-lock-compose-symbol)
7318 (perl--font-lock-symbols-keywords): Move to prog-mode.
7319 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7320 (perl-font-lock-keywords-1)
7321 (perl-font-lock-keywords-2): Remove explicit prettify support.
7322 (perl--augmented-font-lock-keywords)
7323 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7324 (perl--augmented-font-lock-keywords-2, perl-mode):
7325 Implement prettify support.
3ca0d0b4 7326
976cb066
LL
73272013-06-05 Leo Liu <sdl.web@gmail.com>
7328
7329 Re-implement smie matching block highlight using
7330 show-paren-data-function. (Bug#14395)
7331 * emacs-lisp/smie.el (smie-matching-block-highlight)
7332 (smie--highlight-matching-block-overlay)
7333 (smie--highlight-matching-block-lastpos)
7334 (smie-highlight-matching-block)
7335 (smie-highlight-matching-block-mode): Remove.
7336 (smie--matching-block-data-cache): New variable.
7337 (smie--matching-block-data): New function.
7338 (smie-setup): Use smie--matching-block-data for
7339 show-paren-data-function.
7340
7341 * progmodes/octave.el (octave-mode-menu): Fix.
7342 (octave-find-definition): Skip garbage lines.
7343
208d0342
SM
73442013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 Fix compilation error with simultaneous dynamic+lexical scoping.
7347 Add warning when a defvar appears after the first let-binding.
7348 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7349 (byte-compile-close-variables): Initialize it.
7350 (byte-compile--declare-var): New function.
7351 (byte-compile-file-form-defvar)
7352 (byte-compile-file-form-define-abbrev-table)
7353 (byte-compile-file-form-custom-declare-variable): Use it.
7354 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7355 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7356 (byte-compile-bind): Handle dynamic bindings that shadow
7357 lexical bindings.
7358 (byte-compile-unbind): Make arg non-optional.
7359 (byte-compile-let): Simplify.
7360 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7361 (cconv--analyse-function, cconv-analyse-form): Populate it.
7362 Protect byte-compile-bound-variables to limit the scope of defvars.
7363 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7364 Remove unneeded rule for `declare'.
7365
7366 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7367 so as to avoid depending on cl-adjoin at run-time.
7368 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7369
7370 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7371 (macroexp--warn-and-return): Use it.
7372
1ac2891e
GM
73732013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * lisp/subr.el: Convert to lexical binding.
7376 (overriding-local-map): Make obsolete.
7377 (add-to-list): Doc fix. Add compiler macro.
7378 (read-key): Swap values of local maps.
7379
2587b005
LL
73802013-06-05 Leo Liu <sdl.web@gmail.com>
7381
7382 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7383
f1da3c88
LL
73842013-06-04 Leo Liu <sdl.web@gmail.com>
7385
7386 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7387 (compilation-auto-jump): Suppress the "Mark set" message to give
7388 way to exit message.
7389
3caa391f
AM
73902013-06-04 Alan Mackenzie <acm@muc.de>
7391
7392 Remove faulty optimisation from indentation calculation.
7393 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7394 search limit based on 2000 characters back from indent-point.
7395
068922a2
TH
73962013-06-03 Tassilo Horn <tsdh@gnu.org>
7397
7398 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7399
1f8fdd53
SM
74002013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7401
bbcc4d97
SM
7402 * emacs-lisp/lisp.el: Use lexical-binding.
7403 (lisp--local-variables-1, lisp--local-variables): New functions.
7404 (lisp--local-variables-completion-table): New var.
208d0342 7405 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7406
1f8fdd53
SM
7407 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7408 eagerly (bug#14422).
7409
c9628c79
MA
74102013-06-03 Michael Albinus <michael.albinus@gmx.de>
7411
7412 * autorevert.el (auto-revert-notify-enabled)
7413 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7414 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7415 (auto-revert-notify-handler): Handle also gfilenotify.
7416
e7b41c4c 7417 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7418 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7419 Remove.
c9628c79 7420
e5e4a942
JL
74212013-06-03 Juri Linkov <juri@jurta.org>
7422
7423 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7424 `M-s h .'. (Bug#14427)
7425
7426 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7427 command `hi-lock-face-symbol-at-point'.
7428 (hi-lock-face-symbol-at-point): New command.
7429 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7430 (hi-lock-menu): Add `highlight-symbol-at-point'.
7431 (hi-lock-mode): Doc fix.
7432
7433 * isearch.el (isearch-forward-symbol-at-point): New command.
7434 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7435 (isearch-highlight-regexp): Add a regexp which matches
7436 words/symbols for word/symbol mode.
7437
7438 * subr.el (find-tag-default-bounds): New function with the body
7439 mostly moved from `find-tag-default'.
7440 (find-tag-default): Move most code to `find-tag-default-bounds',
7441 call it and apply `buffer-substring-no-properties' afterwards.
7442
26b3353a
TH
74432013-06-03 Tassilo Horn <tsdh@gnu.org>
7444
781b4af6
SM
7445 * eshell/em-term.el (eshell-term-initialize):
7446 Use `cl-intersection' rather than `intersection'.
26b3353a 7447
51b60f53
XF
74482013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7449
fe054b63 7450 * vc/log-view.el: Doc fix.
d3ffe17c 7451 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7452
a0eb10b3 74532013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7454
7455 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7456 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7457 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7458 (eieio-unbound, eieio-default-superclass)
7459 (eieio--define-field-accessors, method-static, method-before)
7460 (method-primary, method-after, method-num-lists)
7461 (method-generic-before, method-generic-primary)
7462 (method-generic-after, method-num-slots)
7463 (eieio-specialized-key-to-generic-key)
7464 (eieio--check-type, class-v, class-p)
7465 (eieio-class-name, define-obsolete-function-alias)
7466 (eieio-class-parents-fast, eieio-class-children-fast)
7467 (same-class-fast-p, class-constructor, generic-p)
7468 (generic-primary-only-p, generic-primary-only-one-p)
7469 (class-option-assoc, class-option, eieio-object-p)
7470 (class-abstract-p, class-method-invocation-order)
7471 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7472 (eieio-class-un-autoload, eieio-defclass)
7473 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7474 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7475 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7476 (eieio-defgeneric-reset-generic-form)
7477 (eieio-defgeneric-form-primary-only)
7478 (eieio-defgeneric-reset-generic-form-primary-only)
7479 (eieio-defgeneric-form-primary-only-one)
7480 (eieio-defgeneric-reset-generic-form-primary-only-one)
7481 (eieio-unbind-method-implementations)
7482 (eieio--defmethod, eieio--typep)
7483 (eieio-perform-slot-validation, eieio-validate-slot-value)
7484 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7485 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7486 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7487 (eieio-slot-name-index, eieio-class-slot-name-index)
7488 (eieio-set-defaults, eieio-initarg-to-attribute)
7489 (eieio-attribute-to-initarg, eieio-c3-candidate)
7490 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7491 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7492 (eieio-class-precedence-list, eieio-generic-call-methodname)
7493 (eieio-generic-call-arglst, eieio-generic-call-key)
7494 (eieio-generic-call-next-method-list)
7495 (eieio-pre-method-execution-functions, eieio-generic-call)
7496 (eieio-generic-call-primary-only, eieiomt-method-list)
7497 (eieiomt-optimizing-obarray, eieiomt-install)
7498 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7499 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7500 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7501 (defclass): Remove `eval-and-compile' from macro.
7502 (call-next-method, shared-initialize): Instead of using
7503 `scoped-class' variable, use new eieio--scoped-class, and
7504 eieio--with-scoped-class.
7505 (initialize-instance): Rename local variable 'scoped-class' to
7506 'this-class' to remove ambiguitity from old global.
7507
7508 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7509 eieio.el.
4f405069
JB
7510 (eieio--scoped-class-stack): New variable.
7511 (eieio--scoped-class): New fcn.
890f7890
DE
7512 (eieio--with-scoped-class): New scoping macro.
7513 (eieio-defclass): Use pushnew instead of add-to-list.
7514 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7515 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7516 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7517 `scoped-class' variable, use new eieio--scoped-class, and
7518 eieio--with-scoped-class.
7519
7520 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7521
d105b0e2
TH
75222013-06-02 Tassilo Horn <tsdh@gnu.org>
7523
7524 * eshell/esh-ext.el (eshell-external-command): Pass args to
7525 `eshell-find-interpreter'.
7526 (eshell-find-interpreter): Add new second parameter ARGS.
7527
7528 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7529 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7530
7531 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7532 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7533
7534 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7535 (eshell-visual-options): New defcustom.
7536 (eshell-escape-control-x): Adapt docstring.
7537 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7538 `eshell-visual-options' in addition to `eshell-visual-commands'.
7539 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7540
f46305c8 75412013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7542
7543 * progmodes/python.el (python-indent-block-enders): Add break,
7544 continue and raise keywords.
7545
d870df21
GM
75462013-06-01 Glenn Morris <rgm@gnu.org>
7547
9133b82e
GM
7548 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7549
02c992ec 7550 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7551 * progmodes/cc-cmds.el (delete-forward-p):
7552 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7553 * progmodes/cc-engine.el (buffer-syntactic-context):
7554 * progmodes/cc-fonts.el (face-property-instance):
7555 * progmodes/cc-mode.el (set-keymap-parents):
7556 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7557 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7558 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7559 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7560 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7561
31e7b090
GM
7562 * progmodes/cc-vars.el (other): Emacs has this widget since
7563 at least 21.1, so don't (re)define it.
7564
d870df21
GM
7565 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7566 Replace the obsolete alias pcomplete-arg-quote-list.
7567
c75c93c7
LL
75682013-06-01 Leo Liu <sdl.web@gmail.com>
7569
7570 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7571 punctuation syntax.
7572 (inferior-octave-minimal-columns)
7573 (inferior-octave-last-column-width): New variables.
7574 (inferior-octave-track-window-width-change): New function.
7575 (inferior-octave-mode): Adjust column width so that Octave output,
7576 for example from 'ls', can fit into the window nicely.
7577
973d1e12
DG
75782013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7579
7580 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7581 Highlight expansions inside regexp literals.
7582
0888c286
GM
75832013-05-31 Glenn Morris <rgm@gnu.org>
7584
e26aac1f
GM
7585 * obsolete/sym-comp.el (symbol-complete):
7586 Replace obsolete completion-annotate-function.
7587
0888c286
GM
7588 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7589
19bb8e62
DG
75902013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7591
781b4af6
SM
7592 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7593 New function, checks if point is inside a literal that allows
19bb8e62
DG
7594 expression expansion.
7595 (ruby-syntax-propertize-expansion): Use it.
7596 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7597 around the body.
7598
01dea85f
JL
75992013-05-30 Juri Linkov <juri@jurta.org>
7600
7601 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7602 to "\M-si".
7603 (isearch-invisible): New variable.
7604 (isearch-forward): Doc fix.
7605 (isearch-mode): Set `isearch-invisible'
7606 to the value of `search-invisible'.
7607 (isearch-toggle-case-fold): Doc fix.
7608 (isearch-toggle-invisible): New command.
7609 (isearch-query-replace): Let-bind `search-invisible'
7610 to the value of `isearch-invisible'.
7611 (isearch-search): Use `isearch-invisible' instead of
7612 `search-invisible'. Let-bind `search-invisible'
7613 to the value of `isearch-invisible'. (Bug#11378)
7614
ab1bdce5
JL
76152013-05-30 Juri Linkov <juri@jurta.org>
7616
7617 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7618 call when `query-flag' is nil and `search-invisible' is non-nil.
7619 (Bug#11746)
7620
d6d236e2
GM
76212013-05-30 Glenn Morris <rgm@gnu.org>
7622
8accd027
GM
7623 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7624
2a8bed1c
GM
7625 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7626 (cc-require): Suppress spurious "noruntime" warnings.
7627 (cc-require-when-compile): Use fboundp, for sake of compiler.
7628
d6d236e2
GM
7629 * progmodes/cc-mode.el: Move load of cc-vars before that of
7630 cc-langs (which in turn loads cc-vars), to quieten compiler.
7631
9190b35b
SM
76322013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * paren.el: Simplify the code.
7635 (show-paren-mode): Always start the timer.
7636 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7637 (show-paren--overlay, show-paren--overlay-1): Rename from
7638 show-paren-overlay and show-paren-overlay-1, and initialize to an
7639 overlay rather than to nil.
7640 (show-paren-function): Misc cleanup and simplifications.
7641
4f8d1cf6
SM
76422013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * paren.el (show-paren-data-function): New hook.
7645 (show-paren--default): New function, extracted from show-paren-function.
7646 (show-paren-function): Use show-paren-data-function.
7647
02d844b5
GM
76482013-05-30 Glenn Morris <rgm@gnu.org>
7649
d209d4a9
GM
7650 * ielm.el (ielm-map, ielm-complete-symbol):
7651 Use completion-at-point rather than obsolete functions.
7652 (inferior-emacs-lisp-mode): Doc fix.
7653 Set completion-at-point-functions, rather than
7654 comint-dynamic-complete-functions.
7655
2082faa6
GM
7656 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7657 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7658 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7659
dd8620de
GM
7660 * image.el (image-animated-p): Tweak definition.
7661
ceca95b1
GM
7662 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7663 (rlogin-process-connection-type): Tweak default. Add set-after.
7664 (rlogin-host): Doc fix.
7665 (rlogin): Tweak prompt.
7666 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7667
ee9f1acc
GM
7668 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7669 * progmodes/tcl.el (inferior-tcl-mode-map):
7670 Use completion-at-point rather than obsolete alias.
7671
45ce222e
GM
7672 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7673
02d844b5
GM
7674 * minibuffer.el (read-file-name-completion-ignore-case):
7675 Move before completion--in-region, for eager macro expansion.
7676
ac44d6c1
JL
76772013-05-29 Juri Linkov <juri@jurta.org>
7678
7679 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7680 for total count of matching lines. Add `global-matches' for total
7681 count of matches. Rename `matches' to `lines' for count of
7682 matching lines. Add `matches' for count of matches.
7683 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7684 to `prev-line' for line number of prev match endpt.
7685 Increment `matches' for every match. Print the number of
7686 matching lines in the header.
7687 (occur-context-lines): Rename `lines' to `curr-line'.
7688 Rename `prev-lines' to `prev-line'. (Bug#14017)
7689
3c9c9d38
JL
76902013-05-29 Juri Linkov <juri@jurta.org>
7691
7692 * replace.el (perform-replace): Add `skip-read-only-count',
7693 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7694 Increment them for corresponding conditions and report the number
7695 of skipped occurrences in the final message. (Bug#11746)
7696 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7697 (replace-string, replace-regexp): Doc fix.
7698
33e249a2
SM
76992013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7700
8e399682
SM
7701 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7702
33e249a2 7703 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7704 prog-mode-map (bug#14504).
33e249a2 7705
f236dd84
LL
77062013-05-29 Leo Liu <sdl.web@gmail.com>
7707
7708 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7709 (octave-help): Small simplification.
7710
7711 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7712 off the highlight first.
7713
3694d13f
GM
77142013-05-29 Glenn Morris <rgm@gnu.org>
7715
03983bdc
GM
7716 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7717 Handle idlwave-last-system-routine-info-cons-cell being nil.
7718
bc74a74a
GM
7719 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7720 (idlwave-write-paths): Simplify via with-temp-buffer.
7721
8b394200
GM
7722 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7723 * emulation/cua-rect.el: Also load cua-base at run time.
7724
3694d13f
GM
7725 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7726 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7727 (cperl-imenu-on-info): Require imenu.
7728
336d7284
AM
77292013-05-28 Alan Mackenzie <acm@muc.de>
7730
7731 Handle "capitalised keywords" correctly.
33e249a2 7732 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7733
cb29c582
AG
77342013-05-28 Aidan Gauland <aidalgol@amuri.net>
7735
781b4af6 7736 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7737
690e44b2
GM
77382013-05-28 Glenn Morris <rgm@gnu.org>
7739
e658d75c
GM
7740 * vc/vc-arch.el (vc-exec-after): Declare.
7741 (vc-switches): Autoload.
7742 * vc/vc-bzr.el: No need to require vc when compiling.
7743 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7744 (vc-resynch-buffer, vc-dir-refresh): Declare.
7745 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7746 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7747 (vc-resynch-buffer): Declare.
7748 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7749 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7750 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7751 (grep-read-regexp, grep-read-files, grep-expand-template)
7752 (vc-dir-refresh): Declare.
7753 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7754 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7755 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7756 * vc/vc-mtn.el (vc-exec-after): Declare.
7757 (vc-switches): Autoload.
7758 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7759 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7760 (vc-file-tree-walk): Declare.
712b9732
GM
7761 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7762 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7763 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7764 * vc/vc-svn.el (vc-exec-after): Declare.
7765 (vc-switches, vc-setup-buffer): Autoload.
7766 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7767 Autoload.
7768 (vc-resynch-buffer): Declare.
7769
98e87fb3
GM
7770 * obsolete/fast-lock.el (byte-compile-warnings):
7771 Don't warn about obsolete features in this obsolete file.
7772
f5379553
GM
7773 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7774 Move definition before use.
7775
7a20ef83
GM
7776 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7777 (dun-unix-verbs): Remove dun-zippy.
7778 (dun-zippy): Remove function.
7779
690e44b2
GM
7780 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7781
3a52ccf7
JL
77822013-05-27 Juri Linkov <juri@jurta.org>
7783
7784 * replace.el (replace-search): New function with code moved out
7785 from `perform-replace'.
7786 (replace-highlight, replace-dehighlight): Move function definitions
7787 up closer to `replace-search'. (Bug#11746)
7788
d289938a
JL
77892013-05-27 Juri Linkov <juri@jurta.org>
7790
7791 * replace.el (perform-replace): Ignore invisible matches.
7792 In addition to checking `query-replace-skip-read-only', also
7793 filter out matches by calling `run-hook-with-args-until-failure'
7794 on `isearch-filter-predicates', and also check `search-invisible'
7795 for t or call `isearch-range-invisible'.
7796 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7797
66fc57e3
JL
77982013-05-27 Juri Linkov <juri@jurta.org>
7799
7800 * isearch.el (isearch-filter-predicates): Rename from
7801 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7802 (isearch-message-prefix): Display text from the property
7803 `isearch-message-prefix' of the currently active filters.
7804 (isearch-search): Don't compare `isearch-filter-predicate' with
7805 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7806 on `isearch-filter-predicates'. Also check `search-invisible' for t
7807 or call `isearch-range-invisible'.
7808 (isearch-filter-visible): Make obsolete.
7809 (isearch-lazy-highlight-search):
7810 Call `run-hook-with-args-until-failure' on
7811 `isearch-filter-predicates' and use `isearch-range-invisible'.
7812
7813 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7814 `isearch-filter-predicates' instead of `funcall'ing
7815 `isearch-filter-predicate'.
7816 (Info-mode): Set `Info-isearch-filter' to
7817 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7818
7819 * dired-aux.el (dired-isearch-filter-predicate-orig):
7820 Remove variable.
7821 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7822 (dired-isearch-filenames-end): Add and remove
7823 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7824 instead of changing the value of `isearch-filter-predicate'.
7825 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7826 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7827 Put property `isearch-message-prefix' to "filename " on
7828 `dired-isearch-filter-filenames'.
7829
7830 * wdired.el (wdired-change-to-wdired-mode):
7831 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7832 locally instead of changing `isearch-filter-predicate'.
7833 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7834
f1a60a0f
DG
78352013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7836
7837 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7838 return the commit hash (Bug#14459). Also set the
7839 `vc-git-detached' property.
7840 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7841 (vc-git-mode-line-string): Use the same help-echo format whether
7842 in detached mode or not, because we know the actual revision now.
7843 When in detached mode, shorten the revision to 7 chars.
7844
7f17cc40
SM
78452013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * emacs-lisp/easy-mmode.el (define-minor-mode):
7848 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7849 mode hook and provide a docstring.
7850
25c8401c
AM
78512013-05-27 Alan Mackenzie <acm@muc.de>
7852
7853 Remove spurious syntax-table text properties inserted by C-y.
7854 * progmodes/cc-mode.el (c-after-change): Also clear hard
7855 syntax-table property with value nil.
7856
dde84790
MA
78572013-05-27 Michael Albinus <michael.albinus@gmx.de>
7858
7859 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7860 when reading the events; the buffer layout shall not be changed.
7861
837fd9af
LL
78622013-05-27 Leo Liu <sdl.web@gmail.com>
7863
7864 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7865 New variable.
7866 (inferior-octave-directory-tracker): Automatically re-sync
7867 default-directory.
7868 (octave-help): Improve handling of 'See also'.
7869
4fd996b3
SM
78702013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7871
416f1802
SM
7872 * doc-view.el: Minor naming convention tweaks.
7873 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7874
4fd996b3
SM
7875 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7876 even if there's no `display' property yet (bug#14435).
7877
a052ef3b
EZ
78782013-05-25 Eli Zaretskii <eliz@gnu.org>
7879
4fd996b3 7880 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7881
7882 * Makefile.in (custom-deps, finder-data, autoloads)
7883 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7884 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7885 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7886
c9023370
SM
78872013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7890 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7891 Don't burp at EOB.
c9023370 7892
24d699fa
LL
78932013-05-25 Leo Liu <sdl.web@gmail.com>
7894
7895 * comint.el (comint-previous-matching-input): Do not flood the
7896 *Messages* buffer with trivial messages.
7897
17e5c0cc
SM
78982013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * progmodes/flymake.el (flymake-nop): Don't return a string.
7901 (flymake-set-at): Fix typo.
7902
7903 * simple.el (read--expression): New function, extracted from
7904 eval-expression. Set completion-at-point-functions (bug#14465).
7905 (eval-expression, eval-minibuffer): Use it.
7906
5d028165
XF
79072013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7908
7909 * progmodes/flymake.el (flymake-save-buffer-in-file)
7910 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7911 (flymake-selected-frame, flymake-log, flymake-ins-after)
7912 (flymake-set-at, flymake-get-buildfile-from-cache)
7913 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7914 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7915 Refine the doc string.
7916 (flymake-get-file-name-mode-and-masks): Reformat.
7917 (flymake-get-real-file-name-function): Fix a minor bug.
7918
7a1d7ba7
JL
79192013-05-24 Juri Linkov <juri@jurta.org>
7920
7921 * progmodes/grep.el (grep-mode-font-lock-keywords):
7922 Support =linenumber= format used by git-grep for lines with
7923 function names. (Bug#13549)
7924
650cff3d
SM
79252013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7928 0 after a semi-colon; it works better for smie-auto-fill.
7929 (octave--indent-new-comment-line): New function.
7930 (octave-indent-new-comment-line): Use it (indirectly).
7931 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7932 modify comment-line-break-function.
7933
7934 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7935 (smie-setup): Use add-function to set it.
7936
9631677d
SS
79372013-05-24 Sam Steingold <sds@gnu.org>
7938
7939 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7940 argument (before the `interactive' argument).
7941
50105835
SM
79422013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * image-mode.el (image-mode-winprops): Add winprops to
7945 image-mode-winprops-alist before running
7946 image-mode-new-window-functions.
7947 * doc-view.el (doc-view-new-window-function): Don't delay
7948 doc-view-goto-page via timers (bug#14435).
7949
57b9823e
TH
79502013-05-24 Tassilo Horn <tsdh@gnu.org>
7951
7952 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7953 (doc-view-desktop-save-buffer): New function.
7954 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7955 (desktop-buffer-mode-handlers):
7956 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7957 handler.
7958 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7959 `desktop-save-buffer' function.
7960
91aafa16
MA
79612013-05-24 Michael Albinus <michael.albinus@gmx.de>
7962
7963 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7964 (tramp-gvfs-file-name-handler): Raise a user error when
7965 `tramp-gvfs-enabled' is nil.
7966 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7967 Do not raise a user error when loading package. (Bug#14447)
7968
ec076379
MA
7969 * net/xesam.el: Move to obsolete/.
7970
db785726
GM
79712013-05-24 Glenn Morris <rgm@gnu.org>
7972
af5c7606
GM
7973 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7974
e5d1916a
GM
7975 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7976
ded62b08
GM
7977 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7978 (Info-find-node, Man-getpage-in-background): Declare.
7979
9e614a3f
GM
7980 * mail/unrmail.el (unrmail):
7981 Replace obsolete detect-coding-with-priority.
7982
892f8ca3
GM
7983 * net/socks.el (socks-split-string): Use this rather than split-string.
7984 (socks-nslookup-host): Update for above change.
7985 (dynamic-choice, s5-dynamic-choice-match)
7986 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7987 Comment out unused code.
7988
3c291973
GM
7989 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7990 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7991 (gud-tooltip-echo-area): Make obsolete.
7992 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7993
43cc956b
GM
7994 * progmodes/js.el (js--optimize-arglist): Declare.
7995
dab49a3b
GM
7996 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7997
36b9d085
GM
7998 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7999 (ediff-window-C): Declare.
8000
e354ae76
GM
8001 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8002 Tweak requires to silence compiler.
8003
b8e57bf4
GM
8004 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8005 (he-search-string, he-tried-table, he-expand-list)
8006 (he-init-string, he-string-member, he-substitute-string)
8007 (he-reset-string): Declare.
8008
db785726
GM
8009 * obsolete/options.el (list-options): Use custom-variable-p,
8010 rather than obsolete alias.
8011
b3531901
SS
80122013-05-23 Sam Steingold <sds@gnu.org>
8013
8014 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8015 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8016 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8017
bdda4c66
SM
80182013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * emacs-lisp/smie.el (smie-indent-forward-token)
8021 (smie-indent-backward-token): Handle string tokens (bug#14381).
8022
c43d45f9
TH
80232013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8024
fe1eb856
RS
8025 * ielm.el (ielm-menu): New menu.
8026 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8027
fe1eb856
RS
80282013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8029
8030 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8031 Fix deactivate action.
8032
8033 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8034 Add cleveref macros.
074dd971 8035
c43d45f9
TH
8036 * lisp/textmodes/reftex-parse.el
8037 (reftex-locate-bibliography-files): Accept options for
8038 bibliography commands.
8039 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8040 Add addbibresource. Basic Biblatex support.
8041
7764286e
MA
80422013-05-23 Michael Albinus <michael.albinus@gmx.de>
8043
8044 * net/tramp-gvfs.el (top):
8045 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8046 when loading package. (Bug#14447)
8047
d361bc10
GM
80482013-05-23 Glenn Morris <rgm@gnu.org>
8049
8fa23984
GM
8050 * progmodes/js.el: No need to load comint when compiling.
8051 (ring-insert, comint-send-string, comint-send-input)
8052 (comint-last-input-end, ido-chop): Declare.
8053
a5c7df1a
GM
8054 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8055 * vc/ediff-mult.el: Adjust requires.
8056 (ediff-directories-internal, ediff-directory-revisions-internal)
8057 (ediff-patch-file-internal): Declare.
8058 * vc/ediff-ptch.el: Adjust requires.
8059 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8060 (ediff-find-file): Autoload.
8061 * vc/ediff-util.el: No need to load ediff when compiling.
8062 (ediff-regions-internal): Declare.
8063 * vc/ediff-wind.el: Adjust requires.
8064 (ediff-compute-toolbar-width): Define when compiling.
8065 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8066 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8067 (dired-get-filename, dired-get-marked-files)
8068 (ediff-last-dir-patch, ediff-patch-default-directory)
8069 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8070 (ediff-patch-buffer-internal): Declare.
8071
e2aec513
GM
8072 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8073 (ispell-process, ispell-buffer-local-words, lm-summary)
8074 (lm-section-start, lm-section-end): Declare.
8075 (checkdoc-ispell-init): Simplify.
8076
e68bbd7c
GM
8077 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8078 (he-string-member, he-reset-string, he-substitute-string): Declare.
8079
7efe0991
GM
8080 * eshell/em-ls.el: Adjust requires.
8081 (eshell-glob-regexp): Declare.
f87b1284
GM
8082 * eshell/em-tramp.el: Adjust requires.
8083 (eshell-parse-command): Autoload.
8084 * eshell/em-xtra.el: Adjust requires.
8085 (eshell-parse-command): Autoload.
8086 * eshell/esh-ext.el: Adjust requires.
8087 (eshell-parse-command, eshell-close-handles): Autoload.
8088 * eshell/esh-io.el: Adjust requires.
8089 (eshell-output-filter): Autoload.
8090 * eshell/esh-util.el: No need to load tramp when compiling.
8091 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8092 Declare.
8093 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8094 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8095 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8096 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8097 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8098 * eshell/esh-opt.el, eshell/esh-proc.el:
8099 * eshell/esh-var.el: Adjust requires.
8100 * eshell/eshell.el: Do not require esh-util twice.
8101 (eshell-add-input-to-history): Declare.
8102 (eshell-command): Check history module is active before using it.
8103
d361bc10
GM
8104 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8105
85d090a9
LL
81062013-05-22 Leo Liu <sdl.web@gmail.com>
8107
8108 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8109
5d0acd9d
MA
81102013-05-22 Michael Albinus <michael.albinus@gmx.de>
8111
8112 * autorevert.el (auto-revert-notify-add-watch)
8113 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8114 it indicates changes in file modification time.
8115
0cdffd7d
GM
81162013-05-22 Glenn Morris <rgm@gnu.org>
8117
ca5995ec
GM
8118 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8119 Always delete the autoloaded function from the noruntime and
8120 unresolved functions lists.
8121
6450907e
GM
8122 * allout.el: No need to load epa, epg, overlay when compiling.
8123 (epg-context-set-passphrase-callback, epg-list-keys)
8124 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8125 (epg-key-user-id-list): Declare.
8126
9c6906f6
GM
8127 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8128 (viper-set-parsing-style-toggling-macro)
8129 (viper-set-emacs-state-searchstyle-macros):
8130 Use called-interactively-p on Emacs.
8131 (viper-looking-back): Make it an obsolete alias. Update callers.
8132 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8133 Use looking-back rather than viper-looking-back.
8134 (viper-tmp-insert-at-eob, viper-enlarge-region)
8135 (viper-read-string-with-history, viper-register-to-point)
8136 (viper-append-to-register, viper-change-state-to-vi)
8137 (viper-backward-char-carefully, viper-forward-char-carefully)
8138 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8139 (viper-change-state-to-emacs): Declare.
8140 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8141 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8142 * emulation/viper-mous.el: Do not load viper-cmd.
8143 (viper-backward-char-carefully, viper-forward-char-carefully)
8144 (viper-forward-word, viper-adjust-window): Declare.
8145
5f70c169
GM
8146 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8147
b1b7f300
GM
8148 * progmodes/idlw-help.el (idlwave-help-fontify):
8149 Use called-interactively-p.
8150
f6ebbb46
GM
8151 * term/w32console.el (w32-get-console-codepage)
8152 (w32-get-console-output-codepage): Declare.
8153
0cdffd7d
GM
8154 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8155 Remove unnecessary declarations.
8156 (dframe-message): Doc fix.
8157
8158 * info.el (dframe-select-attached-frame, dframe-current-frame):
8159 Declare.
8160
8161 * speedbar.el (speedbar-message): Make it an obsolete alias.
8162 Update all callers.
8163 (speedbar-with-attached-buffer)
8164 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8165 (speedbar-with-writable): Use backquote.
8166 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8167 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8168 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8169 rather than speedbar- aliases.
8170 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8171 (speedbar-make-specialized-keymap, speedbar-insert-button)
8172 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8173 (speedbar-do-function-pointer): Declare.
8174 (rmail-speedbar-button, rmail-speedbar-find-file)
8175 (rmail-speedbar-move-message):
8176 Use dframe-with-attached-buffer rather than speedbar- alias.
8177 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8178 (dframe-message, speedbar-make-specialized-keymap)
8179 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8180 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8181 (speedbar-insert-button, dframe-select-attached-frame)
8182 (dframe-maybee-jump-to-attached-frame)
8183 (speedbar-change-initial-expansion-list)
8184 (speedbar-previously-used-expansion-list-name): Declare.
8185 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8186 Use dframe-message, dframe-with-attached-buffer rather than
8187 speedbar- aliases.
8188 (gud-sentinel): Silence compiler.
8189 * progmodes/vhdl-mode.el (speedbar-refresh)
8190 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8191 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8192 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8193 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8194 (speedbar-file-lists, speedbar-make-tag-line)
8195 (speedbar-line-directory, speedbar-goto-this-file)
8196 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8197 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8198 (speedbar-make-button, speedbar-reset-scanners)
8199 (speedbar-files-item-info, speedbar-line-text)
8200 (speedbar-find-file-in-frame, speedbar-set-timer)
8201 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8202 (speedbar-with-writable): Do not (re)define it.
8203 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8204 rather than speedbar- alias.
8205
ee44b62a
LL
82062013-05-21 Leo Liu <sdl.web@gmail.com>
8207
8208 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8209 menu items.
8210 (octave-mode): Tweak fill-nobreak-predicate.
8211 (inferior-octave-startup): Check process to avoid infinite loop.
8212 (inferior-octave): Pop to buffer first to show abornmal process
8213 exit information.
8214
640f050f
GM
82152013-05-21 Glenn Morris <rgm@gnu.org>
8216
79458038
GM
8217 * printing.el (pr-menu-bar): Define when compiling.
8218
9cc3e83f
LL
82192013-05-21 Leo Liu <sdl.web@gmail.com>
8220
8221 * progmodes/octave.el (octave-auto-fill): Remove.
8222 (octave-indent-new-comment-line): Improve.
8223 (octave-mode): Use auto fill mode through
4f405069 8224 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8225 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8226 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8227 (octave-help): Show parent directory.
8228
f440830d
GM
82292013-05-21 Glenn Morris <rgm@gnu.org>
8230
8231 * files.el (dired-unmark):
8232 * progmodes/gud.el (gdb-input): Update declarations.
8233
8234 * calculator.el (electric, ehelp): No need to load when compiling.
8235 (Electric-command-loop, electric-describe-mode): Declare.
8236
8237 * doc-view.el (doc-view-current-converter-processes): Move before use.
8238
8239 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8240 Move MODE-set-explicitly definition before use.
8241
8242 * international/mule-diag.el (mule-diag):
8243 Don't use obsolete window-system-version.
8244
8245 * mail/feedmail.el (smtpmail): No need to load when compiling.
8246 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8247
8248 * mail/mail-utils.el (rfc822): No need to load when compiling.
8249 (rfc822-addresses): Autoload it.
8250 (mail-strip-quoted-names): Trivial simplification.
8251
8252 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8253 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8254
8255 * net/snmp-mode.el (tempo): Don't duplicate requires.
8256
8257 * progmodes/prolog.el (info): No need to load when compiling.
8258 (comint): Require before shell requires it.
8259 (Info-goto-node): Autoload it.
8260 (Info-follow-nearest-node): Declare.
8261 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8262
8263 * textmodes/artist.el (picture-mode-exit): Declare.
8264
8265 * textmodes/reftex-parse.el (reftex-parse-from-file):
8266 Trivial rewrite so the compiler can parse it better.
8267
b4da2cbb
LL
82682013-05-20 Leo Liu <sdl.web@gmail.com>
8269
8270 * progmodes/octave.el (octave-help-mode-map)
8271 (octave-help-mode-finish-hook): New variables.
8272 (octave-help-mode, octave-help-mode-finish): New functions.
8273 (octave-help): Use octave-help-mode.
8274
33c0f65b
GM
82752013-05-20 Glenn Morris <rgm@gnu.org>
8276
8277 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8278
1a0a0a8a
DG
82792013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8280
8281 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8282 start at point, so that expansion starting right after opening
8283 slash in a regexp is recognized.
8284 (ruby-syntax-before-regexp-re): New defvar, extracted from
8285 ruby-syntax-propertize-function. Since the value of this regexp
8286 is looked up at runtime now, we should be able to turn
8287 `ruby-syntax-methods-before-regexp' into a defcustom later.
8288 (ruby-syntax-propertize-function): Split regexp matching into two
8289 parts, for opening and closing slashes. That allows us to skip
8290 over string interpolations and support multiline regexps.
8291 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8292 for them, which calls `ruby-syntax-propertize-expansion'.
8293 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8294 call to `ruby-syntax-propertize-function'.
8295 (ruby-syntax-propertize-expansion): Extracted from
8296 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8297 (ruby-syntax-propertize-percent-literal): Leave point right after
8298 the percent symbol, so that the expression expansion rule can
8299 propertize the contents.
462388b6
DG
8300 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8301 heredoc openers.
8302 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8303
c1a6c0a4
JL
83042013-05-18 Juri Linkov <juri@jurta.org>
8305
8306 * man.el (Man-default-man-entry): Remove `-' from the end
8307 of the default value. (Bug#14400)
8308
8051fccd
GM
83092013-05-18 Glenn Morris <rgm@gnu.org>
8310
8311 * comint.el (comint-password-prompt-regexp):
8312 Allow "password for XXX" where XXX contains colons (eg https://...).
8313
5e80b74f
LL
83142013-05-18 Leo Liu <sdl.web@gmail.com>
8315
8316 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8317 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8318 (octave-source-directories): Don't check process.
8319 (octave-source-directories, octave-find-definition): Doc fix.
8320
521a54c5
GM
83212013-05-18 Glenn Morris <rgm@gnu.org>
8322
86a94b05
GM
8323 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8324 Remove backspace/delete bindings. (Bug#14392)
8325
521a54c5
GM
8326 * cus-dep.el (custom-make-dependencies): Sort the output.
8327 (custom-versions-load-alist): Convert comment to doc.
8328
42caeb89
LL
83292013-05-17 Leo Liu <sdl.web@gmail.com>
8330
8331 * newcomment.el (comment-search-backward): Stricter in finding
8332 comment start. (Bug#14303)
8333
8334 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8335 (octave-comment-start-skip): Properly anchored.
8336
e219dd97
LL
83372013-05-17 Leo Liu <sdl.web@gmail.com>
8338
fe1eb856
RS
8339 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8340 Clean up when turned off. (Bug#14395)
e219dd97
LL
8341 (smie--highlight-matching-block-overlay): No longer buffer-local.
8342 (smie-highlight-matching-block): Adjust.
8343
dc5dcb4b
PE
83442013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8345
8346 Doc string fix for "nanoseconds" (Bug#14406).
8347 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8348 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8349
1db165f0
JB
83502013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8351
8352 * calc/calc-units.el (math-extract-units): Preserve powers
8353 of units.
8354
c7a8fcac
LL
83552013-05-17 Leo Liu <sdl.web@gmail.com>
8356
8357 * subr.el (delete-consecutive-dups): New function.
8358 * ido.el (ido-set-matches-1): Use it.
8359 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8360 * ido.el (ido-remove-consecutive-dups): Remove.
8361
f678b18a
SM
83622013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8365 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8366 regexp-opt's `words'.
8367
ebfe68e8
LL
83682013-05-16 Leo Liu <sdl.web@gmail.com>
8369
8370 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8371 (smie--highlight-matching-block-overlay)
8372 (smie--highlight-matching-block-lastpos)
8373 (smie--highlight-matching-block-timer): New variables.
8374 (smie-highlight-matching-block): New function.
8375 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8376 (smie-setup): Conditionally enable smie-blink-matching-open.
8377
bc8bc17d
WS
83782013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8379
8380 Sync with upstream verilog-mode r840.
8381 * progmodes/verilog-mode.el (verilog-mode-version)
8382 (verilog-mode-release-date): Update.
8383 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8384 (verilog-sig-tieoff): Fix string error on
8385 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8386 (verilog-read-decls): Fix parameters confusing
8387 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8388
df065a0b
EZ
83892013-05-16 Eli Zaretskii <eliz@gnu.org>
8390
8391 * subr.el (reveal-filename): New function.
8392
8393 * loadup.el: Compute Emacs executable versions on MS-Windows,
8394 where executables have the .exe extension. Add a hard link
8395 emacs-XX.YY.ZZ.exe on MS-Windows.
8396
8397 * Makefile.in (XARGS_LIMIT): New variable.
8398 (custom-deps, finder-data, autoloads)
8399 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8400 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8401 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8402 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8403
2d4bf34b
LL
84042013-05-16 Leo Liu <sdl.web@gmail.com>
8405
8406 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8407 (octave-mode-menu, octave-mode-map): Remove its uses.
8408
6b9c2d85
RZ
84092013-05-16 Reto Zimmermann <reto@gnu.org>
8410
8411 Sync with upstream vhdl mode v3.34.2.
8412 * progmodes/vhdl-mode.el: Use `push' throughout.
8413 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8414 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8415 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8416 (vhdl-actual-generic-name): New option to derive actual generic name.
8417 (vhdl-port-paste-signals): Replace formal by actual generics.
8418 (vhdl-beautify): New name for old group vhdl-align. Update users.
8419 (vhdl-beautify-options): New option.
8420 (vhdl-last-input-event): New compat alias. Use throughout.
8421 (vhdl-goto-line): Replace user level function `goto-line'.
8422 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8423 vhdl-fix-statement-buffer.
8424 (vhdl-create-mode-menu): Add some entries.
8425 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8426 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8427 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8428 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8429 to force statements on one line.
8430 (vhdl-remove-trailing-spaces-region):
8431 New, split from vhdl-remove-trailing-spaces.
8432 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8433 Respect vhdl-beautify-options.
8434 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8435 (vhdl-update-sensitivity-list): Not add with index if exists without.
8436 Not include array index with signal. Ignore keywords in comments.
8437 (vhdl-get-visible-signals): Regexp tweaks.
8438 (vhdl-template-component-inst): Handle empty library.
8439 (vhdl-template-type): Add template for 'enum' type.
8440 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8441 Use vhdl-replace-string.
8442 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8443 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8444 (vhdl-speedbar-initialize): Update for above name change.
8445 (vhdl-compose-wire-components): Fix in handling of constants.
8446 (vhdl-error-regexp-emacs-alist): New variable.
8447 (vhdl-error-regexp-add-emacs): New function;
8448 adds support for new compile.el (Emacs 22+)
8449 (vhdl-generate-makefile-1): Change target order for single lib. units.
8450 Allow use of absolute file names.
8451
9df4ec5e
LL
84522013-05-16 Leo Liu <sdl.web@gmail.com>
8453
8454 * simple.el (prog-indent-sexp): Indent enclosing defun.
8455
f5ba00a6
GM
84562013-05-15 Glenn Morris <rgm@gnu.org>
8457
ed8be7ff
GM
8458 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8459 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8460 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8461 (whitespace-highlight): Move to whitespace group.
8462
8463 * comint.el (comint-source):
8464 * pcmpl-linux.el (pcmpl-linux):
8465 * shell.el (shell-faces):
8466 * eshell/esh-opt.el (eshell-opt):
8467 * international/ccl.el (ccl): Remove empty custom groups.
8468
8469 * completion.el (dynamic-completion-mode):
8470 * jit-lock.el (jit-lock-debug-mode):
8471 * minibuffer.el (completion-in-region-mode):
8472 * type-break.el (type-break-mode-line-message-mode)
8473 (type-break-query-mode):
8474 * emulation/tpu-edt.el (tpu-edt-mode):
8475 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8476 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8477 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8478
8479 * term/xterm.el (xterm): Change parent group to terminals.
8480
8481 * master.el (master): Remove empty custom group.
8482 (master-mode): Remove unused :group argument.
8483 * textmodes/refill.el (refill): Remove empty custom group.
8484 (refill-mode): Remove unused :group argument.
8485
8486 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8487
82a7c41b
GM
8488 * cus-dep.el: Provide a feature.
8489 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8490 Don't mistakenly ignore files whose basenames match a basename
8491 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8492 Add a fallback method for getting :group.
f5ba00a6 8493
6d65486d
JL
84942013-05-15 Juri Linkov <juri@jurta.org>
8495
da547b32
JL
8496 * isearch.el (isearch-char-by-name): Rename from
8497 `isearch-insert-char-by-name'. Doc fix.
8498 (isearch-forward): Mention `isearch-char-by-name' in
8499 the docstring. (Bug#13348)
8500
6d65486d
JL
8501 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8502 `exit-minibuffer' instead of
8503 `isearch-nonincremental-exit-minibuffer'.
8504 (isearch-edit-string): Remove mention of
8505 `isearch-nonincremental-exit-minibuffer' from docstring.
8506 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8507 (isearch-forward-exit-minibuffer)
8508 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8509
c9990474
SM
85102013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8511
6e911150
SM
8512 * loadup.el: Just use unversioned DOC.
8513
c9990474
SM
8514 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8515 literals as extending to EOB.
8516 (nxml-last-fontify-end): Remove unused variable.
8517 (nxml-after-change1): Use with-silent-modifications.
8518 (nxml-extend-after-change-region): Simplify.
8519 (nxml-extend-after-change-region1): Remove function.
8520 (nxml-after-change1): Don't adjust for dependent regions.
8521 (nxml-fontify-matcher): Simplify.
8522 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8523 (xmltok-add-dependent): Remove function.
8524 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8525 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8526 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8527 unclosed <[[, <?, comment, and other literals as extending to EOB.
8528 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8529 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8530 Remove functions.
8531 (rng-do-some-validation-1): Don't mark dependent regions.
8532 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8533 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8534 (nxml-clear-dependent-regions): Remove functions.
8535 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8536 (nxml-ensure-scan-up-to-date):
8537 Don't clear&mark dependent regions.
8538
e3772e98
LL
85392013-05-15 Leo Liu <sdl.web@gmail.com>
8540
c9990474
SM
8541 * progmodes/octave.el (octave-goto-function-definition):
8542 Improve and fix callers.
e3772e98 8543
5ac2eb34
SM
85442013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8545
c46c57b0
SM
8546 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8547 the setter (bug#14387).
8548
5ac2eb34
SM
8549 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8550 surrounding group (bug#14402).
8551
180ed218
JL
85522013-05-14 Juri Linkov <juri@jurta.org>
8553
8554 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8555 (Bug#14390)
8556
0ac0fecb
GM
85572013-05-14 Glenn Morris <rgm@gnu.org>
8558
8559 * progmodes/f90.el (f90-imenu-generic-expression):
8560 Fix typo in 2013-05-08 change. (Bug#14402)
8561
2e78e6a7
JPG
85622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8563
5ac2eb34
SM
8564 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8565 Remove signals for which replies are never received.
2e78e6a7 8566
53267cca
JPG
85672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8568
8569 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8570 (gdb-handler-alist, gdb-handler-number): Remove variables.
8571 (gdb-handler-list): New variable.
8572 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8573 (gdb-pending-handler-p, gdb-handle-reply)
8574 (gdb-remove-all-pending-triggers): New functions.
8575 (gdb-discard-unordered-replies): New defcustom.
8576 (gdb-handler): New defstruct.
8577 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8578 instead of gdb-pending-triggers. Update docstring.
8579 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8580 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8581 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8582 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8583 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8584 (gdb-frame-handler): Pending triggers are now automatically managed.
8585 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8586 Remove argument.
8587 (gdb-input): Automatically handles pending triggers. Update docstring.
8588 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8589 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8590 Update comments.
8591 (gdb-done-or-error): Now use gdb-handle-reply.
8592
d04ce803
JPG
85932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8594
8595 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8596 gdb-debug-log.
8597
0114073a
GM
85982013-05-14 Glenn Morris <rgm@gnu.org>
8599
8600 * subr.el (user-emacs-directory-warning): New option.
8601 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8602
4d25fd7e
LL
86032013-05-14 Leo Liu <sdl.web@gmail.com>
8604
8605 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8606 during redisplay.
8607 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8608 (octave-font-lock-texinfo-comment): Fix invalid search bound
8609 error: wrong side of point.
4d25fd7e 8610
27c8b6eb
GM
86112013-05-14 Glenn Morris <rgm@gnu.org>
8612
61aaeb01
GM
8613 * progmodes/flymake.el (flymake-xml-program): New option.
8614 (flymake-xml-init): Use it.
8615
5bf90bc5
GM
8616 * term/xterm.el: Provide a feature.
8617
8618 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8619
f4c7dfd2
GM
86202013-05-13 Glenn Morris <rgm@gnu.org>
8621
8622 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8623 Add compat aliases as a hack workaround. (Bug#14384)
8624
2aeb3a1d
LL
86252013-05-13 Leo Liu <sdl.web@gmail.com>
8626
b0e069c2
LL
8627 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8628 ###, and %!.
f5a9432f
LL
8629 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8630 C-M-q.
b0e069c2
LL
8631 (octave-comment-start-skip): Include %!.
8632 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8633
30ea8374
LL
86342013-05-12 Leo Liu <sdl.web@gmail.com>
8635
8636 * progmodes/octave.el (inferior-octave-startup): Store the value
8637 of __octave_srcdir__ for octave-source-directories.
8638 (inferior-octave-check-process): New function refactored out of
8639 inferior-octave-send-list-and-digest.
8640 (octave-source-directories)
8641 (octave-find-definition-filename-function): New variables.
8642 (octave-source-directories)
8643 (octave-find-definition-default-filename): New functions.
8644 (octave-find-definition): Improve to find functions implemented in C++.
8645
472a3834
GM
86462013-05-12 Glenn Morris <rgm@gnu.org>
8647
8648 * calendar/diary-lib.el (diary-outlook-format-1):
8649 Don't include dayname in the output. (Bug#14349)
8650
3191b52f
GM
86512013-05-11 Glenn Morris <rgm@gnu.org>
8652
0060ac73
GM
8653 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8654
3191b52f
GM
8655 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8656 Treat cc-provide like provide.
8657
e065ba74
KR
86582013-05-11 Kevin Ryde <user42@zip.com.au>
8659
8660 * cus-dep.el (custom-make-dependencies):
8661 Use generated-autoload-load-name for the sake of files such
8662 such cedet/semantic/bovine/c.el, where the base file name
8663 is not in load-path. (Bug#5277)
8664
36f84c37
GM
86652013-05-11 Glenn Morris <rgm@gnu.org>
8666
8667 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8668 Provide features.
8669
c8730c3a
LL
86702013-05-11 Leo Liu <sdl.web@gmail.com>
8671
8672 * progmodes/octave.el (octave-indent-comment): Improve.
8673 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8674 (octave-eldoc-function-signatures, octave-eldoc-function):
8675 New functions.
c8730c3a
LL
8676 (octave-mode, inferior-octave-mode): Add eldoc support.
8677
212e29f2
RS
86782013-05-11 Richard Stallman <rms@gnu.org>
8679
8680 * epa.el (epa-decrypt-file): Take output file name as argument
8681 and read it using `interactive'.
8682
083fe0d7
LL
86832013-05-11 Leo Liu <sdl.web@gmail.com>
8684
8685 * progmodes/octave.el (octave-beginning-of-line)
8686 (octave-end-of-line): Check before using up-list because it jumps
8687 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8688 (octave-indent-comment): New function.
8689 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8690 (octave-begin-keywords, octave-end-keywords)
8691 (octave-reserved-words, octave-smie-bnf-table)
8692 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8693
8582e4c4
GM
86942013-05-11 Glenn Morris <rgm@gnu.org>
8695
f20def1f
GM
8696 * faces.el (internal-face-x-get-resource):
8697 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8698 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8699 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8700 Fix declarations.
f20def1f 8701
445f95e2
GM
8702 * calc/calc-menu.el: Make it loadable in isolation.
8703
8704 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8705 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8706 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8707 (eudc-bbdb-query-internal): Require 'bbdb.
8708
99fb2756
GM
8709 * lpr.el (lpr-headers-switches):
8710 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8711
8712 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8713
0da7ad96
GM
8714 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8715
8582e4c4
GM
8716 * term.el (term-set-escape-char): Make it idempotent.
8717
f71c50d0
LL
87182013-05-10 Leo Liu <sdl.web@gmail.com>
8719
5ac2eb34
SM
8720 * progmodes/octave.el (inferior-octave-completion-table):
8721 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8722 completion due to bug#11906.
8723 (octave-beginning-of-defun): Re-write to be more general.
8724
d5837773
GM
87252013-05-10 Glenn Morris <rgm@gnu.org>
8726
8727 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8728
027c0f75
SM
87292013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * comint.el (comint-redirect-send-command-to-process): Use :around
8732 rather than :override for comint-redirect-filter.
8733 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8734 Call it instead of comint-redirect-original-filter-function (which
8735 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8736
4465bfb4
JD
87372013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8738
8739 * frame.el (display-monitor-attributes-list): Add NS case.
8740 (ns-display-monitor-attributes-list): Declare.
8741
2d809ffa 87422013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8743
8744 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8745
e54eeb9b
GM
87462013-05-09 Glenn Morris <rgm@gnu.org>
8747
56cd351d
GM
8748 * international/fontset.el (vertical-centering-font-regexp):
8749 Set standard-value.
8750
d84b6108
GM
8751 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8752
a931698a
GM
8753 * bookmark.el (bookmark-search-delay):
8754 * cus-start.el (vertical-centering-font-regexp):
8755 * ps-mule.el (ps-mule-font-info-database-default):
8756 * ps-print.el (ps-default-fg, ps-default-bg):
8757 * type-break.el (type-break-good-break-interval):
8758 * whitespace.el (whitespace-indentation-regexp)
8759 (whitespace-space-after-tab-regexp):
8760 * emacs-lisp/testcover.el (testcover-1value-functions)
8761 (testcover-noreturn-functions, testcover-progn-functions)
8762 (testcover-prog1-functions):
8763 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8764 * eshell/em-glob.el (eshell-glob-translate-alist):
8765 * play/tetris.el (tetris-tty-colors):
8766 * progmodes/cpp.el (cpp-face-default-list):
8767 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8768 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8769 (idlwave-help-browser-generic-args):
8770 * progmodes/make-mode.el (makefile-special-targets-list):
8771 * progmodes/python.el (python-shell-virtualenv-path):
8772 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8773 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8774 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8775 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8776 * textmodes/reftex-vars.el (reftex-format-label-function):
8777 * textmodes/remember.el (remember-diary-file): Fix custom types.
8778
e54eeb9b
GM
8779 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8780 Add :version.
8781
455851dd
LL
87822013-05-09 Leo Liu <sdl.web@gmail.com>
8783
8784 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8785 Restore file completion. (Bug#14300)
455851dd
LL
8786 (inferior-octave-startup): Fix incorrect highlighting for the
8787 first prompt.
8788
a9e4425b
SM
87892013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * progmodes/ruby-mode.el: First cut at SMIE support.
8792 (ruby-use-smie): New var.
8793 (ruby-smie-grammar): New constant.
8794 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8795 (ruby-smie--forward-token, ruby-smie--backward-token)
8796 (ruby-smie-rules): New functions.
8797 (ruby-mode-variables): Setup SMIE if applicable.
8798
060ca408
EZ
87992013-05-08 Eli Zaretskii <eliz@gnu.org>
8800
8801 * simple.el (line-move-visual): Signal beginning/end of buffer
8802 only if vertical-motion moved less than it was requested. Avoids
8803 silly incorrect error messages when there are display strings with
8804 multiple newlines at EOL.
8805
1d5963cc
SM
88062013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8809 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8810 (prolog-char-quote-workaround):
8811 * progmodes/cperl-mode.el (cperl-under-as-char):
8812 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8813 Mark as obsolete.
8814 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8815 their declaration.
8816 (vhdl-mode-syntax-table-init): Remove.
8817
c9990474
SM
8818 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8819 last change.
1d5963cc
SM
8820
8821 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8822 syntax for "_".
8823 (ld-script-font-lock-keywords):
8824 Change regexps to use things like \_< and \_>.
8825
8826 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8827 Change all regexps to use things like \_< and \_>.
8828
8829 * progmodes/autoconf.el (autoconf-definition-regexp)
8830 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8831 Handle a _ with symbol syntax.
8832 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8833
c9990474
SM
8834 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8835 Consolidate declaration.
1d5963cc
SM
8836 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8837 the declaration.
8838 (ada-create-syntax-table): Remove.
8839 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8840 already has the right syntax nowadays.
8841 (ada-goto-next-word): Don't change the syntax of "_".
8842
8843 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8844 with-wrapper-hook.
8845
72d3cfca
SS
88462013-05-08 Sam Steingold <sds@gnu.org>
8847
8848 * thingatpt.el (thing-at-point): Accept optional second argument
8849 NO-PROPERTIES to strip the text properties from the return value.
8850 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8851 to `thing-at-point' instead of stripping the properties ourselves.
8852 Also, when `thing-at-point' fails to find a url, prepend "http://"
8853 to the filename at point on the assumption that the user is
8854 pointing at something like gnu.org/gnu.
8855
5cb15713
JB
88562013-05-08 Juanma Barranquero <lekktu@gmail.com>
8857
8858 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8859 * faces.el (crm-separator):
8860 Silence byte-compiler.
8861
8862 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8863 (tool-bar-map): Remove unneeded defvars.
8864
ea78b95b
LL
88652013-05-08 Leo Liu <sdl.web@gmail.com>
8866
8867 Re-work a fix for bug#10994 based on Le Wang's patch.
8868 * ido.el (ido-remove-consecutive-dups): New helper.
8869 (ido-completing-read): Use it.
8870 (ido-chop): Revert fix for bug#10994.
8871
dc7466df
AS
88722013-05-08 Adam Spiers <emacs@adamspiers.org>
8873
8874 * cus-edit.el (custom-save-variables):
8875 Pretty-print long values. (Bug#14187)
8876
9ecf672a
GM
88772013-05-08 Glenn Morris <rgm@gnu.org>
8878
8879 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8880 (m4-mode-syntax-table): Init in the defvar.
8881 (m4-mode-abbrev-table): Let define-derived-mode define it.
8882
3f555be8
TT
88832013-05-08 Tom Tromey <tromey@redhat.com>
8884
8885 * progmodes/m4-mode.el (m4-mode-syntax-table):
8886 Do not treat "_" as word constituent. (Bug#14167)
8887
7cc8ae06
GM
88882013-05-07 Glenn Morris <rgm@gnu.org>
8889
4f58bc06
GM
8890 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8891 Remove explicit eshell-isearch-cancel-map.
8892
7cc8ae06
GM
8893 * progmodes/f90.el (f90-smart-end-names): New option.
8894 (f90-smart-end): Doc fix.
8895 (f90-end-block-optional-name): New constant.
8896 (f90-block-match): Respect f90-smart-end-names.
8897
ceb57e59
SM
88982013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8901 about implicit semi-colons (bug#14218).
8902
4e3f9230
YM
89032013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8904
8905 * frame.el (display-monitor-attributes-list)
8906 (frame-monitor-attributes): New functions.
8907
203a5572
LL
89082013-05-06 Leo Liu <sdl.web@gmail.com>
8909
8910 * progmodes/octave.el (octave-syntax-propertize-function): Change
8911 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8912 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8913 (octave-completion-at-point): Rename from
203a5572
LL
8914 octave-completion-at-point-function.
8915 (inferior-octave-directory-tracker): Robustify.
8916 (octave-text-functions): Remove and fix its uses. No such things
8917 any more.
8918
ee6cff99
SM
89192013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * emacs-lisp/trace.el (trace--display-buffer): New function.
8922 (trace-make-advice): Use it.
8923
32985194
JL
89242013-05-06 Juri Linkov <juri@jurta.org>
8925
8926 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8927 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8928 Doc fix.
8929 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8930 in the help string. (Bug#12985)
8931
a1c700de
KD
89322013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8933
8934 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8935
c67c0839
SM
89362013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8937
323885fd
SM
8938 * progmodes/perl-mode.el: Add support for here documents.
8939 (perl-syntax-propertize-function): Match here-doc markers.
8940 (perl-syntax-propertize-special-constructs): Find their end.
8941 (perl-imenu-generic-expression): Use [:alnum:].
8942
c67c0839
SM
8943 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8944 (advice--add-function): Refresh the advice if already present
8945 (bug#14317).
8946
d491e7a8
IA
89472013-05-06 Ivan Andrus <darthandrus@gmail.com>
8948
8949 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8950
ddf9925e
GM
89512013-05-06 Glenn Morris <rgm@gnu.org>
8952
7cc3af27
GM
8953 * w32-fns.el (w32-charset-info-alist): Declare.
8954
16e343d6
GM
8955 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8956 of its defcustom properties.
8957 (eshell-cmpl-initialize): No need to load pcomplete.
8958
7d889a47
GM
8959 * generic-x.el: No need to require comint when compiling.
8960
ddf9925e
GM
8961 * net/eudc-export.el: Make it loadable without bbdb.
8962 (top-level): Use require rather than load-library.
8963 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8964 (eudc-batch-export-records-to-bbdb)
8965 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8966 Require bbdb.
8967
1e2c18df
SM
89682013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8971 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8972 some tweaks, instead.
8973
02502a5f
LL
89742013-05-05 Leo Liu <sdl.web@gmail.com>
8975
8976 * progmodes/octave.el (octave-font-lock-keywords)
8977 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8978 (inferior-octave-send-list-and-digest): Improve error message.
8979 (octave-mode, inferior-octave-mode): Use setq-local.
8980 (octave-help): Set info-lookup-mode.
8981
0dc04f42
RS
89822013-05-05 Richard Stallman <rms@gnu.org>
8983
6c54491c
RS
8984 * vc/compare-w.el (compare-windows-whitespace):
8985 Treat no-break space as whitespace.
8986
0dc04f42
RS
8987 * mail/rmailsum.el (rmail-summary-rmail-update):
8988 Detect empty summary and don't change selected message.
8989 (rmail-summary-goto-msg): Likewise.
8990
df8f35df
RS
8991 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8992 Doc fixes, rename args.
8993
5356e1a3
AM
89942013-05-05 Alan Mackenzie <acm@muc.de>
8995
8996 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8997
d44014cb
JL
89982013-05-05 Juri Linkov <juri@jurta.org>
8999
9000 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9001 to not add the length of the summary segment to the return value.
9002 (Bug#14125)
9003
c129b51f
LL
90042013-05-05 Leo Liu <sdl.web@gmail.com>
9005
9006 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9007 (inferior-octave-output-filter): Remove.
9008 (octave-send-region, inferior-octave-startup): Fix callers.
9009 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9010 (octave-binary-file-extensions): New user variable.
9011 (octave-find-definition): Confirm if opening binary files.
9012 (octave-help-file): Use octave-find-definition to get the binary
9013 confirmation.
9014 (octave-help): Adjust for octave-help-file change.
9015
aa7dab97
SM
90162013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9019 Merge the two entries that handle function definitions.
9020 (pascal--syntax-propertize): New const.
9021 (pascal-mode): Use it. Use setq-local.
9022
fd3a9a6b
GM
90232013-05-04 Glenn Morris <rgm@gnu.org>
9024
9025 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9026 (diary-from-outlook): Respect diary-from-outlook-function.
9027
30c7e542
SM
90282013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9031 Move the declaration from C.
9032 (read-minibuffer, eval-minibuffer): Move from C.
9033 (completion-setup-function): Avoid minibuffer-completion-contents.
9034
b54f978b
LL
90352013-05-03 Leo Liu <sdl.web@gmail.com>
9036
9037 * progmodes/octave.el (octave-font-lock-keywords): Do not
9038 dehighlight 'end' in comments or strings.
30c7e542
SM
9039 (octave-completing-read, octave-goto-function-definition):
9040 New helpers.
d4d0f9b3
LL
9041 (octave-help-buffer): New user variable.
9042 (octave-help-file, octave-help-function): New button types.
9043 (octave-help): New command and bind it to C-h ;.
9044 (octave-find-definition): New command and bind it to M-.
d74a1581 9045 (user-error): Alias to error if not defined.
b54f978b 9046
27135018
LL
90472013-05-02 Leo Liu <sdl.web@gmail.com>
9048
9049 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9050 for \. (bug#14332)
9051 (octave-font-lock-keywords): Include [ and {.
9052
0d634d3a
LL
90532013-05-02 Leo Liu <sdl.web@gmail.com>
9054
9055 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9056 (inferior-octave): Remove calling comint-mode and return the buffer.
9057 (inferior-octave-startup): Cosmetic changes.
9058
b4c8295e
LL
90592013-05-02 Leo Liu <sdl.web@gmail.com>
9060
30c7e542
SM
9061 * progmodes/octave.el (octave-syntax-propertize-function):
9062 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9063
f12ad6ec
GM
90642013-05-02 Glenn Morris <rgm@gnu.org>
9065
9066 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9067 * desktop.el (vc-dir-mode): Just autoload it here.
9068
30cac1e0
AM
90692013-05-02 Alan Mackenzie <acm@muc.de>
9070
9071 Eliminate variable c-standard-font-lock-fontify-region-function.
9072 * progmodes/cc-mode.el
9073 (c-standard-font-lock-fontify-region-function): Remove.
9074 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9075
d8ef28b1
LL
90762013-05-01 Leo Liu <sdl.web@gmail.com>
9077
2640d52e 9078 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9079 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9080 variables were removed from Octave in 2007.
d8ef28b1
LL
9081 (inferior-octave-startup): Fix uses.
9082 (comint-line-beginning-position): Remove compatibility code for
9083 emacs 21.
9084
ac63ec89
JL
90852013-05-01 Juri Linkov <juri@jurta.org>
9086
9087 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9088
9e9be37c
JL
90892013-05-01 Juri Linkov <juri@jurta.org>
9090
9091 * comint.el (comint-previous-matching-input): Don't print message
9092 "History item: %d" when `isearch-mode' is active.
9093 (comint-history-isearch-message): Print message "History item: %d"
9094 when `comint-input-ring-index' is not empty and this function is
9095 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9096
9b92c13b
LL
90972013-05-01 Leo Liu <sdl.web@gmail.com>
9098
9099 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9100 definitions. Use completion-at-point to insert keywords.
9101 (octave-abbrev-start): Remove.
9102 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9103
b12d33d7
LL
91042013-04-30 Leo Liu <sdl.web@gmail.com>
9105
9106 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9107 change.
9108
3d1c39fa
AM
91092013-04-30 Alan Mackenzie <acm@muc.de>
9110
9111 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9112 * progmodes/cc-engine.el (c-back-over-member-initializers):
9113 new function.
3d1c39fa
AM
9114 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9115 (most) member init lists.
9116
5147fc17
RS
91172013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9118
9119 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9120 variable.
9121
5b78d7fc
LL
91222013-04-30 Leo Liu <sdl.web@gmail.com>
9123
9124 * progmodes/octave.el (octave-variables): Remove. No builtin
9125 variables any more. All converted to functions.
9126 (octave-font-lock-keywords, octave-completion-at-point-function):
9127 Fix uses.
9128 (octave-font-lock-texinfo-comment): New user variable.
9129 (octave-texinfo-font-lock-keywords): New variable for texinfo
9130 comment block.
9131 (octave-function-comment-block): New face.
9132 (octave-font-lock-texinfo-comment): New function.
9133 (octave-mode): Font lock texinfo comment block.
9134
38d8527b
LL
91352013-04-29 Leo Liu <sdl.web@gmail.com>
9136
9137 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9138 indexing expression.
9139 (octave-continuation-string): Do not use \.
9140 (inferior-octave-complete-impossible): Remove.
9141 (inferior-octave-completion-table)
9142 (inferior-octave-completion-at-point): Remove its uses.
9143 (inferior-octave-startup): completion_matches was introduced to
9144 Octave in 1996 so safe to assume it.
9145 (octave-function-file-comment): Improve to follow how Octave does it.
9146 (octave-update-function-file-comment): Tweak.
9147
2ec12cb0
LL
91482013-04-29 Leo Liu <sdl.web@gmail.com>
9149
9150 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9151 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9152 (octave-function-file-comment): Fix typo.
9153 (octave-sync-function-file-names): Use read-char-choice.
9154
6eaed048
JB
91552013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9156
9157 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9158 to t for the less important warnings.
9159
3ffa2d4f
DH
91602013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9161
9162 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9163
685c9501
GM
91642013-04-27 Glenn Morris <rgm@gnu.org>
9165
9166 * vc/log-view.el (log-view-current-entry):
9167 Treat "---" separator lines as part of the following rev. (Bug#14169)
9168
0208ede7
JL
91692013-04-27 Juri Linkov <juri@jurta.org>
9170
9171 * subr.el (read-number): Doc fix about using it by interactive
9172 code letter `n'. (Bug#14254)
9173
5db9dace
JL
91742013-04-27 Juri Linkov <juri@jurta.org>
9175
9176 * desktop.el (desktop-auto-save-timeout): New option.
9177 (desktop-file-checksum): New variable.
9178 (desktop-save): Add optional arg `auto-save' and don't auto-save
9179 if nothing changed.
9180 (desktop-auto-save-timer): New variable.
9181 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9182 (after-init-hook): Call `desktop-auto-save-set-timer'.
9183 Suggested by Reuben Thomas <rrt@sc3d.org> in
9184 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9185
b7260dd4
LL
91862013-04-27 Leo Liu <sdl.web@gmail.com>
9187
9188 * progmodes/octave.el (octave-function-file-p)
9189 (octave-skip-comment-forward, octave-function-file-comment)
9190 (octave-update-function-file-comment): New functions.
9191 (octave-mode-map): Bind C-c ; to
9192 octave-update-function-file-comment.
9193 (octave-mode-menu): Add octave-update-function-file-comment.
9194 (octave-mode, inferior-octave-mode): Fix doc-string.
9195 (octave-insert-defun): Conform to Octave's coding convention.
9196 (Bug#14285)
9197
9198 * files.el (basic-save-buffer): Don't let errors in
9199 before-save-hook prevent saving buffer.
9200
c46da669
RW
92012013-04-20 Roland Winkler <winkler@gnu.org>
9202
9203 * faces.el (read-face-name): Use completing-read if arg multiple
9204 is nil.
9205
a81ee1eb
IL
92062013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9207
9208 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9209 displayed, move point to after the totals line.
9210 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9211 for the details.
9212
4fac34ce
SM
92132013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9216 Add current dir to the load-path.
9217 (package-generate-autoloads): Don't rely on
9218 autoload-ensure-default-file.
9219
f6bfc063
RT
92202013-04-26 Reuben Thomas <rrt@sc3d.org>
9221
d40ab5cf
BG
9222 * textmodes/remember.el (remember-store-in-files): Document that
9223 the file name format is passed to `format-time-string'.
f6bfc063 9224
e55d3b04
LL
92252013-04-26 Leo Liu <sdl.web@gmail.com>
9226
9227 * progmodes/octave.el (octave-sync-function-file-names): New function.
9228 (octave-mode): Use it in before-save-hook.
9229
e53052d3
SM
92302013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9231
140ef50c
SM
9232 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9233 (bug#14274).
9234
e53052d3
SM
9235 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9236 \n and comment, even if it's not an implicit ; (bug#14218).
9237
af80458d 92382013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9239
9240 * subr.el (read-number): Once more use `read' rather than
9241 `string-to-number', to trap non-numeric input. (Bug#14254)
9242
af80458d 92432013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9244
9245 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9246 Use `syntax-multiline' text property consistently instead of
8a621d53 9247 `font-lock-multiline'. (Bug#14237)
70203c2e 9248
e6ea1f6c
GM
92492013-04-26 Glenn Morris <rgm@gnu.org>
9250
9251 * emacs-lisp/shadow.el (list-load-path-shadows):
9252 No longer necessary to check for duplicate simple.el, since
9253 2012-07-07 change to init_lread to not include installation lisp
9254 directories in load-path when running uninstalled. (Bug#14270)
9255
070ccca4
LL
92562013-04-26 Leo Liu <sdl.web@gmail.com>
9257
9258 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9259 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9260 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9261 octave-in-string-or-comment-p.
9262 (octave-in-comment-p, octave-in-string-p)
9263 (octave-in-string-or-comment-p): Replace defsubst with defun.
9264
9d1c5fb6
PE
92652013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9266
9267 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9268
c034abda
BG
92692013-04-25 Bastien Guerry <bzg@gnu.org>
9270
9271 * textmodes/remember.el (remember-data-directory)
9272 (remember-directory-file-name-format): Fix custom types.
9273
584ea277
LL
92742013-04-25 Leo Liu <sdl.web@gmail.com>
9275
e53052d3
SM
9276 * progmodes/octave.el (octave-completion-at-point-function):
9277 Make use of inferior octave process.
584ea277
LL
9278 (octave-initialize-completions): Remove.
9279 (inferior-octave-completion-table): New function.
9280 (inferior-octave-completion-at-point): Use it.
9281 (octave-completion-alist): Remove.
9282
1693b06a
SM
92832013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9286 (opascal-mode-syntax-table): New var.
9287 (opascal-literal-kind, opascal-is-literal-end)
9288 (opascal-literal-token-at): Rewrite.
9289 (opascal--literal-start-re, opascal-font-lock-keywords)
9290 (opascal--syntax-propertize): New constants.
9291 (opascal-font-lock-defaults): Adjust.
9292 (opascal-mode): Use them. Set comment-<foo> variables as well.
9293 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9294 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9295 (delphi-other-face, opascal-other-face): Remove face variables.
9296 (opascal-save-state): Remove macro.
9297 (opascal-fontifying-progress-step): Remove constant.
9298 (opascal--ignore-changes): Remove var.
9299 (opascal-set-token-property, opascal-parse-next-literal)
9300 (opascal-is-stable-literal, opascal-complete-literal)
9301 (opascal-is-literal-start, opascal-face-of)
9302 (opascal-parse-region, opascal-parse-region-until-stable)
9303 (opascal-fontify-region, opascal-after-change)
9304 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9305 (opascal-debug-parse-region, opascal-debug-parse-window)
9306 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9307 (opascal-debug-fontify-buffer): Remove.
9308 (opascal-debug-mode-map): Adjust accordingly.
9309
be64c05d
LL
93102013-04-25 Leo Liu <sdl.web@gmail.com>
9311
9312 Merge octave-mod.el and octave-inf.el into octave.el with some
9313 cleanups.
9314 * progmodes/octave.el: New file renamed from octave-mod.el.
9315 * progmodes/octave-inf.el: Merged into octave.el.
9316 * progmodes/octave-mod.el: Renamed to octave.el.
9317
d79d37bd
TH
93182013-04-25 Tassilo Horn <tsdh@gnu.org>
9319
9320 * textmodes/reftex-vars.el
9321 (reftex-label-ignored-macros-and-environments): New defcustom.
9322
9323 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9324
ced3fc5d
SM
93252013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9328 (smie-indent-keyword): Improve the check to ensure that the next
9329 comment is really on the same line.
9330 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9331
9332 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9333 semi-colons if the line is not otherwise empty (bug#14218).
9334
1c141dad
GM
93352013-04-25 Glenn Morris <rgm@gnu.org>
9336
9337 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9338
5058062a
SM
93392013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * progmodes/opascal.el (opascal-set-token-property): Rename from
9342 opascal-set-text-properties and only set `token' (bug#14134).
9343 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9344 (opascal-literal-text-properties): Remove.
9345 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9346 Adjust callers.
9347
5db9dace 93482013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9349
9350 * textmodes/remember.el (remember-handler-functions): Add an
9351 option for a new handler `remember-store-in-files'.
9352 (remember-data-directory, remember-directory-file-name-format):
9353 New options.
9354 (remember-store-in-files): New function to store remember notes
9355 as separate files within a directory.
9356
4391916c
MH
93572013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9358
9359 * progmodes/compile.el (compilation-next-error-function):
9360 Pass "formats" to compilation-find-file (bug#11777).
9361
bb7cdf58
GM
93622013-04-24 Glenn Morris <rgm@gnu.org>
9363
3b8fe752 9364 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9365 * vc/vc-hg.el (vc-hg-print-log):
9366 * vc/vc-svn.el (vc-svn-print-log):
9367 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9368
bb7cdf58
GM
9369 * vc/vc-bzr.el (vc-bzr-print-log):
9370 * vc/vc-cvs.el (vc-cvs-print-log):
9371 * vc/vc-git.el (vc-git-print-log):
9372 * vc/vc-hg.el (vc-hg-print-log):
9373 * vc/vc-mtn.el (vc-mtn-print-log):
9374 * vc/vc-rcs.el (vc-rcs-print-log):
9375 * vc/vc-sccs.el (vc-sccs-print-log):
9376 * vc/vc-svn.el (vc-svn-print-log):
9377 * vc/vc.el (vc-print-log-internal): Doc fixes.
9378
b46a056e
GM
93792013-04-23 Glenn Morris <rgm@gnu.org>
9380
9381 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9382 Remove venerable code attempting to avoid substitute-command-keys.
9383
0aecf718
TH
93842013-04-23 Tassilo Horn <tsdh@gnu.org>
9385
4391916c
MH
9386 * textmodes/reftex-vars.el (reftex-label-regexps):
9387 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9388
117f94cf
SM
93892013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9390
4391916c 9391 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9392 Use lexical-binding.
9393 (jit-lock-force-redisplay): Use markers, check buffer's continued
9394 existence and beware narrowed buffers.
9395 (jit-lock-fontify-now): Adjust call accordingly.
9396
1d829c64
SM
93972013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9400 to avoid misleading the user.
9401
72d548a9
LL
94022013-04-22 Leo Liu <sdl.web@gmail.com>
9403
9404 * info-look.el: Prefer latex2e.info. (Bug#14240)
9405
d0853629
MA
94062013-04-22 Michael Albinus <michael.albinus@gmx.de>
9407
9408 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9409
9410 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9411 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9412 (tramp-set-completion-function, tramp-parse-putty):
9413 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9414 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9415 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9416 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9417 (tramp-call-local-coding-command): Use `tramp-call-process'
9418 instead of `tramp-compat-call-process'.
9419
9420 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9421 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9422 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9423 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9424 (tramp-maybe-send-script): Check for Perl binary.
9425 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9426
38cc0210
DU
94272013-04-22 Daiki Ueno <ueno@gnu.org>
9428
9429 * epg.el (epg-context-pinentry-mode): New function.
9430 (epg-context-set-pinentry-mode): New function.
9431 (epg--start): Pass --pinentry-mode option to gpg command.
9432
cc641ee1
XF
94332013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9434
02d844b5 9435 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9436 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9437 `completion-at-point'. (Bug#13774)
5d4e5c31 9438
cc641ee1
XF
9439 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9440 default key binding for `describe-distribution' has been moved to
9441 `C-h C-o'. (Bug#13970)
9442
1b42ee43
GM
94432013-04-21 Glenn Morris <rgm@gnu.org>
9444
9445 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9446 Add doc strings.
9447 (vc-print-log): Clarify interactive prompt.
9448
a6d63d97
GM
94492013-04-20 Glenn Morris <rgm@gnu.org>
9450
9451 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9452 No longer include timestamp etc information.
9453
d7f5c16f
RW
94542013-04-20 Roland Winkler <winkler@gnu.org>
9455
9456 * faces.el (read-face-name): Bug fix, return just one face if arg
9457 multiple is nil. (Bug#14209)
9458
bcd7a0a4
SM
94592013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9462 (remove-function): Autoload.
9463
9464 * comint.el (comint-redirect-original-filter-function): Remove.
9465 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9466 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9467 (vc-cvs-annotate-command):
bcd7a0a4
SM
9468 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9469 * progmodes/prolog.el (prolog-consult-compile):
9470 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9471 Use add/remove-function instead.
9472 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9473 (gud-tooltip-process-output, gud-tooltip-tips):
9474 Use add/remove-function instead.
9475 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9476 (scheme-interaction-mode, exit-scheme-interaction-mode):
9477 Use add/remove-function instead.
9478
9479 * vc/vc-dispatcher.el: Use lexical-binding.
9480 (vc--process-sentinel): Rename from vc-process-sentinel.
9481 Change last arg to be the code to run. Don't use vc-previous-sentinel
9482 and vc-sentinel-commands any more.
9483 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9484 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9485
e36b2d20 94862013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9487
bcd7a0a4 9488 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9489 Handle function names with a single character. (Bug#14111)
4d3268ba 9490
781b4af6 94912013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9492
9493 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9494 for subroutines defined in an eval (bug#14182).
9495
7d688336
TV
94962013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9497
9498 * bookmark.el (bookmark-completing-read): Improve handling of empty
9499 string (bug#14176).
9500
31dcede0
SM
95012013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9504
adc31213
FEG
95052013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9506
9507 New faster Imenu implementation (bug#14058).
9508 * progmodes/python.el:
9509 (python-imenu-prev-index-position):
9510 (python-imenu-format-item-label-function)
9511 (python-imenu-format-parent-item-label-function)
9512 (python-imenu-format-parent-item-jump-label-function):
9513 New vars.
9514 (python-imenu-format-item-label)
9515 (python-imenu-format-parent-item-label)
9516 (python-imenu-format-parent-item-jump-label)
9517 (python-imenu--put-parent, python-imenu--build-tree)
9518 (python-imenu-create-index, python-imenu-create-flat-index)
9519 (python-util-popn): New functions.
9520 (python-mode): Set imenu-create-index-function to
9521 python-imenu-create-index.
9522
cdca8255
SM
95232013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 * winner.el (winner-active-region): Use region-active-p, activate-mark
9526 and deactivate-mark (bug#14225).
9527
9528 * simple.el (deactivate-mark): Don't inline it.
9529
beb42340
MA
95302013-04-18 Michael Albinus <michael.albinus@gmx.de>
9531
9532 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9533
fc7f4d7e
TH
95342013-04-18 Tassilo Horn <tsdh@gnu.org>
9535
9536 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9537 file extensions from the archive-mode entry in order to prefer
9538 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9539
29f47822
LL
95402013-04-18 Leo Liu <sdl.web@gmail.com>
9541
9542 * bindings.el (help-event-list): Add ?\?.
9543
d36ed1c8
SM
95442013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * subr.el (with-wrapper-hook): Declare obsolete.
9547 * simple.el (filter-buffer-substring-function): New hook.
9548 (filter-buffer-substring): Use it.
9549 (filter-buffer-substring-functions): Mark obsolete.
9550 * minibuffer.el (completion-in-region-function): New hook.
9551 (completion-in-region): Use it.
9552 (completion-in-region-functions): Mark obsolete.
9553 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9554 * abbrev.el (abbrev-expand-function): New hook.
9555 (expand-abbrev): Use it.
9556 (abbrev-expand-functions): Mark obsolete.
9557 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9558 and :filter-return.
9559
04754d36
FEG
95602013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9561
9562 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9563 and do not care about match data.
9564
dd8791e9
SM
95652013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9568 completion tables when completing error conditions and
9569 `declare' arguments.
9570 (lisp-complete-symbol, field-complete): Mark as obsolete.
9571 (check-parens): Unmatched parens are user errors.
9572 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9573
ffe54a13
AM
95742013-04-17 Michal Nazarewicz <mina86@mina86.com>
9575
dd8791e9
SM
9576 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9577 command changed buffer (ie. `flyspell-pre-buffer' is not current
9578 buffer), which prevents making decisions based on invalid value of
9579 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9580 cause an error when `flyspell-pre-point' was nil after switching
9581 buffers.
9582 (flyspell-post-command-hook): No longer needs to change buffers when
9583 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9584
ec7e39f2
AM
95852013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9586
9587 * textmodes/ispell.el (ispell-add-per-file-word-list):
9588 Fix `flyspell-correct-word-before-point' error when accepting
9589 words and `coment-padding' is an integer by using
9590 `comment-normalize-vars' (Bug #14214).
9591
083850a6
FEG
95922013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9593
9594 New defun movement commands.
9595 * progmodes/python.el (python-nav--syntactically)
9596 (python-nav--forward-defun, python-nav-backward-defun)
9597 (python-nav-forward-defun): New functions.
9598
619ed6e1
FEG
95992013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9600
9601 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9602 (python-syntax-context): Use named compiler-macro for backwards
9603 compatibility with Emacs 24.x.
9604
7a1beb6c
LL
96052013-04-17 Leo Liu <sdl.web@gmail.com>
9606
9607 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9608 octave-hide-process-buffer.
9609
2d3fa3e5
SM
96102013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9613 (bug#14216).
9614
7ce5be54
JPG
96152013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9616
9617 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9618 Fix adjustment of offset when receiving incomplete responses from GDB
9619 (bug#14129).
9620
351edece
SM
96212013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9624 python-mode-abbrev-table.
9625 (python-skeleton-define): Adjust accordingly.
9626 (python-mode-abbrev-table): New table that inherits from it so that
9627 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9628
9629 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9630 (abbrev-symbol): Use it.
9631 (abbrev--before-point): Use it since we already handle inheritance.
9632
613f9481
LL
96332013-04-16 Leo Liu <sdl.web@gmail.com>
9634
9635 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9636 binding to info-lookup-symbol.
9637
51646b62
JB
96382013-04-16 Juanma Barranquero <lekktu@gmail.com>
9639
9640 * minibuffer.el (completion--twq-all):
9641 * term/ns-win.el (ns-initialize-window-system):
9642 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9643
efb3f01d
SM
96442013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9645
36c0a301
SM
9646 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9647 global bindings.
9648
efb3f01d
SM
9649 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9650
fb549d64
DG
96512013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9652
9653 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9654 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9655 to nil.
9656 (ruby-end-of-defun): Remove the unused arg, change the docstring
9657 to reflect that this function is only used as the value of
9658 `end-of-defun-function'.
9659 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9660 to reflect an earlier change that beginning/end-of-defun functions
9661 jump between methods in a class definition, as well as top-level
9662 functions.
9663
21e8fe2f
SM
96642013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9665
9666 * minibuffer.el (minibuffer-complete): Don't just scroll
9667 a *Completions* that's been iconified.
9668 (minibuffer-force-complete): Make sure repetitions do cycle when going
9669 through completion-in-region -> minibuffer-complete.
9670
20e527d0
AM
96712013-04-15 Alan Mackenzie <acm@muc.de>
9672
9673 Correct the placement of c-cpp-delimiters when there're #s not at
9674 col 0.
9675
9676 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9677 place a submatch around the #.
21e8fe2f
SM
9678 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9679 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9680 on the #, not BOL.
9681
dabefae5
SM
96822013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9685 (advice--member-p): New arg `name'.
9686 (advice--add-function, advice-member-p): Use it (bug#14202).
9687
85c9ab64
AM
96882013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9689
9690 Reformulate java imenu-generic-expression.
9691 The old expression contained ill formed regexps.
9692
9693 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9694 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9695 (cc-imenu-java-method-arg-regexp): New defconsts.
9696 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9697 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9698 handling of spaces in the regexp.
9699
0f821d99
AM
97002013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9701
9702 * textmodes/ispell.el (ispell-command-loop): Remove
9703 flyspell highlight of a word when ispell accepts it (bug #14178).
9704
eb922adf
MA
97052013-04-15 Michael Albinus <michael.albinus@gmx.de>
9706
9707 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9708 uses code from the previous `ange-ftp-run-real-handler'.
9709 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9710 only in case that function exist. This is needed for proper
9711 unloading of Tramp.
9712
4d9a0979
TH
97132013-04-15 Tassilo Horn <tsdh@gnu.org>
9714
9715 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9716
9717 * textmodes/reftex.el (reftex-compile-variables): Use it.
9718
a829b0dc
SM
97192013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9720
91e8293c
SM
9721 * files.el (normal-mode): Only use default major-mode if no other mode
9722 was specified.
9723
830aed4d
SM
9724 * emacs-lisp/trace.el (trace-values): New function.
9725
a829b0dc
SM
9726 * files.el: Allow : in local variables (bug#14089).
9727 (hack-local-variable-regexp): New var.
9728 (hack-local-variables-prop-line, hack-local-variables): Use it.
9729
7ae9f0fb
RW
97302013-04-13 Roland Winkler <winkler@gnu.org>
9731
9732 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9733 data before it gets modified by bibtex-beginning-of-entry.
9734
6646e848
RW
97352013-04-13 Roland Winkler <winkler@gnu.org>
9736
9737 * textmodes/bibtex.el (bibtex-url): Doc fix.
9738
97392013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9740
9741 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9742 does not visit a BibTeX file, exclude it from the list of buffers
9743 returned by bibtex-initialize.
9744
0aa3616e
SB
97452013-04-13 Stephen Berman <stephen.berman@gmx.net>
9746
9747 * window.el (split-window): Remove interactive form, since as a
9748 command this function is a special case of split-window-below.
9749 Correct doc string.
9750
011cddd6
RW
97512013-04-12 Roland Winkler <winkler@gnu.org>
9752
9753 * faces.el (read-face-name): Do not override value of arg default.
9754 Allow single faces and strings as default values. Remove those
9755 elements from return value that are not faces.
9756 (describe-face): Simplify.
9757 (face-at-point): New optional args thing and multiple so that this
9758 function can provide the same functionality previously provided by
9759 read-face-name.
9760 (make-face-bold, make-face-unbold, make-face-italic)
9761 (make-face-unitalic, make-face-bold-italic, invert-face)
9762 (modify-face, read-face-and-attribute): Use face-at-point.
9763
9764 * cus-edit.el (customize-face, customize-face-other-window)
9765 * cus-theme.el (custom-theme-add-face)
9766 * face-remap.el (buffer-face-set)
9767 * facemenu.el (facemenu-set-face): Use face-at-point.
9768
f24e0036
MA
97692013-04-12 Michael Albinus <michael.albinus@gmx.de>
9770
9771 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9772
da3cda2d
TH
97732013-04-10 Tassilo Horn <tsdh@gnu.org>
9774
9775 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9776 off leading { and trailing } from field values.
9777
15e54145
SM
97782013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9779
78ce603d
SM
9780 * emacs-lisp/timer.el (timer--check): New function.
9781 (timer--time, timer-set-function, timer-event-handler): Use it.
9782 (timer-set-idle-time): Simplify.
9783 (timer--activate): CSE.
9784 (timer-event-handler): Give more info in error message.
9785 (internal-timer-start-idle): New function, moved from C.
9786
15e54145
SM
9787 * mpc.el (mpc-proc): Add `restart' argument.
9788 (mpc-proc-cmd): Use it.
9789 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9790 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9791 less often.
9792
7144c627
MY
97932013-04-10 Masatake YAMATO <yamato@redhat.com>
9794
9795 * progmodes/sh-script.el: Implement `sh-mode' own
9796 `add-log-current-defun-function' (bug#14112).
9797 (sh-current-defun-name): New function.
9798 (sh-mode): Use the function.
9799
b39792eb
BG
98002013-04-09 Bastien Guerry <bzg@gnu.org>
9801
9802 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9803
8acdeb71
SM
98042013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9805
6fcdab68
SM
9806 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9807
8acdeb71
SM
9808 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9809 timer (bug#14156).
9810
e3e7b504
NF
98112013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9812
9813 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9814 declaration.
9815
201bb296
LL
98162013-04-07 Leo Liu <sdl.web@gmail.com>
9817
9818 * pcmpl-x.el: New file.
9819
ebb19708
DA
98202013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9821
9822 Do not set x-display-name until X connection is established.
9823 This is needed to prevent from weird situation described at
9824 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9825 * frame.el (make-frame): Set x-display-name after call to
9826 window system initialization function, not before.
9827 * term/x-win.el (x-initialize-window-system): Add optional
9828 display argument and use it.
9829 * term/w32-win.el (w32-initialize-window-system):
9830 * term/ns-win.el (ns-initialize-window-system):
9831 * term/pc-win.el (msdos-initialize-window-system):
9832 Add compatible optional display argument.
9833
33bb237a
EZ
98342013-04-06 Eli Zaretskii <eliz@gnu.org>
9835
9836 * files.el (normal-backup-enable-predicate): On MS-Windows and
9837 MS-DOS compare truenames of temporary-file-directory and of the
9838 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9839 don't fail comparison by compare-strings. Also, compare file
9840 names case-insensitively on MS-Windows and MS-DOS.
9841
134abf1f
SM
98422013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9845 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9846
d695cb94
DG
98472013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9848
e3e7b504
NF
9849 * whitespace.el (whitespace-color-on, whitespace-color-off):
9850 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9851
f4ad7ea1 98522013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9853
9854 * ispell.el (ispell-set-spellchecker-params):
9855 Really set `ispell-args' for all equivs.
9856
632556e4
SM
98572013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * ido.el (ido-completions): Use extra elements of ido-decorations
9860 (bug#14143).
9861 (ido-decorations): Update docstring.
9862
2a417372
MA
98632013-04-05 Michael Albinus <michael.albinus@gmx.de>
9864
9865 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9866 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9867 nil during initialization, in order not to miss changes since the
9868 file was opened. (Bug#14140)
9869
fc164b0c
LL
98702013-04-05 Leo Liu <sdl.web@gmail.com>
9871
9872 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9873
0ccecc08
JB
98742013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9875
9876 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9877
51af1aa2
GM
98782013-04-04 Glenn Morris <rgm@gnu.org>
9879
9880 * electric.el (electric-pair-inhibit-predicate): Add :version.
9881
b208ebc6
SM
98822013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9885 when a package is required several times (bug#14082).
9886
f3d3eaf0
RW
98872013-04-04 Roland Winkler <winkler@gnu.org>
9888
9889 * faces.el (read-face-name): Behave as promised by the docstring.
9890 Assume that arg default is a list of faces.
9891 (describe-face): Call read-face-name with list of default faces.
9892
2575da50
TV
98932013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9894
9895 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9896 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9897 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9898 the header.
9899 (bookmark-exit-hook-internal): Save even if list is empty.
9900
397703b4
YH
99012013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9902
9903 * emacs-lisp/package.el (package-pinned-packages): New var.
9904 (package--add-to-archive-contents): Obey it (bug#14118).
9905
691e26ae
AM
99062013-04-03 Alan Mackenzie <acm@muc.de>
9907
8a621d53
JB
9908 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9909 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9910
9911 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9912 parameter `not-in-delimiter'. Handle being inside comment opener.
9913 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9914 character in case we're typing a '*' after a '/'.
9915 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9916 instead by passing the parameter to c-state-pp-to-literal.
9917
9918 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9919 for elt. 7 of a parse state.
9920
4b725a70
PE
99212013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9922
9923 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9924 * international/latin1-disp.el, international/mule-util.el:
9925 * language/cyril-util.el, language/european.el, language/ind-util.el:
9926 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9927 * language/tibetan.el, language/viet-util.el:
9928 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9929
15c579f0
SM
99302013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9933 (electric-pair-post-self-insert-function): Use it.
9934 (electric-pair-default-inhibit): New function, extracted from
9935 electric-pair-post-self-insert-function.
9936
a77e2924
RW
99372013-03-31 Roland Winkler <winkler@gnu.org>
9938
9939 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9940
2bd8a4a8
SM
99412013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9944
8d3655be 99452013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9946
9947 Un-indent after "pass" and "return" statements (Bug#13888)
9948 * progmodes/python.el (python-indent-block-enders): New var.
9949 (python-indent-calculate-indentation): Use it.
9950
8d3655be 99512013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9952
9953 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9954 defun. Defining it as defalias could introduce too eager
9955 byte-compiler optimization. (Bug#14030)
9956
8d3655be 99572013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9958
9959 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9960
0b1619da
LL
99612013-03-30 Leo Liu <sdl.web@gmail.com>
9962
9963 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9964 (kmacro-execute-from-register): Pass the keyboard macro to
9965 kmacro-call-macro or repeating won't work correctly.
9966
0b938190
TZ
99672013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9968
9969 * progmodes/subword.el: Back to using `forward-symbol'.
9970
9971 * subr.el (forward-whitespace, forward-symbol)
9972 (forward-same-syntax): Move from thingatpt.el.
9973
35710234
LL
99742013-03-29 Leo Liu <sdl.web@gmail.com>
9975
9976 * kmacro.el (kmacro-to-register): New command.
9977 (kmacro-execute-from-register): New function.
9978 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9979
efc0bb73
SM
99802013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * mpc.el: Use defvar-local and setq-local.
9983 (mpc--proc-connect): Connection failures are not bugs.
9984 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9985 (mpc-volume-map): Bind to the up-events.
9986
75a2f981
TZ
99872013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9988
9989 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9990 instead of `forward-symbol'.
9991
17c781d1
SM
99922013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9995 (edebug--recursive-edit): Use it.
9996 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9997 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9998
f67bfbcf
LL
99992013-03-28 Leo Liu <sdl.web@gmail.com>
10000
10001 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10002
b59f639d
EZ
100032013-03-27 Eli Zaretskii <eliz@gnu.org>
10004
10005 * facemenu.el (list-colors-callback): New defvar.
10006 (list-colors-redisplay): New function.
10007 (list-colors-display): Install list-colors-redisplay as the
10008 revert-buffer-function. (Bug#14063)
10009
f557c1b1
SM
100102013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10011
b1da2957
SM
10012 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10013 and suffixes don't overlap (bug#14061).
10014
f557c1b1
SM
10015 * case-table.el: Use lexical-binding.
10016 (case-table-get-table): New function.
10017 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10018
002668e1
TZ
100192013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10020
10021 * progmodes/subword.el: Add `superword-mode' to do word motion
10022 over symbol_words (parallels and leverages `subword-mode' which
10023 does word motion inside MixedCaseWords).
10024
73572c72
AG
100252013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10026
78b8f320 10027 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10028 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10029
69b2c07e
SM
100302013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10033 Change return value to be a sexp. Delay `get-buffer' to after
10034 restoring the desktop (bug#13951).
10035
08bb5ee2
LL
100362013-03-26 Leo Liu <sdl.web@gmail.com>
10037
10038 * register.el: Move semantic tag handling back to
10039 cedet/semantic/senator.el. (Bug#14052)
10040
8d4c974e
SM
100412013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10044 into the prompt either (bug#13963).
10045
b234d92c
SM
100462013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10049 part of "(error-foo)".
10050
ddfa3cb4
JL
100512013-03-24 Juri Linkov <juri@jurta.org>
10052
10053 * replace.el (list-matching-lines-prefix-face): New defcustom.
10054 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10055 `occur-engine' if `face-differs-from-default-p' returns t.
10056 (occur-engine): Add `,' inside backquote construct to evaluate
10057 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10058 Pass `prefix-face' to the functions `occur-context-lines' and
10059 `occur-engine-add-prefix'.
10060 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10061 `prefix-face' and propertize the prefix with `prefix-face'.
10062 (Bug#14017)
10063
7b0e2f85
LL
100642013-03-24 Leo Liu <sdl.web@gmail.com>
10065
10066 * nxml/rng-valid.el (rng-validate-while-idle)
10067 (rng-validate-quick-while-idle): Guard against deleted buffer.
10068 (Bug#13999)
10069
10070 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10071 is the last entry in kill-buffer-hook.
10072
10073 * files.el (kill-buffer-hook): Doc fix.
10074
b3082f49
DG
100752013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10076
b234d92c
SM
10077 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10078 Make it safe-local.
bde73d27 10079
b3082f49
DG
10080 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10081
a320a2db
LL
100822013-03-23 Leo Liu <sdl.web@gmail.com>
10083
7e74b0fb
LL
10084 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10085 Remove.
10086
10087 * nxml/rng-valid.el (rng-validate-mode)
10088 (rng-after-change-function, rng-do-some-validation):
10089 * nxml/rng-maint.el (rng-validate-buffer):
10090 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10091 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10092 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10093 (nxml-extend-after-change-region): Use with-silent-modifications.
10094
a320a2db
LL
10095 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10096 timer-idle-list.
10097
10098 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10099 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10100 timer-idle-list. (Bug#13999)
10101
e38e6780
JL
101022013-03-23 Juri Linkov <juri@jurta.org>
10103
10104 * info.el (info-index-match): New face.
10105 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10106 main pattern and add text properties with the new face to matches
10107 in index entries relative to the beginning of the index entry.
10108 (Bug#14015)
10109
e8cc7880
DE
101102013-03-21 Eric Ludlam <zappo@gnu.org>
10111
10112 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10113 Inhibit read only while inserting objects.
10114
9bb0d822
TZ
101152013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10116
10117 * progmodes/cfengine.el: Update docs to mention
10118 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10119 symbol motion. Remove "_" from the word syntax.
10120
aa703640
TZ
101212013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10122
10123 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10124 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10125
afff09d0
JL
101262013-03-20 Juri Linkov <juri@jurta.org>
10127
10128 * info.el (Info-next-reference-or-link)
10129 (Info-prev-reference-or-link): New functions.
10130 (Info-next-reference, Info-prev-reference): Use them.
10131 (Info-try-follow-nearest-node): Handle footnote navigation.
10132 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10133
9a1ff164
SM
101342013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10137 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10138
2667d15d
PE
101392013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10140
10141 Suppress unnecessary non-ASCII chatter during build process.
10142 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10143 (batch-skkdic-convert): Suppress most of the chatter.
10144 It's not needed so much now that machines are faster,
10145 and its non-ASCII component was confusing; see Dmitry Gutov in
10146 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10147
438b0579
LL
101482013-03-20 Leo Liu <sdl.web@gmail.com>
10149
10150 * ido.el (ido-chop): Fix bug#10994.
10151
c128ab07
DG
101522013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10153
10154 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10155 Remove vars.
9a1ff164
SM
10156 (whitespace-color-on, whitespace-color-off):
10157 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10158
0e6008c5
SM
101592013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10162 remapping in mode-line.
10163 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10164
627b52b0
DG
101652013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10166
10167 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10168 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10169 (whitespace-font-lock-keywords): Change description.
10170 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10171 the constructed keywords instead.
10172 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10173
50c3a20b
LL
101742013-03-19 Leo Liu <sdl.web@gmail.com>
10175
10176 * progmodes/compile.el (compilation-display-error): New command.
10177 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10178 C-o. (Bug#13992)
10179
2aa2157b
PE
101802013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10181
10182 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10183
e477dbfa
JD
101842013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10185
10186 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10187
64ab82d1
MA
101882013-03-18 Michael Albinus <michael.albinus@gmx.de>
10189
10190 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10191
10192 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10193 * net/tramp-gvfs.el (top):
10194 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10195 (tramp-handle-shell-command): Use it.
10196 (tramp-dissect-file-name): Raise an error when hostname is a
10197 method name, and neither method nor user is specified.
10198
10199 * net/trampver.el: Update release number.
10200
33cef733
LL
102012013-03-18 Leo Liu <sdl.web@gmail.com>
10202
10203 Make sure eldoc can be turned off properly.
10204 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10205 eldoc-mode.
10206 (eldoc-display-message-p): Revert last change.
10207 (eldoc-display-message-no-interference-p)
10208 (eldoc-print-current-symbol-info): Tweak.
10209
2167b7b2
TH
102102013-03-18 Tassilo Horn <tsdh@gnu.org>
10211
10212 * doc-view.el (doc-view-new-window-function): Check the new window
10213 overlay's display property instead the char property of the
10214 buffer's first char. Use `with-selected-window' instead of
10215 `save-window-excursion' with `select-window'.
10216 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10217 display property instead the char property of the buffer's first char.
2167b7b2 10218
982efbcd
PE
102192013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10220
10221 Automate the build of ja-dic.el (Bug#13984).
10222 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10223 from the input, rather than assume that it's been done for us by the
10224 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10225 the current date into a ja-dic.el comment, as that complicates
10226 regression testing.
10227
2fcc7665
SM
102282013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * whitespace.el: Fix double evaluation.
10231 (whitespace-space, whitespace-hspace, whitespace-tab)
10232 (whitespace-newline, whitespace-trailing, whitespace-line)
10233 (whitespace-space-before-tab, whitespace-indentation)
10234 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10235 obsolete defvars.
10236 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10237 (whitespace-color-on): Use a single font-lock-add-keywords call.
10238 Fix double-evaluation of face variables.
10239
67c0a6e6
MA
102402013-03-17 Michael Albinus <michael.albinus@gmx.de>
10241
2fcc7665
SM
10242 * net/tramp-adb.el (tramp-adb-parse-device-names):
10243 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10244 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10245
69489f1d
LL
102462013-03-17 Leo Liu <sdl.web@gmail.com>
10247
10248 Extend eldoc to display info in the mode-line. (Bug#13978)
10249 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10250 (eldoc-mode-line-string): New variable.
10251 (eldoc-minibuffer-message): New function.
10252 (eldoc-message-function): New variable.
10253 (eldoc-message): Use it.
10254 (eldoc-display-message-p)
2fcc7665
SM
10255 (eldoc-display-message-no-interference-p):
10256 Support eldoc-post-insert-mode.
69489f1d
LL
10257
10258 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10259 (eval-expression): Run it.
10260
9c44569e
RW
102612013-03-17 Roland Winkler <winkler@gnu.org>
10262
10263 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10264 strings in the list of return values.
10265
327f1f6f
JB
102662013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10267
10268 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10269 radix before checking for HMS forms.
10270
67ed8fcd
LL
102712013-03-16 Leo Liu <sdl.web@gmail.com>
10272
10273 * progmodes/scheme.el: Add indentation and font-locking for λ.
10274 (Bug#13975)
10275
78be8b64 102762013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10277
10278 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10279 token before point (bug#13942).
10280
78be8b64 102812013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10282
95b43468 10283 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10284
98e775e6
EZ
102852013-03-16 Eli Zaretskii <eliz@gnu.org>
10286
10287 * startup.el (command-line-normalize-file-name): Fix handling of
10288 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10289 <xfq.free@gmail.com> in
10290 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10291
2edd6029
MA
102922013-03-15 Michael Albinus <michael.albinus@gmx.de>
10293
10294 Sync with Tramp 2.2.7.
10295
10296 * net/trampver.el: Update release number.
10297
d35f5864
TH
102982013-03-14 Tassilo Horn <tsdh@gnu.org>
10299
e903c210 10300 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10301 (doc-view-insert-image): Don't modify overlay associated to
10302 non-live windows, and implement horizontal centering of image in
10303 case it's smaller than the window.
10304 (doc-view-new-window-function): Force redisplay of new windows on
10305 doc-view buffers.
d35f5864 10306
1c4a85ed
KF
103072013-03-13 Karl Fogel <kfogel@red-bean.com>
10308
10309 * saveplace.el (save-place-alist-to-file): Don't sort
10310 `save-place-alist', just pretty-print it (bug#13882).
10311
85b66a21
MA
103122013-03-13 Michael Albinus <michael.albinus@gmx.de>
10313
a020afb9
JB
10314 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10315 Check whether `default-file-name-coding-system' is bound.
10316 It isn't in XEmacs.
85b66a21 10317
175600da
SM
103182013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10319
e7f7cb1a
SM
10320 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10321 backquotes for `obsolete' (bug#13929).
10322
175600da
SM
10323 * international/mule.el (find-auto-coding): Include file name in
10324 obsolescence warning (bug#13922).
10325
ca68a22e
TZ
103262013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10327
10328 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10329 for CFEngine 3-specific indentation.
10330 (cfengine3-indent-line): Use it. Fix up category regex.
10331 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10332
940e5099
SM
103332013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 * type-break.el (type-break-file-name):
10336 * textmodes/remember.el (remember-data-file):
10337 * strokes.el (strokes-file):
10338 * shadowfile.el (shadow-initialize):
10339 * saveplace.el (save-place-file):
10340 * ps-bdf.el (bdf-cache-file):
10341 * progmodes/idlwave.el (idlwave-config-directory):
10342 * net/quickurl.el (quickurl-url-file):
10343 * international/kkc.el (kkc-init-file-name):
10344 * ido.el (ido-save-directory-list-file):
10345 * emulation/viper.el (viper-custom-file-name):
10346 * emulation/vip.el (vip-startup-file):
10347 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10348 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10349
cc725808
PE
103502013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10351
10352 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10353 * language/thai-word.el: Switch to UTF-8.
10354
a020afb9 10355See ChangeLog.16 for earlier changes.
e3d51b27
MR
10356
10357;; Local Variables:
10358;; coding: utf-8
e3d51b27
MR
10359;; End:
10360
ab422c4d 10361 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10362
10363 This file is part of GNU Emacs.
10364
10365 GNU Emacs is free software: you can redistribute it and/or modify
10366 it under the terms of the GNU General Public License as published by
10367 the Free Software Foundation, either version 3 of the License, or
10368 (at your option) any later version.
10369
10370 GNU Emacs is distributed in the hope that it will be useful,
10371 but WITHOUT ANY WARRANTY; without even the implied warranty of
10372 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10373 GNU General Public License for more details.
10374
10375 You should have received a copy of the GNU General Public License
10376 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.