Refine redisplay optimizations to only redisplay *some* frames/windows
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1b10adb6
SM
12013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
655ab9a3
SM
3 * doc-view.el (doc-view-goto-page): Update mode-line.
4
1b10adb6
SM
5 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6
7e3bf78c
GM
72013-11-27 Glenn Morris <rgm@gnu.org>
8
9 * international/charprop.el, international/uni-bidi.el:
10 * international/uni-category.el, international/uni-combining.el:
11 * international/uni-comment.el, international/uni-decimal.el:
12 * international/uni-decomposition.el, international/uni-digit.el:
13 * international/uni-lowercase.el, international/uni-mirrored.el:
14 * international/uni-name.el, international/uni-numeric.el:
15 * international/uni-old-name.el, international/uni-titlecase.el:
16 * international/uni-uppercase.el:
17 Remove generated files from VCS repository.
18
fb6a5d68
EZ
192013-11-27 Eli Zaretskii <eliz@gnu.org>
20
21 * filenotify.el (file-notify-add-watch): Don't special-case
22 w32notify when computing the directory to watch.
23
cb6c95a3
GM
242013-11-27 Glenn Morris <rgm@gnu.org>
25
20372d0c
GM
26 Make bootstrap without generated uni-*.el files possible again.
27 * loadup.el: Update command-line-args checking for unidata-gen.
28 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
29 * composite.el, international/characters.el:
30 Handle unicode tables being undefined.
31
52d6635f 32 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
33 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
34 (compile-main): Depend on leim rule.
35 (leim): New rule.
36 * loadup.el: Move leim-list.el to leim/ subdirectory.
37 * startup.el (normal-top-level): No more leim directory.
38 * international/ja-dic-cnv.el (skkdic-convert):
39 Disable version-control and autoloads in output files.
40 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
41 Disable version-control and autoloads in output files.
42 * leim/quail: Move here from ../leim.
43 * leim/quail/hangul.el (hangul-input-method-activate):
44 Add autoload cookie.
45 (generated-autoload-load-name): Set file-local value.
46 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
47 (generated-autoload-load-name): Set file-local value.
48
e47112ee
TZ
492013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
50
51 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
52 (eww-add-bookmark): ask confirmation when add to bookmarks
53 (eww-quit): ask confirmation before quitting eww
54
0e2c793f
EZ
552013-11-26 Eli Zaretskii <eliz@gnu.org>
56
57 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
58 reading output from Diff on MS-Windows and MS-DOS.
59
447bdcb8
BB
602013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
61
62 * emacs-lisp/helpers.el (string-reverse): New function.
63
5fbf6856
MA
642013-11-26 Michael Albinus <michael.albinus@gmx.de>
65
66 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
67 names on MS Windows, like "/[::1]:".
68
69 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
70 SWITCHES.
71
624780f0
GM
722013-11-26 Glenn Morris <rgm@gnu.org>
73
0bf3f0fa
GM
74 * progmodes/python.el (python-indent-guess-indent-offset):
75 Avoid corner-case error. (Bug#15975)
76
624780f0
GM
77 Preload leim-list.el. (Bug#4789)
78 * loadup.el: Load leim-list.el when found.
79 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
80
4301875e 812013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
82
83 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
84
4301875e
BB
85 * emacs-lisp/helpers.el (string-join): New function.
86
1633a815 872013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
88
89 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
90 Mark as obsolete and replace it with a symbol property.
91 (byte-compile-form): Use new 'interactive-only property.
92 * comint.el, files.el, replace.el, simple.el:
93 Apply new 'interactive-only properly.
94
00139435
MR
952013-11-25 Martin Rudalics <rudalics@gmx.at>
96
97 * window.el (display-buffer-at-bottom): Make sure that
98 split-window-sensibly creates the new window on bottom
99 (Bug#15961).
100
5f5b128d
DK
1012013-11-23 David Kastrup <dak@gnu.org>
102
103 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
104 on the conflict markers when available.
105 (smerge--get-marker): New function.
106 (smerge-end-re, smerge-base-re): Add subgroup.
107
623891e5
SM
1082013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * frame.el (handle-focus-in, handle-focus-out): Add missing
111 interactive spec.
112
05ca27d8
MA
1132013-11-25 Michael Albinus <michael.albinus@gmx.de>
114
115 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
116 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
117
511fa0d3
SM
1182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
119
e82ad66c
SM
120 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
121 (gomoku--last-pos): New var.
122 (gomoku--intangible-chars): New const.
123 (gomoku--intangible): New function.
124 (gomoku-mode): Use it. Derive from special-mode.
125 (gomoku-move-up): Adjust line count.
126 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
127 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
128 Simplify accordingly.
129
511fa0d3
SM
130 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
131 Remove blink-cursor code.
132 (blink-cursor-timer-function, blink-cursor-suspend):
133 Don't special-case GUIs.
134 (blink-cursor-mode): Use focus-in/out-hook.
135
6f20dd03
DG
1362013-11-25 Dmitry Gutov <dgutov@yandex.ru>
137
138 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
139 work when annotation is invisible (Bug#13886).
140
431dec31 1412013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
142
143 * json.el (json-alist-p): Only return non-nil if the alist has
144 simple keys (Bug#13518).
145
431dec31 1462013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
147
148 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
149 when control-statement is the first statement in a buffer (Bug#15956).
150
ee4f0261
DG
1512013-11-24 Dmitry Gutov <dgutov@yandex.ru>
152
153 * imenu.el (imenu-generic-skip-comments-and-strings):
154 New option (Bug#15560).
155 (imenu--generic-function): Use it.
156
c484f866
JS
1572013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
158
159 * minibuffer.el (completion--in-region-1): Scroll the correct
160 window. (Bug#13898)
161
41ce6f70
BB
1622013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
163
b55aea38
BB
164 * emacs-lisp/helpers.el: Add some string helpers.
165 (string-trim-left): Removes leading whitespace.
166 (string-trim-right): Removes trailing whitespace.
167 (string-trim): Removes leading and trailing whitespace.
168
41ce6f70
BB
169 * subr.el (string-suffix-p): New function.
170
3cfb6af3
GM
1712013-11-23 Glenn Morris <rgm@gnu.org>
172
173 * progmodes/python.el (python-shell-send-file):
174 Add option to delete file when done. (Bug#15647)
175 (python-shell-send-string, python-shell-send-region): Use it.
176
c27924b7
IS
1772013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
178
e1b01c7f
IS
179 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
180 to set buffer-read-only to t, never to nil. (Bug#15938)
181
c27924b7
IS
182 * textmodes/tex-mode.el (latex-noindent-environments):
183 Add safe-local-variable property. (Bug#15936)
184
17e0445b
GM
1852013-11-23 Glenn Morris <rgm@gnu.org>
186
92f78ea3
GM
187 * textmodes/enriched.el (enriched-mode): Doc fix.
188 * emacs-lisp/authors.el (authors-renamed-files-alist):
189 Add enriched.doc -> enriched.txt.
190
17e0445b
GM
191 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
192
965bb23a
LL
1932013-11-22 Leo Liu <sdl.web@gmail.com>
194
195 * progmodes/octave.el (inferior-octave-startup): Spit out error
196 message.
197
d19ffd64
BB
1982013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
199
200 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
201 Improve docstring.
15ba2182
BB
202 Add :version.
203 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 204
7a7567d2
LL
2052013-11-22 Leo Liu <sdl.web@gmail.com>
206
207 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
208 (Bug#15076)
8c09f64b
LL
209 (octave-help-mode): Adapt to change to help-mode-finish to use
210 derived-mode-p on 2013-09-17.
211 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 212 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 213
724bc265
LL
2142013-11-22 Leo Liu <sdl.web@gmail.com>
215
216 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
217 (inferior-octave-startup, inferior-octave-check-process)
218 (inferior-octave-track-window-width-change)
219 (octave-completion-at-point, octave-eldoc-function): Use it.
220 (octave-kill-process): Provide confirmation. (Bug#10564)
221
38637cca
LL
2222013-11-21 Leo Liu <sdl.web@gmail.com>
223
511fa0d3
SM
224 * progmodes/octave.el (octave-mode, inferior-octave-mode):
225 Fix obsolete variable comment-use-global-state.
38637cca 226
06e752b4
RS
2272013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
228
511fa0d3
SM
229 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
230 Add `octave-source-file'.
06e752b4
RS
231 (octave-source-file): New function. (Bug#15935)
232
604ede6c
TZ
2332013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
234
235 * net/eww.el (eww-local-regex): New variable.
236 (eww): Use it to detect localhost and similar.
237
b6ffa04a
LL
2382013-11-21 Leo Liu <sdl.web@gmail.com>
239
240 Add completion for command `ag'.
2021a200
LL
241 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
242 (pcomplete/ag): New function.
243 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 244
d1a6bccc
SM
2452013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
248 (bug#14646).
249 (make-obsolete): Remove interactive spec.
250
2df10228
GM
2512013-11-21 Glenn Morris <rgm@gnu.org>
252
253 * startup.el (command-line-1): Use path-separator with -L.
254
86fd16b6
TZ
2552013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
256
257 * emacs-lisp/package.el (describe-package-1): Add package archive
258 to shown fields.
259
7a12a42b
BB
2602013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
261
262 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
263 Change default to "# encoding: %s" to differentiate it from the
264 default Ruby encoding comment template.
265
dc7e8c17 2662013-11-20 era eriksson <era+emacsbugs@iki.fi>
267
268 * ses.el (ses-mode): Doc fix. (Bug#14748)
269
f0cfa5fe
LL
2702013-11-20 Leo Liu <sdl.web@gmail.com>
271
272 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
273
826dc7b6
DN
2742013-11-19 Dan Nicolaescu <dann@gnu.org>
275
276 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
277 when rebase or bisect are in progress.
278
a6e3a5d5
XF
2792013-11-19 Xue Fuqiao <xfq.free@gmail.com>
280
281 * filenotify.el (file-notify-add-watch): Doc fix.
282
f130cb76
LL
2832013-11-19 Leo Liu <sdl.web@gmail.com>
284
e0855d7d
LL
285 * obsolete/rcompile.el: Mark obsolete.
286
f130cb76 287 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
288 (compilation-goto-locus, compilation-find-file):
289 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
290 (Bug#13594)
291
292 * window.el (display-buffer-alist, display-buffer): Document the
293 new parameter no-display-ok.
294
1f35d401
SM
2952013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
296
25158c76
SM
297 * electric.el (electric-indent-mode-map): Remove.
298 (electric-indent-mode): Change the global-map instead (bug#15915).
299
300 * textmodes/text-mode.el (paragraph-indent-minor-mode):
301 Use add-function.
1f35d401 302
9bc67baa
SM
3032013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
304
986545b5
SM
305 * emacs-lisp/nadvice.el (remove-function): Align with
306 add-function's behavior.
307
9bc67baa
SM
308 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
309 (gdb--string-regexp): New constant.
310 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
311 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
312 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
313 submatch 1.
314 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
315 Adjust use accordingly.
316 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
317
56cd894e
AS
3182013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
319
320 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
321 interpolation curlies (Bug#15914).
322
014690de
JB
3232013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
324
325 * calc/calc.el (calc-context-sensitive-enter): New variable.
326 (calc-enter): Use `calc-context-sensitive-enter'.
327
7e26a6c3
TZ
3282013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
329
330 * progmodes/cfengine.el: Version bump.
331 (cfengine-cf-promises): New defcustom to locate cf-promises.
332 (cfengine3-vartypes): Add new "data" type.
333 (cfengine3--current-word): New function to get current name-like
334 word or its bounds.
335 (cfengine3--current-function): New function to look up a CFEngine
336 function's definition.
337 (cfengine3-format-function-docstring): New function.
338 (cfengine3-make-syntax-cache): New function.
339 (cfengine3-documentation-function): New function: ElDoc glue.
340 (cfengine3-completion-function): New function: completion glue.
341 (cfengine3-mode): Set `compile-command',
342 `eldoc-documentation-function', and add to
343 `completion-at-point-functions'.
344
355204dd
MA
3452013-11-16 Michael Albinus <michael.albinus@gmx.de>
346
347 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
348 `tramp-current-connection'.
349
43cebc23
DG
3502013-11-15 Dmitry Gutov <dgutov@yandex.ru>
351
352 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
353 nil/self/true/false with "end of symbol".
354
a3fed6ff
BB
3552013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
356
357 * subr.el (version-regexp-alist): Fix a typo.
358
e675b3e4
MA
3592013-11-15 Michael Albinus <michael.albinus@gmx.de>
360
361 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
362 "en_US.utf8" and "LC_CTYPE" to "".
363 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
364 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
365
a1f03e89
LL
3662013-11-15 Leo Liu <sdl.web@gmail.com>
367
368 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
369
5d9d9451
SM
3702013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
371
58362662
CS
372 * progmodes/gud.el (ctl-x-map):
373 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
374 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
375
6c1bf086
BB
3762013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
377
0d5363c4
BB
378 * subr.el (version-regexp-alist):
379 Recognize hg, svn and darcs versions as snapshot versions.
380
4e9fc48c
BB
381 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
382 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
383 (ruby--encoding-comment-required-p): Extract from
384 `ruby-mode-set-encoding'.
385 (ruby-mode-set-encoding): Add the ability to always insert an
386 utf-8 encoding comment. Fix and simplify coding comment update
387 logic.
6c1bf086 388
2f7e72f8
MA
3892013-11-14 Michael Albinus <michael.albinus@gmx.de>
390
391 * net/tramp-gvfs.el (top): Run init code only when
392 `tramp-gvfs-enabled' is not nil.
393 (tramp-gvfs-enabled): Check also :system bus.
394
0f137a73
SM
3952013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 Sync with upstream verilog-mode revision 78e66ba.
398 * progmodes/verilog-mode.el (verilog-end-of-defun)
399 (verilog-type-completion, verilog-get-list): Remove unused funcs.
400 (verilog-get-end-of-defun): Remove unused argument.
401 (verilog-comment-depth): Remove unused local `e'.
402 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
403 Don't pass arg to verilog-get-end-of-defun.
404
1c276bdd
GM
4052013-11-14 Glenn Morris <rgm@gnu.org>
406
407 * obsolete/assoc.el (aget): Prefix dynamic variable.
408
409 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
410
ff6ec81d
SM
4112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * widget.el, hfy-cmap.el: Remove bogus package version number.
414
75f777b6
GM
4152013-11-13 Glenn Morris <rgm@gnu.org>
416
1d43dba1
GM
417 * replace.el (replace-eval-replacement):
418 Try to give more helpful error message. (Bug#15836)
419
ff4b7bd5
GM
420 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
421 (archive-7z-update): Avoid custom type mismatches.
422
75f777b6
GM
423 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
424
11151a06
MA
4252013-11-13 Michael Albinus <michael.albinus@gmx.de>
426
e675b3e4 427 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
428 address can be empty.
429
430 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
431 Accept nil SWITCHES.
432 (tramp-gvfs-handle-write-region): Implement APPEND.
433
7b08f97e
DG
4342013-11-12 Dmitry Gutov <dgutov@yandex.ru>
435
436 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
437 binary "|" operator and closing block args delimiter.
438 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
439 (ruby-smie--implicit-semi-p): Not after "|" operator.
440 (ruby-smie--closing-pipe-p): New function.
441 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
442 (ruby-smie-rules): Indent after "|".
443
f201cf3a
GM
4442013-11-12 Glenn Morris <rgm@gnu.org>
445
446 * ps-print.el (ps-face-attribute-list):
447 Handle anonymous faces. (Bug#15827)
448
e6f759f9
MR
4492013-11-12 Martin Rudalics <rudalics@gmx.at>
450
451 * window.el (display-buffer-other-frame): Fix doc-string.
452 (Bug#15868)
453
ecda65d4
SM
4542013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * subr.el (force-mode-line-update): Delete, move to buffer.c.
457
7ce8fcc3
MA
4582013-11-11 Michael Albinus <michael.albinus@gmx.de>
459
460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
461 (tramp-sh-handle-file-local-copy): Don't write a message when
462 saving temporary files.
463
464 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
465 both directories are remote.
466 (tramp-smb-handle-directory-files): Do not return double entries.
467 Do not expand full file names.
468 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
469 (tramp-smb-handle-write-region): Implement APPEND.
470 (tramp-smb-get-stat-capability): Fix a stupid bug.
471
7818df11
SM
4722013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
475
608c2085
NT
4762013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
477
478 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
479 throwing error over malformed let/let* (bug#15814).
480
122a7e46
SM
4812013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * iswitchb.el (iswitchb-mode): Mark obsolete.
484
766284d9
GM
4852013-11-11 Glenn Morris <rgm@gnu.org>
486
487 * international/uni-bidi.el, international/uni-category.el:
488 * international/uni-name.el, international/uni-numeric.el:
489 Regenerate for Unicode 6.3.0.
490
7072a4e9
MA
4912013-11-10 Michael Albinus <michael.albinus@gmx.de>
492
493 * net/tramp.el (tramp-methods):
494 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
495 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
496
c9df215b
AS
4972013-11-09 Andreas Schwab <schwab@linux-m68k.org>
498
608c2085
NT
499 * progmodes/sh-script.el (sh-font-lock-keywords-var):
500 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 501
fa47d796
DG
5022013-11-09 Dmitry Gutov <dgutov@yandex.ru>
503
504 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 505 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
506 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
507 (ispell-complete-word): Call `ispell-lookup-words' with the value
508 independent of `ispell-look-p'.
509
1629a329
DG
5102013-11-08 Dmitry Gutov <dgutov@yandex.ru>
511
512 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
513 Not after "||".
514 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
515 their parent.
516
ad16897c
SM
5172013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
520 (ruby-font-lock-keywords): Use backquote.
521
ffa2df72
DG
5222013-11-08 Dmitry Gutov <dgutov@yandex.ru>
523
524 * progmodes/ruby-mode.el (ruby-smie--forward-token)
525 (ruby-smie--backward-token): Only consider full-string matches.
526
5b97b4c0
JD
5272013-11-08 Jan Djärv <jan.h.d@swipnet.se>
528
529 * faces.el (describe-face): Add distant-foreground.
530
71731c03
BB
5312013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
532
4e9fc48c
BB
533 * progmodes/ruby-mode.el: Improve encoding comment handling.
534 (ruby-encoding-magic-comment-style): New option.
535 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
536 (ruby--insert-coding-comment, ruby--detect-encoding):
537 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
538 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
539 to control the style of the auto-inserted encoding comment.
71731c03 540
da3b328d
DG
5412013-11-08 Dmitry Gutov <dgutov@yandex.ru>
542
ad16897c
SM
543 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
544 Use `smie-backward-sexp' with token argument.
da3b328d 545
1606c2d3
MA
5462013-11-08 Michael Albinus <michael.albinus@gmx.de>
547
548 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
549 Remove instrumentation code.
550
b0f4c320
GM
5512013-11-08 Glenn Morris <rgm@gnu.org>
552
553 * progmodes/autoconf.el (autoconf-mode):
554 Tweak comment-start-skip. (Bug#15822)
555
43668fb1
SM
5562013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
559 at bobp (bug#15826).
560 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
561
daddb3fd
DH
5622013-11-08 Darren Hoo <darren.hoo@gmail.com>
563
564 * man.el (Man-start-calling): New macro, extracted from
565 Man-getpage-in-background.
566 (Man-getpage-in-background): Use it.
567 (Man-update-manpage): New command.
568 (Man-mode-map): Bind it.
569
1f923923
DG
5702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
571
572 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
573 of "and", "or", "&&" and "||".
574 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
575 argument. Prohibit opening curly brace because it could only be a
576 block opener in that position.
daddb3fd
DH
577 (ruby-smie--forward-token, ruby-smie--backward-token):
578 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
579 arguments.
580 (ruby-smie--indent-to-stmt): New function, seeks the end of
581 previous statement or beginning of buffer.
582 (ruby-smie-rules): Use it.
583 (ruby-smie-rules): Check if there's a ":" before a curly block
584 opener candidate; if there is, it's a hash.
585
3220d527
SM
5862013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
589 (cl--block-wrapper): Fix last accidental change.
590
1eb1f9e0
MA
5912013-11-07 Michael Albinus <michael.albinus@gmx.de>
592
593 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
594 Instrument, in order to hunt failure on hydra.
595
e6e4db3c
NT
5962013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
597
598 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
599 malformed bindings form (bug#15814).
600
b420ccfc
DG
6012013-11-07 Dmitry Gutov <dgutov@yandex.ru>
602
603 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
604 "." compared to " @ ". This incidentally fixes some indentation
605 examples with "do".
e6e4db3c 606 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
607 (ruby-smie-grammar): New tokens: "and" and "or".
608 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
609 Exclude "and" and "or". Remove "do" in order to work around token
610 priorities.
611 (ruby-smie-rules): Add all infix tokens. Handle the case of
612 beginning-of-buffer.
b420ccfc 613
6b4ac03e
GM
6142013-11-06 Glenn Morris <rgm@gnu.org>
615
616 * Makefile.in (setwins_almost, setwins_for_subdirs):
617 Avoid accidental matches.
618
5ca114d1
SM
6192013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * menu-bar.el (popup-menu): Use key-binding.
622
f72552bd
EZ
6232013-11-06 Eli Zaretskii <eliz@gnu.org>
624
625 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
626 menus, support also the menus produced by minor modes.
627 (Bug#15817)
628
5d5c701e
LL
6292013-11-06 Leo Liu <sdl.web@gmail.com>
630
631 * thingatpt.el (thing-at-point-looking-at): Add optional arg
632 DISTANCE to bound the search. All uses changed. (Bug#15808)
633
0a8b75e2
GM
6342013-11-06 Glenn Morris <rgm@gnu.org>
635
636 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
637 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
638 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 639
a35287ea
SM
6402013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
641
feca4e2d
SM
642 * electric.el (electric-indent-just-newline): New command.
643 (electric-indent-mode-map): New keymap.
644 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
645 Re-add :group which weren't redundant.
646
a35287ea
SM
647 * electric.el (electric-indent-local-mode): New minor mode.
648 (electric-indent-functions-without-reindent): New var.
649 (electric-indent-post-self-insert-function): Use it.
650 * emacs-lisp/gv.el (buffer-local-value): Add setter.
651
375761b2
EZ
6522013-11-05 Eli Zaretskii <eliz@gnu.org>
653
9a6ad735
EZ
654 * international/quail.el (quail-help): Be more explicit about the
655 meaning of the labels shown on the keys. (Bug#15800)
656
375761b2
EZ
657 * startup.el (normal-top-level): Load the subdirs.el files before
658 setting the locale environment. (Bug#15805)
659
520a6e4a
SM
6602013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
661
0acfafef
SM
662 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
663 via arguments so as to get the right ones (bug#15418).
664
520a6e4a
SM
665 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
666
15826261
MA
6672013-11-05 Michael Albinus <michael.albinus@gmx.de>
668
669 Fix problems found while writing a test suite.
670
671 * net/tramp-compat.el (tramp-compat-load): New defun.
672 * net/tramp.el (tramp-handle-load): Use it.
673
674 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
675 "(numberp ok-if-already-exists)" correctly.
676
d35f31a4
XF
6772013-11-05 Xue Fuqiao <xfq.free@gmail.com>
678
679 * international/characters.el (glyphless-char-display-control):
680 Add usage note.
681
ae93bc74
BB
6822013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
683
520a6e4a
SM
684 * progmodes/python.el (python-mode):
685 * progmodes/scheme.el (scheme-mode):
686 * progmodes/prolog.el (prolog-mode):
687 * progmodes/ruby-mode.el (ruby-mode):
688 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
689 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 690
0ade65b5
SM
6912013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
692
a0d5f7a4
SM
693 * rect.el (rectangle--highlight-for-redisplay):
694 * emacs-lisp/smie.el (smie--next-indent-change):
695 Use buffer-chars-modified-tick.
696
c93f3f5c
SM
697 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
698
0ade65b5
SM
699 * electric.el (electric-indent-post-self-insert-function):
700 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
701
ef9dd188
HE
7022013-11-04 Helmut Eller <eller.helmut@gmail.com>
703
704 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
705
306e7308
NT
7062013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
707
708 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
709 (bug#15786).
710
e5afbcac
SM
7112013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
712
1d01ad41
SM
713 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
714
e5afbcac
SM
715 * progmodes/python.el: Fix up last change.
716 (python-shell--save-temp-file): New function.
717 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
718 `string' comes from the current buffer.
719 (python-shell-send-string-no-output): Remove `msg' arg.
720 (python--use-fake-loc): New var.
721 (python-shell-buffer-substring): Obey it. Try to compensate for the
722 extra coding line added by python-shell--save-temp-file.
723 (python-shell-send-region): Use python-shell--save-temp-file and
724 python-shell-send-file directly. Add `nomain' argument.
725 (python-shell-send-buffer): Use python-shell-send-region.
726 (python-electric-pair-string-delimiter): New function.
727 (python-mode): Use it.
728
d0065ff1
EZ
7292013-11-04 Eli Zaretskii <eliz@gnu.org>
730
731 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
732 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
733 environment and decoding all of the default-directory's to here
734 from command-line.
735 (command-line): Decode also argv[0].
736
737 * loadup.el: Error out if default-directory is a multibyte string
738 when we are dumping.
739
740 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
741
7397c587
TZ
7422013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
743
744 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
745 (package-menu--print-info, package-menu--archive-predicate):
746 Add Archive column to package list.
7397c587 747
b27cc9fc
MA
7482013-11-04 Michael Albinus <michael.albinus@gmx.de>
749
750 Fix problems found while writing a test suite.
751
752 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
753 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
754 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
755 to nil when running original file name handler. Otherwise,
756 there are problems with constructs like "$$FOO".
757
758 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
759 for `localname'.
760
d8c4f18a
BB
7612013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
762
7b530552
BB
763 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
764
765 * subr.el (version<, version<=, version=):
766 Update docstrings with information for snapshot versions.
767
d8c4f18a
BB
768 * helpers.el: New library for misc helper functions.
769 (hash-table-keys): New function returning a list of hash keys.
770 (hash-table-values): New function returning a list of hash values.
771
dca01b09
DG
7722013-11-04 Dmitry Gutov <dgutov@yandex.ru>
773
774 * progmodes/ruby-mode.el (ruby-smie--forward-token)
775 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
776
0a749fa0
MN
7772013-11-04 Michal Nazarewicz <mina86@mina86.com>
778
779 * textmodes/fill.el (fill-single-char-nobreak-p): New function
780 checking whether point is after a 1-letter word.
781
7822013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
783
784 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
785 Don't infloop when expanding region over `multiline' syntax-type that
786 begins a line (bug#15778).
787
4aca7145
SM
7882013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
791 Make it into a proper minor mode.
792 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
793 (rectangle-mark-mode-map): New keymap.
794 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
795
a0833f62
GM
7962013-11-04 Glenn Morris <rgm@gnu.org>
797
798 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
799
e61845c1
SM
8002013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
803 (ruby-smie-rules): Use smie-rule-parent instead.
804
805 * emacs-lisp/smie.el (smie-rule-parent): Always call
806 smie-indent-virtual rather than only for hanging tokens.
807 (smie--next-indent-change): New helper command.
808
62942f89
GM
8092013-11-03 Glenn Morris <rgm@gnu.org>
810
811 * Makefile.in (abs_srcdir): Remove.
812 (emacs): Unset EMACSLOADPATH.
813
b0b9e592
GM
8142013-11-02 Glenn Morris <rgm@gnu.org>
815
18ba6a33 816 * Makefile.in (EMACS): Use a relative filename.
8061810d 817 (abs_top_builddir): Remove.
18ba6a33
GM
818 (custom-deps, finder-data, autoloads): Use --chdir.
819
6a8b929e
GM
820 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
821
c617f3d0
GM
822 Use relative filenames in TAGS files.
823 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
824 (lisptagsfiles4, TAGS): Use relative file names.
825 (TAGS-LISP): Remove.
826 (maintainer-clean): No more TAGS-LISP file.
827
b0b9e592
GM
828 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
829 (lisptagsfiles4): Use absolute filenames again.
830 (TAGS, TAGS-LISP): Not everything needs to run in one line.
831 Remove all *loaddefs files, not just the first. Remove esh-groups.
832 (maintainer-clean): Delete TAGS, TAGS-LISP.
833
d1c0ea6a
BB
8342013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
835
e61845c1
SM
836 * emacs-lisp/package.el (package-version-join):
837 Recognize snapshot versions.
d1c0ea6a 838
684d71c6
BB
8392013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
840
841 * subr.el (version-regexp-alist): Add support for snapshot versions.
842
3d42b968
DG
8432013-11-02 Dmitry Gutov <dgutov@yandex.ru>
844
e61845c1
SM
845 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
846 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
847 skip over our direct parent if it's an assignment token..
848 (ruby-smie-rules): Use it.
849
7ffd3721
DG
8502013-11-02 Dmitry Gutov <dgutov@yandex.ru>
851
852 * progmodes/ruby-mode.el Use `syntax-propertize-function'
853 unconditionally. Remove now unnecessary forward declarations.
854 Remove XEmacs-specific setup.
855 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
856 (ruby-font-lock-syntactic-keywords)
857 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
858 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
859 (ruby-here-doc-end-syntax): Remove.
860 (ruby-mode): Don't check whether `syntax-propertize-rules' is
861 defined as function.
862
a3996a2e
BB
8632013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
864
865 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
866
6f9260e8
BB
8672013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
868
869 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
870 table and abbrev table, `define-derived-mode' does that for us
871 anyway.
872
6014de84
GM
8732013-11-01 Glenn Morris <rgm@gnu.org>
874
875 * Makefile.in: Remove manual mh-e dependencies (writing .elc
876 files is atomic for some time, so no parallel compilation issues).
877
3c334c14
JD
8782013-11-01 Jan Djärv <jan.h.d@swipnet.se>
879
880 * faces.el (face-x-resources): Add :distant-foreground.
881 (region): Use :distant-foreground for gtk and ns.
882
9bc236c8
TH
8832013-11-01 Tassilo Horn <tsdh@gnu.org>
884
5246583b 885 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
886 BibTeX.
887 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
888 (reftex-locate-bibliography-files): Us it.
889
d14c81ee
CB
8902013-11-01 Claudio Bley <claudio.bley@googlemail.com>
891
0e7690de
CB
892 * image.el (image-type-header-regexps): Fix the 'pbm' part to
893 allow comments in pbm files.
894
d14c81ee
CB
895 * term/w32-win.el (dynamic-library-alist): Support newer versions
896 of libjpeg starting with v7: look only for the DLL from the
897 version against which Emacs was built.
ac1bf374 898 Support versions of libpng beyond 1.4.x.
019c8218 899 Support libtiff v4.x.
d14c81ee 900
983d0df5
BB
9012013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
902
903 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
904 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
905 Add property :safe.
906 (ruby-deep-arglist): Add property :type.
907
47f58d85
GM
9082013-10-31 Glenn Morris <rgm@gnu.org>
909
910 * Makefile.in (custom-deps, finder-data): No need to setq the target
911 variables, we are in the right directory and the defaults work fine.
912
4f85b479
GM
9132013-10-30 Glenn Morris <rgm@gnu.org>
914
ca7dd4cd
GM
915 * Makefile.in (autoloads): Do not use abs_lisp.
916
4f85b479
GM
917 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
918 `newline' does not respect `standard-output', so use `princ'.
919
cf59e41c
AA
9202013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
921
922 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
923 * buff-menu.el (Buffer-menu--unmark): New function.
924 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
925
74cf04fb
GM
9262013-10-30 Glenn Morris <rgm@gnu.org>
927
b040b60e
GM
928 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
929
f53d3815
GM
930 * emacs-lisp/package.el (lm-homepage): Declare.
931
5413d873
GM
932 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
933 Fix doc typos.
934
cecedb36
GM
935 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
936
74cf04fb
GM
937 * Makefile.in (finder-data, autoloads, update-subdirs)
938 (compile-main, compile-clean, compile-always, bootstrap-clean):
939 Check return value of cd.
940 (compile-calc): Remove.
941
195ee2f0
SM
9422013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
943
ae4002ce
SM
944 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
945
946 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
947 (byte-compile-and-folded): New function.
948 (=, <, >, <=, >=): Use it.
949
950 * dos-w32.el (minibuffer-history-case-insensitive-variables)
951 (path-separator, null-device, buffer-file-coding-system)
952 (lpr-headers-switches): Check system-type before modifying them.
953 (find-buffer-file-type-coding-system): Mark obsolete.
954 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
955 find-file-not-found-set-buffer-file-coding-system.
956 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
957 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
958 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
959 (w32-direct-print-region-helper, w32-direct-print-region-function)
960 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
961 * startup.el (normal-top-level-add-subdirs-to-load-path):
962 * ps-print.el (ps-print-region-function):
963 * lpr.el (print-region-function): Use new name.
964
53b39e89
SM
965 * subr.el (custom-declare-variable-early): Remove function.
966 (custom-declare-variable-list): Remove var.
967 (error, user-error): Remove `while' loop.
968 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
969 (user-emacs-directory-warning, locate-user-emacs-file):
970 Move to files.el.
971 * simple.el (read-quoted-char-radix, read-quoted-char):
972 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
973 Move from subr.el.
974 * custom.el (custom-declare-variable-list): Don't process
975 custom-declare-variable-list.
976
195ee2f0
SM
977 * progmodes/python.el (python-shell-get-buffer): New function.
978 (python-shell-get-process): Use it.
979 (python-shell-send-string): Always use utf-8 and add a cookie to tell
980 Python which encoding was used. Don't split-string since we only care
981 about the first line. Return the temp-file, if applicable.
982 (python-shell-send-region): Tell compile.el how to turn locations in
983 the temp-file into locations in the source buffer.
984
7e3561ee
SM
9852013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
986
4c9797cb
SM
987 * subr.el (undefined): Add missing behavior from the C code for
988 unbound keys.
989
3472b6c6
SM
990 * rect.el: Use lexical-binding. Add new rectangular region support.
991 (rectangle-mark): New command.
992 (rectangle--region): New var.
993 (deactivate-mark-hook): Reset rectangle--region.
994 (rectangle--extract-region, rectangle--insert-for-yank)
995 (rectangle--highlight-for-redisplay)
996 (rectangle--unhighlight-for-redisplay): New functions.
997 (region-extract-function, redisplay-unhighlight-region-function)
998 (redisplay-highlight-region-function): Use them to handle
999 rectangular region.
1000 * simple.el (region-extract-function): New var.
1001 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1002 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1003 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1004 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1005 (redisplay-unhighlight-region-function)
1006 (redisplay-highlight-region-function): New vars.
1007 (redisplay--update-region-highlight): New function.
1008 (pre-redisplay-function): Use it.
1009 (exchange-point-and-mark): Don't deactivate the mark before
1010 reactivate-it anyway.
1011 * comint.el (comint-kill-region): Remove yank-handler argument.
1012 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1013 (delete-char): Remove property, since it's now part of their
1014 default behavior.
1015 (self-insert-iso): Remove property since this command doesn't exist.
1016
7e3561ee
SM
1017 * emacs-lisp/package.el (package--download-one-archive)
1018 (describe-package-1): Don't query the user about final newline.
1019
b9bef71f
DC
10202013-10-29 Daniel Colascione <dancol@dancol.org>
1021
1022 * net/tramp.el (tramp-methods): Document new functionality.
1023 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1024 tramp-hostname-checker if method provides one instead of scanning
1025 argument list for "%h" to decide hostname acceptability.
1026
4efc33f0
MA
10272013-10-28 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1030 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1031 Handle COPY-CONTENTS. (Bug#15737)
1032
ed42a877
DU
10332013-10-28 Daiki Ueno <ueno@gnu.org>
1034
1035 * epa-file.el
7e3561ee
SM
1036 (epa-file-cache-passphrase-for-symmetric-encryption):
1037 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1038
18c9f8a2
XF
10392013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1040
7a4bc7be
XF
1041 * image.el (defimage):
1042 (image-load-path): Doc fixes.
18c9f8a2 1043
b1e8e010
AM
10442013-10-27 Alan Mackenzie <acm@muc.de>
1045
1046 Indent statements in macros following "##" correctly.
7e3561ee
SM
1047 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1048 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1049
73d40d1e 10502013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1051
1052 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1053
c8c605ac
DG
10542013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1055
1056 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1057 after `=' is probably a new expression.
1058
ca7e59d4
RS
10592013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1060
1061 * man.el (man-imenu-title): New option.
1062 (Man-mode-map): Add menu. (Bug#15722)
1063 (Man-mode): Add imenu to menu.
1064
bae91342
DG
10652013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1068 specific in what the first arg can be: a non-keyword word,
1069 string/regexp/percent literal opener, opening paren, or unary
1070 operator followed directly by word.
1071
eb89dc14
SM
10722013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1075 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1076 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1077 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1078 Remove vars, they do not apply any more.
1079 (prolog-mode-abbrev-table): Remove redundant declaration.
1080 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1081 (prolog-use-smie): Remove.
1082 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1083 supported by prolog-electric-if-then-else-flag.
1084 (prolog-mode-variables, prolog-menu): Use setq-local.
1085 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1086 Remove binding to `Backspace' since this key doesn't exist anyway.
1087 Remove bindings for electric self-inserting keys.
1088 (prog-mode): Assume it's defined.
1089 (prolog-post-self-insert): New function.
1090 (prolog-mode): Use it.
1091 (prolog-indent-line, prolog-indent-level)
1092 (prolog-find-indent-of-matching-paren)
1093 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1094 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1095 (prolog-goto-next-paren, prolog-in-string-or-comment)
1096 (prolog-tokenize, prolog-inside-mline-comment)
1097 (prolog-find-start-of-mline-comment): Remove functions.
1098 (prolog-find-unmatched-paren, prolog-clause-end)
1099 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1100 (prolog-electric--if-then-else): Rename from
1101 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1102 (prolog-tokenize-searchkey): Remove const.
1103 (prolog-clause-info): Use forward-sexp.
1104 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1105 (prolog-electric-if-then-else): Remove commands.
1106 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1107 for use in post-self-insert-hook.
1108 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1109 for use in post-self-insert-hook.
1110 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1111 for use in post-self-insert-hook.
1112 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1113 adapt it for use in post-self-insert-hook.
1114
3dab0a83
MA
11152013-10-25 Michael Albinus <michael.albinus@gmx.de>
1116
1117 * emacs-lisp/ert.el (ert-run-tests-interactively):
1118 Use `completing-read'. (Bug#9756)
1119
fbfd0e1d
EZ
11202013-10-25 Eli Zaretskii <eliz@gnu.org>
1121
1122 * simple.el (line-move): Call line-move-1 instead of
1123 line-move-visual when the current window hscroll is zero, but
1124 temporary-goal-column indicates we will need to hscroll as result
1125 of the movement. (Bug#15712)
1126
963ce636
DG
11272013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1128
1129 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1130 capitalization. Use :visible instead of :active.
1131 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1132 commands that are used with SMIE.
1133 (ruby-do-end-to-brace): Insert space after `{'.
1134
a0be396a
JA
11352013-10-25 John Anthony <john@jo.hnanthony.com>
1136
f73754c9
JA
1137 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1138
1139 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1140
f5bf77df
GM
11412013-10-25 Glenn Morris <rgm@gnu.org>
1142
1143 * vc/vc.el (vc-print-log): Don't use a working revision unless
1144 one was explicitly specified. (Bug#15322)
1145
37241f62
SM
11462013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * subr.el (add-to-list): Preserve return value in compiler-macro
1149 (bug#15692).
1150
6408a65d
RS
11512013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1152
1153 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1154 result. Ask user to retry using '-all' flag. (Bug#15701)
1155
71e3276b
SM
11562013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * emacs-lisp/smie.el: New smie-config system.
1159 (smie-config): New defcustom.
1160 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1161 (smie-config-guess, smie-config-save): New commands.
1162 (smie-config--mode-local, smie-config--buffer-local)
1163 (smie-config--trace, smie-config--modefuns): New vars.
1164 (smie-config--advice, smie-config--mode-hook)
1165 (smie-config--setter, smie-config-local, smie-config--get-trace)
1166 (smie-config--guess-value, smie-config--guess): New functions.
1167 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1168 text properties. Treat "string fence" syntax like string syntax.
1169
1170 * progmodes/sh-script.el (sh-use-smie): Change default.
1171 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1172 (sh-var-value): Simplify by CSE.
1173 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1174 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1175 is used.
1176 (sh-guess-basic-offset): Use cl-incf.
1177 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1178
60db713e
HE
11792013-10-24 Helmut Eller <eller.helmut@gmail.com>
1180
1181 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1182 (bug#15699).
1183
8b251df6
GM
11842013-10-24 Glenn Morris <rgm@gnu.org>
1185
1186 * Makefile.in (abs_top_srcdir): Remove.
1187 (update-subdirs): Use relative path to update-subdirs.
1188
6be0e22b
EZ
11892013-10-24 Eli Zaretskii <eliz@gnu.org>
1190
1191 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1192 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1193 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1194 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1195
50b5b857
MA
11962013-10-24 Michael Albinus <michael.albinus@gmx.de>
1197
1198 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1199 (ert-test-skipped): New error.
1200 (ert-skip, ert-stats-skipped): New defuns.
1201 (ert--skip-unless): New macro.
1202 (ert-test-skipped): New struct.
1203 (ert--run-test-debugger, ert-test-result-type-p)
1204 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1205 (ert--stats-set-test-and-result, ert-char-for-test-result)
1206 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1207 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1208 Handle skipped tests. (Bug#9803)
50b5b857 1209
6f317c2f
GM
12102013-10-24 Glenn Morris <rgm@gnu.org>
1211
e43817c1
GM
1212 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1213
6f317c2f
GM
1214 * Makefile.in (abs_top_srcdir): New, set by configure.
1215 (update-subdirs): Correct build-aux location.
1216
369bbf71
DG
12172013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1218
8297b2cf
DG
1219 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1220 value, whether we could auto-deduce `backend', or not.
1221
369bbf71
DG
1222 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1223 with parameters" example. Simplify the "is it block or is it
1224 hash" check, but also make it more thorough.
1225
d5f1282f
MF
12262013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1227
1228 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1229
bc4aaa31
SM
12302013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1231
03d44565
SM
1232 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1233 { if it is hanging.
1234
bc4aaa31
SM
1235 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1236 :before ";".
1237
f493ff19
JB
12382013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1239
1240 * progmodes/compile.el (compilation-directory-matcher)
1241 (compilation-page-delimiter):
1242 Support GNU Make-4.0 directory quoting. (Bug#15678)
1243
c744a3b9
LL
12442013-10-23 Leo Liu <sdl.web@gmail.com>
1245
1246 * ido.el (ido-tidy): Handle read-only text.
1247
b8e3b0a9
GM
12482013-10-23 Glenn Morris <rgm@gnu.org>
1249
1250 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1251 (emacs, compile, compile-always):
1252 Quote entities that might contain whitespace.
1253 (custom-deps, finder-data, autoloads): Use abs_lisp.
1254 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1255 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1256 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1257
ee4282cd
DG
12582013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1259
bc4aaa31
SM
1260 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1261 Use `following-char'.
7790a270 1262
ee4282cd 12632013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1264
1265 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1266 * progmodes/ruby-mode.el (ruby-smie-rules):
1267 Remove corresponding workaround. Fix indentation rule of ";" so it
1268 also applies when ";" is the parent.
1269
d40a46d7
XF
12702013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1271
1272 * frame.el (display-screens, display-pixel-height)
1273 (display-pixel-width, display-mm-width, display-backing-store)
1274 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1275 (display-visual-class, display-monitor-attributes-list):
1276 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1277
a0f143c9
MG
12782013-10-22 Michael Gauland <mikelygee@amuri.net>
1279
1280 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1281 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1282
18cacc39
DG
12832013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1286 TODO. Add "." after " @ ".
1287 (ruby-smie--at-dot-call): New function. Checks if point at method
1288 call with explicit target.
1289 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1290 to the method name tokens when it precedes them.
1291 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1292 (ruby-smie-rules): Add rule for indentation before and after "."
1293 token.
1294
df74c4be
SM
12952013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1296
c6dab55f
SM
1297 * textmodes/remember.el (remember-diary-extract-entries):
1298 Avoid add-to-list.
1299
df74c4be
SM
1300 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1301 an instruction.
1302
8c1ae481
DG
13032013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1304
cfef16c0
DG
1305 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1306 (ruby-smie--implicit-semi-p): Add new operator chars.
1307
8c1ae481
DG
1308 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1309 `smie-down-list'.
1310 (ruby-smie--args-separator-p): Check that there's no newline
1311 between method call and its arguments.
1312
87756ca9
AM
13132013-10-20 Alan Mackenzie <acm@muc.de>
1314
1315 Allow comma separated lists after Java "implements".
1316
df74c4be
SM
1317 * progmodes/cc-engine.el (c-backward-over-enum-header):
1318 Parse commas.
87756ca9
AM
1319 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1320 from a "disallowed" list in enum fontification.
1321
c25f8957
JB
13222013-10-20 Johan Bockgård <bojohan@gnu.org>
1323
df74c4be 1324 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1325
c25f8957
JB
1326 * progmodes/verilog-mode.el (verilog-mode): Don't set
1327 comment-indent-function globally.
1328
aca5fcdc
JD
13292013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1330
5f161884
JD
1331 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1332 Move Info menu item creation to ns-win.el.
1333
1334 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1335 in menu bar.
1336
aca5fcdc
JD
1337 * menu-bar.el: Move GNUStep specific menus...
1338
1339 * term/ns-win.el (ns-initialize-window-system): ... to here.
1340
914b7f98
SM
13412013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * simple.el (newline): Only run post-self-insert-hook when
1344 called interactively.
1345
846ffe77
JB
13462013-10-19 Johan Bockgård <bojohan@gnu.org>
1347
1348 * icomplete.el (icomplete-with-completion-tables): Add :version.
1349
033f22dd
AM
13502013-10-19 Alan Mackenzie <acm@muc.de>
1351
1352 Fix fontification bugs with constructors and const.
1353
1354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1355 CASE 2) Remove the check for the absence of a suffix construct
1356 after a function declaration with only types (no identifiers) in
1357 the parentheses. Also, accept a function declaration with just a
1358 type inside the parentheses, if this type can be positively
1359 recognised as such, or if a prefix keyword like "explicit" nails
1360 down the construct as a declaration.
1361
58ce0cfc
EZ
13622013-10-19 Eli Zaretskii <eliz@gnu.org>
1363
1364 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1365 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1366 the problem whereby selecting a menu item that leads to a
1367 minibuffer prompt moves the cursor out of the minibuffer window,
1368 making it hard to type at the prompt. Suggested by Stefan Monnier
1369 <monnier@iro.umontreal.ca>.
1370
50e28e7d
JD
13712013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1372
1373 * menu-bar.el: Don't make Services menu.
1374
7deed4bf
RS
13752013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1376
1377 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1378 (ffap-alist): Use ffap-c++-mode for c++-mode.
1379 (ffap-c++-path): New variable.
1380 (ffap-c++-mode): New function.
1381
7bcb455b
JVJ
13822013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1383
1384 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1385
f0ff1cd5
MA
13862013-10-18 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1389 introduced on 2013-09-08, which results in an infinite loop
1390 requesting a password.
1391
d64da4b7
GM
13922013-10-18 Glenn Morris <rgm@gnu.org>
1393
1394 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1395
ea89ff08
WS
13962013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1397
1398 Sync with upstream verilog-mode revision 1a6ecec7.
1399 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1400 (verilog-mode-release-date): Remove.
1401 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1402 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1403 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1404 (verilog-auto-tieoff-ignore-regexp)
1405 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1406 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1407 (verilog-signals-with, verilog-dir-cache-preserving)
1408 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1409 Doc fixes.
1410 (verilog-case-fold): New option, to control case folding in
1411 regexp searches, bug597.
1412 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1413 (verilog-string-match-fold, verilog-in-paren-count)
1414 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1415 (verilog-at-close-struct-p): New functions.
1416 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1417 (verilog-forward-sexp, verilog-set-auto-endcomments):
1418 (verilog-leap-to-case-head): Handle "unique0" case.
1419 (verilog-in-constraint-re): New constant.
1420 (verilog-keywords, verilog-type-font-keywords):
1421 Add some SystemVerilog 1800-2012 keywords.
1422 (verilog-label-be): Remove unimplemented argument, bug669.
1423 (verilog-batch-execute-func): When batch expanding clear
1424 create-lockfiles to prevent spurious user locks when a file ends
1425 up not changing.
1426 (verilog-calculate-indent, verilog-calc-1)
1427 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1428 (verilog-do-indent): Fix indentation of nested constraints
1429 and structures.
1430 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1431 (verilog-auto-inst-param): Use verilog-string-match-fold.
1432 (verilog-read-inst-module-matcher):
1433 Fix AUTOINST on gate primitives with #1.
1434 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1435 Reads all user-defined typed variables.
1436 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1437 (verilog-signals-matching-regexp)
1438 (verilog-signals-not-matching-regexp, verilog-auto):
1439 Respect verilog-case-fold.
1440 (verilog-diff-report): Fix line count.
1441 (verilog-auto-assign-modport): Remove unused local `modi'.
1442 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1443 better handle multidimensional arrays.
1444 Fix packed array ports misadding bit index in AUTOINST, bug637.
1445 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1446 to not double-declare existing outputs and inputs, respectively.
1447 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1448 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1449 (verilog-sk-uvm-component): New skeleton.
1450 (verilog-submit-bug-report): Add verilog-case-fold,
1451 remove verilog-mode-release-date.
1452
ef566920
BR
14532013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1454
1455 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1456 as before.
1457
29df8a0b
RT
14582013-10-18 Reuben Thomas <rrt@sc3d.org>
1459
1460 * textmodes/remember.el (remember): set buffer-offer-save in
1461 remember buffers (bug#13566).
1462
04a19a79
DC
14632013-10-18 Daniel Colascione <dancol@dancol.org>
1464
1465 When evaluating forms in ielm, direct standard output to ielm
1466 buffer. Add new ielm-return-for-effect command. Remove trailing
1467 whitespace throughout.
1468
1469 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1470 (ielm-return-for-effect): New command.
1471 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1472 (ielm-eval-input): Accept optional `for-effect' parameter.
1473 Bind `standard-output' to stream we create using
04a19a79
DC
1474 `ielm-standard-output-impl'. Suppress printing result when
1475 `for-effect'.
1476 (ielm-standard-output-impl): New function.
1477 (inferior-emacs-lisp-mode): Explain new features in documentation.
1478
4c1f03ef
MA
14792013-10-17 Michael Albinus <michael.albinus@gmx.de>
1480
1481 Code cleanup.
1482
1483 * net/tramp.el (tramp-debug-message): Do not check for connection
1484 buffer.
1485 (tramp-message): Use "vector" connection property.
1486
1487 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1488 (tramp-equal-remote, tramp-eshell-directory-change)
1489 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1490 (tramp-adb-handle-rename-file)
1491 * net/tramp-cmds.el (tramp-list-remote-buffers)
1492 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1493 * net/tramp-compat.el (tramp-compat-process-running-p)
1494 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1495 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1496 (tramp-gvfs-handle-rename-file)
1497 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1498 (tramp-set-file-uid-gid)
1499 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1500 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1501 of `file-remote-p'.
1502
1503 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1504 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1505 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1506 (tramp-gw-open-network-stream): Suppress unrelated traces.
1507
1508 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1509 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1511 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1512 connection property.
1513
1514 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1515 persistency file.
4c1f03ef
MA
1516
1517 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1518 Refactor common code. Improve debug message.
1519 (tramp-maybe-open-connection)
1520 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1521 connection buffer too early.
1522
1523 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1524 from `tramp-smb-actions-with-acl'.
1525 (tramp-smb-actions-set-acl): New defconst.
1526 (tramp-smb-handle-copy-directory)
1527 (tramp-smb-action-get-acl): New defun, renamed from
1528 `tramp-smb-action-with-acl'.
1529 (tramp-smb-action-set-acl): New defun.
1530 (tramp-smb-handle-set-file-acl): Rewrite.
1531
642eb8b6
GM
15322013-10-17 Glenn Morris <rgm@gnu.org>
1533
1534 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1535
85527ff3
SM
15362013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1537
921c1d62
SM
1538 * skeleton.el (skeleton-newline): Remove.
1539 (skeleton-internal-1): Use (insert "\n") instead.
1540
e333fb10
SM
1541 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1542 let-bindings.
1543
85527ff3
SM
1544 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1545 forward-sexp-function while we redo its job (bug#15613).
1546
c8722a97
JB
15472013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1548
1549 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1550 represented by lists.
1551
7a550bbb
GM
15522013-10-16 Glenn Morris <rgm@gnu.org>
1553
1554 * tmm.el (tmm--history): New dynamic variable.
1555 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1556
f19da8ad
MA
15572013-10-16 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1560 (tramp-smb-errors): Add error messages.
1561 (tramp-smb-actions-with-acl): New defconst.
1562 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1563 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1564 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1565 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1566 (tramp-smb-get-stat-capability): Fix tests.
1567
a24b9961
DK
15682013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1569
1570 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1571 (bug#15580).
1572
62ad85e6
GM
15732013-10-16 Glenn Morris <rgm@gnu.org>
1574
0283d6b0
GM
1575 * ansi-color.el (ansi-color-drop-regexp):
1576 Add 1J, 1K, 2K. (Bug#15617)
1577
012e2f9f
GM
1578 * files.el (hack-local-variables--warned-lexical): New.
1579 (hack-local-variables):
1580 Warn about misplaced lexical-binding. (Bug#15616)
1581
62ad85e6
GM
1582 * net/eww.el (eww-render): Always set eww-current-url,
1583 and update header line. (Bug#15622)
1584 (eww-display-html): ... Rather than just doing it here.
1585
6456c0ea
EZ
15862013-10-15 Eli Zaretskii <eliz@gnu.org>
1587
1588 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1589 menu navigations commands.
1590
c2de5588
DK
15912013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1592
1593 * progmodes/subword.el (subword-capitalize): Be careful when
1594 the search for [[:alpha:]] fails (bug#15580).
1595
ccd4a783
EZ
15962013-10-14 Eli Zaretskii <eliz@gnu.org>
1597
1598 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1599 to commands that scroll the menu.
1600
1eda1d8d
DG
16012013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1602
c2de5588
DK
1603 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1604 Handle methods ending with `?' and `!'.
1eda1d8d 1605
e70181b8
AM
16062013-10-14 Akinori MUSHA <knu@iDaemons.org>
1607
1608 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1609 `japanese-cp932' to `cp932' to fix the problem where saving a
1610 source file written in Shift_JIS twice would end up having
1611 `coding: japanese-cp932' which Ruby could not recognize.
1612 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1613 in `ruby-encoding-map'.
1614 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1615 doesn't need to be explicitly declared in magic comment.
1616 (ruby-encoding-map): Add type declaration for better customize UI.
1617
9148ee92
GM
16182013-10-13 Glenn Morris <rgm@gnu.org>
1619
a5d38e34
GM
1620 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1621 Occur buffers are read-only. http://bugs.debian.org/720775
1622
9148ee92
GM
1623 * emacs-lisp/authors.el (authors-fixed-entries):
1624 Comment out old alpha stuff.
1625
a9ba094b
DG
16262013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1627
1628 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1629 to `after-save-hook' instead of `before-save-hook'.
1630 (ruby-mode-set-encoding): Use the value of coding system used to
1631 write the file. Call `basic-save-buffer-1' after modifying the
1632 buffer.
1633
7a068717
AM
16342013-10-13 Alan Mackenzie <acm@muc.de>
1635
1636 Fix indentation/fontification of Java enum with
1637 "implements"/generic.
1638
c2de5588
DK
1639 * progmodes/cc-engine.el (c-backward-over-enum-header):
1640 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1641 (c-inside-bracelist-p): Uses new function above.
1642 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1643 function above.
1644 (c-font-lock-enum-tail): Uses new function above.
1645
85b64f02
KH
16462013-10-13 Kenichi Handa <handa@gnu.org>
1647
1648 * international/mule-cmds.el (select-safe-coding-system): Remove a
1649 superfluous condition in chekcing whether a coding system is safe
1650 or not.
1651
fc7f501b
OK
16522013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1653
1654 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1655
fdcb2049
AP
16562013-10-13 Andreas Politz <politza@hochschule-trier.de>
1657
1658 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1659
8c106d17
GM
16602013-10-13 Glenn Morris <rgm@gnu.org>
1661
feab892d
GM
1662 * menu-bar.el (menu-bar-update-buffers):
1663 Unify Buffers menu prompt string. (Bug#15576)
1664
b22d0686
GM
1665 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1666
8c106d17
GM
1667 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1668 Add some entries.
1669 (authors-fixed-entries): Use accented form of name.
1670
1b12c797
SM
16712013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1672
650fa7bf 1673 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1674 method calls (bug#15594).
650fa7bf
SM
1675 (ruby-smie--args-separator-p): New function.
1676 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1677 recognize paren-free method calls.
1678
1b12c797
SM
1679 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1680 internals of universal-argument.
1681
029619c8
EZ
16822013-10-11 Eli Zaretskii <eliz@gnu.org>
1683
1684 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1685 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1686 dropped menu on second mouse click on the menu bar.
029619c8 1687
dd070019
SM
16882013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1691 (explicit-shell-file-name): Declare.
1692 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1693 (sh-completion-at-point-function): New function.
1694 (sh-mode): Use it.
1695 (sh-smie--keyword-p): Remove unused argument.
1696 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1697 vars.
1698 (sh-set-shell): Always setup SMIE, even if we use the
1699 old indentation code.
1700
0922b826
DG
17012013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1702
b68e2926
DG
1703 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1704 cases of ? and =.
1705 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1706 predicate would return nil are almost non-existent.
1707 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1708
0922b826
DG
1709 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1710 cache also after commands that modify the buffer but don't move
1711 point.
1712
ee041f2d
SM
17132013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * env.el (substitute-env-in-file-name): New function.
1716 (substitute-env-vars): Extend the meaning of the optional arg.
1717
a5dab159
EZ
17182013-10-10 Eli Zaretskii <eliz@gnu.org>
1719
1720 * term/w32-win.el (dynamic-library-alist): Define separate lists
1721 of GIF DLLs for versions before and after 5.0.0 of giflib.
1722 (Bug#15531)
1723
db138698
JT
17242013-10-10 João Távora <joaotavora@gmail.com>
1725
1726 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1727 not locked, use last revision and current source as
1728 defaults. (Bug#15569)
1729
2f6e161e
MY
17302013-10-10 Masatake YAMATO <yamato@redhat.com>
1731
1732 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1733 menu-bar is hidden.
1734
6c8413fc
MR
17352013-10-10 Martin Rudalics <rudalics@gmx.at>
1736
1737 * window.el (pop-to-buffer-same-window): Fix doc-string.
1738 (Bug#15492)
1739
20832de0
SM
17402013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1743
c6e8ae77
AC
17442013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1745
1746 * calendar/icalendar.el (icalendar-import-file):
1747 Fix interactive spec. (Bug#15482)
1748
9db13baf
GM
17492013-10-10 Glenn Morris <rgm@gnu.org>
1750
9271e90e
GM
1751 * desktop.el (desktop-save): Default to saving in .emacs.d,
1752 since PWD is no longer in desktop-path by default. (Bug#15319)
1753
9db13baf
GM
1754 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1755 now that text mode has a menu with the same entry.
1756 (menu-bar-text-mode-auto-fill): Remove now unused func.
1757 * textmodes/text-mode.el (text-mode-map):
1758 Use auto-fill help text from menu-bar.el.
1759
a0be396a 17602013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1761
1762 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1763
2edcd3c7
JL
17642013-10-09 Juri Linkov <juri@jurta.org>
1765
1766 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1767 instead of this-command-keys. Add universal-argument-more and
1768 universal-argument-minus to the list of prefix commands. (Bug#15568)
1769
574411d0
GM
17702013-10-09 Glenn Morris <rgm@gnu.org>
1771
14afa541
GM
1772 * vc/vc-svn.el (vc-svn-create-repo):
1773 Expand paths in file://... url. (Bug#15446)
1774
574411d0
GM
1775 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1776 Add some entries.
1777 (authors): Remove unused local variables.
1778
79804536
SM
17792013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * profiler.el: Create a more coherent calltree from partial backtraces.
1782 (profiler-format): Hide the tail with `invisible' so that C-s can still
1783 find the hidden elements.
1784 (profiler-calltree-depth): Don't recurse so enthusiastically.
1785 (profiler-function-equal): New hash-table-test.
1786 (profiler-calltree-build-unified): New function.
1787 (profiler-calltree-build): Use it.
1788 (profiler-report-make-name-part): Indent the calltree less.
1789 (profiler-report-mode): Add visibility specs for profiler-format.
1790 (profiler-report-expand-entry, profiler-report-toggle-entry):
1791 Expand the whole subtree when provided with a prefix arg.
1792
238150c8
DG
17932013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1794
1795 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1796 iuwu-mod token.
1797 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1798 hanging iuwu-mod token.
1799 (ruby-smie--forward-token): Do not include a dot after a token in
1800 that token.
1801 (ruby-smie--backward-token): Likewise.
1802
b0949cc4
JL
18032013-10-08 Juri Linkov <juri@jurta.org>
1804
1805 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1806 to isearch-other-control-char.
1807 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1808 and isearch-post-command-hook to post-command-hook.
1809 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1810 and isearch-post-command-hook from post-command-hook.
1811 (isearch-unread-key-sequence)
1812 (isearch-reread-key-sequence-naturally)
1813 (isearch-lookup-scroll-key, isearch-other-control-char)
1814 (isearch-other-meta-char): Remove functions.
1815 (isearch-pre-command-hook, isearch-post-command-hook):
1816 New functions based on isearch-other-meta-char rewritten
1817 relying on the new behavior of overriding-terminal-local-map
1818 that does not replace the local keymaps any more. (Bug#15200)
1819
4ed77415
EZ
18202013-10-08 Eli Zaretskii <eliz@gnu.org>
1821
1822 Support menus on text-mode terminals.
1823 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1824 functionality.
1825
1826 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1827
c2de5588
DK
1828 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1829 Move here from mouse.el.
4ed77415
EZ
1830 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1831 and arrow keys.
1832 (tty-menu-navigation-map): New map for TTY menu navigation.
1833
1834 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1835
1836 * frame.el (display-mouse-p): Report text-mode mouse as available
1837 on w32.
1838 (display-popup-menus-p): Report availability if mouse is
1839 available; don't condition on window-system.
1840
1841 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1842 (tty-menu-selected-face): New faces.
1843
b7d5bd82
TL
18442013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1845
06286513
SM
1846 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1847 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1848 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1849 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1850 New constants.
1851 (lisp-mode-variables): New `elisp' argument.
1852 (emacs-lisp-mode): Use it.
1853 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1854 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1855
b7d5bd82
TL
1856 * indent.el: Use lexical-binding.
1857 (indent-region): Add progress reporter.
1858 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1859 last step.
1860 (indent--next-tab-stop): New function to implement this behavior.
1861 (tab-to-tab-stop, move-to-tab-stop): Use it.
1862
18632013-10-08 Teemu Likonen <tlikonen@iki.fi>
1864
1865 * indent.el (indent-rigidly--current-indentation): New function.
1866 (indent-rigidly-map): New var.
1867 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1868
5ea75d23
BG
18692013-10-08 Bastien Guerry <bzg@gnu.org>
1870
1871 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1872
cc5da1ec
SM
18732013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1874
8ffa1a0b
SM
1875 * progmodes/perl-mode.el: Use lexical-binding.
1876 Remove redundant :group args.
1877 (perl-nochange): Change default to be closer to other major modes's
1878 standard behavior.
1879 (perl-indent-line): Don't consider text on current line as a
1880 valid beginning of function from which to indent.
1881
f2223371
SM
1882 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1883 with more than one argument (bug#15538).
1884
44256060
SM
1885 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1886
cc5da1ec
SM
1887 * vc/pcvs.el: Use lexical-binding.
1888 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1889 environment of `eval'.
1890 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1891 than a list of expressions. Adjust callers.
1892 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1893
0ea1599d
DG
18942013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1895
1896 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1897 case of the dot in a chained method call being on the following line.
0ea1599d 1898
da3e5ebb
SM
18992013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1900
2abb4e65
SM
1901 * electric.el (electric-indent-inhibit): New var.
1902 (electric-indent-post-self-insert-function): Use it.
1903 * progmodes/python.el (python-mode): Set it.
1904
d2e0e795
SM
1905 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1906 open braces.
1907
1908 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1909
bdc6b4c8
SM
1910 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1911 (css-mode): Use electric-indent-chars.
1912
da3e5ebb
SM
1913 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1914 (font-lock-beg, font-lock-end): Move before first use.
1915 (nxml-mode): Use syntax-propertize-function.
1916 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1917 (nxml-extend-after-change-region): Remove.
1918 * nxml/xmltok.el: Use lexical-binding.
1919 (xmltok-save): Use `declare'.
1920 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1921 * nxml/nxml-util.el: Use lexical-binding.
1922 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1923 Use `declare'.
1924 * nxml/nxml-ns.el: Use lexical-binding.
1925 (nxml-ns-save): Use `declare'.
1926 (nxml-ns-prefixes-for): Avoid add-to-list.
1927 * nxml/rng-match.el: Use lexical-binding.
1928 (rng--ipattern): Use cl-defstruct.
1929 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1930 (rng-cons-group-after, rng-subst-group-after)
1931 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1932 Use closures instead of `(lambda...).
1933
f8f91d5d
MA
19342013-10-07 Michael Albinus <michael.albinus@gmx.de>
1935
1936 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1937 of BEG and END.
1938
da3e5ebb
SM
1939 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1940 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1941 (tramp-gvfs-handle-insert-file-contents): Remove function.
1942
da3e5ebb
SM
1943 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1944 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1945
1946 * net/trampver.el: Update release number.
1947
7ccae3b1
SM
19482013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1949
55ca2c0d
SM
1950 * progmodes/compile.el (compilation-parse-errors):
1951 Use compilation--put-prop.
1952 (compilation--ensure-parse): Check compilation-multiline.
1953
731fc3ae
SM
1954 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1955
da3e5ebb
SM
1956 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1957 lexical-binding.
a5833280 1958
2e7ba2c2
SM
1959 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1960
7ccae3b1
SM
1961 * progmodes/ruby-mode.el: Fix recently added tests.
1962 (ruby-smie-grammar): Add - and +.
1963 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1964 (ruby-smie--backward-id): New functions.
1965 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1966 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1967 any more.
1968
85698d63
LL
19692013-10-07 Leo Liu <sdl.web@gmail.com>
1970
1971 * register.el (register-preview-delay)
1972 (register-preview-functions): New variables.
1973 (register-read-with-preview, register-preview)
1974 (register-describe-oneline): New functions.
1975 (point-to-register, window-configuration-to-register)
1976 (frame-configuration-to-register, jump-to-register)
1977 (number-to-register, view-register, insert-register)
1978 (copy-to-register, append-to-register, prepend-to-register)
1979 (copy-rectangle-to-register): Use register-read-with-preview to
1980 read register. (Bug#15525)
1981
3986af6c
DS
19822013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1983
1984 * net/network-stream.el (network-stream-open-starttls): Don't add
1985 --insecure if it's already present, because that gnutls-cli
1986 rejects getting that parameter twice.
1987
5cd9cda9
DG
19882013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1989
1990 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1991 keyword, too.
1992
da9ea6d9
DG
19932013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1994
1995 * newcomment.el (comment-use-global-state): Change default value
1996 to t, mark obsolete (Bug#15251).
1997 (comment-beginning): In addition to `comment-to-syntax', check the
1998 value of `comment-use-global-state'.
1999
34d1a133
SM
20002013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2003 (ruby-comment-column): Follow the global default, by default.
2004 (ruby-smie-grammar): Add assignment syntax.
2005 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2006 open-paren, a comma, or a \.
2007 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2008 and line continuations.
2009 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2010 followed by implicit semi-colons. Add rule for string concatenation
2011 and for indentation at BOB.
2012 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2013
2014 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2015 calling next-sexp, since next-token may have skipped chars which
2016 next-sexp doesn't know should be skipped!
2017
6f6ab820
LL
20182013-10-05 Leo Liu <sdl.web@gmail.com>
2019
34d1a133
SM
2020 * progmodes/octave.el (octave-send-region):
2021 Call compilation-forget-errors.
6f6ab820 2022
34ca0f4c
XF
20232013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2024
2025 * vc/vc-svn.el (vc-svn-find-admin-dir):
2026 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2027 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2028 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2029 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2030
a27c1b72
SM
20312013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2034
258ab3bc
SM
20352013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * subr.el (read-passwd): Hide chars even when called within a context
2038 where after-change-functions is disabled (bug#15501).
2039 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2040 until we removed ourself from overriding-terminal-local-map.
2041
939fb29c
LL
20422013-10-04 Leo Liu <sdl.web@gmail.com>
2043
258ab3bc
SM
2044 * progmodes/octave.el (inferior-octave-mode):
2045 Call compilation-forget-errors.
939fb29c 2046
63bd7f35
XF
20472013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2048
2049 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2050
9e6229fa
MA
20512013-10-04 Michael Albinus <michael.albinus@gmx.de>
2052
2053 * net/secrets.el (secrets-create-collection): Add optional
2054 argument ALIAS. Use proper Label keyword. Append ALIAS as
2055 dbus-call-method argument. (Bug#15516)
2056
1dab32a3
LL
20572013-10-04 Leo Liu <sdl.web@gmail.com>
2058
2059 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2060 (inferior-octave-compilation-font-lock-keywords): New variables.
2061 (compilation-error-regexp-alist)
2062 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2063 (inferior-octave-mode): Use compilation-shell-minor-mode.
2064
6cad7ba3
JS
20652013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2066
2067 * minibuffer.el (completion--replace): Be careful that `end' might be
2068 a marker.
2069
acbadd00
DU
20702013-10-03 Daiki Ueno <ueno@gnu.org>
2071
2072 Add support for package signature checking.
2073 * emacs-lisp/package.el (url-http-file-exists-p)
2074 (epg-make-context, epg-context-set-home-directory)
2075 (epg-verify-string, epg-context-result-for)
2076 (epg-signature-status, epg-signature-to-string)
2077 (epg-check-configuration, epg-configuration)
2078 (epg-import-keys-from-file): Declare.
2079 (package-check-signature): New user option.
2080 (package-unsigned-archives): New user option.
2081 (package-desc): Add `signed' field.
2082 (package-load-descriptor): Set `signed' field if .signed file exists.
2083 (package--archive-file-exists-p): New function.
2084 (package--check-signature): New function.
2085 (package-install-from-archive): Check package signature.
2086 (package--download-one-archive): Check archive signature.
2087 (package-delete): Remove .signed file.
2088 (package-import-keyring): New command.
2089 (package-refresh-contents): Import default keyring.
2090 (package-desc-status): Add "unsigned" status.
2091 (describe-package-1, package-menu--print-info)
2092 (package-menu-mark-delete, package-menu--find-upgrades)
2093 (package-menu--status-predicate): Support "unsigned" status.
2094
adf2aa61
SM
20952013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2098 the new compilation scheme using the new byte-codes.
2099
2100 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2101 (byte-pophandler): New byte codes.
2102 (byte-goto-ops): Adjust accordingly.
2103 (byte-compile--use-old-handlers): New var.
2104 (byte-compile-catch): Use new byte codes depending on
2105 byte-compile--use-old-handlers.
2106 (byte-compile-condition-case--old): Rename from
2107 byte-compile-condition-case.
2108 (byte-compile-condition-case--new): New function.
2109 (byte-compile-condition-case): New function that dispatches depending
2110 on byte-compile--use-old-handlers.
2111 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2112 when we can.
2113
2114 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2115 Optimize under `condition-case' and `catch' if
2116 byte-compile--use-old-handlers is nil.
2117 (disassemble-offset): Handle new bytecodes.
2118
328a8179
SM
21192013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * subr.el (error): Use `declare'.
2122 (decode-char, encode-char): Use advertised-calling-convention instead
2123 of the docstring to discourage use of the `restriction' arg.
2124
15a1e936
DU
21252013-10-03 Daiki Ueno <ueno@gnu.org>
2126
2127 * epg.el (epg-verify-file): Add a comment saying that it does not
2128 notify verification error as a return value nor a signal.
2129 (epg-verify-string): Ditto.
2130
376f862a
KR
21312013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2132
2133 * progmodes/compile.el (compilation-start): Try globbing the arg to
2134 `cd' (bug#15417).
2135
a2f93a5f
MA
21362013-10-02 Michael Albinus <michael.albinus@gmx.de>
2137
2138 Sync with Tramp 2.2.8.
2139
2140 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2141 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2142 * net/trampver.el: Update release number.
2143
0daa0804
JD
21442013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2145
2146 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2147 and default-process-coding-system for darwin only.
2148
abd1ae34
SM
21492013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2152
be4e325d
MH
21532013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2154
2155 * vc/vc-git.el (vc-git-grep): Disable pager.
2156
e9155c4a
DG
21572013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2158
494e898b
DG
2159 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2160 Use :url instead of :homepage, as per
2161 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2162
e9155c4a
DG
2163 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2164 non-nil, use `syntax-ppss' (Bug#15251).
2165
481a8e0f
RS
21662013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2167
be4e325d
MH
2168 * progmodes/octave.el (inferior-octave-startup-file):
2169 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2170
056453c6
DG
21712013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2172
be4e325d
MH
2173 * emacs-lisp/package.el (package-desc-from-define):
2174 Accept additional arguments as plist, convert them to an alist and store
2175 them in the `extras' slot.
056453c6
DG
2176 (package-generate-description-file): Convert extras alist back to
2177 plist and append to the `define-package' form arguments.
2178 (package--alist-to-plist): New function.
2179 (package--ac-desc): Add `extras' slot.
2180 (package--add-to-archive-contents): Check if the archive-contents
2181 vector is long enough, and if it is, pass its `extras' slot value
2182 to `package-desc-create'.
2183 (package-buffer-info): Call `lm-homepage', pass the returned value
2184 to `package-desc-from-define'.
2185 (describe-package-1): Render the homepage button (Bug#13291).
2186
be4e325d
MH
2187 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2188 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2189
832966e5
JD
21902013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2191
2192 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2193 and default-process-coding-system to utf-8-unix (Bug#15402).
2194
6cfe977d
XF
21952013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2196
2197 * subr.el (looking-back): Do not recommend using looking-back.
2198
38de11bd
AM
21992013-09-28 Alan Mackenzie <acm@muc.de>
2200
2201 Fix indentation/fontification of Java enum with "implements".
2202
2203 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2204 regexp which matches "implements", etc., in Java.
2205 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2206 specifier clauses coming after "enum".
2207 * progmodes/cc-fonts.el (c-font-lock-declarations)
2208 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2209 after "enum".
2210
1610938f
JD
22112013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2212
2213 * faces.el (region): Change ns_selection_color to
2214 ns_selection_fg_color, add ns_selection_bg_color.
2215
e090f499
LL
22162013-09-28 Leo Liu <sdl.web@gmail.com>
2217
4d2e94d1
LL
2218 * progmodes/octave.el (inferior-octave-completion-table)
2219 (inferior-octave-completion-at-point): Minor tweaks.
2220
e090f499
LL
2221 * textmodes/ispell.el (ispell-lookup-words): Rename from
2222 lookup-words. (Bug#15460)
2223 (lookup-words): Obsolete.
2224 (ispell-complete-word, ispell-command-loop): All uses changed.
2225
7e138a62
RS
22262013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2227
2228 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2229 (octave-mode-menu): Add octave-send-buffer.
2230 (octave-send-buffer): New function.
2231
5af5ed08
RS
22322013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2233
2234 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2235 octave-lookfor.
2236 (octave-mode-menu): Add octave-lookfor.
2237 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2238 octave-lookfor.
2239 (octave-lookfor): New function.
2240
3b7b2692
SM
22412013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * emacs-lisp/cl-macs.el:
2244 (cl--loop-destr-temps): Remove.
2245 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2246 its convention.
2247 (cl--loop-set-iterator-function): New function.
2248 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2249 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2250 Bind `it' with `let' instead of substituting it with `cl-subst'.
2251 (cl--unused-var-p): New function.
2252 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2253 Eliminate some unused variable warnings (bug#15326).
2254
529fb53f
TH
22552013-09-27 Tassilo Horn <tsdh@gnu.org>
2256
2257 * doc-view.el (doc-view-scale-reset): Rename from
2258 `doc-view-reset-zoom-level'.
2259 (doc-view-scale-adjust): New command.
2260 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2261 `doc-view-scale-adjust'.
2262
0550c95a
TH
22632013-09-26 Tassilo Horn <tsdh@gnu.org>
2264
2265 * doc-view.el (doc-view-reset-zoom-level): New command.
2266 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2267 zoom commands (bug#15466).
2268
6950f152
KH
22692013-09-26 Kenichi Handa <handa@gnu.org>
2270
2271 * international/quail.el (quail-help): Make it not a command.
2272
39587580
LL
22732013-09-26 Leo Liu <sdl.web@gmail.com>
2274
2275 * minibuffer.el (completion-all-sorted-completions): Make args
2276 optional as they are.
2277
00578659
DC
22782013-09-25 Daniel Colascione <dancol@dancol.org>
2279
2280 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2281 specs are and that they're not evaluated.
2282
0c173878
SS
22832013-09-24 Sam Steingold <sds@gnu.org>
2284
2285 * midnight.el (clean-buffer-list-kill-regexps)
2286 (clean-buffer-list-kill-buffer-names): Update for the new Man
2287 buffer naming which includes the object name.
2288
84998447
SM
22892013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2290
2291 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2292 (eshell-parse-command, eshell-parse-pipeline): Use it since
2293 eshell-separate-commands requires a dynamic scoped var.
2294 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2295
33215353
LL
22962013-09-23 Leo Liu <sdl.web@gmail.com>
2297
2298 * autoinsert.el (auto-insert-alist): Make the value of
2299 lexical-binding match its file setting.
2300
57b16162
JB
23012013-09-23 Juanma Barranquero <lekktu@gmail.com>
2302
c8af4e67
JB
2303 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2304
57b16162
JB
2305 * autoarg.el (autoarg-kp-digit-argument):
2306 * electric.el (Electric-command-loop):
2307 * kmacro.el (kmacro-step-edit-insert):
2308 Do not set universal-argument-num-events.
2309
7186ba60
LL
23102013-09-22 Leo Liu <sdl.web@gmail.com>
2311
2312 * files.el (interpreter-mode-alist): Add octave.
2313
ece15004
AM
23142013-09-21 Alan Mackenzie <acm@muc.de>
2315
2316 C++: fontify identifier in declaration following "public:" correctly.
2317 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2318 to match "public", etc.
2319 (c-decl-prefix-re): Add ":" into the C++ value.
2320 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2321 bit. Add a check for a ":" preceded by "public", etc.
2322
75d83e22
EZ
23232013-09-21 Eli Zaretskii <eliz@gnu.org>
2324
2325 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2326 recognized by GDB 7.5 and later.
2327
d052d3bd
XF
23282013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2329
2330 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2331
31dca772
R
23322013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 * subr.el (internal--call-interactively): New const.
2335 (called-interactively-p): Use it (bug#3984).
2336
98ccf24e
XF
23372013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2338
2339 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2340 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2341 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2342
c39cc7d1
SM
23432013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2346 (eshell-ls-orig-insert-directory): Remove.
2347 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2348 (eshell-ls-use-in-dired): Use advice-add/remove.
2349 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2350 Add `orig-fun' arg for use in :around advice.
2351 Make it check (redundantly) eshell-ls-use-in-dired.
2352
9a0289a2
GM
23532013-09-19 Glenn Morris <rgm@gnu.org>
2354
a2c501b8
GM
2355 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2356
c440407a
GM
2357 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2358
9a0289a2
GM
2359 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2360
85e05915
MA
23612013-09-19 Michael Albinus <michael.albinus@gmx.de>
2362
2363 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2364 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2365 (tramp-get-remote-python): New defuns.
2366 (tramp-get-remote-uid-with-perl)
2367 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2368 contributed by yary <not.com@gmail.com> (tiny change).
2369 (tramp-get-remote-uid-with-python)
2370 (tramp-get-remote-gid-with-python): New defuns. Python code
2371 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2372 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2373
ce503312
GM
23742013-09-19 Glenn Morris <rgm@gnu.org>
2375
f7544773
GM
2376 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2377
72fd2877
GM
2378 * eshell/em-unix.el (eshell-remove-entries):
2379 Rename argument to avoid name-clash with global `top-level'.
2380
336b5a56
GM
2381 * eshell/esh-proc.el (eshell-kill-process-function):
2382 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2383 (eshell-reset-after-proc): Remove unused arg `proc'.
2384
57a3a53d
GM
2385 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2386 (directory-files-and-attributes): Mark unused arg.
2387
3261d4af
GM
2388 * eshell/em-unix.el (eshell-remove-entries):
2389 Remove unused arg `path'. Update callers.
2390
8e51b5d0
GM
2391 * eshell/em-hist.el (eshell-hist-parse-arguments):
2392 Remove unused arg `silent'. Update callers.
2393
ce503312
GM
2394 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2395 Fix (f)boundp mix-up.
2396
2397 * eshell/em-smart.el (eshell-smart-scroll-window)
2398 (eshell-disable-after-change):
336b5a56 2399 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2400
ee3ce8a7
AM
24012013-09-18 Alan Mackenzie <acm@muc.de>
2402
2403 Fix fontification of type when followed by "const".
2404 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2405 "known" types from fontification.
2406
ec9177ba
GM
24072013-09-18 Glenn Morris <rgm@gnu.org>
2408
7bb3e768
GM
2409 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2410 (chart-face-list): Drop Emacsen without display-color-p.
2411
5148da15
GM
2412 * net/eww.el (libxml-parse-html-region): Declare.
2413 (eww-display-html): Explicit error if no libxml2 support.
2414
2f68e157
GM
2415 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2416
9019d095
GM
2417 * image.el (image-type-from-buffer, image-multi-frame-p):
2418 Remove --without-x warning/error.
67645389 2419
5f30349b 2420 * mouse.el (mouse-yank-primary):
45069b2e 2421 * term.el (term-mouse-paste):
5f30349b
GM
2422 Reorder to silence --without-x compilation.
2423
cd8edbbe
GM
2424 * mpc.el (doc-view-mode): Silence --without-x compilation.
2425
8a78544e
GM
2426 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2427 Silence --without-x compilation.
2428
12679bfd
GM
2429 * progmodes/gud.el (gud-find-file, gud-mode):
2430 Silence --without-x compilation.
2431 (tooltip-mode): Declare.
30810a05 2432
f0047cb9
GM
2433 * wdired.el (dired-backup-overwrite): Remove declaration.
2434 (wdired-mode-map): Add doc string.
2435
e740f9d2
GM
2436 * custom.el (x-get-resource): Declare.
2437
92d77c89
GM
2438 * eshell/em-glob.el (ange-cache):
2439 * eshell/em-unix.el (ange-cache): Declare.
2440
76e69577
GM
2441 * faces.el (x-display-list, x-open-connection, x-get-resource):
2442 Declare.
7e58af4b
GM
2443
2444 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2445 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2446 Declare.
76e69577 2447
4bd4c0af 2448 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2449
ffb82dbd
GM
2450 * net/gnutls.el (gnutls-log-level): Declare.
2451
986ed135
GM
2452 * net/shr.el (image-size, image-animate): Declare.
2453
e740f9d2
GM
2454 * simple.el (font-info): Declare.
2455
d2f3e9f8
GM
2456 * subr.el (x-popup-dialog): Declare.
2457
047a1a4c
GM
2458 * term/common-win.el (x-select-enable-primary)
2459 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2460 Declare.
2461
f4a1d572
GM
2462 * term/ns-win.el (x-handle-args): Declare.
2463
e843de77
GM
2464 * term/x-win.el (x-select-enable-clipboard): Declare.
2465
5fa89513
GM
2466 * term/w32-win.el (create-default-fontset): Declare.
2467
38702b5b
GM
2468 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2469 Declare.
2470
e740f9d2
GM
2471 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2472 (fit-frame-to-buffer): Explicit error if --without-x.
2473 (mouse-autoselect-window-select): Silence compiler.
2474
49a053fc
GM
2475 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2476
2477 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2478 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2479 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2480 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2481 Remove unused local variables.
2482
2483 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2484
ec9177ba
GM
2485 * textmodes/two-column.el: Make 2C-split work for --without-x.
2486 (scroll-bar-columns): Autoload.
2487 (top-level): Require fringe when compiling.
2488
9f25cb77
LL
24892013-09-18 Leo Liu <sdl.web@gmail.com>
2490
2491 * subr.el (add-hook): Robustify to handle closure as well.
2492
2b42da98
GM
24932013-09-17 Glenn Morris <rgm@gnu.org>
2494
2495 * simple.el (messages-buffer-mode-map): Unbind "g".
2496
e8b66a6a
SM
24972013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2498
9c0ad4f7
SM
2499 * help-mode.el (help-mode-finish): Use derived-mode-p.
2500 Remove obsolete highlighting.
2501
7a806dfb
SM
2502 * play/life.el (life-mode): Use define-derived-mode. Derive from
2503 special-mode.
2504 (life): Let-bind inhibit-read-only.
2505 (life-setup): Avoid `setq'. Use `life-mode'.
2506
96dbf5a8
SM
2507 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2508 which should not be needed any more.
2509 (package-menu-refresh, package-menu-describe-package): Use user-error.
2510
e8b66a6a
SM
2511 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2512 (eshell-post-rewrite-command-hook): Make obsolete.
2513 (eshell-parse-command): Simplify.
2514 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2515 (eshell--cmd): Declare.
2516 (eshell-parse-pipeline): Remove unused var `final-p'.
2517 Pass a dynvar to eshell-post-rewrite-command-hook.
2518 Implement the new eshell-post-rewrite-command-function.
2519 (eshell-invoke-directly): Remove unused arg `input'.
2520 * eshell/esh-io.el (eshell-io-initialize):
2521 Use eshell-post-rewrite-command-function (bug#15399).
2522 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2523 adjust to new calling convention.
2524 (eshell-create-handles): Rename args to avoid clashing with dynvar
2525 `standard-output'.
2526
90582f05
GM
25272013-09-17 Glenn Morris <rgm@gnu.org>
2528
2529 * simple.el (messages-buffer-mode): New major mode.
2530 (messages-buffer): New function.
2531 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2532 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2533 (ert-run-test): Use `messages-buffer' function.
90582f05 2534 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2535 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2536 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2537
39eb0cb5 25382013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2539
2540 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2541
1f1e06e2
SM
2542 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2543
70568a90
SM
25442013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2545
504a0381
SM
2546 * icomplete.el (icomplete-in-buffer): New var.
2547 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2548 vars and replace them with functions.
2549 (icomplete-minibuffer-setup): Adjust accordingly.
2550 (icomplete--completion-table, icomplete--completion-predicate)
2551 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2552 New functions.
2553 (icomplete-forward-completions, icomplete-backward-completions)
2554 (icomplete-simple-completing-p, icomplete-exhibit)
2555 (icomplete-completions): Use them.
2556 (icomplete--in-region-buffer): New var.
2557 (icomplete--in-region-setup): New function.
2558 (icomplete-mode): Use it.
2559
70568a90
SM
2560 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2561 (bug#15379).
2562 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2563 return args and options.
2564 (eshell-eval-using-options): Use the new return value of
2565 eshell--do-opts to set the options's vars in their scope.
2566 (eshell--set-option): Rename from eshell-set-option.
2567 Add arg `opt-vals'.
2568 (eshell--process-option): Rename from eshell-process-option.
2569 Add arg `opt-vals'.
2570 (eshell--process-args): Use an `opt-vals' alist to store the options's
2571 values during their processing and return them additionally to the
2572 remaining args.
2573
578c21bc
DG
25742013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2575
2576 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2577 continuation character an operator, as far as indentation is
2578 concerned (Bug#15369).
2579
c089653d
MR
25802013-09-15 Martin Rudalics <rudalics@gmx.at>
2581
2582 * window.el (window--state-put-2): Don't process buffer state
2583 when buffer doesn't exist any more (Bug#15382).
2584
1e53bb4b
GM
25852013-09-15 Glenn Morris <rgm@gnu.org>
2586
30753242
GM
2587 * eshell/em-unix.el (eshell/rm):
2588 Make -f ignore missing files. (Bug#15373)
2589
1e53bb4b
GM
2590 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2591 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2592 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2593
0d8863b3
GM
25942013-09-14 Glenn Morris <rgm@gnu.org>
2595
2596 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2597
d3fc6549
GM
25982013-09-13 Glenn Morris <rgm@gnu.org>
2599
2600 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2601 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2602
fcd42c11
DA
26032013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2604
2605 * frame.el (x-focus-frame): Mark as declared in frame.c.
2606
7830899f
SM
26072013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * ls-lisp.el: Use advice-add.
2610 (original-insert-directory): Remove.
2611 (ls-lisp--insert-directory): Rename from insert-directory; add
2612 `orig-fun' argument.
2613 (insert-directory): Advise.
2614
84387cd2
EZ
26152013-09-13 Eli Zaretskii <eliz@gnu.org>
2616
2617 * term.el (term-emulate-terminal): Decode the command string
2618 before passing it to term-command-hook. (Bug#15337)
2619
35ffc6ba
GM
26202013-09-13 Glenn Morris <rgm@gnu.org>
2621
5c3f9bcc
GM
2622 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2623
2ada368a
GM
2624 * eshell/esh-ext.el (eshell-search-path): Declare.
2625
fcef2e13
GM
2626 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2627 Otherwise an error occurs if eshell-dirs module not loaded.
2628
35ffc6ba
GM
2629 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2630
35c3d36e
MA
26312013-09-13 Michael Albinus <michael.albinus@gmx.de>
2632
2633 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2634 `tramp-check-proper-host'. Check for a valid method name.
2635
2636 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2637 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2638 * net/tramp-sh.el (tramp-maybe-open-connection):
2639 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2640
2641 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2642 also for hash values.
2643
ae5e4c48
SM
26442013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2645
379add74
SM
2646 * term/ns-win.el (parameters): Don't declare as dynamic.
2647 (before-make-frame-hook): Don't add ineffective function.
2648
ae5e4c48
SM
2649 * eshell/*.el: Use lexical-binding (bug#15231).
2650
b5623270
KH
26512013-09-12 Kenichi Handa <handa@gnu.org>
2652
ae5e4c48 2653 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2654
30213927
GM
26552013-09-12 Glenn Morris <rgm@gnu.org>
2656
be94d713 2657 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2658 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2659
44915370
GM
2660 * subr.el (do-after-load-evaluation): Also give compiler warnings
2661 when obsolete files are used (except by obsolete files).
2662
a6ae021f
GM
2663 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2664 in the status output, assume `filename' is the first. (Bug#15322)
2665
40e64f0c
GM
2666 * vc/vc.el (vc-deduce-fileset): Doc fix.
2667
16d9f896
GM
2668 * calc/calc-help.el (Info-goto-node):
2669 * progmodes/cperl-mode.el (Info-find-node):
2670 * vc/ediff.el (Info-goto-node): Update declarations.
2671
dea01c6e
GM
2672 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2673
759880bf 2674 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2675 (vc-bzr-pull): Require vc-dispatcher.
2676 * vc/vc-git.el (vc-compilation-mode): Declare.
2677 (vc-git-pull): Require vc-dispatcher.
2678
08d66420
GM
2679 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2680
30b626e9
GM
2681 * progmodes/octave.el (help-button-action): Declare.
2682
8c05cb10
GM
2683 * shell.el (shell-directory-tracker): Output error as a message
2684 rather than just returning it as a string.
2685 (shell-process-pushd): Remove useless use of message.
2686
30213927
GM
2687 * dframe.el (dframe-timer-fn):
2688 * files.el (dir-locals-read-from-file):
2689 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2690 (mpc-format):
2691 * reveal.el (reveal-post-command):
2692 * saveplace.el (load-save-place-alist-from-file):
2693 * shell.el (shell-resync-dirs):
2694 * w32-common-fns.el (x-get-selection-value):
2695 * emacs-lisp/copyright.el (copyright-find-copyright):
2696 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2697 * emulation/tpu-edt.el (tpu-copy-keyfile):
2698 * play/bubbles.el (bubbles--mark-neighbourhood):
2699 * progmodes/executable.el
2700 (executable-make-buffer-file-executable-if-script-p):
2701 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2702
d3b049e6
SM
27032013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2704
170266d0
SM
2705 Cleanup Eshell to rely less on dynamic scoping.
2706 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2707 last-value, and ext-command here. Bind `args' closer to `body'.
2708 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2709 (eshell--args): Declare new dynamic var.
2710 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2711 last-value, and ext-command. Pass `args' to `body'.
2712 (eshell-process-args): Bind eshell--args.
2713 (eshell-set-option): Use eshell--args.
2714 * eshell/eshell.el (eshell): Use derived-mode-p.
2715 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2716 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2717 (eshell-glob-function): Declare.
2718 * eshell/esh-util.el: Require cl-lib.
2719 (eshell-read-hosts-file): Avoid add-to-list.
2720 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2721 `err'.
2722 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2723 Declare.
2724 (eshell/diff): Remove unused var `err'.
2725 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2726 `killflag'.
2727 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2728 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2729 first use.
2730 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2731 Move declaration before first use.
2732 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2733 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2734 rely on cl-return.
2735
56834f3b
GM
27362013-09-12 Glenn Morris <rgm@gnu.org>
2737
2738 * term/ns-win.el (global-map): Remove binding for ispell-next,
2739 deleted 1999-05-29. (Bug#15357)
2740
5c91a2b8
GM
27412013-09-11 Glenn Morris <rgm@gnu.org>
2742
da712f22
GM
2743 * echistory.el (electric-command-history): Remove call to deleted func.
2744
512e4cdc
GM
2745 * play/landmark.el (landmark-mode): Fix typos.
2746
d3506ca5
GM
2747 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2748 Check cvs-sort-ignore-file is bound.
2749
5c91a2b8
GM
2750 * savehist.el: No need for cl when compiling on Emacs.
2751
feeff482
SM
27522013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2753
656bd483
SM
2754 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2755 (bug#15338).
d3b049e6
SM
2756 (eshell-self-insert-command, eshell-send-invisible):
2757 Remove unused argument.
656bd483
SM
2758 (eshell-handle-control-codes): Remove unused var `orig'.
2759 Avoid delete-backward-char.
2760
feeff482
SM
2761 * files.el (set-auto-mode): Simplify a bit further.
2762
2a08047a
GM
27632013-09-11 Glenn Morris <rgm@gnu.org>
2764
2765 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2766 (set-auto-mode): Don't regexp-quote elements.
2767 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2768 * progmodes/cc-mode.el (interpreter-mode-alist):
2769 * progmodes/ruby-mode.el (interpreter-mode-alist):
2770 Revert previous change.
2771
34675540
SM
27722013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2773
1b3b87df
SM
2774 * play/snake.el (snake-mode):
2775 * play/mpuz.el (mpuz-mode):
2776 * play/landmark.el (lm-mode):
2777 * play/blackbox.el (blackbox-mode):
2778 * play/5x5.el (5x5-mode):
2779 * obsolete/options.el (Edit-options-mode):
2780 * net/quickurl.el (quickurl-list-mode):
2781 * net/newst-treeview.el (newsticker-treeview-mode):
2782 * mail/rmailsum.el (rmail-summary-mode):
2783 * mail/mspools.el (mspools-mode):
2784 * locate.el (locate-mode):
2785 * ibuffer.el (ibuffer-mode):
2786 * emulation/ws-mode.el (wordstar-mode):
2787 * emacs-lisp/debug.el (debugger-mode):
2788 * array.el (array-mode):
2789 * net/eudc.el (eudc-mode): Use define-derived-mode.
2790 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2791 Move initialization into declaration.
2792 (mairix-searches-mode): Use define-derived-mode.
2793 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2794 (eudc-edit-hotlist): Use dolist.
2795 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2796 (Man-mode): Use define-derived-mode.
2797 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2798 (Info-edit-mode): Use define-derived-mode.
2799 (Info-cease-edit): Use Info-mode.
2800 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2801 into declaration.
2802 (eshell-mode): Use define-derived-mode.
2803 * chistory.el (command-history-mode-map): Rename from
2804 command-history-map.
2805 (command-history-mode): Use define-derived-mode.
da712f22 2806 (Command-history-setup): Remove function.
1b3b87df
SM
2807 * calc/calc.el (calc-trail-mode-map): New var.
2808 (calc-trail-mode): Use define-derived-mode.
2809 (calc-trail-buffer): Set calc-main-buffer manually.
2810 * bookmark.el (bookmark-insert-annotation): New function.
2811 (bookmark-edit-annotation): Use it.
2812 (bookmark-edit-annotation-mode): Make it a proper major mode.
2813 (bookmark-send-edited-annotation): Use derived-mode-p.
2814 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2815 closer to its ideal place. Use \' to match EOS.
2816
34675540
SM
2817 * profiler.el (profiler-calltree-find): Use function-equal.
2818
6a5c15d9
GM
28192013-09-10 Glenn Morris <rgm@gnu.org>
2820
1af4c220
GM
2821 * files.el (interpreter-mode-alist): Convert to regexps.
2822 (set-auto-mode): Adapt for this. (Bug#15306)
2823 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2824 Comment out unused variable.
2825 * progmodes/cc-mode.el (interpreter-mode-alist):
2826 * progmodes/python.el (interpreter-mode-alist):
2827 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2828 * progmodes/sh-script.el (sh-set-shell):
2829 No longer use interpreter-mode-alist to get list of shells.
2830
6a5c15d9
GM
2831 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2832
8c27f5ff
SM
28332013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2834
02ef6c1a 2835 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2836 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2837 Bind switch-frame explicitly. Replace universal-argument-minus with
2838 a conditional binding.
2839 (universal-argument-num-events, saved-overriding-map): Remove.
2840 (restore-overriding-map): Remove.
2841 (universal-argument--mode): Rename from save&set-overriding-map,
2842 and rewrite.
2843 (universal-argument, universal-argument-more, negative-argument)
2844 (digit-argument): Adjust accordingly.
2845 (universal-argument-minus): Remove.
2846 (universal-argument-other-key): Remove.
2847
8c27f5ff
SM
2848 * subr.el (with-demoted-errors): Add `format' argument.
2849
6480194c
MA
28502013-09-10 Michael Albinus <michael.albinus@gmx.de>
2851
2852 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2853 `tramp-cleanup-connection'.
2854
2855 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2856 parameters KEEP-DEBUG and KEEP-PASSWORD.
2857
2858 * net/tramp.el (tramp-file-name-handler):
2859 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2860 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2861 (tramp-maybe-open-connection):
8c27f5ff
SM
2862 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2863 Use `tramp-cleanup-connection'.
6480194c 2864
8c27f5ff
SM
2865 * net/tramp-sh.el (tramp-maybe-open-connection):
2866 Catch 'uname-changed inside the progress reporter.
6480194c 2867
e5e916d8
GM
28682013-09-10 Glenn Morris <rgm@gnu.org>
2869
9a2c9b47
GM
2870 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2871
e5e916d8
GM
2872 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2873 returns "alternate access method" in mode (eg "-rw-r--r--.").
2874
144e38fe
GM
28752013-09-08 Glenn Morris <rgm@gnu.org>
2876
2877 * saveplace.el (load-save-place-alist-from-file):
2878 Demote errors. (Bug#15305)
2879
af9ff9e8
MA
28802013-09-08 Michael Albinus <michael.albinus@gmx.de>
2881
2882 Improve compatibility with older Emacsen, and XEmacs.
2883
2884 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2885 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2886 (with-tramp-progress-reporter): Do not let-bind `result'.
2887 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2888 (tramp-handle-make-auto-save-file-name): New function, moved from
2889 tramp-sh.el.
2890
2891 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2892 for `make-auto-save-file-name'.
8c27f5ff
SM
2893 (tramp-adb--gnu-switches-to-ash):
2894 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2895
2896 * net/tramp-cache.el (tramp-cache-print): Call
2897 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2898
2899 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2900 bound. It isn't for XEmacs.
2901
8c27f5ff
SM
2902 * net/tramp-compat.el (tramp-compat-copy-file):
2903 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2904 (tramp-compat-replace-regexp-in-string): New defun.
2905
2906 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2907 for `make-auto-save-file-name'.
2908 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2909 `copy-file'.
2910 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2911 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2912 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2913
8c27f5ff
SM
2914 * net/tramp-gw.el (tramp-gw-open-network-stream):
2915 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2916
8c27f5ff
SM
2917 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2918 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2919 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2920 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2921 (tramp-sh-file-inotifywait-process-filter):
2922 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2923 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2924
2925 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2926 for `make-auto-save-file-name'.
8c27f5ff
SM
2927 (tramp-smb-handle-copy-directory):
2928 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2929 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2930 (tramp-smb-handle-copy-file): Improve error message.
2931 (tramp-smb-handle-rename-file): Rename directly only in case
2932 `newname' does not exist yet. This is a restriction of smbclient.
2933 (tramp-smb-maybe-open-connection): Rerun the function only when
2934 `auth-sources' is non-nil.
2935
0ca754d0
KH
29362013-09-08 Kenichi Handa <handa@gnu.org>
2937
2938 * international/characters.el: Set category "^" (Combining) for
2939 more characters.
2940
e8dd0787
AM
29412013-09-07 Alan Mackenzie <acm@muc.de>
2942
2943 Correctly fontify Java class constructors.
2944 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2945 in Java Mode.
2946 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2947 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2948 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2949 "typeless" declaration there.
2950
f2f248e7
RW
29512013-09-07 Roland Winkler <winkler@gnu.org>
2952
2953 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2954 field subtitle for entry type book.
2955
67982e2b
SM
29562013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * minibuffer.el: Make minibuffer-complete call completion-in-region
2959 rather than other way around.
2960 (completion--some, completion-pcm--find-all-completions):
2961 Don't delay signals when debugging.
2962 (minibuffer-completion-contents): Beware fields within the
2963 minibuffer contents.
2964 (completion-all-sorted-completions): Use defvar-local.
2965 (completion--do-completion, completion--cache-all-sorted-completions)
2966 (completion-all-sorted-completions, minibuffer-force-complete):
2967 Add args `beg' and `end'.
2968 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2969 (minibuffer-complete): Use completion-in-region.
2970 (completion-complete-and-exit): New fun, extracted from
2971 minibuffer-complete-and-exit.
2972 (minibuffer-complete-and-exit): Use it.
2973 (completion--complete-and-exit): Rename from
2974 minibuffer--complete-and-exit.
2975 (completion-in-region--single-word): New function, extracted from
2976 minibuffer-complete-word.
2977 (minibuffer-complete-word): Use it.
2978 (display-completion-list): Make `common-substring' argument obsolete.
2979 (completion--in-region): Call completion--in-region-1 instead of
2980 minibuffer-complete.
2981 (completion-help-at-point): Pass boundaries to
2982 minibuffer-completion-help as args rather than via an overlay.
2983 (completion-pcm--string->pattern): Use `any-delim'.
2984 (completion-pcm--optimize-pattern): New function.
2985 (completion-pcm--pattern->regex): Handle `any-delim'.
2986 * icomplete.el (icomplete-forward-completions)
2987 (icomplete-backward-completions, icomplete-completions):
2988 Adjust calls to completion-all-sorted-completions and
2989 completion--cache-all-sorted-completions.
2990 (icomplete-with-completion-tables): Default to t.
2991 * emacs-lisp/crm.el (crm--current-element): Rename from
2992 crm--select-current-element. Don't put an overlay but return the
2993 boundaries instead.
2994 (crm--completion-command): Take two new args to bind to the boundaries.
2995 (crm-completion-help): Adjust accordingly.
2996 (crm-complete): Use completion-in-region.
2997 (crm-complete-word): Use completion-in-region--single-word.
2998 (crm-complete-and-exit): Use completion-complete-and-exit.
2999
e17d94a5
SM
30002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3003 than dynamically.
3004
96727100
JL
30052013-09-06 Juri Linkov <juri@jurta.org>
3006
3007 * info.el (Info-display-images-node): When image file doesn't exist
3008 display text version of the image if it's provided in the Info file.
3009 Otherwise, display the location of missing image from SRC attribute.
3010 Add help-echo text property from ALT attribute. (Bug#15279)
3011
86cf7329
SM
30122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3015 (edit-abbrevs-mode): Use define-derived-mode.
3016
3017 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3018 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3019 that it's defined.
3020 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3021 Use define-derived-mode.
3022
3023 * epg.el (epg-start-encrypt): Minor CSE simplification.
3024
816244a2
WX
30252013-09-06 William Xu <william.xwl@gmail.com>
3026
3027 * arc-mode.el: Add support for 7za (bug#15264).
3028 (archive-7z-program): New var.
3029 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3030 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3031 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3032
1486fa31
MA
30332013-09-06 Michael Albinus <michael.albinus@gmx.de>
3034
3035 Remove URL syntax.
3036
3037 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3038 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3039 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3040 (tramp-postfix-host-format, tramp-file-name-regexp)
3041 (tramp-completion-file-name-regexp)
3042 (tramp-completion-dissect-file-name)
3043 (tramp-handle-substitute-in-file-name): Remove 'url case.
3044 (tramp-file-name-regexp-url)
3045 (tramp-completion-file-name-regexp-url): Remove constants.
3046
39785324
GM
30472013-09-06 Glenn Morris <rgm@gnu.org>
3048
3049 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3050
1f896cb7
DG
30512013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3052
3053 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3054 keywords" below "here-doc beginnings" (Bug#15270).
3055
c0458e0b
SM
30562013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * subr.el (pop): Use `car-safe'.
3059 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3060 to detect unused `pop' return value.
3061
3062 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3063 var `block-regexp'.
3064 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3065 (python-fill-string): Remove unused var `marker'.
3066 (python-skeleton-add-menu-items): Remove unused var `items'.
3067
3068 * international/mule-cmds.el: Require CL.
3069 (find-coding-systems-for-charsets): Avoid add-to-list.
3070 (sanitize-coding-system-list): New function, extracted from
3071 select-safe-coding-system-interactively.
3072 (select-safe-coding-system-interactively): Use it.
3073 (read-input-method-name): Accept symbols for `default'.
3074
3075 * emacs-lisp/advice.el (defadvice): Add indent rule.
3076
6c42fc3e
DH
30772013-09-05 Daniel Hackney <dan@haxney.org>
3078
3079 * dired-x.el:
3080 * net/ange-ftp.el:
3081 * net/browse-url.el:
3082 * net/dbus.el:
3083 * net/eudc.el:
3084 * net/eudcb-ldap.el:
3085 * net/eww.el:
3086 * net/imap.el:
3087 * printing.el:
3088 * vc/ediff-diff.el:
3089 * vc/ediff-init.el:
3090 * vc/ediff-merg.el:
3091 * vc/ediff-mult.el:
3092 * vc/ediff-util.el:
3093 * vc/ediff-wind.el:
3094 * vc/ediff.el:
3095 * vc/emerge.el:
3096 * vc/pcvs.el:
3097 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3098 byte compiler. Remove some unused let-bound variables.
3099
4c528aab
SM
31002013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3103 a "ref-cell", since it gets better optimized (bug#14883).
3104
bd15c390
GM
31052013-09-05 Glenn Morris <rgm@gnu.org>
3106
3107 * progmodes/cc-awk.el (c-forward-sws): Declare.
3108
1c3ac2e5
GM
31092013-09-04 Glenn Morris <rgm@gnu.org>
3110
3111 * generic-x.el [rul-generic-mode]: Require cc-mode.
3112 (c++-mode-syntax-table): Declare.
3113 (rul-generic-mode-syntax-table): Init in the defvar.
3114
52b1cc79
SM
31152013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3116
c828af56
SM
3117 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3118 (vc-do-command, vc-set-async-update):
3119 * vc/vc-mtn.el (vc-mtn-dir-status):
3120 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3121 (vc-hg-pull, vc-hg-merge-branch):
3122 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3123 (vc-git-merge-branch):
3124 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3125 (vc-cvs-dir-status-files):
3126 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3127 (vc-bzr-dir-status-files):
3128 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3129 * vc/vc-annotate.el: Use lexical-binding.
3130 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3131 (vc-sentinel-movepoint): Declare.
3132 (vc-annotate): Don't use `goto-line'.
3133 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3134 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3135 (vc-sentinel-movepoint): Declare.
3136 * vc/vc-svn.el: Use lexical-binding.
3137 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3138 * vc/vc-sccs.el:
3139 * vc/vc-rcs.el: Use lexical-binding.
3140
abae272c
SM
3141 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3142 `deleted'. Don't drop errors silently.
3143
52b1cc79
SM
3144 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3145
63191d9f
XF
31462013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3147
3148 * vc/vc.el (vc-ignore): Rewrite.
3149 (vc-default-ignore): New function.
3150 (vc-default-ignore-completion-table): Use find-ignore-file.
3151
3152 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3153 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3154 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3155 Remove. Most code moved to vc.el.
3156
9d3f707c
SM
31572013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3158
abae272c 3159 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3160 * net/tramp-smb.el (tramp-smb-get-file-entries):
3161 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3162 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3163
fde38d49
SM
3164 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3165 Update call to it.
3166 (eww-change-select): Remove unused var `properties'.
3167 (eww-make-unique-file-name): Remove unused var `base'.
3168
3169 * finder.el (finder-compile-keywords): Don't mess with windows.
3170
84032db7
SM
3171 * calculator.el (calculator-funcall): Fix typo in last change.
3172
724f5e41
SM
3173 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3174
14b511d4
SM
3175 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3176 <pkg>-autoloads.el file stop us.
3177
9d3f707c 3178 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3179 warnings, and factor out common code.
9d3f707c 3180
88527bc0
DG
31812013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3182
3183 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3184 two-character operators and whether the character preceding them
3185 changes their meaning (Bug#15208).
3186
96edb677
FEG
31872013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3188
3189 Format code sent to Python shell for robustness.
9d3f707c
SM
3190 * progmodes/python.el (python-shell-buffer-substring):
3191 New function.
96edb677
FEG
3192 (python-shell-send-region, python-shell-send-buffer): Use it.
3193
95beaef3
MA
31942013-09-02 Michael Albinus <michael.albinus@gmx.de>
3195
3196 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3197 * net/tramp.el (tramp-user-error): ... here.
3198 (tramp-find-method, tramp-check-proper-host)
3199 (tramp-dissect-file-name, tramp-debug-message)
3200 (tramp-handle-shell-command):
3201 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3203
3204 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3205
f167c27b
MR
32062013-09-02 Martin Rudalics <rudalics@gmx.at>
3207
3208 * avoid.el (mouse-avoidance-point-position)
3209 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3210 returns nil.
3211
cd16c5f1
FEG
32122013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3213
3214 * progmodes/python.el (python-shell-completion-get-completions):
3215 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3216 (python-nav-if-name-main): New command.
cd16c5f1 3217
e73c3a0d
GM
32182013-09-01 Glenn Morris <rgm@gnu.org>
3219
f8ccce03
GM
3220 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3221 Avoid leading space in $wins. Otherwise the sed command used by
3222 eg compile-main ends up containing "/*.el". (Bug#15170)
3223
e73c3a0d
GM
3224 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3225
415f808e
GM
32262013-08-30 Glenn Morris <rgm@gnu.org>
3227
3228 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3229 Fix is-this-a-directory logic. (Bug#15220)
3230
f069bba8
SM
32312013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3232
112798c1
SM
3233 * textmodes/css-mode.el: Use SMIE.
3234 (css-smie-grammar): New var.
3235 (css-smie--forward-token, css-smie--backward-token)
3236 (css-smie-rules): New functions.
3237 (css-mode): Use them.
3238 (css-navigation-syntax-table): Remove var.
3239 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3240 (css-indent-calculate, css-indent-line): Remove functions.
3241
3242 Misc changes to reduce use of `(lambda...); and other cleanups.
3243 * cus-edit.el: Use lexical-binding.
3244 (customize-push-and-save, customize-apropos)
3245 (custom-buffer-create-internal): Use closures.
3246 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3247 * progmodes/ada-xref.el: Use setq.
3248 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3249 * dframe.el: Use lexical-binding.
3250 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3251 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3252 * descr-text.el: Use lexical-binding.
3253 (describe-text-widget, describe-text-sexp, describe-property-list):
3254 Use closures.
3255 * comint.el (comint-history-isearch-push-state): Use a closure.
3256 * calculator.el: Use lexical-binding.
3257 (calculator-number-to-string): Make it work with lexical-binding.
3258 (calculator-funcall): Same and use cl-letf.
3259
2da4c3ab
SM
3260 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3261 (lisp--company-doc-string, lisp--company-location): New functions.
3262 (lisp-completion-at-point): Use them to improve Company support.
3263
f069bba8
SM
3264 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3265 params of lambda expressions.
3266 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3267 (ruby-smie--opening-pipe-p): New function.
3268 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3269 symbols and matched |...| for formal params.
3270 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3271 from being treated as hanging. Handle "rescue".
3272
6758b6a8
GM
32732013-08-29 Glenn Morris <rgm@gnu.org>
3274
3275 * progmodes/cc-engine.el (c-pull-open-brace):
3276 Move definition before use.
3277
e8dfd197
SM
32782013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3281 are immutable. Don't use `unsafe' any more.
3282 (cl--defsubst-expand): Don't substitute at the same time as keeping
3283 a residual unused let-binding. Don't use `unsafe' any more.
3284
cc585c96
GM
32852013-08-29 Glenn Morris <rgm@gnu.org>
3286
ba579ea6
GM
3287 * calendar/cal-china.el (calendar-chinese-year-cache):
3288 Recenter on 2015.
3289
8201a87e
GM
3290 * nxml/nxml-util.el (nxml-debug-clear-inside):
3291 Use cl-loop rather than loop.
3292
6ee877c7
GM
3293 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3294
cc585c96
GM
3295 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3296
27be8d39
GM
32972013-08-28 Glenn Morris <rgm@gnu.org>
3298
397440a1
GM
3299 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3300
2bb762d4
GM
3301 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3302
27be8d39
GM
3303 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3304
2d69b99e
SM
33052013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3306
f663baa7
SM
3307 * simple.el (repeat-complex-command--called-interactively-skip):
3308 New function.
3309 (repeat-complex-command): Use it (bug#14136).
3310
dd4f8b74
SM
3311 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3312 (c-define-abbrev-table): Add `doc' argument.
3313 (c-mode-abbrev-table, c++-mode-abbrev-table)
3314 (objc-mode-abbrev-table, java-mode-abbrev-table)
3315 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3316 (awk-mode-abbrev-table): Use it.
3317 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3318 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3319 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3320 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3321 Move initialization into the declaration; and remove any
3322 autoload cookie.
3323
b58969f7
SM
3324 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3325 and dynamic let binding.
3326
4021d6a6
SM
3327 * vc/smerge-mode.el: Remove redundant :group args.
3328
2d69b99e
SM
3329 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3330 to load-path.
3331
274919fd
JL
33322013-08-28 Juri Linkov <juri@jurta.org>
3333
3334 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3335 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3336 (isearch-other-meta-char): Handle an undefined shifted printing
3337 character by downshifting it. (Bug#15200)
3338
121f8c95
JL
33392013-08-28 Juri Linkov <juri@jurta.org>
3340
3341 * isearch.el (isearch-search): Change regexp error message for
3342 non-regexp searches. (Bug#15166)
3343
50b13cde
PE
33442013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3345
3346 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3347 for portability to hosts where /bin/sh has problems.
3348
95888bca
SM
33492013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3352
bbe558f1
JL
33532013-08-27 Juri Linkov <juri@jurta.org>
3354
3355 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3356 in the keyboard macro. (Bug#15126)
3357
26f98a7d
JL
33582013-08-27 Juri Linkov <juri@jurta.org>
3359
3360 * isearch.el (isearch-quote-char): Comment out converting unibyte
3361 to multibyte, thus syncing with its `quoted-insert' counterpart.
3362 (Bug#15166)
3363
7c97d35e
MR
33642013-08-27 Martin Rudalics <rudalics@gmx.at>
3365
3366 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3367 argument in call of get-largest-window (Bug#15185).
3368 Reported by Stephen Leake.
7c97d35e 3369
a0b5606e 33702013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3371
3372 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3373
9e89d835
SM
33742013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3377 from a matcher-function unless there's no more matches (bug#15161).
3378
78fc2530
MA
33792013-08-26 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * minibuffer.el: Revert change from 2013-08-20.
3382
3383 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3384 with text property `tramp-default', if appropriate.
3385 (tramp-check-proper-host): New defun.
3386 (tramp-dissect-file-name): Do not check hostname. Revert change
3387 of 2013-03-18.
3388 (tramp-backtrace): Make VEC-OR-PROC optional.
3389
3390 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3391 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3392 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3393 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3394 Apply `tramp-check-proper-host'.
78fc2530 3395
edca97cd
TH
33962013-08-26 Tassilo Horn <tsdh@gnu.org>
3397
3398 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3399 lambda expression in order to have `describe-variable' display it.
3400
df54bcbd
MA
34012013-08-26 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3404 BUF can be optional. (Bug#15186)
3405
eed99101
XF
34062013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3407
3408 * progmodes/flymake.el (flymake-get-real-file-name-function):
3409 Fix broken customization. (Bug#15184)
3410
b5eb9035
AM
34112013-08-25 Alan Mackenzie <acm@muc.de>
3412
8a51e842
AM
3413 Improve indentation of bracelists defined by macros (without "=").
3414
3415 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3416 expansion begins with "{", regard it as bracelist when it doesn't
3417 contain a ";".
3418
869455d4
AM
3419 Parse C++ inher-intro when there's a template split over 2 lines.
3420
3421 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3422 rigorously the search for "class" etc. followed by ":".
3423
3424 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3425 random languages a regexp which never matches rather than nil.
3426
b5eb9035
AM
3427 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3428
3429 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3430 (c-awk-regexp-one-line-possibly-open-char-list-re)
3431 (c-awk-one-line-possibly-open-regexp-re)
3432 (c-awk-one-line-non-syn-ws*-re): Remove.
3433 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3434 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3435 (c-awk-space*-unclosed-regexp-/-re): New constants.
3436 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3437 aren't regexp delimiters.
3438
3439 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3440 handling for a rare situation in AWK Mode involving unterminated
3441 strings/regexps.
3442
61611d54
GM
34432013-08-23 Glenn Morris <rgm@gnu.org>
3444
2d85dc34
GM
3445 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3446
cb8d2612
GM
3447 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3448
bb35f42f
GM
3449 * files.el (create-file-buffer): If the result would begin with
3450 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3451
b9808e77
SM
34522013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3453
e3a66363
SM
3454 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3455 text-properties (bug#15155).
3456
b9808e77
SM
3457 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3458 exist any more.
3459 (calc-keypad-redraw): Remove unused var `pad'.
3460 (calc-keypad-press): Remove unused var `menu'.
3461
7fd5f65e
MR
34622013-08-23 Martin Rudalics <rudalics@gmx.at>
3463
b9808e77
SM
3464 * window.el (display-buffer-pop-up-frame):
3465 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3466 use it as the new frame's buffer (Bug#15133).
3467
8352b530
SM
34682013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * calendar/timeclock.el: Minor cleanups.
3471 (timeclock-ask-before-exiting, timeclock-use-display-time):
3472 Use `symbol'.
3473 (timeclock-modeline-display): Define as alias before the
3474 actual definition.
3475 (timeclock-mode-line-display): Use define-minor-mode.
3476 (timeclock-day-list-template): Make it a function, add an argument.
3477 (timeclock-day-list-required, timeclock-day-list-length)
3478 (timeclock-day-list-debt, timeclock-day-list-span)
3479 (timeclock-day-list-break): Adjust calls accordingly.
3480
9f7b1925
SM
34812013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3484 Use read--expression so that completion works again.
3485
6e50e983
SS
34862013-08-21 Sam Steingold <sds@gnu.org>
3487
3488 Add rudimentary inferior shell interaction
3489 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3490 (sh-set-shell): Reset it.
9f7b1925
SM
3491 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3492 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3493
dbb0d350
SM
34942013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * align.el: Use lexical-binding.
3497 (align-region): Simplify accordingly.
3498
c88586a9
MA
34992013-08-20 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3502
3503 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3504 `non-essential' up.
3505
f95527c8
MA
35062013-08-17 Michael Albinus <michael.albinus@gmx.de>
3507
3508 * net/tramp.el:
3509 * net/tramp-adb.el:
3510 * net/tramp-cmds.el:
3511 * net/tramp-ftp.el:
3512 * net/tramp-gvfs.el:
3513 * net/tramp-gw.el:
3514 * net/tramp-sh.el: Don't wrap external variable declarations by
3515 `eval-when-compile'.
3516
4b5fe4ee
LMI
35172013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3518
3519 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3520 now that Emacs supports ImageMagick animations.
3521
13c366c9
MA
35222013-08-16 Michael Albinus <michael.albinus@gmx.de>
3523
3524 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3525 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3526
3dfc5cd6
MR
35272013-08-16 Martin Rudalics <rudalics@gmx.at>
3528
3529 * window.el (mouse-autoselect-window-select): Do autoselect when
3530 mouse pointer is on margin.
3531
4bbb4381
WP
35322013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3533
3534 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3535
3a2ddc2d
GM
35362013-08-16 Glenn Morris <rgm@gnu.org>
3537
e8bedf5a
GM
3538 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3539 Handle "Remote Directory" response of some clients. (Bug#15058)
3540
58c4682f
GM
3541 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3542 Tweak warning. (Bug#14926)
3543
57953f49
GM
3544 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3545 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3546
3a2ddc2d
GM
3547 * image-mode.el (image-mode-map): Add menu items to reverse,
3548 increase, decrease, reset animation speed.
3549 (image--set-speed, image-increase-speed, image-decrease-speed)
3550 (image-reverse-speed, image-reset-speed): New functions.
3551 (image-mode-map): Add bindings for speed commands.
3552
3553 * image.el (image-animate-get-speed, image-animate-set-speed):
3554 New functions.
3555 (image-animate-timeout): Respect image :speed property.
3556
10fa0ed3
SM
35572013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3560 previous line (bug#15101).
3561 (debugger-eval-expression, debugger-record-expression):
3562 Use read--expression (bug#15102).
3563
5d89d9d2
MA
35642013-08-15 Michael Albinus <michael.albinus@gmx.de>
3565
3566 Remove byte compiler warnings, visible when compiling with
3567 `byte-compile-force-lexical-warnings' set to t.
3568
3569 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3570 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3571 (tramp-handle-unhandled-file-name-directory)
3572 (tramp-handle-file-notify-add-watch, tramp-action-login)
3573 (tramp-action-succeed, tramp-action-permission-denied)
3574 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3575 arguments with "_".
3576
3577 * net/tramp-adb.el (tramp-adb-parse-device-names)
3578 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3579 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3580 (tramp-adb-handle-file-truename): Remove unused arguments.
3581
3582 * net/tramp-cache.el (tramp-flush-directory-property)
3583 (tramp-flush-connection-property, tramp-list-connections)
3584 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3585
10fa0ed3
SM
3586 * net/tramp-compat.el (tramp-compat-make-temp-file):
3587 Rename FILENAME to F.
5d89d9d2
MA
3588
3589 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3590 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3591 (tramp-zeroconf-parse-workstation-device-names)
3592 (tramp-zeroconf-parse-webdav-device-names)
3593 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3594
3595 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3596 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3597
3598 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3599 arguments.
3600 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3601 (tramp-sh-handle-insert-file-contents-literally)
3602 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3603 with "_".
3604 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3605 Remove unused variables.
3606
3607 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3608 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3609 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3610
3611 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3612 Make them a defconst.
3613 (tramp-uuencode-region): Remove unused variable.
3614
62f33bae
JB
36152013-08-14 Juanma Barranquero <lekktu@gmail.com>
3616
3617 * frameset.el (frameset--prop-setter): New function.
3618 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3619 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3620 parameter was already set in FILTERED. Doc fix.
3621 (frameset--record-minibuffer-relationships): Allow saving a
3622 minibufferless frame without its corresponding minibuffer frame.
3623 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3624 frame, if the frame id matches.
3625 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3626 frames before orphaned ones.
3627 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3628
c660a885
MR
36292013-08-14 Martin Rudalics <rudalics@gmx.at>
3630
3631 * window.el (window-make-atom): Don't overwrite parameter
3632 already present.
3633 (display-buffer-in-atom-window): Handle special case where we
3634 split an already atomic window.
3635 (window--major-non-side-window, display-buffer-in-side-window)
3636 (window--side-check): Ignore minibuffer window when walking
3637 window tree.
3638 (window-deletable-p): Return 'frame only if no other frame uses
3639 our minibuffer window.
3640 (record-window-buffer): Run buffer-list-update-hook.
3641 (split-window): Make sure window--check-frame won't destroy an
3642 existing atomic window in case the new window gets nested
3643 inside.
3644 (display-buffer-at-bottom): Ignore minibuffer window when
3645 walking window tree. Don't split a side window.
3646 (pop-to-buffer): Don't set-buffer here, the select-window call
3647 should do that.
3648 (mouse-autoselect-window-select): Autoselect only if we are in the
3649 text portion of the window.
3650
8259030d
LMI
36512013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3652
21c58ae2
LMI
3653 * net/shr.el (shr-parse-image-data): New function to grab both the
3654 data itself and the Content-Type.
3655 (shr-put-image): Use it.
3656
3657 * net/eww.el (eww-display-image): Ditto.
3658
8259030d
LMI
3659 * image.el (image-content-type-suffixes): New variable.
3660
ad756449
FEG
36612013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3662
3663 * progmodes/python.el (python-imenu--build-tree)
3664 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3665
f73f4ce6
XF
36662013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3667
3668 * simple.el (backward-word): Mention the optional argument.
3669
1f585e65
SM
36702013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * frameset.el (frameset--make): Rename constructor from make-frameset.
3673 (frameset-p, frameset-valid-p): Don't autoload.
3674 (frameset-valid-p): Use normal accessors.
3675
af1c6c84
GM
36762013-08-13 Glenn Morris <rgm@gnu.org>
3677
55e47f95
GM
3678 * progmodes/compile.el (compile-command): Tweak example in doc.
3679 * obsolete/scribe.el (scribe-mode):
3680 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3681
f0024d8c
GM
3682 * mail/feedmail.el (feedmail-confirm-outgoing)
3683 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3684
3685 * cus-start.el (truncate-partial-width-windows): Fix type.
3686
3687 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3688
af1c6c84
GM
3689 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3690
5514cc4c
SM
36912013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/timer.el (timer--time-setter): New function.
3694 (timer--time): Use it as gv-setter.
3695
3696 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3697 setter is not a symbol.
3698
7997a2f1
GJ
36992013-08-12 Grégoire Jadi <daimrod@gmail.com>
3700
3701 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3702 if sending fails. This makes debugging easier.
3703
01f1a9ab
JB
37042013-08-12 Juanma Barranquero <lekktu@gmail.com>
3705
3706 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3707 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3708 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3709
594a4307
EZ
37102013-08-12 Eli Zaretskii <eliz@gnu.org>
3711
3712 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3713
7a22490f 37142013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3715
3716 * format.el (format-annotate-function):
3717 Handle read-only text properties in the source. (Bug#14887)
3718
3e41a054
LMI
37192013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3720
5514cc4c
SM
3721 * net/eww.el (eww-display-html): Ignore coding system errors.
3722 One web site uses "utf-8lias" as the coding system.
3e41a054 3723
7ec326db
JB
37242013-08-11 Juanma Barranquero <lekktu@gmail.com>
3725
3726 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3727
5660113b
JB
37282013-08-10 Juanma Barranquero <lekktu@gmail.com>
3729
9a4ebc74
JB
3730 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3731 (tutorial--detailed-help): Remove unused local variables.
3732 (tutorial--save-tutorial-to): Use ignore-errors.
3733 (help-with-tutorial): Use looking-at-p.
3734
3735 * view.el (view-buffer-other-window, view-buffer-other-frame):
3736 Mark unused arguments.
3737
3738 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3739 (woman-select-symbol-fonts, woman, woman-find-file)
3740 (woman-insert-file-contents, woman-non-underline-faces):
3741 Use string-match-p.
3742 (woman1-unquote): Move declaration.
3743
3744 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3745 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3746 argument. Remove unused local variable.
3747 (xml-parse-elem-type): Use string-match-p.
3748 (xml-substitute-numeric-entities): Use ignore-errors.
3749
45fdb482
JB
3750 * calculator.el (calculator): Mark unused argument.
3751 (calculator-paste, calculator-quit, calculator-integer-p):
3752 Use ignore-errors.
3753 (calculator-string-to-number, calculator-decimal, calculator-exp)
3754 (calculator-op-or-exp): Use string-match-p.
3755
3756 * dired.el (dired-buffer-more-recently-used-p): Declare.
3757 (dired-insert-set-properties, dired-insert-old-subdirs):
3758 Use ignore-errors.
3759
3760 * dired-aux.el (dired-compress): Use ignore-errors.
3761 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3762 (dired-do-async-shell-command, dired-do-shell-command)
3763 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3764 (dired-insert-subdir-validate): Use string-match-p.
3765 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3766 (dired-add-entry): Use string-match-p, looking-at-p.
3767 (dired-insert-subdir-newpos): Remove unused local variable.
3768
3769 * filenotify.el (file-notify-callback): Remove unused local variable.
3770
3771 * filesets.el (filesets-error): Mark unused argument.
3772 (filesets-which-command-p, filesets-filter-dir-names)
3773 (filesets-directory-files, filesets-get-external-viewer)
3774 (filesets-ingroup-get-data): Use string-match-p.
3775
3776 * find-file.el (ff-other-file-name, ff-other-file-name)
3777 (ff-find-the-other-file, ff-cc-hh-converter):
3778 Remove unused local variables.
3779 (ff-get-file-name): Use string-match-p.
3780 (ff-all-dirs-under): Use ignore-errors.
3781
3782 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3783 (follow-select-if-visible): Remove unused local variable.
3784
3785 * forms.el (read-file-filter): Move declaration.
3786 (forms--make-format, forms--make-parser, forms-insert-record):
3787 Quote function with #'.
3788 (forms--update): Use string-match-p. Quote function with #'.
3789
3790 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3791 (help-make-xrefs): Use looking-at-p.
3792 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3793
3794 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3795 (ibuffer-confirm-operation-on): Use string-match-p.
3796
3797 * msb.el (msb-item-handler, msb-dired-item-handler):
3798 Mark unused arguments.
3799
3800 * ses.el (ses-decode-cell-symbol)
3801 (ses-kill-override): Remove unused local variable.
3802 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3803 (ses-load): Use ignore-errors, looking-at-p.
3804 (ses-jump-safe): Use ignore-errors.
3805 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3806
3807 * tabify.el (untabify, tabify): Mark unused arguments.
3808
3809 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3810 Mark unused argument.
3811 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3812 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3813
c880af52
JB
3814 * emacs-lisp/timer.el (timer--time): Define setter with
3815 gv-define-setter to avoid deprecation warning.
3816
5660113b 3817 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3818 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3819 (cmpl-statistics-block): Remove (body was commented out).
3820 All callers changed.
3821 (add-completions-from-buffer, load-completions-from-file):
3822 Remove unused variables.
3823
156aab80
JB
38242013-08-09 Juanma Barranquero <lekktu@gmail.com>
3825
5c5dee78
JB
3826 * filecache.el (file-cache-delete-file-list):
3827 Print message only when told so.
3828 (file-cache-files-matching): Use #' in mapconcat argument.
3829
156aab80
JB
3830 * ffap.el (ffap-url-at-point): Fix reference to variable
3831 thing-at-point-default-mail-uri-scheme.
3832
ad9dcd70
SM
38332013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3834
54bd972f
SM
3835 * subr.el (define-error): New function.
3836 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3837 error-file-not-found and define with define-error.
3838 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3839 and define with define-error.
3840 * userlock.el (file-locked, file-supersession):
3841 * simple.el (mark-inactive):
3842 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3843 * progmodes/ada-mode.el (ada-mode-errors):
3844 * play/life.el (life-extinct):
3845 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3846 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3847 * nxml/rng-util.el (rng-error):
3848 * nxml/rng-uri.el (rng-uri-error):
3849 * nxml/rng-match.el (rng-compile-error):
3850 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3851 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3852 * nxml/nxml-rap.el (nxml-scan-error):
3853 * nxml/nxml-outln.el (nxml-outline-error):
3854 * net/soap-client.el (soap-error):
3855 * net/gnutls.el (gnutls-error):
3856 * net/ange-ftp.el (ftp-error):
3857 * mpc.el (mpc-proc-error):
3858 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3859 (json-number-format, json-string-escape, json-string-format)
3860 (json-key-format, json-object-format):
3861 * jka-compr.el (compression-error):
3862 * international/quail.el (quail-error):
3863 * international/kkc.el (kkc-error):
3864 * emacs-lisp/ert.el (ert-test-failed):
3865 * calc/calc.el (calc-error, inexact-result, math-overflow)
3866 (math-underflow):
3867 * bookmark.el (bookmark-error-no-filename):
3868 * epg.el (epg-error): Define with define-error.
3869
0ea9e53a
SM
3870 * time.el (display-time-event-handler)
3871 (display-time-next-load-average): Don't call sit-for since it seems
3872 unnecessary (bug#15045).
3873
b0429158
SM
3874 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3875 Use #' instead of ' to quote functions.
3876 (checkdoc-output-mode): Use setq-local.
3877 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3878 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3879 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3880 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3881 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3882 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3883 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3884 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3885
ad9dcd70
SM
3886 * ido.el (ido-completion-help): Fix up compiler warning.
3887
77187e6f
JB
38882013-08-09 Juanma Barranquero <lekktu@gmail.com>
3889
3890 * frameset.el (frameset-p): Add autoload cookie.
3891 (frameset--jump-to-register): New function, based on code moved from
3892 register.el.
3893 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3894
3895 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3896 (frameset-restore, frameset-save, frameset-session-filter-alist):
3897 Remove declarations.
3898 (register-alist): Doc fix.
3899 (frameset-to-register): Move to frameset.el.
3900 (jump-to-register, describe-register-1): Remove frameset-specific code.
3901
9d3aa82c
JB
39022013-08-08 Juanma Barranquero <lekktu@gmail.com>
3903
3904 * allout-widgets.el (allout-widgets-pre-command-business)
3905 (allout-widgets-post-command-business)
3906 (allout-widgets-after-change-handler)
3907 (allout-decorate-item-and-context, allout-set-boundary-marker)
3908 (allout-body-modification-handler)
3909 (allout-graphics-modification-handler): Mark ignored arguments.
3910 (allout-widgets-post-command-business)
3911 (allout-widgets-exposure-change-processor)
3912 (allout-widgets-exposure-undo-processor)
3913 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3914 (allout-parse-item-at-point, allout-decorate-item-guides)
3915 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3916 * allout.el (epa-passphrase-callback-function): Declare.
3917 (allout-overlay-insert-in-front-handler)
3918 (allout-overlay-interior-modification-handler)
3919 (allout-isearch-end-handler, allout-chart-siblings)
3920 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3921 (allout-yank-processing, allout-process-exposed)
3922 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3923 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3924 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3925 (lisp-indent-defform): Mark ignored arguments.
3926 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3927 (calculate-lisp-indent): Remove unused variables.
3928 * international/characters.el (indian-2-column, arabic-2-column)
3929 (tibetan): Mark ignored arguments.
3930 (use-cjk-char-width-table): Mark ignored arguments.
3931 Remove unused variables.
3932 * international/fontset.el (build-default-fontset-data)
3933 (x-compose-font-name, create-fontset-from-fontset-spec):
3934 Mark ignored arguments.
3935 (fontset-plain-name): Remove unused variables.
3936 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3937 (keyboard-coding-system): Mark ignored arguments.
3938 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3939 * help.el (resize-temp-buffer-window):
3940 * window.el (display-buffer-in-major-side-window)
3941 (display-buffer-in-side-window, display-buffer-in-previous-window):
3942 Remove unused variables.
3943 * isearch.el (isearch-forward-symbol):
3944 * version.el (emacs-bzr-version-bzr):
3945 * international/mule-cmds.el (current-language-environment):
3946 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3947 (x-handle-display):
3948 * term/pc-win.el (x-list-fonts, x-display-planes)
3949 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3950 (x-server-version, x-display-screens, x-display-mm-height)
3951 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3952 (x-selection-owner-p, x-own-selection-internal)
3953 (x-disown-selection-internal, x-get-selection-internal)
3954 (msdos-initialize-window-system):
3955 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3956 * term/x-win.el (x-handle-no-bitmap-icon):
3957 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3958 (vc-default-find-file-hook, vc-default-extra-menu):
3959 Mark ignored arguments.
3960
0ca3f70e
SM
39612013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3964 break-condition in the context of the debugged code (bug#12685).
3965
74c5d24c
CS
39662013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3967
3968 * comint.el:
3969 Do not use an overlay to highlight the last prompt. (Bug#14744)
3970 (comint-mode): Make comint-last-prompt buffer local.
3971 (comint-last-prompt): New variable.
3972 (comint-last-prompt-overlay): Remove. Superseded by
3973 comint-last-prompt.
0ca3f70e
SM
3974 (comint-snapshot-last-prompt, comint-output-filter):
3975 Use comint-last-prompt.
74c5d24c 3976
c03c02ee
JB
39772013-08-08 Juanma Barranquero <lekktu@gmail.com>
3978
a3738d20 3979 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3980 (frameset-save): Check validity of the resulting frameset.
3981
04263d23
XF
39822013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3983
3984 * ido.el (ido-record-command): Add doc string.
3985
76c5e5ab
JB
39862013-08-08 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * frameset.el (frameset): Do not disable creation of the default
3989 frameset-p predicate. Doc fix.
3990 (frameset-valid-p): New function, copied from the old predicate-p.
3991 Add additional checks.
3992 (frameset-restore): Check with frameset-valid-p.
3993 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3994 (frameset-name, frameset-description, frameset-properties)
3995 (frameset-states): Add docstring.
f9dbf1cb
JB
3996 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3997 (frameset-filter-alist): Doc fixes.
76c5e5ab 3998
bd0c3c0b
JB
39992013-08-08 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4002
c735544c
SM
40032013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4006 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4007 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4008 (byte-compile-normal-call): Remove obsolescence check.
4009
2805a651
JB
40102013-08-08 Juanma Barranquero <lekktu@gmail.com>
4011
3677ffeb
JB
4012 * frameset.el (frameset-restore): Doc fix.
4013
2805a651
JB
4014 * register.el (frameset-frame-id, frameset-frame-with-id)
4015 (frameset-p, frameset-restore, frameset-save): Declare.
4016 (register-alist): Document framesets.
4017 (frameset-session-filter-alist): Declare.
4018 (frameset-to-register): New function.
4019 (jump-to-register): Implement jumping to framesets. Doc fix.
4020 (describe-register-1): Describe framesets.
4021
4022 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4023
a912c016
JB
40242013-08-07 Juanma Barranquero <lekktu@gmail.com>
4025
4026 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4027 Use lexical-binding.
4028
4029 * frameset.el (frameset): Use type vector, not list (incompatible
4030 change). Do not declare a new constructor, use the default one.
4031 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4032 `name' and `description', respectively, and add read-only slot
4033 `timestamp'. Doc fixes.
4034 (frameset-copy, frameset-persistent-filter-alist)
4035 (frameset-filter-alist, frameset-switch-to-gui-p)
4036 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4037 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4038 (frameset-filter-iconified, frameset-keep-original-display-p):
4039 Doc fixes.
4040 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4041 Rename from frameset-filter-(save|restore)-param. All callers changed.
4042 Doc fix.
4043 (frameset-p): Adapt to change to vector and be more thorough.
4044 Change arg name to OBJECT. Doc fix.
4045 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4046 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4047 All callers changed.
4048 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4049 All callers changed.
4050 (frameset--record-minibuffer-relationships): Rename from
4051 frameset--process-minibuffer-frames. All callers changed.
4052 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4053 Use new default constructor (again). Doc fix.
4054 (frameset--find-frame-if): Rename from `frameset--find-frame.
4055 All callers changed.
4056 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4057 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4058 Doc fix.
4059 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4060 PARAMETERS and WINDOW-STATE, respectively.
4061 (frameset-restore): Add new keyword argument PREDICATE.
4062 Reset frameset--target-display to nil. Doc fix.
4063
bb41480a
SM
40642013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4065
f001e98e
SM
4066 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4067 (bat-mode): Use it.
4068 (bat-mode-syntax-table): Mark \n as end-of-comment.
4069 (bat-font-lock-keywords): Remove comment rule.
4070
7679edb1
SM
4071 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4072 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4073
bb41480a
SM
4074 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4075 (byte-compile-callargs-warn): Use `push'.
4076 (byte-compile-arglist-warn): Ignore higher-order "calls".
4077 (byte-compile-file-form-autoload): Use `pcase'.
4078 (byte-compile-function-form): If quoting a symbol, check that it exists.
4079
cdc1ebb9
EZ
40802013-08-07 Eli Zaretskii <eliz@gnu.org>
4081
4082 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4083 and add a few popular commands found in batch files.
4084 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4085 (dos-mode): Doc fixes.
4086
312b1740
SM
40872013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4090 (dos-mode): Use setq-local. Add space after "rem".
4091 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4092 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4093
400a3178
AM
40942013-08-07 Arni Magnusson <arnima@hafro.is>
4095
4096 * progmodes/dos.el: New file.
4097 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4098 dos-mode.
4099
3b5c03d3
GM
41002013-08-06 Glenn Morris <rgm@gnu.org>
4101
4102 * calendar/calendar.el: Add new faces, and day-header-array.
4103 (calendar-weekday-header, calendar-weekend-header)
4104 (calendar-month-header): New faces.
4105 (calendar-day-header-construct): New function.
4106 (calendar-day-header-width): Also :set calendar-day-header-array.
4107 (calendar-american-month-header, calendar-european-month-header)
4108 (calendar-iso-month-header): Use calendar- faces.
4109 (calendar-generate-month):
4110 Use calendar-day-header-array for day headers; apply faces to them.
4111 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4112 (calendar-abbrev-construct): Add optional maxlen argument.
4113 (calendar-day-name-array): Doc fix.
4114 (calendar-day-name-array, calendar-abbrev-length)
4115 (calendar-day-abbrev-array):
4116 Also :set calendar-day-header-array, and maybe redraw.
4117 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4118 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4119 (calendar-day-name): Add option to use header array.
4120
ec6a2d7a
LMI
41212013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4122
4123 * net/shr.el (shr-render-td): Remove debugging.
4124 (shr-render-td): Make width computation consistent by defaulting
4125 all zero-width columns to 10 characters. This may not be optimal,
4126 but it's at least consistent.
2122cb6d
LMI
4127 (shr-make-table-1): Redo last change to fix the real problem in
4128 colspan handling.
ec6a2d7a 4129
ed4fd9c5
DA
41302013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4131
0ca3f70e
SM
4132 * files.el (cache-long-line-scans):
4133 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4134
64e22afe
JB
41352013-08-06 Juanma Barranquero <lekktu@gmail.com>
4136
024b38fc
JB
4137 * frameset.el (frameset, frameset-filter-alist)
4138 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4139 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4140 (frameset-compute-pos): Rename from frameset--compute-pos,
4141 and add docstring.
4142 (frameset-move-onscreen): Use frameset-compute-pos.
4143 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4144
64e22afe
JB
4145 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4146 Fix typos in docstrings.
4147
c8c2aca8
DA
41482013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4149
4150 * frame.el (get-other-frame): Tiny cleanup.
4151
1d237bba
JB
41522013-08-06 Juanma Barranquero <lekktu@gmail.com>
4153
8951efef
JB
4154 * vc/vc.el (vc-default-ignore-completion-table):
4155 Silence byte-compiler warning.
4156
307764cc
JB
4157 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4158 slot , which can indeed be nil.
4159 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4160 Move entry for `left' from persistent to live filter alist.
4161 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4162 Doc fixes.
4163 (frameset-filter-params): When restoring a frame, copy items added to
4164 `filtered', to avoid unwittingly modifying the original parameters.
4165 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4166 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4167
1d237bba
JB
4168 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4169 to use looking-at-p instead of looking-at. (Bug#15028)
4170
dc6c0eda
SM
41712013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4172
4173 Revert introduction of isearch-filter-predicates (bug#14714).
4174 Rely on add-function instead.
4175 * isearch.el (isearch-filter-predicates): Rename it back to
4176 isearch-filter-predicate.
4177 (isearch-message-prefix): Use advice-function-mapc and advice
4178 properties to get the isearch-message-prefix.
4179 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4180 instead of run-hook-with-args-until-failure.
4181 (isearch-filter-visible): Not obsolete any more.
4182 * loadup.el: Preload nadvice.
4183 * replace.el (perform-replace): Revert to funcall
4184 instead of run-hook-with-args-until-failure.
4185 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4186 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4187 dired-isearch-filenames-toggle; make it into a proper minor mode.
4188 Use add/remove-function.
4189 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4190 Call the minor-mode rather than add/remove-hook.
4191 (dired-isearch-filter-filenames):
4192 Remove isearch-message-prefix property.
4193 * info.el (Info--search-loop): New function, extracted from Info-search.
4194 Funcall isearch-filter-predicate instead of
4195 run-hook-with-args-until-failure isearch-filter-predicates.
4196 (Info-search): Use it.
4197 (Info-mode): Use isearch-filter-predicate instead of
4198 isearch-filter-predicates.
4199
290d5b58
DA
42002013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4201
4202 Do not call to `selected-window' where it is assumed by default.
4203 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4204 `window-hscroll', `window-width', `window-height', `window-buffer',
4205 `window-frame', `window-start', `window-point', `next-window'
4206 and `window-display-table'.
4207 * abbrev.el (abbrev--default-expand):
4208 * bs.el (bs--show-with-configuration):
4209 * buff-menu.el (Buffer-menu-mouse-select):
4210 * calc/calc.el (calc):
4211 * calendar/calendar.el (calendar-generate-window):
4212 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4213 (diary-make-entry):
4214 * comint.el (send-invisible, comint-dynamic-complete-filename)
4215 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4216 * completion.el (complete):
4217 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4218 * disp-table.el (describe-current-display-table):
4219 * doc-view.el (doc-view-insert-image):
4220 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4221 * ehelp.el (with-electric-help):
4222 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4223 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4224 * emacs-lisp/helper.el (Helper-help-scroller):
4225 * emulation/cua-base.el (cua--post-command-handler-1):
4226 * eshell/esh-mode.el (eshell-output-filter):
4227 * ffap.el (ffap-gnus-wrapper):
4228 * help-macro.el (make-help-screen):
4229 * hilit-chg.el (highlight-compare-buffers):
4230 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4231 * hl-line.el (global-hl-line-highlight):
4232 * icomplete.el (icomplete-simple-completing-p):
4233 * isearch.el (isearch-done):
4234 * jit-lock.el (jit-lock-stealth-fontify):
4235 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4236 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4237 * mpc.el (mpc-tagbrowser, mpc):
4238 * net/rcirc.el (rcirc-any-buffer):
4239 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4240 * play/landmark.el (landmark-max-width, landmark-max-height):
4241 * play/zone.el (zone):
4242 * progmodes/compile.el (compilation-goto-locus):
4243 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4244 * progmodes/etags.el (find-tag-other-window):
4245 * progmodes/fortran.el (fortran-column-ruler):
4246 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4247 * progmodes/verilog-mode.el (verilog-point-text):
4248 * reposition.el (reposition-window):
4249 * rot13.el (toggle-rot13-mode):
4250 * server.el (server-switch-buffer):
4251 * shell.el (shell-dynamic-complete-command)
4252 (shell-dynamic-complete-environment-variable):
4253 * simple.el (insert-buffer, set-selective-display)
4254 (delete-completion-window):
4255 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4256 (speedbar-recenter):
4257 * startup.el (fancy-splash-head):
4258 * textmodes/ispell.el (ispell-command-loop):
4259 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4260 * tutorial.el (help-with-tutorial):
4261 * vc/add-log.el (add-change-log-entry):
4262 * vc/compare-w.el (compare-windows):
4263 * vc/ediff-help.el (ediff-indent-help-message):
4264 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4265 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4266 (ediff-setup-control-frame):
4267 * vc/emerge.el (emerge-position-region):
4268 * vc/pcvs-util.el (cvs-bury-buffer):
4269 * window.el (walk-windows, mouse-autoselect-window-select):
4270 * winner.el (winner-set-conf, winner-undo): Related users changed.
4271
38276e01
JB
42722013-08-05 Juanma Barranquero <lekktu@gmail.com>
4273
4274 * frameset.el (frameset--set-id): Doc fix.
4275 (frameset-frame-id, frameset-frame-id-equal-p)
4276 (frameset-locate-frame-id): New functions.
4277 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4278 (frameset-restore): Use them.
4279
12b4c0ea
DA
42802013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4281
4282 Do not call to `selected-frame' where it is assumed by default.
4283 Affected functions are `raise-frame', `redraw-frame',
4284 `frame-first-window', `frame-terminal' and `delete-frame'.
4285 * calendar/appt.el (appt-disp-window):
4286 * epg.el (epg-wait-for-completion):
4287 * follow.el (follow-delete-other-windows-and-split)
4288 (follow-avoid-tail-recenter):
4289 * international/mule.el (set-terminal-coding-system):
4290 * mail/rmail.el (rmail-mail-return):
4291 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4292 * progmodes/f90.el (f90-add-imenu-menu):
4293 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4294 * server.el (server-switch-buffer):
4295 * simple.el (delete-completion-window):
4296 * talk.el (talk):
4297 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4298 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4299 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4300 * vc/ediff.el (ediff-documentation): Related users changed.
4301 * frame.el (selected-terminal): Remove the leftover.
4302
17f25e76
GM
43032013-08-05 Glenn Morris <rgm@gnu.org>
4304
4305 * calendar/calendar.el (calendar-generate-month):
4306 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4307 (calendar-generate-month, calendar-font-lock-keywords):
4308 Fix for calendar-day-header-width > length of any day name.
17f25e76 4309
063233c3
JB
43102013-08-05 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * desktop.el (desktop-clear): Use new name of sort predicate.
4313
4314 * frameset.el (frameset): Add docstring. Move :version property to its
4315 own `version' slot.
4316 (frameset-copy): Rename from copy-frameset.
4317 (frameset-p): Check more thoroughly.
4318 (frameset-prop): Do not check for :version, which is no longer a prop.
4319 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4320 Use new :never value instead of t.
4321 (frameset-filter-alist): Expand and clarify docstring.
4322 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4323 (frameset-filter-minibuffer, frameset-filter-save-param)
4324 (frameset-filter-restore-param, frameset-filter-iconified):
4325 Add pointer to docstring of frameset-filter-alist.
4326 (frameset-filter-params): Rename filter values to be more meaningful:
4327 :never instead of t, and reverse the meanings of :save and :restore.
4328 (frameset--process-minibuffer-frames): Clarify error message.
4329 (frameset-save): Avoid unnecessary and confusing call to framep.
4330 Use new BOA constructor for framesets.
4331 (frameset--reuse-list): Doc fix.
4332 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4333 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4334 (frameset-minibufferless-first-p): Doc fix.
4335 Rename from frameset-sort-frames-for-deletion.
4336 (frameset-restore): Doc fixes. Use new function names.
4337 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4338
d5671a82
JB
43392013-08-04 Juanma Barranquero <lekktu@gmail.com>
4340
4341 * desktop.el (desktop-restore-forces-onscreen)
4342 (desktop-restore-reuses-frames): Document :keyword constant values.
4343 (desktop-filter-parameters-alist): Remove, now identical to
4344 frameset-filter-alist.
4345 (desktop--filter-tty*): Remove, moved to frameset.el.
4346 (desktop-save-frameset, desktop-restore-frameset):
4347 Do not pass :filters argument.
4348
4349 * frameset.el (frameset-live-filter-alist)
4350 (frameset-persistent-filter-alist): New variables.
4351 (frameset-filter-alist): Use them. Add autoload cookie.
4352 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4353 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4354 `frameset--id' (it's supposed to be internal to frameset.el).
4355 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4356 (frameset--initial-params): New function.
4357 (frameset--get-frame): Use it. Doc fix.
4358 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4359 Accept :all, not 'all.
4360 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4361 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4362 with fbound symbols. Fix frame id matching, and remove matching ids if
4363 the frame being restored is deleted. Obey :delete.
4364
671d5c16
SM
43652013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * subr.el (macrop): New function.
4368 (text-clone--maintaining): New var.
4369 (text-clone--maintain): Rename from text-clone-maintain. Use it
4370 instead of inhibit-modification-hooks.
4371
4372 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4373 a proxy, so as handle autoloads and redefinitions of the target.
4374 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4375
4376 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4377 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4378 (pcase--mutually-exclusive-p): New function.
4379 (pcase--split-consp): Use it.
4380 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4381 mutually exclusive with the current predicate.
4382
4383 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4384 (edebug-macrop): Remove. Use `macrop' instead.
4385 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4386 (ad-macro-p):
4387 * eshell/esh-cmd.el (eshell-macrop):
4388 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4389
1d44e9dc
SM
43902013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4393 (advice-mapc): New function, using it.
4394 (advice-function-member-p): New function.
4395 (advice--normalize): Store the cdr in advice--saved-rewrite since
4396 that's the part that will be changed.
4397 (advice--symbol-function): New function.
4398 (advice-remove): Handle removal before the function is defined.
4399 Adjust to new advice--saved-rewrite.
4400 (advice-member-p): Use advice-function-member-p and
4401 advice--symbol-function.
4402
5414a283
JB
44032013-08-04 Juanma Barranquero <lekktu@gmail.com>
4404
51d30f2c
JB
4405 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4406 (frameset-filter-minibuffer): Doc fix.
4407 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4408 (frameset--set-id, frameset--process-minibuffer-frames)
4409 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4410 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4411
5414a283
JB
4412 * desktop.el (desktop-clear): Only delete frames when called
4413 interactively and desktop-restore-frames is non-nil. Doc fix.
4414 (desktop-read): Set desktop-saved-frameset to nil.
4415
ab419665
XF
44162013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4417
4418 * vc/vc.el (vc-ignore): Rewrite.
4419 (vc-default-ignore-completion-table):
4420 (vc--read-lines):
4421 (vc--add-line, vc--remove-regexp): New functions.
4422
4423 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4424 (vc-svn-ignore-completion-table): New function.
4425
4426 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4427 (vc-hg-ignore-completion-table):
4428 (vc-hg-find-ignore-file): New functions.
4429
4430 * vc/vc-git.el (vc-git-ignore): Rewrite.
4431 (vc-git-ignore-completion-table):
4432 (vc-git-find-ignore-file): New functions.
4433
4434 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4435
4436 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4437 (vc-bzr-ignore-completion-table):
4438 (vc-bzr-find-ignore-file): New functions.
4439
2613dea2
JB
44402013-08-03 Juanma Barranquero <lekktu@gmail.com>
4441
4442 * frameset.el (frameset-prop): New function and setter.
4443 (frameset-save): Do not modify frame list passed by the caller.
4444
9c959872
SM
44452013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4448
a104f656
SM
44492013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4450
70122acf
SM
4451 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4452 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4453
a104f656
SM
4454 * custom.el (custom-initialize-default, custom-initialize-set)
4455 (custom-initialize-reset, custom-initialize-changed): Affect the
4456 toplevel-default-value (bug#6275, bug#14586).
4457 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4458 for bug#6275.
4459
f078d570
JB
44602013-08-02 Juanma Barranquero <lekktu@gmail.com>
4461
185e3b5a
JB
4462 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4463 Add cl-def* expressions.
4464
f078d570
JB
4465 * frameset.el (frameset-filter-params): Fix order of arguments.
4466
9421876d
JB
44672013-08-02 Juanma Barranquero <lekktu@gmail.com>
4468
4469 Move code related to saving frames to frameset.el.
4470 * desktop.el: Require frameset.
4471 (desktop-restore-frames): Doc fix.
4472 (desktop-restore-reuses-frames): Rename from
4473 desktop-restoring-reuses-frames.
4474 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4475 (desktop-clear): Clear frames too.
4476 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4477 (desktop--filter-tty*, desktop-save, desktop-read):
4478 Use frameset functions.
4479 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4480 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4481 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4482 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4483 (desktop--process-minibuffer-frames, desktop-save-frames)
4484 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4485 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4486 (desktop--sort-states, desktop-restoring-frames-p)
4487 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4488 (desktop-restoring-frameset-p, desktop-restore-frameset)
4489 (desktop--check-dont-save, desktop-save-frameset): New functions.
4490 (desktop--app-id): New constant.
4491 (desktop-first-buffer, desktop-buffer-ok-count)
4492 (desktop-buffer-fail-count): Move before first use.
4493 * frameset.el: New file.
4494
76dc5996
SM
44952013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * files.el: Use lexical-binding.
4498 (dir-locals-read-from-file): Remove unused `err' variable.
4499 (hack-dir-local-variables--warned-coding): New var.
4500 (hack-dir-local-variables): Use it to avoid repeated warnings.
4501 (make-backup-file-name--default-function): New function.
4502 (make-backup-file-name-function): Use it as default.
4503 (buffer-stale--default-function): New function.
4504 (buffer-stale-function): Use it as default.
4505 (revert-buffer-insert-file-contents--default-function): New function.
4506 (revert-buffer-insert-file-contents-function): Use it as default.
4507 (insert-directory): Avoid add-to-list.
4508
4509 * autorevert.el (auto-revert-handler): Simplify.
4510 Use buffer-stale--default-function.
4511
06d36e2b
TH
45122013-08-01 Tassilo Horn <tsdh@gnu.org>
4513
5f648ab4
TH
4514 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4515
06d36e2b
TH
4516 * whitespace.el (whitespace-ensure-local-variables): New function.
4517 (whitespace-cleanup-region): Call it.
4518 (whitespace-turn-on): Call it.
4519
a43dc424
MA
45202013-08-01 Michael Albinus <michael.albinus@gmx.de>
4521
4522 Complete file name handlers.
4523
4524 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4525 (tramp-handle-verify-visited-file-modtime)
4526 (tramp-handle-file-notify-rm-watch): New functions.
4527 (tramp-call-process): Do not bind `default-directory'.
4528
44e18199
JB
4529 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4530 Order alphabetically.
a43dc424
MA
4531 [access-file, add-name-to-file, dired-call-process]:
4532 [dired-compress-file, file-acl, file-notify-rm-watch]:
4533 [file-ownership-preserved-p, file-selinux-context]:
4534 [make-directory-internal, make-symbolic-link, set-file-acl]:
4535 [set-file-selinux-context, set-visited-file-modtime]:
4536 [verify-visited-file-modtime]: Add handler.
4537 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4538
4539 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4540 [file-notify-add-watch, file-notify-rm-watch]:
4541 [set-file-times, set-visited-file-modtime]:
4542 [verify-visited-file-modtime]: Add handler.
4543 (with-tramp-gvfs-error-message)
4544 (tramp-gvfs-handle-set-visited-file-modtime)
4545 (tramp-gvfs-fuse-file-name): Remove.
4546 (tramp-gvfs-handle-file-notify-add-watch)
4547 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4548 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4549
44e18199
JB
4550 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4551 Order alphabetically.
a43dc424
MA
4552 [file-notify-rm-watch ]: Use default Tramp handler.
4553 [executable-find]: Remove private handler.
4554 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4555 `default-directory'.
4556 (tramp-sh-handle-executable-find)
4557 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4558 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4559 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4560 Do not use `format' in `tramp-message'.
4561
4562 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4563 [file-notify-rm-watch, set-visited-file-modtime]:
4564 [verify-visited-file-modtime]: Add handler.
4565 (tramp-smb-call-winexe): Do not bind `default-directory'.
4566
7188b515
XF
45672013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4568
4569 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4570
2412ee1a
DG
45712013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4572
4573 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4574 use it.
4575 (log-view-diff-changeset): Same.
4576 (log-view-diff-common): Call backend command `previous-revision'
4577 to find out the previous revision, in both cases. Swap the
4578 variables `to' and `fr', so that `fr' usually refers to the
4579 earlier revision (Bug#14989).
4580
5002a754
KRC
45812013-07-31 Kan-Ru Chen <kanru@kanru.info>
4582
4583 * ibuf-ext.el (ibuffer-filter-by-filename):
4584 Make it work with dired buffers too.
4585
44e18199 45862013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4587
4588 * emacs-lisp/re-builder.el (reb-color-display-p):
4589 * files.el (save-buffers-kill-terminal):
4590 * net/browse-url.el (browse-url):
4591 * server.el (server-save-buffers-kill-terminal):
4592 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4593 Prefer nil to selected-frame for the first arg of frame-parameter.
4594
aeca3fbb
XF
45952013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4596
4597 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4598
158bc55c
SB
45992013-07-30 Stephen Berman <stephen.berman@gmx.net>
4600
4601 * minibuffer.el (completion--twq-all): Try and preserve each
4602 completion's case choice (bug#14907).
4603
d50fceab
LMI
46042013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4605
ac38e731
LMI
4606 * net/network-stream.el (open-network-stream): Mention the new
4607 :nogreeting parameter.
4608 (network-stream-open-starttls): Use the :nogreeting parameter
4609 (bug#14938).
4610
1211de50
LMI
4611 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4612
997798bf
LMI
4613 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4614 more natural than popping.
4615
d50fceab 4616 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4617 (shr-urlify): Highlight under mouse.
d50fceab 4618
5c09de04
XF
46192013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4620
207d1d04
XF
4621 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4622
4623 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4624
5c09de04
XF
4625 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4626 buffer for output.
4627
3cd51eaa
XF
4628 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4629 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4630
44e18199 4631 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4632 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4633
4634 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4635
4636 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4637 buffer for output.
4638
35a89bdd
EZ
46392013-07-29 Eli Zaretskii <eliz@gnu.org>
4640
4641 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4642 initial frame is minibuffer-less. (Bug#14841)
4643
78822e94
MA
46442013-07-29 Michael Albinus <michael.albinus@gmx.de>
4645
4646 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4647 option.
4648
4649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4650 (tramp-maybe-open-connection): Use it.
4651
9503c190
JB
46522013-07-28 Juanma Barranquero <lekktu@gmail.com>
4653
4654 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4655 minimal set of parameters passed when creating a frame, because
4656 the minibuffer status of a frame cannot be changed later.
4657
d5a845b4
SB
46582013-07-28 Stephen Berman <stephen.berman@gmx.net>
4659
4660 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4661 replace-regexp-in-string and inadvertent omissions in previous change.
4662 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4663 name of filtered items buffer.
d5a845b4 4664
ddeffb17
JB
46652013-07-28 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * desktop.el: Optionally force offscreen frames back onscreen.
4668 (desktop-restoring-reuses-frames): New option.
4669 (desktop--compute-pos, desktop--move-onscreen): New functions.
4670 (desktop--make-frame): Use desktop--move-onscreen.
4671
f5950f7a
AM
46722013-07-27 Alan Mackenzie <acm@muc.de>
4673
4674 Fontify a Java generic method as a function.
4675 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4676 value to t.
4677
ae43b66a
SB
46782013-07-27 Stephen Berman <stephen.berman@gmx.net>
4679
4680 * calendar/todo-mode.el: Add command to rename todo files.
4681 (todo-rename-file): New command.
4682 (todo-key-bindings-t): Add key binding for it. Change the
4683 bindings of todo-filter-regexp-items(-multifile) to use `x'
4684 instead of `r', since the latter is better suited to the new
4685 renaming command.
4686
5ab78d3d
AM
46872013-07-27 Alan Mackenzie <acm@muc.de>
4688
4689 Make Java try-with-resources statement parse properly.
4690 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4691 (c-block-stmt-1-2-key): New language constants/variables.
4692 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4693 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4694 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4695 with c-block-stmt-1-2-key.
5ab78d3d 4696
d85c4d50
JB
46972013-07-27 Juanma Barranquero <lekktu@gmail.com>
4698
4699 * desktop.el (desktop--make-frame): Apply most frame parameters after
4700 creating the frame to force (partially or totally) offscreen frames to
4701 be restored as such.
4702
e4c467f9
XF
47032013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4704
4705 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4706 (Bug#14948)
e4c467f9 4707
7ced0d04
SM
47082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4711 `base' arg of backtrace-frame.
4712
fec92060
EZ
47132013-07-26 Eli Zaretskii <eliz@gnu.org>
4714
4715 * simple.el (list-processes): Doc fix.
4716
d58d31fb
JB
47172013-07-26 Juanma Barranquero <lekktu@gmail.com>
4718
4719 * desktop.el (desktop--select-frame):
d85c4d50 4720 Try harder to reuse existing frames.
d58d31fb 4721
53ff3e77
SM
47222013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4725 (edebug-eval): Use backtrace-eval.
4726 (edebug--display, edebug--recursive-edit): Don't let-bind the
4727 edebug-outer-* vars that keep track of variables we locally let-bind.
4728 (edebug-outside-excursion): Don't restore outside values of locally
4729 let-bound vars.
4730 (edebug--display): Use user-error.
4731 (cl-lexical-debug, cl-debug-env): Remove.
4732
045f7a53
JB
47332013-07-26 Juanma Barranquero <lekktu@gmail.com>
4734
4735 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4736 are restored to be sure that they are visible before deleting any
4737 remaining ones.
4738
59070b32
MM
47392013-07-26 Matthias Meulien <orontee@gmail.com>
4740
742a3501
XF
4741 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4742 vc-print-root-log. (Bug#14948)
59070b32 4743
b1fb3596
RS
47442013-07-26 Richard Stallman <rms@gnu.org>
4745
4746 Add aliases for encrypting mail.
4747 * epa.el (epa-mail-aliases): New option.
4748 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4749 Bind inhibit-read-only so read-only text doesn't ruin everything.
4750 (epa-mail-default-recipients): New subroutine broken out.
4751 Handle epa-mail-aliases.
4752
56ea7291
SM
47532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 Add support for lexical variables to the debugger's `e' command.
4756 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4757 vars, except for debugger-outer-match-data.
4758 (debugger-frame-number): Move check for "on a function call" from
4759 callers into it. Add `skip-base' argument.
4760 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4761 (debugger-env-macro): Only reset the state stored in non-variables,
4762 i.e. current-buffer and match-data.
4763 (debugger-eval-expression): Rewrite using backtrace-eval.
4764 * subr.el (internal--called-interactively-p--get-frame): Remove.
4765 (called-interactively-p):
4766 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4767 `base' arg of backtrace-frame instead.
4768
15ac32d5
GM
47692013-07-26 Glenn Morris <rgm@gnu.org>
4770
8358a09d
GM
4771 * align.el (align-regexp): Doc fix. (Bug#14857)
4772 (align-region): Explicit error if subexpression missing/does not match.
4773
15ac32d5
GM
4774 * simple.el (global-visual-line-mode):
4775 Do not duplicate the mode lighter. (Bug#14858)
4776
f47ad11b
MR
47772013-07-25 Martin Rudalics <rudalics@gmx.at>
4778
4779 * window.el (display-buffer): In display-buffer bind
4780 split-window-keep-point to t, bug#14829.
4781
02530987
JB
47822013-07-25 Juanma Barranquero <lekktu@gmail.com>
4783
4784 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4785 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4786 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4787 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4788 Change accordingly.
f63ebeb5
JB
4789 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4790 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4791
6ccb9cab 47922013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4793
6ccb9cab 4794 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4795
cb3a56d2
JB
47962013-07-25 Juanma Barranquero <lekktu@gmail.com>
4797
4798 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4799 parameter to modify-frame-parameters if the value has not changed;
4800 this is a workaround for bug#14949.
4801 (desktop--make-frame): On cl-delete-if call, check parameter name,
4802 not full parameter.
4803
7aa7fff0
XF
48042013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4805
4806 * vc/vc.el (vc-ignore): New function.
4807
4808 * vc/vc-svn.el (vc-svn-ignore): New function.
4809
4810 * vc/vc-hg.el (vc-hg-ignore): New function.
4811
4812 * vc/vc-git.el (vc-git-ignore): New function.
4813
4814 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4815 (vc-dir-ignore): New function.
4816
4817 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4818 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4819
4820 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4821
4822 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4823
889acc5c
JB
48242013-07-24 Juanma Barranquero <lekktu@gmail.com>
4825
4826 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4827 (desktop-restore-frames): Warn when deleting an existing frame failed.
4828
86c40970
GM
48292013-07-24 Glenn Morris <rgm@gnu.org>
4830
4831 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4832
d5d3c58a
MA
48332013-07-24 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * filenotify.el (file-notify-supported-p):
4836 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4837 Remove functions.
4838
4839 * autorevert.el (auto-revert-use-notify):
4840 (auto-revert-notify-add-watch):
4841 * net/tramp.el (tramp-file-name-for-operation):
4842 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4843 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4844 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4845 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4846 Remove `file-notify-supported-p' entry.
4847
d100084b
GM
48482013-07-24 Glenn Morris <rgm@gnu.org>
4849
4850 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4851 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4852
ac93e56b
SM
48532013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4854
249eea30
SM
4855 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4856 checked with memq (bug#14935).
4857
ac93e56b
SM
4858 * files.el (revert-buffer-function): Use a non-nil default.
4859 (revert-buffer-preserve-modes): Declare var to
4860 provide access to the `preserve-modes' argument.
4861 (revert-buffer): Let-bind it.
4862 (revert-buffer--default): New function, extracted from revert-buffer.
4863
2cdeb903
SM
48642013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * lpr.el: Signal print errors more prominently.
4867 (print-region-function): Don't default to nil.
4868 (lpr-print-region): New function, extracted from print-region-1.
4869 Check lpr's return value and signal an error in case of problem.
4870 (print-region-1): Use it.
4871 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4872 versions instead.
4873 (ps-printer-name): Default to nil.
4874 (ps-printer-name-option): Default to lpr-printer-switch.
4875 (ps-print-region-function): Don't default to nil.
4876 (ps-postscript-code-directory): Simplify default.
4877 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4878 (ps-string-list, ps-eval-switch, ps-flatten-list)
4879 (ps-flatten-list-1): Remove.
4880 (ps-multibyte-buffer): Avoid setq.
4881 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4882 (print-region-function, ps-print-region-function): Don't set them here.
4883
73600831
XF
48842013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4885
0e55c076
XF
4886 * ido.el (ido-fractionp):
4887 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4888 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4889 (ido-max-directory-size, ido-max-dir-file-cache)
4890 (ido-decorations): Doc fix.
4891
73600831
XF
4892 * ansi-color.el: Fix old URL.
4893
3d012865
MM
48942013-07-23 Michael R. Mauger <michael@mauger.com>
4895
e903c210 4896 * progmodes/sql.el: Version 3.3
3d012865
MM
4897 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4898 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4899 (sql-interactive-remove-continuation-prompt): Rewrite, use
4900 functions above. Fix continuation prompt and complete output line
4901 handling.
4902 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4903 redirected output buffer.
4904 (sql-mode): Restore deleted code (Bug#13591).
4905
da77a2e2
JB
49062013-07-23 Juanma Barranquero <lekktu@gmail.com>
4907
4908 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4909
80ff0c71
MA
49102013-07-23 Michael Albinus <michael.albinus@gmx.de>
4911
4912 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4913
4914 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4916 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4917
b61d71e4
JB
49182013-07-23 Juanma Barranquero <lekktu@gmail.com>
4919
4920 * desktop.el (desktop-clear): Simplify; remove useless checks
4921 against invalid buffer names.
4922 (desktop-list*): Use cl-list*.
4923 (desktop-buffer-info, desktop-create-buffer): Simplify.
4924
c3512092
LL
49252013-07-23 Leo Liu <sdl.web@gmail.com>
4926
4927 * bookmark.el (bookmark-make-record): Restore NAME as a default
4928 value. (Bug#14933)
4929
0ac26976
SM
49302013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4931
7d22ce18
SM
4932 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4933 extracted from autoload--insert-text.
4934 (autoload--insert-text): Remove.
4935 (autoload--print-cookie-text): New function, extracted from
4936 autoload--insert-cookie-text.
4937 (autoload--insert-cookie-text): Remove.
4938 (autoload-generate-file-autoloads): Adjust calls accordingly.
4939
9b2607e8
SM
4940 * winner.el (winner-hook-installed-p): Remove.
4941 (winner-mode): Simplify accordingly.
4942
c43a8618
SM
4943 * subr.el (add-to-list): Fix compiler-macro when `append' is
4944 not constant. Don't use `cl-member' for the base case.
4945
0ac26976
SM
4946 * progmodes/subword.el: Fix boundary case (bug#13758).
4947 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4948 own group.
4949 (subword-backward-regexp): Make it a constant.
4950 (subword-forward-internal): Don't treat a trailing capital as the
4951 beginning of a word.
4952
6874724a
AR
49532013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4954
4955 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4956 global value of tabulated-list-revert-hook (bug#14930).
4957
70f1b5e8
JB
49582013-07-22 Juanma Barranquero <lekktu@gmail.com>
4959
a1c80d9d
JB
4960 * desktop.el: Require 'cl-lib.
4961 (desktop-before-saving-frames-functions): New hook.
4962 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4963 for frames being saved. Rename from desktop--save-minibuffer-frames.
4964 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4965 Do not save frames with non-nil `desktop-dont-save' parameter.
4966 Filter out deleted frames.
a1c80d9d
JB
4967 (desktop--find-frame): Use cl-find-if.
4968 (desktop--select-frame): Use cl-(first|second|third) to access values
4969 of desktop-mini.
4970 (desktop--make-frame): Use cl-delete-if.
4971 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4972 (desktop-restore-frames): Use cl-(first|second|third) to access values
4973 of desktop-mini. Look for visible frame at the end, not while
4974 restoring frames.
4975
70f1b5e8
JB
4976 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4977 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4978 Use string-match-p, looking-at-p (bug#14927).
4979
728dc3cc
JB
49802013-07-21 Juanma Barranquero <lekktu@gmail.com>
4981
56bc453c
JB
4982 * desktop.el (desktop-saved-frame-states):
4983 Rename from desktop--saved-states; all users changed.
4984 (desktop-save-frames): Rename from desktop--save-frames.
4985 Do not save state to desktop file.
4986 (desktop-save): Save desktop-saved-frame-states to desktop file
4987 and reset to nil.
4988 (desktop-restoring-frames-p): New function.
4989 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4990 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4991 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4992
728dc3cc
JB
4993 * desktop.el: Correctly restore iconified frames.
4994 (desktop--filter-iconified-position): New function.
4995 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4996
862f1c9c
GM
49972013-07-20 Glenn Morris <rgm@gnu.org>
4998
c4074c9f
GM
4999 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5000 Let `message' do the formatting.
5001 (def-gdb-preempt-display-buffer): Add explicit format.
5002
d828e5f9
GM
5003 * image-dired.el (image-dired-track-original-file):
5004 Use with-current-buffer.
5005 (image-dired-track-thumbnail): Use with-current-buffer.
5006 Avoid changing point of wrong window.
5007
862f1c9c
GM
5008 * image-dired.el (image-dired-track-original-file):
5009 Avoid changing point of wrong window. (Bug#14909)
5010
f0398ec1 50112013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5012
5013 * progmodes/gdb-mi.el (gdb-done-or-error):
5014 Guard against "%" in gdb output. (Bug#14127)
5015
1451928f
AS
50162013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5017
763a086d
JB
5018 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5019 (Bug#14826)
f7a03897 5020
1451928f
AS
5021 * international/mule.el (coding-system-iso-2022-flags): Fix last
5022 change.
5023
99107004
KH
50242013-07-20 Kenichi Handa <handa@gnu.org>
5025
763a086d
JB
5026 * international/mule.el (coding-system-iso-2022-flags):
5027 Add `8-bit-level-4'. (Bug#8522)
99107004 5028
48494e06
LMI
50292013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5030
8ba8eec5
LMI
5031 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5032 (bug#14815).
5033
dfbc66e3
LMI
5034 * net/eww.el (eww-process-text-input): Allow inputting when the
5035 point is at the start of the line, as the properties aren't
5036 front-sticky.
5037
48494e06
LMI
5038 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5039 degenerate widths.
5040
77c92cb9
RS
50412013-07-19 Richard Stallman <rms@gnu.org>
5042
aec7da77
RS
5043 * epa.el (epa-popup-info-window): Doc fix.
5044
77c92cb9
RS
5045 * subr.el (split-string): New arg TRIM.
5046
945c5bb1
JB
50472013-07-18 Juanma Barranquero <lekktu@gmail.com>
5048
5049 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5050 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5051
e06ec67f
MA
50522013-07-18 Michael Albinus <michael.albinus@gmx.de>
5053
c7064f05 5054 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5055 `file-notify-support'. Do not autoload. Adapt all uses.
5056 (file-notify-supported-p): New defun.
5057
c7064f05
JB
5058 * autorevert.el (auto-revert-use-notify):
5059 Use `file-notify-supported-p' instead of `file-notify-support'.
5060 Adapt docstring.
e06ec67f
MA
5061 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5062
5063 * net/tramp.el (tramp-file-name-for-operation):
5064 Add `file-notify-supported-p'.
5065
5066 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5067 New defun.
5068 (tramp-sh-file-name-handler-alist): Add it as handler for
5069 `file-notify-supported-p '.
5070
5071 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5072 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5073 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5074 Add `ignore' as handler for `file-notify-*' functions.
5075
5dc8a629
EZ
50762013-07-17 Eli Zaretskii <eliz@gnu.org>
5077
5078 * simple.el (line-move-partial, line-move): Don't start vscroll or
5079 scroll-up if the current line is not taller than the window.
5080 (Bug#14881)
5081
77aea2fb
DG
50822013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5083
5084 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5085 highlight question marks in the method names as strings.
ac72c08d
DG
5086 (ruby-block-beg-keywords): Inline.
5087 (ruby-font-lock-keyword-beg-re): Extract from
5088 `ruby-font-lock-keywords'.
77aea2fb 5089
18c26d81
JD
50902013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5091
5092 * frame.el (blink-cursor-blinks): New defcustom.
5093 (blink-cursor-blinks-done): New defvar.
5094 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5095 (blink-cursor-timer-function): Check if number of blinks has been
5096 done on X and NS.
5097 (blink-cursor-suspend, blink-cursor-check): New defuns.
5098
da48522e
GM
50992013-07-15 Glenn Morris <rgm@gnu.org>
5100
5101 * edmacro.el (edmacro-format-keys): Fix previous change.
5102
0463c1ef
PE
51032013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5104
5105 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5106 The hack didn't work outside English locales anyway.
5107
b43f6451
JB
51082013-07-15 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * simple.el (define-alternatives): Rename from alternatives-define,
5111 per RMS' suggestion.
5112
b958c0ad
JB
51132013-07-14 Juanma Barranquero <lekktu@gmail.com>
5114
5115 * desktop.el (desktop-restore-frames): Change default to t.
5116 (desktop-restore-in-current-display): Now offer more options.
5117 (desktop-restoring-reuses-frames): New customization option.
5118 (desktop--saved-states): Doc fix.
5119 (desktop-filter-parameters-alist): New variable, renamed and expanded
5120 from desktop--excluded-frame-parameters.
5121 (desktop--target-display): New variable.
5122 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5123 (desktop--filter-tty*, desktop--filter-*-color)
5124 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5125 (desktop--filter-save-desktop-parm)
5126 (desktop-restore-in-original-display-p): New functions.
5127 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5128 (desktop--save-minibuffer-frames): New function, inspired by a similar
5129 function from Martin Rudalics.
5130 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5131 (desktop--restore-in-this-display-p): Remove.
5132 (desktop--find-frame): Rename from desktop--find-frame-in-display
5133 and add predicate argument.
5134 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5135 (desktop--reuse-list): New variable.
5136 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5137 New functions.
5138 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5139
f6dd8b36
MA
51402013-07-14 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5143
2ce3c565
DG
51442013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5145
763a086d
JB
5146 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5147 Highlight conversion methods on Kernel.
2ce3c565 5148
2cdb7698
AM
51492013-07-13 Alan Mackenzie <acm@muc.de>
5150
5151 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5152 and comment it out. This out-commenting enables certain C++
5153 declarations to be parsed correctly.
5154
1a67b811
EZ
51552013-07-13 Eli Zaretskii <eliz@gnu.org>
5156
1b796d6b
EZ
5157 * international/mule.el (define-coding-system): Doc fix.
5158
1a67b811
EZ
5159 * simple.el (default-font-height): Don't call font-info if the
5160 frame's default font didn't change since the frame was created.
5161 (Bug#14838)
5162
58fbe886
LL
51632013-07-13 Leo Liu <sdl.web@gmail.com>
5164
5165 * ido.el (ido-read-file-name): Guard against non-symbol value.
5166
1f0480d4
FEG
51672013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5168
5169 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5170 in nested defuns.
5171
97ead0e5
LL
51722013-07-13 Leo Liu <sdl.web@gmail.com>
5173
5174 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5175 ido-set-matches call. (Bug#6852)
5176
0880a952
DG
51772013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5178
5179 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5180 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5181 Ruby 2.0.
5182 (ruby-font-lock-keywords): Distinguish calls to functions with
5183 module-like names from module references. Highlight character
5184 literals.
5185
a7d8babb
SDJ
51862013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5187
5188 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5189 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5190
acfcc8c5
JB
51912013-07-12 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * desktop.el (desktop--v2s): Remove unused local variable.
5194 (desktop-save-buffer): Make defvar-local; adjust docstring.
5195 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5196 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5197
051f2775
AS
51982013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5199
5200 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5201
f24e7572
GM
52022013-07-12 Eli Zaretskii <eliz@gnu.org>
5203
5204 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5205 (Bug#14842)
5206
539a920c
GM
52072013-07-12 Glenn Morris <rgm@gnu.org>
5208
5209 * doc-view.el: Require cl-lib at runtime too.
5210 (doc-view-remove-if): Remove.
5211 (doc-view-search-next-match, doc-view-search-previous-match):
5212 Use cl-remove-if.
5213
5214 * edmacro.el: Require cl-lib at runtime too.
5215 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5216 (edmacro-mismatch, edmacro-subseq): Remove.
5217
5218 * shadowfile.el: Require cl-lib.
5219 (shadow-remove-if): Remove.
5220 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5221 Use cl-remove-if.
5222
5223 * wid-edit.el: Require cl-lib.
5224 (widget-choose): Use cl-remove-if.
5225 (widget-remove-if): Remove.
5226
5227 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5228 (ebrowse-delete-if-not): Remove.
5229 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5230 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5231 Use cl-delete-if-not.
5232
1048af7c
JB
52332013-07-12 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5236 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5237
6c0674ee
LL
52382013-07-12 Leo Liu <sdl.web@gmail.com>
5239
5240 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5241
a19b3c2d
GM
52422013-07-11 Glenn Morris <rgm@gnu.org>
5243
4582a01c
GM
5244 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5245 (edebug-gensym-index, edebug-gensym):
5246 Remove reimplementation of cl-gensym.
5247 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5248
5249 * thumbs.el: Require cl-lib at run-time too.
5250 (thumbs-gensym-counter, thumbs-gensym):
5251 Remove reimplementation of cl-gensym.
5252 (thumbs-temp-file): Use cl-gensym.
5253
a19b3c2d
GM
5254 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5255 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5256 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5257 (ert--union, ert--gensym-counter, ert--gensym-counter)
5258 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5259 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5260 (ert-make-test-unbound, ert--expand-should-1)
5261 (ert--expand-should, ert--should-error-handle-error)
5262 (should-error, ert--explain-equal-rec)
5263 (ert--plist-difference-explanation, ert-select-tests)
5264 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5265 Use cl-lib functions rather than reimplementations.
5266
88f6a933
MA
52672013-07-11 Michael Albinus <michael.albinus@gmx.de>
5268
5269 * net/tramp.el (tramp-methods): Extend docstring.
5270 (tramp-connection-timeout): New defcustom.
5271 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5272 (with-tramp-progress-reporter): Simplify.
5273 (tramp-process-actions): Improve messages.
5274
5275 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5276 * net/tramp-sh.el (tramp-maybe-open-connection):
5277 Use `tramp-connection-timeout'.
5278 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5279 (Bug#14808)
5280
a43d577e
LL
52812013-07-11 Leo Liu <sdl.web@gmail.com>
5282
5283 * ido.el (ido-read-file-name): Conform to the requirements of
5284 read-file-name. (Bug#11861)
5285 (ido-read-directory-name): Conform to the requirements of
5286 read-directory-name.
5287
d77974bf
JB
52882013-07-11 Juanma Barranquero <lekktu@gmail.com>
5289
5290 * subr.el (delay-warning): New function.
5291
35cb8a3e
EZ
52922013-07-10 Eli Zaretskii <eliz@gnu.org>
5293
5294 * simple.el (default-line-height): New function.
5295 (line-move-partial, line-move): Use it instead of computing the
5296 line height inline.
5297 (line-move-partial): Always compute ROWH. If the last line is
5298 partially-visible, but its text is completely visible, allow
5299 cursor to enter such a partially-visible line.
5300
525c5c77
MA
53012013-07-10 Michael Albinus <michael.albinus@gmx.de>
5302
5303 Improve error messages. (Bug#14808)
5304
5305 * net/tramp.el (tramp-current-connection): New defvar, moved from
5306 tramp-sh.el.
0ac26976 5307 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5308 needed anymore.
0ac26976
SM
5309 (tramp-error-with-buffer): Show message in minibuffer.
5310 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5311 (with-tramp-progress-reporter): Improve messages.
5312 (tramp-process-actions): Use progress reporter. Delete process in
5313 case of error. Improve messages.
5314
763a086d
JB
5315 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5316 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5317 (tramp-current-connection): Remove.
525c5c77
MA
5318 (tramp-maybe-open-connection): The car of
5319 `tramp-current-connection' are the first 3 slots of the vector.
5320
c7a4d368
TZ
53212013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5322
5323 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5324 inside continued strings.
5325
954b166e
PE
53262013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5327
5328 Timestamp fixes for undo (Bug#14824).
5329 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5330
56973319
LL
53312013-07-10 Leo Liu <sdl.web@gmail.com>
5332
5333 * files.el (require-final-newline): Allow safe local value.
5334 (Bug#14834)
5335
5550a72c
LL
53362013-07-09 Leo Liu <sdl.web@gmail.com>
5337
5338 * ido.el (ido-read-directory-name): Handle fallback.
5339 (ido-read-file-name): Update DIR to ido-current-directory.
5340 (Bug#1516)
c28b9050 5341 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5342
70c46b28
DG
53432013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5344
5345 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5346 "autoload". Remove "warn lower camel case" section, previously
5347 commented out. Highlight negation char. Do not highlight the
5348 target in singleton method definitions.
5349
0b64b838
SM
53502013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5351
7fd72e2c
SM
5352 * faces.el (tty-setup-hook): Declare the hook.
5353
0b64b838
SM
5354 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5355 and detect when a guard/pred depends on local vars (bug#14773).
5356 (pcase--u1): Adjust caller.
5357
ab49d60b
EZ
53582013-07-08 Eli Zaretskii <eliz@gnu.org>
5359
5360 * simple.el (line-move-partial, line-move): Account for
5361 line-spacing.
701d79aa
EZ
5362 (line-move-partial): Avoid setting vscroll when the last
5363 partially-visible line in window is of default height.
ab49d60b 5364
2d756ae0
LMI
53652013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5366
5367 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5368 been used a while.
5369
ed095bd7
JB
53702013-07-07 Juanma Barranquero <lekktu@gmail.com>
5371
5372 * subr.el (read-quoted-char): Remove unused local variable `char'.
5373
f1e6674b
MK
53742013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5375
584ee3fc
GM
5376 * ediff.el (ediff-version): Version update.
5377 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5378 (ediff-merge-with-ancestor-command, ediff-directories-command)
5379 (ediff-directories3-command, ediff-merge-directories-command)
5380 (ediff-merge-directories-with-ancestor-command): New functions.
5381 All are command-line interfaces to ediff: to facilitate calling
5382 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5383
5384 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5385 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5386
584ee3fc
GM
5387 * viper.el (viper-version): Version update.
5388 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5389
584ee3fc
GM
53902013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5393 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5394 (viper-intercept-ESC-key): Simplify.
5395 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5396 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5397 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5398 (viper-setup-ESC-to-escape): New functions.
5399 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5400 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5401
9aff9b38
EZ
54022013-07-07 Eli Zaretskii <eliz@gnu.org>
5403
5165d44a
JB
5404 * simple.el (default-font-height, window-screen-lines):
5405 New functions.
9aff9b38
EZ
5406 (line-move, line-move-partial): Use them instead of
5407 frame-char-height and window-text-height. This makes scrolling
5408 text smoother when the buffer's default face uses a font that is
5409 different from the frame's default font.
5410
1afb1d07
JD
54112013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5412
5413 * files.el (write-file): Do not display confirm dialog for NS,
5414 it does its own dialog, which can't be cancelled (Bug#14578).
5415
23de972a
EZ
54162013-07-06 Eli Zaretskii <eliz@gnu.org>
5417
5418 * simple.el (line-move-partial): Adjust the row returned by
5419 posn-at-point for the current window-vscroll. (Bug#14567)
5420
54a42486
MA
54212013-07-06 Michael Albinus <michael.albinus@gmx.de>
5422
5423 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5424 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5425 spaces.
5426
34ada5f4
MR
54272013-07-06 Martin Rudalics <rudalics@gmx.at>
5428
5429 * window.el (window-state-put-stale-windows): New variable.
5430 (window--state-put-2): Save list of windows without matching buffer.
5431 (window-state-put): Remove "bufferless" windows if possible.
5432
11e03d89
JB
54332013-07-06 Juanma Barranquero <lekktu@gmail.com>
5434
5435 * simple.el (alternatives-define): Remove leftover :group keyword.
5436 Tweak docstring.
5437
3504a4be
LL
54382013-07-06 Leo Liu <sdl.web@gmail.com>
5439
5440 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5441 (ido-enable-virtual-buffers): New variable.
5442 (ido-buffer-internal, ido-toggle-virtual-buffers)
5443 (ido-make-buffer-list): Use it.
5444 (ido-exhibit): Support turning on and off virtual buffers
5445 automatically.
5446
61e56e2c
JB
54472013-07-06 Juanma Barranquero <lekktu@gmail.com>
5448
5449 * simple.el (alternatives-define): New macro.
5450
321e1a9c
SM
54512013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * subr.el (read-quoted-char): Use read-key.
5454 (sit-for): Let read-event decode tty input (bug#14782).
5455
d610f6dd
SB
54562013-07-05 Stephen Berman <stephen.berman@gmx.net>
5457
5458 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5459 mode command and externally. Fix various related bugs.
5460 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5461 (todo-delete-file): New command.
5462 (todo-check-file): New function.
5463 (todo-show): Handle external deletion of the file we're trying to
5464 show (bug#14688). Replace called-interactively-p by an optional
5465 prefix argument to avoid problematic interaction with catch form
5466 when byte compiled (bug#14702).
5467 (todo-quit): Handle external deletion of the archive's todo file.
5468 Make sure the buffer that was visiting the archive file is still
5469 live before trying to bury it.
5470 (todo-category-completions): Handle external deletion of any
5471 category completion files.
5472 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5473 of todo files, in case of external deletion.
5474 (todo-add-file): Replace unnecessary setq by let-binding.
5475 (todo-find-archive): Check whether there are any archives.
5476 Replace unnecessary setq by let-binding.
5477 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5478 archive buffer whether or not the archive already exists.
5479 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5480 check if the archive is new; if it is, update list of archives.
5481 (todo-default-todo-file): Allow nil to be a valid value for when
5482 there are no todo files.
5483 (todo-reevaluate-default-file-defcustom): Use corrected definition
5484 of todo-default-todo-file.
5485 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5486 (todo-delete-category, todo-show-categories-table)
5487 (todo-category-number): Clarify comment.
5488 (todo-filter-items): Clarify documentation string.
5489 (todo-show-current-file, todo-display-as-todo-file)
5490 (todo-reset-and-enable-done-separator): Tweak documentation string.
5491 (todo-done-separator): Make separator length window-width, since
5492 bug#2749 is now fixed.
5493
ddbdfd6f
MA
54942013-07-05 Michael Albinus <michael.albinus@gmx.de>
5495
321e1a9c
SM
5496 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5497 Support both "gvfs-monitor-dir" and "inotifywait".
5498 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5499 `tramp-sh-file-notify-process-filter'.
5500 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5501 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5502
96eb829a
LL
55032013-07-05 Leo Liu <sdl.web@gmail.com>
5504
5505 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5506
cf13177e
YM
55072013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5508
5509 * frame.el (display-pixel-height, display-pixel-width)
5510 (display-mm-height, display-mm-width): Mention behavior on
5511 multi-monitor setups in docstrings.
5512 (w32-display-monitor-attributes-list): Declare function.
5513 (display-monitor-attributes-list): Use it.
5514
864c58ca
MA
55152013-07-04 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * filenotify.el: New package.
5518
5519 * autorevert.el (top): Require filenotify.el.
5520 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5521 instead.
5522 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5523 (auto-revert-notify-handler): Use `file-notify-*' functions.
5524
5525 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5526
321e1a9c
SM
5527 * net/tramp.el (tramp-file-name-for-operation):
5528 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5529
5530 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5531 for `file-notify-add-watch' and `file-notify-rm-watch'.
5532 (tramp-process-sentinel): Improve trace.
5533 (tramp-sh-handle-file-notify-add-watch)
5534 (tramp-sh-file-notify-process-filter)
5535 (tramp-sh-handle-file-notify-rm-watch)
5536 (tramp-get-remote-inotifywait): New defuns.
5537
96673afe
JL
55382013-07-03 Juri Linkov <juri@jurta.org>
5539
5540 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5541 call of `occur-read-primary-args' to interactive spec.
5542
5543 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5544 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5545
924494f4
MM
55462013-07-03 Matthias Meulien <orontee@gmail.com>
5547
5548 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5549 `Buffer-menu-multi-occur'. Add it to the menu.
5550 (Buffer-menu-mode): Document it in docstring.
5551 (Buffer-menu-multi-occur): New command. (Bug#14673)
5552
56f75efc
DG
55532013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5554
5555 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5556 keywords and built-ins.
5557
9b057d61
GM
55582013-07-03 Glenn Morris <rgm@gnu.org>
5559
208dee4d
GM
5560 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5561
9b057d61
GM
5562 Make info-xref checks case-sensitive by default
5563 * info.el (Info-find-node, Info-find-in-tag-table)
5564 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5565 Add option for exact case matching of nodes.
5566 * info-xref.el (info-xref): New custom group.
5567 (info-xref-case-fold): New option.
5568 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5569
e01aa29c
LL
55702013-07-03 Leo Liu <sdl.web@gmail.com>
5571
5572 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5573
3086ca2e
DG
55742013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5575
5576 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5577 middle of block statement initially, lower the depth. Remove
5578 FIXME comment, not longer valid. Remove middle of block statement
5579 detection, no need to do that anymore since we've been using
5580 `ruby-parse-region' here.
5581
a3b49114
JD
55822013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5583
5584 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5585
08e5c823 55862013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5587
5588 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5589
2addf922
JB
55902013-07-01 Juanma Barranquero <lekktu@gmail.com>
5591
5592 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5593 (desktop-restore-in-current-display): New customization option.
5594 (desktop--excluded-frame-parameters): Add `font'.
5595 (desktop--save-frames): Rename from desktop--save-windows.
5596 (desktop--restore-in-this-display-p): New function.
5597 (desktop--make-full-frame): Remove unwanted width/height from
5598 full(width|height) frames.
5599 (desktop--restore-frames): Rename from desktop--restore-windows.
5600 Obey desktop-restore-current-display. Do not delete old frames or
5601 select a new frame unless we were able to restore at least one frame.
5602
ef099a94
MN
56032013-06-30 Michal Nazarewicz <mina86@mina86.com>
5604
5605 * files.el (find-file-noselect): Simplify conditional expression.
5606
5607 * remember.el (remember-append-to-file):
5608 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5609
5610 Add `remember-notes' function to store random notes across Emacs
5611 restarts.
5612 * remember.el (remember-data-file): Add :set callback to affect
5613 notes buffer (if any).
5614 (remember-notes): New command.
5615 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5616 New defcustoms for the `remember-notes' function.
5617 (remember-notes-save-and-bury-buffer): New command.
5618 (remember-notes-mode-map): New variable.
5619 (remember-mode): New minor mode.
5620 (remember-notes--kill-buffer-query): New function.
5621 * startup.el (initial-buffer-choice): Add notes to custom type.
5622
0865d506
EZ
56232013-06-30 Eli Zaretskii <eliz@gnu.org>
5624
0ba54312
EZ
5625 * bindings.el (right-char, left-char): Don't call sit-for, this is
5626 no longer needed. Use arithmetic comparison only for numerical
5627 arguments.
5628
ef099a94
MN
5629 * international/mule-cmds.el (select-safe-coding-system):
5630 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5631
2fae38e5
LMI
56322013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5633
5634 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5635 progression on degenerate tables.
ef099a94 5636 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5637
a47cbd64
JB
56382013-06-30 Juanma Barranquero <lekktu@gmail.com>
5639
5640 Some fixes and improvements for desktop frame restoration.
5641 It is still experimental and disabled by default.
5642 * desktop.el (desktop--save-windows): Put the selected frame at
5643 the head of the list.
5644 (desktop--make-full-frame): New function.
5645 (desktop--restore-windows): Try to re-select the frame that was
5646 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5647 just show an error message and continue. Set up maximized frames
5648 so they have default non-maximized dimensions.
a47cbd64 5649
6dbafa30
DG
56502013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5651
ef099a94
MN
5652 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5653 Don't start heredoc inside a string or comment.
6dbafa30 5654
4c672a0f
EZ
56552013-06-29 Eli Zaretskii <eliz@gnu.org>
5656
5657 * bindings.el (visual-order-cursor-movement): New defcustom.
5658 (right-char, left-char): Provide visual-order cursor motion by
5659 calling move-point-visually. Update the doc strings.
5660
50960f36
KH
56612013-06-28 Kenichi Handa <handa@gnu.org>
5662
5663 * international/mule.el (define-coding-system): New coding system
5664 properties :inhibit-null-byte-detection,
5665 :inhibit-iso-escape-detection, and :prefer-utf-8.
5666 (set-buffer-file-coding-system): If :charset-list property of
5667 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5668 appropriate for setting.
5669
c1ea3abf
JB
5670 * international/mule-cmds.el (select-safe-coding-system):
5671 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5672 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5673
5674 * international/mule-conf.el (prefer-utf-8): New coding system.
5675 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5676 files.
5677
75dbaf9d
IK
56782013-06-28 Ivan Kanis <ivan@kanis.fr>
5679
eadb6068
IK
5680 * net/shr.el (shr-render-region): New function.
5681
75dbaf9d
IK
5682 * net/eww.el: Autoload `eww-browse-url'.
5683
9ea5cf9f
DG
56842013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5685
c1ea3abf
JB
5686 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5687 Adapt to `package-desc-version' being a list.
5688 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5689 archive element.
5690
39c0e36f
JB
56912013-06-27 Juanma Barranquero <lekktu@gmail.com>
5692
5693 New experimental feature to save&restore window and frame setup.
5694 * desktop.el (desktop-save-windows): New defcustom.
5695 (desktop--saved-states): New var.
5696 (desktop--excluded-frame-parameters): New defconst.
5697 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5698 (desktop--restore-windows, desktop--save-windows): New functions.
5699 (desktop-save): Call `desktop--save-windows'.
5700 (desktop-read): Call `desktop--restore-windows'.
5701
7f13406b
LMI
57022013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5703
ef099a94 5704 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5705
1e072639
SB
57062013-06-27 Stephen Berman <stephen.berman@gmx.net>
5707
5708 * info.el (Info-try-follow-nearest-node): Move search for footnote
5709 above search for node name to prevent missing a footnote (bug#14717).
5710
f3e2cbde
SB
57112013-06-27 Stephen Berman <stephen.berman@gmx.net>
5712
5713 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5714
99906aa0
LL
57152013-06-27 Leo Liu <sdl.web@gmail.com>
5716
5717 * net/eww.el (eww-read-bookmarks): Check file size.
5718
539f75f4
SM
57192013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5722 advice--pending if newdef is nil or an autoload (bug#13820).
5723 (advice-mapc): New function.
5724
843571cb
LMI
57252013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5726
5727 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5728 probably.
23a75d7f 5729 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5730 (eww-add-bookmark): New command.
5731 (eww-bookmark-mode): New mode and commands.
a285ce99 5732 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5733 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5734
f2136e1e
GM
57352013-06-26 Glenn Morris <rgm@gnu.org>
5736
eab35f39
GM
5737 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5738 (hfy-size): Handle ttys. (Bug#14668)
5739
f2136e1e
GM
5740 * info-xref.el: Update for Texinfo 5 change in *note format.
5741 (info-xref-node-re, info-xref-note-re): New constants.
5742 (info-xref-check-buffer): Use info-xref-note-re.
5743
a49ff80c
SM
57442013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5745
a343d218
SM
5746 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5747
a49ff80c
SM
5748 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5749 nil terminate the loop (bug#14718).
5750
8308f184
LMI
57512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5752
5753 * net/eww.el: Rework history traversal. When going forward/back,
5754 put these actions into the history, too, so that they can be
5755 replayed.
26bf2b82 5756 (eww-render): Move the history reset to the correct buffer.
8308f184 5757
ec64c273
JL
57582013-06-25 Juri Linkov <juri@jurta.org>
5759
5760 * files-x.el (modify-dir-local-variable): Change the header comment
5761 in the file with directory local variables. (Bug#14692)
5762
e080a9d7
JL
5763 * files-x.el (read-file-local-variable-value): Add `default'.
5764 (Bug#14710)
5765
bfbc93a1
IK
57662013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5767
5768 * net/eww.el (eww-make-unique-file-name): Create a unique file
5769 name before saving to entering `y' accidentally asynchronously.
5770
57712013-06-25 Ivan Kanis <ivan@kanis.fr>
5772
5773 * net/eww.el (eww-download): New command and keystroke.
5774
16f74f10
LMI
57752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5776
a49ff80c 5777 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5778
5779 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5780 be more consistent with Info and dired.
5781
5782 * net/eww.el (eww-mode-map): Ditto.
5783
12059709
SM
57842013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5787 packages from archives.
5788 (package-archive-contents): Change format; include obsolete packages.
5789 (package-desc): Use `dir' to mark builtin packages.
5790 (package--from-builtin): Set the `dir' field to `builtin'.
5791 (generated-autoload-file, version-control): Declare.
5792 (package-compute-transaction): Change first arg and return value to be
5793 lists of package-descs. Adjust to new package-archive-contents format.
5794 (package--add-to-archive-contents): Adjust to new
5795 package-archive-contents format.
5796 (package-download-transaction): Arg is now a list of package-descs.
5797 (package-install): If `pkg' is a package name, pass it as
5798 a requirement, so it is subject to the usual (e.g. disabled) checks.
5799 (describe-package): Accept package-desc as well.
5800 (describe-package-1): Describe a specific package-desc. Add links to
5801 other package-descs for the same package name.
5802 (package-menu-describe-package): Pass the actual package-desc.
5803 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5804 works correctly.
5805 (package-desc-status): New function.
5806 (package-menu--refresh): New function, extracted
5807 from package-menu--generate.
5808 (package-menu--generate): Use it.
5809 (package-delete): Update package-alist.
5810 (package-menu-execute): Don't call package-initialize.
5811
5812 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5813 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5814 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5815 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5816 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5817 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5818
8bbdea0f
MR
58192013-06-25 Martin Rudalics <rudalics@gmx.at>
5820
5821 * window.el (window--state-get-1): Workaround for bug#14527.
5822 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5823
e82b0991
LMI
58242013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5825
5826 * net/eww.el (eww-back-url): Implement the history by stashing all
5827 the data into a list.
d3f0f918 5828 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5829
c763842b
SM
58302013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5833 for values and use read--expression for expressions (bug#14710).
5834 (read-file-local-variable): Avoid setq.
5835 (read-file-local-variable-mode): Use minor-mode-list.
5836
bceff189
RW
58372013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5838
864c58ca 5839 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5840 for DOI URLs.
5841
45f431c6
RW
58422013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5843
864c58ca 5844 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5845 Update imenu-support when dialect changes.
5846
f42d8237
LL
58472013-06-25 Leo Liu <sdl.web@gmail.com>
5848
5849 * ido.el (ido-read-internal): Allow forward slash on windows.
5850
be549ce6
LMI
58512013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5852
5853 * net/eww.el (eww): Start of strings is \\`, not ^.
5854
71d4c19d
IK
58552013-06-24 Ivan Kanis <ivan@kanis.fr>
5856
5196f88a
IK
5857 * net/shr.el (shr-browse-url): Fix interactive spec.
5858
71d4c19d
IK
5859 * net/eww.el (eww): Add a trailing slash to domain names.
5860
ae36ca55
JB
58612013-06-24 Juanma Barranquero <lekktu@gmail.com>
5862
5863 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5864
0ebd92a3
LMI
58652013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5866
bdaa086b
LMI
5867 * net/shr.el (shr-browse-url): Use an external browser if given a
5868 prefix.
5869
c763842b 5870 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5871
b89fc156
IK
58722013-06-24 Ivan Kanis <ivan@kanis.fr>
5873
5874 * net/eww.el (eww): Work more correctly for file: URLs.
5875 (eww-detect-charset): Allow quoted charsets.
5876 (eww-yank-page-url): New command and keystroke.
5877
18eb4bca
DU
58782013-06-24 Daiki Ueno <ueno@gnu.org>
5879
5880 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5881 file name of gpg executable.
5882 (epg-context-program): New function.
5883 (epg-context-home-directory): New function.
5884 (epg-context-set-program): New function.
5885 (epg-context-set-home-directory): New function.
5886 (epg--start): Use `epg-context-program' instead of
5887 'epg-gpg-program'.
5888 (epg--list-keys-1): Likewise.
5889
6c6268c8
LL
58902013-06-24 Leo Liu <sdl.web@gmail.com>
5891
5892 * ido.el (ido-read-internal): Fix bug#14620.
5893
5e400cb3
JB
58942013-06-23 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * faces.el (face-documentation): Simplify.
5897 (read-face-attribute, tty-find-type, x-resolve-font-name):
5898 Use `string-match-p'.
5899 (list-faces-display): Use `string-match-p'. Simplify.
5900 (face-spec-recalc): Check face to avoid face alias loops.
5901 (read-color): Use `string-match-p' and non-capturing parenthesis.
5902
f3f9606c
LMI
59032013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904
5905 * net/shr.el (shr-rescale-image): Use the new
5906 :max-width/:max-height functionality.
5907
a3ca09b9
IK
59082013-06-23 Ivan Kanis <ivan@kanis.fr>
5909
5910 * net/eww.el (eww-search-prefix): New variable.
5911 (eww): Use it.
f865b474
IK
5912 (eww-external-browser): New variable.
5913 (eww-mode-map): New keystroke.
5914 (eww-browse-with-external-browser): New command.
a3ca09b9 5915
e854cfc7
IK
5916 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5917
18bb9e21
JB
59182013-06-23 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5921 Don't skip aligning the next header field when padding is 0;
5922 otherwise, field width is not respected unless the title is as
5923 wide as the field.
5924
5b165ade
SM
59252013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * emacs-lisp/package.el (package-el-version): Remove.
5928 (package-process-define-package): Fix inf-loop.
5929 (package-install): Allow symbols as arguments again.
5930
12adebe9
DG
59312013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5932
5933 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5934 add some more keyword-like methods.
5935 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5936
388573ee
JB
59372013-06-22 Juanma Barranquero <lekktu@gmail.com>
5938
5939 * bs.el (bs-buffer-show-mark): Make defvar-local.
5940 (bs-mode): Use setq-local.
5941
5942 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5943 (emacs-lock--try-unlocking): Make defvar-local.
5944
4582a01c 59452013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5946
2663dd23
GM
5947 * play/cookie1.el (cookie-apropos): Minor simplification.
5948
3d94f3ad
GM
5949 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5950
f72e2fdb
DG
59512013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5952
5953 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5954 `regexp-opt', it breaks the build during dumping.
5955
73eab938
DG
59562013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5957
c763842b
SM
5958 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5959 Highlight keyword-like methods on Kernel and Module with
73eab938 5960 font-lock-builtin-face.
5cf8176d
DG
5961 (auto-mode-alist): Consolidate different entries into one regexp
5962 and add more *file-s.
73eab938 5963
d26255f6
SB
59642013-06-21 Stephen Berman <stephen.berman@gmx.net>
5965
5966 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5967
5968 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5969 (diary-entry): Use it in the action of this button type instead of
5970 diary-goto-entry.
5971
5972 * calendar/todo-mode.el: New version.
5973 (todo-add-category): Append new category to end of file and give
5974 it the highest number, instead of putting it at the beginning and
5975 giving it 0. Incorporate noninteractive functionality.
5976 (todo-forward-category): Adapt to 1-based category numbering.
5977 Allow skipping over archived categories.
5978 (todo-backward-category): Derive from todo-forward-category.
5979 (todo-backward-item, todo-forward-item): Make noninteractive and
5980 delegate interactive part to new commands. Make sensitive to done items.
5981 (todo-categories): Make value an alist of category names and
5982 vectors of item counts.
5983 (todo-category-beg): Make a defconst.
5984 (todo-category-number): Use 1 instead of 0 as initial value.
5985 (todo-category-select): Make sensitive to overlays, optional item
5986 highlighting and done items.
5987 (todo-delete-item): Make sensitive to overlays and marked and done items.
5988 (todo-edit-item): Make sensitive to overlays and editing of
5989 date/time header optional. Add format checks.
5990 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5991 no-op if point is not on an item. Advertise using todo-edit-quit.
5992 (todo-edit-mode): Make sensitive to new format, font-locking, and
5993 multiple todo files.
5994 (todo-insert-item, todo-insert-item-here): Derive from
5995 todo-basic-insert-item and extend functionality.
5996 (todo-item-end, todo-item-start): Make sensitive to done items.
5997 (todo-item-string): Don't return text properties. Restore point.
5998 (todo-jump-to-category): Make sensitive to multiple todo files and
5999 todo archives. Use extended category completion.
6000 (todo-lower-item, todo-raise-item): Rename to *-priority and
6001 derive from todo-set-item-priority.
6002 (todo-mode): Derive from special-mode. Make sensitive to new
6003 format, font-locking and multiple todo files. Make read-only.
6004 (todo-mode-map): Don't suppress digit keys, so they can supply
6005 prefix arguments. Add many new key bindings.
6006 (todo-prefix): Insert as an overlay instead of file text.
6007 Change semantics from diary date expression to purely visual mark.
6008 (todo-print): Rename to todo-print-buffer. Make buffer display
6009 features printable. Remove option to restrict number of items
6010 printed. Add option to print to file.
6011 (todo-print-function): Rename to todo-print-buffer-function.
6012 (todo-quit): Extend to handle exiting new todo modes.
6013 (todo-remove-item): Make sensitive to overlays.
6014 (todo-save): Extend to buffers of filtered items.
6015 (todo-show): Make sensitive to done items, multiple todo files and
6016 new todo modes. Offer to convert legacy todo file before creating
6017 first new todo file.
6018 (todo-show-priorities): Rename to todo-top-priorities.
6019 Change semantics of value 0.
6020 (todo-top-priorities): Rename to todo-filter-top-priorities,
6021 derive from todo-filter-items and extend functionality.
6022 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6023 and extend functionality to other types of filtered items.
6024 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6025 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6026 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6027 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6028 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6029 (todo-edit-mode-hook, todo-entry-prefix-function)
6030 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6031 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6032 (todo-initials, todo-insert-threshold, todo-item-string-start)
6033 (todo-line-string, todo-menu, todo-mode-hook)
6034 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6035 (todo-print-priorities, todo-remove-separator)
6036 (todo-save-top-priorities-too, todo-string-count-lines)
6037 (todo-string-multiline-p, todo-time-string-format)
6038 (todo-tmp-buffer-name): Remove.
6039 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6040 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6041 (todo-edit-category-diary-inclusion)
6042 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6043 (todo-edit-file, todo-edit-item-date-day)
6044 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6045 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6046 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6047 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6048 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6049 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6050 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6051 (todo-filter-top-priorities-multifile, todo-find-archive)
6052 (todo-find-filtered-items-file, todo-go-to-source-item)
6053 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6054 (todo-jump-to-archive-category, todo-lower-category)
6055 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6056 (todo-move-category, todo-move-item, todo-next-button)
6057 (todo-next-item, todo-padded-string, todo-powerset)
6058 (todo-previous-button, todo-previous-item)
6059 (todo-print-buffer-to-file, todo-raise-category)
6060 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6061 (todo-set-category-number, todo-set-item-priority)
6062 (todo-set-top-priorities-in-category)
6063 (todo-set-top-priorities-in-file, todo-show-categories-table)
6064 (todo-sort-categories-alphabetically-or-numerically)
6065 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6066 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6067 (todo-toggle-item-header, todo-toggle-item-highlighting)
6068 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6069 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6070 (todo-unarchive-items, todo-unmark-category): New commands.
6071 (todo-absolute-file-name, todo-add-to-buffer-list)
6072 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6073 (todo-basic-insert-item, todo-category-completions)
6074 (todo-category-number, todo-category-string-matcher-1)
6075 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6076 (todo-check-format, todo-clear-matches)
6077 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6078 (todo-current-category, todo-date-string-matcher)
6079 (todo-define-insertion-command, todo-diary-expired-matcher)
6080 (todo-diary-goto-entry, todo-diary-item-p)
6081 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6082 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6083 (todo-done-item-section-p, todo-done-separator)
6084 (todo-done-string-matcher, todo-files, todo-filter-items)
6085 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6086 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6087 (todo-insert-category-line, todo-insert-item-from-calendar)
6088 (todo-insert-sort-button, todo-insert-with-overlays)
6089 (todo-insertion-command-name, todo-insertion-key-bindings)
6090 (todo-label-to-key, todo-longest-category-name-length)
6091 (todo-make-categories-list, todo-mode-external-set)
6092 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6093 (todo-modes-set-3, todo-multiple-filter-files)
6094 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6095 (todo-read-category, todo-read-date, todo-read-dayname)
6096 (todo-read-file-name, todo-read-time)
6097 (todo-reevaluate-category-completions-files-defcustom)
6098 (todo-reevaluate-default-file-defcustom)
6099 (todo-reevaluate-filelist-defcustoms)
6100 (todo-reevaluate-filter-files-defcustom)
6101 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6102 (todo-reset-done-separator, todo-reset-done-separator-string)
6103 (todo-reset-done-string, todo-reset-global-current-todo-file)
6104 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6105 (todo-reset-prefix, todo-set-categories)
6106 (todo-set-date-from-calendar, todo-set-show-current-file)
6107 (todo-set-top-priorities, todo-short-file-name)
6108 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6109 (todo-total-item-counts, todo-update-buffer-list)
6110 (todo-update-categories-display, todo-update-categories-sexp)
6111 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6112 New functions.
6113 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6114 New major modes.
6115 (todo-categories, todo-display, todo-edit, todo-faces)
6116 (todo-filtered): New defgroups.
6117 (todo-archived-only, todo-button, todo-category-string, todo-date)
6118 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6119 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6120 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6121 (todo-add-item-if-new-category, todo-always-add-time-string)
6122 (todo-categories-align, todo-categories-archived-label)
6123 (todo-categories-category-label, todo-categories-diary-label)
6124 (todo-categories-done-label, todo-categories-number-separator)
6125 (todo-categories-todo-label, todo-categories-totals-label)
6126 (todo-category-completions-files, todo-completion-ignore-case)
6127 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6128 (todo-done-separator-string, todo-done-string)
6129 (todo-files-function, todo-filter-done-items, todo-filter-files)
6130 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6131 (todo-initial-category, todo-initial-file, todo-item-mark)
6132 (todo-legacy-date-time-regexp, todo-mode-line-function)
6133 (todo-nondiary-marker, todo-number-prefix)
6134 (todo-print-buffer-function, todo-show-current-file)
6135 (todo-show-done-only, todo-show-first, todo-show-with-done)
6136 (todo-skip-archived-categories, todo-top-priorities-overrides)
6137 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6138 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6139 New defcustoms.
6140 (todo-category-done, todo-date-pattern, todo-date-string-start)
6141 (todo-diary-items-buffer, todo-done-string-start)
6142 (todo-filtered-items-buffer, todo-item-start)
6143 (todo-month-abbrev-array, todo-month-name-array)
6144 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6145 (todo-top-priorities-buffer): New defconsts.
6146 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6147 (todo-categories-with-marks, todo-category-string-face)
6148 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6149 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6150 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6151 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6152 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6153 (todo-font-lock-keywords, todo-global-current-todo-file)
6154 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6155 (todo-insertion-commands-args)
6156 (todo-insertion-commands-args-genlist)
6157 (todo-insertion-commands-names, todo-insertion-map)
6158 (todo-key-bindings-t, todo-key-bindings-t+a)
6159 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6160 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6161 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6162 (todo-visited): New variables.
6163
cad5d1cb
GM
61642013-06-21 Glenn Morris <rgm@gnu.org>
6165
6166 * play/cookie1.el (cookie-apropos): Add optional display argument.
6167 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6168 (psychoanalyze-pinhead): Use cookie-doctor.
6169
9e277302
JB
61702013-06-21 Juanma Barranquero <lekktu@gmail.com>
6171
6172 * emacs-lisp/package.el (tar-get-file-descriptor)
6173 (tar--extract): Declare.
6174
c5b0993e
EW
61752013-06-21 Eduard Wiebe <usenet@pusto.de>
6176
6177 Extend flymake's warning predicate to be a function (bug#14217).
6178 * progmodes/flymake.el (flymake-warning-predicate): New.
6179 (flymake-parse-line): Use it.
6180 (flymake-warning-re): Make obsolete alias to
6181 `flymake-warning-predicate'.
6182
a7d2d465
SM
61832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6186 (package-obsolete-list): Remove.
6187 (package-activate): Remove min-version argument. Add `force' argument.
6188 Adjust to new package-alist format.
6189 (package-mark-obsolete): Remove.
6190 (package-unpack): Force reload of the package's autoloads.
6191 (package-installed-p): Check builtins if the installed package is not
6192 recent enough.
6193 (package-initialize): Don't reset package-obsolete-list.
6194 Don't specify which package version to activate.
6195 (package-process-define-package, describe-package-1)
6196 (package-menu--generate): Adjust to new package-alist format.
6197
cedf5c9d
JB
61982013-06-21 Juanma Barranquero <lekktu@gmail.com>
6199
6200 * allout-widgets.el (allout-widgets-mode-off)
6201 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6202 (allout-widgets-post-command-business)
6203 (allout-widgets-after-copy-or-kill-function)
6204 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6205 (allout-decorate-item-and-context)
6206 (allout-graphics-modification-handler): Fix typos in docstrings.
6207 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6208
6209 * cmuscheme.el (scheme-start-file): Doc fix.
6210 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6211 (scheme-input-filter): Use `string-match-p'.
6212
6213 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6214
6215 * dired-x.el: Use Dired consistently in docstrings.
6216
6217 * dired.el: Use Dired consistently in docstrings.
6218 (dired-readin, dired-mode): Use `setq-local'.
6219 (dired-switches-alist): Make defvar-local.
6220 (dired-buffers-for-dir): Use `zerop'.
6221 (dired-safe-switches-p, dired-switches-escape-p)
6222 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6223 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6224 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6225 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6226 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6227 (dired-toggle-marks, dired-mark-files-containing-regexp)
6228 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6229 (dired-flag-auto-save-files, dired-flag-backup-files):
6230 Use `looking-at-p'.
6231 (dired-mark-files-regexp, dired-build-subdir-alist):
6232 Use `string-match-p', `looking-at-p'.
6233
6234 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6235 (direct-print-region-helper): Use `string-match-p'.
6236
aed838b5
LL
62372013-06-21 Leo Liu <sdl.web@gmail.com>
6238
cedf5c9d
JB
6239 * comint.el (comint-redirect-results-list-from-process):
6240 Fix infinite loop.
aed838b5 6241
d80a808f
LMI
62422013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6243
6244 * net/eww.el (eww-update-header-line-format): Quote % characters.
6245
e7a526e3
GM
62462013-06-21 Glenn Morris <rgm@gnu.org>
6247
6248 * play/cookie1.el (cookie): New custom group.
6249 (cookie-file): New option.
6250 (cookie-check-file): New function.
6251 (cookie): Make it interactive. Make start and end messages optional.
6252 Interactively, display the result. Default to cookie-file.
6253 (cookie-insert): Default to cookie-file.
6254 (cookie-snarf): Make start and end messages optional.
6255 Default to cookie-file. Use with-temp-buffer.
6256 (cookie-read): Rename from read-cookie.
6257 Make start and end messages optional. Default to cookie-file.
6258 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6259 Do not autoload it.
e7a526e3
GM
6260 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6261 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6262
62efb35e
LL
62632013-06-21 Leo Liu <sdl.web@gmail.com>
6264
6265 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6266
21e3f963
GM
62672013-06-21 Glenn Morris <rgm@gnu.org>
6268
6269 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6270
fd846ab4
SM
62712013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6272 Daniel Hackney <dan@haxney.org>
6273
6274 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6275 Consolidate the single-file vs tarball code.
6276 (package-desc-suffix): New function.
6277 (package-desc-full-name): Don't bother inlining it.
6278 (package-load-descriptor): Return the new package-desc.
6279 (package-mark-obsolete): Remove unused arg `package'.
6280 (package-unpack): Make it work for single files as well.
6281 Make it update package-alist.
6282 (package--make-autoloads-and-stuff): Rename from
6283 package--make-autoloads-and-compile. Don't compile any more.
6284 (package--compile): New function.
6285 (package-generate-description-file): New function, extracted from
6286 package-unpack-single.
6287 (package-unpack-single): Remove.
6288 (package--with-work-buffer): Add indentation and debugging info.
6289 (package-download-single): Remove.
6290 (package-install-from-archive): Rename from package-download-tar, make
6291 it take a pkg-desc, and make it work for single files as well.
6292 (package-download-transaction): Simplify.
6293 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6294 external tar program.
6295 (package-install-from-buffer): Remove `pkg-desc' argument.
6296 Use package-tar-file-info for tar-mode buffers.
6297 (package-install-file): Simplify accordingly.
6298 (package-archive-base): Change to take a pkg-desc.
6299 * tar-mode.el (tar--check-descriptor): New function, extracted from
6300 tar-get-descriptor.
6301 (tar-get-descriptor): Use it.
6302 (tar-get-file-descriptor): New function.
6303 (tar--extract): New function, extracted from tar-extract.
6304 (tar--extract): Use it.
6305 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6306 case the summary uses non-ascii. Adjust to new calling convention of
6307 package-tar-file-info.
6308
b7deae5e
LL
63092013-06-21 Leo Liu <sdl.web@gmail.com>
6310
fd846ab4
SM
6311 * comint.el (comint-redirect-results-list-from-process):
6312 Fix random delay. (Bug#14681)
b7deae5e 6313
7a65a0b2
JB
63142013-06-21 Juanma Barranquero <lekktu@gmail.com>
6315
6316 * profiler.el (profiler-format-number): Use log, not log10.
6317
1493c2af
JB
63182013-06-20 Juanma Barranquero <lekktu@gmail.com>
6319
6320 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6321
aff6371e
SM
63222013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6325 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6326 yet available.
6327 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6328 (AUTOGENEL): ... here.
6329 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6330 (cl--defsubst-expand): Use it.
6331
89561f72
PE
63322013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6333
6334 * subr.el (log10): Move here from C code, and declare as obsolete.
6335 All uses of (log10 X) replaced with (log X 10).
6336
47199123
JB
63372013-06-20 Juanma Barranquero <lekktu@gmail.com>
6338
6339 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6340 Declare with `defvar-local'.
6341 (tabulated-list-use-header-line, tabulated-list-entries)
6342 (tabulated-list-padding, tabulated-list-printer)
6343 (tabulated-list-sort-key): Declare with `defvar-local'.
6344 (tabulated-list-init-header, tabulated-list-print-fake-header):
6345 Use `setq-local'.
6346
4a172eab
MA
63472013-06-20 Michael Albinus <michael.albinus@gmx.de>
6348
47199123
JB
6349 * arc-mode.el (archive-mode): Add `archive-write-file' to
6350 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6351
5fc0acc0
JB
63522013-06-20 Juanma Barranquero <lekktu@gmail.com>
6353
d5b27848
JB
6354 * cus-edit.el (custom-commands): Fix typos.
6355 (custom-display): Fix tooltip text.
6356 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6357 Fix typos in docstrings.
6358 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6359 (custom-unlispify-menu-entry, custom-magic-value-create)
6360 (custom-add-see-also, custom-group-value-create): Use ?\s.
6361 (custom-guess-type, customize-apropos, editable-field)
6362 (custom-face-value-create): Use `string-match-p'.
6363 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6364
6365 * custom.el (custom-load-symbol): Use `string-match-p'.
6366
a5c581d8
JB
6367 * ansi-color.el: Convert to lexical binding.
6368 (ansi-colors): Fix URL.
6369 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6370 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6371 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6372
970ad972
G
63732013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6374
6375 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6376
6377 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6378
63792013-06-19 Tom Tromey <tromey@redhat.com>
6380
6381 * net/eww.el (eww-top-url): Remove.
6382 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6383 (eww-render): Set new variables. Don't set eww-top-url.
6384 (eww-handle-link): Handle "prev", "home", and "contents".
6385 Downcase the rel text.
6386 (eww-top-url): Choose best top URL.
6387
63882013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389
6390 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6391 relying in widget.el. Using widget.el leads to too many
6392 user interface inconsistencies.
6393 (eww-self-insert): Implement entering commands in text fields.
6394 (eww-process-text-input): New function to make text input field editing
6395 work.
6396 (eww-submit): Rewrite to use the new-style form methods.
6397 (eww-select-display): Display the correct selected item.
6398 (eww-change-select): Implement changing the select value.
6399 (eww-toggle-checkbox): Implement radio/checkboxes.
6400 (eww-update-field): Fix compilation error.
6401 (eww-tag-textarea): Implement <textarea>.
6402
6403 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6404 we don't shadow mode-specific bindings.
6405
6406 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6407 nothing to push.
6408
6409 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6410
4582a01c 64112013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6412
6413 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6414
15b263dc
MA
64152013-06-19 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6418 not needed.
6419
6420 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6421
8f5297f7
LMI
64222013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6423
6424 * net/browse-url.el (browse-url-browser-function):
6425 `eww-browse-url' has the right calling signature, `eww' does not.
6426
011c4552
GM
64272013-06-19 Glenn Morris <rgm@gnu.org>
6428
2285bd27
GM
6429 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6430 Only eval autoloaded macros.
6431 (byte-compile-autoload): Only give the macro warning for macros.
6432
1d653303
GM
6433 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6434 (ps-underlined-faces): Declare.
6435
bdd779ec
GM
6436 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6437 (speedbar-add-supported-extension): Declare.
6438
011c4552
GM
6439 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6440 Don't include a date stamp in the header of the generated file;
6441 it leads to needless differences between output files.
6442
e59dfb0e
MA
64432013-06-19 Michael Albinus <michael.albinus@gmx.de>
6444
c763842b
SM
6445 * net/secrets.el (secrets-struct-secret-content-type):
6446 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6447 Some servers do not offer introspection.
e59dfb0e 6448
102626e2
SM
64492013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * electric.el (electric-pair-mode): Improve interaction with
6452 electric-layout-mode.
6453 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6454 (electric-pair-syntax): Use text-mode-syntax-table in comments
6455 and strings.
6456 (electric-pair--insert): New function.
6457 (electric-pair-post-self-insert-function): Use it and
6458 electric--after-char-pos.
6459
ad528125
LL
64602013-06-19 Leo Liu <sdl.web@gmail.com>
6461
6462 * progmodes/octave.el (octave-help): Fix regexp.
6463
924d6997
G
64642013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6465
6466 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6467 (shr-table-horizontal-line): Allow nil as a value, and change the
6468 default.
6469 (shr-insert-table-ruler): Respect the nil value.
6470
64712013-06-18 Tom Tromey <tromey@barimba>
6472
6473 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6474 New defvars.
6475 (eww-open-file): New defun.
6476 (eww-render): Initialize new variables.
6477 (eww-display-html): Handle "link" and "a".
6478 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6479 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6480 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6481 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6482 New defuns.
924d6997 6483
d1bbba4f
DG
64842013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6485
6486 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6487 Distinguish ternary operator tokens from slash symbol and slash
6488 char literal.
6489
14dd22d2
JB
64902013-06-18 Juanma Barranquero <lekktu@gmail.com>
6491
6492 Convert symbol prettification into minor mode and global minor mode.
6493
6494 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6495 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6496 (prettify-symbols--keywords): Rename from
6497 `prog-prettify-symbols-alist' and make a local defvar.
6498 (prettify-symbols--compose-symbol): Rename from
6499 `prog--prettify-font-lock-compose-symbol'.
6500 (prettify-symbols--make-keywords): Rename from
6501 `prog-prettify-font-lock-symbols-keywords' and simplify.
6502 (prog-prettify-install): Remove.
6503 (prettify-symbols-mode): New minor mode, based on
6504 `prog-prettify-install'.
6505 (turn-on-prettify-symbols-mode): New function.
6506 (global-prettify-symbols-mode): New globalized minor mode.
6507
6508 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6509 * progmodes/cfengine.el (cfengine3-mode):
6510 * progmodes/perl-mode.el (perl-mode): Don't call
6511 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6512
292c880c
JL
65132013-06-18 Juri Linkov <juri@jurta.org>
6514
6515 * files-x.el (modify-file-local-variable-message): New function.
6516 (modify-file-local-variable)
6517 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6518 and call `modify-file-local-variable-message' when it's non-nil.
6519 (add-file-local-variable, delete-file-local-variable)
6520 (add-file-local-variable-prop-line)
6521 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6522 and use it. (Bug#9820)
6523
0950aa27
JL
65242013-06-18 Juri Linkov <juri@jurta.org>
6525
6526 * emulation/vi.el (vi-shell-op):
6527 * emulation/vip.el (vip-execute-com, ex-command):
6528 * emulation/viper-cmd.el (viper-exec-bang):
6529 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6530 the call of `shell-command-on-region'. (Bug#14637)
6531
6532 * simple.el (shell-command-on-region): Doc fix.
6533
8fbcca16
SM
65342013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6537 (bug#14633).
6538
dd7426ea
GM
65392013-06-18 Glenn Morris <rgm@gnu.org>
6540
4ba54f7d
GM
6541 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6542
dd7426ea
GM
6543 * newcomment.el (comment-search-forward, comment-search-backward):
6544 Doc fix. (Bug#14376)
6545
58aa805b
JB
65462013-06-18 Juanma Barranquero <lekktu@gmail.com>
6547
6548 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6549 (buffer-face-mode-invoke): Doc fix.
6550
9a08a617
MM
65512013-06-18 Matthias Meulien <orontee@gmail.com>
6552
6553 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6554 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6555
f2f426ca
GM
65562013-06-18 Glenn Morris <rgm@gnu.org>
6557
9445f99b
GM
6558 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6559 Replace obsolete function generic-make-keywords with its expansion.
6560
e0df2d14
GM
6561 * progmodes/python.el (ffap-alist): Declare.
6562
f2f426ca
GM
6563 * textmodes/reftex.el (bibtex-mode-map): Declare.
6564
f7f9a720
SM
65652013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6568 (package-unpack, package-unpack-single): Return the pkg-dir.
6569 (package-download-transaction): Use it to update package-alist.
6570
57ff04e0
LMI
65712013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6572
6573 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6574 possible choice.
6575
c048c022
JL
65762013-06-17 Juri Linkov <juri@jurta.org>
6577
6578 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6579
b5bcaee5
DG
65802013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6581
a020afb9
JB
6582 * emacs-lisp/package.el (package-load-descriptor):
6583 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6584 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6585
551e07e5
JB
65862013-06-17 Juanma Barranquero <lekktu@gmail.com>
6587
6588 * startup.el (command-line): Expand package name returned by
6589 `package--description-file' (bug#14639).
6590
d363bffb
DG
65912013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6592
6593 * emacs-lisp/package.el (package-load-descriptor): Do not call
6594 `emacs-lisp-mode', just use its syntax table.
6595
f612933b
JB
65962013-06-17 Juanma Barranquero <lekktu@gmail.com>
6597
6598 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6599 `font-lock-extra-managed-props' if any prettifying keyword is added.
6600 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6601 (prog-mode): Use `setq-local'.
6602
db3b7db5
SM
66032013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * international/characters.el (standard-case-table): Set syntax of ?»
6606 and ?« to punctuation.
6607
f3d674df
JB
66082013-06-16 Juanma Barranquero <lekktu@gmail.com>
6609
6610 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6611 Save relevant match data before calling `syntax-ppss' (bug#14595).
6612
31489a32
JL
66132013-06-15 Juri Linkov <juri@jurta.org>
6614
6615 * files-x.el (modify-file-local-variable-prop-line): Add local
6616 variables to the end of the existing comment on the first line.
6617 Use `file-auto-mode-skip' to skip interpreter magic line,
6618 and also skip XML declaration.
6619
66bd25ab
SM
66202013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * startup.el (package--builtin-versions): New var.
6623 (package-subdirectory-regexp): Remove.
6624 (package--description-file): Hard code its value instead.
6625
6626 * emacs-lisp/package.el: Don't activate packages older than builtin.
6627 (package-obsolete-list): Rename from package-obsolete-alist, and make
6628 it into a simple list of package-desc.
6629 (package-strip-version): Remove.
6630 (package-built-in-p): Use package--builtin-versions.
6631 (package-mark-obsolete): Simplify.
6632 (package-process-define-package): Mark it obsolete if older than the
6633 builtin version.
6634 (package-handle-response): Use line-end-position.
6635 (package-read-archive-contents, package--download-one-archive):
6636 Simplify.
6637 (package--add-to-archive-contents): Skip if older than the builtin or
6638 installed version.
6639 (package-menu-describe-package): Fix last change.
6640 (package-list-unversioned): New var.
6641 (package-menu--generate): Use it.
6642
6643 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6644 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6645 (autoload-builtin-package-versions): New variable.
6646 (autoload-generate-file-autoloads): Use them.
6647 Remove the list of autoloaded functions/macros from the
6648 (autoload...) comments.
6649
6650 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6651
9583ec36
EZ
66522013-06-15 Eli Zaretskii <eliz@gnu.org>
6653
6654 * simple.el (line-move-partial): Don't jump to the next screen
6655 line as soon as it becomes visible. Instead, continue enlarging
6656 the vscroll until the portion of a tall screen line that's left on
6657 display is about the height of the frame's default font.
6658 (Bug#14567)
6659
f0100d8a
GM
66602013-06-15 Glenn Morris <rgm@gnu.org>
6661
b86a85ca
GM
6662 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6663 compilation-error-regexp-alist void, or local while let-bound.
6664
f0100d8a
GM
6665 * progmodes/make-mode.el (makefile-mode-syntax-table):
6666 Treat "=" as punctuation. (Bug#14614)
6667
05e7ce90
JB
66682013-06-15 Juanma Barranquero <lekktu@gmail.com>
6669
6670 * help-fns.el (describe-variable):
6671 Add extra line for permanent-local variables.
6672
12e5e86e
SH
66732013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6674
6675 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6676 Add export, import, library. (Bug#9164)
6677 (library): Set indent function.
6678
230dcbaf
GM
66792013-06-14 Glenn Morris <rgm@gnu.org>
6680
6681 * term/xterm.el (xterm--query):
6682 Stop after first matching handler. (Bug#14615)
6683
e36b2d20 66842013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6685
6686 Add support for dired in saveplace.
6687 * dired.el (dired-initial-position-hook): New variable.
6688 (dired-initial-position): Call hook to place cursor position.
6689 * saveplace.el (save-place-to-alist): Add dired position.
6690 (save-place-dired-hook): New function.
6691
0b31660d
SM
66922013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6693
bf1e6ae8
SM
6694 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6695 through a symbol rather than letrec.
6696
1b8dff23
SM
6697 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6698 (package-desc): Add `dir' field.
6699 (package-desc-full-name): New function.
6700 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6701 (package-maybe-load-descriptor): Remove.
6702 (package-load-all-descriptors): Just call package-load-descriptor.
6703 (package--disabled-p): New function.
6704 (package-desc-vers, package-desc-doc): Remove aliases.
6705 (package--dir): Remove function.
6706 (package-activate): Check if a package is disabled.
6707 (package-process-define-package): New function, extracted from
6708 define-package.
6709 (define-package): Turn into a place holder.
6710 (package-unpack-single, package-tar-file-info):
6711 Use package--description-file.
6712 (package-compute-transaction): Use package--disabled-p.
6713 (package-download-transaction): Don't call
6714 package-maybe-load-descriptor since they're all loaded anyway.
6715 (package-install): Change argument to be a pkg-desc.
6716 (package-delete): Use a single pkg-desc argument.
6717 (describe-package-1): Use package-desc-dir instead of package--dir.
6718 Use package-desc property instead of package-symbol.
6719 (package-install-button-action): Adjust accordingly.
6720 (package--push): Rewrite.
6721 (package-menu--print-info): Adjust accordingly. Change the ID format
6722 to be a pkg-desc.
6723 (package-menu-describe-package, package-menu-get-status)
6724 (package-menu--find-upgrades, package-menu-mark-upgrades)
6725 (package-menu-execute, package-menu--name-predicate):
6726 Adjust accordingly.
6727 * startup.el (package--description-file): New function.
6728 (command-line): Use it.
6729 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6730 Use package-desc-version.
6731
0b31660d
SM
6732 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6733 (byte-compile-preprocess): Use it.
6734 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6735 can't quite recognize.
6736 (byte-compile-add-to-list): Remove.
6737 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6738 (cconv-closure-convert): Add assertion.
6739
6740 * emacs-lisp/map-ynp.el: Use lexical-binding.
6741 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6742 Factor out some repeated code.
6743
de0503df
SM
67442013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * subr.el (with-eval-after-load): New macro.
6747 (eval-after-load): Allow form to be a function.
6748 take advantage of lexical-binding.
6749 (do-after-load-evaluation): Use dolist and adjust to new format.
6750 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6751
bc5c8c5a
JL
67522013-06-13 Juri Linkov <juri@jurta.org>
6753
6754 * replace.el (perform-replace): Display "symbol " and other search
6755 modes from `isearch-message-prefix' in the *Help* buffer.
6756
6757 * isearch.el (isearch-query-replace): Add " symbol" and other
6758 possible search modes from `isearch-message-prefix' to the prompt.
6759 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6760 when reading a regexp to collect.
6761
a22289f7
JL
67622013-06-13 Juri Linkov <juri@jurta.org>
6763
6764 * isearch.el (word-search-regexp): Match whitespace if the search
6765 string begins or ends in whitespace. The LAX arg is applied to
6766 both ends of the search string. Use `regexp-quote' and explicit
6767 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6768 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6769 boundaries are replaced with symbol boundaries, and characters
6770 between symbols match non-word non-symbol syntax. (Bug#14602)
6771
cb89acab
JL
67722013-06-13 Juri Linkov <juri@jurta.org>
6773
6774 * isearch.el (isearch-del-char): Don't exceed the length of
6775 `isearch-string' by the prefix arg. (Bug#14563)
6776
6e8cfc81
JL
67772013-06-13 Juri Linkov <juri@jurta.org>
6778
6779 * isearch.el (isearch-yank-word, isearch-yank-line)
6780 (isearch-char-by-name, isearch-quote-char)
6781 (isearch-printing-char, isearch-process-search-char):
6782 Add optional count prefix arg. (Bug#14563)
6783
6784 * international/isearch-x.el
6785 (isearch-process-search-multibyte-characters):
6786 Add optional count prefix arg.
6787
c23d55f4
VS
67882013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6791 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6792 lexical-binding.
6793
67942013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6795
6796 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6797
ba947bc4
GM
67982013-06-13 Glenn Morris <rgm@gnu.org>
6799
8baeb37a
GM
6800 * startup.el (tty-handle-args):
6801 Don't just discard "--" and anything after. (Bug#14608)
6802
ba947bc4
GM
6803 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6804
9abefce4
MA
68052013-06-13 Michael Albinus <michael.albinus@gmx.de>
6806
6807 Implement changes in Secret Service API. Make it backward compatible.
6808 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6809 (secrets-create-item): Use it. Prefix properties with interface.
6810
5755011f
MH
68112013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6812
6813 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6814 (term-emulate-terminal): Respect term-suppress-hard-newline.
6815
1261d2da
S
68162013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6817
6818 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6819 Only remove a `thumb-file' overlay. (Bug#14548)
6820
868490bb
GJ
68212013-06-12 Grégoire Jadi <daimrod@gmail.com>
6822
6823 * mail/reporter.el (reporter-submit-bug-report):
6824 Handle missing package-name. (Bug#14600)
6825
79d7167f
TH
68262013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6827
6828 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6829 (reftex-citation-prompt, reftex-default-bibliography)
6830 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6831 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6832 (reftex-bib-sort-author, reftex-bib-sort-year)
6833 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6834 (reftex-extract-bib-entries-from-thebibliography)
6835 (reftex-get-bibkey-default, reftex-get-bib-names)
6836 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6837 (reftex-format-bib-entry, reftex-parse-bibitem)
6838 (reftex-format-bibitem, reftex-do-citation)
6839 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6840 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6841 (reftex-insert-bib-matches, reftex-format-citation)
6842 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6843 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6844 existing comments into docstrings.
6845
5f9dbd7a
XF
68462013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6847
6848 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6849
94df41ab
AS
68502013-06-12 Andreas Schwab <schwab@suse.de>
6851
6852 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6853 for auto-save files.
6854
a7f3fecc
GM
68552013-06-12 Glenn Morris <rgm@gnu.org>
6856
001809f6
GM
6857 * ido.el (ido-delete-ignored-files): Remove.
6858 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6859 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6860
834b5ded
EL
68612013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6862
08c73ed2
EL
6863 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6864
834b5ded
EL
6865 * ido.el (ido-delete-ignored-files): New function,
6866 split from ido-make-file-list-1.
6867 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6868 (ido-make-file-list-1): Use ido-delete-ignored-files.
6869
daabf15a
LL
68702013-06-12 Leo Liu <sdl.web@gmail.com>
6871
6872 * progmodes/octave.el (inferior-octave-startup)
6873 (inferior-octave-completion-table)
6874 (inferior-octave-track-window-width-change)
6875 (octave-eldoc-function-signatures, octave-help)
6876 (octave-find-definition): Use single quoted strings.
6877 (inferior-octave-startup-args): Change default value.
6878 (inferior-octave-startup): Do not hard code "-i" and
6879 "--no-line-editing".
6880 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6881 (inferior-octave-directory-tracker): Use it.
6882 (octave-goto-function-definition): Robustify.
6883 (octave-help): Support highlighting operators in 'See also'.
6884 (octave-find-definition): Find subfunctions only in Octave mode.
6885
cf4e5178
SM
68862013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * help-fns.el (help-fns--compiler-macro): If the handler function is
6889 named, then put a link to it.
6890 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6891 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6892 (cl-typep): Use it.
6893 (cl-eval-when): Simplify debug spec.
6894 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6895 compiler-macro function instead of setting `compiler-macro-file'.
6896
99c81280 68972013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6898
6899 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6900 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6901
f56be016
SM
69022013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6903 Daniel Hackney <dan@haxney.org>
6904
6905 First part of Daniel Hackney's patch to package.el.
6906 * emacs-lisp/package.el: Use defstruct.
6907 (package-desc): New, main struct.
6908 (package--bi-desc, package--ac-desc): New structs, used to describe the
6909 format in external files.
6910 (package-desc-vers): Replace with package-desc-version accessor.
6911 (package-desc-doc): Replace with package-desc-summary accessor.
6912 (package-activate-1): Remove `package' arg since the pkg-vec now
6913 includes the name.
6914 (define-package): Use package-desc-from-define.
6915 (package-unpack-single): Change file-name arg to be a symbol.
6916 (package--add-to-archive-contents): Use package-desc-create and new
6917 accessor functions to package--ac-desc.
6918 (package-buffer-info, package-tar-file-info): Return a package-desc.
6919 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6920 arg to be a package-desc.
6921 (package-install-file): Adjust accordingly. Use \' to match EOS.
6922 (package--from-builtin): New function.
6923 (describe-package-1, package-menu--generate): Use it.
6924 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6925 (package-generate-autoloads): Idem and return the name of the file.
6926 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6927 Change pkg-info arg to be a package-desc.
6928 Use package-make-ac-desc.
6929 (package-upload-file): Use \' to match EOS.
6930 * finder.el (finder-compile-keywords): Use package-make-builtin.
6931
31119d63
SM
69322013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6933
931a2762
SM
6934 * vc/vc.el (vc-deduce-fileset): Change error message.
6935 (vc-read-backend): New function.
6936 (vc-next-action): Use it.
6937
5a3eb0c6
SM
6938 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6939
e3eb1bb7
SM
6940 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6941 (prolog-font-lock-keywords): Use regexp-opt instead.
6942 Don't manually highlight strings.
6943 (prolog-mode-variables): Simplify comment-start-skip.
6944 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6945
31119d63
SM
6946 * emacs-lisp/generic.el (generic--normalise-comments)
6947 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6948 (generic-mode-set-comments): Use them.
6949 (generic-bracket-support): Use setq-local.
6950 (generic-make-keywords-list): Declare obsolete.
6951
7de135d0
GM
69522013-06-11 Glenn Morris <rgm@gnu.org>
6953
6954 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6955 Prettify after setting font-lock-defaults. (Bug#14574)
6956
fa6bc6fd
JB
69572013-06-11 Juanma Barranquero <lekktu@gmail.com>
6958
6959 * replace.el (query-replace, occur-read-regexp-defaults-function)
6960 (replace-search):
6961 * subr.el (declare-function, number-sequence, local-set-key)
6962 (substitute-key-definition, locate-user-emacs-file)
6963 (with-silent-modifications, split-string, eval-after-load):
6964 Fix typos, remove unneeded backslashes and reflow some docstrings.
6965
cf1f9b9a
SM
69662013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6969 default for Elisp files.
6970
56602a4b
GM
69712013-06-11 Glenn Morris <rgm@gnu.org>
6972
6973 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6974 although define-derived-mode was doing this anyway. (Bug#14583)
6975
30ae0b2c
JB
69762013-06-10 Juanma Barranquero <lekktu@gmail.com>
6977
6978 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6979 Fix make-variable-buffer-local call to refer to the correct variable.
6980
fa472906
AG
69812013-06-10 Aidan Gauland <aidalgol@amuri.net>
6982
6983 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6984 (eshell-visual-subcommands, eshell-visual-options):
6985 Add summary line to docstrings. Add cross-references.
fa472906 6986
ff4871b9
GM
69872013-06-10 Glenn Morris <rgm@gnu.org>
6988
6989 * epa.el (epa-read-file-name): New function. (Bug#14510)
6990 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6991
04fcf1b0
AG
69922013-06-09 Aidan Gauland <aidalgol@amuri.net>
6993
6994 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6995 output redirection to be ignored with visual commands.
6996
88b00caa
AG
69972013-06-09 Aidan Gauland <aidalgol@amuri.net>
6998
6999 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7000 (eshell-term-initialize): Move long lambda to separate function
7001 eshell-visual-command-p.
e7b41c4c
JB
7002 * eshell/em-dirs.el (eshell-dirs-initialise):
7003 * eshell/em-script.el (eshell-script-initialize):
7004 Add missing #' to lambda.
88b00caa 7005
fda74125
LL
70062013-06-08 Leo Liu <sdl.web@gmail.com>
7007
7008 * progmodes/octave.el (octave-add-log-current-defun): New function.
7009 (octave-mode): Set add-log-current-defun-function.
7010 (octave-goto-function-definition): Do not move point if not found.
7011 (octave-find-definition): Enhance to try subfunctions first.
7012
467f3b33
GM
70132013-06-08 Glenn Morris <rgm@gnu.org>
7014
7015 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7016 (byte-compile-backward-char, byte-compile-backward-word):
7017 Improve previous change, to handle non-explicit nil.
7018
544badc3
SM
70192013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7022 (smie--opener/closer-at-point): New function.
7023 (smie--matching-block-data): Use it. Don't match from right after an
7024 opener or right before a closer. Obey smie-blink-matching-inners.
7025 Don't signal a mismatch for repeated inners like "switch..case..case".
7026
a175bf33
LL
70272013-06-07 Leo Liu <sdl.web@gmail.com>
7028
7029 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7030 to t. (Bug#14303)
ce8209d4
LL
7031 (octave-function-header-regexp): Fix. (Bug#14570)
7032 (octave-help-mode-finish-hook, octave-help-mode-finish):
7033 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7034
7035 * newcomment.el (comment-search-backward): Revert last change.
7036 (Bug#14434)
7037
7038 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7039
a822acff
EZ
70402013-06-07 Eli Zaretskii <eliz@gnu.org>
7041
7042 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7043 through xargs, to avoid failure due to MS-Windows limitations on
7044 command-line length.
7045
961166f5
GM
70462013-06-06 Glenn Morris <rgm@gnu.org>
7047
d0341459
GM
7048 * font-lock.el (lisp-font-lock-keywords-2):
7049 Treat user-error like error.
7050
961166f5
GM
7051 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7052 (byte-compile-backward-char, byte-compile-backward-word):
7053 Handle explicit nil arguments. (Bug#14565)
7054
80fa505f
AM
70552013-06-05 Alan Mackenzie <acm@muc.de>
7056
7057 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7058 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7059 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7060 (Bug#9706)
80fa505f 7061
fccdc796
SM
70622013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * autorevert.el (auto-revert-notify-handler): Use memq.
7065 Hide assertion failure.
7066
7067 * skeleton.el: Use cl-lib.
7068 (skeleton-further-elements): Use defvar-local.
7069 (skeleton-insert): Use cl-progv.
7070
9bfff84b
TZ
70712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7072
7073 * progmodes/prog-mode.el (prog-prettify-symbols)
7074 (prog-prettify-install): Update docstrings.
7075
55577e7c
SM
70762013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * simple.el: Move all the prog-mode code to prog-mode.el.
7079 * progmodes/prog-mode.el: New file.
7080 * loadup.el: Add prog-mode.el.
7081
8fc57765
TZ
70822013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7083
7084 * simple.el (prog-prettify-symbols): Add version.
7085 (prog-prettify-install): Add convenience function to prettify symbols.
7086
7087 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7088 (perl--augmented-font-lock-keywords-1)
7089 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7090 variables and use it.
7091
7092 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7093 (cfengine3-mode): Remove unneeded variable and use it.
7094
7095 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7096 (lisp--augmented-font-lock-keywords-1)
7097 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7098 Remove unneeded variables and use it.
7099
650645d5 71002013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7101
7102 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7103 to point when opening the connection. (Bug#14380)
28f5da6d 7104
781b4af6
SM
71052013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * subr.el (load-history-regexp, load-history-filename-element)
7108 (eval-after-load, after-load-functions, do-after-load-evaluation)
7109 (eval-next-after-load, display-delayed-warnings)
7110 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7111 definition of save-match-data.
7112 (overriding-local-map): Remove accidental obsolescence declaration.
7113
7114 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7115
3ca0d0b4
TZ
71162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7117
7118 Generalize symbol prettify support to prog-mode and implement it
7119 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7120 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7121 (prog--prettify-font-lock-compose-symbol)
7122 (prog-prettify-font-lock-symbols-keywords): New variables and
7123 functions to support symbol prettification.
7124 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7125 (lisp--augmented-font-lock-keywords-1)
7126 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7127 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7128 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7129 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7130 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7131 * progmodes/perl-mode.el (perl-prettify-symbols)
7132 (perl--font-lock-compose-symbol)
7133 (perl--font-lock-symbols-keywords): Move to prog-mode.
7134 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7135 (perl-font-lock-keywords-1)
7136 (perl-font-lock-keywords-2): Remove explicit prettify support.
7137 (perl--augmented-font-lock-keywords)
7138 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7139 (perl--augmented-font-lock-keywords-2, perl-mode):
7140 Implement prettify support.
3ca0d0b4 7141
976cb066
LL
71422013-06-05 Leo Liu <sdl.web@gmail.com>
7143
7144 Re-implement smie matching block highlight using
7145 show-paren-data-function. (Bug#14395)
7146 * emacs-lisp/smie.el (smie-matching-block-highlight)
7147 (smie--highlight-matching-block-overlay)
7148 (smie--highlight-matching-block-lastpos)
7149 (smie-highlight-matching-block)
7150 (smie-highlight-matching-block-mode): Remove.
7151 (smie--matching-block-data-cache): New variable.
7152 (smie--matching-block-data): New function.
7153 (smie-setup): Use smie--matching-block-data for
7154 show-paren-data-function.
7155
7156 * progmodes/octave.el (octave-mode-menu): Fix.
7157 (octave-find-definition): Skip garbage lines.
7158
208d0342
SM
71592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 Fix compilation error with simultaneous dynamic+lexical scoping.
7162 Add warning when a defvar appears after the first let-binding.
7163 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7164 (byte-compile-close-variables): Initialize it.
7165 (byte-compile--declare-var): New function.
7166 (byte-compile-file-form-defvar)
7167 (byte-compile-file-form-define-abbrev-table)
7168 (byte-compile-file-form-custom-declare-variable): Use it.
7169 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7170 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7171 (byte-compile-bind): Handle dynamic bindings that shadow
7172 lexical bindings.
7173 (byte-compile-unbind): Make arg non-optional.
7174 (byte-compile-let): Simplify.
7175 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7176 (cconv--analyse-function, cconv-analyse-form): Populate it.
7177 Protect byte-compile-bound-variables to limit the scope of defvars.
7178 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7179 Remove unneeded rule for `declare'.
7180
7181 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7182 so as to avoid depending on cl-adjoin at run-time.
7183 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7184
7185 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7186 (macroexp--warn-and-return): Use it.
7187
1ac2891e
GM
71882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * lisp/subr.el: Convert to lexical binding.
7191 (overriding-local-map): Make obsolete.
7192 (add-to-list): Doc fix. Add compiler macro.
7193 (read-key): Swap values of local maps.
7194
2587b005
LL
71952013-06-05 Leo Liu <sdl.web@gmail.com>
7196
7197 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7198
f1da3c88
LL
71992013-06-04 Leo Liu <sdl.web@gmail.com>
7200
7201 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7202 (compilation-auto-jump): Suppress the "Mark set" message to give
7203 way to exit message.
7204
3caa391f
AM
72052013-06-04 Alan Mackenzie <acm@muc.de>
7206
7207 Remove faulty optimisation from indentation calculation.
7208 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7209 search limit based on 2000 characters back from indent-point.
7210
068922a2
TH
72112013-06-03 Tassilo Horn <tsdh@gnu.org>
7212
7213 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7214
1f8fdd53
SM
72152013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7216
bbcc4d97
SM
7217 * emacs-lisp/lisp.el: Use lexical-binding.
7218 (lisp--local-variables-1, lisp--local-variables): New functions.
7219 (lisp--local-variables-completion-table): New var.
208d0342 7220 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7221
1f8fdd53
SM
7222 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7223 eagerly (bug#14422).
7224
c9628c79
MA
72252013-06-03 Michael Albinus <michael.albinus@gmx.de>
7226
7227 * autorevert.el (auto-revert-notify-enabled)
7228 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7229 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7230 (auto-revert-notify-handler): Handle also gfilenotify.
7231
e7b41c4c 7232 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7233 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7234 Remove.
c9628c79 7235
e5e4a942
JL
72362013-06-03 Juri Linkov <juri@jurta.org>
7237
7238 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7239 `M-s h .'. (Bug#14427)
7240
7241 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7242 command `hi-lock-face-symbol-at-point'.
7243 (hi-lock-face-symbol-at-point): New command.
7244 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7245 (hi-lock-menu): Add `highlight-symbol-at-point'.
7246 (hi-lock-mode): Doc fix.
7247
7248 * isearch.el (isearch-forward-symbol-at-point): New command.
7249 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7250 (isearch-highlight-regexp): Add a regexp which matches
7251 words/symbols for word/symbol mode.
7252
7253 * subr.el (find-tag-default-bounds): New function with the body
7254 mostly moved from `find-tag-default'.
7255 (find-tag-default): Move most code to `find-tag-default-bounds',
7256 call it and apply `buffer-substring-no-properties' afterwards.
7257
26b3353a
TH
72582013-06-03 Tassilo Horn <tsdh@gnu.org>
7259
781b4af6
SM
7260 * eshell/em-term.el (eshell-term-initialize):
7261 Use `cl-intersection' rather than `intersection'.
26b3353a 7262
51b60f53
XF
72632013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7264
fe054b63 7265 * vc/log-view.el: Doc fix.
d3ffe17c 7266 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7267
a0eb10b3 72682013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7269
7270 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7271 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7272 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7273 (eieio-unbound, eieio-default-superclass)
7274 (eieio--define-field-accessors, method-static, method-before)
7275 (method-primary, method-after, method-num-lists)
7276 (method-generic-before, method-generic-primary)
7277 (method-generic-after, method-num-slots)
7278 (eieio-specialized-key-to-generic-key)
7279 (eieio--check-type, class-v, class-p)
7280 (eieio-class-name, define-obsolete-function-alias)
7281 (eieio-class-parents-fast, eieio-class-children-fast)
7282 (same-class-fast-p, class-constructor, generic-p)
7283 (generic-primary-only-p, generic-primary-only-one-p)
7284 (class-option-assoc, class-option, eieio-object-p)
7285 (class-abstract-p, class-method-invocation-order)
7286 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7287 (eieio-class-un-autoload, eieio-defclass)
7288 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7289 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7290 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7291 (eieio-defgeneric-reset-generic-form)
7292 (eieio-defgeneric-form-primary-only)
7293 (eieio-defgeneric-reset-generic-form-primary-only)
7294 (eieio-defgeneric-form-primary-only-one)
7295 (eieio-defgeneric-reset-generic-form-primary-only-one)
7296 (eieio-unbind-method-implementations)
7297 (eieio--defmethod, eieio--typep)
7298 (eieio-perform-slot-validation, eieio-validate-slot-value)
7299 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7300 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7301 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7302 (eieio-slot-name-index, eieio-class-slot-name-index)
7303 (eieio-set-defaults, eieio-initarg-to-attribute)
7304 (eieio-attribute-to-initarg, eieio-c3-candidate)
7305 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7306 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7307 (eieio-class-precedence-list, eieio-generic-call-methodname)
7308 (eieio-generic-call-arglst, eieio-generic-call-key)
7309 (eieio-generic-call-next-method-list)
7310 (eieio-pre-method-execution-functions, eieio-generic-call)
7311 (eieio-generic-call-primary-only, eieiomt-method-list)
7312 (eieiomt-optimizing-obarray, eieiomt-install)
7313 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7314 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7315 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7316 (defclass): Remove `eval-and-compile' from macro.
7317 (call-next-method, shared-initialize): Instead of using
7318 `scoped-class' variable, use new eieio--scoped-class, and
7319 eieio--with-scoped-class.
7320 (initialize-instance): Rename local variable 'scoped-class' to
7321 'this-class' to remove ambiguitity from old global.
7322
7323 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7324 eieio.el.
4f405069
JB
7325 (eieio--scoped-class-stack): New variable.
7326 (eieio--scoped-class): New fcn.
890f7890
DE
7327 (eieio--with-scoped-class): New scoping macro.
7328 (eieio-defclass): Use pushnew instead of add-to-list.
7329 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7330 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7331 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7332 `scoped-class' variable, use new eieio--scoped-class, and
7333 eieio--with-scoped-class.
7334
7335 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7336
d105b0e2
TH
73372013-06-02 Tassilo Horn <tsdh@gnu.org>
7338
7339 * eshell/esh-ext.el (eshell-external-command): Pass args to
7340 `eshell-find-interpreter'.
7341 (eshell-find-interpreter): Add new second parameter ARGS.
7342
7343 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7344 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7345
7346 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7347 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7348
7349 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7350 (eshell-visual-options): New defcustom.
7351 (eshell-escape-control-x): Adapt docstring.
7352 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7353 `eshell-visual-options' in addition to `eshell-visual-commands'.
7354 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7355
f46305c8 73562013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7357
7358 * progmodes/python.el (python-indent-block-enders): Add break,
7359 continue and raise keywords.
7360
d870df21
GM
73612013-06-01 Glenn Morris <rgm@gnu.org>
7362
9133b82e
GM
7363 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7364
02c992ec 7365 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7366 * progmodes/cc-cmds.el (delete-forward-p):
7367 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7368 * progmodes/cc-engine.el (buffer-syntactic-context):
7369 * progmodes/cc-fonts.el (face-property-instance):
7370 * progmodes/cc-mode.el (set-keymap-parents):
7371 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7372 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7373 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7374 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7375 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7376
31e7b090
GM
7377 * progmodes/cc-vars.el (other): Emacs has this widget since
7378 at least 21.1, so don't (re)define it.
7379
d870df21
GM
7380 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7381 Replace the obsolete alias pcomplete-arg-quote-list.
7382
c75c93c7
LL
73832013-06-01 Leo Liu <sdl.web@gmail.com>
7384
7385 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7386 punctuation syntax.
7387 (inferior-octave-minimal-columns)
7388 (inferior-octave-last-column-width): New variables.
7389 (inferior-octave-track-window-width-change): New function.
7390 (inferior-octave-mode): Adjust column width so that Octave output,
7391 for example from 'ls', can fit into the window nicely.
7392
973d1e12
DG
73932013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7394
7395 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7396 Highlight expansions inside regexp literals.
7397
0888c286
GM
73982013-05-31 Glenn Morris <rgm@gnu.org>
7399
e26aac1f
GM
7400 * obsolete/sym-comp.el (symbol-complete):
7401 Replace obsolete completion-annotate-function.
7402
0888c286
GM
7403 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7404
19bb8e62
DG
74052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7406
781b4af6
SM
7407 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7408 New function, checks if point is inside a literal that allows
19bb8e62
DG
7409 expression expansion.
7410 (ruby-syntax-propertize-expansion): Use it.
7411 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7412 around the body.
7413
01dea85f
JL
74142013-05-30 Juri Linkov <juri@jurta.org>
7415
7416 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7417 to "\M-si".
7418 (isearch-invisible): New variable.
7419 (isearch-forward): Doc fix.
7420 (isearch-mode): Set `isearch-invisible'
7421 to the value of `search-invisible'.
7422 (isearch-toggle-case-fold): Doc fix.
7423 (isearch-toggle-invisible): New command.
7424 (isearch-query-replace): Let-bind `search-invisible'
7425 to the value of `isearch-invisible'.
7426 (isearch-search): Use `isearch-invisible' instead of
7427 `search-invisible'. Let-bind `search-invisible'
7428 to the value of `isearch-invisible'. (Bug#11378)
7429
ab1bdce5
JL
74302013-05-30 Juri Linkov <juri@jurta.org>
7431
7432 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7433 call when `query-flag' is nil and `search-invisible' is non-nil.
7434 (Bug#11746)
7435
d6d236e2
GM
74362013-05-30 Glenn Morris <rgm@gnu.org>
7437
8accd027
GM
7438 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7439
2a8bed1c
GM
7440 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7441 (cc-require): Suppress spurious "noruntime" warnings.
7442 (cc-require-when-compile): Use fboundp, for sake of compiler.
7443
d6d236e2
GM
7444 * progmodes/cc-mode.el: Move load of cc-vars before that of
7445 cc-langs (which in turn loads cc-vars), to quieten compiler.
7446
9190b35b
SM
74472013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * paren.el: Simplify the code.
7450 (show-paren-mode): Always start the timer.
7451 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7452 (show-paren--overlay, show-paren--overlay-1): Rename from
7453 show-paren-overlay and show-paren-overlay-1, and initialize to an
7454 overlay rather than to nil.
7455 (show-paren-function): Misc cleanup and simplifications.
7456
4f8d1cf6
SM
74572013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * paren.el (show-paren-data-function): New hook.
7460 (show-paren--default): New function, extracted from show-paren-function.
7461 (show-paren-function): Use show-paren-data-function.
7462
02d844b5
GM
74632013-05-30 Glenn Morris <rgm@gnu.org>
7464
d209d4a9
GM
7465 * ielm.el (ielm-map, ielm-complete-symbol):
7466 Use completion-at-point rather than obsolete functions.
7467 (inferior-emacs-lisp-mode): Doc fix.
7468 Set completion-at-point-functions, rather than
7469 comint-dynamic-complete-functions.
7470
2082faa6
GM
7471 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7472 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7473 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7474
dd8620de
GM
7475 * image.el (image-animated-p): Tweak definition.
7476
ceca95b1
GM
7477 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7478 (rlogin-process-connection-type): Tweak default. Add set-after.
7479 (rlogin-host): Doc fix.
7480 (rlogin): Tweak prompt.
7481 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7482
ee9f1acc
GM
7483 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7484 * progmodes/tcl.el (inferior-tcl-mode-map):
7485 Use completion-at-point rather than obsolete alias.
7486
45ce222e
GM
7487 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7488
02d844b5
GM
7489 * minibuffer.el (read-file-name-completion-ignore-case):
7490 Move before completion--in-region, for eager macro expansion.
7491
ac44d6c1
JL
74922013-05-29 Juri Linkov <juri@jurta.org>
7493
7494 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7495 for total count of matching lines. Add `global-matches' for total
7496 count of matches. Rename `matches' to `lines' for count of
7497 matching lines. Add `matches' for count of matches.
7498 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7499 to `prev-line' for line number of prev match endpt.
7500 Increment `matches' for every match. Print the number of
7501 matching lines in the header.
7502 (occur-context-lines): Rename `lines' to `curr-line'.
7503 Rename `prev-lines' to `prev-line'. (Bug#14017)
7504
3c9c9d38
JL
75052013-05-29 Juri Linkov <juri@jurta.org>
7506
7507 * replace.el (perform-replace): Add `skip-read-only-count',
7508 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7509 Increment them for corresponding conditions and report the number
7510 of skipped occurrences in the final message. (Bug#11746)
7511 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7512 (replace-string, replace-regexp): Doc fix.
7513
33e249a2
SM
75142013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7515
8e399682
SM
7516 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7517
33e249a2 7518 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7519 prog-mode-map (bug#14504).
33e249a2 7520
f236dd84
LL
75212013-05-29 Leo Liu <sdl.web@gmail.com>
7522
7523 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7524 (octave-help): Small simplification.
7525
7526 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7527 off the highlight first.
7528
3694d13f
GM
75292013-05-29 Glenn Morris <rgm@gnu.org>
7530
03983bdc
GM
7531 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7532 Handle idlwave-last-system-routine-info-cons-cell being nil.
7533
bc74a74a
GM
7534 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7535 (idlwave-write-paths): Simplify via with-temp-buffer.
7536
8b394200
GM
7537 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7538 * emulation/cua-rect.el: Also load cua-base at run time.
7539
3694d13f
GM
7540 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7541 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7542 (cperl-imenu-on-info): Require imenu.
7543
336d7284
AM
75442013-05-28 Alan Mackenzie <acm@muc.de>
7545
7546 Handle "capitalised keywords" correctly.
33e249a2 7547 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7548
cb29c582
AG
75492013-05-28 Aidan Gauland <aidalgol@amuri.net>
7550
781b4af6 7551 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7552
690e44b2
GM
75532013-05-28 Glenn Morris <rgm@gnu.org>
7554
e658d75c
GM
7555 * vc/vc-arch.el (vc-exec-after): Declare.
7556 (vc-switches): Autoload.
7557 * vc/vc-bzr.el: No need to require vc when compiling.
7558 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7559 (vc-resynch-buffer, vc-dir-refresh): Declare.
7560 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7561 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7562 (vc-resynch-buffer): Declare.
7563 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7564 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7565 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7566 (grep-read-regexp, grep-read-files, grep-expand-template)
7567 (vc-dir-refresh): Declare.
7568 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7569 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7570 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7571 * vc/vc-mtn.el (vc-exec-after): Declare.
7572 (vc-switches): Autoload.
7573 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7574 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7575 (vc-file-tree-walk): Declare.
712b9732
GM
7576 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7577 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7578 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7579 * vc/vc-svn.el (vc-exec-after): Declare.
7580 (vc-switches, vc-setup-buffer): Autoload.
7581 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7582 Autoload.
7583 (vc-resynch-buffer): Declare.
7584
98e87fb3
GM
7585 * obsolete/fast-lock.el (byte-compile-warnings):
7586 Don't warn about obsolete features in this obsolete file.
7587
f5379553
GM
7588 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7589 Move definition before use.
7590
7a20ef83
GM
7591 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7592 (dun-unix-verbs): Remove dun-zippy.
7593 (dun-zippy): Remove function.
7594
690e44b2
GM
7595 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7596
3a52ccf7
JL
75972013-05-27 Juri Linkov <juri@jurta.org>
7598
7599 * replace.el (replace-search): New function with code moved out
7600 from `perform-replace'.
7601 (replace-highlight, replace-dehighlight): Move function definitions
7602 up closer to `replace-search'. (Bug#11746)
7603
d289938a
JL
76042013-05-27 Juri Linkov <juri@jurta.org>
7605
7606 * replace.el (perform-replace): Ignore invisible matches.
7607 In addition to checking `query-replace-skip-read-only', also
7608 filter out matches by calling `run-hook-with-args-until-failure'
7609 on `isearch-filter-predicates', and also check `search-invisible'
7610 for t or call `isearch-range-invisible'.
7611 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7612
66fc57e3
JL
76132013-05-27 Juri Linkov <juri@jurta.org>
7614
7615 * isearch.el (isearch-filter-predicates): Rename from
7616 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7617 (isearch-message-prefix): Display text from the property
7618 `isearch-message-prefix' of the currently active filters.
7619 (isearch-search): Don't compare `isearch-filter-predicate' with
7620 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7621 on `isearch-filter-predicates'. Also check `search-invisible' for t
7622 or call `isearch-range-invisible'.
7623 (isearch-filter-visible): Make obsolete.
7624 (isearch-lazy-highlight-search):
7625 Call `run-hook-with-args-until-failure' on
7626 `isearch-filter-predicates' and use `isearch-range-invisible'.
7627
7628 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7629 `isearch-filter-predicates' instead of `funcall'ing
7630 `isearch-filter-predicate'.
7631 (Info-mode): Set `Info-isearch-filter' to
7632 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7633
7634 * dired-aux.el (dired-isearch-filter-predicate-orig):
7635 Remove variable.
7636 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7637 (dired-isearch-filenames-end): Add and remove
7638 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7639 instead of changing the value of `isearch-filter-predicate'.
7640 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7641 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7642 Put property `isearch-message-prefix' to "filename " on
7643 `dired-isearch-filter-filenames'.
7644
7645 * wdired.el (wdired-change-to-wdired-mode):
7646 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7647 locally instead of changing `isearch-filter-predicate'.
7648 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7649
f1a60a0f
DG
76502013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7651
7652 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7653 return the commit hash (Bug#14459). Also set the
7654 `vc-git-detached' property.
7655 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7656 (vc-git-mode-line-string): Use the same help-echo format whether
7657 in detached mode or not, because we know the actual revision now.
7658 When in detached mode, shorten the revision to 7 chars.
7659
7f17cc40
SM
76602013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * emacs-lisp/easy-mmode.el (define-minor-mode):
7663 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7664 mode hook and provide a docstring.
7665
25c8401c
AM
76662013-05-27 Alan Mackenzie <acm@muc.de>
7667
7668 Remove spurious syntax-table text properties inserted by C-y.
7669 * progmodes/cc-mode.el (c-after-change): Also clear hard
7670 syntax-table property with value nil.
7671
dde84790
MA
76722013-05-27 Michael Albinus <michael.albinus@gmx.de>
7673
7674 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7675 when reading the events; the buffer layout shall not be changed.
7676
837fd9af
LL
76772013-05-27 Leo Liu <sdl.web@gmail.com>
7678
7679 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7680 New variable.
7681 (inferior-octave-directory-tracker): Automatically re-sync
7682 default-directory.
7683 (octave-help): Improve handling of 'See also'.
7684
4fd996b3
SM
76852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7686
416f1802
SM
7687 * doc-view.el: Minor naming convention tweaks.
7688 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7689
4fd996b3
SM
7690 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7691 even if there's no `display' property yet (bug#14435).
7692
a052ef3b
EZ
76932013-05-25 Eli Zaretskii <eliz@gnu.org>
7694
4fd996b3 7695 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7696
7697 * Makefile.in (custom-deps, finder-data, autoloads)
7698 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7699 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7700 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7701
c9023370
SM
77022013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7705 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7706 Don't burp at EOB.
c9023370 7707
24d699fa
LL
77082013-05-25 Leo Liu <sdl.web@gmail.com>
7709
7710 * comint.el (comint-previous-matching-input): Do not flood the
7711 *Messages* buffer with trivial messages.
7712
17e5c0cc
SM
77132013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * progmodes/flymake.el (flymake-nop): Don't return a string.
7716 (flymake-set-at): Fix typo.
7717
7718 * simple.el (read--expression): New function, extracted from
7719 eval-expression. Set completion-at-point-functions (bug#14465).
7720 (eval-expression, eval-minibuffer): Use it.
7721
5d028165
XF
77222013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7723
7724 * progmodes/flymake.el (flymake-save-buffer-in-file)
7725 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7726 (flymake-selected-frame, flymake-log, flymake-ins-after)
7727 (flymake-set-at, flymake-get-buildfile-from-cache)
7728 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7729 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7730 Refine the doc string.
7731 (flymake-get-file-name-mode-and-masks): Reformat.
7732 (flymake-get-real-file-name-function): Fix a minor bug.
7733
7a1d7ba7
JL
77342013-05-24 Juri Linkov <juri@jurta.org>
7735
7736 * progmodes/grep.el (grep-mode-font-lock-keywords):
7737 Support =linenumber= format used by git-grep for lines with
7738 function names. (Bug#13549)
7739
650cff3d
SM
77402013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7743 0 after a semi-colon; it works better for smie-auto-fill.
7744 (octave--indent-new-comment-line): New function.
7745 (octave-indent-new-comment-line): Use it (indirectly).
7746 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7747 modify comment-line-break-function.
7748
7749 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7750 (smie-setup): Use add-function to set it.
7751
9631677d
SS
77522013-05-24 Sam Steingold <sds@gnu.org>
7753
7754 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7755 argument (before the `interactive' argument).
7756
50105835
SM
77572013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * image-mode.el (image-mode-winprops): Add winprops to
7760 image-mode-winprops-alist before running
7761 image-mode-new-window-functions.
7762 * doc-view.el (doc-view-new-window-function): Don't delay
7763 doc-view-goto-page via timers (bug#14435).
7764
57b9823e
TH
77652013-05-24 Tassilo Horn <tsdh@gnu.org>
7766
7767 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7768 (doc-view-desktop-save-buffer): New function.
7769 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7770 (desktop-buffer-mode-handlers):
7771 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7772 handler.
7773 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7774 `desktop-save-buffer' function.
7775
91aafa16
MA
77762013-05-24 Michael Albinus <michael.albinus@gmx.de>
7777
7778 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7779 (tramp-gvfs-file-name-handler): Raise a user error when
7780 `tramp-gvfs-enabled' is nil.
7781 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7782 Do not raise a user error when loading package. (Bug#14447)
7783
ec076379
MA
7784 * net/xesam.el: Move to obsolete/.
7785
db785726
GM
77862013-05-24 Glenn Morris <rgm@gnu.org>
7787
af5c7606
GM
7788 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7789
e5d1916a
GM
7790 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7791
ded62b08
GM
7792 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7793 (Info-find-node, Man-getpage-in-background): Declare.
7794
9e614a3f
GM
7795 * mail/unrmail.el (unrmail):
7796 Replace obsolete detect-coding-with-priority.
7797
892f8ca3
GM
7798 * net/socks.el (socks-split-string): Use this rather than split-string.
7799 (socks-nslookup-host): Update for above change.
7800 (dynamic-choice, s5-dynamic-choice-match)
7801 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7802 Comment out unused code.
7803
3c291973
GM
7804 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7805 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7806 (gud-tooltip-echo-area): Make obsolete.
7807 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7808
43cc956b
GM
7809 * progmodes/js.el (js--optimize-arglist): Declare.
7810
dab49a3b
GM
7811 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7812
36b9d085
GM
7813 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7814 (ediff-window-C): Declare.
7815
e354ae76
GM
7816 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7817 Tweak requires to silence compiler.
7818
b8e57bf4
GM
7819 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7820 (he-search-string, he-tried-table, he-expand-list)
7821 (he-init-string, he-string-member, he-substitute-string)
7822 (he-reset-string): Declare.
7823
db785726
GM
7824 * obsolete/options.el (list-options): Use custom-variable-p,
7825 rather than obsolete alias.
7826
b3531901
SS
78272013-05-23 Sam Steingold <sds@gnu.org>
7828
7829 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7830 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7831 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7832
bdda4c66
SM
78332013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * emacs-lisp/smie.el (smie-indent-forward-token)
7836 (smie-indent-backward-token): Handle string tokens (bug#14381).
7837
c43d45f9
TH
78382013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7839
fe1eb856
RS
7840 * ielm.el (ielm-menu): New menu.
7841 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7842
fe1eb856
RS
78432013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7844
7845 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7846 Fix deactivate action.
7847
7848 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7849 Add cleveref macros.
074dd971 7850
c43d45f9
TH
7851 * lisp/textmodes/reftex-parse.el
7852 (reftex-locate-bibliography-files): Accept options for
7853 bibliography commands.
7854 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7855 Add addbibresource. Basic Biblatex support.
7856
7764286e
MA
78572013-05-23 Michael Albinus <michael.albinus@gmx.de>
7858
7859 * net/tramp-gvfs.el (top):
7860 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7861 when loading package. (Bug#14447)
7862
d361bc10
GM
78632013-05-23 Glenn Morris <rgm@gnu.org>
7864
8fa23984
GM
7865 * progmodes/js.el: No need to load comint when compiling.
7866 (ring-insert, comint-send-string, comint-send-input)
7867 (comint-last-input-end, ido-chop): Declare.
7868
a5c7df1a
GM
7869 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7870 * vc/ediff-mult.el: Adjust requires.
7871 (ediff-directories-internal, ediff-directory-revisions-internal)
7872 (ediff-patch-file-internal): Declare.
7873 * vc/ediff-ptch.el: Adjust requires.
7874 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7875 (ediff-find-file): Autoload.
7876 * vc/ediff-util.el: No need to load ediff when compiling.
7877 (ediff-regions-internal): Declare.
7878 * vc/ediff-wind.el: Adjust requires.
7879 (ediff-compute-toolbar-width): Define when compiling.
7880 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7881 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7882 (dired-get-filename, dired-get-marked-files)
7883 (ediff-last-dir-patch, ediff-patch-default-directory)
7884 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7885 (ediff-patch-buffer-internal): Declare.
7886
e2aec513
GM
7887 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7888 (ispell-process, ispell-buffer-local-words, lm-summary)
7889 (lm-section-start, lm-section-end): Declare.
7890 (checkdoc-ispell-init): Simplify.
7891
e68bbd7c
GM
7892 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7893 (he-string-member, he-reset-string, he-substitute-string): Declare.
7894
7efe0991
GM
7895 * eshell/em-ls.el: Adjust requires.
7896 (eshell-glob-regexp): Declare.
f87b1284
GM
7897 * eshell/em-tramp.el: Adjust requires.
7898 (eshell-parse-command): Autoload.
7899 * eshell/em-xtra.el: Adjust requires.
7900 (eshell-parse-command): Autoload.
7901 * eshell/esh-ext.el: Adjust requires.
7902 (eshell-parse-command, eshell-close-handles): Autoload.
7903 * eshell/esh-io.el: Adjust requires.
7904 (eshell-output-filter): Autoload.
7905 * eshell/esh-util.el: No need to load tramp when compiling.
7906 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7907 Declare.
7908 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7909 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7910 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7911 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7912 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7913 * eshell/esh-opt.el, eshell/esh-proc.el:
7914 * eshell/esh-var.el: Adjust requires.
7915 * eshell/eshell.el: Do not require esh-util twice.
7916 (eshell-add-input-to-history): Declare.
7917 (eshell-command): Check history module is active before using it.
7918
d361bc10
GM
7919 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7920
85d090a9
LL
79212013-05-22 Leo Liu <sdl.web@gmail.com>
7922
7923 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7924
5d0acd9d
MA
79252013-05-22 Michael Albinus <michael.albinus@gmx.de>
7926
7927 * autorevert.el (auto-revert-notify-add-watch)
7928 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7929 it indicates changes in file modification time.
7930
0cdffd7d
GM
79312013-05-22 Glenn Morris <rgm@gnu.org>
7932
ca5995ec
GM
7933 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7934 Always delete the autoloaded function from the noruntime and
7935 unresolved functions lists.
7936
6450907e
GM
7937 * allout.el: No need to load epa, epg, overlay when compiling.
7938 (epg-context-set-passphrase-callback, epg-list-keys)
7939 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7940 (epg-key-user-id-list): Declare.
7941
9c6906f6
GM
7942 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7943 (viper-set-parsing-style-toggling-macro)
7944 (viper-set-emacs-state-searchstyle-macros):
7945 Use called-interactively-p on Emacs.
7946 (viper-looking-back): Make it an obsolete alias. Update callers.
7947 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7948 Use looking-back rather than viper-looking-back.
7949 (viper-tmp-insert-at-eob, viper-enlarge-region)
7950 (viper-read-string-with-history, viper-register-to-point)
7951 (viper-append-to-register, viper-change-state-to-vi)
7952 (viper-backward-char-carefully, viper-forward-char-carefully)
7953 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7954 (viper-change-state-to-emacs): Declare.
7955 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7956 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7957 * emulation/viper-mous.el: Do not load viper-cmd.
7958 (viper-backward-char-carefully, viper-forward-char-carefully)
7959 (viper-forward-word, viper-adjust-window): Declare.
7960
5f70c169
GM
7961 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7962
b1b7f300
GM
7963 * progmodes/idlw-help.el (idlwave-help-fontify):
7964 Use called-interactively-p.
7965
f6ebbb46
GM
7966 * term/w32console.el (w32-get-console-codepage)
7967 (w32-get-console-output-codepage): Declare.
7968
0cdffd7d
GM
7969 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7970 Remove unnecessary declarations.
7971 (dframe-message): Doc fix.
7972
7973 * info.el (dframe-select-attached-frame, dframe-current-frame):
7974 Declare.
7975
7976 * speedbar.el (speedbar-message): Make it an obsolete alias.
7977 Update all callers.
7978 (speedbar-with-attached-buffer)
7979 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7980 (speedbar-with-writable): Use backquote.
7981 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7982 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7983 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7984 rather than speedbar- aliases.
7985 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7986 (speedbar-make-specialized-keymap, speedbar-insert-button)
7987 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7988 (speedbar-do-function-pointer): Declare.
7989 (rmail-speedbar-button, rmail-speedbar-find-file)
7990 (rmail-speedbar-move-message):
7991 Use dframe-with-attached-buffer rather than speedbar- alias.
7992 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7993 (dframe-message, speedbar-make-specialized-keymap)
7994 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7995 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7996 (speedbar-insert-button, dframe-select-attached-frame)
7997 (dframe-maybee-jump-to-attached-frame)
7998 (speedbar-change-initial-expansion-list)
7999 (speedbar-previously-used-expansion-list-name): Declare.
8000 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8001 Use dframe-message, dframe-with-attached-buffer rather than
8002 speedbar- aliases.
8003 (gud-sentinel): Silence compiler.
8004 * progmodes/vhdl-mode.el (speedbar-refresh)
8005 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8006 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8007 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8008 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8009 (speedbar-file-lists, speedbar-make-tag-line)
8010 (speedbar-line-directory, speedbar-goto-this-file)
8011 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8012 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8013 (speedbar-make-button, speedbar-reset-scanners)
8014 (speedbar-files-item-info, speedbar-line-text)
8015 (speedbar-find-file-in-frame, speedbar-set-timer)
8016 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8017 (speedbar-with-writable): Do not (re)define it.
8018 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8019 rather than speedbar- alias.
8020
ee44b62a
LL
80212013-05-21 Leo Liu <sdl.web@gmail.com>
8022
8023 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8024 menu items.
8025 (octave-mode): Tweak fill-nobreak-predicate.
8026 (inferior-octave-startup): Check process to avoid infinite loop.
8027 (inferior-octave): Pop to buffer first to show abornmal process
8028 exit information.
8029
640f050f
GM
80302013-05-21 Glenn Morris <rgm@gnu.org>
8031
79458038
GM
8032 * printing.el (pr-menu-bar): Define when compiling.
8033
9cc3e83f
LL
80342013-05-21 Leo Liu <sdl.web@gmail.com>
8035
8036 * progmodes/octave.el (octave-auto-fill): Remove.
8037 (octave-indent-new-comment-line): Improve.
8038 (octave-mode): Use auto fill mode through
4f405069 8039 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8040 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8041 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8042 (octave-help): Show parent directory.
8043
f440830d
GM
80442013-05-21 Glenn Morris <rgm@gnu.org>
8045
8046 * files.el (dired-unmark):
8047 * progmodes/gud.el (gdb-input): Update declarations.
8048
8049 * calculator.el (electric, ehelp): No need to load when compiling.
8050 (Electric-command-loop, electric-describe-mode): Declare.
8051
8052 * doc-view.el (doc-view-current-converter-processes): Move before use.
8053
8054 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8055 Move MODE-set-explicitly definition before use.
8056
8057 * international/mule-diag.el (mule-diag):
8058 Don't use obsolete window-system-version.
8059
8060 * mail/feedmail.el (smtpmail): No need to load when compiling.
8061 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8062
8063 * mail/mail-utils.el (rfc822): No need to load when compiling.
8064 (rfc822-addresses): Autoload it.
8065 (mail-strip-quoted-names): Trivial simplification.
8066
8067 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8068 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8069
8070 * net/snmp-mode.el (tempo): Don't duplicate requires.
8071
8072 * progmodes/prolog.el (info): No need to load when compiling.
8073 (comint): Require before shell requires it.
8074 (Info-goto-node): Autoload it.
8075 (Info-follow-nearest-node): Declare.
8076 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8077
8078 * textmodes/artist.el (picture-mode-exit): Declare.
8079
8080 * textmodes/reftex-parse.el (reftex-parse-from-file):
8081 Trivial rewrite so the compiler can parse it better.
8082
b4da2cbb
LL
80832013-05-20 Leo Liu <sdl.web@gmail.com>
8084
8085 * progmodes/octave.el (octave-help-mode-map)
8086 (octave-help-mode-finish-hook): New variables.
8087 (octave-help-mode, octave-help-mode-finish): New functions.
8088 (octave-help): Use octave-help-mode.
8089
33c0f65b
GM
80902013-05-20 Glenn Morris <rgm@gnu.org>
8091
8092 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8093
1a0a0a8a
DG
80942013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8095
8096 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8097 start at point, so that expansion starting right after opening
8098 slash in a regexp is recognized.
8099 (ruby-syntax-before-regexp-re): New defvar, extracted from
8100 ruby-syntax-propertize-function. Since the value of this regexp
8101 is looked up at runtime now, we should be able to turn
8102 `ruby-syntax-methods-before-regexp' into a defcustom later.
8103 (ruby-syntax-propertize-function): Split regexp matching into two
8104 parts, for opening and closing slashes. That allows us to skip
8105 over string interpolations and support multiline regexps.
8106 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8107 for them, which calls `ruby-syntax-propertize-expansion'.
8108 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8109 call to `ruby-syntax-propertize-function'.
8110 (ruby-syntax-propertize-expansion): Extracted from
8111 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8112 (ruby-syntax-propertize-percent-literal): Leave point right after
8113 the percent symbol, so that the expression expansion rule can
8114 propertize the contents.
462388b6
DG
8115 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8116 heredoc openers.
8117 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8118
c1a6c0a4
JL
81192013-05-18 Juri Linkov <juri@jurta.org>
8120
8121 * man.el (Man-default-man-entry): Remove `-' from the end
8122 of the default value. (Bug#14400)
8123
8051fccd
GM
81242013-05-18 Glenn Morris <rgm@gnu.org>
8125
8126 * comint.el (comint-password-prompt-regexp):
8127 Allow "password for XXX" where XXX contains colons (eg https://...).
8128
5e80b74f
LL
81292013-05-18 Leo Liu <sdl.web@gmail.com>
8130
8131 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8132 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8133 (octave-source-directories): Don't check process.
8134 (octave-source-directories, octave-find-definition): Doc fix.
8135
521a54c5
GM
81362013-05-18 Glenn Morris <rgm@gnu.org>
8137
86a94b05
GM
8138 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8139 Remove backspace/delete bindings. (Bug#14392)
8140
521a54c5
GM
8141 * cus-dep.el (custom-make-dependencies): Sort the output.
8142 (custom-versions-load-alist): Convert comment to doc.
8143
42caeb89
LL
81442013-05-17 Leo Liu <sdl.web@gmail.com>
8145
8146 * newcomment.el (comment-search-backward): Stricter in finding
8147 comment start. (Bug#14303)
8148
8149 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8150 (octave-comment-start-skip): Properly anchored.
8151
e219dd97
LL
81522013-05-17 Leo Liu <sdl.web@gmail.com>
8153
fe1eb856
RS
8154 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8155 Clean up when turned off. (Bug#14395)
e219dd97
LL
8156 (smie--highlight-matching-block-overlay): No longer buffer-local.
8157 (smie-highlight-matching-block): Adjust.
8158
dc5dcb4b
PE
81592013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8160
8161 Doc string fix for "nanoseconds" (Bug#14406).
8162 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8163 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8164
1db165f0
JB
81652013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8166
8167 * calc/calc-units.el (math-extract-units): Preserve powers
8168 of units.
8169
c7a8fcac
LL
81702013-05-17 Leo Liu <sdl.web@gmail.com>
8171
8172 * subr.el (delete-consecutive-dups): New function.
8173 * ido.el (ido-set-matches-1): Use it.
8174 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8175 * ido.el (ido-remove-consecutive-dups): Remove.
8176
f678b18a
SM
81772013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8180 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8181 regexp-opt's `words'.
8182
ebfe68e8
LL
81832013-05-16 Leo Liu <sdl.web@gmail.com>
8184
8185 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8186 (smie--highlight-matching-block-overlay)
8187 (smie--highlight-matching-block-lastpos)
8188 (smie--highlight-matching-block-timer): New variables.
8189 (smie-highlight-matching-block): New function.
8190 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8191 (smie-setup): Conditionally enable smie-blink-matching-open.
8192
bc8bc17d
WS
81932013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8194
8195 Sync with upstream verilog-mode r840.
8196 * progmodes/verilog-mode.el (verilog-mode-version)
8197 (verilog-mode-release-date): Update.
8198 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8199 (verilog-sig-tieoff): Fix string error on
8200 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8201 (verilog-read-decls): Fix parameters confusing
8202 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8203
df065a0b
EZ
82042013-05-16 Eli Zaretskii <eliz@gnu.org>
8205
8206 * subr.el (reveal-filename): New function.
8207
8208 * loadup.el: Compute Emacs executable versions on MS-Windows,
8209 where executables have the .exe extension. Add a hard link
8210 emacs-XX.YY.ZZ.exe on MS-Windows.
8211
8212 * Makefile.in (XARGS_LIMIT): New variable.
8213 (custom-deps, finder-data, autoloads)
8214 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8215 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8216 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8217 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8218
2d4bf34b
LL
82192013-05-16 Leo Liu <sdl.web@gmail.com>
8220
8221 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8222 (octave-mode-menu, octave-mode-map): Remove its uses.
8223
6b9c2d85
RZ
82242013-05-16 Reto Zimmermann <reto@gnu.org>
8225
8226 Sync with upstream vhdl mode v3.34.2.
8227 * progmodes/vhdl-mode.el: Use `push' throughout.
8228 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8229 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8230 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8231 (vhdl-actual-generic-name): New option to derive actual generic name.
8232 (vhdl-port-paste-signals): Replace formal by actual generics.
8233 (vhdl-beautify): New name for old group vhdl-align. Update users.
8234 (vhdl-beautify-options): New option.
8235 (vhdl-last-input-event): New compat alias. Use throughout.
8236 (vhdl-goto-line): Replace user level function `goto-line'.
8237 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8238 vhdl-fix-statement-buffer.
8239 (vhdl-create-mode-menu): Add some entries.
8240 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8241 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8242 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8243 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8244 to force statements on one line.
8245 (vhdl-remove-trailing-spaces-region):
8246 New, split from vhdl-remove-trailing-spaces.
8247 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8248 Respect vhdl-beautify-options.
8249 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8250 (vhdl-update-sensitivity-list): Not add with index if exists without.
8251 Not include array index with signal. Ignore keywords in comments.
8252 (vhdl-get-visible-signals): Regexp tweaks.
8253 (vhdl-template-component-inst): Handle empty library.
8254 (vhdl-template-type): Add template for 'enum' type.
8255 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8256 Use vhdl-replace-string.
8257 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8258 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8259 (vhdl-speedbar-initialize): Update for above name change.
8260 (vhdl-compose-wire-components): Fix in handling of constants.
8261 (vhdl-error-regexp-emacs-alist): New variable.
8262 (vhdl-error-regexp-add-emacs): New function;
8263 adds support for new compile.el (Emacs 22+)
8264 (vhdl-generate-makefile-1): Change target order for single lib. units.
8265 Allow use of absolute file names.
8266
9df4ec5e
LL
82672013-05-16 Leo Liu <sdl.web@gmail.com>
8268
8269 * simple.el (prog-indent-sexp): Indent enclosing defun.
8270
f5ba00a6
GM
82712013-05-15 Glenn Morris <rgm@gnu.org>
8272
ed8be7ff
GM
8273 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8274 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8275 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8276 (whitespace-highlight): Move to whitespace group.
8277
8278 * comint.el (comint-source):
8279 * pcmpl-linux.el (pcmpl-linux):
8280 * shell.el (shell-faces):
8281 * eshell/esh-opt.el (eshell-opt):
8282 * international/ccl.el (ccl): Remove empty custom groups.
8283
8284 * completion.el (dynamic-completion-mode):
8285 * jit-lock.el (jit-lock-debug-mode):
8286 * minibuffer.el (completion-in-region-mode):
8287 * type-break.el (type-break-mode-line-message-mode)
8288 (type-break-query-mode):
8289 * emulation/tpu-edt.el (tpu-edt-mode):
8290 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8291 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8292 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8293
8294 * term/xterm.el (xterm): Change parent group to terminals.
8295
8296 * master.el (master): Remove empty custom group.
8297 (master-mode): Remove unused :group argument.
8298 * textmodes/refill.el (refill): Remove empty custom group.
8299 (refill-mode): Remove unused :group argument.
8300
8301 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8302
82a7c41b
GM
8303 * cus-dep.el: Provide a feature.
8304 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8305 Don't mistakenly ignore files whose basenames match a basename
8306 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8307 Add a fallback method for getting :group.
f5ba00a6 8308
6d65486d
JL
83092013-05-15 Juri Linkov <juri@jurta.org>
8310
da547b32
JL
8311 * isearch.el (isearch-char-by-name): Rename from
8312 `isearch-insert-char-by-name'. Doc fix.
8313 (isearch-forward): Mention `isearch-char-by-name' in
8314 the docstring. (Bug#13348)
8315
6d65486d
JL
8316 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8317 `exit-minibuffer' instead of
8318 `isearch-nonincremental-exit-minibuffer'.
8319 (isearch-edit-string): Remove mention of
8320 `isearch-nonincremental-exit-minibuffer' from docstring.
8321 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8322 (isearch-forward-exit-minibuffer)
8323 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8324
c9990474
SM
83252013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8326
6e911150
SM
8327 * loadup.el: Just use unversioned DOC.
8328
c9990474
SM
8329 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8330 literals as extending to EOB.
8331 (nxml-last-fontify-end): Remove unused variable.
8332 (nxml-after-change1): Use with-silent-modifications.
8333 (nxml-extend-after-change-region): Simplify.
8334 (nxml-extend-after-change-region1): Remove function.
8335 (nxml-after-change1): Don't adjust for dependent regions.
8336 (nxml-fontify-matcher): Simplify.
8337 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8338 (xmltok-add-dependent): Remove function.
8339 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8340 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8341 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8342 unclosed <[[, <?, comment, and other literals as extending to EOB.
8343 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8344 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8345 Remove functions.
8346 (rng-do-some-validation-1): Don't mark dependent regions.
8347 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8348 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8349 (nxml-clear-dependent-regions): Remove functions.
8350 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8351 (nxml-ensure-scan-up-to-date):
8352 Don't clear&mark dependent regions.
8353
e3772e98
LL
83542013-05-15 Leo Liu <sdl.web@gmail.com>
8355
c9990474
SM
8356 * progmodes/octave.el (octave-goto-function-definition):
8357 Improve and fix callers.
e3772e98 8358
5ac2eb34
SM
83592013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8360
c46c57b0
SM
8361 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8362 the setter (bug#14387).
8363
5ac2eb34
SM
8364 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8365 surrounding group (bug#14402).
8366
180ed218
JL
83672013-05-14 Juri Linkov <juri@jurta.org>
8368
8369 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8370 (Bug#14390)
8371
0ac0fecb
GM
83722013-05-14 Glenn Morris <rgm@gnu.org>
8373
8374 * progmodes/f90.el (f90-imenu-generic-expression):
8375 Fix typo in 2013-05-08 change. (Bug#14402)
8376
2e78e6a7
JPG
83772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8378
5ac2eb34
SM
8379 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8380 Remove signals for which replies are never received.
2e78e6a7 8381
53267cca
JPG
83822013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8383
8384 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8385 (gdb-handler-alist, gdb-handler-number): Remove variables.
8386 (gdb-handler-list): New variable.
8387 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8388 (gdb-pending-handler-p, gdb-handle-reply)
8389 (gdb-remove-all-pending-triggers): New functions.
8390 (gdb-discard-unordered-replies): New defcustom.
8391 (gdb-handler): New defstruct.
8392 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8393 instead of gdb-pending-triggers. Update docstring.
8394 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8395 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8396 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8397 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8398 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8399 (gdb-frame-handler): Pending triggers are now automatically managed.
8400 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8401 Remove argument.
8402 (gdb-input): Automatically handles pending triggers. Update docstring.
8403 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8404 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8405 Update comments.
8406 (gdb-done-or-error): Now use gdb-handle-reply.
8407
d04ce803
JPG
84082013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8409
8410 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8411 gdb-debug-log.
8412
0114073a
GM
84132013-05-14 Glenn Morris <rgm@gnu.org>
8414
8415 * subr.el (user-emacs-directory-warning): New option.
8416 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8417
4d25fd7e
LL
84182013-05-14 Leo Liu <sdl.web@gmail.com>
8419
8420 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8421 during redisplay.
8422 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8423 (octave-font-lock-texinfo-comment): Fix invalid search bound
8424 error: wrong side of point.
4d25fd7e 8425
27c8b6eb
GM
84262013-05-14 Glenn Morris <rgm@gnu.org>
8427
61aaeb01
GM
8428 * progmodes/flymake.el (flymake-xml-program): New option.
8429 (flymake-xml-init): Use it.
8430
5bf90bc5
GM
8431 * term/xterm.el: Provide a feature.
8432
8433 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8434
f4c7dfd2
GM
84352013-05-13 Glenn Morris <rgm@gnu.org>
8436
8437 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8438 Add compat aliases as a hack workaround. (Bug#14384)
8439
2aeb3a1d
LL
84402013-05-13 Leo Liu <sdl.web@gmail.com>
8441
b0e069c2
LL
8442 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8443 ###, and %!.
f5a9432f
LL
8444 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8445 C-M-q.
b0e069c2
LL
8446 (octave-comment-start-skip): Include %!.
8447 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8448
30ea8374
LL
84492013-05-12 Leo Liu <sdl.web@gmail.com>
8450
8451 * progmodes/octave.el (inferior-octave-startup): Store the value
8452 of __octave_srcdir__ for octave-source-directories.
8453 (inferior-octave-check-process): New function refactored out of
8454 inferior-octave-send-list-and-digest.
8455 (octave-source-directories)
8456 (octave-find-definition-filename-function): New variables.
8457 (octave-source-directories)
8458 (octave-find-definition-default-filename): New functions.
8459 (octave-find-definition): Improve to find functions implemented in C++.
8460
472a3834
GM
84612013-05-12 Glenn Morris <rgm@gnu.org>
8462
8463 * calendar/diary-lib.el (diary-outlook-format-1):
8464 Don't include dayname in the output. (Bug#14349)
8465
3191b52f
GM
84662013-05-11 Glenn Morris <rgm@gnu.org>
8467
0060ac73
GM
8468 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8469
3191b52f
GM
8470 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8471 Treat cc-provide like provide.
8472
e065ba74
KR
84732013-05-11 Kevin Ryde <user42@zip.com.au>
8474
8475 * cus-dep.el (custom-make-dependencies):
8476 Use generated-autoload-load-name for the sake of files such
8477 such cedet/semantic/bovine/c.el, where the base file name
8478 is not in load-path. (Bug#5277)
8479
36f84c37
GM
84802013-05-11 Glenn Morris <rgm@gnu.org>
8481
8482 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8483 Provide features.
8484
c8730c3a
LL
84852013-05-11 Leo Liu <sdl.web@gmail.com>
8486
8487 * progmodes/octave.el (octave-indent-comment): Improve.
8488 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8489 (octave-eldoc-function-signatures, octave-eldoc-function):
8490 New functions.
c8730c3a
LL
8491 (octave-mode, inferior-octave-mode): Add eldoc support.
8492
212e29f2
RS
84932013-05-11 Richard Stallman <rms@gnu.org>
8494
8495 * epa.el (epa-decrypt-file): Take output file name as argument
8496 and read it using `interactive'.
8497
083fe0d7
LL
84982013-05-11 Leo Liu <sdl.web@gmail.com>
8499
8500 * progmodes/octave.el (octave-beginning-of-line)
8501 (octave-end-of-line): Check before using up-list because it jumps
8502 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8503 (octave-indent-comment): New function.
8504 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8505 (octave-begin-keywords, octave-end-keywords)
8506 (octave-reserved-words, octave-smie-bnf-table)
8507 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8508
8582e4c4
GM
85092013-05-11 Glenn Morris <rgm@gnu.org>
8510
f20def1f
GM
8511 * faces.el (internal-face-x-get-resource):
8512 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8513 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8514 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8515 Fix declarations.
f20def1f 8516
445f95e2
GM
8517 * calc/calc-menu.el: Make it loadable in isolation.
8518
8519 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8520 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8521 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8522 (eudc-bbdb-query-internal): Require 'bbdb.
8523
99fb2756
GM
8524 * lpr.el (lpr-headers-switches):
8525 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8526
8527 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8528
0da7ad96
GM
8529 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8530
8582e4c4
GM
8531 * term.el (term-set-escape-char): Make it idempotent.
8532
f71c50d0
LL
85332013-05-10 Leo Liu <sdl.web@gmail.com>
8534
5ac2eb34
SM
8535 * progmodes/octave.el (inferior-octave-completion-table):
8536 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8537 completion due to bug#11906.
8538 (octave-beginning-of-defun): Re-write to be more general.
8539
d5837773
GM
85402013-05-10 Glenn Morris <rgm@gnu.org>
8541
8542 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8543
027c0f75
SM
85442013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * comint.el (comint-redirect-send-command-to-process): Use :around
8547 rather than :override for comint-redirect-filter.
8548 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8549 Call it instead of comint-redirect-original-filter-function (which
8550 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8551
4465bfb4
JD
85522013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8553
8554 * frame.el (display-monitor-attributes-list): Add NS case.
8555 (ns-display-monitor-attributes-list): Declare.
8556
2d809ffa 85572013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8558
8559 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8560
e54eeb9b
GM
85612013-05-09 Glenn Morris <rgm@gnu.org>
8562
56cd351d
GM
8563 * international/fontset.el (vertical-centering-font-regexp):
8564 Set standard-value.
8565
d84b6108
GM
8566 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8567
a931698a
GM
8568 * bookmark.el (bookmark-search-delay):
8569 * cus-start.el (vertical-centering-font-regexp):
8570 * ps-mule.el (ps-mule-font-info-database-default):
8571 * ps-print.el (ps-default-fg, ps-default-bg):
8572 * type-break.el (type-break-good-break-interval):
8573 * whitespace.el (whitespace-indentation-regexp)
8574 (whitespace-space-after-tab-regexp):
8575 * emacs-lisp/testcover.el (testcover-1value-functions)
8576 (testcover-noreturn-functions, testcover-progn-functions)
8577 (testcover-prog1-functions):
8578 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8579 * eshell/em-glob.el (eshell-glob-translate-alist):
8580 * play/tetris.el (tetris-tty-colors):
8581 * progmodes/cpp.el (cpp-face-default-list):
8582 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8583 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8584 (idlwave-help-browser-generic-args):
8585 * progmodes/make-mode.el (makefile-special-targets-list):
8586 * progmodes/python.el (python-shell-virtualenv-path):
8587 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8588 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8589 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8590 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8591 * textmodes/reftex-vars.el (reftex-format-label-function):
8592 * textmodes/remember.el (remember-diary-file): Fix custom types.
8593
e54eeb9b
GM
8594 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8595 Add :version.
8596
455851dd
LL
85972013-05-09 Leo Liu <sdl.web@gmail.com>
8598
8599 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8600 Restore file completion. (Bug#14300)
455851dd
LL
8601 (inferior-octave-startup): Fix incorrect highlighting for the
8602 first prompt.
8603
a9e4425b
SM
86042013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * progmodes/ruby-mode.el: First cut at SMIE support.
8607 (ruby-use-smie): New var.
8608 (ruby-smie-grammar): New constant.
8609 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8610 (ruby-smie--forward-token, ruby-smie--backward-token)
8611 (ruby-smie-rules): New functions.
8612 (ruby-mode-variables): Setup SMIE if applicable.
8613
060ca408
EZ
86142013-05-08 Eli Zaretskii <eliz@gnu.org>
8615
8616 * simple.el (line-move-visual): Signal beginning/end of buffer
8617 only if vertical-motion moved less than it was requested. Avoids
8618 silly incorrect error messages when there are display strings with
8619 multiple newlines at EOL.
8620
1d5963cc
SM
86212013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8624 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8625 (prolog-char-quote-workaround):
8626 * progmodes/cperl-mode.el (cperl-under-as-char):
8627 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8628 Mark as obsolete.
8629 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8630 their declaration.
8631 (vhdl-mode-syntax-table-init): Remove.
8632
c9990474
SM
8633 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8634 last change.
1d5963cc
SM
8635
8636 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8637 syntax for "_".
8638 (ld-script-font-lock-keywords):
8639 Change regexps to use things like \_< and \_>.
8640
8641 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8642 Change all regexps to use things like \_< and \_>.
8643
8644 * progmodes/autoconf.el (autoconf-definition-regexp)
8645 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8646 Handle a _ with symbol syntax.
8647 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8648
c9990474
SM
8649 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8650 Consolidate declaration.
1d5963cc
SM
8651 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8652 the declaration.
8653 (ada-create-syntax-table): Remove.
8654 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8655 already has the right syntax nowadays.
8656 (ada-goto-next-word): Don't change the syntax of "_".
8657
8658 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8659 with-wrapper-hook.
8660
72d3cfca
SS
86612013-05-08 Sam Steingold <sds@gnu.org>
8662
8663 * thingatpt.el (thing-at-point): Accept optional second argument
8664 NO-PROPERTIES to strip the text properties from the return value.
8665 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8666 to `thing-at-point' instead of stripping the properties ourselves.
8667 Also, when `thing-at-point' fails to find a url, prepend "http://"
8668 to the filename at point on the assumption that the user is
8669 pointing at something like gnu.org/gnu.
8670
5cb15713
JB
86712013-05-08 Juanma Barranquero <lekktu@gmail.com>
8672
8673 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8674 * faces.el (crm-separator):
8675 Silence byte-compiler.
8676
8677 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8678 (tool-bar-map): Remove unneeded defvars.
8679
ea78b95b
LL
86802013-05-08 Leo Liu <sdl.web@gmail.com>
8681
8682 Re-work a fix for bug#10994 based on Le Wang's patch.
8683 * ido.el (ido-remove-consecutive-dups): New helper.
8684 (ido-completing-read): Use it.
8685 (ido-chop): Revert fix for bug#10994.
8686
dc7466df
AS
86872013-05-08 Adam Spiers <emacs@adamspiers.org>
8688
8689 * cus-edit.el (custom-save-variables):
8690 Pretty-print long values. (Bug#14187)
8691
9ecf672a
GM
86922013-05-08 Glenn Morris <rgm@gnu.org>
8693
8694 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8695 (m4-mode-syntax-table): Init in the defvar.
8696 (m4-mode-abbrev-table): Let define-derived-mode define it.
8697
3f555be8
TT
86982013-05-08 Tom Tromey <tromey@redhat.com>
8699
8700 * progmodes/m4-mode.el (m4-mode-syntax-table):
8701 Do not treat "_" as word constituent. (Bug#14167)
8702
7cc8ae06
GM
87032013-05-07 Glenn Morris <rgm@gnu.org>
8704
4f58bc06
GM
8705 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8706 Remove explicit eshell-isearch-cancel-map.
8707
7cc8ae06
GM
8708 * progmodes/f90.el (f90-smart-end-names): New option.
8709 (f90-smart-end): Doc fix.
8710 (f90-end-block-optional-name): New constant.
8711 (f90-block-match): Respect f90-smart-end-names.
8712
ceb57e59
SM
87132013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8716 about implicit semi-colons (bug#14218).
8717
4e3f9230
YM
87182013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8719
8720 * frame.el (display-monitor-attributes-list)
8721 (frame-monitor-attributes): New functions.
8722
203a5572
LL
87232013-05-06 Leo Liu <sdl.web@gmail.com>
8724
8725 * progmodes/octave.el (octave-syntax-propertize-function): Change
8726 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8727 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8728 (octave-completion-at-point): Rename from
203a5572
LL
8729 octave-completion-at-point-function.
8730 (inferior-octave-directory-tracker): Robustify.
8731 (octave-text-functions): Remove and fix its uses. No such things
8732 any more.
8733
ee6cff99
SM
87342013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * emacs-lisp/trace.el (trace--display-buffer): New function.
8737 (trace-make-advice): Use it.
8738
32985194
JL
87392013-05-06 Juri Linkov <juri@jurta.org>
8740
8741 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8742 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8743 Doc fix.
8744 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8745 in the help string. (Bug#12985)
8746
a1c700de
KD
87472013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8748
8749 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8750
c67c0839
SM
87512013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8752
323885fd
SM
8753 * progmodes/perl-mode.el: Add support for here documents.
8754 (perl-syntax-propertize-function): Match here-doc markers.
8755 (perl-syntax-propertize-special-constructs): Find their end.
8756 (perl-imenu-generic-expression): Use [:alnum:].
8757
c67c0839
SM
8758 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8759 (advice--add-function): Refresh the advice if already present
8760 (bug#14317).
8761
d491e7a8
IA
87622013-05-06 Ivan Andrus <darthandrus@gmail.com>
8763
8764 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8765
ddf9925e
GM
87662013-05-06 Glenn Morris <rgm@gnu.org>
8767
7cc3af27
GM
8768 * w32-fns.el (w32-charset-info-alist): Declare.
8769
16e343d6
GM
8770 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8771 of its defcustom properties.
8772 (eshell-cmpl-initialize): No need to load pcomplete.
8773
7d889a47
GM
8774 * generic-x.el: No need to require comint when compiling.
8775
ddf9925e
GM
8776 * net/eudc-export.el: Make it loadable without bbdb.
8777 (top-level): Use require rather than load-library.
8778 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8779 (eudc-batch-export-records-to-bbdb)
8780 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8781 Require bbdb.
8782
1e2c18df
SM
87832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8786 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8787 some tweaks, instead.
8788
02502a5f
LL
87892013-05-05 Leo Liu <sdl.web@gmail.com>
8790
8791 * progmodes/octave.el (octave-font-lock-keywords)
8792 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8793 (inferior-octave-send-list-and-digest): Improve error message.
8794 (octave-mode, inferior-octave-mode): Use setq-local.
8795 (octave-help): Set info-lookup-mode.
8796
0dc04f42
RS
87972013-05-05 Richard Stallman <rms@gnu.org>
8798
6c54491c
RS
8799 * vc/compare-w.el (compare-windows-whitespace):
8800 Treat no-break space as whitespace.
8801
0dc04f42
RS
8802 * mail/rmailsum.el (rmail-summary-rmail-update):
8803 Detect empty summary and don't change selected message.
8804 (rmail-summary-goto-msg): Likewise.
8805
df8f35df
RS
8806 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8807 Doc fixes, rename args.
8808
5356e1a3
AM
88092013-05-05 Alan Mackenzie <acm@muc.de>
8810
8811 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8812
d44014cb
JL
88132013-05-05 Juri Linkov <juri@jurta.org>
8814
8815 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8816 to not add the length of the summary segment to the return value.
8817 (Bug#14125)
8818
c129b51f
LL
88192013-05-05 Leo Liu <sdl.web@gmail.com>
8820
8821 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8822 (inferior-octave-output-filter): Remove.
8823 (octave-send-region, inferior-octave-startup): Fix callers.
8824 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8825 (octave-binary-file-extensions): New user variable.
8826 (octave-find-definition): Confirm if opening binary files.
8827 (octave-help-file): Use octave-find-definition to get the binary
8828 confirmation.
8829 (octave-help): Adjust for octave-help-file change.
8830
aa7dab97
SM
88312013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8834 Merge the two entries that handle function definitions.
8835 (pascal--syntax-propertize): New const.
8836 (pascal-mode): Use it. Use setq-local.
8837
fd3a9a6b
GM
88382013-05-04 Glenn Morris <rgm@gnu.org>
8839
8840 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8841 (diary-from-outlook): Respect diary-from-outlook-function.
8842
30c7e542
SM
88432013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8846 Move the declaration from C.
8847 (read-minibuffer, eval-minibuffer): Move from C.
8848 (completion-setup-function): Avoid minibuffer-completion-contents.
8849
b54f978b
LL
88502013-05-03 Leo Liu <sdl.web@gmail.com>
8851
8852 * progmodes/octave.el (octave-font-lock-keywords): Do not
8853 dehighlight 'end' in comments or strings.
30c7e542
SM
8854 (octave-completing-read, octave-goto-function-definition):
8855 New helpers.
d4d0f9b3
LL
8856 (octave-help-buffer): New user variable.
8857 (octave-help-file, octave-help-function): New button types.
8858 (octave-help): New command and bind it to C-h ;.
8859 (octave-find-definition): New command and bind it to M-.
d74a1581 8860 (user-error): Alias to error if not defined.
b54f978b 8861
27135018
LL
88622013-05-02 Leo Liu <sdl.web@gmail.com>
8863
8864 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8865 for \. (bug#14332)
8866 (octave-font-lock-keywords): Include [ and {.
8867
0d634d3a
LL
88682013-05-02 Leo Liu <sdl.web@gmail.com>
8869
8870 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8871 (inferior-octave): Remove calling comint-mode and return the buffer.
8872 (inferior-octave-startup): Cosmetic changes.
8873
b4c8295e
LL
88742013-05-02 Leo Liu <sdl.web@gmail.com>
8875
30c7e542
SM
8876 * progmodes/octave.el (octave-syntax-propertize-function):
8877 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8878
f12ad6ec
GM
88792013-05-02 Glenn Morris <rgm@gnu.org>
8880
8881 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8882 * desktop.el (vc-dir-mode): Just autoload it here.
8883
30cac1e0
AM
88842013-05-02 Alan Mackenzie <acm@muc.de>
8885
8886 Eliminate variable c-standard-font-lock-fontify-region-function.
8887 * progmodes/cc-mode.el
8888 (c-standard-font-lock-fontify-region-function): Remove.
8889 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8890
d8ef28b1
LL
88912013-05-01 Leo Liu <sdl.web@gmail.com>
8892
2640d52e 8893 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8894 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8895 variables were removed from Octave in 2007.
d8ef28b1
LL
8896 (inferior-octave-startup): Fix uses.
8897 (comint-line-beginning-position): Remove compatibility code for
8898 emacs 21.
8899
ac63ec89
JL
89002013-05-01 Juri Linkov <juri@jurta.org>
8901
8902 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8903
9e9be37c
JL
89042013-05-01 Juri Linkov <juri@jurta.org>
8905
8906 * comint.el (comint-previous-matching-input): Don't print message
8907 "History item: %d" when `isearch-mode' is active.
8908 (comint-history-isearch-message): Print message "History item: %d"
8909 when `comint-input-ring-index' is not empty and this function is
8910 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8911
9b92c13b
LL
89122013-05-01 Leo Liu <sdl.web@gmail.com>
8913
8914 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8915 definitions. Use completion-at-point to insert keywords.
8916 (octave-abbrev-start): Remove.
8917 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8918
b12d33d7
LL
89192013-04-30 Leo Liu <sdl.web@gmail.com>
8920
8921 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8922 change.
8923
3d1c39fa
AM
89242013-04-30 Alan Mackenzie <acm@muc.de>
8925
8926 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8927 * progmodes/cc-engine.el (c-back-over-member-initializers):
8928 new function.
3d1c39fa
AM
8929 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8930 (most) member init lists.
8931
5147fc17
RS
89322013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8933
8934 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8935 variable.
8936
5b78d7fc
LL
89372013-04-30 Leo Liu <sdl.web@gmail.com>
8938
8939 * progmodes/octave.el (octave-variables): Remove. No builtin
8940 variables any more. All converted to functions.
8941 (octave-font-lock-keywords, octave-completion-at-point-function):
8942 Fix uses.
8943 (octave-font-lock-texinfo-comment): New user variable.
8944 (octave-texinfo-font-lock-keywords): New variable for texinfo
8945 comment block.
8946 (octave-function-comment-block): New face.
8947 (octave-font-lock-texinfo-comment): New function.
8948 (octave-mode): Font lock texinfo comment block.
8949
38d8527b
LL
89502013-04-29 Leo Liu <sdl.web@gmail.com>
8951
8952 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8953 indexing expression.
8954 (octave-continuation-string): Do not use \.
8955 (inferior-octave-complete-impossible): Remove.
8956 (inferior-octave-completion-table)
8957 (inferior-octave-completion-at-point): Remove its uses.
8958 (inferior-octave-startup): completion_matches was introduced to
8959 Octave in 1996 so safe to assume it.
8960 (octave-function-file-comment): Improve to follow how Octave does it.
8961 (octave-update-function-file-comment): Tweak.
8962
2ec12cb0
LL
89632013-04-29 Leo Liu <sdl.web@gmail.com>
8964
8965 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8966 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8967 (octave-function-file-comment): Fix typo.
8968 (octave-sync-function-file-names): Use read-char-choice.
8969
6eaed048
JB
89702013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8971
8972 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8973 to t for the less important warnings.
8974
3ffa2d4f
DH
89752013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8976
8977 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8978
685c9501
GM
89792013-04-27 Glenn Morris <rgm@gnu.org>
8980
8981 * vc/log-view.el (log-view-current-entry):
8982 Treat "---" separator lines as part of the following rev. (Bug#14169)
8983
0208ede7
JL
89842013-04-27 Juri Linkov <juri@jurta.org>
8985
8986 * subr.el (read-number): Doc fix about using it by interactive
8987 code letter `n'. (Bug#14254)
8988
5db9dace
JL
89892013-04-27 Juri Linkov <juri@jurta.org>
8990
8991 * desktop.el (desktop-auto-save-timeout): New option.
8992 (desktop-file-checksum): New variable.
8993 (desktop-save): Add optional arg `auto-save' and don't auto-save
8994 if nothing changed.
8995 (desktop-auto-save-timer): New variable.
8996 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8997 (after-init-hook): Call `desktop-auto-save-set-timer'.
8998 Suggested by Reuben Thomas <rrt@sc3d.org> in
8999 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9000
b7260dd4
LL
90012013-04-27 Leo Liu <sdl.web@gmail.com>
9002
9003 * progmodes/octave.el (octave-function-file-p)
9004 (octave-skip-comment-forward, octave-function-file-comment)
9005 (octave-update-function-file-comment): New functions.
9006 (octave-mode-map): Bind C-c ; to
9007 octave-update-function-file-comment.
9008 (octave-mode-menu): Add octave-update-function-file-comment.
9009 (octave-mode, inferior-octave-mode): Fix doc-string.
9010 (octave-insert-defun): Conform to Octave's coding convention.
9011 (Bug#14285)
9012
9013 * files.el (basic-save-buffer): Don't let errors in
9014 before-save-hook prevent saving buffer.
9015
c46da669
RW
90162013-04-20 Roland Winkler <winkler@gnu.org>
9017
9018 * faces.el (read-face-name): Use completing-read if arg multiple
9019 is nil.
9020
a81ee1eb
IL
90212013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9022
9023 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9024 displayed, move point to after the totals line.
9025 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9026 for the details.
9027
4fac34ce
SM
90282013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9031 Add current dir to the load-path.
9032 (package-generate-autoloads): Don't rely on
9033 autoload-ensure-default-file.
9034
f6bfc063
RT
90352013-04-26 Reuben Thomas <rrt@sc3d.org>
9036
d40ab5cf
BG
9037 * textmodes/remember.el (remember-store-in-files): Document that
9038 the file name format is passed to `format-time-string'.
f6bfc063 9039
e55d3b04
LL
90402013-04-26 Leo Liu <sdl.web@gmail.com>
9041
9042 * progmodes/octave.el (octave-sync-function-file-names): New function.
9043 (octave-mode): Use it in before-save-hook.
9044
e53052d3
SM
90452013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9046
140ef50c
SM
9047 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9048 (bug#14274).
9049
e53052d3
SM
9050 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9051 \n and comment, even if it's not an implicit ; (bug#14218).
9052
af80458d 90532013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9054
9055 * subr.el (read-number): Once more use `read' rather than
9056 `string-to-number', to trap non-numeric input. (Bug#14254)
9057
af80458d 90582013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9059
9060 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9061 Use `syntax-multiline' text property consistently instead of
8a621d53 9062 `font-lock-multiline'. (Bug#14237)
70203c2e 9063
e6ea1f6c
GM
90642013-04-26 Glenn Morris <rgm@gnu.org>
9065
9066 * emacs-lisp/shadow.el (list-load-path-shadows):
9067 No longer necessary to check for duplicate simple.el, since
9068 2012-07-07 change to init_lread to not include installation lisp
9069 directories in load-path when running uninstalled. (Bug#14270)
9070
070ccca4
LL
90712013-04-26 Leo Liu <sdl.web@gmail.com>
9072
9073 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9074 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9075 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9076 octave-in-string-or-comment-p.
9077 (octave-in-comment-p, octave-in-string-p)
9078 (octave-in-string-or-comment-p): Replace defsubst with defun.
9079
9d1c5fb6
PE
90802013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9081
9082 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9083
c034abda
BG
90842013-04-25 Bastien Guerry <bzg@gnu.org>
9085
9086 * textmodes/remember.el (remember-data-directory)
9087 (remember-directory-file-name-format): Fix custom types.
9088
584ea277
LL
90892013-04-25 Leo Liu <sdl.web@gmail.com>
9090
e53052d3
SM
9091 * progmodes/octave.el (octave-completion-at-point-function):
9092 Make use of inferior octave process.
584ea277
LL
9093 (octave-initialize-completions): Remove.
9094 (inferior-octave-completion-table): New function.
9095 (inferior-octave-completion-at-point): Use it.
9096 (octave-completion-alist): Remove.
9097
1693b06a
SM
90982013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9101 (opascal-mode-syntax-table): New var.
9102 (opascal-literal-kind, opascal-is-literal-end)
9103 (opascal-literal-token-at): Rewrite.
9104 (opascal--literal-start-re, opascal-font-lock-keywords)
9105 (opascal--syntax-propertize): New constants.
9106 (opascal-font-lock-defaults): Adjust.
9107 (opascal-mode): Use them. Set comment-<foo> variables as well.
9108 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9109 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9110 (delphi-other-face, opascal-other-face): Remove face variables.
9111 (opascal-save-state): Remove macro.
9112 (opascal-fontifying-progress-step): Remove constant.
9113 (opascal--ignore-changes): Remove var.
9114 (opascal-set-token-property, opascal-parse-next-literal)
9115 (opascal-is-stable-literal, opascal-complete-literal)
9116 (opascal-is-literal-start, opascal-face-of)
9117 (opascal-parse-region, opascal-parse-region-until-stable)
9118 (opascal-fontify-region, opascal-after-change)
9119 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9120 (opascal-debug-parse-region, opascal-debug-parse-window)
9121 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9122 (opascal-debug-fontify-buffer): Remove.
9123 (opascal-debug-mode-map): Adjust accordingly.
9124
be64c05d
LL
91252013-04-25 Leo Liu <sdl.web@gmail.com>
9126
9127 Merge octave-mod.el and octave-inf.el into octave.el with some
9128 cleanups.
9129 * progmodes/octave.el: New file renamed from octave-mod.el.
9130 * progmodes/octave-inf.el: Merged into octave.el.
9131 * progmodes/octave-mod.el: Renamed to octave.el.
9132
d79d37bd
TH
91332013-04-25 Tassilo Horn <tsdh@gnu.org>
9134
9135 * textmodes/reftex-vars.el
9136 (reftex-label-ignored-macros-and-environments): New defcustom.
9137
9138 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9139
ced3fc5d
SM
91402013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9143 (smie-indent-keyword): Improve the check to ensure that the next
9144 comment is really on the same line.
9145 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9146
9147 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9148 semi-colons if the line is not otherwise empty (bug#14218).
9149
1c141dad
GM
91502013-04-25 Glenn Morris <rgm@gnu.org>
9151
9152 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9153
5058062a
SM
91542013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * progmodes/opascal.el (opascal-set-token-property): Rename from
9157 opascal-set-text-properties and only set `token' (bug#14134).
9158 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9159 (opascal-literal-text-properties): Remove.
9160 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9161 Adjust callers.
9162
5db9dace 91632013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9164
9165 * textmodes/remember.el (remember-handler-functions): Add an
9166 option for a new handler `remember-store-in-files'.
9167 (remember-data-directory, remember-directory-file-name-format):
9168 New options.
9169 (remember-store-in-files): New function to store remember notes
9170 as separate files within a directory.
9171
4391916c
MH
91722013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9173
9174 * progmodes/compile.el (compilation-next-error-function):
9175 Pass "formats" to compilation-find-file (bug#11777).
9176
bb7cdf58
GM
91772013-04-24 Glenn Morris <rgm@gnu.org>
9178
3b8fe752 9179 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9180 * vc/vc-hg.el (vc-hg-print-log):
9181 * vc/vc-svn.el (vc-svn-print-log):
9182 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9183
bb7cdf58
GM
9184 * vc/vc-bzr.el (vc-bzr-print-log):
9185 * vc/vc-cvs.el (vc-cvs-print-log):
9186 * vc/vc-git.el (vc-git-print-log):
9187 * vc/vc-hg.el (vc-hg-print-log):
9188 * vc/vc-mtn.el (vc-mtn-print-log):
9189 * vc/vc-rcs.el (vc-rcs-print-log):
9190 * vc/vc-sccs.el (vc-sccs-print-log):
9191 * vc/vc-svn.el (vc-svn-print-log):
9192 * vc/vc.el (vc-print-log-internal): Doc fixes.
9193
b46a056e
GM
91942013-04-23 Glenn Morris <rgm@gnu.org>
9195
9196 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9197 Remove venerable code attempting to avoid substitute-command-keys.
9198
0aecf718
TH
91992013-04-23 Tassilo Horn <tsdh@gnu.org>
9200
4391916c
MH
9201 * textmodes/reftex-vars.el (reftex-label-regexps):
9202 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9203
117f94cf
SM
92042013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9205
4391916c 9206 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9207 Use lexical-binding.
9208 (jit-lock-force-redisplay): Use markers, check buffer's continued
9209 existence and beware narrowed buffers.
9210 (jit-lock-fontify-now): Adjust call accordingly.
9211
1d829c64
SM
92122013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9215 to avoid misleading the user.
9216
72d548a9
LL
92172013-04-22 Leo Liu <sdl.web@gmail.com>
9218
9219 * info-look.el: Prefer latex2e.info. (Bug#14240)
9220
d0853629
MA
92212013-04-22 Michael Albinus <michael.albinus@gmx.de>
9222
9223 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9224
9225 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9226 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9227 (tramp-set-completion-function, tramp-parse-putty):
9228 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9229 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9230 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9231 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9232 (tramp-call-local-coding-command): Use `tramp-call-process'
9233 instead of `tramp-compat-call-process'.
9234
9235 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9236 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9237 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9238 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9239 (tramp-maybe-send-script): Check for Perl binary.
9240 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9241
38cc0210
DU
92422013-04-22 Daiki Ueno <ueno@gnu.org>
9243
9244 * epg.el (epg-context-pinentry-mode): New function.
9245 (epg-context-set-pinentry-mode): New function.
9246 (epg--start): Pass --pinentry-mode option to gpg command.
9247
cc641ee1
XF
92482013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9249
02d844b5 9250 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9251 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9252 `completion-at-point'. (Bug#13774)
5d4e5c31 9253
cc641ee1
XF
9254 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9255 default key binding for `describe-distribution' has been moved to
9256 `C-h C-o'. (Bug#13970)
9257
1b42ee43
GM
92582013-04-21 Glenn Morris <rgm@gnu.org>
9259
9260 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9261 Add doc strings.
9262 (vc-print-log): Clarify interactive prompt.
9263
a6d63d97
GM
92642013-04-20 Glenn Morris <rgm@gnu.org>
9265
9266 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9267 No longer include timestamp etc information.
9268
d7f5c16f
RW
92692013-04-20 Roland Winkler <winkler@gnu.org>
9270
9271 * faces.el (read-face-name): Bug fix, return just one face if arg
9272 multiple is nil. (Bug#14209)
9273
bcd7a0a4
SM
92742013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9276 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9277 (remove-function): Autoload.
9278
9279 * comint.el (comint-redirect-original-filter-function): Remove.
9280 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9281 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9282 (vc-cvs-annotate-command):
bcd7a0a4
SM
9283 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9284 * progmodes/prolog.el (prolog-consult-compile):
9285 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9286 Use add/remove-function instead.
9287 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9288 (gud-tooltip-process-output, gud-tooltip-tips):
9289 Use add/remove-function instead.
9290 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9291 (scheme-interaction-mode, exit-scheme-interaction-mode):
9292 Use add/remove-function instead.
9293
9294 * vc/vc-dispatcher.el: Use lexical-binding.
9295 (vc--process-sentinel): Rename from vc-process-sentinel.
9296 Change last arg to be the code to run. Don't use vc-previous-sentinel
9297 and vc-sentinel-commands any more.
9298 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9299 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9300
e36b2d20 93012013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9302
bcd7a0a4 9303 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9304 Handle function names with a single character. (Bug#14111)
4d3268ba 9305
781b4af6 93062013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9307
9308 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9309 for subroutines defined in an eval (bug#14182).
9310
7d688336
TV
93112013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9312
9313 * bookmark.el (bookmark-completing-read): Improve handling of empty
9314 string (bug#14176).
9315
31dcede0
SM
93162013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9319
adc31213
FEG
93202013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9321
9322 New faster Imenu implementation (bug#14058).
9323 * progmodes/python.el:
9324 (python-imenu-prev-index-position):
9325 (python-imenu-format-item-label-function)
9326 (python-imenu-format-parent-item-label-function)
9327 (python-imenu-format-parent-item-jump-label-function):
9328 New vars.
9329 (python-imenu-format-item-label)
9330 (python-imenu-format-parent-item-label)
9331 (python-imenu-format-parent-item-jump-label)
9332 (python-imenu--put-parent, python-imenu--build-tree)
9333 (python-imenu-create-index, python-imenu-create-flat-index)
9334 (python-util-popn): New functions.
9335 (python-mode): Set imenu-create-index-function to
9336 python-imenu-create-index.
9337
cdca8255
SM
93382013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * winner.el (winner-active-region): Use region-active-p, activate-mark
9341 and deactivate-mark (bug#14225).
9342
9343 * simple.el (deactivate-mark): Don't inline it.
9344
beb42340
MA
93452013-04-18 Michael Albinus <michael.albinus@gmx.de>
9346
9347 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9348
fc7f4d7e
TH
93492013-04-18 Tassilo Horn <tsdh@gnu.org>
9350
9351 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9352 file extensions from the archive-mode entry in order to prefer
9353 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9354
29f47822
LL
93552013-04-18 Leo Liu <sdl.web@gmail.com>
9356
9357 * bindings.el (help-event-list): Add ?\?.
9358
d36ed1c8
SM
93592013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * subr.el (with-wrapper-hook): Declare obsolete.
9362 * simple.el (filter-buffer-substring-function): New hook.
9363 (filter-buffer-substring): Use it.
9364 (filter-buffer-substring-functions): Mark obsolete.
9365 * minibuffer.el (completion-in-region-function): New hook.
9366 (completion-in-region): Use it.
9367 (completion-in-region-functions): Mark obsolete.
9368 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9369 * abbrev.el (abbrev-expand-function): New hook.
9370 (expand-abbrev): Use it.
9371 (abbrev-expand-functions): Mark obsolete.
9372 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9373 and :filter-return.
9374
04754d36
FEG
93752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9376
9377 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9378 and do not care about match data.
9379
dd8791e9
SM
93802013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9383 completion tables when completing error conditions and
9384 `declare' arguments.
9385 (lisp-complete-symbol, field-complete): Mark as obsolete.
9386 (check-parens): Unmatched parens are user errors.
9387 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9388
ffe54a13
AM
93892013-04-17 Michal Nazarewicz <mina86@mina86.com>
9390
dd8791e9
SM
9391 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9392 command changed buffer (ie. `flyspell-pre-buffer' is not current
9393 buffer), which prevents making decisions based on invalid value of
9394 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9395 cause an error when `flyspell-pre-point' was nil after switching
9396 buffers.
9397 (flyspell-post-command-hook): No longer needs to change buffers when
9398 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9399
ec7e39f2
AM
94002013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9401
9402 * textmodes/ispell.el (ispell-add-per-file-word-list):
9403 Fix `flyspell-correct-word-before-point' error when accepting
9404 words and `coment-padding' is an integer by using
9405 `comment-normalize-vars' (Bug #14214).
9406
083850a6
FEG
94072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9408
9409 New defun movement commands.
9410 * progmodes/python.el (python-nav--syntactically)
9411 (python-nav--forward-defun, python-nav-backward-defun)
9412 (python-nav-forward-defun): New functions.
9413
619ed6e1
FEG
94142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9415
9416 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9417 (python-syntax-context): Use named compiler-macro for backwards
9418 compatibility with Emacs 24.x.
9419
7a1beb6c
LL
94202013-04-17 Leo Liu <sdl.web@gmail.com>
9421
9422 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9423 octave-hide-process-buffer.
9424
2d3fa3e5
SM
94252013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9428 (bug#14216).
9429
7ce5be54
JPG
94302013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9431
9432 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9433 Fix adjustment of offset when receiving incomplete responses from GDB
9434 (bug#14129).
9435
351edece
SM
94362013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9439 python-mode-abbrev-table.
9440 (python-skeleton-define): Adjust accordingly.
9441 (python-mode-abbrev-table): New table that inherits from it so that
9442 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9443
9444 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9445 (abbrev-symbol): Use it.
9446 (abbrev--before-point): Use it since we already handle inheritance.
9447
613f9481
LL
94482013-04-16 Leo Liu <sdl.web@gmail.com>
9449
9450 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9451 binding to info-lookup-symbol.
9452
51646b62
JB
94532013-04-16 Juanma Barranquero <lekktu@gmail.com>
9454
9455 * minibuffer.el (completion--twq-all):
9456 * term/ns-win.el (ns-initialize-window-system):
9457 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9458
efb3f01d
SM
94592013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9460
36c0a301
SM
9461 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9462 global bindings.
9463
efb3f01d
SM
9464 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9465
fb549d64
DG
94662013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9467
9468 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9469 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9470 to nil.
9471 (ruby-end-of-defun): Remove the unused arg, change the docstring
9472 to reflect that this function is only used as the value of
9473 `end-of-defun-function'.
9474 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9475 to reflect an earlier change that beginning/end-of-defun functions
9476 jump between methods in a class definition, as well as top-level
9477 functions.
9478
21e8fe2f
SM
94792013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * minibuffer.el (minibuffer-complete): Don't just scroll
9482 a *Completions* that's been iconified.
9483 (minibuffer-force-complete): Make sure repetitions do cycle when going
9484 through completion-in-region -> minibuffer-complete.
9485
20e527d0
AM
94862013-04-15 Alan Mackenzie <acm@muc.de>
9487
9488 Correct the placement of c-cpp-delimiters when there're #s not at
9489 col 0.
9490
9491 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9492 place a submatch around the #.
21e8fe2f
SM
9493 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9494 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9495 on the #, not BOL.
9496
dabefae5
SM
94972013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9500 (advice--member-p): New arg `name'.
9501 (advice--add-function, advice-member-p): Use it (bug#14202).
9502
85c9ab64
AM
95032013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9504
9505 Reformulate java imenu-generic-expression.
9506 The old expression contained ill formed regexps.
9507
9508 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9509 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9510 (cc-imenu-java-method-arg-regexp): New defconsts.
9511 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9512 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9513 handling of spaces in the regexp.
9514
0f821d99
AM
95152013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9516
9517 * textmodes/ispell.el (ispell-command-loop): Remove
9518 flyspell highlight of a word when ispell accepts it (bug #14178).
9519
eb922adf
MA
95202013-04-15 Michael Albinus <michael.albinus@gmx.de>
9521
9522 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9523 uses code from the previous `ange-ftp-run-real-handler'.
9524 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9525 only in case that function exist. This is needed for proper
9526 unloading of Tramp.
9527
4d9a0979
TH
95282013-04-15 Tassilo Horn <tsdh@gnu.org>
9529
9530 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9531
9532 * textmodes/reftex.el (reftex-compile-variables): Use it.
9533
a829b0dc
SM
95342013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9535
91e8293c
SM
9536 * files.el (normal-mode): Only use default major-mode if no other mode
9537 was specified.
9538
830aed4d
SM
9539 * emacs-lisp/trace.el (trace-values): New function.
9540
a829b0dc
SM
9541 * files.el: Allow : in local variables (bug#14089).
9542 (hack-local-variable-regexp): New var.
9543 (hack-local-variables-prop-line, hack-local-variables): Use it.
9544
7ae9f0fb
RW
95452013-04-13 Roland Winkler <winkler@gnu.org>
9546
9547 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9548 data before it gets modified by bibtex-beginning-of-entry.
9549
6646e848
RW
95502013-04-13 Roland Winkler <winkler@gnu.org>
9551
9552 * textmodes/bibtex.el (bibtex-url): Doc fix.
9553
95542013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9555
9556 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9557 does not visit a BibTeX file, exclude it from the list of buffers
9558 returned by bibtex-initialize.
9559
0aa3616e
SB
95602013-04-13 Stephen Berman <stephen.berman@gmx.net>
9561
9562 * window.el (split-window): Remove interactive form, since as a
9563 command this function is a special case of split-window-below.
9564 Correct doc string.
9565
011cddd6
RW
95662013-04-12 Roland Winkler <winkler@gnu.org>
9567
9568 * faces.el (read-face-name): Do not override value of arg default.
9569 Allow single faces and strings as default values. Remove those
9570 elements from return value that are not faces.
9571 (describe-face): Simplify.
9572 (face-at-point): New optional args thing and multiple so that this
9573 function can provide the same functionality previously provided by
9574 read-face-name.
9575 (make-face-bold, make-face-unbold, make-face-italic)
9576 (make-face-unitalic, make-face-bold-italic, invert-face)
9577 (modify-face, read-face-and-attribute): Use face-at-point.
9578
9579 * cus-edit.el (customize-face, customize-face-other-window)
9580 * cus-theme.el (custom-theme-add-face)
9581 * face-remap.el (buffer-face-set)
9582 * facemenu.el (facemenu-set-face): Use face-at-point.
9583
f24e0036
MA
95842013-04-12 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9587
da3cda2d
TH
95882013-04-10 Tassilo Horn <tsdh@gnu.org>
9589
9590 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9591 off leading { and trailing } from field values.
9592
15e54145
SM
95932013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9594
78ce603d
SM
9595 * emacs-lisp/timer.el (timer--check): New function.
9596 (timer--time, timer-set-function, timer-event-handler): Use it.
9597 (timer-set-idle-time): Simplify.
9598 (timer--activate): CSE.
9599 (timer-event-handler): Give more info in error message.
9600 (internal-timer-start-idle): New function, moved from C.
9601
15e54145
SM
9602 * mpc.el (mpc-proc): Add `restart' argument.
9603 (mpc-proc-cmd): Use it.
9604 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9605 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9606 less often.
9607
7144c627
MY
96082013-04-10 Masatake YAMATO <yamato@redhat.com>
9609
9610 * progmodes/sh-script.el: Implement `sh-mode' own
9611 `add-log-current-defun-function' (bug#14112).
9612 (sh-current-defun-name): New function.
9613 (sh-mode): Use the function.
9614
b39792eb
BG
96152013-04-09 Bastien Guerry <bzg@gnu.org>
9616
9617 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9618
8acdeb71
SM
96192013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9620
6fcdab68
SM
9621 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9622
8acdeb71
SM
9623 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9624 timer (bug#14156).
9625
e3e7b504
NF
96262013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9627
9628 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9629 declaration.
9630
201bb296
LL
96312013-04-07 Leo Liu <sdl.web@gmail.com>
9632
9633 * pcmpl-x.el: New file.
9634
ebb19708
DA
96352013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9636
9637 Do not set x-display-name until X connection is established.
9638 This is needed to prevent from weird situation described at
9639 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9640 * frame.el (make-frame): Set x-display-name after call to
9641 window system initialization function, not before.
9642 * term/x-win.el (x-initialize-window-system): Add optional
9643 display argument and use it.
9644 * term/w32-win.el (w32-initialize-window-system):
9645 * term/ns-win.el (ns-initialize-window-system):
9646 * term/pc-win.el (msdos-initialize-window-system):
9647 Add compatible optional display argument.
9648
33bb237a
EZ
96492013-04-06 Eli Zaretskii <eliz@gnu.org>
9650
9651 * files.el (normal-backup-enable-predicate): On MS-Windows and
9652 MS-DOS compare truenames of temporary-file-directory and of the
9653 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9654 don't fail comparison by compare-strings. Also, compare file
9655 names case-insensitively on MS-Windows and MS-DOS.
9656
134abf1f
SM
96572013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9660 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9661
d695cb94
DG
96622013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9663
e3e7b504
NF
9664 * whitespace.el (whitespace-color-on, whitespace-color-off):
9665 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9666
f4ad7ea1 96672013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9668
9669 * ispell.el (ispell-set-spellchecker-params):
9670 Really set `ispell-args' for all equivs.
9671
632556e4
SM
96722013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * ido.el (ido-completions): Use extra elements of ido-decorations
9675 (bug#14143).
9676 (ido-decorations): Update docstring.
9677
2a417372
MA
96782013-04-05 Michael Albinus <michael.albinus@gmx.de>
9679
9680 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9681 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9682 nil during initialization, in order not to miss changes since the
9683 file was opened. (Bug#14140)
9684
fc164b0c
LL
96852013-04-05 Leo Liu <sdl.web@gmail.com>
9686
9687 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9688
0ccecc08
JB
96892013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9690
9691 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9692
51af1aa2
GM
96932013-04-04 Glenn Morris <rgm@gnu.org>
9694
9695 * electric.el (electric-pair-inhibit-predicate): Add :version.
9696
b208ebc6
SM
96972013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9700 when a package is required several times (bug#14082).
9701
f3d3eaf0
RW
97022013-04-04 Roland Winkler <winkler@gnu.org>
9703
9704 * faces.el (read-face-name): Behave as promised by the docstring.
9705 Assume that arg default is a list of faces.
9706 (describe-face): Call read-face-name with list of default faces.
9707
2575da50
TV
97082013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9709
9710 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9711 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9712 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9713 the header.
9714 (bookmark-exit-hook-internal): Save even if list is empty.
9715
397703b4
YH
97162013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9717
9718 * emacs-lisp/package.el (package-pinned-packages): New var.
9719 (package--add-to-archive-contents): Obey it (bug#14118).
9720
691e26ae
AM
97212013-04-03 Alan Mackenzie <acm@muc.de>
9722
8a621d53
JB
9723 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9724 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9725
9726 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9727 parameter `not-in-delimiter'. Handle being inside comment opener.
9728 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9729 character in case we're typing a '*' after a '/'.
9730 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9731 instead by passing the parameter to c-state-pp-to-literal.
9732
9733 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9734 for elt. 7 of a parse state.
9735
4b725a70
PE
97362013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9737
9738 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9739 * international/latin1-disp.el, international/mule-util.el:
9740 * language/cyril-util.el, language/european.el, language/ind-util.el:
9741 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9742 * language/tibetan.el, language/viet-util.el:
9743 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9744
15c579f0
SM
97452013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9748 (electric-pair-post-self-insert-function): Use it.
9749 (electric-pair-default-inhibit): New function, extracted from
9750 electric-pair-post-self-insert-function.
9751
a77e2924
RW
97522013-03-31 Roland Winkler <winkler@gnu.org>
9753
9754 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9755
2bd8a4a8
SM
97562013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9759
8d3655be 97602013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9761
9762 Un-indent after "pass" and "return" statements (Bug#13888)
9763 * progmodes/python.el (python-indent-block-enders): New var.
9764 (python-indent-calculate-indentation): Use it.
9765
8d3655be 97662013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9767
9768 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9769 defun. Defining it as defalias could introduce too eager
9770 byte-compiler optimization. (Bug#14030)
9771
8d3655be 97722013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9773
9774 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9775
0b1619da
LL
97762013-03-30 Leo Liu <sdl.web@gmail.com>
9777
9778 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9779 (kmacro-execute-from-register): Pass the keyboard macro to
9780 kmacro-call-macro or repeating won't work correctly.
9781
0b938190
TZ
97822013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9783
9784 * progmodes/subword.el: Back to using `forward-symbol'.
9785
9786 * subr.el (forward-whitespace, forward-symbol)
9787 (forward-same-syntax): Move from thingatpt.el.
9788
35710234
LL
97892013-03-29 Leo Liu <sdl.web@gmail.com>
9790
9791 * kmacro.el (kmacro-to-register): New command.
9792 (kmacro-execute-from-register): New function.
9793 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9794
efc0bb73
SM
97952013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * mpc.el: Use defvar-local and setq-local.
9798 (mpc--proc-connect): Connection failures are not bugs.
9799 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9800 (mpc-volume-map): Bind to the up-events.
9801
75a2f981
TZ
98022013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9803
9804 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9805 instead of `forward-symbol'.
9806
17c781d1
SM
98072013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9810 (edebug--recursive-edit): Use it.
9811 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9812 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9813
f67bfbcf
LL
98142013-03-28 Leo Liu <sdl.web@gmail.com>
9815
9816 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9817
b59f639d
EZ
98182013-03-27 Eli Zaretskii <eliz@gnu.org>
9819
9820 * facemenu.el (list-colors-callback): New defvar.
9821 (list-colors-redisplay): New function.
9822 (list-colors-display): Install list-colors-redisplay as the
9823 revert-buffer-function. (Bug#14063)
9824
f557c1b1
SM
98252013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9826
b1da2957
SM
9827 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9828 and suffixes don't overlap (bug#14061).
9829
f557c1b1
SM
9830 * case-table.el: Use lexical-binding.
9831 (case-table-get-table): New function.
9832 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9833
002668e1
TZ
98342013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9835
9836 * progmodes/subword.el: Add `superword-mode' to do word motion
9837 over symbol_words (parallels and leverages `subword-mode' which
9838 does word motion inside MixedCaseWords).
9839
73572c72
AG
98402013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9841
78b8f320 9842 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9843 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9844
69b2c07e
SM
98452013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9848 Change return value to be a sexp. Delay `get-buffer' to after
9849 restoring the desktop (bug#13951).
9850
08bb5ee2
LL
98512013-03-26 Leo Liu <sdl.web@gmail.com>
9852
9853 * register.el: Move semantic tag handling back to
9854 cedet/semantic/senator.el. (Bug#14052)
9855
8d4c974e
SM
98562013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9857
9858 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9859 into the prompt either (bug#13963).
9860
b234d92c
SM
98612013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9864 part of "(error-foo)".
9865
ddfa3cb4
JL
98662013-03-24 Juri Linkov <juri@jurta.org>
9867
9868 * replace.el (list-matching-lines-prefix-face): New defcustom.
9869 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9870 `occur-engine' if `face-differs-from-default-p' returns t.
9871 (occur-engine): Add `,' inside backquote construct to evaluate
9872 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9873 Pass `prefix-face' to the functions `occur-context-lines' and
9874 `occur-engine-add-prefix'.
9875 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9876 `prefix-face' and propertize the prefix with `prefix-face'.
9877 (Bug#14017)
9878
7b0e2f85
LL
98792013-03-24 Leo Liu <sdl.web@gmail.com>
9880
9881 * nxml/rng-valid.el (rng-validate-while-idle)
9882 (rng-validate-quick-while-idle): Guard against deleted buffer.
9883 (Bug#13999)
9884
9885 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9886 is the last entry in kill-buffer-hook.
9887
9888 * files.el (kill-buffer-hook): Doc fix.
9889
b3082f49
DG
98902013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9891
b234d92c
SM
9892 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9893 Make it safe-local.
bde73d27 9894
b3082f49
DG
9895 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9896
a320a2db
LL
98972013-03-23 Leo Liu <sdl.web@gmail.com>
9898
7e74b0fb
LL
9899 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9900 Remove.
9901
9902 * nxml/rng-valid.el (rng-validate-mode)
9903 (rng-after-change-function, rng-do-some-validation):
9904 * nxml/rng-maint.el (rng-validate-buffer):
9905 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9906 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9907 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9908 (nxml-extend-after-change-region): Use with-silent-modifications.
9909
a320a2db
LL
9910 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9911 timer-idle-list.
9912
9913 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9914 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9915 timer-idle-list. (Bug#13999)
9916
e38e6780
JL
99172013-03-23 Juri Linkov <juri@jurta.org>
9918
9919 * info.el (info-index-match): New face.
9920 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9921 main pattern and add text properties with the new face to matches
9922 in index entries relative to the beginning of the index entry.
9923 (Bug#14015)
9924
e8cc7880
DE
99252013-03-21 Eric Ludlam <zappo@gnu.org>
9926
9927 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9928 Inhibit read only while inserting objects.
9929
9bb0d822
TZ
99302013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9931
9932 * progmodes/cfengine.el: Update docs to mention
9933 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9934 symbol motion. Remove "_" from the word syntax.
9935
aa703640
TZ
99362013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9937
9938 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9939 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9940
afff09d0
JL
99412013-03-20 Juri Linkov <juri@jurta.org>
9942
9943 * info.el (Info-next-reference-or-link)
9944 (Info-prev-reference-or-link): New functions.
9945 (Info-next-reference, Info-prev-reference): Use them.
9946 (Info-try-follow-nearest-node): Handle footnote navigation.
9947 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9948
9a1ff164
SM
99492013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9952 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9953
2667d15d
PE
99542013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9955
9956 Suppress unnecessary non-ASCII chatter during build process.
9957 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9958 (batch-skkdic-convert): Suppress most of the chatter.
9959 It's not needed so much now that machines are faster,
9960 and its non-ASCII component was confusing; see Dmitry Gutov in
9961 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9962
438b0579
LL
99632013-03-20 Leo Liu <sdl.web@gmail.com>
9964
9965 * ido.el (ido-chop): Fix bug#10994.
9966
c128ab07
DG
99672013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9968
9969 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9970 Remove vars.
9a1ff164
SM
9971 (whitespace-color-on, whitespace-color-off):
9972 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9973
0e6008c5
SM
99742013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9977 remapping in mode-line.
9978 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9979
627b52b0
DG
99802013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9981
9982 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9983 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9984 (whitespace-font-lock-keywords): Change description.
9985 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9986 the constructed keywords instead.
9987 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9988
50c3a20b
LL
99892013-03-19 Leo Liu <sdl.web@gmail.com>
9990
9991 * progmodes/compile.el (compilation-display-error): New command.
9992 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9993 C-o. (Bug#13992)
9994
2aa2157b
PE
99952013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9996
9997 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9998
e477dbfa
JD
99992013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10000
10001 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10002
64ab82d1
MA
100032013-03-18 Michael Albinus <michael.albinus@gmx.de>
10004
10005 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10006
10007 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10008 * net/tramp-gvfs.el (top):
10009 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10010 (tramp-handle-shell-command): Use it.
10011 (tramp-dissect-file-name): Raise an error when hostname is a
10012 method name, and neither method nor user is specified.
10013
10014 * net/trampver.el: Update release number.
10015
33cef733
LL
100162013-03-18 Leo Liu <sdl.web@gmail.com>
10017
10018 Make sure eldoc can be turned off properly.
10019 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10020 eldoc-mode.
10021 (eldoc-display-message-p): Revert last change.
10022 (eldoc-display-message-no-interference-p)
10023 (eldoc-print-current-symbol-info): Tweak.
10024
2167b7b2
TH
100252013-03-18 Tassilo Horn <tsdh@gnu.org>
10026
10027 * doc-view.el (doc-view-new-window-function): Check the new window
10028 overlay's display property instead the char property of the
10029 buffer's first char. Use `with-selected-window' instead of
10030 `save-window-excursion' with `select-window'.
10031 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10032 display property instead the char property of the buffer's first char.
2167b7b2 10033
982efbcd
PE
100342013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10035
10036 Automate the build of ja-dic.el (Bug#13984).
10037 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10038 from the input, rather than assume that it's been done for us by the
10039 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10040 the current date into a ja-dic.el comment, as that complicates
10041 regression testing.
10042
2fcc7665
SM
100432013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * whitespace.el: Fix double evaluation.
10046 (whitespace-space, whitespace-hspace, whitespace-tab)
10047 (whitespace-newline, whitespace-trailing, whitespace-line)
10048 (whitespace-space-before-tab, whitespace-indentation)
10049 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10050 obsolete defvars.
10051 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10052 (whitespace-color-on): Use a single font-lock-add-keywords call.
10053 Fix double-evaluation of face variables.
10054
67c0a6e6
MA
100552013-03-17 Michael Albinus <michael.albinus@gmx.de>
10056
2fcc7665
SM
10057 * net/tramp-adb.el (tramp-adb-parse-device-names):
10058 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10059 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10060
69489f1d
LL
100612013-03-17 Leo Liu <sdl.web@gmail.com>
10062
10063 Extend eldoc to display info in the mode-line. (Bug#13978)
10064 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10065 (eldoc-mode-line-string): New variable.
10066 (eldoc-minibuffer-message): New function.
10067 (eldoc-message-function): New variable.
10068 (eldoc-message): Use it.
10069 (eldoc-display-message-p)
2fcc7665
SM
10070 (eldoc-display-message-no-interference-p):
10071 Support eldoc-post-insert-mode.
69489f1d
LL
10072
10073 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10074 (eval-expression): Run it.
10075
9c44569e
RW
100762013-03-17 Roland Winkler <winkler@gnu.org>
10077
10078 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10079 strings in the list of return values.
10080
327f1f6f
JB
100812013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10082
10083 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10084 radix before checking for HMS forms.
10085
67ed8fcd
LL
100862013-03-16 Leo Liu <sdl.web@gmail.com>
10087
10088 * progmodes/scheme.el: Add indentation and font-locking for λ.
10089 (Bug#13975)
10090
78be8b64 100912013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10092
10093 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10094 token before point (bug#13942).
10095
78be8b64 100962013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10097
95b43468 10098 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10099
98e775e6
EZ
101002013-03-16 Eli Zaretskii <eliz@gnu.org>
10101
10102 * startup.el (command-line-normalize-file-name): Fix handling of
10103 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10104 <xfq.free@gmail.com> in
10105 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10106
2edd6029
MA
101072013-03-15 Michael Albinus <michael.albinus@gmx.de>
10108
10109 Sync with Tramp 2.2.7.
10110
10111 * net/trampver.el: Update release number.
10112
d35f5864
TH
101132013-03-14 Tassilo Horn <tsdh@gnu.org>
10114
e903c210 10115 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10116 (doc-view-insert-image): Don't modify overlay associated to
10117 non-live windows, and implement horizontal centering of image in
10118 case it's smaller than the window.
10119 (doc-view-new-window-function): Force redisplay of new windows on
10120 doc-view buffers.
d35f5864 10121
1c4a85ed
KF
101222013-03-13 Karl Fogel <kfogel@red-bean.com>
10123
10124 * saveplace.el (save-place-alist-to-file): Don't sort
10125 `save-place-alist', just pretty-print it (bug#13882).
10126
85b66a21
MA
101272013-03-13 Michael Albinus <michael.albinus@gmx.de>
10128
a020afb9
JB
10129 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10130 Check whether `default-file-name-coding-system' is bound.
10131 It isn't in XEmacs.
85b66a21 10132
175600da
SM
101332013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10134
e7f7cb1a
SM
10135 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10136 backquotes for `obsolete' (bug#13929).
10137
175600da
SM
10138 * international/mule.el (find-auto-coding): Include file name in
10139 obsolescence warning (bug#13922).
10140
ca68a22e
TZ
101412013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10142
10143 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10144 for CFEngine 3-specific indentation.
10145 (cfengine3-indent-line): Use it. Fix up category regex.
10146 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10147
940e5099
SM
101482013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * type-break.el (type-break-file-name):
10151 * textmodes/remember.el (remember-data-file):
10152 * strokes.el (strokes-file):
10153 * shadowfile.el (shadow-initialize):
10154 * saveplace.el (save-place-file):
10155 * ps-bdf.el (bdf-cache-file):
10156 * progmodes/idlwave.el (idlwave-config-directory):
10157 * net/quickurl.el (quickurl-url-file):
10158 * international/kkc.el (kkc-init-file-name):
10159 * ido.el (ido-save-directory-list-file):
10160 * emulation/viper.el (viper-custom-file-name):
10161 * emulation/vip.el (vip-startup-file):
10162 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10163 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10164
cc725808
PE
101652013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10166
10167 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10168 * language/thai-word.el: Switch to UTF-8.
10169
a020afb9 10170See ChangeLog.16 for earlier changes.
e3d51b27
MR
10171
10172;; Local Variables:
10173;; coding: utf-8
e3d51b27
MR
10174;; End:
10175
ab422c4d 10176 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10177
10178 This file is part of GNU Emacs.
10179
10180 GNU Emacs is free software: you can redistribute it and/or modify
10181 it under the terms of the GNU General Public License as published by
10182 the Free Software Foundation, either version 3 of the License, or
10183 (at your option) any later version.
10184
10185 GNU Emacs is distributed in the hope that it will be useful,
10186 but WITHOUT ANY WARRANTY; without even the implied warranty of
10187 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10188 GNU General Public License for more details.
10189
10190 You should have received a copy of the GNU General Public License
10191 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.