bool-vector-subsetp is now the normal direction.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4301875e 12013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2
3 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4
4301875e
BB
5 * emacs-lisp/helpers.el (string-join): New function.
6
f0ffd77d 72013-11-25 Sebastian Wiesner <lunaryorn@gmail.com>
2bb3a748
BB
8
9 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10 Mark as obsolete and replace it with a symbol property.
11 (byte-compile-form): Use new 'interactive-only property.
12 * comint.el, files.el, replace.el, simple.el:
13 Apply new 'interactive-only properly.
14
00139435
MR
152013-11-25 Martin Rudalics <rudalics@gmx.at>
16
17 * window.el (display-buffer-at-bottom): Make sure that
18 split-window-sensibly creates the new window on bottom
19 (Bug#15961).
20
5f5b128d
DK
212013-11-23 David Kastrup <dak@gnu.org>
22
23 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
24 on the conflict markers when available.
25 (smerge--get-marker): New function.
26 (smerge-end-re, smerge-base-re): Add subgroup.
27
623891e5
SM
282013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * frame.el (handle-focus-in, handle-focus-out): Add missing
31 interactive spec.
32
05ca27d8
MA
332013-11-25 Michael Albinus <michael.albinus@gmx.de>
34
35 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
36 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
37
511fa0d3
SM
382013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
39
e82ad66c
SM
40 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
41 (gomoku--last-pos): New var.
42 (gomoku--intangible-chars): New const.
43 (gomoku--intangible): New function.
44 (gomoku-mode): Use it. Derive from special-mode.
45 (gomoku-move-up): Adjust line count.
46 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
47 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
48 Simplify accordingly.
49
511fa0d3
SM
50 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
51 Remove blink-cursor code.
52 (blink-cursor-timer-function, blink-cursor-suspend):
53 Don't special-case GUIs.
54 (blink-cursor-mode): Use focus-in/out-hook.
55
6f20dd03
DG
562013-11-25 Dmitry Gutov <dgutov@yandex.ru>
57
58 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
59 work when annotation is invisible (Bug#13886).
60
431dec31 612013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
62
63 * json.el (json-alist-p): Only return non-nil if the alist has
64 simple keys (Bug#13518).
65
431dec31 662013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
67
68 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
69 when control-statement is the first statement in a buffer (Bug#15956).
70
ee4f0261
DG
712013-11-24 Dmitry Gutov <dgutov@yandex.ru>
72
73 * imenu.el (imenu-generic-skip-comments-and-strings):
74 New option (Bug#15560).
75 (imenu--generic-function): Use it.
76
c484f866
JS
772013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
78
79 * minibuffer.el (completion--in-region-1): Scroll the correct
80 window. (Bug#13898)
81
41ce6f70
BB
822013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
83
b55aea38
BB
84 * emacs-lisp/helpers.el: Add some string helpers.
85 (string-trim-left): Removes leading whitespace.
86 (string-trim-right): Removes trailing whitespace.
87 (string-trim): Removes leading and trailing whitespace.
88
41ce6f70
BB
89 * subr.el (string-suffix-p): New function.
90
3cfb6af3
GM
912013-11-23 Glenn Morris <rgm@gnu.org>
92
93 * progmodes/python.el (python-shell-send-file):
94 Add option to delete file when done. (Bug#15647)
95 (python-shell-send-string, python-shell-send-region): Use it.
96
c27924b7
IS
972013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
98
e1b01c7f
IS
99 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
100 to set buffer-read-only to t, never to nil. (Bug#15938)
101
c27924b7
IS
102 * textmodes/tex-mode.el (latex-noindent-environments):
103 Add safe-local-variable property. (Bug#15936)
104
17e0445b
GM
1052013-11-23 Glenn Morris <rgm@gnu.org>
106
92f78ea3
GM
107 * textmodes/enriched.el (enriched-mode): Doc fix.
108 * emacs-lisp/authors.el (authors-renamed-files-alist):
109 Add enriched.doc -> enriched.txt.
110
17e0445b
GM
111 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
112
965bb23a
LL
1132013-11-22 Leo Liu <sdl.web@gmail.com>
114
115 * progmodes/octave.el (inferior-octave-startup): Spit out error
116 message.
117
d19ffd64
BB
1182013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
119
120 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
121 Improve docstring.
15ba2182
BB
122 Add :version.
123 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 124
7a7567d2
LL
1252013-11-22 Leo Liu <sdl.web@gmail.com>
126
127 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
128 (Bug#15076)
8c09f64b
LL
129 (octave-help-mode): Adapt to change to help-mode-finish to use
130 derived-mode-p on 2013-09-17.
131 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 132 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 133
724bc265
LL
1342013-11-22 Leo Liu <sdl.web@gmail.com>
135
136 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
137 (inferior-octave-startup, inferior-octave-check-process)
138 (inferior-octave-track-window-width-change)
139 (octave-completion-at-point, octave-eldoc-function): Use it.
140 (octave-kill-process): Provide confirmation. (Bug#10564)
141
38637cca
LL
1422013-11-21 Leo Liu <sdl.web@gmail.com>
143
511fa0d3
SM
144 * progmodes/octave.el (octave-mode, inferior-octave-mode):
145 Fix obsolete variable comment-use-global-state.
38637cca 146
06e752b4
RS
1472013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
148
511fa0d3
SM
149 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
150 Add `octave-source-file'.
06e752b4
RS
151 (octave-source-file): New function. (Bug#15935)
152
604ede6c
TZ
1532013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
154
155 * net/eww.el (eww-local-regex): New variable.
156 (eww): Use it to detect localhost and similar.
157
b6ffa04a
LL
1582013-11-21 Leo Liu <sdl.web@gmail.com>
159
160 Add completion for command `ag'.
2021a200
LL
161 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
162 (pcomplete/ag): New function.
163 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 164
d1a6bccc
SM
1652013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
168 (bug#14646).
169 (make-obsolete): Remove interactive spec.
170
2df10228
GM
1712013-11-21 Glenn Morris <rgm@gnu.org>
172
173 * startup.el (command-line-1): Use path-separator with -L.
174
86fd16b6
TZ
1752013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
176
177 * emacs-lisp/package.el (describe-package-1): Add package archive
178 to shown fields.
179
7a12a42b
BB
1802013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
181
182 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
183 Change default to "# encoding: %s" to differentiate it from the
184 default Ruby encoding comment template.
185
dc7e8c17 1862013-11-20 era eriksson <era+emacsbugs@iki.fi>
187
188 * ses.el (ses-mode): Doc fix. (Bug#14748)
189
f0cfa5fe
LL
1902013-11-20 Leo Liu <sdl.web@gmail.com>
191
192 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
193
826dc7b6
DN
1942013-11-19 Dan Nicolaescu <dann@gnu.org>
195
196 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
197 when rebase or bisect are in progress.
198
a6e3a5d5
XF
1992013-11-19 Xue Fuqiao <xfq.free@gmail.com>
200
201 * filenotify.el (file-notify-add-watch): Doc fix.
202
f130cb76
LL
2032013-11-19 Leo Liu <sdl.web@gmail.com>
204
e0855d7d
LL
205 * obsolete/rcompile.el: Mark obsolete.
206
f130cb76 207 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
208 (compilation-goto-locus, compilation-find-file):
209 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
210 (Bug#13594)
211
212 * window.el (display-buffer-alist, display-buffer): Document the
213 new parameter no-display-ok.
214
1f35d401
SM
2152013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
216
25158c76
SM
217 * electric.el (electric-indent-mode-map): Remove.
218 (electric-indent-mode): Change the global-map instead (bug#15915).
219
220 * textmodes/text-mode.el (paragraph-indent-minor-mode):
221 Use add-function.
1f35d401 222
9bc67baa
SM
2232013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
224
986545b5
SM
225 * emacs-lisp/nadvice.el (remove-function): Align with
226 add-function's behavior.
227
9bc67baa
SM
228 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
229 (gdb--string-regexp): New constant.
230 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
231 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
232 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
233 submatch 1.
234 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
235 Adjust use accordingly.
236 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
237
56cd894e
AS
2382013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
239
240 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
241 interpolation curlies (Bug#15914).
242
014690de
JB
2432013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
244
245 * calc/calc.el (calc-context-sensitive-enter): New variable.
246 (calc-enter): Use `calc-context-sensitive-enter'.
247
7e26a6c3
TZ
2482013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
249
250 * progmodes/cfengine.el: Version bump.
251 (cfengine-cf-promises): New defcustom to locate cf-promises.
252 (cfengine3-vartypes): Add new "data" type.
253 (cfengine3--current-word): New function to get current name-like
254 word or its bounds.
255 (cfengine3--current-function): New function to look up a CFEngine
256 function's definition.
257 (cfengine3-format-function-docstring): New function.
258 (cfengine3-make-syntax-cache): New function.
259 (cfengine3-documentation-function): New function: ElDoc glue.
260 (cfengine3-completion-function): New function: completion glue.
261 (cfengine3-mode): Set `compile-command',
262 `eldoc-documentation-function', and add to
263 `completion-at-point-functions'.
264
355204dd
MA
2652013-11-16 Michael Albinus <michael.albinus@gmx.de>
266
267 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
268 `tramp-current-connection'.
269
43cebc23
DG
2702013-11-15 Dmitry Gutov <dgutov@yandex.ru>
271
272 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
273 nil/self/true/false with "end of symbol".
274
a3fed6ff
BB
2752013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
276
277 * subr.el (version-regexp-alist): Fix a typo.
278
e675b3e4
MA
2792013-11-15 Michael Albinus <michael.albinus@gmx.de>
280
281 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
282 "en_US.utf8" and "LC_CTYPE" to "".
283 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
284 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
285
a1f03e89
LL
2862013-11-15 Leo Liu <sdl.web@gmail.com>
287
288 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
289
5d9d9451
SM
2902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
291
58362662
CS
292 * progmodes/gud.el (ctl-x-map):
293 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
294 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
295
6c1bf086
BB
2962013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
297
0d5363c4
BB
298 * subr.el (version-regexp-alist):
299 Recognize hg, svn and darcs versions as snapshot versions.
300
6c1bf086
BB
301 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
302 Add the ability to always insert an utf-8 encoding comment.
99f5d074 303 Fix and simplify coding comment update logic.
6c1bf086 304
2f7e72f8
MA
3052013-11-14 Michael Albinus <michael.albinus@gmx.de>
306
307 * net/tramp-gvfs.el (top): Run init code only when
308 `tramp-gvfs-enabled' is not nil.
309 (tramp-gvfs-enabled): Check also :system bus.
310
0f137a73
SM
3112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 Sync with upstream verilog-mode revision 78e66ba.
314 * progmodes/verilog-mode.el (verilog-end-of-defun)
315 (verilog-type-completion, verilog-get-list): Remove unused funcs.
316 (verilog-get-end-of-defun): Remove unused argument.
317 (verilog-comment-depth): Remove unused local `e'.
318 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
319 Don't pass arg to verilog-get-end-of-defun.
320
1c276bdd
GM
3212013-11-14 Glenn Morris <rgm@gnu.org>
322
323 * obsolete/assoc.el (aget): Prefix dynamic variable.
324
325 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
326
ff6ec81d
SM
3272013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * widget.el, hfy-cmap.el: Remove bogus package version number.
330
75f777b6
GM
3312013-11-13 Glenn Morris <rgm@gnu.org>
332
1d43dba1
GM
333 * replace.el (replace-eval-replacement):
334 Try to give more helpful error message. (Bug#15836)
335
ff4b7bd5
GM
336 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
337 (archive-7z-update): Avoid custom type mismatches.
338
75f777b6
GM
339 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
340
11151a06
MA
3412013-11-13 Michael Albinus <michael.albinus@gmx.de>
342
e675b3e4 343 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
344 address can be empty.
345
346 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
347 Accept nil SWITCHES.
348 (tramp-gvfs-handle-write-region): Implement APPEND.
349
7b08f97e
DG
3502013-11-12 Dmitry Gutov <dgutov@yandex.ru>
351
352 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
353 binary "|" operator and closing block args delimiter.
354 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
355 (ruby-smie--implicit-semi-p): Not after "|" operator.
356 (ruby-smie--closing-pipe-p): New function.
357 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
358 (ruby-smie-rules): Indent after "|".
359
f201cf3a
GM
3602013-11-12 Glenn Morris <rgm@gnu.org>
361
362 * ps-print.el (ps-face-attribute-list):
363 Handle anonymous faces. (Bug#15827)
364
e6f759f9
MR
3652013-11-12 Martin Rudalics <rudalics@gmx.at>
366
367 * window.el (display-buffer-other-frame): Fix doc-string.
368 (Bug#15868)
369
ecda65d4
SM
3702013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * subr.el (force-mode-line-update): Delete, move to buffer.c.
373
7ce8fcc3
MA
3742013-11-11 Michael Albinus <michael.albinus@gmx.de>
375
376 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
377 (tramp-sh-handle-file-local-copy): Don't write a message when
378 saving temporary files.
379
380 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
381 both directories are remote.
382 (tramp-smb-handle-directory-files): Do not return double entries.
383 Do not expand full file names.
384 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
385 (tramp-smb-handle-write-region): Implement APPEND.
386 (tramp-smb-get-stat-capability): Fix a stupid bug.
387
7818df11
SM
3882013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
391
608c2085
NT
3922013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
393
394 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
395 throwing error over malformed let/let* (bug#15814).
396
122a7e46
SM
3972013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * iswitchb.el (iswitchb-mode): Mark obsolete.
400
766284d9
GM
4012013-11-11 Glenn Morris <rgm@gnu.org>
402
403 * international/uni-bidi.el, international/uni-category.el:
404 * international/uni-name.el, international/uni-numeric.el:
405 Regenerate for Unicode 6.3.0.
406
7072a4e9
MA
4072013-11-10 Michael Albinus <michael.albinus@gmx.de>
408
409 * net/tramp.el (tramp-methods):
410 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
411 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
412
c9df215b
AS
4132013-11-09 Andreas Schwab <schwab@linux-m68k.org>
414
608c2085
NT
415 * progmodes/sh-script.el (sh-font-lock-keywords-var):
416 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 417
fa47d796
DG
4182013-11-09 Dmitry Gutov <dgutov@yandex.ru>
419
420 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 421 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
422 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
423 (ispell-complete-word): Call `ispell-lookup-words' with the value
424 independent of `ispell-look-p'.
425
1629a329
DG
4262013-11-08 Dmitry Gutov <dgutov@yandex.ru>
427
428 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
429 Not after "||".
430 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
431 their parent.
432
ad16897c
SM
4332013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
436 (ruby-font-lock-keywords): Use backquote.
437
ffa2df72
DG
4382013-11-08 Dmitry Gutov <dgutov@yandex.ru>
439
440 * progmodes/ruby-mode.el (ruby-smie--forward-token)
441 (ruby-smie--backward-token): Only consider full-string matches.
442
5b97b4c0
JD
4432013-11-08 Jan Djärv <jan.h.d@swipnet.se>
444
445 * faces.el (describe-face): Add distant-foreground.
446
71731c03
BB
4472013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
448
ad16897c
SM
449 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
450 Use `ruby-encoding-magic-comment-style' to control the
71731c03
BB
451 style of the auto-inserted encoding comment.
452
da3b328d
DG
4532013-11-08 Dmitry Gutov <dgutov@yandex.ru>
454
ad16897c
SM
455 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
456 Use `smie-backward-sexp' with token argument.
da3b328d 457
1606c2d3
MA
4582013-11-08 Michael Albinus <michael.albinus@gmx.de>
459
460 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
461 Remove instrumentation code.
462
b0f4c320
GM
4632013-11-08 Glenn Morris <rgm@gnu.org>
464
465 * progmodes/autoconf.el (autoconf-mode):
466 Tweak comment-start-skip. (Bug#15822)
467
43668fb1
SM
4682013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
471 at bobp (bug#15826).
472 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
473
daddb3fd
DH
4742013-11-08 Darren Hoo <darren.hoo@gmail.com>
475
476 * man.el (Man-start-calling): New macro, extracted from
477 Man-getpage-in-background.
478 (Man-getpage-in-background): Use it.
479 (Man-update-manpage): New command.
480 (Man-mode-map): Bind it.
481
1f923923
DG
4822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
483
484 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
485 of "and", "or", "&&" and "||".
486 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
487 argument. Prohibit opening curly brace because it could only be a
488 block opener in that position.
daddb3fd
DH
489 (ruby-smie--forward-token, ruby-smie--backward-token):
490 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
491 arguments.
492 (ruby-smie--indent-to-stmt): New function, seeks the end of
493 previous statement or beginning of buffer.
494 (ruby-smie-rules): Use it.
495 (ruby-smie-rules): Check if there's a ":" before a curly block
496 opener candidate; if there is, it's a hash.
497
3220d527
SM
4982013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
501 (cl--block-wrapper): Fix last accidental change.
502
1eb1f9e0
MA
5032013-11-07 Michael Albinus <michael.albinus@gmx.de>
504
505 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
506 Instrument, in order to hunt failure on hydra.
507
e6e4db3c
NT
5082013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
509
510 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
511 malformed bindings form (bug#15814).
512
b420ccfc
DG
5132013-11-07 Dmitry Gutov <dgutov@yandex.ru>
514
515 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
516 "." compared to " @ ". This incidentally fixes some indentation
517 examples with "do".
e6e4db3c 518 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
519 (ruby-smie-grammar): New tokens: "and" and "or".
520 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
521 Exclude "and" and "or". Remove "do" in order to work around token
522 priorities.
523 (ruby-smie-rules): Add all infix tokens. Handle the case of
524 beginning-of-buffer.
b420ccfc 525
6b4ac03e
GM
5262013-11-06 Glenn Morris <rgm@gnu.org>
527
528 * Makefile.in (setwins_almost, setwins_for_subdirs):
529 Avoid accidental matches.
530
5ca114d1
SM
5312013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * menu-bar.el (popup-menu): Use key-binding.
534
f72552bd
EZ
5352013-11-06 Eli Zaretskii <eliz@gnu.org>
536
537 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
538 menus, support also the menus produced by minor modes.
539 (Bug#15817)
540
5d5c701e
LL
5412013-11-06 Leo Liu <sdl.web@gmail.com>
542
543 * thingatpt.el (thing-at-point-looking-at): Add optional arg
544 DISTANCE to bound the search. All uses changed. (Bug#15808)
545
0a8b75e2
GM
5462013-11-06 Glenn Morris <rgm@gnu.org>
547
548 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
549 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
550 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 551
a35287ea
SM
5522013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
553
feca4e2d
SM
554 * electric.el (electric-indent-just-newline): New command.
555 (electric-indent-mode-map): New keymap.
556 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
557 Re-add :group which weren't redundant.
558
a35287ea
SM
559 * electric.el (electric-indent-local-mode): New minor mode.
560 (electric-indent-functions-without-reindent): New var.
561 (electric-indent-post-self-insert-function): Use it.
562 * emacs-lisp/gv.el (buffer-local-value): Add setter.
563
375761b2
EZ
5642013-11-05 Eli Zaretskii <eliz@gnu.org>
565
9a6ad735
EZ
566 * international/quail.el (quail-help): Be more explicit about the
567 meaning of the labels shown on the keys. (Bug#15800)
568
375761b2
EZ
569 * startup.el (normal-top-level): Load the subdirs.el files before
570 setting the locale environment. (Bug#15805)
571
520a6e4a
SM
5722013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
573
0acfafef
SM
574 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
575 via arguments so as to get the right ones (bug#15418).
576
520a6e4a
SM
577 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
578
15826261
MA
5792013-11-05 Michael Albinus <michael.albinus@gmx.de>
580
581 Fix problems found while writing a test suite.
582
583 * net/tramp-compat.el (tramp-compat-load): New defun.
584 * net/tramp.el (tramp-handle-load): Use it.
585
586 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
587 "(numberp ok-if-already-exists)" correctly.
588
d35f31a4
XF
5892013-11-05 Xue Fuqiao <xfq.free@gmail.com>
590
591 * international/characters.el (glyphless-char-display-control):
592 Add usage note.
593
ae93bc74
BB
5942013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
595
520a6e4a
SM
596 * progmodes/python.el (python-mode):
597 * progmodes/scheme.el (scheme-mode):
598 * progmodes/prolog.el (prolog-mode):
599 * progmodes/ruby-mode.el (ruby-mode):
600 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
601 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 602
0ade65b5
SM
6032013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
604
a0d5f7a4
SM
605 * rect.el (rectangle--highlight-for-redisplay):
606 * emacs-lisp/smie.el (smie--next-indent-change):
607 Use buffer-chars-modified-tick.
608
c93f3f5c
SM
609 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
610
0ade65b5
SM
611 * electric.el (electric-indent-post-self-insert-function):
612 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
613
ef9dd188
HE
6142013-11-04 Helmut Eller <eller.helmut@gmail.com>
615
616 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
617
306e7308
NT
6182013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
619
620 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
621 (bug#15786).
622
e5afbcac
SM
6232013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
624
1d01ad41
SM
625 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
626
e5afbcac
SM
627 * progmodes/python.el: Fix up last change.
628 (python-shell--save-temp-file): New function.
629 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
630 `string' comes from the current buffer.
631 (python-shell-send-string-no-output): Remove `msg' arg.
632 (python--use-fake-loc): New var.
633 (python-shell-buffer-substring): Obey it. Try to compensate for the
634 extra coding line added by python-shell--save-temp-file.
635 (python-shell-send-region): Use python-shell--save-temp-file and
636 python-shell-send-file directly. Add `nomain' argument.
637 (python-shell-send-buffer): Use python-shell-send-region.
638 (python-electric-pair-string-delimiter): New function.
639 (python-mode): Use it.
640
d0065ff1
EZ
6412013-11-04 Eli Zaretskii <eliz@gnu.org>
642
643 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
644 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
645 environment and decoding all of the default-directory's to here
646 from command-line.
647 (command-line): Decode also argv[0].
648
649 * loadup.el: Error out if default-directory is a multibyte string
650 when we are dumping.
651
652 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
653
7397c587
TZ
6542013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
655
656 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
657 (package-menu--print-info, package-menu--archive-predicate):
658 Add Archive column to package list.
7397c587 659
b27cc9fc
MA
6602013-11-04 Michael Albinus <michael.albinus@gmx.de>
661
662 Fix problems found while writing a test suite.
663
664 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
665 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
666 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
667 to nil when running original file name handler. Otherwise,
668 there are problems with constructs like "$$FOO".
669
670 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
671 for `localname'.
672
d8c4f18a
BB
6732013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
674
7b530552
BB
675 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
676
677 * subr.el (version<, version<=, version=):
678 Update docstrings with information for snapshot versions.
679
d8c4f18a
BB
680 * helpers.el: New library for misc helper functions.
681 (hash-table-keys): New function returning a list of hash keys.
682 (hash-table-values): New function returning a list of hash values.
683
dca01b09
DG
6842013-11-04 Dmitry Gutov <dgutov@yandex.ru>
685
686 * progmodes/ruby-mode.el (ruby-smie--forward-token)
687 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
688
0a749fa0
MN
6892013-11-04 Michal Nazarewicz <mina86@mina86.com>
690
691 * textmodes/fill.el (fill-single-char-nobreak-p): New function
692 checking whether point is after a 1-letter word.
693
6942013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
695
696 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
697 Don't infloop when expanding region over `multiline' syntax-type that
698 begins a line (bug#15778).
699
4aca7145
SM
7002013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
703 Make it into a proper minor mode.
704 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
705 (rectangle-mark-mode-map): New keymap.
706 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
707
a0833f62
GM
7082013-11-04 Glenn Morris <rgm@gnu.org>
709
710 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
711
e61845c1
SM
7122013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
715 (ruby-smie-rules): Use smie-rule-parent instead.
716
717 * emacs-lisp/smie.el (smie-rule-parent): Always call
718 smie-indent-virtual rather than only for hanging tokens.
719 (smie--next-indent-change): New helper command.
720
62942f89
GM
7212013-11-03 Glenn Morris <rgm@gnu.org>
722
723 * Makefile.in (abs_srcdir): Remove.
724 (emacs): Unset EMACSLOADPATH.
725
b0b9e592
GM
7262013-11-02 Glenn Morris <rgm@gnu.org>
727
18ba6a33 728 * Makefile.in (EMACS): Use a relative filename.
8061810d 729 (abs_top_builddir): Remove.
18ba6a33
GM
730 (custom-deps, finder-data, autoloads): Use --chdir.
731
6a8b929e
GM
732 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
733
c617f3d0
GM
734 Use relative filenames in TAGS files.
735 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
736 (lisptagsfiles4, TAGS): Use relative file names.
737 (TAGS-LISP): Remove.
738 (maintainer-clean): No more TAGS-LISP file.
739
b0b9e592
GM
740 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
741 (lisptagsfiles4): Use absolute filenames again.
742 (TAGS, TAGS-LISP): Not everything needs to run in one line.
743 Remove all *loaddefs files, not just the first. Remove esh-groups.
744 (maintainer-clean): Delete TAGS, TAGS-LISP.
745
d1c0ea6a
BB
7462013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
747
e61845c1
SM
748 * emacs-lisp/package.el (package-version-join):
749 Recognize snapshot versions.
d1c0ea6a 750
684d71c6
BB
7512013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
752
753 * subr.el (version-regexp-alist): Add support for snapshot versions.
754
3d42b968
DG
7552013-11-02 Dmitry Gutov <dgutov@yandex.ru>
756
e61845c1
SM
757 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
758 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
759 skip over our direct parent if it's an assignment token..
760 (ruby-smie-rules): Use it.
761
7ffd3721
DG
7622013-11-02 Dmitry Gutov <dgutov@yandex.ru>
763
764 * progmodes/ruby-mode.el Use `syntax-propertize-function'
765 unconditionally. Remove now unnecessary forward declarations.
766 Remove XEmacs-specific setup.
767 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
768 (ruby-font-lock-syntactic-keywords)
769 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
770 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
771 (ruby-here-doc-end-syntax): Remove.
772 (ruby-mode): Don't check whether `syntax-propertize-rules' is
773 defined as function.
774
a3996a2e
BB
7752013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
776
777 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
778
6f9260e8
BB
7792013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
780
781 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
782 table and abbrev table, `define-derived-mode' does that for us
783 anyway.
784
6014de84
GM
7852013-11-01 Glenn Morris <rgm@gnu.org>
786
787 * Makefile.in: Remove manual mh-e dependencies (writing .elc
788 files is atomic for some time, so no parallel compilation issues).
789
3c334c14
JD
7902013-11-01 Jan Djärv <jan.h.d@swipnet.se>
791
792 * faces.el (face-x-resources): Add :distant-foreground.
793 (region): Use :distant-foreground for gtk and ns.
794
9bc236c8
TH
7952013-11-01 Tassilo Horn <tsdh@gnu.org>
796
5246583b 797 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
798 BibTeX.
799 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
800 (reftex-locate-bibliography-files): Us it.
801
d14c81ee
CB
8022013-11-01 Claudio Bley <claudio.bley@googlemail.com>
803
0e7690de
CB
804 * image.el (image-type-header-regexps): Fix the 'pbm' part to
805 allow comments in pbm files.
806
d14c81ee
CB
807 * term/w32-win.el (dynamic-library-alist): Support newer versions
808 of libjpeg starting with v7: look only for the DLL from the
809 version against which Emacs was built.
ac1bf374 810 Support versions of libpng beyond 1.4.x.
019c8218 811 Support libtiff v4.x.
d14c81ee 812
983d0df5
BB
8132013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
814
815 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
816 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
817 Add property :safe.
818 (ruby-deep-arglist): Add property :type.
819
47f58d85
GM
8202013-10-31 Glenn Morris <rgm@gnu.org>
821
822 * Makefile.in (custom-deps, finder-data): No need to setq the target
823 variables, we are in the right directory and the defaults work fine.
824
4f85b479
GM
8252013-10-30 Glenn Morris <rgm@gnu.org>
826
ca7dd4cd
GM
827 * Makefile.in (autoloads): Do not use abs_lisp.
828
4f85b479
GM
829 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
830 `newline' does not respect `standard-output', so use `princ'.
831
cf59e41c
AA
8322013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
833
834 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
835 * buff-menu.el (Buffer-menu--unmark): New function.
836 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
837
74cf04fb
GM
8382013-10-30 Glenn Morris <rgm@gnu.org>
839
b040b60e
GM
840 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
841
f53d3815
GM
842 * emacs-lisp/package.el (lm-homepage): Declare.
843
5413d873
GM
844 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
845 Fix doc typos.
846
cecedb36
GM
847 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
848
74cf04fb
GM
849 * Makefile.in (finder-data, autoloads, update-subdirs)
850 (compile-main, compile-clean, compile-always, bootstrap-clean):
851 Check return value of cd.
852 (compile-calc): Remove.
853
195ee2f0
SM
8542013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
855
ae4002ce
SM
856 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
857
858 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
859 (byte-compile-and-folded): New function.
860 (=, <, >, <=, >=): Use it.
861
862 * dos-w32.el (minibuffer-history-case-insensitive-variables)
863 (path-separator, null-device, buffer-file-coding-system)
864 (lpr-headers-switches): Check system-type before modifying them.
865 (find-buffer-file-type-coding-system): Mark obsolete.
866 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
867 find-file-not-found-set-buffer-file-coding-system.
868 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
869 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
870 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
871 (w32-direct-print-region-helper, w32-direct-print-region-function)
872 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
873 * startup.el (normal-top-level-add-subdirs-to-load-path):
874 * ps-print.el (ps-print-region-function):
875 * lpr.el (print-region-function): Use new name.
876
53b39e89
SM
877 * subr.el (custom-declare-variable-early): Remove function.
878 (custom-declare-variable-list): Remove var.
879 (error, user-error): Remove `while' loop.
880 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
881 (user-emacs-directory-warning, locate-user-emacs-file):
882 Move to files.el.
883 * simple.el (read-quoted-char-radix, read-quoted-char):
884 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
885 Move from subr.el.
886 * custom.el (custom-declare-variable-list): Don't process
887 custom-declare-variable-list.
888
195ee2f0
SM
889 * progmodes/python.el (python-shell-get-buffer): New function.
890 (python-shell-get-process): Use it.
891 (python-shell-send-string): Always use utf-8 and add a cookie to tell
892 Python which encoding was used. Don't split-string since we only care
893 about the first line. Return the temp-file, if applicable.
894 (python-shell-send-region): Tell compile.el how to turn locations in
895 the temp-file into locations in the source buffer.
896
7e3561ee
SM
8972013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
898
4c9797cb
SM
899 * subr.el (undefined): Add missing behavior from the C code for
900 unbound keys.
901
3472b6c6
SM
902 * rect.el: Use lexical-binding. Add new rectangular region support.
903 (rectangle-mark): New command.
904 (rectangle--region): New var.
905 (deactivate-mark-hook): Reset rectangle--region.
906 (rectangle--extract-region, rectangle--insert-for-yank)
907 (rectangle--highlight-for-redisplay)
908 (rectangle--unhighlight-for-redisplay): New functions.
909 (region-extract-function, redisplay-unhighlight-region-function)
910 (redisplay-highlight-region-function): Use them to handle
911 rectangular region.
912 * simple.el (region-extract-function): New var.
913 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
914 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
915 (kill-region): Replace obsolete `yank-handler' arg with `region'.
916 (copy-region-as-kill, kill-ring-save): Add `region' argument.
917 (redisplay-unhighlight-region-function)
918 (redisplay-highlight-region-function): New vars.
919 (redisplay--update-region-highlight): New function.
920 (pre-redisplay-function): Use it.
921 (exchange-point-and-mark): Don't deactivate the mark before
922 reactivate-it anyway.
923 * comint.el (comint-kill-region): Remove yank-handler argument.
924 * delsel.el (delete-backward-char, backward-delete-char-untabify)
925 (delete-char): Remove property, since it's now part of their
926 default behavior.
927 (self-insert-iso): Remove property since this command doesn't exist.
928
7e3561ee
SM
929 * emacs-lisp/package.el (package--download-one-archive)
930 (describe-package-1): Don't query the user about final newline.
931
b9bef71f
DC
9322013-10-29 Daniel Colascione <dancol@dancol.org>
933
934 * net/tramp.el (tramp-methods): Document new functionality.
935 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
936 tramp-hostname-checker if method provides one instead of scanning
937 argument list for "%h" to decide hostname acceptability.
938
4efc33f0
MA
9392013-10-28 Michael Albinus <michael.albinus@gmx.de>
940
941 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
942 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
943 Handle COPY-CONTENTS. (Bug#15737)
944
ed42a877
DU
9452013-10-28 Daiki Ueno <ueno@gnu.org>
946
947 * epa-file.el
7e3561ee
SM
948 (epa-file-cache-passphrase-for-symmetric-encryption):
949 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 950
18c9f8a2
XF
9512013-10-27 Xue Fuqiao <xfq.free@gmail.com>
952
7a4bc7be
XF
953 * image.el (defimage):
954 (image-load-path): Doc fixes.
18c9f8a2 955
b1e8e010
AM
9562013-10-27 Alan Mackenzie <acm@muc.de>
957
958 Indent statements in macros following "##" correctly.
7e3561ee
SM
959 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
960 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 961
73d40d1e 9622013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
963
964 * linum.el (linum-update-window): Fix boundary test (bug#13446).
965
c8c605ac
DG
9662013-10-27 Dmitry Gutov <dgutov@yandex.ru>
967
968 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
969 after `=' is probably a new expression.
970
ca7e59d4
RS
9712013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
972
973 * man.el (man-imenu-title): New option.
974 (Man-mode-map): Add menu. (Bug#15722)
975 (Man-mode): Add imenu to menu.
976
bae91342
DG
9772013-10-26 Dmitry Gutov <dgutov@yandex.ru>
978
979 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
980 specific in what the first arg can be: a non-keyword word,
981 string/regexp/percent literal opener, opening paren, or unary
982 operator followed directly by word.
983
eb89dc14
SM
9842013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
987 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
988 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
989 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
990 Remove vars, they do not apply any more.
991 (prolog-mode-abbrev-table): Remove redundant declaration.
992 (prolog-upper-case-string, prolog-lower-case-string): Remove.
993 (prolog-use-smie): Remove.
994 (prolog-smie-rules): Add indentation rule for the if-then-else layout
995 supported by prolog-electric-if-then-else-flag.
996 (prolog-mode-variables, prolog-menu): Use setq-local.
997 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
998 Remove binding to `Backspace' since this key doesn't exist anyway.
999 Remove bindings for electric self-inserting keys.
1000 (prog-mode): Assume it's defined.
1001 (prolog-post-self-insert): New function.
1002 (prolog-mode): Use it.
1003 (prolog-indent-line, prolog-indent-level)
1004 (prolog-find-indent-of-matching-paren)
1005 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1006 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1007 (prolog-goto-next-paren, prolog-in-string-or-comment)
1008 (prolog-tokenize, prolog-inside-mline-comment)
1009 (prolog-find-start-of-mline-comment): Remove functions.
1010 (prolog-find-unmatched-paren, prolog-clause-end)
1011 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1012 (prolog-electric--if-then-else): Rename from
1013 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1014 (prolog-tokenize-searchkey): Remove const.
1015 (prolog-clause-info): Use forward-sexp.
1016 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1017 (prolog-electric-if-then-else): Remove commands.
1018 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1019 for use in post-self-insert-hook.
1020 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1021 for use in post-self-insert-hook.
1022 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1023 for use in post-self-insert-hook.
1024 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1025 adapt it for use in post-self-insert-hook.
1026
3dab0a83
MA
10272013-10-25 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * emacs-lisp/ert.el (ert-run-tests-interactively):
1030 Use `completing-read'. (Bug#9756)
1031
fbfd0e1d
EZ
10322013-10-25 Eli Zaretskii <eliz@gnu.org>
1033
1034 * simple.el (line-move): Call line-move-1 instead of
1035 line-move-visual when the current window hscroll is zero, but
1036 temporary-goal-column indicates we will need to hscroll as result
1037 of the movement. (Bug#15712)
1038
963ce636
DG
10392013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1040
1041 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1042 capitalization. Use :visible instead of :active.
1043 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1044 commands that are used with SMIE.
1045 (ruby-do-end-to-brace): Insert space after `{'.
1046
a0be396a
JA
10472013-10-25 John Anthony <john@jo.hnanthony.com>
1048
f73754c9
JA
1049 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1050
1051 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1052
f5bf77df
GM
10532013-10-25 Glenn Morris <rgm@gnu.org>
1054
1055 * vc/vc.el (vc-print-log): Don't use a working revision unless
1056 one was explicitly specified. (Bug#15322)
1057
37241f62
SM
10582013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * subr.el (add-to-list): Preserve return value in compiler-macro
1061 (bug#15692).
1062
6408a65d
RS
10632013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1064
1065 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1066 result. Ask user to retry using '-all' flag. (Bug#15701)
1067
71e3276b
SM
10682013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/smie.el: New smie-config system.
1071 (smie-config): New defcustom.
1072 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1073 (smie-config-guess, smie-config-save): New commands.
1074 (smie-config--mode-local, smie-config--buffer-local)
1075 (smie-config--trace, smie-config--modefuns): New vars.
1076 (smie-config--advice, smie-config--mode-hook)
1077 (smie-config--setter, smie-config-local, smie-config--get-trace)
1078 (smie-config--guess-value, smie-config--guess): New functions.
1079 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1080 text properties. Treat "string fence" syntax like string syntax.
1081
1082 * progmodes/sh-script.el (sh-use-smie): Change default.
1083 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1084 (sh-var-value): Simplify by CSE.
1085 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1086 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1087 is used.
1088 (sh-guess-basic-offset): Use cl-incf.
1089 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1090
60db713e
HE
10912013-10-24 Helmut Eller <eller.helmut@gmail.com>
1092
1093 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1094 (bug#15699).
1095
8b251df6
GM
10962013-10-24 Glenn Morris <rgm@gnu.org>
1097
1098 * Makefile.in (abs_top_srcdir): Remove.
1099 (update-subdirs): Use relative path to update-subdirs.
1100
6be0e22b
EZ
11012013-10-24 Eli Zaretskii <eliz@gnu.org>
1102
1103 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1104 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1105 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1106 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1107
50b5b857
MA
11082013-10-24 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1111 (ert-test-skipped): New error.
1112 (ert-skip, ert-stats-skipped): New defuns.
1113 (ert--skip-unless): New macro.
1114 (ert-test-skipped): New struct.
1115 (ert--run-test-debugger, ert-test-result-type-p)
1116 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1117 (ert--stats-set-test-and-result, ert-char-for-test-result)
1118 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1119 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1120 Handle skipped tests. (Bug#9803)
50b5b857 1121
6f317c2f
GM
11222013-10-24 Glenn Morris <rgm@gnu.org>
1123
e43817c1
GM
1124 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1125
6f317c2f
GM
1126 * Makefile.in (abs_top_srcdir): New, set by configure.
1127 (update-subdirs): Correct build-aux location.
1128
369bbf71
DG
11292013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1130
8297b2cf
DG
1131 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1132 value, whether we could auto-deduce `backend', or not.
1133
369bbf71
DG
1134 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1135 with parameters" example. Simplify the "is it block or is it
1136 hash" check, but also make it more thorough.
1137
d5f1282f
MF
11382013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1139
1140 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1141
bc4aaa31
SM
11422013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1143
03d44565
SM
1144 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1145 { if it is hanging.
1146
bc4aaa31
SM
1147 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1148 :before ";".
1149
f493ff19
JB
11502013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1151
1152 * progmodes/compile.el (compilation-directory-matcher)
1153 (compilation-page-delimiter):
1154 Support GNU Make-4.0 directory quoting. (Bug#15678)
1155
c744a3b9
LL
11562013-10-23 Leo Liu <sdl.web@gmail.com>
1157
1158 * ido.el (ido-tidy): Handle read-only text.
1159
b8e3b0a9
GM
11602013-10-23 Glenn Morris <rgm@gnu.org>
1161
1162 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1163 (emacs, compile, compile-always):
1164 Quote entities that might contain whitespace.
1165 (custom-deps, finder-data, autoloads): Use abs_lisp.
1166 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1167 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1168 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1169
ee4282cd
DG
11702013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1171
bc4aaa31
SM
1172 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1173 Use `following-char'.
7790a270 1174
ee4282cd 11752013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1176
1177 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1178 * progmodes/ruby-mode.el (ruby-smie-rules):
1179 Remove corresponding workaround. Fix indentation rule of ";" so it
1180 also applies when ";" is the parent.
1181
d40a46d7
XF
11822013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1183
1184 * frame.el (display-screens, display-pixel-height)
1185 (display-pixel-width, display-mm-width, display-backing-store)
1186 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1187 (display-visual-class, display-monitor-attributes-list):
1188 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1189
a0f143c9
MG
11902013-10-22 Michael Gauland <mikelygee@amuri.net>
1191
1192 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1193 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1194
18cacc39
DG
11952013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1196
1197 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1198 TODO. Add "." after " @ ".
1199 (ruby-smie--at-dot-call): New function. Checks if point at method
1200 call with explicit target.
1201 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1202 to the method name tokens when it precedes them.
1203 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1204 (ruby-smie-rules): Add rule for indentation before and after "."
1205 token.
1206
df74c4be
SM
12072013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1208
c6dab55f
SM
1209 * textmodes/remember.el (remember-diary-extract-entries):
1210 Avoid add-to-list.
1211
df74c4be
SM
1212 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1213 an instruction.
1214
8c1ae481
DG
12152013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1216
cfef16c0
DG
1217 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1218 (ruby-smie--implicit-semi-p): Add new operator chars.
1219
8c1ae481
DG
1220 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1221 `smie-down-list'.
1222 (ruby-smie--args-separator-p): Check that there's no newline
1223 between method call and its arguments.
1224
87756ca9
AM
12252013-10-20 Alan Mackenzie <acm@muc.de>
1226
1227 Allow comma separated lists after Java "implements".
1228
df74c4be
SM
1229 * progmodes/cc-engine.el (c-backward-over-enum-header):
1230 Parse commas.
87756ca9
AM
1231 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1232 from a "disallowed" list in enum fontification.
1233
c25f8957
JB
12342013-10-20 Johan Bockgård <bojohan@gnu.org>
1235
df74c4be 1236 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1237
c25f8957
JB
1238 * progmodes/verilog-mode.el (verilog-mode): Don't set
1239 comment-indent-function globally.
1240
aca5fcdc
JD
12412013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1242
5f161884
JD
1243 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1244 Move Info menu item creation to ns-win.el.
1245
1246 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1247 in menu bar.
1248
aca5fcdc
JD
1249 * menu-bar.el: Move GNUStep specific menus...
1250
1251 * term/ns-win.el (ns-initialize-window-system): ... to here.
1252
914b7f98
SM
12532013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * simple.el (newline): Only run post-self-insert-hook when
1256 called interactively.
1257
846ffe77
JB
12582013-10-19 Johan Bockgård <bojohan@gnu.org>
1259
1260 * icomplete.el (icomplete-with-completion-tables): Add :version.
1261
033f22dd
AM
12622013-10-19 Alan Mackenzie <acm@muc.de>
1263
1264 Fix fontification bugs with constructors and const.
1265
1266 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1267 CASE 2) Remove the check for the absence of a suffix construct
1268 after a function declaration with only types (no identifiers) in
1269 the parentheses. Also, accept a function declaration with just a
1270 type inside the parentheses, if this type can be positively
1271 recognised as such, or if a prefix keyword like "explicit" nails
1272 down the construct as a declaration.
1273
58ce0cfc
EZ
12742013-10-19 Eli Zaretskii <eliz@gnu.org>
1275
1276 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1277 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1278 the problem whereby selecting a menu item that leads to a
1279 minibuffer prompt moves the cursor out of the minibuffer window,
1280 making it hard to type at the prompt. Suggested by Stefan Monnier
1281 <monnier@iro.umontreal.ca>.
1282
50e28e7d
JD
12832013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1284
1285 * menu-bar.el: Don't make Services menu.
1286
7deed4bf
RS
12872013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1288
1289 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1290 (ffap-alist): Use ffap-c++-mode for c++-mode.
1291 (ffap-c++-path): New variable.
1292 (ffap-c++-mode): New function.
1293
7bcb455b
JVJ
12942013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1295
1296 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1297
f0ff1cd5
MA
12982013-10-18 Michael Albinus <michael.albinus@gmx.de>
1299
1300 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1301 introduced on 2013-09-08, which results in an infinite loop
1302 requesting a password.
1303
d64da4b7
GM
13042013-10-18 Glenn Morris <rgm@gnu.org>
1305
1306 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1307
ea89ff08
WS
13082013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1309
1310 Sync with upstream verilog-mode revision 1a6ecec7.
1311 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1312 (verilog-mode-release-date): Remove.
1313 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1314 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1315 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1316 (verilog-auto-tieoff-ignore-regexp)
1317 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1318 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1319 (verilog-signals-with, verilog-dir-cache-preserving)
1320 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1321 Doc fixes.
1322 (verilog-case-fold): New option, to control case folding in
1323 regexp searches, bug597.
1324 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1325 (verilog-string-match-fold, verilog-in-paren-count)
1326 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1327 (verilog-at-close-struct-p): New functions.
1328 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1329 (verilog-forward-sexp, verilog-set-auto-endcomments):
1330 (verilog-leap-to-case-head): Handle "unique0" case.
1331 (verilog-in-constraint-re): New constant.
1332 (verilog-keywords, verilog-type-font-keywords):
1333 Add some SystemVerilog 1800-2012 keywords.
1334 (verilog-label-be): Remove unimplemented argument, bug669.
1335 (verilog-batch-execute-func): When batch expanding clear
1336 create-lockfiles to prevent spurious user locks when a file ends
1337 up not changing.
1338 (verilog-calculate-indent, verilog-calc-1)
1339 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1340 (verilog-do-indent): Fix indentation of nested constraints
1341 and structures.
1342 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1343 (verilog-auto-inst-param): Use verilog-string-match-fold.
1344 (verilog-read-inst-module-matcher):
1345 Fix AUTOINST on gate primitives with #1.
1346 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1347 Reads all user-defined typed variables.
1348 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1349 (verilog-signals-matching-regexp)
1350 (verilog-signals-not-matching-regexp, verilog-auto):
1351 Respect verilog-case-fold.
1352 (verilog-diff-report): Fix line count.
1353 (verilog-auto-assign-modport): Remove unused local `modi'.
1354 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1355 better handle multidimensional arrays.
1356 Fix packed array ports misadding bit index in AUTOINST, bug637.
1357 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1358 to not double-declare existing outputs and inputs, respectively.
1359 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1360 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1361 (verilog-sk-uvm-component): New skeleton.
1362 (verilog-submit-bug-report): Add verilog-case-fold,
1363 remove verilog-mode-release-date.
1364
ef566920
BR
13652013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1366
1367 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1368 as before.
1369
29df8a0b
RT
13702013-10-18 Reuben Thomas <rrt@sc3d.org>
1371
1372 * textmodes/remember.el (remember): set buffer-offer-save in
1373 remember buffers (bug#13566).
1374
04a19a79
DC
13752013-10-18 Daniel Colascione <dancol@dancol.org>
1376
1377 When evaluating forms in ielm, direct standard output to ielm
1378 buffer. Add new ielm-return-for-effect command. Remove trailing
1379 whitespace throughout.
1380
1381 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1382 (ielm-return-for-effect): New command.
1383 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1384 (ielm-eval-input): Accept optional `for-effect' parameter.
1385 Bind `standard-output' to stream we create using
04a19a79
DC
1386 `ielm-standard-output-impl'. Suppress printing result when
1387 `for-effect'.
1388 (ielm-standard-output-impl): New function.
1389 (inferior-emacs-lisp-mode): Explain new features in documentation.
1390
4c1f03ef
MA
13912013-10-17 Michael Albinus <michael.albinus@gmx.de>
1392
1393 Code cleanup.
1394
1395 * net/tramp.el (tramp-debug-message): Do not check for connection
1396 buffer.
1397 (tramp-message): Use "vector" connection property.
1398
1399 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1400 (tramp-equal-remote, tramp-eshell-directory-change)
1401 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1402 (tramp-adb-handle-rename-file)
1403 * net/tramp-cmds.el (tramp-list-remote-buffers)
1404 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1405 * net/tramp-compat.el (tramp-compat-process-running-p)
1406 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1407 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1408 (tramp-gvfs-handle-rename-file)
1409 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1410 (tramp-set-file-uid-gid)
1411 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1412 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1413 of `file-remote-p'.
1414
1415 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1416 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1417 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1418 (tramp-gw-open-network-stream): Suppress unrelated traces.
1419
1420 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1421 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1422 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1423 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1424 connection property.
1425
1426 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1427 persistency file.
4c1f03ef
MA
1428
1429 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1430 Refactor common code. Improve debug message.
1431 (tramp-maybe-open-connection)
1432 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1433 connection buffer too early.
1434
1435 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1436 from `tramp-smb-actions-with-acl'.
1437 (tramp-smb-actions-set-acl): New defconst.
1438 (tramp-smb-handle-copy-directory)
1439 (tramp-smb-action-get-acl): New defun, renamed from
1440 `tramp-smb-action-with-acl'.
1441 (tramp-smb-action-set-acl): New defun.
1442 (tramp-smb-handle-set-file-acl): Rewrite.
1443
642eb8b6
GM
14442013-10-17 Glenn Morris <rgm@gnu.org>
1445
1446 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1447
85527ff3
SM
14482013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1449
921c1d62
SM
1450 * skeleton.el (skeleton-newline): Remove.
1451 (skeleton-internal-1): Use (insert "\n") instead.
1452
e333fb10
SM
1453 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1454 let-bindings.
1455
85527ff3
SM
1456 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1457 forward-sexp-function while we redo its job (bug#15613).
1458
c8722a97
JB
14592013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1460
1461 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1462 represented by lists.
1463
7a550bbb
GM
14642013-10-16 Glenn Morris <rgm@gnu.org>
1465
1466 * tmm.el (tmm--history): New dynamic variable.
1467 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1468
f19da8ad
MA
14692013-10-16 Michael Albinus <michael.albinus@gmx.de>
1470
1471 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1472 (tramp-smb-errors): Add error messages.
1473 (tramp-smb-actions-with-acl): New defconst.
1474 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1475 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1476 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1477 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1478 (tramp-smb-get-stat-capability): Fix tests.
1479
a24b9961
DK
14802013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1481
1482 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1483 (bug#15580).
1484
62ad85e6
GM
14852013-10-16 Glenn Morris <rgm@gnu.org>
1486
0283d6b0
GM
1487 * ansi-color.el (ansi-color-drop-regexp):
1488 Add 1J, 1K, 2K. (Bug#15617)
1489
012e2f9f
GM
1490 * files.el (hack-local-variables--warned-lexical): New.
1491 (hack-local-variables):
1492 Warn about misplaced lexical-binding. (Bug#15616)
1493
62ad85e6
GM
1494 * net/eww.el (eww-render): Always set eww-current-url,
1495 and update header line. (Bug#15622)
1496 (eww-display-html): ... Rather than just doing it here.
1497
6456c0ea
EZ
14982013-10-15 Eli Zaretskii <eliz@gnu.org>
1499
1500 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1501 menu navigations commands.
1502
c2de5588
DK
15032013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1504
1505 * progmodes/subword.el (subword-capitalize): Be careful when
1506 the search for [[:alpha:]] fails (bug#15580).
1507
ccd4a783
EZ
15082013-10-14 Eli Zaretskii <eliz@gnu.org>
1509
1510 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1511 to commands that scroll the menu.
1512
1eda1d8d
DG
15132013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1514
c2de5588
DK
1515 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1516 Handle methods ending with `?' and `!'.
1eda1d8d 1517
e70181b8
AM
15182013-10-14 Akinori MUSHA <knu@iDaemons.org>
1519
1520 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1521 `japanese-cp932' to `cp932' to fix the problem where saving a
1522 source file written in Shift_JIS twice would end up having
1523 `coding: japanese-cp932' which Ruby could not recognize.
1524 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1525 in `ruby-encoding-map'.
1526 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1527 doesn't need to be explicitly declared in magic comment.
1528 (ruby-encoding-map): Add type declaration for better customize UI.
1529
9148ee92
GM
15302013-10-13 Glenn Morris <rgm@gnu.org>
1531
a5d38e34
GM
1532 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1533 Occur buffers are read-only. http://bugs.debian.org/720775
1534
9148ee92
GM
1535 * emacs-lisp/authors.el (authors-fixed-entries):
1536 Comment out old alpha stuff.
1537
a9ba094b
DG
15382013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1539
1540 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1541 to `after-save-hook' instead of `before-save-hook'.
1542 (ruby-mode-set-encoding): Use the value of coding system used to
1543 write the file. Call `basic-save-buffer-1' after modifying the
1544 buffer.
1545
7a068717
AM
15462013-10-13 Alan Mackenzie <acm@muc.de>
1547
1548 Fix indentation/fontification of Java enum with
1549 "implements"/generic.
1550
c2de5588
DK
1551 * progmodes/cc-engine.el (c-backward-over-enum-header):
1552 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1553 (c-inside-bracelist-p): Uses new function above.
1554 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1555 function above.
1556 (c-font-lock-enum-tail): Uses new function above.
1557
85b64f02
KH
15582013-10-13 Kenichi Handa <handa@gnu.org>
1559
1560 * international/mule-cmds.el (select-safe-coding-system): Remove a
1561 superfluous condition in chekcing whether a coding system is safe
1562 or not.
1563
fc7f501b
OK
15642013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1565
1566 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1567
fdcb2049
AP
15682013-10-13 Andreas Politz <politza@hochschule-trier.de>
1569
1570 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1571
8c106d17
GM
15722013-10-13 Glenn Morris <rgm@gnu.org>
1573
feab892d
GM
1574 * menu-bar.el (menu-bar-update-buffers):
1575 Unify Buffers menu prompt string. (Bug#15576)
1576
b22d0686
GM
1577 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1578
8c106d17
GM
1579 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1580 Add some entries.
1581 (authors-fixed-entries): Use accented form of name.
1582
1b12c797
SM
15832013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1584
650fa7bf 1585 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1586 method calls (bug#15594).
650fa7bf
SM
1587 (ruby-smie--args-separator-p): New function.
1588 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1589 recognize paren-free method calls.
1590
1b12c797
SM
1591 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1592 internals of universal-argument.
1593
029619c8
EZ
15942013-10-11 Eli Zaretskii <eliz@gnu.org>
1595
1596 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1597 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1598 dropped menu on second mouse click on the menu bar.
029619c8 1599
dd070019
SM
16002013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1603 (explicit-shell-file-name): Declare.
1604 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1605 (sh-completion-at-point-function): New function.
1606 (sh-mode): Use it.
1607 (sh-smie--keyword-p): Remove unused argument.
1608 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1609 vars.
1610 (sh-set-shell): Always setup SMIE, even if we use the
1611 old indentation code.
1612
0922b826
DG
16132013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1614
b68e2926
DG
1615 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1616 cases of ? and =.
1617 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1618 predicate would return nil are almost non-existent.
1619 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1620
0922b826
DG
1621 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1622 cache also after commands that modify the buffer but don't move
1623 point.
1624
ee041f2d
SM
16252013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * env.el (substitute-env-in-file-name): New function.
1628 (substitute-env-vars): Extend the meaning of the optional arg.
1629
a5dab159
EZ
16302013-10-10 Eli Zaretskii <eliz@gnu.org>
1631
1632 * term/w32-win.el (dynamic-library-alist): Define separate lists
1633 of GIF DLLs for versions before and after 5.0.0 of giflib.
1634 (Bug#15531)
1635
db138698
JT
16362013-10-10 João Távora <joaotavora@gmail.com>
1637
1638 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1639 not locked, use last revision and current source as
1640 defaults. (Bug#15569)
1641
2f6e161e
MY
16422013-10-10 Masatake YAMATO <yamato@redhat.com>
1643
1644 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1645 menu-bar is hidden.
1646
6c8413fc
MR
16472013-10-10 Martin Rudalics <rudalics@gmx.at>
1648
1649 * window.el (pop-to-buffer-same-window): Fix doc-string.
1650 (Bug#15492)
1651
20832de0
SM
16522013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1655
c6e8ae77
AC
16562013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1657
1658 * calendar/icalendar.el (icalendar-import-file):
1659 Fix interactive spec. (Bug#15482)
1660
9db13baf
GM
16612013-10-10 Glenn Morris <rgm@gnu.org>
1662
9271e90e
GM
1663 * desktop.el (desktop-save): Default to saving in .emacs.d,
1664 since PWD is no longer in desktop-path by default. (Bug#15319)
1665
9db13baf
GM
1666 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1667 now that text mode has a menu with the same entry.
1668 (menu-bar-text-mode-auto-fill): Remove now unused func.
1669 * textmodes/text-mode.el (text-mode-map):
1670 Use auto-fill help text from menu-bar.el.
1671
a0be396a 16722013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1673
1674 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1675
2edcd3c7
JL
16762013-10-09 Juri Linkov <juri@jurta.org>
1677
1678 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1679 instead of this-command-keys. Add universal-argument-more and
1680 universal-argument-minus to the list of prefix commands. (Bug#15568)
1681
574411d0
GM
16822013-10-09 Glenn Morris <rgm@gnu.org>
1683
14afa541
GM
1684 * vc/vc-svn.el (vc-svn-create-repo):
1685 Expand paths in file://... url. (Bug#15446)
1686
574411d0
GM
1687 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1688 Add some entries.
1689 (authors): Remove unused local variables.
1690
79804536
SM
16912013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * profiler.el: Create a more coherent calltree from partial backtraces.
1694 (profiler-format): Hide the tail with `invisible' so that C-s can still
1695 find the hidden elements.
1696 (profiler-calltree-depth): Don't recurse so enthusiastically.
1697 (profiler-function-equal): New hash-table-test.
1698 (profiler-calltree-build-unified): New function.
1699 (profiler-calltree-build): Use it.
1700 (profiler-report-make-name-part): Indent the calltree less.
1701 (profiler-report-mode): Add visibility specs for profiler-format.
1702 (profiler-report-expand-entry, profiler-report-toggle-entry):
1703 Expand the whole subtree when provided with a prefix arg.
1704
238150c8
DG
17052013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1706
1707 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1708 iuwu-mod token.
1709 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1710 hanging iuwu-mod token.
1711 (ruby-smie--forward-token): Do not include a dot after a token in
1712 that token.
1713 (ruby-smie--backward-token): Likewise.
1714
b0949cc4
JL
17152013-10-08 Juri Linkov <juri@jurta.org>
1716
1717 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1718 to isearch-other-control-char.
1719 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1720 and isearch-post-command-hook to post-command-hook.
1721 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1722 and isearch-post-command-hook from post-command-hook.
1723 (isearch-unread-key-sequence)
1724 (isearch-reread-key-sequence-naturally)
1725 (isearch-lookup-scroll-key, isearch-other-control-char)
1726 (isearch-other-meta-char): Remove functions.
1727 (isearch-pre-command-hook, isearch-post-command-hook):
1728 New functions based on isearch-other-meta-char rewritten
1729 relying on the new behavior of overriding-terminal-local-map
1730 that does not replace the local keymaps any more. (Bug#15200)
1731
4ed77415
EZ
17322013-10-08 Eli Zaretskii <eliz@gnu.org>
1733
1734 Support menus on text-mode terminals.
1735 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1736 functionality.
1737
1738 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1739
c2de5588
DK
1740 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1741 Move here from mouse.el.
4ed77415
EZ
1742 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1743 and arrow keys.
1744 (tty-menu-navigation-map): New map for TTY menu navigation.
1745
1746 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1747
1748 * frame.el (display-mouse-p): Report text-mode mouse as available
1749 on w32.
1750 (display-popup-menus-p): Report availability if mouse is
1751 available; don't condition on window-system.
1752
1753 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1754 (tty-menu-selected-face): New faces.
1755
b7d5bd82
TL
17562013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1757
06286513
SM
1758 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1759 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1760 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1761 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1762 New constants.
1763 (lisp-mode-variables): New `elisp' argument.
1764 (emacs-lisp-mode): Use it.
1765 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1766 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1767
b7d5bd82
TL
1768 * indent.el: Use lexical-binding.
1769 (indent-region): Add progress reporter.
1770 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1771 last step.
1772 (indent--next-tab-stop): New function to implement this behavior.
1773 (tab-to-tab-stop, move-to-tab-stop): Use it.
1774
17752013-10-08 Teemu Likonen <tlikonen@iki.fi>
1776
1777 * indent.el (indent-rigidly--current-indentation): New function.
1778 (indent-rigidly-map): New var.
1779 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1780
5ea75d23
BG
17812013-10-08 Bastien Guerry <bzg@gnu.org>
1782
1783 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1784
cc5da1ec
SM
17852013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1786
8ffa1a0b
SM
1787 * progmodes/perl-mode.el: Use lexical-binding.
1788 Remove redundant :group args.
1789 (perl-nochange): Change default to be closer to other major modes's
1790 standard behavior.
1791 (perl-indent-line): Don't consider text on current line as a
1792 valid beginning of function from which to indent.
1793
f2223371
SM
1794 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1795 with more than one argument (bug#15538).
1796
44256060
SM
1797 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1798
cc5da1ec
SM
1799 * vc/pcvs.el: Use lexical-binding.
1800 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1801 environment of `eval'.
1802 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1803 than a list of expressions. Adjust callers.
1804 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1805
0ea1599d
DG
18062013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1807
1808 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1809 case of the dot in a chained method call being on the following line.
0ea1599d 1810
da3e5ebb
SM
18112013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1812
2abb4e65
SM
1813 * electric.el (electric-indent-inhibit): New var.
1814 (electric-indent-post-self-insert-function): Use it.
1815 * progmodes/python.el (python-mode): Set it.
1816
d2e0e795
SM
1817 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1818 open braces.
1819
1820 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1821
bdc6b4c8
SM
1822 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1823 (css-mode): Use electric-indent-chars.
1824
da3e5ebb
SM
1825 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1826 (font-lock-beg, font-lock-end): Move before first use.
1827 (nxml-mode): Use syntax-propertize-function.
1828 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1829 (nxml-extend-after-change-region): Remove.
1830 * nxml/xmltok.el: Use lexical-binding.
1831 (xmltok-save): Use `declare'.
1832 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1833 * nxml/nxml-util.el: Use lexical-binding.
1834 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1835 Use `declare'.
1836 * nxml/nxml-ns.el: Use lexical-binding.
1837 (nxml-ns-save): Use `declare'.
1838 (nxml-ns-prefixes-for): Avoid add-to-list.
1839 * nxml/rng-match.el: Use lexical-binding.
1840 (rng--ipattern): Use cl-defstruct.
1841 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1842 (rng-cons-group-after, rng-subst-group-after)
1843 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1844 Use closures instead of `(lambda...).
1845
f8f91d5d
MA
18462013-10-07 Michael Albinus <michael.albinus@gmx.de>
1847
1848 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1849 of BEG and END.
1850
da3e5ebb
SM
1851 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1852 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1853 (tramp-gvfs-handle-insert-file-contents): Remove function.
1854
da3e5ebb
SM
1855 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1856 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1857
1858 * net/trampver.el: Update release number.
1859
7ccae3b1
SM
18602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1861
55ca2c0d
SM
1862 * progmodes/compile.el (compilation-parse-errors):
1863 Use compilation--put-prop.
1864 (compilation--ensure-parse): Check compilation-multiline.
1865
731fc3ae
SM
1866 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1867
da3e5ebb
SM
1868 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1869 lexical-binding.
a5833280 1870
2e7ba2c2
SM
1871 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1872
7ccae3b1
SM
1873 * progmodes/ruby-mode.el: Fix recently added tests.
1874 (ruby-smie-grammar): Add - and +.
1875 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1876 (ruby-smie--backward-id): New functions.
1877 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1878 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1879 any more.
1880
85698d63
LL
18812013-10-07 Leo Liu <sdl.web@gmail.com>
1882
1883 * register.el (register-preview-delay)
1884 (register-preview-functions): New variables.
1885 (register-read-with-preview, register-preview)
1886 (register-describe-oneline): New functions.
1887 (point-to-register, window-configuration-to-register)
1888 (frame-configuration-to-register, jump-to-register)
1889 (number-to-register, view-register, insert-register)
1890 (copy-to-register, append-to-register, prepend-to-register)
1891 (copy-rectangle-to-register): Use register-read-with-preview to
1892 read register. (Bug#15525)
1893
3986af6c
DS
18942013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1895
1896 * net/network-stream.el (network-stream-open-starttls): Don't add
1897 --insecure if it's already present, because that gnutls-cli
1898 rejects getting that parameter twice.
1899
5cd9cda9
DG
19002013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1901
1902 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1903 keyword, too.
1904
da9ea6d9
DG
19052013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1906
1907 * newcomment.el (comment-use-global-state): Change default value
1908 to t, mark obsolete (Bug#15251).
1909 (comment-beginning): In addition to `comment-to-syntax', check the
1910 value of `comment-use-global-state'.
1911
34d1a133
SM
19122013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1915 (ruby-comment-column): Follow the global default, by default.
1916 (ruby-smie-grammar): Add assignment syntax.
1917 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1918 open-paren, a comma, or a \.
1919 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1920 and line continuations.
1921 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1922 followed by implicit semi-colons. Add rule for string concatenation
1923 and for indentation at BOB.
1924 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1925
1926 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1927 calling next-sexp, since next-token may have skipped chars which
1928 next-sexp doesn't know should be skipped!
1929
6f6ab820
LL
19302013-10-05 Leo Liu <sdl.web@gmail.com>
1931
34d1a133
SM
1932 * progmodes/octave.el (octave-send-region):
1933 Call compilation-forget-errors.
6f6ab820 1934
34ca0f4c
XF
19352013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1936
1937 * vc/vc-svn.el (vc-svn-find-admin-dir):
1938 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1939 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1940 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1941 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1942
a27c1b72
SM
19432013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1946
258ab3bc
SM
19472013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * subr.el (read-passwd): Hide chars even when called within a context
1950 where after-change-functions is disabled (bug#15501).
1951 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1952 until we removed ourself from overriding-terminal-local-map.
1953
939fb29c
LL
19542013-10-04 Leo Liu <sdl.web@gmail.com>
1955
258ab3bc
SM
1956 * progmodes/octave.el (inferior-octave-mode):
1957 Call compilation-forget-errors.
939fb29c 1958
63bd7f35
XF
19592013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1960
1961 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1962
9e6229fa
MA
19632013-10-04 Michael Albinus <michael.albinus@gmx.de>
1964
1965 * net/secrets.el (secrets-create-collection): Add optional
1966 argument ALIAS. Use proper Label keyword. Append ALIAS as
1967 dbus-call-method argument. (Bug#15516)
1968
1dab32a3
LL
19692013-10-04 Leo Liu <sdl.web@gmail.com>
1970
1971 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1972 (inferior-octave-compilation-font-lock-keywords): New variables.
1973 (compilation-error-regexp-alist)
1974 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1975 (inferior-octave-mode): Use compilation-shell-minor-mode.
1976
6cad7ba3
JS
19772013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1978
1979 * minibuffer.el (completion--replace): Be careful that `end' might be
1980 a marker.
1981
acbadd00
DU
19822013-10-03 Daiki Ueno <ueno@gnu.org>
1983
1984 Add support for package signature checking.
1985 * emacs-lisp/package.el (url-http-file-exists-p)
1986 (epg-make-context, epg-context-set-home-directory)
1987 (epg-verify-string, epg-context-result-for)
1988 (epg-signature-status, epg-signature-to-string)
1989 (epg-check-configuration, epg-configuration)
1990 (epg-import-keys-from-file): Declare.
1991 (package-check-signature): New user option.
1992 (package-unsigned-archives): New user option.
1993 (package-desc): Add `signed' field.
1994 (package-load-descriptor): Set `signed' field if .signed file exists.
1995 (package--archive-file-exists-p): New function.
1996 (package--check-signature): New function.
1997 (package-install-from-archive): Check package signature.
1998 (package--download-one-archive): Check archive signature.
1999 (package-delete): Remove .signed file.
2000 (package-import-keyring): New command.
2001 (package-refresh-contents): Import default keyring.
2002 (package-desc-status): Add "unsigned" status.
2003 (describe-package-1, package-menu--print-info)
2004 (package-menu-mark-delete, package-menu--find-upgrades)
2005 (package-menu--status-predicate): Support "unsigned" status.
2006
adf2aa61
SM
20072013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2010 the new compilation scheme using the new byte-codes.
2011
2012 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2013 (byte-pophandler): New byte codes.
2014 (byte-goto-ops): Adjust accordingly.
2015 (byte-compile--use-old-handlers): New var.
2016 (byte-compile-catch): Use new byte codes depending on
2017 byte-compile--use-old-handlers.
2018 (byte-compile-condition-case--old): Rename from
2019 byte-compile-condition-case.
2020 (byte-compile-condition-case--new): New function.
2021 (byte-compile-condition-case): New function that dispatches depending
2022 on byte-compile--use-old-handlers.
2023 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2024 when we can.
2025
2026 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2027 Optimize under `condition-case' and `catch' if
2028 byte-compile--use-old-handlers is nil.
2029 (disassemble-offset): Handle new bytecodes.
2030
328a8179
SM
20312013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * subr.el (error): Use `declare'.
2034 (decode-char, encode-char): Use advertised-calling-convention instead
2035 of the docstring to discourage use of the `restriction' arg.
2036
15a1e936
DU
20372013-10-03 Daiki Ueno <ueno@gnu.org>
2038
2039 * epg.el (epg-verify-file): Add a comment saying that it does not
2040 notify verification error as a return value nor a signal.
2041 (epg-verify-string): Ditto.
2042
376f862a
KR
20432013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2044
2045 * progmodes/compile.el (compilation-start): Try globbing the arg to
2046 `cd' (bug#15417).
2047
a2f93a5f
MA
20482013-10-02 Michael Albinus <michael.albinus@gmx.de>
2049
2050 Sync with Tramp 2.2.8.
2051
2052 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2053 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2054 * net/trampver.el: Update release number.
2055
0daa0804
JD
20562013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2057
2058 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2059 and default-process-coding-system for darwin only.
2060
abd1ae34
SM
20612013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2064
be4e325d
MH
20652013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2066
2067 * vc/vc-git.el (vc-git-grep): Disable pager.
2068
e9155c4a
DG
20692013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2070
494e898b
DG
2071 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2072 Use :url instead of :homepage, as per
2073 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2074
e9155c4a
DG
2075 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2076 non-nil, use `syntax-ppss' (Bug#15251).
2077
481a8e0f
RS
20782013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2079
be4e325d
MH
2080 * progmodes/octave.el (inferior-octave-startup-file):
2081 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2082
056453c6
DG
20832013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2084
be4e325d
MH
2085 * emacs-lisp/package.el (package-desc-from-define):
2086 Accept additional arguments as plist, convert them to an alist and store
2087 them in the `extras' slot.
056453c6
DG
2088 (package-generate-description-file): Convert extras alist back to
2089 plist and append to the `define-package' form arguments.
2090 (package--alist-to-plist): New function.
2091 (package--ac-desc): Add `extras' slot.
2092 (package--add-to-archive-contents): Check if the archive-contents
2093 vector is long enough, and if it is, pass its `extras' slot value
2094 to `package-desc-create'.
2095 (package-buffer-info): Call `lm-homepage', pass the returned value
2096 to `package-desc-from-define'.
2097 (describe-package-1): Render the homepage button (Bug#13291).
2098
be4e325d
MH
2099 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2100 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2101
832966e5
JD
21022013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2103
2104 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2105 and default-process-coding-system to utf-8-unix (Bug#15402).
2106
6cfe977d
XF
21072013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2108
2109 * subr.el (looking-back): Do not recommend using looking-back.
2110
38de11bd
AM
21112013-09-28 Alan Mackenzie <acm@muc.de>
2112
2113 Fix indentation/fontification of Java enum with "implements".
2114
2115 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2116 regexp which matches "implements", etc., in Java.
2117 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2118 specifier clauses coming after "enum".
2119 * progmodes/cc-fonts.el (c-font-lock-declarations)
2120 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2121 after "enum".
2122
1610938f
JD
21232013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2124
2125 * faces.el (region): Change ns_selection_color to
2126 ns_selection_fg_color, add ns_selection_bg_color.
2127
e090f499
LL
21282013-09-28 Leo Liu <sdl.web@gmail.com>
2129
4d2e94d1
LL
2130 * progmodes/octave.el (inferior-octave-completion-table)
2131 (inferior-octave-completion-at-point): Minor tweaks.
2132
e090f499
LL
2133 * textmodes/ispell.el (ispell-lookup-words): Rename from
2134 lookup-words. (Bug#15460)
2135 (lookup-words): Obsolete.
2136 (ispell-complete-word, ispell-command-loop): All uses changed.
2137
7e138a62
RS
21382013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2139
2140 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2141 (octave-mode-menu): Add octave-send-buffer.
2142 (octave-send-buffer): New function.
2143
5af5ed08
RS
21442013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2145
2146 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2147 octave-lookfor.
2148 (octave-mode-menu): Add octave-lookfor.
2149 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2150 octave-lookfor.
2151 (octave-lookfor): New function.
2152
3b7b2692
SM
21532013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * emacs-lisp/cl-macs.el:
2156 (cl--loop-destr-temps): Remove.
2157 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2158 its convention.
2159 (cl--loop-set-iterator-function): New function.
2160 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2161 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2162 Bind `it' with `let' instead of substituting it with `cl-subst'.
2163 (cl--unused-var-p): New function.
2164 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2165 Eliminate some unused variable warnings (bug#15326).
2166
529fb53f
TH
21672013-09-27 Tassilo Horn <tsdh@gnu.org>
2168
2169 * doc-view.el (doc-view-scale-reset): Rename from
2170 `doc-view-reset-zoom-level'.
2171 (doc-view-scale-adjust): New command.
2172 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2173 `doc-view-scale-adjust'.
2174
0550c95a
TH
21752013-09-26 Tassilo Horn <tsdh@gnu.org>
2176
2177 * doc-view.el (doc-view-reset-zoom-level): New command.
2178 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2179 zoom commands (bug#15466).
2180
6950f152
KH
21812013-09-26 Kenichi Handa <handa@gnu.org>
2182
2183 * international/quail.el (quail-help): Make it not a command.
2184
39587580
LL
21852013-09-26 Leo Liu <sdl.web@gmail.com>
2186
2187 * minibuffer.el (completion-all-sorted-completions): Make args
2188 optional as they are.
2189
00578659
DC
21902013-09-25 Daniel Colascione <dancol@dancol.org>
2191
2192 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2193 specs are and that they're not evaluated.
2194
0c173878
SS
21952013-09-24 Sam Steingold <sds@gnu.org>
2196
2197 * midnight.el (clean-buffer-list-kill-regexps)
2198 (clean-buffer-list-kill-buffer-names): Update for the new Man
2199 buffer naming which includes the object name.
2200
84998447
SM
22012013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2204 (eshell-parse-command, eshell-parse-pipeline): Use it since
2205 eshell-separate-commands requires a dynamic scoped var.
2206 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2207
33215353
LL
22082013-09-23 Leo Liu <sdl.web@gmail.com>
2209
2210 * autoinsert.el (auto-insert-alist): Make the value of
2211 lexical-binding match its file setting.
2212
57b16162
JB
22132013-09-23 Juanma Barranquero <lekktu@gmail.com>
2214
c8af4e67
JB
2215 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2216
57b16162
JB
2217 * autoarg.el (autoarg-kp-digit-argument):
2218 * electric.el (Electric-command-loop):
2219 * kmacro.el (kmacro-step-edit-insert):
2220 Do not set universal-argument-num-events.
2221
7186ba60
LL
22222013-09-22 Leo Liu <sdl.web@gmail.com>
2223
2224 * files.el (interpreter-mode-alist): Add octave.
2225
ece15004
AM
22262013-09-21 Alan Mackenzie <acm@muc.de>
2227
2228 C++: fontify identifier in declaration following "public:" correctly.
2229 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2230 to match "public", etc.
2231 (c-decl-prefix-re): Add ":" into the C++ value.
2232 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2233 bit. Add a check for a ":" preceded by "public", etc.
2234
75d83e22
EZ
22352013-09-21 Eli Zaretskii <eliz@gnu.org>
2236
2237 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2238 recognized by GDB 7.5 and later.
2239
d052d3bd
XF
22402013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2241
2242 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2243
31dca772
R
22442013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * subr.el (internal--call-interactively): New const.
2247 (called-interactively-p): Use it (bug#3984).
2248
98ccf24e
XF
22492013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2250
2251 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2252 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2253 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2254
c39cc7d1
SM
22552013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2258 (eshell-ls-orig-insert-directory): Remove.
2259 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2260 (eshell-ls-use-in-dired): Use advice-add/remove.
2261 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2262 Add `orig-fun' arg for use in :around advice.
2263 Make it check (redundantly) eshell-ls-use-in-dired.
2264
9a0289a2
GM
22652013-09-19 Glenn Morris <rgm@gnu.org>
2266
a2c501b8
GM
2267 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2268
c440407a
GM
2269 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2270
9a0289a2
GM
2271 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2272
85e05915
MA
22732013-09-19 Michael Albinus <michael.albinus@gmx.de>
2274
2275 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2276 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2277 (tramp-get-remote-python): New defuns.
2278 (tramp-get-remote-uid-with-perl)
2279 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2280 contributed by yary <not.com@gmail.com> (tiny change).
2281 (tramp-get-remote-uid-with-python)
2282 (tramp-get-remote-gid-with-python): New defuns. Python code
2283 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2284 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2285
ce503312
GM
22862013-09-19 Glenn Morris <rgm@gnu.org>
2287
f7544773
GM
2288 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2289
72fd2877
GM
2290 * eshell/em-unix.el (eshell-remove-entries):
2291 Rename argument to avoid name-clash with global `top-level'.
2292
336b5a56
GM
2293 * eshell/esh-proc.el (eshell-kill-process-function):
2294 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2295 (eshell-reset-after-proc): Remove unused arg `proc'.
2296
57a3a53d
GM
2297 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2298 (directory-files-and-attributes): Mark unused arg.
2299
3261d4af
GM
2300 * eshell/em-unix.el (eshell-remove-entries):
2301 Remove unused arg `path'. Update callers.
2302
8e51b5d0
GM
2303 * eshell/em-hist.el (eshell-hist-parse-arguments):
2304 Remove unused arg `silent'. Update callers.
2305
ce503312
GM
2306 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2307 Fix (f)boundp mix-up.
2308
2309 * eshell/em-smart.el (eshell-smart-scroll-window)
2310 (eshell-disable-after-change):
336b5a56 2311 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2312
ee3ce8a7
AM
23132013-09-18 Alan Mackenzie <acm@muc.de>
2314
2315 Fix fontification of type when followed by "const".
2316 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2317 "known" types from fontification.
2318
ec9177ba
GM
23192013-09-18 Glenn Morris <rgm@gnu.org>
2320
7bb3e768
GM
2321 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2322 (chart-face-list): Drop Emacsen without display-color-p.
2323
5148da15
GM
2324 * net/eww.el (libxml-parse-html-region): Declare.
2325 (eww-display-html): Explicit error if no libxml2 support.
2326
2f68e157
GM
2327 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2328
9019d095
GM
2329 * image.el (image-type-from-buffer, image-multi-frame-p):
2330 Remove --without-x warning/error.
67645389 2331
5f30349b 2332 * mouse.el (mouse-yank-primary):
45069b2e 2333 * term.el (term-mouse-paste):
5f30349b
GM
2334 Reorder to silence --without-x compilation.
2335
cd8edbbe
GM
2336 * mpc.el (doc-view-mode): Silence --without-x compilation.
2337
8a78544e
GM
2338 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2339 Silence --without-x compilation.
2340
12679bfd
GM
2341 * progmodes/gud.el (gud-find-file, gud-mode):
2342 Silence --without-x compilation.
2343 (tooltip-mode): Declare.
30810a05 2344
f0047cb9
GM
2345 * wdired.el (dired-backup-overwrite): Remove declaration.
2346 (wdired-mode-map): Add doc string.
2347
e740f9d2
GM
2348 * custom.el (x-get-resource): Declare.
2349
92d77c89
GM
2350 * eshell/em-glob.el (ange-cache):
2351 * eshell/em-unix.el (ange-cache): Declare.
2352
76e69577
GM
2353 * faces.el (x-display-list, x-open-connection, x-get-resource):
2354 Declare.
7e58af4b
GM
2355
2356 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2357 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2358 Declare.
76e69577 2359
4bd4c0af 2360 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2361
ffb82dbd
GM
2362 * net/gnutls.el (gnutls-log-level): Declare.
2363
986ed135
GM
2364 * net/shr.el (image-size, image-animate): Declare.
2365
e740f9d2
GM
2366 * simple.el (font-info): Declare.
2367
d2f3e9f8
GM
2368 * subr.el (x-popup-dialog): Declare.
2369
047a1a4c
GM
2370 * term/common-win.el (x-select-enable-primary)
2371 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2372 Declare.
2373
f4a1d572
GM
2374 * term/ns-win.el (x-handle-args): Declare.
2375
e843de77
GM
2376 * term/x-win.el (x-select-enable-clipboard): Declare.
2377
5fa89513
GM
2378 * term/w32-win.el (create-default-fontset): Declare.
2379
38702b5b
GM
2380 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2381 Declare.
2382
e740f9d2
GM
2383 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2384 (fit-frame-to-buffer): Explicit error if --without-x.
2385 (mouse-autoselect-window-select): Silence compiler.
2386
49a053fc
GM
2387 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2388
2389 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2390 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2391 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2392 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2393 Remove unused local variables.
2394
2395 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2396
ec9177ba
GM
2397 * textmodes/two-column.el: Make 2C-split work for --without-x.
2398 (scroll-bar-columns): Autoload.
2399 (top-level): Require fringe when compiling.
2400
9f25cb77
LL
24012013-09-18 Leo Liu <sdl.web@gmail.com>
2402
2403 * subr.el (add-hook): Robustify to handle closure as well.
2404
2b42da98
GM
24052013-09-17 Glenn Morris <rgm@gnu.org>
2406
2407 * simple.el (messages-buffer-mode-map): Unbind "g".
2408
e8b66a6a
SM
24092013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2410
9c0ad4f7
SM
2411 * help-mode.el (help-mode-finish): Use derived-mode-p.
2412 Remove obsolete highlighting.
2413
7a806dfb
SM
2414 * play/life.el (life-mode): Use define-derived-mode. Derive from
2415 special-mode.
2416 (life): Let-bind inhibit-read-only.
2417 (life-setup): Avoid `setq'. Use `life-mode'.
2418
96dbf5a8
SM
2419 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2420 which should not be needed any more.
2421 (package-menu-refresh, package-menu-describe-package): Use user-error.
2422
e8b66a6a
SM
2423 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2424 (eshell-post-rewrite-command-hook): Make obsolete.
2425 (eshell-parse-command): Simplify.
2426 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2427 (eshell--cmd): Declare.
2428 (eshell-parse-pipeline): Remove unused var `final-p'.
2429 Pass a dynvar to eshell-post-rewrite-command-hook.
2430 Implement the new eshell-post-rewrite-command-function.
2431 (eshell-invoke-directly): Remove unused arg `input'.
2432 * eshell/esh-io.el (eshell-io-initialize):
2433 Use eshell-post-rewrite-command-function (bug#15399).
2434 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2435 adjust to new calling convention.
2436 (eshell-create-handles): Rename args to avoid clashing with dynvar
2437 `standard-output'.
2438
90582f05
GM
24392013-09-17 Glenn Morris <rgm@gnu.org>
2440
2441 * simple.el (messages-buffer-mode): New major mode.
2442 (messages-buffer): New function.
2443 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2444 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2445 (ert-run-test): Use `messages-buffer' function.
90582f05 2446 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2447 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2448 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2449
39eb0cb5 24502013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2451
2452 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2453
1f1e06e2
SM
2454 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2455
70568a90
SM
24562013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2457
504a0381
SM
2458 * icomplete.el (icomplete-in-buffer): New var.
2459 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2460 vars and replace them with functions.
2461 (icomplete-minibuffer-setup): Adjust accordingly.
2462 (icomplete--completion-table, icomplete--completion-predicate)
2463 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2464 New functions.
2465 (icomplete-forward-completions, icomplete-backward-completions)
2466 (icomplete-simple-completing-p, icomplete-exhibit)
2467 (icomplete-completions): Use them.
2468 (icomplete--in-region-buffer): New var.
2469 (icomplete--in-region-setup): New function.
2470 (icomplete-mode): Use it.
2471
70568a90
SM
2472 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2473 (bug#15379).
2474 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2475 return args and options.
2476 (eshell-eval-using-options): Use the new return value of
2477 eshell--do-opts to set the options's vars in their scope.
2478 (eshell--set-option): Rename from eshell-set-option.
2479 Add arg `opt-vals'.
2480 (eshell--process-option): Rename from eshell-process-option.
2481 Add arg `opt-vals'.
2482 (eshell--process-args): Use an `opt-vals' alist to store the options's
2483 values during their processing and return them additionally to the
2484 remaining args.
2485
578c21bc
DG
24862013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2487
2488 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2489 continuation character an operator, as far as indentation is
2490 concerned (Bug#15369).
2491
c089653d
MR
24922013-09-15 Martin Rudalics <rudalics@gmx.at>
2493
2494 * window.el (window--state-put-2): Don't process buffer state
2495 when buffer doesn't exist any more (Bug#15382).
2496
1e53bb4b
GM
24972013-09-15 Glenn Morris <rgm@gnu.org>
2498
30753242
GM
2499 * eshell/em-unix.el (eshell/rm):
2500 Make -f ignore missing files. (Bug#15373)
2501
1e53bb4b
GM
2502 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2503 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2504 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2505
0d8863b3
GM
25062013-09-14 Glenn Morris <rgm@gnu.org>
2507
2508 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2509
d3fc6549
GM
25102013-09-13 Glenn Morris <rgm@gnu.org>
2511
2512 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2513 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2514
fcd42c11
DA
25152013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2516
2517 * frame.el (x-focus-frame): Mark as declared in frame.c.
2518
7830899f
SM
25192013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * ls-lisp.el: Use advice-add.
2522 (original-insert-directory): Remove.
2523 (ls-lisp--insert-directory): Rename from insert-directory; add
2524 `orig-fun' argument.
2525 (insert-directory): Advise.
2526
84387cd2
EZ
25272013-09-13 Eli Zaretskii <eliz@gnu.org>
2528
2529 * term.el (term-emulate-terminal): Decode the command string
2530 before passing it to term-command-hook. (Bug#15337)
2531
35ffc6ba
GM
25322013-09-13 Glenn Morris <rgm@gnu.org>
2533
5c3f9bcc
GM
2534 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2535
2ada368a
GM
2536 * eshell/esh-ext.el (eshell-search-path): Declare.
2537
fcef2e13
GM
2538 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2539 Otherwise an error occurs if eshell-dirs module not loaded.
2540
35ffc6ba
GM
2541 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2542
35c3d36e
MA
25432013-09-13 Michael Albinus <michael.albinus@gmx.de>
2544
2545 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2546 `tramp-check-proper-host'. Check for a valid method name.
2547
2548 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2549 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2550 * net/tramp-sh.el (tramp-maybe-open-connection):
2551 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2552
2553 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2554 also for hash values.
2555
ae5e4c48
SM
25562013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2557
379add74
SM
2558 * term/ns-win.el (parameters): Don't declare as dynamic.
2559 (before-make-frame-hook): Don't add ineffective function.
2560
ae5e4c48
SM
2561 * eshell/*.el: Use lexical-binding (bug#15231).
2562
b5623270
KH
25632013-09-12 Kenichi Handa <handa@gnu.org>
2564
ae5e4c48 2565 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2566
30213927
GM
25672013-09-12 Glenn Morris <rgm@gnu.org>
2568
be94d713 2569 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2570 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2571
44915370
GM
2572 * subr.el (do-after-load-evaluation): Also give compiler warnings
2573 when obsolete files are used (except by obsolete files).
2574
a6ae021f
GM
2575 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2576 in the status output, assume `filename' is the first. (Bug#15322)
2577
40e64f0c
GM
2578 * vc/vc.el (vc-deduce-fileset): Doc fix.
2579
16d9f896
GM
2580 * calc/calc-help.el (Info-goto-node):
2581 * progmodes/cperl-mode.el (Info-find-node):
2582 * vc/ediff.el (Info-goto-node): Update declarations.
2583
dea01c6e
GM
2584 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2585
759880bf 2586 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2587 (vc-bzr-pull): Require vc-dispatcher.
2588 * vc/vc-git.el (vc-compilation-mode): Declare.
2589 (vc-git-pull): Require vc-dispatcher.
2590
08d66420
GM
2591 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2592
30b626e9
GM
2593 * progmodes/octave.el (help-button-action): Declare.
2594
8c05cb10
GM
2595 * shell.el (shell-directory-tracker): Output error as a message
2596 rather than just returning it as a string.
2597 (shell-process-pushd): Remove useless use of message.
2598
30213927
GM
2599 * dframe.el (dframe-timer-fn):
2600 * files.el (dir-locals-read-from-file):
2601 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2602 (mpc-format):
2603 * reveal.el (reveal-post-command):
2604 * saveplace.el (load-save-place-alist-from-file):
2605 * shell.el (shell-resync-dirs):
2606 * w32-common-fns.el (x-get-selection-value):
2607 * emacs-lisp/copyright.el (copyright-find-copyright):
2608 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2609 * emulation/tpu-edt.el (tpu-copy-keyfile):
2610 * play/bubbles.el (bubbles--mark-neighbourhood):
2611 * progmodes/executable.el
2612 (executable-make-buffer-file-executable-if-script-p):
2613 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2614
d3b049e6
SM
26152013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2616
170266d0
SM
2617 Cleanup Eshell to rely less on dynamic scoping.
2618 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2619 last-value, and ext-command here. Bind `args' closer to `body'.
2620 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2621 (eshell--args): Declare new dynamic var.
2622 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2623 last-value, and ext-command. Pass `args' to `body'.
2624 (eshell-process-args): Bind eshell--args.
2625 (eshell-set-option): Use eshell--args.
2626 * eshell/eshell.el (eshell): Use derived-mode-p.
2627 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2628 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2629 (eshell-glob-function): Declare.
2630 * eshell/esh-util.el: Require cl-lib.
2631 (eshell-read-hosts-file): Avoid add-to-list.
2632 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2633 `err'.
2634 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2635 Declare.
2636 (eshell/diff): Remove unused var `err'.
2637 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2638 `killflag'.
2639 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2640 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2641 first use.
2642 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2643 Move declaration before first use.
2644 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2645 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2646 rely on cl-return.
2647
56834f3b
GM
26482013-09-12 Glenn Morris <rgm@gnu.org>
2649
2650 * term/ns-win.el (global-map): Remove binding for ispell-next,
2651 deleted 1999-05-29. (Bug#15357)
2652
5c91a2b8
GM
26532013-09-11 Glenn Morris <rgm@gnu.org>
2654
da712f22
GM
2655 * echistory.el (electric-command-history): Remove call to deleted func.
2656
512e4cdc
GM
2657 * play/landmark.el (landmark-mode): Fix typos.
2658
d3506ca5
GM
2659 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2660 Check cvs-sort-ignore-file is bound.
2661
5c91a2b8
GM
2662 * savehist.el: No need for cl when compiling on Emacs.
2663
feeff482
SM
26642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2665
656bd483
SM
2666 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2667 (bug#15338).
d3b049e6
SM
2668 (eshell-self-insert-command, eshell-send-invisible):
2669 Remove unused argument.
656bd483
SM
2670 (eshell-handle-control-codes): Remove unused var `orig'.
2671 Avoid delete-backward-char.
2672
feeff482
SM
2673 * files.el (set-auto-mode): Simplify a bit further.
2674
2a08047a
GM
26752013-09-11 Glenn Morris <rgm@gnu.org>
2676
2677 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2678 (set-auto-mode): Don't regexp-quote elements.
2679 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2680 * progmodes/cc-mode.el (interpreter-mode-alist):
2681 * progmodes/ruby-mode.el (interpreter-mode-alist):
2682 Revert previous change.
2683
34675540
SM
26842013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2685
1b3b87df
SM
2686 * play/snake.el (snake-mode):
2687 * play/mpuz.el (mpuz-mode):
2688 * play/landmark.el (lm-mode):
2689 * play/blackbox.el (blackbox-mode):
2690 * play/5x5.el (5x5-mode):
2691 * obsolete/options.el (Edit-options-mode):
2692 * net/quickurl.el (quickurl-list-mode):
2693 * net/newst-treeview.el (newsticker-treeview-mode):
2694 * mail/rmailsum.el (rmail-summary-mode):
2695 * mail/mspools.el (mspools-mode):
2696 * locate.el (locate-mode):
2697 * ibuffer.el (ibuffer-mode):
2698 * emulation/ws-mode.el (wordstar-mode):
2699 * emacs-lisp/debug.el (debugger-mode):
2700 * array.el (array-mode):
2701 * net/eudc.el (eudc-mode): Use define-derived-mode.
2702 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2703 Move initialization into declaration.
2704 (mairix-searches-mode): Use define-derived-mode.
2705 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2706 (eudc-edit-hotlist): Use dolist.
2707 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2708 (Man-mode): Use define-derived-mode.
2709 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2710 (Info-edit-mode): Use define-derived-mode.
2711 (Info-cease-edit): Use Info-mode.
2712 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2713 into declaration.
2714 (eshell-mode): Use define-derived-mode.
2715 * chistory.el (command-history-mode-map): Rename from
2716 command-history-map.
2717 (command-history-mode): Use define-derived-mode.
da712f22 2718 (Command-history-setup): Remove function.
1b3b87df
SM
2719 * calc/calc.el (calc-trail-mode-map): New var.
2720 (calc-trail-mode): Use define-derived-mode.
2721 (calc-trail-buffer): Set calc-main-buffer manually.
2722 * bookmark.el (bookmark-insert-annotation): New function.
2723 (bookmark-edit-annotation): Use it.
2724 (bookmark-edit-annotation-mode): Make it a proper major mode.
2725 (bookmark-send-edited-annotation): Use derived-mode-p.
2726 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2727 closer to its ideal place. Use \' to match EOS.
2728
34675540
SM
2729 * profiler.el (profiler-calltree-find): Use function-equal.
2730
6a5c15d9
GM
27312013-09-10 Glenn Morris <rgm@gnu.org>
2732
1af4c220
GM
2733 * files.el (interpreter-mode-alist): Convert to regexps.
2734 (set-auto-mode): Adapt for this. (Bug#15306)
2735 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2736 Comment out unused variable.
2737 * progmodes/cc-mode.el (interpreter-mode-alist):
2738 * progmodes/python.el (interpreter-mode-alist):
2739 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2740 * progmodes/sh-script.el (sh-set-shell):
2741 No longer use interpreter-mode-alist to get list of shells.
2742
6a5c15d9
GM
2743 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2744
8c27f5ff
SM
27452013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2746
02ef6c1a 2747 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2748 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2749 Bind switch-frame explicitly. Replace universal-argument-minus with
2750 a conditional binding.
2751 (universal-argument-num-events, saved-overriding-map): Remove.
2752 (restore-overriding-map): Remove.
2753 (universal-argument--mode): Rename from save&set-overriding-map,
2754 and rewrite.
2755 (universal-argument, universal-argument-more, negative-argument)
2756 (digit-argument): Adjust accordingly.
2757 (universal-argument-minus): Remove.
2758 (universal-argument-other-key): Remove.
2759
8c27f5ff
SM
2760 * subr.el (with-demoted-errors): Add `format' argument.
2761
6480194c
MA
27622013-09-10 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2765 `tramp-cleanup-connection'.
2766
2767 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2768 parameters KEEP-DEBUG and KEEP-PASSWORD.
2769
2770 * net/tramp.el (tramp-file-name-handler):
2771 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2772 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2773 (tramp-maybe-open-connection):
8c27f5ff
SM
2774 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2775 Use `tramp-cleanup-connection'.
6480194c 2776
8c27f5ff
SM
2777 * net/tramp-sh.el (tramp-maybe-open-connection):
2778 Catch 'uname-changed inside the progress reporter.
6480194c 2779
e5e916d8
GM
27802013-09-10 Glenn Morris <rgm@gnu.org>
2781
9a2c9b47
GM
2782 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2783
e5e916d8
GM
2784 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2785 returns "alternate access method" in mode (eg "-rw-r--r--.").
2786
144e38fe
GM
27872013-09-08 Glenn Morris <rgm@gnu.org>
2788
2789 * saveplace.el (load-save-place-alist-from-file):
2790 Demote errors. (Bug#15305)
2791
af9ff9e8
MA
27922013-09-08 Michael Albinus <michael.albinus@gmx.de>
2793
2794 Improve compatibility with older Emacsen, and XEmacs.
2795
2796 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2797 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2798 (with-tramp-progress-reporter): Do not let-bind `result'.
2799 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2800 (tramp-handle-make-auto-save-file-name): New function, moved from
2801 tramp-sh.el.
2802
2803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2804 for `make-auto-save-file-name'.
8c27f5ff
SM
2805 (tramp-adb--gnu-switches-to-ash):
2806 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2807
2808 * net/tramp-cache.el (tramp-cache-print): Call
2809 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2810
2811 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2812 bound. It isn't for XEmacs.
2813
8c27f5ff
SM
2814 * net/tramp-compat.el (tramp-compat-copy-file):
2815 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2816 (tramp-compat-replace-regexp-in-string): New defun.
2817
2818 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2819 for `make-auto-save-file-name'.
2820 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2821 `copy-file'.
2822 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2823 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2824 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2825
8c27f5ff
SM
2826 * net/tramp-gw.el (tramp-gw-open-network-stream):
2827 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2828
8c27f5ff
SM
2829 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2830 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2831 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2832 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2833 (tramp-sh-file-inotifywait-process-filter):
2834 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2835 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2836
2837 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2838 for `make-auto-save-file-name'.
8c27f5ff
SM
2839 (tramp-smb-handle-copy-directory):
2840 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2841 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2842 (tramp-smb-handle-copy-file): Improve error message.
2843 (tramp-smb-handle-rename-file): Rename directly only in case
2844 `newname' does not exist yet. This is a restriction of smbclient.
2845 (tramp-smb-maybe-open-connection): Rerun the function only when
2846 `auth-sources' is non-nil.
2847
0ca754d0
KH
28482013-09-08 Kenichi Handa <handa@gnu.org>
2849
2850 * international/characters.el: Set category "^" (Combining) for
2851 more characters.
2852
e8dd0787
AM
28532013-09-07 Alan Mackenzie <acm@muc.de>
2854
2855 Correctly fontify Java class constructors.
2856 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2857 in Java Mode.
2858 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2859 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2860 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2861 "typeless" declaration there.
2862
f2f248e7
RW
28632013-09-07 Roland Winkler <winkler@gnu.org>
2864
2865 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2866 field subtitle for entry type book.
2867
67982e2b
SM
28682013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * minibuffer.el: Make minibuffer-complete call completion-in-region
2871 rather than other way around.
2872 (completion--some, completion-pcm--find-all-completions):
2873 Don't delay signals when debugging.
2874 (minibuffer-completion-contents): Beware fields within the
2875 minibuffer contents.
2876 (completion-all-sorted-completions): Use defvar-local.
2877 (completion--do-completion, completion--cache-all-sorted-completions)
2878 (completion-all-sorted-completions, minibuffer-force-complete):
2879 Add args `beg' and `end'.
2880 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2881 (minibuffer-complete): Use completion-in-region.
2882 (completion-complete-and-exit): New fun, extracted from
2883 minibuffer-complete-and-exit.
2884 (minibuffer-complete-and-exit): Use it.
2885 (completion--complete-and-exit): Rename from
2886 minibuffer--complete-and-exit.
2887 (completion-in-region--single-word): New function, extracted from
2888 minibuffer-complete-word.
2889 (minibuffer-complete-word): Use it.
2890 (display-completion-list): Make `common-substring' argument obsolete.
2891 (completion--in-region): Call completion--in-region-1 instead of
2892 minibuffer-complete.
2893 (completion-help-at-point): Pass boundaries to
2894 minibuffer-completion-help as args rather than via an overlay.
2895 (completion-pcm--string->pattern): Use `any-delim'.
2896 (completion-pcm--optimize-pattern): New function.
2897 (completion-pcm--pattern->regex): Handle `any-delim'.
2898 * icomplete.el (icomplete-forward-completions)
2899 (icomplete-backward-completions, icomplete-completions):
2900 Adjust calls to completion-all-sorted-completions and
2901 completion--cache-all-sorted-completions.
2902 (icomplete-with-completion-tables): Default to t.
2903 * emacs-lisp/crm.el (crm--current-element): Rename from
2904 crm--select-current-element. Don't put an overlay but return the
2905 boundaries instead.
2906 (crm--completion-command): Take two new args to bind to the boundaries.
2907 (crm-completion-help): Adjust accordingly.
2908 (crm-complete): Use completion-in-region.
2909 (crm-complete-word): Use completion-in-region--single-word.
2910 (crm-complete-and-exit): Use completion-complete-and-exit.
2911
e17d94a5
SM
29122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2915 than dynamically.
2916
96727100
JL
29172013-09-06 Juri Linkov <juri@jurta.org>
2918
2919 * info.el (Info-display-images-node): When image file doesn't exist
2920 display text version of the image if it's provided in the Info file.
2921 Otherwise, display the location of missing image from SRC attribute.
2922 Add help-echo text property from ALT attribute. (Bug#15279)
2923
86cf7329
SM
29242013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2927 (edit-abbrevs-mode): Use define-derived-mode.
2928
2929 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2930 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2931 that it's defined.
2932 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2933 Use define-derived-mode.
2934
2935 * epg.el (epg-start-encrypt): Minor CSE simplification.
2936
816244a2
WX
29372013-09-06 William Xu <william.xwl@gmail.com>
2938
2939 * arc-mode.el: Add support for 7za (bug#15264).
2940 (archive-7z-program): New var.
2941 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2942 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2943 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2944
1486fa31
MA
29452013-09-06 Michael Albinus <michael.albinus@gmx.de>
2946
2947 Remove URL syntax.
2948
2949 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2950 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2951 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2952 (tramp-postfix-host-format, tramp-file-name-regexp)
2953 (tramp-completion-file-name-regexp)
2954 (tramp-completion-dissect-file-name)
2955 (tramp-handle-substitute-in-file-name): Remove 'url case.
2956 (tramp-file-name-regexp-url)
2957 (tramp-completion-file-name-regexp-url): Remove constants.
2958
39785324
GM
29592013-09-06 Glenn Morris <rgm@gnu.org>
2960
2961 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2962
1f896cb7
DG
29632013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2964
2965 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2966 keywords" below "here-doc beginnings" (Bug#15270).
2967
c0458e0b
SM
29682013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * subr.el (pop): Use `car-safe'.
2971 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2972 to detect unused `pop' return value.
2973
2974 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2975 var `block-regexp'.
2976 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2977 (python-fill-string): Remove unused var `marker'.
2978 (python-skeleton-add-menu-items): Remove unused var `items'.
2979
2980 * international/mule-cmds.el: Require CL.
2981 (find-coding-systems-for-charsets): Avoid add-to-list.
2982 (sanitize-coding-system-list): New function, extracted from
2983 select-safe-coding-system-interactively.
2984 (select-safe-coding-system-interactively): Use it.
2985 (read-input-method-name): Accept symbols for `default'.
2986
2987 * emacs-lisp/advice.el (defadvice): Add indent rule.
2988
6c42fc3e
DH
29892013-09-05 Daniel Hackney <dan@haxney.org>
2990
2991 * dired-x.el:
2992 * net/ange-ftp.el:
2993 * net/browse-url.el:
2994 * net/dbus.el:
2995 * net/eudc.el:
2996 * net/eudcb-ldap.el:
2997 * net/eww.el:
2998 * net/imap.el:
2999 * printing.el:
3000 * vc/ediff-diff.el:
3001 * vc/ediff-init.el:
3002 * vc/ediff-merg.el:
3003 * vc/ediff-mult.el:
3004 * vc/ediff-util.el:
3005 * vc/ediff-wind.el:
3006 * vc/ediff.el:
3007 * vc/emerge.el:
3008 * vc/pcvs.el:
3009 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3010 byte compiler. Remove some unused let-bound variables.
3011
4c528aab
SM
30122013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3015 a "ref-cell", since it gets better optimized (bug#14883).
3016
bd15c390
GM
30172013-09-05 Glenn Morris <rgm@gnu.org>
3018
3019 * progmodes/cc-awk.el (c-forward-sws): Declare.
3020
1c3ac2e5
GM
30212013-09-04 Glenn Morris <rgm@gnu.org>
3022
3023 * generic-x.el [rul-generic-mode]: Require cc-mode.
3024 (c++-mode-syntax-table): Declare.
3025 (rul-generic-mode-syntax-table): Init in the defvar.
3026
52b1cc79
SM
30272013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3028
c828af56
SM
3029 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3030 (vc-do-command, vc-set-async-update):
3031 * vc/vc-mtn.el (vc-mtn-dir-status):
3032 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3033 (vc-hg-pull, vc-hg-merge-branch):
3034 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3035 (vc-git-merge-branch):
3036 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3037 (vc-cvs-dir-status-files):
3038 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3039 (vc-bzr-dir-status-files):
3040 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3041 * vc/vc-annotate.el: Use lexical-binding.
3042 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3043 (vc-sentinel-movepoint): Declare.
3044 (vc-annotate): Don't use `goto-line'.
3045 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3046 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3047 (vc-sentinel-movepoint): Declare.
3048 * vc/vc-svn.el: Use lexical-binding.
3049 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3050 * vc/vc-sccs.el:
3051 * vc/vc-rcs.el: Use lexical-binding.
3052
abae272c
SM
3053 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3054 `deleted'. Don't drop errors silently.
3055
52b1cc79
SM
3056 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3057
63191d9f
XF
30582013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3059
3060 * vc/vc.el (vc-ignore): Rewrite.
3061 (vc-default-ignore): New function.
3062 (vc-default-ignore-completion-table): Use find-ignore-file.
3063
3064 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3065 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3066 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3067 Remove. Most code moved to vc.el.
3068
9d3f707c
SM
30692013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3070
abae272c 3071 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3072 * net/tramp-smb.el (tramp-smb-get-file-entries):
3073 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3074 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3075
fde38d49
SM
3076 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3077 Update call to it.
3078 (eww-change-select): Remove unused var `properties'.
3079 (eww-make-unique-file-name): Remove unused var `base'.
3080
3081 * finder.el (finder-compile-keywords): Don't mess with windows.
3082
84032db7
SM
3083 * calculator.el (calculator-funcall): Fix typo in last change.
3084
724f5e41
SM
3085 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3086
14b511d4
SM
3087 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3088 <pkg>-autoloads.el file stop us.
3089
9d3f707c 3090 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3091 warnings, and factor out common code.
9d3f707c 3092
88527bc0
DG
30932013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3094
3095 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3096 two-character operators and whether the character preceding them
3097 changes their meaning (Bug#15208).
3098
96edb677
FEG
30992013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3100
3101 Format code sent to Python shell for robustness.
9d3f707c
SM
3102 * progmodes/python.el (python-shell-buffer-substring):
3103 New function.
96edb677
FEG
3104 (python-shell-send-region, python-shell-send-buffer): Use it.
3105
95beaef3
MA
31062013-09-02 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3109 * net/tramp.el (tramp-user-error): ... here.
3110 (tramp-find-method, tramp-check-proper-host)
3111 (tramp-dissect-file-name, tramp-debug-message)
3112 (tramp-handle-shell-command):
3113 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3114 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3115
3116 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3117
f167c27b
MR
31182013-09-02 Martin Rudalics <rudalics@gmx.at>
3119
3120 * avoid.el (mouse-avoidance-point-position)
3121 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3122 returns nil.
3123
cd16c5f1
FEG
31242013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3125
3126 * progmodes/python.el (python-shell-completion-get-completions):
3127 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3128 (python-nav-if-name-main): New command.
cd16c5f1 3129
e73c3a0d
GM
31302013-09-01 Glenn Morris <rgm@gnu.org>
3131
f8ccce03
GM
3132 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3133 Avoid leading space in $wins. Otherwise the sed command used by
3134 eg compile-main ends up containing "/*.el". (Bug#15170)
3135
e73c3a0d
GM
3136 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3137
415f808e
GM
31382013-08-30 Glenn Morris <rgm@gnu.org>
3139
3140 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3141 Fix is-this-a-directory logic. (Bug#15220)
3142
f069bba8
SM
31432013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3144
112798c1
SM
3145 * textmodes/css-mode.el: Use SMIE.
3146 (css-smie-grammar): New var.
3147 (css-smie--forward-token, css-smie--backward-token)
3148 (css-smie-rules): New functions.
3149 (css-mode): Use them.
3150 (css-navigation-syntax-table): Remove var.
3151 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3152 (css-indent-calculate, css-indent-line): Remove functions.
3153
3154 Misc changes to reduce use of `(lambda...); and other cleanups.
3155 * cus-edit.el: Use lexical-binding.
3156 (customize-push-and-save, customize-apropos)
3157 (custom-buffer-create-internal): Use closures.
3158 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3159 * progmodes/ada-xref.el: Use setq.
3160 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3161 * dframe.el: Use lexical-binding.
3162 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3163 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3164 * descr-text.el: Use lexical-binding.
3165 (describe-text-widget, describe-text-sexp, describe-property-list):
3166 Use closures.
3167 * comint.el (comint-history-isearch-push-state): Use a closure.
3168 * calculator.el: Use lexical-binding.
3169 (calculator-number-to-string): Make it work with lexical-binding.
3170 (calculator-funcall): Same and use cl-letf.
3171
2da4c3ab
SM
3172 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3173 (lisp--company-doc-string, lisp--company-location): New functions.
3174 (lisp-completion-at-point): Use them to improve Company support.
3175
f069bba8
SM
3176 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3177 params of lambda expressions.
3178 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3179 (ruby-smie--opening-pipe-p): New function.
3180 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3181 symbols and matched |...| for formal params.
3182 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3183 from being treated as hanging. Handle "rescue".
3184
6758b6a8
GM
31852013-08-29 Glenn Morris <rgm@gnu.org>
3186
3187 * progmodes/cc-engine.el (c-pull-open-brace):
3188 Move definition before use.
3189
e8dfd197
SM
31902013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3193 are immutable. Don't use `unsafe' any more.
3194 (cl--defsubst-expand): Don't substitute at the same time as keeping
3195 a residual unused let-binding. Don't use `unsafe' any more.
3196
cc585c96
GM
31972013-08-29 Glenn Morris <rgm@gnu.org>
3198
ba579ea6
GM
3199 * calendar/cal-china.el (calendar-chinese-year-cache):
3200 Recenter on 2015.
3201
8201a87e
GM
3202 * nxml/nxml-util.el (nxml-debug-clear-inside):
3203 Use cl-loop rather than loop.
3204
6ee877c7
GM
3205 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3206
cc585c96
GM
3207 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3208
27be8d39
GM
32092013-08-28 Glenn Morris <rgm@gnu.org>
3210
397440a1
GM
3211 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3212
2bb762d4
GM
3213 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3214
27be8d39
GM
3215 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3216
2d69b99e
SM
32172013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3218
f663baa7
SM
3219 * simple.el (repeat-complex-command--called-interactively-skip):
3220 New function.
3221 (repeat-complex-command): Use it (bug#14136).
3222
dd4f8b74
SM
3223 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3224 (c-define-abbrev-table): Add `doc' argument.
3225 (c-mode-abbrev-table, c++-mode-abbrev-table)
3226 (objc-mode-abbrev-table, java-mode-abbrev-table)
3227 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3228 (awk-mode-abbrev-table): Use it.
3229 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3230 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3231 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3232 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3233 Move initialization into the declaration; and remove any
3234 autoload cookie.
3235
b58969f7
SM
3236 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3237 and dynamic let binding.
3238
4021d6a6
SM
3239 * vc/smerge-mode.el: Remove redundant :group args.
3240
2d69b99e
SM
3241 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3242 to load-path.
3243
274919fd
JL
32442013-08-28 Juri Linkov <juri@jurta.org>
3245
3246 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3247 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3248 (isearch-other-meta-char): Handle an undefined shifted printing
3249 character by downshifting it. (Bug#15200)
3250
121f8c95
JL
32512013-08-28 Juri Linkov <juri@jurta.org>
3252
3253 * isearch.el (isearch-search): Change regexp error message for
3254 non-regexp searches. (Bug#15166)
3255
50b13cde
PE
32562013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3257
3258 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3259 for portability to hosts where /bin/sh has problems.
3260
95888bca
SM
32612013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3264
bbe558f1
JL
32652013-08-27 Juri Linkov <juri@jurta.org>
3266
3267 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3268 in the keyboard macro. (Bug#15126)
3269
26f98a7d
JL
32702013-08-27 Juri Linkov <juri@jurta.org>
3271
3272 * isearch.el (isearch-quote-char): Comment out converting unibyte
3273 to multibyte, thus syncing with its `quoted-insert' counterpart.
3274 (Bug#15166)
3275
7c97d35e
MR
32762013-08-27 Martin Rudalics <rudalics@gmx.at>
3277
3278 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3279 argument in call of get-largest-window (Bug#15185).
3280 Reported by Stephen Leake.
7c97d35e 3281
a0b5606e 32822013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3283
3284 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3285
9e89d835
SM
32862013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3289 from a matcher-function unless there's no more matches (bug#15161).
3290
78fc2530
MA
32912013-08-26 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * minibuffer.el: Revert change from 2013-08-20.
3294
3295 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3296 with text property `tramp-default', if appropriate.
3297 (tramp-check-proper-host): New defun.
3298 (tramp-dissect-file-name): Do not check hostname. Revert change
3299 of 2013-03-18.
3300 (tramp-backtrace): Make VEC-OR-PROC optional.
3301
3302 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3303 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3304 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3305 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3306 Apply `tramp-check-proper-host'.
78fc2530 3307
edca97cd
TH
33082013-08-26 Tassilo Horn <tsdh@gnu.org>
3309
3310 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3311 lambda expression in order to have `describe-variable' display it.
3312
df54bcbd
MA
33132013-08-26 Michael Albinus <michael.albinus@gmx.de>
3314
3315 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3316 BUF can be optional. (Bug#15186)
3317
eed99101
XF
33182013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3319
3320 * progmodes/flymake.el (flymake-get-real-file-name-function):
3321 Fix broken customization. (Bug#15184)
3322
b5eb9035
AM
33232013-08-25 Alan Mackenzie <acm@muc.de>
3324
8a51e842
AM
3325 Improve indentation of bracelists defined by macros (without "=").
3326
3327 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3328 expansion begins with "{", regard it as bracelist when it doesn't
3329 contain a ";".
3330
869455d4
AM
3331 Parse C++ inher-intro when there's a template split over 2 lines.
3332
3333 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3334 rigorously the search for "class" etc. followed by ":".
3335
3336 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3337 random languages a regexp which never matches rather than nil.
3338
b5eb9035
AM
3339 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3340
3341 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3342 (c-awk-regexp-one-line-possibly-open-char-list-re)
3343 (c-awk-one-line-possibly-open-regexp-re)
3344 (c-awk-one-line-non-syn-ws*-re): Remove.
3345 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3346 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3347 (c-awk-space*-unclosed-regexp-/-re): New constants.
3348 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3349 aren't regexp delimiters.
3350
3351 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3352 handling for a rare situation in AWK Mode involving unterminated
3353 strings/regexps.
3354
61611d54
GM
33552013-08-23 Glenn Morris <rgm@gnu.org>
3356
2d85dc34
GM
3357 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3358
cb8d2612
GM
3359 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3360
bb35f42f
GM
3361 * files.el (create-file-buffer): If the result would begin with
3362 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3363
b9808e77
SM
33642013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3365
e3a66363
SM
3366 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3367 text-properties (bug#15155).
3368
b9808e77
SM
3369 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3370 exist any more.
3371 (calc-keypad-redraw): Remove unused var `pad'.
3372 (calc-keypad-press): Remove unused var `menu'.
3373
7fd5f65e
MR
33742013-08-23 Martin Rudalics <rudalics@gmx.at>
3375
b9808e77
SM
3376 * window.el (display-buffer-pop-up-frame):
3377 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3378 use it as the new frame's buffer (Bug#15133).
3379
8352b530
SM
33802013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * calendar/timeclock.el: Minor cleanups.
3383 (timeclock-ask-before-exiting, timeclock-use-display-time):
3384 Use `symbol'.
3385 (timeclock-modeline-display): Define as alias before the
3386 actual definition.
3387 (timeclock-mode-line-display): Use define-minor-mode.
3388 (timeclock-day-list-template): Make it a function, add an argument.
3389 (timeclock-day-list-required, timeclock-day-list-length)
3390 (timeclock-day-list-debt, timeclock-day-list-span)
3391 (timeclock-day-list-break): Adjust calls accordingly.
3392
9f7b1925
SM
33932013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3396 Use read--expression so that completion works again.
3397
6e50e983
SS
33982013-08-21 Sam Steingold <sds@gnu.org>
3399
3400 Add rudimentary inferior shell interaction
3401 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3402 (sh-set-shell): Reset it.
9f7b1925
SM
3403 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3404 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3405
dbb0d350
SM
34062013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * align.el: Use lexical-binding.
3409 (align-region): Simplify accordingly.
3410
c88586a9
MA
34112013-08-20 Michael Albinus <michael.albinus@gmx.de>
3412
3413 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3414
3415 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3416 `non-essential' up.
3417
f95527c8
MA
34182013-08-17 Michael Albinus <michael.albinus@gmx.de>
3419
3420 * net/tramp.el:
3421 * net/tramp-adb.el:
3422 * net/tramp-cmds.el:
3423 * net/tramp-ftp.el:
3424 * net/tramp-gvfs.el:
3425 * net/tramp-gw.el:
3426 * net/tramp-sh.el: Don't wrap external variable declarations by
3427 `eval-when-compile'.
3428
4b5fe4ee
LMI
34292013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3430
3431 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3432 now that Emacs supports ImageMagick animations.
3433
13c366c9
MA
34342013-08-16 Michael Albinus <michael.albinus@gmx.de>
3435
3436 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3437 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3438
3dfc5cd6
MR
34392013-08-16 Martin Rudalics <rudalics@gmx.at>
3440
3441 * window.el (mouse-autoselect-window-select): Do autoselect when
3442 mouse pointer is on margin.
3443
4bbb4381
WP
34442013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3445
3446 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3447
3a2ddc2d
GM
34482013-08-16 Glenn Morris <rgm@gnu.org>
3449
e8bedf5a
GM
3450 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3451 Handle "Remote Directory" response of some clients. (Bug#15058)
3452
58c4682f
GM
3453 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3454 Tweak warning. (Bug#14926)
3455
57953f49
GM
3456 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3457 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3458
3a2ddc2d
GM
3459 * image-mode.el (image-mode-map): Add menu items to reverse,
3460 increase, decrease, reset animation speed.
3461 (image--set-speed, image-increase-speed, image-decrease-speed)
3462 (image-reverse-speed, image-reset-speed): New functions.
3463 (image-mode-map): Add bindings for speed commands.
3464
3465 * image.el (image-animate-get-speed, image-animate-set-speed):
3466 New functions.
3467 (image-animate-timeout): Respect image :speed property.
3468
10fa0ed3
SM
34692013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3472 previous line (bug#15101).
3473 (debugger-eval-expression, debugger-record-expression):
3474 Use read--expression (bug#15102).
3475
5d89d9d2
MA
34762013-08-15 Michael Albinus <michael.albinus@gmx.de>
3477
3478 Remove byte compiler warnings, visible when compiling with
3479 `byte-compile-force-lexical-warnings' set to t.
3480
3481 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3482 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3483 (tramp-handle-unhandled-file-name-directory)
3484 (tramp-handle-file-notify-add-watch, tramp-action-login)
3485 (tramp-action-succeed, tramp-action-permission-denied)
3486 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3487 arguments with "_".
3488
3489 * net/tramp-adb.el (tramp-adb-parse-device-names)
3490 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3491 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3492 (tramp-adb-handle-file-truename): Remove unused arguments.
3493
3494 * net/tramp-cache.el (tramp-flush-directory-property)
3495 (tramp-flush-connection-property, tramp-list-connections)
3496 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3497
10fa0ed3
SM
3498 * net/tramp-compat.el (tramp-compat-make-temp-file):
3499 Rename FILENAME to F.
5d89d9d2
MA
3500
3501 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3502 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3503 (tramp-zeroconf-parse-workstation-device-names)
3504 (tramp-zeroconf-parse-webdav-device-names)
3505 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3506
3507 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3508 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3509
3510 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3511 arguments.
3512 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3513 (tramp-sh-handle-insert-file-contents-literally)
3514 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3515 with "_".
3516 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3517 Remove unused variables.
3518
3519 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3520 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3521 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3522
3523 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3524 Make them a defconst.
3525 (tramp-uuencode-region): Remove unused variable.
3526
62f33bae
JB
35272013-08-14 Juanma Barranquero <lekktu@gmail.com>
3528
3529 * frameset.el (frameset--prop-setter): New function.
3530 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3531 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3532 parameter was already set in FILTERED. Doc fix.
3533 (frameset--record-minibuffer-relationships): Allow saving a
3534 minibufferless frame without its corresponding minibuffer frame.
3535 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3536 frame, if the frame id matches.
3537 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3538 frames before orphaned ones.
3539 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3540
c660a885
MR
35412013-08-14 Martin Rudalics <rudalics@gmx.at>
3542
3543 * window.el (window-make-atom): Don't overwrite parameter
3544 already present.
3545 (display-buffer-in-atom-window): Handle special case where we
3546 split an already atomic window.
3547 (window--major-non-side-window, display-buffer-in-side-window)
3548 (window--side-check): Ignore minibuffer window when walking
3549 window tree.
3550 (window-deletable-p): Return 'frame only if no other frame uses
3551 our minibuffer window.
3552 (record-window-buffer): Run buffer-list-update-hook.
3553 (split-window): Make sure window--check-frame won't destroy an
3554 existing atomic window in case the new window gets nested
3555 inside.
3556 (display-buffer-at-bottom): Ignore minibuffer window when
3557 walking window tree. Don't split a side window.
3558 (pop-to-buffer): Don't set-buffer here, the select-window call
3559 should do that.
3560 (mouse-autoselect-window-select): Autoselect only if we are in the
3561 text portion of the window.
3562
8259030d
LMI
35632013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3564
21c58ae2
LMI
3565 * net/shr.el (shr-parse-image-data): New function to grab both the
3566 data itself and the Content-Type.
3567 (shr-put-image): Use it.
3568
3569 * net/eww.el (eww-display-image): Ditto.
3570
8259030d
LMI
3571 * image.el (image-content-type-suffixes): New variable.
3572
ad756449
FEG
35732013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3574
3575 * progmodes/python.el (python-imenu--build-tree)
3576 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3577
f73f4ce6
XF
35782013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3579
3580 * simple.el (backward-word): Mention the optional argument.
3581
1f585e65
SM
35822013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * frameset.el (frameset--make): Rename constructor from make-frameset.
3585 (frameset-p, frameset-valid-p): Don't autoload.
3586 (frameset-valid-p): Use normal accessors.
3587
af1c6c84
GM
35882013-08-13 Glenn Morris <rgm@gnu.org>
3589
55e47f95
GM
3590 * progmodes/compile.el (compile-command): Tweak example in doc.
3591 * obsolete/scribe.el (scribe-mode):
3592 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3593
f0024d8c
GM
3594 * mail/feedmail.el (feedmail-confirm-outgoing)
3595 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3596
3597 * cus-start.el (truncate-partial-width-windows): Fix type.
3598
3599 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3600
af1c6c84
GM
3601 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3602
5514cc4c
SM
36032013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * emacs-lisp/timer.el (timer--time-setter): New function.
3606 (timer--time): Use it as gv-setter.
3607
3608 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3609 setter is not a symbol.
3610
7997a2f1
GJ
36112013-08-12 Grégoire Jadi <daimrod@gmail.com>
3612
3613 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3614 if sending fails. This makes debugging easier.
3615
01f1a9ab
JB
36162013-08-12 Juanma Barranquero <lekktu@gmail.com>
3617
3618 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3619 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3620 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3621
594a4307
EZ
36222013-08-12 Eli Zaretskii <eliz@gnu.org>
3623
3624 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3625
7a22490f 36262013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3627
3628 * format.el (format-annotate-function):
3629 Handle read-only text properties in the source. (Bug#14887)
3630
3e41a054
LMI
36312013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3632
5514cc4c
SM
3633 * net/eww.el (eww-display-html): Ignore coding system errors.
3634 One web site uses "utf-8lias" as the coding system.
3e41a054 3635
7ec326db
JB
36362013-08-11 Juanma Barranquero <lekktu@gmail.com>
3637
3638 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3639
5660113b
JB
36402013-08-10 Juanma Barranquero <lekktu@gmail.com>
3641
9a4ebc74
JB
3642 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3643 (tutorial--detailed-help): Remove unused local variables.
3644 (tutorial--save-tutorial-to): Use ignore-errors.
3645 (help-with-tutorial): Use looking-at-p.
3646
3647 * view.el (view-buffer-other-window, view-buffer-other-frame):
3648 Mark unused arguments.
3649
3650 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3651 (woman-select-symbol-fonts, woman, woman-find-file)
3652 (woman-insert-file-contents, woman-non-underline-faces):
3653 Use string-match-p.
3654 (woman1-unquote): Move declaration.
3655
3656 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3657 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3658 argument. Remove unused local variable.
3659 (xml-parse-elem-type): Use string-match-p.
3660 (xml-substitute-numeric-entities): Use ignore-errors.
3661
45fdb482
JB
3662 * calculator.el (calculator): Mark unused argument.
3663 (calculator-paste, calculator-quit, calculator-integer-p):
3664 Use ignore-errors.
3665 (calculator-string-to-number, calculator-decimal, calculator-exp)
3666 (calculator-op-or-exp): Use string-match-p.
3667
3668 * dired.el (dired-buffer-more-recently-used-p): Declare.
3669 (dired-insert-set-properties, dired-insert-old-subdirs):
3670 Use ignore-errors.
3671
3672 * dired-aux.el (dired-compress): Use ignore-errors.
3673 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3674 (dired-do-async-shell-command, dired-do-shell-command)
3675 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3676 (dired-insert-subdir-validate): Use string-match-p.
3677 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3678 (dired-add-entry): Use string-match-p, looking-at-p.
3679 (dired-insert-subdir-newpos): Remove unused local variable.
3680
3681 * filenotify.el (file-notify-callback): Remove unused local variable.
3682
3683 * filesets.el (filesets-error): Mark unused argument.
3684 (filesets-which-command-p, filesets-filter-dir-names)
3685 (filesets-directory-files, filesets-get-external-viewer)
3686 (filesets-ingroup-get-data): Use string-match-p.
3687
3688 * find-file.el (ff-other-file-name, ff-other-file-name)
3689 (ff-find-the-other-file, ff-cc-hh-converter):
3690 Remove unused local variables.
3691 (ff-get-file-name): Use string-match-p.
3692 (ff-all-dirs-under): Use ignore-errors.
3693
3694 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3695 (follow-select-if-visible): Remove unused local variable.
3696
3697 * forms.el (read-file-filter): Move declaration.
3698 (forms--make-format, forms--make-parser, forms-insert-record):
3699 Quote function with #'.
3700 (forms--update): Use string-match-p. Quote function with #'.
3701
3702 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3703 (help-make-xrefs): Use looking-at-p.
3704 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3705
3706 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3707 (ibuffer-confirm-operation-on): Use string-match-p.
3708
3709 * msb.el (msb-item-handler, msb-dired-item-handler):
3710 Mark unused arguments.
3711
3712 * ses.el (ses-decode-cell-symbol)
3713 (ses-kill-override): Remove unused local variable.
3714 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3715 (ses-load): Use ignore-errors, looking-at-p.
3716 (ses-jump-safe): Use ignore-errors.
3717 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3718
3719 * tabify.el (untabify, tabify): Mark unused arguments.
3720
3721 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3722 Mark unused argument.
3723 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3724 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3725
c880af52
JB
3726 * emacs-lisp/timer.el (timer--time): Define setter with
3727 gv-define-setter to avoid deprecation warning.
3728
5660113b 3729 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3730 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3731 (cmpl-statistics-block): Remove (body was commented out).
3732 All callers changed.
3733 (add-completions-from-buffer, load-completions-from-file):
3734 Remove unused variables.
3735
156aab80
JB
37362013-08-09 Juanma Barranquero <lekktu@gmail.com>
3737
5c5dee78
JB
3738 * filecache.el (file-cache-delete-file-list):
3739 Print message only when told so.
3740 (file-cache-files-matching): Use #' in mapconcat argument.
3741
156aab80
JB
3742 * ffap.el (ffap-url-at-point): Fix reference to variable
3743 thing-at-point-default-mail-uri-scheme.
3744
ad9dcd70
SM
37452013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3746
54bd972f
SM
3747 * subr.el (define-error): New function.
3748 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3749 error-file-not-found and define with define-error.
3750 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3751 and define with define-error.
3752 * userlock.el (file-locked, file-supersession):
3753 * simple.el (mark-inactive):
3754 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3755 * progmodes/ada-mode.el (ada-mode-errors):
3756 * play/life.el (life-extinct):
3757 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3758 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3759 * nxml/rng-util.el (rng-error):
3760 * nxml/rng-uri.el (rng-uri-error):
3761 * nxml/rng-match.el (rng-compile-error):
3762 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3763 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3764 * nxml/nxml-rap.el (nxml-scan-error):
3765 * nxml/nxml-outln.el (nxml-outline-error):
3766 * net/soap-client.el (soap-error):
3767 * net/gnutls.el (gnutls-error):
3768 * net/ange-ftp.el (ftp-error):
3769 * mpc.el (mpc-proc-error):
3770 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3771 (json-number-format, json-string-escape, json-string-format)
3772 (json-key-format, json-object-format):
3773 * jka-compr.el (compression-error):
3774 * international/quail.el (quail-error):
3775 * international/kkc.el (kkc-error):
3776 * emacs-lisp/ert.el (ert-test-failed):
3777 * calc/calc.el (calc-error, inexact-result, math-overflow)
3778 (math-underflow):
3779 * bookmark.el (bookmark-error-no-filename):
3780 * epg.el (epg-error): Define with define-error.
3781
0ea9e53a
SM
3782 * time.el (display-time-event-handler)
3783 (display-time-next-load-average): Don't call sit-for since it seems
3784 unnecessary (bug#15045).
3785
b0429158
SM
3786 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3787 Use #' instead of ' to quote functions.
3788 (checkdoc-output-mode): Use setq-local.
3789 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3790 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3791 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3792 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3793 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3794 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3795 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3796 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3797
ad9dcd70
SM
3798 * ido.el (ido-completion-help): Fix up compiler warning.
3799
77187e6f
JB
38002013-08-09 Juanma Barranquero <lekktu@gmail.com>
3801
3802 * frameset.el (frameset-p): Add autoload cookie.
3803 (frameset--jump-to-register): New function, based on code moved from
3804 register.el.
3805 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3806
3807 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3808 (frameset-restore, frameset-save, frameset-session-filter-alist):
3809 Remove declarations.
3810 (register-alist): Doc fix.
3811 (frameset-to-register): Move to frameset.el.
3812 (jump-to-register, describe-register-1): Remove frameset-specific code.
3813
9d3aa82c
JB
38142013-08-08 Juanma Barranquero <lekktu@gmail.com>
3815
3816 * allout-widgets.el (allout-widgets-pre-command-business)
3817 (allout-widgets-post-command-business)
3818 (allout-widgets-after-change-handler)
3819 (allout-decorate-item-and-context, allout-set-boundary-marker)
3820 (allout-body-modification-handler)
3821 (allout-graphics-modification-handler): Mark ignored arguments.
3822 (allout-widgets-post-command-business)
3823 (allout-widgets-exposure-change-processor)
3824 (allout-widgets-exposure-undo-processor)
3825 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3826 (allout-parse-item-at-point, allout-decorate-item-guides)
3827 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3828 * allout.el (epa-passphrase-callback-function): Declare.
3829 (allout-overlay-insert-in-front-handler)
3830 (allout-overlay-interior-modification-handler)
3831 (allout-isearch-end-handler, allout-chart-siblings)
3832 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3833 (allout-yank-processing, allout-process-exposed)
3834 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3835 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3836 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3837 (lisp-indent-defform): Mark ignored arguments.
3838 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3839 (calculate-lisp-indent): Remove unused variables.
3840 * international/characters.el (indian-2-column, arabic-2-column)
3841 (tibetan): Mark ignored arguments.
3842 (use-cjk-char-width-table): Mark ignored arguments.
3843 Remove unused variables.
3844 * international/fontset.el (build-default-fontset-data)
3845 (x-compose-font-name, create-fontset-from-fontset-spec):
3846 Mark ignored arguments.
3847 (fontset-plain-name): Remove unused variables.
3848 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3849 (keyboard-coding-system): Mark ignored arguments.
3850 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3851 * help.el (resize-temp-buffer-window):
3852 * window.el (display-buffer-in-major-side-window)
3853 (display-buffer-in-side-window, display-buffer-in-previous-window):
3854 Remove unused variables.
3855 * isearch.el (isearch-forward-symbol):
3856 * version.el (emacs-bzr-version-bzr):
3857 * international/mule-cmds.el (current-language-environment):
3858 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3859 (x-handle-display):
3860 * term/pc-win.el (x-list-fonts, x-display-planes)
3861 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3862 (x-server-version, x-display-screens, x-display-mm-height)
3863 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3864 (x-selection-owner-p, x-own-selection-internal)
3865 (x-disown-selection-internal, x-get-selection-internal)
3866 (msdos-initialize-window-system):
3867 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3868 * term/x-win.el (x-handle-no-bitmap-icon):
3869 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3870 (vc-default-find-file-hook, vc-default-extra-menu):
3871 Mark ignored arguments.
3872
0ca3f70e
SM
38732013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3876 break-condition in the context of the debugged code (bug#12685).
3877
74c5d24c
CS
38782013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3879
3880 * comint.el:
3881 Do not use an overlay to highlight the last prompt. (Bug#14744)
3882 (comint-mode): Make comint-last-prompt buffer local.
3883 (comint-last-prompt): New variable.
3884 (comint-last-prompt-overlay): Remove. Superseded by
3885 comint-last-prompt.
0ca3f70e
SM
3886 (comint-snapshot-last-prompt, comint-output-filter):
3887 Use comint-last-prompt.
74c5d24c 3888
c03c02ee
JB
38892013-08-08 Juanma Barranquero <lekktu@gmail.com>
3890
a3738d20 3891 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3892 (frameset-save): Check validity of the resulting frameset.
3893
04263d23
XF
38942013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3895
3896 * ido.el (ido-record-command): Add doc string.
3897
76c5e5ab
JB
38982013-08-08 Juanma Barranquero <lekktu@gmail.com>
3899
3900 * frameset.el (frameset): Do not disable creation of the default
3901 frameset-p predicate. Doc fix.
3902 (frameset-valid-p): New function, copied from the old predicate-p.
3903 Add additional checks.
3904 (frameset-restore): Check with frameset-valid-p.
3905 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3906 (frameset-name, frameset-description, frameset-properties)
3907 (frameset-states): Add docstring.
f9dbf1cb
JB
3908 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3909 (frameset-filter-alist): Doc fixes.
76c5e5ab 3910
bd0c3c0b
JB
39112013-08-08 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3914
c735544c
SM
39152013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3918 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3919 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3920 (byte-compile-normal-call): Remove obsolescence check.
3921
2805a651
JB
39222013-08-08 Juanma Barranquero <lekktu@gmail.com>
3923
3677ffeb
JB
3924 * frameset.el (frameset-restore): Doc fix.
3925
2805a651
JB
3926 * register.el (frameset-frame-id, frameset-frame-with-id)
3927 (frameset-p, frameset-restore, frameset-save): Declare.
3928 (register-alist): Document framesets.
3929 (frameset-session-filter-alist): Declare.
3930 (frameset-to-register): New function.
3931 (jump-to-register): Implement jumping to framesets. Doc fix.
3932 (describe-register-1): Describe framesets.
3933
3934 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3935
a912c016
JB
39362013-08-07 Juanma Barranquero <lekktu@gmail.com>
3937
3938 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3939 Use lexical-binding.
3940
3941 * frameset.el (frameset): Use type vector, not list (incompatible
3942 change). Do not declare a new constructor, use the default one.
3943 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3944 `name' and `description', respectively, and add read-only slot
3945 `timestamp'. Doc fixes.
3946 (frameset-copy, frameset-persistent-filter-alist)
3947 (frameset-filter-alist, frameset-switch-to-gui-p)
3948 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3949 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3950 (frameset-filter-iconified, frameset-keep-original-display-p):
3951 Doc fixes.
3952 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3953 Rename from frameset-filter-(save|restore)-param. All callers changed.
3954 Doc fix.
3955 (frameset-p): Adapt to change to vector and be more thorough.
3956 Change arg name to OBJECT. Doc fix.
3957 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3958 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3959 All callers changed.
3960 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3961 All callers changed.
3962 (frameset--record-minibuffer-relationships): Rename from
3963 frameset--process-minibuffer-frames. All callers changed.
3964 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3965 Use new default constructor (again). Doc fix.
3966 (frameset--find-frame-if): Rename from `frameset--find-frame.
3967 All callers changed.
3968 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3969 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3970 Doc fix.
3971 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3972 PARAMETERS and WINDOW-STATE, respectively.
3973 (frameset-restore): Add new keyword argument PREDICATE.
3974 Reset frameset--target-display to nil. Doc fix.
3975
bb41480a
SM
39762013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3977
f001e98e
SM
3978 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3979 (bat-mode): Use it.
3980 (bat-mode-syntax-table): Mark \n as end-of-comment.
3981 (bat-font-lock-keywords): Remove comment rule.
3982
7679edb1
SM
3983 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3984 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3985
bb41480a
SM
3986 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3987 (byte-compile-callargs-warn): Use `push'.
3988 (byte-compile-arglist-warn): Ignore higher-order "calls".
3989 (byte-compile-file-form-autoload): Use `pcase'.
3990 (byte-compile-function-form): If quoting a symbol, check that it exists.
3991
cdc1ebb9
EZ
39922013-08-07 Eli Zaretskii <eliz@gnu.org>
3993
3994 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3995 and add a few popular commands found in batch files.
3996 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3997 (dos-mode): Doc fixes.
3998
312b1740
SM
39992013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4002 (dos-mode): Use setq-local. Add space after "rem".
4003 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4004 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4005
400a3178
AM
40062013-08-07 Arni Magnusson <arnima@hafro.is>
4007
4008 * progmodes/dos.el: New file.
4009 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4010 dos-mode.
4011
3b5c03d3
GM
40122013-08-06 Glenn Morris <rgm@gnu.org>
4013
4014 * calendar/calendar.el: Add new faces, and day-header-array.
4015 (calendar-weekday-header, calendar-weekend-header)
4016 (calendar-month-header): New faces.
4017 (calendar-day-header-construct): New function.
4018 (calendar-day-header-width): Also :set calendar-day-header-array.
4019 (calendar-american-month-header, calendar-european-month-header)
4020 (calendar-iso-month-header): Use calendar- faces.
4021 (calendar-generate-month):
4022 Use calendar-day-header-array for day headers; apply faces to them.
4023 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4024 (calendar-abbrev-construct): Add optional maxlen argument.
4025 (calendar-day-name-array): Doc fix.
4026 (calendar-day-name-array, calendar-abbrev-length)
4027 (calendar-day-abbrev-array):
4028 Also :set calendar-day-header-array, and maybe redraw.
4029 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4030 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4031 (calendar-day-name): Add option to use header array.
4032
ec6a2d7a
LMI
40332013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4034
4035 * net/shr.el (shr-render-td): Remove debugging.
4036 (shr-render-td): Make width computation consistent by defaulting
4037 all zero-width columns to 10 characters. This may not be optimal,
4038 but it's at least consistent.
2122cb6d
LMI
4039 (shr-make-table-1): Redo last change to fix the real problem in
4040 colspan handling.
ec6a2d7a 4041
ed4fd9c5
DA
40422013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4043
0ca3f70e
SM
4044 * files.el (cache-long-line-scans):
4045 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4046
64e22afe
JB
40472013-08-06 Juanma Barranquero <lekktu@gmail.com>
4048
024b38fc
JB
4049 * frameset.el (frameset, frameset-filter-alist)
4050 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4051 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4052 (frameset-compute-pos): Rename from frameset--compute-pos,
4053 and add docstring.
4054 (frameset-move-onscreen): Use frameset-compute-pos.
4055 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4056
64e22afe
JB
4057 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4058 Fix typos in docstrings.
4059
c8c2aca8
DA
40602013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4061
4062 * frame.el (get-other-frame): Tiny cleanup.
4063
1d237bba
JB
40642013-08-06 Juanma Barranquero <lekktu@gmail.com>
4065
8951efef
JB
4066 * vc/vc.el (vc-default-ignore-completion-table):
4067 Silence byte-compiler warning.
4068
307764cc
JB
4069 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4070 slot , which can indeed be nil.
4071 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4072 Move entry for `left' from persistent to live filter alist.
4073 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4074 Doc fixes.
4075 (frameset-filter-params): When restoring a frame, copy items added to
4076 `filtered', to avoid unwittingly modifying the original parameters.
4077 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4078 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4079
1d237bba
JB
4080 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4081 to use looking-at-p instead of looking-at. (Bug#15028)
4082
dc6c0eda
SM
40832013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 Revert introduction of isearch-filter-predicates (bug#14714).
4086 Rely on add-function instead.
4087 * isearch.el (isearch-filter-predicates): Rename it back to
4088 isearch-filter-predicate.
4089 (isearch-message-prefix): Use advice-function-mapc and advice
4090 properties to get the isearch-message-prefix.
4091 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4092 instead of run-hook-with-args-until-failure.
4093 (isearch-filter-visible): Not obsolete any more.
4094 * loadup.el: Preload nadvice.
4095 * replace.el (perform-replace): Revert to funcall
4096 instead of run-hook-with-args-until-failure.
4097 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4098 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4099 dired-isearch-filenames-toggle; make it into a proper minor mode.
4100 Use add/remove-function.
4101 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4102 Call the minor-mode rather than add/remove-hook.
4103 (dired-isearch-filter-filenames):
4104 Remove isearch-message-prefix property.
4105 * info.el (Info--search-loop): New function, extracted from Info-search.
4106 Funcall isearch-filter-predicate instead of
4107 run-hook-with-args-until-failure isearch-filter-predicates.
4108 (Info-search): Use it.
4109 (Info-mode): Use isearch-filter-predicate instead of
4110 isearch-filter-predicates.
4111
290d5b58
DA
41122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4113
4114 Do not call to `selected-window' where it is assumed by default.
4115 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4116 `window-hscroll', `window-width', `window-height', `window-buffer',
4117 `window-frame', `window-start', `window-point', `next-window'
4118 and `window-display-table'.
4119 * abbrev.el (abbrev--default-expand):
4120 * bs.el (bs--show-with-configuration):
4121 * buff-menu.el (Buffer-menu-mouse-select):
4122 * calc/calc.el (calc):
4123 * calendar/calendar.el (calendar-generate-window):
4124 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4125 (diary-make-entry):
4126 * comint.el (send-invisible, comint-dynamic-complete-filename)
4127 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4128 * completion.el (complete):
4129 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4130 * disp-table.el (describe-current-display-table):
4131 * doc-view.el (doc-view-insert-image):
4132 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4133 * ehelp.el (with-electric-help):
4134 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4135 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4136 * emacs-lisp/helper.el (Helper-help-scroller):
4137 * emulation/cua-base.el (cua--post-command-handler-1):
4138 * eshell/esh-mode.el (eshell-output-filter):
4139 * ffap.el (ffap-gnus-wrapper):
4140 * help-macro.el (make-help-screen):
4141 * hilit-chg.el (highlight-compare-buffers):
4142 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4143 * hl-line.el (global-hl-line-highlight):
4144 * icomplete.el (icomplete-simple-completing-p):
4145 * isearch.el (isearch-done):
4146 * jit-lock.el (jit-lock-stealth-fontify):
4147 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4148 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4149 * mpc.el (mpc-tagbrowser, mpc):
4150 * net/rcirc.el (rcirc-any-buffer):
4151 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4152 * play/landmark.el (landmark-max-width, landmark-max-height):
4153 * play/zone.el (zone):
4154 * progmodes/compile.el (compilation-goto-locus):
4155 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4156 * progmodes/etags.el (find-tag-other-window):
4157 * progmodes/fortran.el (fortran-column-ruler):
4158 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4159 * progmodes/verilog-mode.el (verilog-point-text):
4160 * reposition.el (reposition-window):
4161 * rot13.el (toggle-rot13-mode):
4162 * server.el (server-switch-buffer):
4163 * shell.el (shell-dynamic-complete-command)
4164 (shell-dynamic-complete-environment-variable):
4165 * simple.el (insert-buffer, set-selective-display)
4166 (delete-completion-window):
4167 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4168 (speedbar-recenter):
4169 * startup.el (fancy-splash-head):
4170 * textmodes/ispell.el (ispell-command-loop):
4171 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4172 * tutorial.el (help-with-tutorial):
4173 * vc/add-log.el (add-change-log-entry):
4174 * vc/compare-w.el (compare-windows):
4175 * vc/ediff-help.el (ediff-indent-help-message):
4176 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4177 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4178 (ediff-setup-control-frame):
4179 * vc/emerge.el (emerge-position-region):
4180 * vc/pcvs-util.el (cvs-bury-buffer):
4181 * window.el (walk-windows, mouse-autoselect-window-select):
4182 * winner.el (winner-set-conf, winner-undo): Related users changed.
4183
38276e01
JB
41842013-08-05 Juanma Barranquero <lekktu@gmail.com>
4185
4186 * frameset.el (frameset--set-id): Doc fix.
4187 (frameset-frame-id, frameset-frame-id-equal-p)
4188 (frameset-locate-frame-id): New functions.
4189 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4190 (frameset-restore): Use them.
4191
12b4c0ea
DA
41922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4193
4194 Do not call to `selected-frame' where it is assumed by default.
4195 Affected functions are `raise-frame', `redraw-frame',
4196 `frame-first-window', `frame-terminal' and `delete-frame'.
4197 * calendar/appt.el (appt-disp-window):
4198 * epg.el (epg-wait-for-completion):
4199 * follow.el (follow-delete-other-windows-and-split)
4200 (follow-avoid-tail-recenter):
4201 * international/mule.el (set-terminal-coding-system):
4202 * mail/rmail.el (rmail-mail-return):
4203 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4204 * progmodes/f90.el (f90-add-imenu-menu):
4205 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4206 * server.el (server-switch-buffer):
4207 * simple.el (delete-completion-window):
4208 * talk.el (talk):
4209 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4210 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4211 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4212 * vc/ediff.el (ediff-documentation): Related users changed.
4213 * frame.el (selected-terminal): Remove the leftover.
4214
17f25e76
GM
42152013-08-05 Glenn Morris <rgm@gnu.org>
4216
4217 * calendar/calendar.el (calendar-generate-month):
4218 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4219 (calendar-generate-month, calendar-font-lock-keywords):
4220 Fix for calendar-day-header-width > length of any day name.
17f25e76 4221
063233c3
JB
42222013-08-05 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * desktop.el (desktop-clear): Use new name of sort predicate.
4225
4226 * frameset.el (frameset): Add docstring. Move :version property to its
4227 own `version' slot.
4228 (frameset-copy): Rename from copy-frameset.
4229 (frameset-p): Check more thoroughly.
4230 (frameset-prop): Do not check for :version, which is no longer a prop.
4231 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4232 Use new :never value instead of t.
4233 (frameset-filter-alist): Expand and clarify docstring.
4234 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4235 (frameset-filter-minibuffer, frameset-filter-save-param)
4236 (frameset-filter-restore-param, frameset-filter-iconified):
4237 Add pointer to docstring of frameset-filter-alist.
4238 (frameset-filter-params): Rename filter values to be more meaningful:
4239 :never instead of t, and reverse the meanings of :save and :restore.
4240 (frameset--process-minibuffer-frames): Clarify error message.
4241 (frameset-save): Avoid unnecessary and confusing call to framep.
4242 Use new BOA constructor for framesets.
4243 (frameset--reuse-list): Doc fix.
4244 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4245 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4246 (frameset-minibufferless-first-p): Doc fix.
4247 Rename from frameset-sort-frames-for-deletion.
4248 (frameset-restore): Doc fixes. Use new function names.
4249 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4250
d5671a82
JB
42512013-08-04 Juanma Barranquero <lekktu@gmail.com>
4252
4253 * desktop.el (desktop-restore-forces-onscreen)
4254 (desktop-restore-reuses-frames): Document :keyword constant values.
4255 (desktop-filter-parameters-alist): Remove, now identical to
4256 frameset-filter-alist.
4257 (desktop--filter-tty*): Remove, moved to frameset.el.
4258 (desktop-save-frameset, desktop-restore-frameset):
4259 Do not pass :filters argument.
4260
4261 * frameset.el (frameset-live-filter-alist)
4262 (frameset-persistent-filter-alist): New variables.
4263 (frameset-filter-alist): Use them. Add autoload cookie.
4264 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4265 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4266 `frameset--id' (it's supposed to be internal to frameset.el).
4267 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4268 (frameset--initial-params): New function.
4269 (frameset--get-frame): Use it. Doc fix.
4270 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4271 Accept :all, not 'all.
4272 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4273 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4274 with fbound symbols. Fix frame id matching, and remove matching ids if
4275 the frame being restored is deleted. Obey :delete.
4276
671d5c16
SM
42772013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * subr.el (macrop): New function.
4280 (text-clone--maintaining): New var.
4281 (text-clone--maintain): Rename from text-clone-maintain. Use it
4282 instead of inhibit-modification-hooks.
4283
4284 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4285 a proxy, so as handle autoloads and redefinitions of the target.
4286 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4287
4288 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4289 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4290 (pcase--mutually-exclusive-p): New function.
4291 (pcase--split-consp): Use it.
4292 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4293 mutually exclusive with the current predicate.
4294
4295 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4296 (edebug-macrop): Remove. Use `macrop' instead.
4297 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4298 (ad-macro-p):
4299 * eshell/esh-cmd.el (eshell-macrop):
4300 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4301
1d44e9dc
SM
43022013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4305 (advice-mapc): New function, using it.
4306 (advice-function-member-p): New function.
4307 (advice--normalize): Store the cdr in advice--saved-rewrite since
4308 that's the part that will be changed.
4309 (advice--symbol-function): New function.
4310 (advice-remove): Handle removal before the function is defined.
4311 Adjust to new advice--saved-rewrite.
4312 (advice-member-p): Use advice-function-member-p and
4313 advice--symbol-function.
4314
5414a283
JB
43152013-08-04 Juanma Barranquero <lekktu@gmail.com>
4316
51d30f2c
JB
4317 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4318 (frameset-filter-minibuffer): Doc fix.
4319 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4320 (frameset--set-id, frameset--process-minibuffer-frames)
4321 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4322 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4323
5414a283
JB
4324 * desktop.el (desktop-clear): Only delete frames when called
4325 interactively and desktop-restore-frames is non-nil. Doc fix.
4326 (desktop-read): Set desktop-saved-frameset to nil.
4327
ab419665
XF
43282013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4329
4330 * vc/vc.el (vc-ignore): Rewrite.
4331 (vc-default-ignore-completion-table):
4332 (vc--read-lines):
4333 (vc--add-line, vc--remove-regexp): New functions.
4334
4335 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4336 (vc-svn-ignore-completion-table): New function.
4337
4338 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4339 (vc-hg-ignore-completion-table):
4340 (vc-hg-find-ignore-file): New functions.
4341
4342 * vc/vc-git.el (vc-git-ignore): Rewrite.
4343 (vc-git-ignore-completion-table):
4344 (vc-git-find-ignore-file): New functions.
4345
4346 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4347
4348 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4349 (vc-bzr-ignore-completion-table):
4350 (vc-bzr-find-ignore-file): New functions.
4351
2613dea2
JB
43522013-08-03 Juanma Barranquero <lekktu@gmail.com>
4353
4354 * frameset.el (frameset-prop): New function and setter.
4355 (frameset-save): Do not modify frame list passed by the caller.
4356
9c959872
SM
43572013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4360
a104f656
SM
43612013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4362
70122acf
SM
4363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4364 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4365
a104f656
SM
4366 * custom.el (custom-initialize-default, custom-initialize-set)
4367 (custom-initialize-reset, custom-initialize-changed): Affect the
4368 toplevel-default-value (bug#6275, bug#14586).
4369 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4370 for bug#6275.
4371
f078d570
JB
43722013-08-02 Juanma Barranquero <lekktu@gmail.com>
4373
185e3b5a
JB
4374 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4375 Add cl-def* expressions.
4376
f078d570
JB
4377 * frameset.el (frameset-filter-params): Fix order of arguments.
4378
9421876d
JB
43792013-08-02 Juanma Barranquero <lekktu@gmail.com>
4380
4381 Move code related to saving frames to frameset.el.
4382 * desktop.el: Require frameset.
4383 (desktop-restore-frames): Doc fix.
4384 (desktop-restore-reuses-frames): Rename from
4385 desktop-restoring-reuses-frames.
4386 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4387 (desktop-clear): Clear frames too.
4388 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4389 (desktop--filter-tty*, desktop-save, desktop-read):
4390 Use frameset functions.
4391 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4392 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4393 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4394 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4395 (desktop--process-minibuffer-frames, desktop-save-frames)
4396 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4397 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4398 (desktop--sort-states, desktop-restoring-frames-p)
4399 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4400 (desktop-restoring-frameset-p, desktop-restore-frameset)
4401 (desktop--check-dont-save, desktop-save-frameset): New functions.
4402 (desktop--app-id): New constant.
4403 (desktop-first-buffer, desktop-buffer-ok-count)
4404 (desktop-buffer-fail-count): Move before first use.
4405 * frameset.el: New file.
4406
76dc5996
SM
44072013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * files.el: Use lexical-binding.
4410 (dir-locals-read-from-file): Remove unused `err' variable.
4411 (hack-dir-local-variables--warned-coding): New var.
4412 (hack-dir-local-variables): Use it to avoid repeated warnings.
4413 (make-backup-file-name--default-function): New function.
4414 (make-backup-file-name-function): Use it as default.
4415 (buffer-stale--default-function): New function.
4416 (buffer-stale-function): Use it as default.
4417 (revert-buffer-insert-file-contents--default-function): New function.
4418 (revert-buffer-insert-file-contents-function): Use it as default.
4419 (insert-directory): Avoid add-to-list.
4420
4421 * autorevert.el (auto-revert-handler): Simplify.
4422 Use buffer-stale--default-function.
4423
06d36e2b
TH
44242013-08-01 Tassilo Horn <tsdh@gnu.org>
4425
5f648ab4
TH
4426 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4427
06d36e2b
TH
4428 * whitespace.el (whitespace-ensure-local-variables): New function.
4429 (whitespace-cleanup-region): Call it.
4430 (whitespace-turn-on): Call it.
4431
a43dc424
MA
44322013-08-01 Michael Albinus <michael.albinus@gmx.de>
4433
4434 Complete file name handlers.
4435
4436 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4437 (tramp-handle-verify-visited-file-modtime)
4438 (tramp-handle-file-notify-rm-watch): New functions.
4439 (tramp-call-process): Do not bind `default-directory'.
4440
44e18199
JB
4441 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4442 Order alphabetically.
a43dc424
MA
4443 [access-file, add-name-to-file, dired-call-process]:
4444 [dired-compress-file, file-acl, file-notify-rm-watch]:
4445 [file-ownership-preserved-p, file-selinux-context]:
4446 [make-directory-internal, make-symbolic-link, set-file-acl]:
4447 [set-file-selinux-context, set-visited-file-modtime]:
4448 [verify-visited-file-modtime]: Add handler.
4449 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4450
4451 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4452 [file-notify-add-watch, file-notify-rm-watch]:
4453 [set-file-times, set-visited-file-modtime]:
4454 [verify-visited-file-modtime]: Add handler.
4455 (with-tramp-gvfs-error-message)
4456 (tramp-gvfs-handle-set-visited-file-modtime)
4457 (tramp-gvfs-fuse-file-name): Remove.
4458 (tramp-gvfs-handle-file-notify-add-watch)
4459 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4460 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4461
44e18199
JB
4462 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4463 Order alphabetically.
a43dc424
MA
4464 [file-notify-rm-watch ]: Use default Tramp handler.
4465 [executable-find]: Remove private handler.
4466 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4467 `default-directory'.
4468 (tramp-sh-handle-executable-find)
4469 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4470 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4471 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4472 Do not use `format' in `tramp-message'.
4473
4474 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4475 [file-notify-rm-watch, set-visited-file-modtime]:
4476 [verify-visited-file-modtime]: Add handler.
4477 (tramp-smb-call-winexe): Do not bind `default-directory'.
4478
7188b515
XF
44792013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4480
4481 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4482
2412ee1a
DG
44832013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4484
4485 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4486 use it.
4487 (log-view-diff-changeset): Same.
4488 (log-view-diff-common): Call backend command `previous-revision'
4489 to find out the previous revision, in both cases. Swap the
4490 variables `to' and `fr', so that `fr' usually refers to the
4491 earlier revision (Bug#14989).
4492
5002a754
KRC
44932013-07-31 Kan-Ru Chen <kanru@kanru.info>
4494
4495 * ibuf-ext.el (ibuffer-filter-by-filename):
4496 Make it work with dired buffers too.
4497
44e18199 44982013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4499
4500 * emacs-lisp/re-builder.el (reb-color-display-p):
4501 * files.el (save-buffers-kill-terminal):
4502 * net/browse-url.el (browse-url):
4503 * server.el (server-save-buffers-kill-terminal):
4504 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4505 Prefer nil to selected-frame for the first arg of frame-parameter.
4506
aeca3fbb
XF
45072013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4508
4509 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4510
158bc55c
SB
45112013-07-30 Stephen Berman <stephen.berman@gmx.net>
4512
4513 * minibuffer.el (completion--twq-all): Try and preserve each
4514 completion's case choice (bug#14907).
4515
d50fceab
LMI
45162013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4517
ac38e731
LMI
4518 * net/network-stream.el (open-network-stream): Mention the new
4519 :nogreeting parameter.
4520 (network-stream-open-starttls): Use the :nogreeting parameter
4521 (bug#14938).
4522
1211de50
LMI
4523 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4524
997798bf
LMI
4525 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4526 more natural than popping.
4527
d50fceab 4528 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4529 (shr-urlify): Highlight under mouse.
d50fceab 4530
5c09de04
XF
45312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4532
207d1d04
XF
4533 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4534
4535 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4536
5c09de04
XF
4537 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4538 buffer for output.
4539
3cd51eaa
XF
4540 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4541 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4542
44e18199 4543 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4544 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4545
4546 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4547
4548 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4549 buffer for output.
4550
35a89bdd
EZ
45512013-07-29 Eli Zaretskii <eliz@gnu.org>
4552
4553 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4554 initial frame is minibuffer-less. (Bug#14841)
4555
78822e94
MA
45562013-07-29 Michael Albinus <michael.albinus@gmx.de>
4557
4558 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4559 option.
4560
4561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4562 (tramp-maybe-open-connection): Use it.
4563
9503c190
JB
45642013-07-28 Juanma Barranquero <lekktu@gmail.com>
4565
4566 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4567 minimal set of parameters passed when creating a frame, because
4568 the minibuffer status of a frame cannot be changed later.
4569
d5a845b4
SB
45702013-07-28 Stephen Berman <stephen.berman@gmx.net>
4571
4572 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4573 replace-regexp-in-string and inadvertent omissions in previous change.
4574 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4575 name of filtered items buffer.
d5a845b4 4576
ddeffb17
JB
45772013-07-28 Juanma Barranquero <lekktu@gmail.com>
4578
4579 * desktop.el: Optionally force offscreen frames back onscreen.
4580 (desktop-restoring-reuses-frames): New option.
4581 (desktop--compute-pos, desktop--move-onscreen): New functions.
4582 (desktop--make-frame): Use desktop--move-onscreen.
4583
f5950f7a
AM
45842013-07-27 Alan Mackenzie <acm@muc.de>
4585
4586 Fontify a Java generic method as a function.
4587 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4588 value to t.
4589
ae43b66a
SB
45902013-07-27 Stephen Berman <stephen.berman@gmx.net>
4591
4592 * calendar/todo-mode.el: Add command to rename todo files.
4593 (todo-rename-file): New command.
4594 (todo-key-bindings-t): Add key binding for it. Change the
4595 bindings of todo-filter-regexp-items(-multifile) to use `x'
4596 instead of `r', since the latter is better suited to the new
4597 renaming command.
4598
5ab78d3d
AM
45992013-07-27 Alan Mackenzie <acm@muc.de>
4600
4601 Make Java try-with-resources statement parse properly.
4602 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4603 (c-block-stmt-1-2-key): New language constants/variables.
4604 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4605 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4606 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4607 with c-block-stmt-1-2-key.
5ab78d3d 4608
d85c4d50
JB
46092013-07-27 Juanma Barranquero <lekktu@gmail.com>
4610
4611 * desktop.el (desktop--make-frame): Apply most frame parameters after
4612 creating the frame to force (partially or totally) offscreen frames to
4613 be restored as such.
4614
e4c467f9
XF
46152013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4616
4617 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4618 (Bug#14948)
e4c467f9 4619
7ced0d04
SM
46202013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4623 `base' arg of backtrace-frame.
4624
fec92060
EZ
46252013-07-26 Eli Zaretskii <eliz@gnu.org>
4626
4627 * simple.el (list-processes): Doc fix.
4628
d58d31fb
JB
46292013-07-26 Juanma Barranquero <lekktu@gmail.com>
4630
4631 * desktop.el (desktop--select-frame):
d85c4d50 4632 Try harder to reuse existing frames.
d58d31fb 4633
53ff3e77
SM
46342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4637 (edebug-eval): Use backtrace-eval.
4638 (edebug--display, edebug--recursive-edit): Don't let-bind the
4639 edebug-outer-* vars that keep track of variables we locally let-bind.
4640 (edebug-outside-excursion): Don't restore outside values of locally
4641 let-bound vars.
4642 (edebug--display): Use user-error.
4643 (cl-lexical-debug, cl-debug-env): Remove.
4644
045f7a53
JB
46452013-07-26 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4648 are restored to be sure that they are visible before deleting any
4649 remaining ones.
4650
59070b32
MM
46512013-07-26 Matthias Meulien <orontee@gmail.com>
4652
742a3501
XF
4653 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4654 vc-print-root-log. (Bug#14948)
59070b32 4655
b1fb3596
RS
46562013-07-26 Richard Stallman <rms@gnu.org>
4657
4658 Add aliases for encrypting mail.
4659 * epa.el (epa-mail-aliases): New option.
4660 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4661 Bind inhibit-read-only so read-only text doesn't ruin everything.
4662 (epa-mail-default-recipients): New subroutine broken out.
4663 Handle epa-mail-aliases.
4664
56ea7291
SM
46652013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4667 Add support for lexical variables to the debugger's `e' command.
4668 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4669 vars, except for debugger-outer-match-data.
4670 (debugger-frame-number): Move check for "on a function call" from
4671 callers into it. Add `skip-base' argument.
4672 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4673 (debugger-env-macro): Only reset the state stored in non-variables,
4674 i.e. current-buffer and match-data.
4675 (debugger-eval-expression): Rewrite using backtrace-eval.
4676 * subr.el (internal--called-interactively-p--get-frame): Remove.
4677 (called-interactively-p):
4678 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4679 `base' arg of backtrace-frame instead.
4680
15ac32d5
GM
46812013-07-26 Glenn Morris <rgm@gnu.org>
4682
8358a09d
GM
4683 * align.el (align-regexp): Doc fix. (Bug#14857)
4684 (align-region): Explicit error if subexpression missing/does not match.
4685
15ac32d5
GM
4686 * simple.el (global-visual-line-mode):
4687 Do not duplicate the mode lighter. (Bug#14858)
4688
f47ad11b
MR
46892013-07-25 Martin Rudalics <rudalics@gmx.at>
4690
4691 * window.el (display-buffer): In display-buffer bind
4692 split-window-keep-point to t, bug#14829.
4693
02530987
JB
46942013-07-25 Juanma Barranquero <lekktu@gmail.com>
4695
4696 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4697 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4698 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4699 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4700 Change accordingly.
f63ebeb5
JB
4701 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4702 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4703
6ccb9cab 47042013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4705
6ccb9cab 4706 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4707
cb3a56d2
JB
47082013-07-25 Juanma Barranquero <lekktu@gmail.com>
4709
4710 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4711 parameter to modify-frame-parameters if the value has not changed;
4712 this is a workaround for bug#14949.
4713 (desktop--make-frame): On cl-delete-if call, check parameter name,
4714 not full parameter.
4715
7aa7fff0
XF
47162013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4717
4718 * vc/vc.el (vc-ignore): New function.
4719
4720 * vc/vc-svn.el (vc-svn-ignore): New function.
4721
4722 * vc/vc-hg.el (vc-hg-ignore): New function.
4723
4724 * vc/vc-git.el (vc-git-ignore): New function.
4725
4726 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4727 (vc-dir-ignore): New function.
4728
4729 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4730 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4731
4732 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4733
4734 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4735
889acc5c
JB
47362013-07-24 Juanma Barranquero <lekktu@gmail.com>
4737
4738 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4739 (desktop-restore-frames): Warn when deleting an existing frame failed.
4740
86c40970
GM
47412013-07-24 Glenn Morris <rgm@gnu.org>
4742
4743 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4744
d5d3c58a
MA
47452013-07-24 Michael Albinus <michael.albinus@gmx.de>
4746
4747 * filenotify.el (file-notify-supported-p):
4748 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4749 Remove functions.
4750
4751 * autorevert.el (auto-revert-use-notify):
4752 (auto-revert-notify-add-watch):
4753 * net/tramp.el (tramp-file-name-for-operation):
4754 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4755 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4756 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4757 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4758 Remove `file-notify-supported-p' entry.
4759
d100084b
GM
47602013-07-24 Glenn Morris <rgm@gnu.org>
4761
4762 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4763 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4764
ac93e56b
SM
47652013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4766
249eea30
SM
4767 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4768 checked with memq (bug#14935).
4769
ac93e56b
SM
4770 * files.el (revert-buffer-function): Use a non-nil default.
4771 (revert-buffer-preserve-modes): Declare var to
4772 provide access to the `preserve-modes' argument.
4773 (revert-buffer): Let-bind it.
4774 (revert-buffer--default): New function, extracted from revert-buffer.
4775
2cdeb903
SM
47762013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * lpr.el: Signal print errors more prominently.
4779 (print-region-function): Don't default to nil.
4780 (lpr-print-region): New function, extracted from print-region-1.
4781 Check lpr's return value and signal an error in case of problem.
4782 (print-region-1): Use it.
4783 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4784 versions instead.
4785 (ps-printer-name): Default to nil.
4786 (ps-printer-name-option): Default to lpr-printer-switch.
4787 (ps-print-region-function): Don't default to nil.
4788 (ps-postscript-code-directory): Simplify default.
4789 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4790 (ps-string-list, ps-eval-switch, ps-flatten-list)
4791 (ps-flatten-list-1): Remove.
4792 (ps-multibyte-buffer): Avoid setq.
4793 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4794 (print-region-function, ps-print-region-function): Don't set them here.
4795
73600831
XF
47962013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4797
0e55c076
XF
4798 * ido.el (ido-fractionp):
4799 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4800 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4801 (ido-max-directory-size, ido-max-dir-file-cache)
4802 (ido-decorations): Doc fix.
4803
73600831
XF
4804 * ansi-color.el: Fix old URL.
4805
3d012865
MM
48062013-07-23 Michael R. Mauger <michael@mauger.com>
4807
e903c210 4808 * progmodes/sql.el: Version 3.3
3d012865
MM
4809 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4810 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4811 (sql-interactive-remove-continuation-prompt): Rewrite, use
4812 functions above. Fix continuation prompt and complete output line
4813 handling.
4814 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4815 redirected output buffer.
4816 (sql-mode): Restore deleted code (Bug#13591).
4817
da77a2e2
JB
48182013-07-23 Juanma Barranquero <lekktu@gmail.com>
4819
4820 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4821
80ff0c71
MA
48222013-07-23 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4825
4826 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4827 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4828 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4829
b61d71e4
JB
48302013-07-23 Juanma Barranquero <lekktu@gmail.com>
4831
4832 * desktop.el (desktop-clear): Simplify; remove useless checks
4833 against invalid buffer names.
4834 (desktop-list*): Use cl-list*.
4835 (desktop-buffer-info, desktop-create-buffer): Simplify.
4836
c3512092
LL
48372013-07-23 Leo Liu <sdl.web@gmail.com>
4838
4839 * bookmark.el (bookmark-make-record): Restore NAME as a default
4840 value. (Bug#14933)
4841
0ac26976
SM
48422013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4843
7d22ce18
SM
4844 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4845 extracted from autoload--insert-text.
4846 (autoload--insert-text): Remove.
4847 (autoload--print-cookie-text): New function, extracted from
4848 autoload--insert-cookie-text.
4849 (autoload--insert-cookie-text): Remove.
4850 (autoload-generate-file-autoloads): Adjust calls accordingly.
4851
9b2607e8
SM
4852 * winner.el (winner-hook-installed-p): Remove.
4853 (winner-mode): Simplify accordingly.
4854
c43a8618
SM
4855 * subr.el (add-to-list): Fix compiler-macro when `append' is
4856 not constant. Don't use `cl-member' for the base case.
4857
0ac26976
SM
4858 * progmodes/subword.el: Fix boundary case (bug#13758).
4859 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4860 own group.
4861 (subword-backward-regexp): Make it a constant.
4862 (subword-forward-internal): Don't treat a trailing capital as the
4863 beginning of a word.
4864
6874724a
AR
48652013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4866
4867 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4868 global value of tabulated-list-revert-hook (bug#14930).
4869
70f1b5e8
JB
48702013-07-22 Juanma Barranquero <lekktu@gmail.com>
4871
a1c80d9d
JB
4872 * desktop.el: Require 'cl-lib.
4873 (desktop-before-saving-frames-functions): New hook.
4874 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4875 for frames being saved. Rename from desktop--save-minibuffer-frames.
4876 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4877 Do not save frames with non-nil `desktop-dont-save' parameter.
4878 Filter out deleted frames.
a1c80d9d
JB
4879 (desktop--find-frame): Use cl-find-if.
4880 (desktop--select-frame): Use cl-(first|second|third) to access values
4881 of desktop-mini.
4882 (desktop--make-frame): Use cl-delete-if.
4883 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4884 (desktop-restore-frames): Use cl-(first|second|third) to access values
4885 of desktop-mini. Look for visible frame at the end, not while
4886 restoring frames.
4887
70f1b5e8
JB
4888 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4889 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4890 Use string-match-p, looking-at-p (bug#14927).
4891
728dc3cc
JB
48922013-07-21 Juanma Barranquero <lekktu@gmail.com>
4893
56bc453c
JB
4894 * desktop.el (desktop-saved-frame-states):
4895 Rename from desktop--saved-states; all users changed.
4896 (desktop-save-frames): Rename from desktop--save-frames.
4897 Do not save state to desktop file.
4898 (desktop-save): Save desktop-saved-frame-states to desktop file
4899 and reset to nil.
4900 (desktop-restoring-frames-p): New function.
4901 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4902 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4903 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4904
728dc3cc
JB
4905 * desktop.el: Correctly restore iconified frames.
4906 (desktop--filter-iconified-position): New function.
4907 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4908
862f1c9c
GM
49092013-07-20 Glenn Morris <rgm@gnu.org>
4910
c4074c9f
GM
4911 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4912 Let `message' do the formatting.
4913 (def-gdb-preempt-display-buffer): Add explicit format.
4914
d828e5f9
GM
4915 * image-dired.el (image-dired-track-original-file):
4916 Use with-current-buffer.
4917 (image-dired-track-thumbnail): Use with-current-buffer.
4918 Avoid changing point of wrong window.
4919
862f1c9c
GM
4920 * image-dired.el (image-dired-track-original-file):
4921 Avoid changing point of wrong window. (Bug#14909)
4922
f0398ec1 49232013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4924
4925 * progmodes/gdb-mi.el (gdb-done-or-error):
4926 Guard against "%" in gdb output. (Bug#14127)
4927
1451928f
AS
49282013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4929
763a086d
JB
4930 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4931 (Bug#14826)
f7a03897 4932
1451928f
AS
4933 * international/mule.el (coding-system-iso-2022-flags): Fix last
4934 change.
4935
99107004
KH
49362013-07-20 Kenichi Handa <handa@gnu.org>
4937
763a086d
JB
4938 * international/mule.el (coding-system-iso-2022-flags):
4939 Add `8-bit-level-4'. (Bug#8522)
99107004 4940
48494e06
LMI
49412013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4942
8ba8eec5
LMI
4943 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4944 (bug#14815).
4945
dfbc66e3
LMI
4946 * net/eww.el (eww-process-text-input): Allow inputting when the
4947 point is at the start of the line, as the properties aren't
4948 front-sticky.
4949
48494e06
LMI
4950 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4951 degenerate widths.
4952
77c92cb9
RS
49532013-07-19 Richard Stallman <rms@gnu.org>
4954
aec7da77
RS
4955 * epa.el (epa-popup-info-window): Doc fix.
4956
77c92cb9
RS
4957 * subr.el (split-string): New arg TRIM.
4958
945c5bb1
JB
49592013-07-18 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4962 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4963
e06ec67f
MA
49642013-07-18 Michael Albinus <michael.albinus@gmx.de>
4965
c7064f05 4966 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4967 `file-notify-support'. Do not autoload. Adapt all uses.
4968 (file-notify-supported-p): New defun.
4969
c7064f05
JB
4970 * autorevert.el (auto-revert-use-notify):
4971 Use `file-notify-supported-p' instead of `file-notify-support'.
4972 Adapt docstring.
e06ec67f
MA
4973 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4974
4975 * net/tramp.el (tramp-file-name-for-operation):
4976 Add `file-notify-supported-p'.
4977
4978 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4979 New defun.
4980 (tramp-sh-file-name-handler-alist): Add it as handler for
4981 `file-notify-supported-p '.
4982
4983 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4984 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4986 Add `ignore' as handler for `file-notify-*' functions.
4987
5dc8a629
EZ
49882013-07-17 Eli Zaretskii <eliz@gnu.org>
4989
4990 * simple.el (line-move-partial, line-move): Don't start vscroll or
4991 scroll-up if the current line is not taller than the window.
4992 (Bug#14881)
4993
77aea2fb
DG
49942013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4995
4996 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4997 highlight question marks in the method names as strings.
ac72c08d
DG
4998 (ruby-block-beg-keywords): Inline.
4999 (ruby-font-lock-keyword-beg-re): Extract from
5000 `ruby-font-lock-keywords'.
77aea2fb 5001
18c26d81
JD
50022013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5003
5004 * frame.el (blink-cursor-blinks): New defcustom.
5005 (blink-cursor-blinks-done): New defvar.
5006 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5007 (blink-cursor-timer-function): Check if number of blinks has been
5008 done on X and NS.
5009 (blink-cursor-suspend, blink-cursor-check): New defuns.
5010
da48522e
GM
50112013-07-15 Glenn Morris <rgm@gnu.org>
5012
5013 * edmacro.el (edmacro-format-keys): Fix previous change.
5014
0463c1ef
PE
50152013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5016
5017 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5018 The hack didn't work outside English locales anyway.
5019
b43f6451
JB
50202013-07-15 Juanma Barranquero <lekktu@gmail.com>
5021
5022 * simple.el (define-alternatives): Rename from alternatives-define,
5023 per RMS' suggestion.
5024
b958c0ad
JB
50252013-07-14 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * desktop.el (desktop-restore-frames): Change default to t.
5028 (desktop-restore-in-current-display): Now offer more options.
5029 (desktop-restoring-reuses-frames): New customization option.
5030 (desktop--saved-states): Doc fix.
5031 (desktop-filter-parameters-alist): New variable, renamed and expanded
5032 from desktop--excluded-frame-parameters.
5033 (desktop--target-display): New variable.
5034 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5035 (desktop--filter-tty*, desktop--filter-*-color)
5036 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5037 (desktop--filter-save-desktop-parm)
5038 (desktop-restore-in-original-display-p): New functions.
5039 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5040 (desktop--save-minibuffer-frames): New function, inspired by a similar
5041 function from Martin Rudalics.
5042 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5043 (desktop--restore-in-this-display-p): Remove.
5044 (desktop--find-frame): Rename from desktop--find-frame-in-display
5045 and add predicate argument.
5046 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5047 (desktop--reuse-list): New variable.
5048 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5049 New functions.
5050 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5051
f6dd8b36
MA
50522013-07-14 Michael Albinus <michael.albinus@gmx.de>
5053
5054 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5055
2ce3c565
DG
50562013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5057
763a086d
JB
5058 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5059 Highlight conversion methods on Kernel.
2ce3c565 5060
2cdb7698
AM
50612013-07-13 Alan Mackenzie <acm@muc.de>
5062
5063 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5064 and comment it out. This out-commenting enables certain C++
5065 declarations to be parsed correctly.
5066
1a67b811
EZ
50672013-07-13 Eli Zaretskii <eliz@gnu.org>
5068
1b796d6b
EZ
5069 * international/mule.el (define-coding-system): Doc fix.
5070
1a67b811
EZ
5071 * simple.el (default-font-height): Don't call font-info if the
5072 frame's default font didn't change since the frame was created.
5073 (Bug#14838)
5074
58fbe886
LL
50752013-07-13 Leo Liu <sdl.web@gmail.com>
5076
5077 * ido.el (ido-read-file-name): Guard against non-symbol value.
5078
1f0480d4
FEG
50792013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5080
5081 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5082 in nested defuns.
5083
97ead0e5
LL
50842013-07-13 Leo Liu <sdl.web@gmail.com>
5085
5086 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5087 ido-set-matches call. (Bug#6852)
5088
0880a952
DG
50892013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5090
5091 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5092 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5093 Ruby 2.0.
5094 (ruby-font-lock-keywords): Distinguish calls to functions with
5095 module-like names from module references. Highlight character
5096 literals.
5097
a7d8babb
SDJ
50982013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5099
5100 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5101 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5102
acfcc8c5
JB
51032013-07-12 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * desktop.el (desktop--v2s): Remove unused local variable.
5106 (desktop-save-buffer): Make defvar-local; adjust docstring.
5107 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5108 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5109
051f2775
AS
51102013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5111
5112 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5113
f24e7572
GM
51142013-07-12 Eli Zaretskii <eliz@gnu.org>
5115
5116 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5117 (Bug#14842)
5118
539a920c
GM
51192013-07-12 Glenn Morris <rgm@gnu.org>
5120
5121 * doc-view.el: Require cl-lib at runtime too.
5122 (doc-view-remove-if): Remove.
5123 (doc-view-search-next-match, doc-view-search-previous-match):
5124 Use cl-remove-if.
5125
5126 * edmacro.el: Require cl-lib at runtime too.
5127 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5128 (edmacro-mismatch, edmacro-subseq): Remove.
5129
5130 * shadowfile.el: Require cl-lib.
5131 (shadow-remove-if): Remove.
5132 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5133 Use cl-remove-if.
5134
5135 * wid-edit.el: Require cl-lib.
5136 (widget-choose): Use cl-remove-if.
5137 (widget-remove-if): Remove.
5138
5139 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5140 (ebrowse-delete-if-not): Remove.
5141 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5142 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5143 Use cl-delete-if-not.
5144
1048af7c
JB
51452013-07-12 Juanma Barranquero <lekktu@gmail.com>
5146
5147 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5148 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5149
6c0674ee
LL
51502013-07-12 Leo Liu <sdl.web@gmail.com>
5151
5152 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5153
a19b3c2d
GM
51542013-07-11 Glenn Morris <rgm@gnu.org>
5155
4582a01c
GM
5156 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5157 (edebug-gensym-index, edebug-gensym):
5158 Remove reimplementation of cl-gensym.
5159 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5160
5161 * thumbs.el: Require cl-lib at run-time too.
5162 (thumbs-gensym-counter, thumbs-gensym):
5163 Remove reimplementation of cl-gensym.
5164 (thumbs-temp-file): Use cl-gensym.
5165
a19b3c2d
GM
5166 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5167 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5168 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5169 (ert--union, ert--gensym-counter, ert--gensym-counter)
5170 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5171 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5172 (ert-make-test-unbound, ert--expand-should-1)
5173 (ert--expand-should, ert--should-error-handle-error)
5174 (should-error, ert--explain-equal-rec)
5175 (ert--plist-difference-explanation, ert-select-tests)
5176 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5177 Use cl-lib functions rather than reimplementations.
5178
88f6a933
MA
51792013-07-11 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * net/tramp.el (tramp-methods): Extend docstring.
5182 (tramp-connection-timeout): New defcustom.
5183 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5184 (with-tramp-progress-reporter): Simplify.
5185 (tramp-process-actions): Improve messages.
5186
5187 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5188 * net/tramp-sh.el (tramp-maybe-open-connection):
5189 Use `tramp-connection-timeout'.
5190 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5191 (Bug#14808)
5192
a43d577e
LL
51932013-07-11 Leo Liu <sdl.web@gmail.com>
5194
5195 * ido.el (ido-read-file-name): Conform to the requirements of
5196 read-file-name. (Bug#11861)
5197 (ido-read-directory-name): Conform to the requirements of
5198 read-directory-name.
5199
d77974bf
JB
52002013-07-11 Juanma Barranquero <lekktu@gmail.com>
5201
5202 * subr.el (delay-warning): New function.
5203
35cb8a3e
EZ
52042013-07-10 Eli Zaretskii <eliz@gnu.org>
5205
5206 * simple.el (default-line-height): New function.
5207 (line-move-partial, line-move): Use it instead of computing the
5208 line height inline.
5209 (line-move-partial): Always compute ROWH. If the last line is
5210 partially-visible, but its text is completely visible, allow
5211 cursor to enter such a partially-visible line.
5212
525c5c77
MA
52132013-07-10 Michael Albinus <michael.albinus@gmx.de>
5214
5215 Improve error messages. (Bug#14808)
5216
5217 * net/tramp.el (tramp-current-connection): New defvar, moved from
5218 tramp-sh.el.
0ac26976 5219 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5220 needed anymore.
0ac26976
SM
5221 (tramp-error-with-buffer): Show message in minibuffer.
5222 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5223 (with-tramp-progress-reporter): Improve messages.
5224 (tramp-process-actions): Use progress reporter. Delete process in
5225 case of error. Improve messages.
5226
763a086d
JB
5227 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5228 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5229 (tramp-current-connection): Remove.
525c5c77
MA
5230 (tramp-maybe-open-connection): The car of
5231 `tramp-current-connection' are the first 3 slots of the vector.
5232
c7a4d368
TZ
52332013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5234
5235 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5236 inside continued strings.
5237
954b166e
PE
52382013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5239
5240 Timestamp fixes for undo (Bug#14824).
5241 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5242
56973319
LL
52432013-07-10 Leo Liu <sdl.web@gmail.com>
5244
5245 * files.el (require-final-newline): Allow safe local value.
5246 (Bug#14834)
5247
5550a72c
LL
52482013-07-09 Leo Liu <sdl.web@gmail.com>
5249
5250 * ido.el (ido-read-directory-name): Handle fallback.
5251 (ido-read-file-name): Update DIR to ido-current-directory.
5252 (Bug#1516)
c28b9050 5253 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5254
70c46b28
DG
52552013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5256
5257 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5258 "autoload". Remove "warn lower camel case" section, previously
5259 commented out. Highlight negation char. Do not highlight the
5260 target in singleton method definitions.
5261
0b64b838
SM
52622013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5263
7fd72e2c
SM
5264 * faces.el (tty-setup-hook): Declare the hook.
5265
0b64b838
SM
5266 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5267 and detect when a guard/pred depends on local vars (bug#14773).
5268 (pcase--u1): Adjust caller.
5269
ab49d60b
EZ
52702013-07-08 Eli Zaretskii <eliz@gnu.org>
5271
5272 * simple.el (line-move-partial, line-move): Account for
5273 line-spacing.
701d79aa
EZ
5274 (line-move-partial): Avoid setting vscroll when the last
5275 partially-visible line in window is of default height.
ab49d60b 5276
2d756ae0
LMI
52772013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5278
5279 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5280 been used a while.
5281
ed095bd7
JB
52822013-07-07 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * subr.el (read-quoted-char): Remove unused local variable `char'.
5285
f1e6674b
MK
52862013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5287
584ee3fc
GM
5288 * ediff.el (ediff-version): Version update.
5289 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5290 (ediff-merge-with-ancestor-command, ediff-directories-command)
5291 (ediff-directories3-command, ediff-merge-directories-command)
5292 (ediff-merge-directories-with-ancestor-command): New functions.
5293 All are command-line interfaces to ediff: to facilitate calling
5294 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5295
5296 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5297 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5298
584ee3fc
GM
5299 * viper.el (viper-version): Version update.
5300 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5301
584ee3fc
GM
53022013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5305 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5306 (viper-intercept-ESC-key): Simplify.
5307 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5308 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5309 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5310 (viper-setup-ESC-to-escape): New functions.
5311 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5312 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5313
9aff9b38
EZ
53142013-07-07 Eli Zaretskii <eliz@gnu.org>
5315
5165d44a
JB
5316 * simple.el (default-font-height, window-screen-lines):
5317 New functions.
9aff9b38
EZ
5318 (line-move, line-move-partial): Use them instead of
5319 frame-char-height and window-text-height. This makes scrolling
5320 text smoother when the buffer's default face uses a font that is
5321 different from the frame's default font.
5322
1afb1d07
JD
53232013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5324
5325 * files.el (write-file): Do not display confirm dialog for NS,
5326 it does its own dialog, which can't be cancelled (Bug#14578).
5327
23de972a
EZ
53282013-07-06 Eli Zaretskii <eliz@gnu.org>
5329
5330 * simple.el (line-move-partial): Adjust the row returned by
5331 posn-at-point for the current window-vscroll. (Bug#14567)
5332
54a42486
MA
53332013-07-06 Michael Albinus <michael.albinus@gmx.de>
5334
5335 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5336 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5337 spaces.
5338
34ada5f4
MR
53392013-07-06 Martin Rudalics <rudalics@gmx.at>
5340
5341 * window.el (window-state-put-stale-windows): New variable.
5342 (window--state-put-2): Save list of windows without matching buffer.
5343 (window-state-put): Remove "bufferless" windows if possible.
5344
11e03d89
JB
53452013-07-06 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * simple.el (alternatives-define): Remove leftover :group keyword.
5348 Tweak docstring.
5349
3504a4be
LL
53502013-07-06 Leo Liu <sdl.web@gmail.com>
5351
5352 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5353 (ido-enable-virtual-buffers): New variable.
5354 (ido-buffer-internal, ido-toggle-virtual-buffers)
5355 (ido-make-buffer-list): Use it.
5356 (ido-exhibit): Support turning on and off virtual buffers
5357 automatically.
5358
61e56e2c
JB
53592013-07-06 Juanma Barranquero <lekktu@gmail.com>
5360
5361 * simple.el (alternatives-define): New macro.
5362
321e1a9c
SM
53632013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * subr.el (read-quoted-char): Use read-key.
5366 (sit-for): Let read-event decode tty input (bug#14782).
5367
d610f6dd
SB
53682013-07-05 Stephen Berman <stephen.berman@gmx.net>
5369
5370 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5371 mode command and externally. Fix various related bugs.
5372 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5373 (todo-delete-file): New command.
5374 (todo-check-file): New function.
5375 (todo-show): Handle external deletion of the file we're trying to
5376 show (bug#14688). Replace called-interactively-p by an optional
5377 prefix argument to avoid problematic interaction with catch form
5378 when byte compiled (bug#14702).
5379 (todo-quit): Handle external deletion of the archive's todo file.
5380 Make sure the buffer that was visiting the archive file is still
5381 live before trying to bury it.
5382 (todo-category-completions): Handle external deletion of any
5383 category completion files.
5384 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5385 of todo files, in case of external deletion.
5386 (todo-add-file): Replace unnecessary setq by let-binding.
5387 (todo-find-archive): Check whether there are any archives.
5388 Replace unnecessary setq by let-binding.
5389 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5390 archive buffer whether or not the archive already exists.
5391 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5392 check if the archive is new; if it is, update list of archives.
5393 (todo-default-todo-file): Allow nil to be a valid value for when
5394 there are no todo files.
5395 (todo-reevaluate-default-file-defcustom): Use corrected definition
5396 of todo-default-todo-file.
5397 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5398 (todo-delete-category, todo-show-categories-table)
5399 (todo-category-number): Clarify comment.
5400 (todo-filter-items): Clarify documentation string.
5401 (todo-show-current-file, todo-display-as-todo-file)
5402 (todo-reset-and-enable-done-separator): Tweak documentation string.
5403 (todo-done-separator): Make separator length window-width, since
5404 bug#2749 is now fixed.
5405
ddbdfd6f
MA
54062013-07-05 Michael Albinus <michael.albinus@gmx.de>
5407
321e1a9c
SM
5408 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5409 Support both "gvfs-monitor-dir" and "inotifywait".
5410 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5411 `tramp-sh-file-notify-process-filter'.
5412 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5413 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5414
96eb829a
LL
54152013-07-05 Leo Liu <sdl.web@gmail.com>
5416
5417 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5418
cf13177e
YM
54192013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5420
5421 * frame.el (display-pixel-height, display-pixel-width)
5422 (display-mm-height, display-mm-width): Mention behavior on
5423 multi-monitor setups in docstrings.
5424 (w32-display-monitor-attributes-list): Declare function.
5425 (display-monitor-attributes-list): Use it.
5426
864c58ca
MA
54272013-07-04 Michael Albinus <michael.albinus@gmx.de>
5428
5429 * filenotify.el: New package.
5430
5431 * autorevert.el (top): Require filenotify.el.
5432 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5433 instead.
5434 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5435 (auto-revert-notify-handler): Use `file-notify-*' functions.
5436
5437 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5438
321e1a9c
SM
5439 * net/tramp.el (tramp-file-name-for-operation):
5440 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5441
5442 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5443 for `file-notify-add-watch' and `file-notify-rm-watch'.
5444 (tramp-process-sentinel): Improve trace.
5445 (tramp-sh-handle-file-notify-add-watch)
5446 (tramp-sh-file-notify-process-filter)
5447 (tramp-sh-handle-file-notify-rm-watch)
5448 (tramp-get-remote-inotifywait): New defuns.
5449
96673afe
JL
54502013-07-03 Juri Linkov <juri@jurta.org>
5451
5452 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5453 call of `occur-read-primary-args' to interactive spec.
5454
5455 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5456 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5457
924494f4
MM
54582013-07-03 Matthias Meulien <orontee@gmail.com>
5459
5460 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5461 `Buffer-menu-multi-occur'. Add it to the menu.
5462 (Buffer-menu-mode): Document it in docstring.
5463 (Buffer-menu-multi-occur): New command. (Bug#14673)
5464
56f75efc
DG
54652013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5466
5467 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5468 keywords and built-ins.
5469
9b057d61
GM
54702013-07-03 Glenn Morris <rgm@gnu.org>
5471
208dee4d
GM
5472 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5473
9b057d61
GM
5474 Make info-xref checks case-sensitive by default
5475 * info.el (Info-find-node, Info-find-in-tag-table)
5476 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5477 Add option for exact case matching of nodes.
5478 * info-xref.el (info-xref): New custom group.
5479 (info-xref-case-fold): New option.
5480 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5481
e01aa29c
LL
54822013-07-03 Leo Liu <sdl.web@gmail.com>
5483
5484 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5485
3086ca2e
DG
54862013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5487
5488 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5489 middle of block statement initially, lower the depth. Remove
5490 FIXME comment, not longer valid. Remove middle of block statement
5491 detection, no need to do that anymore since we've been using
5492 `ruby-parse-region' here.
5493
a3b49114
JD
54942013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5495
5496 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5497
08e5c823 54982013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5499
5500 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5501
2addf922
JB
55022013-07-01 Juanma Barranquero <lekktu@gmail.com>
5503
5504 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5505 (desktop-restore-in-current-display): New customization option.
5506 (desktop--excluded-frame-parameters): Add `font'.
5507 (desktop--save-frames): Rename from desktop--save-windows.
5508 (desktop--restore-in-this-display-p): New function.
5509 (desktop--make-full-frame): Remove unwanted width/height from
5510 full(width|height) frames.
5511 (desktop--restore-frames): Rename from desktop--restore-windows.
5512 Obey desktop-restore-current-display. Do not delete old frames or
5513 select a new frame unless we were able to restore at least one frame.
5514
ef099a94
MN
55152013-06-30 Michal Nazarewicz <mina86@mina86.com>
5516
5517 * files.el (find-file-noselect): Simplify conditional expression.
5518
5519 * remember.el (remember-append-to-file):
5520 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5521
5522 Add `remember-notes' function to store random notes across Emacs
5523 restarts.
5524 * remember.el (remember-data-file): Add :set callback to affect
5525 notes buffer (if any).
5526 (remember-notes): New command.
5527 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5528 New defcustoms for the `remember-notes' function.
5529 (remember-notes-save-and-bury-buffer): New command.
5530 (remember-notes-mode-map): New variable.
5531 (remember-mode): New minor mode.
5532 (remember-notes--kill-buffer-query): New function.
5533 * startup.el (initial-buffer-choice): Add notes to custom type.
5534
0865d506
EZ
55352013-06-30 Eli Zaretskii <eliz@gnu.org>
5536
0ba54312
EZ
5537 * bindings.el (right-char, left-char): Don't call sit-for, this is
5538 no longer needed. Use arithmetic comparison only for numerical
5539 arguments.
5540
ef099a94
MN
5541 * international/mule-cmds.el (select-safe-coding-system):
5542 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5543
2fae38e5
LMI
55442013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5545
5546 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5547 progression on degenerate tables.
ef099a94 5548 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5549
a47cbd64
JB
55502013-06-30 Juanma Barranquero <lekktu@gmail.com>
5551
5552 Some fixes and improvements for desktop frame restoration.
5553 It is still experimental and disabled by default.
5554 * desktop.el (desktop--save-windows): Put the selected frame at
5555 the head of the list.
5556 (desktop--make-full-frame): New function.
5557 (desktop--restore-windows): Try to re-select the frame that was
5558 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5559 just show an error message and continue. Set up maximized frames
5560 so they have default non-maximized dimensions.
a47cbd64 5561
6dbafa30
DG
55622013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5563
ef099a94
MN
5564 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5565 Don't start heredoc inside a string or comment.
6dbafa30 5566
4c672a0f
EZ
55672013-06-29 Eli Zaretskii <eliz@gnu.org>
5568
5569 * bindings.el (visual-order-cursor-movement): New defcustom.
5570 (right-char, left-char): Provide visual-order cursor motion by
5571 calling move-point-visually. Update the doc strings.
5572
50960f36
KH
55732013-06-28 Kenichi Handa <handa@gnu.org>
5574
5575 * international/mule.el (define-coding-system): New coding system
5576 properties :inhibit-null-byte-detection,
5577 :inhibit-iso-escape-detection, and :prefer-utf-8.
5578 (set-buffer-file-coding-system): If :charset-list property of
5579 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5580 appropriate for setting.
5581
c1ea3abf
JB
5582 * international/mule-cmds.el (select-safe-coding-system):
5583 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5584 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5585
5586 * international/mule-conf.el (prefer-utf-8): New coding system.
5587 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5588 files.
5589
75dbaf9d
IK
55902013-06-28 Ivan Kanis <ivan@kanis.fr>
5591
eadb6068
IK
5592 * net/shr.el (shr-render-region): New function.
5593
75dbaf9d
IK
5594 * net/eww.el: Autoload `eww-browse-url'.
5595
9ea5cf9f
DG
55962013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5597
c1ea3abf
JB
5598 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5599 Adapt to `package-desc-version' being a list.
5600 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5601 archive element.
5602
39c0e36f
JB
56032013-06-27 Juanma Barranquero <lekktu@gmail.com>
5604
5605 New experimental feature to save&restore window and frame setup.
5606 * desktop.el (desktop-save-windows): New defcustom.
5607 (desktop--saved-states): New var.
5608 (desktop--excluded-frame-parameters): New defconst.
5609 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5610 (desktop--restore-windows, desktop--save-windows): New functions.
5611 (desktop-save): Call `desktop--save-windows'.
5612 (desktop-read): Call `desktop--restore-windows'.
5613
7f13406b
LMI
56142013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5615
ef099a94 5616 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5617
1e072639
SB
56182013-06-27 Stephen Berman <stephen.berman@gmx.net>
5619
5620 * info.el (Info-try-follow-nearest-node): Move search for footnote
5621 above search for node name to prevent missing a footnote (bug#14717).
5622
f3e2cbde
SB
56232013-06-27 Stephen Berman <stephen.berman@gmx.net>
5624
5625 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5626
99906aa0
LL
56272013-06-27 Leo Liu <sdl.web@gmail.com>
5628
5629 * net/eww.el (eww-read-bookmarks): Check file size.
5630
539f75f4
SM
56312013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5634 advice--pending if newdef is nil or an autoload (bug#13820).
5635 (advice-mapc): New function.
5636
843571cb
LMI
56372013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5638
5639 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5640 probably.
23a75d7f 5641 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5642 (eww-add-bookmark): New command.
5643 (eww-bookmark-mode): New mode and commands.
a285ce99 5644 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5645 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5646
f2136e1e
GM
56472013-06-26 Glenn Morris <rgm@gnu.org>
5648
eab35f39
GM
5649 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5650 (hfy-size): Handle ttys. (Bug#14668)
5651
f2136e1e
GM
5652 * info-xref.el: Update for Texinfo 5 change in *note format.
5653 (info-xref-node-re, info-xref-note-re): New constants.
5654 (info-xref-check-buffer): Use info-xref-note-re.
5655
a49ff80c
SM
56562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5657
a343d218
SM
5658 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5659
a49ff80c
SM
5660 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5661 nil terminate the loop (bug#14718).
5662
8308f184
LMI
56632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5664
5665 * net/eww.el: Rework history traversal. When going forward/back,
5666 put these actions into the history, too, so that they can be
5667 replayed.
26bf2b82 5668 (eww-render): Move the history reset to the correct buffer.
8308f184 5669
ec64c273
JL
56702013-06-25 Juri Linkov <juri@jurta.org>
5671
5672 * files-x.el (modify-dir-local-variable): Change the header comment
5673 in the file with directory local variables. (Bug#14692)
5674
e080a9d7
JL
5675 * files-x.el (read-file-local-variable-value): Add `default'.
5676 (Bug#14710)
5677
bfbc93a1
IK
56782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5679
5680 * net/eww.el (eww-make-unique-file-name): Create a unique file
5681 name before saving to entering `y' accidentally asynchronously.
5682
56832013-06-25 Ivan Kanis <ivan@kanis.fr>
5684
5685 * net/eww.el (eww-download): New command and keystroke.
5686
16f74f10
LMI
56872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
a49ff80c 5689 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5690
5691 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5692 be more consistent with Info and dired.
5693
5694 * net/eww.el (eww-mode-map): Ditto.
5695
12059709
SM
56962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5699 packages from archives.
5700 (package-archive-contents): Change format; include obsolete packages.
5701 (package-desc): Use `dir' to mark builtin packages.
5702 (package--from-builtin): Set the `dir' field to `builtin'.
5703 (generated-autoload-file, version-control): Declare.
5704 (package-compute-transaction): Change first arg and return value to be
5705 lists of package-descs. Adjust to new package-archive-contents format.
5706 (package--add-to-archive-contents): Adjust to new
5707 package-archive-contents format.
5708 (package-download-transaction): Arg is now a list of package-descs.
5709 (package-install): If `pkg' is a package name, pass it as
5710 a requirement, so it is subject to the usual (e.g. disabled) checks.
5711 (describe-package): Accept package-desc as well.
5712 (describe-package-1): Describe a specific package-desc. Add links to
5713 other package-descs for the same package name.
5714 (package-menu-describe-package): Pass the actual package-desc.
5715 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5716 works correctly.
5717 (package-desc-status): New function.
5718 (package-menu--refresh): New function, extracted
5719 from package-menu--generate.
5720 (package-menu--generate): Use it.
5721 (package-delete): Update package-alist.
5722 (package-menu-execute): Don't call package-initialize.
5723
5724 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5725 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5726 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5727 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5728 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5729 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5730
8bbdea0f
MR
57312013-06-25 Martin Rudalics <rudalics@gmx.at>
5732
5733 * window.el (window--state-get-1): Workaround for bug#14527.
5734 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5735
e82b0991
LMI
57362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5737
5738 * net/eww.el (eww-back-url): Implement the history by stashing all
5739 the data into a list.
d3f0f918 5740 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5741
c763842b
SM
57422013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5745 for values and use read--expression for expressions (bug#14710).
5746 (read-file-local-variable): Avoid setq.
5747 (read-file-local-variable-mode): Use minor-mode-list.
5748
bceff189
RW
57492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5750
864c58ca 5751 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5752 for DOI URLs.
5753
45f431c6
RW
57542013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5755
864c58ca 5756 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5757 Update imenu-support when dialect changes.
5758
f42d8237
LL
57592013-06-25 Leo Liu <sdl.web@gmail.com>
5760
5761 * ido.el (ido-read-internal): Allow forward slash on windows.
5762
be549ce6
LMI
57632013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
5765 * net/eww.el (eww): Start of strings is \\`, not ^.
5766
71d4c19d
IK
57672013-06-24 Ivan Kanis <ivan@kanis.fr>
5768
5196f88a
IK
5769 * net/shr.el (shr-browse-url): Fix interactive spec.
5770
71d4c19d
IK
5771 * net/eww.el (eww): Add a trailing slash to domain names.
5772
ae36ca55
JB
57732013-06-24 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5776
0ebd92a3
LMI
57772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5778
bdaa086b
LMI
5779 * net/shr.el (shr-browse-url): Use an external browser if given a
5780 prefix.
5781
c763842b 5782 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5783
b89fc156
IK
57842013-06-24 Ivan Kanis <ivan@kanis.fr>
5785
5786 * net/eww.el (eww): Work more correctly for file: URLs.
5787 (eww-detect-charset): Allow quoted charsets.
5788 (eww-yank-page-url): New command and keystroke.
5789
18eb4bca
DU
57902013-06-24 Daiki Ueno <ueno@gnu.org>
5791
5792 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5793 file name of gpg executable.
5794 (epg-context-program): New function.
5795 (epg-context-home-directory): New function.
5796 (epg-context-set-program): New function.
5797 (epg-context-set-home-directory): New function.
5798 (epg--start): Use `epg-context-program' instead of
5799 'epg-gpg-program'.
5800 (epg--list-keys-1): Likewise.
5801
6c6268c8
LL
58022013-06-24 Leo Liu <sdl.web@gmail.com>
5803
5804 * ido.el (ido-read-internal): Fix bug#14620.
5805
5e400cb3
JB
58062013-06-23 Juanma Barranquero <lekktu@gmail.com>
5807
5808 * faces.el (face-documentation): Simplify.
5809 (read-face-attribute, tty-find-type, x-resolve-font-name):
5810 Use `string-match-p'.
5811 (list-faces-display): Use `string-match-p'. Simplify.
5812 (face-spec-recalc): Check face to avoid face alias loops.
5813 (read-color): Use `string-match-p' and non-capturing parenthesis.
5814
f3f9606c
LMI
58152013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816
5817 * net/shr.el (shr-rescale-image): Use the new
5818 :max-width/:max-height functionality.
5819
a3ca09b9
IK
58202013-06-23 Ivan Kanis <ivan@kanis.fr>
5821
5822 * net/eww.el (eww-search-prefix): New variable.
5823 (eww): Use it.
f865b474
IK
5824 (eww-external-browser): New variable.
5825 (eww-mode-map): New keystroke.
5826 (eww-browse-with-external-browser): New command.
a3ca09b9 5827
e854cfc7
IK
5828 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5829
18bb9e21
JB
58302013-06-23 Juanma Barranquero <lekktu@gmail.com>
5831
5832 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5833 Don't skip aligning the next header field when padding is 0;
5834 otherwise, field width is not respected unless the title is as
5835 wide as the field.
5836
5b165ade
SM
58372013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * emacs-lisp/package.el (package-el-version): Remove.
5840 (package-process-define-package): Fix inf-loop.
5841 (package-install): Allow symbols as arguments again.
5842
12adebe9
DG
58432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5844
5845 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5846 add some more keyword-like methods.
5847 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5848
388573ee
JB
58492013-06-22 Juanma Barranquero <lekktu@gmail.com>
5850
5851 * bs.el (bs-buffer-show-mark): Make defvar-local.
5852 (bs-mode): Use setq-local.
5853
5854 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5855 (emacs-lock--try-unlocking): Make defvar-local.
5856
4582a01c 58572013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5858
2663dd23
GM
5859 * play/cookie1.el (cookie-apropos): Minor simplification.
5860
3d94f3ad
GM
5861 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5862
f72e2fdb
DG
58632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5864
5865 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5866 `regexp-opt', it breaks the build during dumping.
5867
73eab938
DG
58682013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5869
c763842b
SM
5870 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5871 Highlight keyword-like methods on Kernel and Module with
73eab938 5872 font-lock-builtin-face.
5cf8176d
DG
5873 (auto-mode-alist): Consolidate different entries into one regexp
5874 and add more *file-s.
73eab938 5875
d26255f6
SB
58762013-06-21 Stephen Berman <stephen.berman@gmx.net>
5877
5878 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5879
5880 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5881 (diary-entry): Use it in the action of this button type instead of
5882 diary-goto-entry.
5883
5884 * calendar/todo-mode.el: New version.
5885 (todo-add-category): Append new category to end of file and give
5886 it the highest number, instead of putting it at the beginning and
5887 giving it 0. Incorporate noninteractive functionality.
5888 (todo-forward-category): Adapt to 1-based category numbering.
5889 Allow skipping over archived categories.
5890 (todo-backward-category): Derive from todo-forward-category.
5891 (todo-backward-item, todo-forward-item): Make noninteractive and
5892 delegate interactive part to new commands. Make sensitive to done items.
5893 (todo-categories): Make value an alist of category names and
5894 vectors of item counts.
5895 (todo-category-beg): Make a defconst.
5896 (todo-category-number): Use 1 instead of 0 as initial value.
5897 (todo-category-select): Make sensitive to overlays, optional item
5898 highlighting and done items.
5899 (todo-delete-item): Make sensitive to overlays and marked and done items.
5900 (todo-edit-item): Make sensitive to overlays and editing of
5901 date/time header optional. Add format checks.
5902 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5903 no-op if point is not on an item. Advertise using todo-edit-quit.
5904 (todo-edit-mode): Make sensitive to new format, font-locking, and
5905 multiple todo files.
5906 (todo-insert-item, todo-insert-item-here): Derive from
5907 todo-basic-insert-item and extend functionality.
5908 (todo-item-end, todo-item-start): Make sensitive to done items.
5909 (todo-item-string): Don't return text properties. Restore point.
5910 (todo-jump-to-category): Make sensitive to multiple todo files and
5911 todo archives. Use extended category completion.
5912 (todo-lower-item, todo-raise-item): Rename to *-priority and
5913 derive from todo-set-item-priority.
5914 (todo-mode): Derive from special-mode. Make sensitive to new
5915 format, font-locking and multiple todo files. Make read-only.
5916 (todo-mode-map): Don't suppress digit keys, so they can supply
5917 prefix arguments. Add many new key bindings.
5918 (todo-prefix): Insert as an overlay instead of file text.
5919 Change semantics from diary date expression to purely visual mark.
5920 (todo-print): Rename to todo-print-buffer. Make buffer display
5921 features printable. Remove option to restrict number of items
5922 printed. Add option to print to file.
5923 (todo-print-function): Rename to todo-print-buffer-function.
5924 (todo-quit): Extend to handle exiting new todo modes.
5925 (todo-remove-item): Make sensitive to overlays.
5926 (todo-save): Extend to buffers of filtered items.
5927 (todo-show): Make sensitive to done items, multiple todo files and
5928 new todo modes. Offer to convert legacy todo file before creating
5929 first new todo file.
5930 (todo-show-priorities): Rename to todo-top-priorities.
5931 Change semantics of value 0.
5932 (todo-top-priorities): Rename to todo-filter-top-priorities,
5933 derive from todo-filter-items and extend functionality.
5934 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5935 and extend functionality to other types of filtered items.
5936 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5937 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5938 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5939 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5940 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5941 (todo-edit-mode-hook, todo-entry-prefix-function)
5942 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5943 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5944 (todo-initials, todo-insert-threshold, todo-item-string-start)
5945 (todo-line-string, todo-menu, todo-mode-hook)
5946 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5947 (todo-print-priorities, todo-remove-separator)
5948 (todo-save-top-priorities-too, todo-string-count-lines)
5949 (todo-string-multiline-p, todo-time-string-format)
5950 (todo-tmp-buffer-name): Remove.
5951 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5952 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5953 (todo-edit-category-diary-inclusion)
5954 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5955 (todo-edit-file, todo-edit-item-date-day)
5956 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5957 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5958 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5959 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5960 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5961 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5962 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5963 (todo-filter-top-priorities-multifile, todo-find-archive)
5964 (todo-find-filtered-items-file, todo-go-to-source-item)
5965 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5966 (todo-jump-to-archive-category, todo-lower-category)
5967 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5968 (todo-move-category, todo-move-item, todo-next-button)
5969 (todo-next-item, todo-padded-string, todo-powerset)
5970 (todo-previous-button, todo-previous-item)
5971 (todo-print-buffer-to-file, todo-raise-category)
5972 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5973 (todo-set-category-number, todo-set-item-priority)
5974 (todo-set-top-priorities-in-category)
5975 (todo-set-top-priorities-in-file, todo-show-categories-table)
5976 (todo-sort-categories-alphabetically-or-numerically)
5977 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5978 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5979 (todo-toggle-item-header, todo-toggle-item-highlighting)
5980 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5981 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5982 (todo-unarchive-items, todo-unmark-category): New commands.
5983 (todo-absolute-file-name, todo-add-to-buffer-list)
5984 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5985 (todo-basic-insert-item, todo-category-completions)
5986 (todo-category-number, todo-category-string-matcher-1)
5987 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5988 (todo-check-format, todo-clear-matches)
5989 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5990 (todo-current-category, todo-date-string-matcher)
5991 (todo-define-insertion-command, todo-diary-expired-matcher)
5992 (todo-diary-goto-entry, todo-diary-item-p)
5993 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5994 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5995 (todo-done-item-section-p, todo-done-separator)
5996 (todo-done-string-matcher, todo-files, todo-filter-items)
5997 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5998 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5999 (todo-insert-category-line, todo-insert-item-from-calendar)
6000 (todo-insert-sort-button, todo-insert-with-overlays)
6001 (todo-insertion-command-name, todo-insertion-key-bindings)
6002 (todo-label-to-key, todo-longest-category-name-length)
6003 (todo-make-categories-list, todo-mode-external-set)
6004 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6005 (todo-modes-set-3, todo-multiple-filter-files)
6006 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6007 (todo-read-category, todo-read-date, todo-read-dayname)
6008 (todo-read-file-name, todo-read-time)
6009 (todo-reevaluate-category-completions-files-defcustom)
6010 (todo-reevaluate-default-file-defcustom)
6011 (todo-reevaluate-filelist-defcustoms)
6012 (todo-reevaluate-filter-files-defcustom)
6013 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6014 (todo-reset-done-separator, todo-reset-done-separator-string)
6015 (todo-reset-done-string, todo-reset-global-current-todo-file)
6016 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6017 (todo-reset-prefix, todo-set-categories)
6018 (todo-set-date-from-calendar, todo-set-show-current-file)
6019 (todo-set-top-priorities, todo-short-file-name)
6020 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6021 (todo-total-item-counts, todo-update-buffer-list)
6022 (todo-update-categories-display, todo-update-categories-sexp)
6023 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6024 New functions.
6025 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6026 New major modes.
6027 (todo-categories, todo-display, todo-edit, todo-faces)
6028 (todo-filtered): New defgroups.
6029 (todo-archived-only, todo-button, todo-category-string, todo-date)
6030 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6031 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6032 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6033 (todo-add-item-if-new-category, todo-always-add-time-string)
6034 (todo-categories-align, todo-categories-archived-label)
6035 (todo-categories-category-label, todo-categories-diary-label)
6036 (todo-categories-done-label, todo-categories-number-separator)
6037 (todo-categories-todo-label, todo-categories-totals-label)
6038 (todo-category-completions-files, todo-completion-ignore-case)
6039 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6040 (todo-done-separator-string, todo-done-string)
6041 (todo-files-function, todo-filter-done-items, todo-filter-files)
6042 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6043 (todo-initial-category, todo-initial-file, todo-item-mark)
6044 (todo-legacy-date-time-regexp, todo-mode-line-function)
6045 (todo-nondiary-marker, todo-number-prefix)
6046 (todo-print-buffer-function, todo-show-current-file)
6047 (todo-show-done-only, todo-show-first, todo-show-with-done)
6048 (todo-skip-archived-categories, todo-top-priorities-overrides)
6049 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6050 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6051 New defcustoms.
6052 (todo-category-done, todo-date-pattern, todo-date-string-start)
6053 (todo-diary-items-buffer, todo-done-string-start)
6054 (todo-filtered-items-buffer, todo-item-start)
6055 (todo-month-abbrev-array, todo-month-name-array)
6056 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6057 (todo-top-priorities-buffer): New defconsts.
6058 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6059 (todo-categories-with-marks, todo-category-string-face)
6060 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6061 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6062 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6063 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6064 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6065 (todo-font-lock-keywords, todo-global-current-todo-file)
6066 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6067 (todo-insertion-commands-args)
6068 (todo-insertion-commands-args-genlist)
6069 (todo-insertion-commands-names, todo-insertion-map)
6070 (todo-key-bindings-t, todo-key-bindings-t+a)
6071 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6072 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6073 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6074 (todo-visited): New variables.
6075
cad5d1cb
GM
60762013-06-21 Glenn Morris <rgm@gnu.org>
6077
6078 * play/cookie1.el (cookie-apropos): Add optional display argument.
6079 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6080 (psychoanalyze-pinhead): Use cookie-doctor.
6081
9e277302
JB
60822013-06-21 Juanma Barranquero <lekktu@gmail.com>
6083
6084 * emacs-lisp/package.el (tar-get-file-descriptor)
6085 (tar--extract): Declare.
6086
c5b0993e
EW
60872013-06-21 Eduard Wiebe <usenet@pusto.de>
6088
6089 Extend flymake's warning predicate to be a function (bug#14217).
6090 * progmodes/flymake.el (flymake-warning-predicate): New.
6091 (flymake-parse-line): Use it.
6092 (flymake-warning-re): Make obsolete alias to
6093 `flymake-warning-predicate'.
6094
a7d2d465
SM
60952013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6098 (package-obsolete-list): Remove.
6099 (package-activate): Remove min-version argument. Add `force' argument.
6100 Adjust to new package-alist format.
6101 (package-mark-obsolete): Remove.
6102 (package-unpack): Force reload of the package's autoloads.
6103 (package-installed-p): Check builtins if the installed package is not
6104 recent enough.
6105 (package-initialize): Don't reset package-obsolete-list.
6106 Don't specify which package version to activate.
6107 (package-process-define-package, describe-package-1)
6108 (package-menu--generate): Adjust to new package-alist format.
6109
cedf5c9d
JB
61102013-06-21 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * allout-widgets.el (allout-widgets-mode-off)
6113 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6114 (allout-widgets-post-command-business)
6115 (allout-widgets-after-copy-or-kill-function)
6116 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6117 (allout-decorate-item-and-context)
6118 (allout-graphics-modification-handler): Fix typos in docstrings.
6119 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6120
6121 * cmuscheme.el (scheme-start-file): Doc fix.
6122 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6123 (scheme-input-filter): Use `string-match-p'.
6124
6125 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6126
6127 * dired-x.el: Use Dired consistently in docstrings.
6128
6129 * dired.el: Use Dired consistently in docstrings.
6130 (dired-readin, dired-mode): Use `setq-local'.
6131 (dired-switches-alist): Make defvar-local.
6132 (dired-buffers-for-dir): Use `zerop'.
6133 (dired-safe-switches-p, dired-switches-escape-p)
6134 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6135 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6136 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6137 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6138 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6139 (dired-toggle-marks, dired-mark-files-containing-regexp)
6140 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6141 (dired-flag-auto-save-files, dired-flag-backup-files):
6142 Use `looking-at-p'.
6143 (dired-mark-files-regexp, dired-build-subdir-alist):
6144 Use `string-match-p', `looking-at-p'.
6145
6146 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6147 (direct-print-region-helper): Use `string-match-p'.
6148
aed838b5
LL
61492013-06-21 Leo Liu <sdl.web@gmail.com>
6150
cedf5c9d
JB
6151 * comint.el (comint-redirect-results-list-from-process):
6152 Fix infinite loop.
aed838b5 6153
d80a808f
LMI
61542013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6155
6156 * net/eww.el (eww-update-header-line-format): Quote % characters.
6157
e7a526e3
GM
61582013-06-21 Glenn Morris <rgm@gnu.org>
6159
6160 * play/cookie1.el (cookie): New custom group.
6161 (cookie-file): New option.
6162 (cookie-check-file): New function.
6163 (cookie): Make it interactive. Make start and end messages optional.
6164 Interactively, display the result. Default to cookie-file.
6165 (cookie-insert): Default to cookie-file.
6166 (cookie-snarf): Make start and end messages optional.
6167 Default to cookie-file. Use with-temp-buffer.
6168 (cookie-read): Rename from read-cookie.
6169 Make start and end messages optional. Default to cookie-file.
6170 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6171 Do not autoload it.
e7a526e3
GM
6172 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6173 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6174
62efb35e
LL
61752013-06-21 Leo Liu <sdl.web@gmail.com>
6176
6177 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6178
21e3f963
GM
61792013-06-21 Glenn Morris <rgm@gnu.org>
6180
6181 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6182
fd846ab4
SM
61832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6184 Daniel Hackney <dan@haxney.org>
6185
6186 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6187 Consolidate the single-file vs tarball code.
6188 (package-desc-suffix): New function.
6189 (package-desc-full-name): Don't bother inlining it.
6190 (package-load-descriptor): Return the new package-desc.
6191 (package-mark-obsolete): Remove unused arg `package'.
6192 (package-unpack): Make it work for single files as well.
6193 Make it update package-alist.
6194 (package--make-autoloads-and-stuff): Rename from
6195 package--make-autoloads-and-compile. Don't compile any more.
6196 (package--compile): New function.
6197 (package-generate-description-file): New function, extracted from
6198 package-unpack-single.
6199 (package-unpack-single): Remove.
6200 (package--with-work-buffer): Add indentation and debugging info.
6201 (package-download-single): Remove.
6202 (package-install-from-archive): Rename from package-download-tar, make
6203 it take a pkg-desc, and make it work for single files as well.
6204 (package-download-transaction): Simplify.
6205 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6206 external tar program.
6207 (package-install-from-buffer): Remove `pkg-desc' argument.
6208 Use package-tar-file-info for tar-mode buffers.
6209 (package-install-file): Simplify accordingly.
6210 (package-archive-base): Change to take a pkg-desc.
6211 * tar-mode.el (tar--check-descriptor): New function, extracted from
6212 tar-get-descriptor.
6213 (tar-get-descriptor): Use it.
6214 (tar-get-file-descriptor): New function.
6215 (tar--extract): New function, extracted from tar-extract.
6216 (tar--extract): Use it.
6217 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6218 case the summary uses non-ascii. Adjust to new calling convention of
6219 package-tar-file-info.
6220
b7deae5e
LL
62212013-06-21 Leo Liu <sdl.web@gmail.com>
6222
fd846ab4
SM
6223 * comint.el (comint-redirect-results-list-from-process):
6224 Fix random delay. (Bug#14681)
b7deae5e 6225
7a65a0b2
JB
62262013-06-21 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * profiler.el (profiler-format-number): Use log, not log10.
6229
1493c2af
JB
62302013-06-20 Juanma Barranquero <lekktu@gmail.com>
6231
6232 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6233
aff6371e
SM
62342013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6237 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6238 yet available.
6239 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6240 (AUTOGENEL): ... here.
6241 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6242 (cl--defsubst-expand): Use it.
6243
89561f72
PE
62442013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6245
6246 * subr.el (log10): Move here from C code, and declare as obsolete.
6247 All uses of (log10 X) replaced with (log X 10).
6248
47199123
JB
62492013-06-20 Juanma Barranquero <lekktu@gmail.com>
6250
6251 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6252 Declare with `defvar-local'.
6253 (tabulated-list-use-header-line, tabulated-list-entries)
6254 (tabulated-list-padding, tabulated-list-printer)
6255 (tabulated-list-sort-key): Declare with `defvar-local'.
6256 (tabulated-list-init-header, tabulated-list-print-fake-header):
6257 Use `setq-local'.
6258
4a172eab
MA
62592013-06-20 Michael Albinus <michael.albinus@gmx.de>
6260
47199123
JB
6261 * arc-mode.el (archive-mode): Add `archive-write-file' to
6262 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6263
5fc0acc0
JB
62642013-06-20 Juanma Barranquero <lekktu@gmail.com>
6265
d5b27848
JB
6266 * cus-edit.el (custom-commands): Fix typos.
6267 (custom-display): Fix tooltip text.
6268 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6269 Fix typos in docstrings.
6270 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6271 (custom-unlispify-menu-entry, custom-magic-value-create)
6272 (custom-add-see-also, custom-group-value-create): Use ?\s.
6273 (custom-guess-type, customize-apropos, editable-field)
6274 (custom-face-value-create): Use `string-match-p'.
6275 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6276
6277 * custom.el (custom-load-symbol): Use `string-match-p'.
6278
a5c581d8
JB
6279 * ansi-color.el: Convert to lexical binding.
6280 (ansi-colors): Fix URL.
6281 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6282 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6283 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6284
970ad972
G
62852013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6286
6287 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6288
6289 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6290
62912013-06-19 Tom Tromey <tromey@redhat.com>
6292
6293 * net/eww.el (eww-top-url): Remove.
6294 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6295 (eww-render): Set new variables. Don't set eww-top-url.
6296 (eww-handle-link): Handle "prev", "home", and "contents".
6297 Downcase the rel text.
6298 (eww-top-url): Choose best top URL.
6299
63002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
6302 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6303 relying in widget.el. Using widget.el leads to too many
6304 user interface inconsistencies.
6305 (eww-self-insert): Implement entering commands in text fields.
6306 (eww-process-text-input): New function to make text input field editing
6307 work.
6308 (eww-submit): Rewrite to use the new-style form methods.
6309 (eww-select-display): Display the correct selected item.
6310 (eww-change-select): Implement changing the select value.
6311 (eww-toggle-checkbox): Implement radio/checkboxes.
6312 (eww-update-field): Fix compilation error.
6313 (eww-tag-textarea): Implement <textarea>.
6314
6315 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6316 we don't shadow mode-specific bindings.
6317
6318 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6319 nothing to push.
6320
6321 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6322
4582a01c 63232013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6324
6325 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6326
15b263dc
MA
63272013-06-19 Michael Albinus <michael.albinus@gmx.de>
6328
6329 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6330 not needed.
6331
6332 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6333
8f5297f7
LMI
63342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6335
6336 * net/browse-url.el (browse-url-browser-function):
6337 `eww-browse-url' has the right calling signature, `eww' does not.
6338
011c4552
GM
63392013-06-19 Glenn Morris <rgm@gnu.org>
6340
2285bd27
GM
6341 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6342 Only eval autoloaded macros.
6343 (byte-compile-autoload): Only give the macro warning for macros.
6344
1d653303
GM
6345 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6346 (ps-underlined-faces): Declare.
6347
bdd779ec
GM
6348 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6349 (speedbar-add-supported-extension): Declare.
6350
011c4552
GM
6351 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6352 Don't include a date stamp in the header of the generated file;
6353 it leads to needless differences between output files.
6354
e59dfb0e
MA
63552013-06-19 Michael Albinus <michael.albinus@gmx.de>
6356
c763842b
SM
6357 * net/secrets.el (secrets-struct-secret-content-type):
6358 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6359 Some servers do not offer introspection.
e59dfb0e 6360
102626e2
SM
63612013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * electric.el (electric-pair-mode): Improve interaction with
6364 electric-layout-mode.
6365 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6366 (electric-pair-syntax): Use text-mode-syntax-table in comments
6367 and strings.
6368 (electric-pair--insert): New function.
6369 (electric-pair-post-self-insert-function): Use it and
6370 electric--after-char-pos.
6371
ad528125
LL
63722013-06-19 Leo Liu <sdl.web@gmail.com>
6373
6374 * progmodes/octave.el (octave-help): Fix regexp.
6375
924d6997
G
63762013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6377
6378 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6379 (shr-table-horizontal-line): Allow nil as a value, and change the
6380 default.
6381 (shr-insert-table-ruler): Respect the nil value.
6382
63832013-06-18 Tom Tromey <tromey@barimba>
6384
6385 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6386 New defvars.
6387 (eww-open-file): New defun.
6388 (eww-render): Initialize new variables.
6389 (eww-display-html): Handle "link" and "a".
6390 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6391 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6392 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6393 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6394 New defuns.
924d6997 6395
d1bbba4f
DG
63962013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6397
6398 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6399 Distinguish ternary operator tokens from slash symbol and slash
6400 char literal.
6401
14dd22d2
JB
64022013-06-18 Juanma Barranquero <lekktu@gmail.com>
6403
6404 Convert symbol prettification into minor mode and global minor mode.
6405
6406 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6407 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6408 (prettify-symbols--keywords): Rename from
6409 `prog-prettify-symbols-alist' and make a local defvar.
6410 (prettify-symbols--compose-symbol): Rename from
6411 `prog--prettify-font-lock-compose-symbol'.
6412 (prettify-symbols--make-keywords): Rename from
6413 `prog-prettify-font-lock-symbols-keywords' and simplify.
6414 (prog-prettify-install): Remove.
6415 (prettify-symbols-mode): New minor mode, based on
6416 `prog-prettify-install'.
6417 (turn-on-prettify-symbols-mode): New function.
6418 (global-prettify-symbols-mode): New globalized minor mode.
6419
6420 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6421 * progmodes/cfengine.el (cfengine3-mode):
6422 * progmodes/perl-mode.el (perl-mode): Don't call
6423 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6424
292c880c
JL
64252013-06-18 Juri Linkov <juri@jurta.org>
6426
6427 * files-x.el (modify-file-local-variable-message): New function.
6428 (modify-file-local-variable)
6429 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6430 and call `modify-file-local-variable-message' when it's non-nil.
6431 (add-file-local-variable, delete-file-local-variable)
6432 (add-file-local-variable-prop-line)
6433 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6434 and use it. (Bug#9820)
6435
0950aa27
JL
64362013-06-18 Juri Linkov <juri@jurta.org>
6437
6438 * emulation/vi.el (vi-shell-op):
6439 * emulation/vip.el (vip-execute-com, ex-command):
6440 * emulation/viper-cmd.el (viper-exec-bang):
6441 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6442 the call of `shell-command-on-region'. (Bug#14637)
6443
6444 * simple.el (shell-command-on-region): Doc fix.
6445
8fbcca16
SM
64462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6449 (bug#14633).
6450
dd7426ea
GM
64512013-06-18 Glenn Morris <rgm@gnu.org>
6452
4ba54f7d
GM
6453 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6454
dd7426ea
GM
6455 * newcomment.el (comment-search-forward, comment-search-backward):
6456 Doc fix. (Bug#14376)
6457
58aa805b
JB
64582013-06-18 Juanma Barranquero <lekktu@gmail.com>
6459
6460 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6461 (buffer-face-mode-invoke): Doc fix.
6462
9a08a617
MM
64632013-06-18 Matthias Meulien <orontee@gmail.com>
6464
6465 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6466 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6467
f2f426ca
GM
64682013-06-18 Glenn Morris <rgm@gnu.org>
6469
9445f99b
GM
6470 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6471 Replace obsolete function generic-make-keywords with its expansion.
6472
e0df2d14
GM
6473 * progmodes/python.el (ffap-alist): Declare.
6474
f2f426ca
GM
6475 * textmodes/reftex.el (bibtex-mode-map): Declare.
6476
f7f9a720
SM
64772013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6480 (package-unpack, package-unpack-single): Return the pkg-dir.
6481 (package-download-transaction): Use it to update package-alist.
6482
57ff04e0
LMI
64832013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6484
6485 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6486 possible choice.
6487
c048c022
JL
64882013-06-17 Juri Linkov <juri@jurta.org>
6489
6490 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6491
b5bcaee5
DG
64922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6493
a020afb9
JB
6494 * emacs-lisp/package.el (package-load-descriptor):
6495 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6496 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6497
551e07e5
JB
64982013-06-17 Juanma Barranquero <lekktu@gmail.com>
6499
6500 * startup.el (command-line): Expand package name returned by
6501 `package--description-file' (bug#14639).
6502
d363bffb
DG
65032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6504
6505 * emacs-lisp/package.el (package-load-descriptor): Do not call
6506 `emacs-lisp-mode', just use its syntax table.
6507
f612933b
JB
65082013-06-17 Juanma Barranquero <lekktu@gmail.com>
6509
6510 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6511 `font-lock-extra-managed-props' if any prettifying keyword is added.
6512 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6513 (prog-mode): Use `setq-local'.
6514
db3b7db5
SM
65152013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * international/characters.el (standard-case-table): Set syntax of ?»
6518 and ?« to punctuation.
6519
f3d674df
JB
65202013-06-16 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6523 Save relevant match data before calling `syntax-ppss' (bug#14595).
6524
31489a32
JL
65252013-06-15 Juri Linkov <juri@jurta.org>
6526
6527 * files-x.el (modify-file-local-variable-prop-line): Add local
6528 variables to the end of the existing comment on the first line.
6529 Use `file-auto-mode-skip' to skip interpreter magic line,
6530 and also skip XML declaration.
6531
66bd25ab
SM
65322013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6533
6534 * startup.el (package--builtin-versions): New var.
6535 (package-subdirectory-regexp): Remove.
6536 (package--description-file): Hard code its value instead.
6537
6538 * emacs-lisp/package.el: Don't activate packages older than builtin.
6539 (package-obsolete-list): Rename from package-obsolete-alist, and make
6540 it into a simple list of package-desc.
6541 (package-strip-version): Remove.
6542 (package-built-in-p): Use package--builtin-versions.
6543 (package-mark-obsolete): Simplify.
6544 (package-process-define-package): Mark it obsolete if older than the
6545 builtin version.
6546 (package-handle-response): Use line-end-position.
6547 (package-read-archive-contents, package--download-one-archive):
6548 Simplify.
6549 (package--add-to-archive-contents): Skip if older than the builtin or
6550 installed version.
6551 (package-menu-describe-package): Fix last change.
6552 (package-list-unversioned): New var.
6553 (package-menu--generate): Use it.
6554
6555 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6556 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6557 (autoload-builtin-package-versions): New variable.
6558 (autoload-generate-file-autoloads): Use them.
6559 Remove the list of autoloaded functions/macros from the
6560 (autoload...) comments.
6561
6562 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6563
9583ec36
EZ
65642013-06-15 Eli Zaretskii <eliz@gnu.org>
6565
6566 * simple.el (line-move-partial): Don't jump to the next screen
6567 line as soon as it becomes visible. Instead, continue enlarging
6568 the vscroll until the portion of a tall screen line that's left on
6569 display is about the height of the frame's default font.
6570 (Bug#14567)
6571
f0100d8a
GM
65722013-06-15 Glenn Morris <rgm@gnu.org>
6573
b86a85ca
GM
6574 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6575 compilation-error-regexp-alist void, or local while let-bound.
6576
f0100d8a
GM
6577 * progmodes/make-mode.el (makefile-mode-syntax-table):
6578 Treat "=" as punctuation. (Bug#14614)
6579
05e7ce90
JB
65802013-06-15 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * help-fns.el (describe-variable):
6583 Add extra line for permanent-local variables.
6584
12e5e86e
SH
65852013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6586
6587 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6588 Add export, import, library. (Bug#9164)
6589 (library): Set indent function.
6590
230dcbaf
GM
65912013-06-14 Glenn Morris <rgm@gnu.org>
6592
6593 * term/xterm.el (xterm--query):
6594 Stop after first matching handler. (Bug#14615)
6595
e36b2d20 65962013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6597
6598 Add support for dired in saveplace.
6599 * dired.el (dired-initial-position-hook): New variable.
6600 (dired-initial-position): Call hook to place cursor position.
6601 * saveplace.el (save-place-to-alist): Add dired position.
6602 (save-place-dired-hook): New function.
6603
0b31660d
SM
66042013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6605
bf1e6ae8
SM
6606 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6607 through a symbol rather than letrec.
6608
1b8dff23
SM
6609 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6610 (package-desc): Add `dir' field.
6611 (package-desc-full-name): New function.
6612 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6613 (package-maybe-load-descriptor): Remove.
6614 (package-load-all-descriptors): Just call package-load-descriptor.
6615 (package--disabled-p): New function.
6616 (package-desc-vers, package-desc-doc): Remove aliases.
6617 (package--dir): Remove function.
6618 (package-activate): Check if a package is disabled.
6619 (package-process-define-package): New function, extracted from
6620 define-package.
6621 (define-package): Turn into a place holder.
6622 (package-unpack-single, package-tar-file-info):
6623 Use package--description-file.
6624 (package-compute-transaction): Use package--disabled-p.
6625 (package-download-transaction): Don't call
6626 package-maybe-load-descriptor since they're all loaded anyway.
6627 (package-install): Change argument to be a pkg-desc.
6628 (package-delete): Use a single pkg-desc argument.
6629 (describe-package-1): Use package-desc-dir instead of package--dir.
6630 Use package-desc property instead of package-symbol.
6631 (package-install-button-action): Adjust accordingly.
6632 (package--push): Rewrite.
6633 (package-menu--print-info): Adjust accordingly. Change the ID format
6634 to be a pkg-desc.
6635 (package-menu-describe-package, package-menu-get-status)
6636 (package-menu--find-upgrades, package-menu-mark-upgrades)
6637 (package-menu-execute, package-menu--name-predicate):
6638 Adjust accordingly.
6639 * startup.el (package--description-file): New function.
6640 (command-line): Use it.
6641 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6642 Use package-desc-version.
6643
0b31660d
SM
6644 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6645 (byte-compile-preprocess): Use it.
6646 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6647 can't quite recognize.
6648 (byte-compile-add-to-list): Remove.
6649 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6650 (cconv-closure-convert): Add assertion.
6651
6652 * emacs-lisp/map-ynp.el: Use lexical-binding.
6653 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6654 Factor out some repeated code.
6655
de0503df
SM
66562013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * subr.el (with-eval-after-load): New macro.
6659 (eval-after-load): Allow form to be a function.
6660 take advantage of lexical-binding.
6661 (do-after-load-evaluation): Use dolist and adjust to new format.
6662 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6663
bc5c8c5a
JL
66642013-06-13 Juri Linkov <juri@jurta.org>
6665
6666 * replace.el (perform-replace): Display "symbol " and other search
6667 modes from `isearch-message-prefix' in the *Help* buffer.
6668
6669 * isearch.el (isearch-query-replace): Add " symbol" and other
6670 possible search modes from `isearch-message-prefix' to the prompt.
6671 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6672 when reading a regexp to collect.
6673
a22289f7
JL
66742013-06-13 Juri Linkov <juri@jurta.org>
6675
6676 * isearch.el (word-search-regexp): Match whitespace if the search
6677 string begins or ends in whitespace. The LAX arg is applied to
6678 both ends of the search string. Use `regexp-quote' and explicit
6679 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6680 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6681 boundaries are replaced with symbol boundaries, and characters
6682 between symbols match non-word non-symbol syntax. (Bug#14602)
6683
cb89acab
JL
66842013-06-13 Juri Linkov <juri@jurta.org>
6685
6686 * isearch.el (isearch-del-char): Don't exceed the length of
6687 `isearch-string' by the prefix arg. (Bug#14563)
6688
6e8cfc81
JL
66892013-06-13 Juri Linkov <juri@jurta.org>
6690
6691 * isearch.el (isearch-yank-word, isearch-yank-line)
6692 (isearch-char-by-name, isearch-quote-char)
6693 (isearch-printing-char, isearch-process-search-char):
6694 Add optional count prefix arg. (Bug#14563)
6695
6696 * international/isearch-x.el
6697 (isearch-process-search-multibyte-characters):
6698 Add optional count prefix arg.
6699
c23d55f4
VS
67002013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6703 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6704 lexical-binding.
6705
67062013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6707
6708 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6709
ba947bc4
GM
67102013-06-13 Glenn Morris <rgm@gnu.org>
6711
8baeb37a
GM
6712 * startup.el (tty-handle-args):
6713 Don't just discard "--" and anything after. (Bug#14608)
6714
ba947bc4
GM
6715 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6716
9abefce4
MA
67172013-06-13 Michael Albinus <michael.albinus@gmx.de>
6718
6719 Implement changes in Secret Service API. Make it backward compatible.
6720 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6721 (secrets-create-item): Use it. Prefix properties with interface.
6722
5755011f
MH
67232013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6724
6725 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6726 (term-emulate-terminal): Respect term-suppress-hard-newline.
6727
1261d2da
S
67282013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6729
6730 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6731 Only remove a `thumb-file' overlay. (Bug#14548)
6732
868490bb
GJ
67332013-06-12 Grégoire Jadi <daimrod@gmail.com>
6734
6735 * mail/reporter.el (reporter-submit-bug-report):
6736 Handle missing package-name. (Bug#14600)
6737
79d7167f
TH
67382013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6739
6740 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6741 (reftex-citation-prompt, reftex-default-bibliography)
6742 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6743 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6744 (reftex-bib-sort-author, reftex-bib-sort-year)
6745 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6746 (reftex-extract-bib-entries-from-thebibliography)
6747 (reftex-get-bibkey-default, reftex-get-bib-names)
6748 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6749 (reftex-format-bib-entry, reftex-parse-bibitem)
6750 (reftex-format-bibitem, reftex-do-citation)
6751 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6752 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6753 (reftex-insert-bib-matches, reftex-format-citation)
6754 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6755 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6756 existing comments into docstrings.
6757
5f9dbd7a
XF
67582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6759
6760 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6761
94df41ab
AS
67622013-06-12 Andreas Schwab <schwab@suse.de>
6763
6764 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6765 for auto-save files.
6766
a7f3fecc
GM
67672013-06-12 Glenn Morris <rgm@gnu.org>
6768
001809f6
GM
6769 * ido.el (ido-delete-ignored-files): Remove.
6770 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6771 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6772
834b5ded
EL
67732013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6774
08c73ed2
EL
6775 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6776
834b5ded
EL
6777 * ido.el (ido-delete-ignored-files): New function,
6778 split from ido-make-file-list-1.
6779 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6780 (ido-make-file-list-1): Use ido-delete-ignored-files.
6781
daabf15a
LL
67822013-06-12 Leo Liu <sdl.web@gmail.com>
6783
6784 * progmodes/octave.el (inferior-octave-startup)
6785 (inferior-octave-completion-table)
6786 (inferior-octave-track-window-width-change)
6787 (octave-eldoc-function-signatures, octave-help)
6788 (octave-find-definition): Use single quoted strings.
6789 (inferior-octave-startup-args): Change default value.
6790 (inferior-octave-startup): Do not hard code "-i" and
6791 "--no-line-editing".
6792 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6793 (inferior-octave-directory-tracker): Use it.
6794 (octave-goto-function-definition): Robustify.
6795 (octave-help): Support highlighting operators in 'See also'.
6796 (octave-find-definition): Find subfunctions only in Octave mode.
6797
cf4e5178
SM
67982013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * help-fns.el (help-fns--compiler-macro): If the handler function is
6801 named, then put a link to it.
6802 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6803 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6804 (cl-typep): Use it.
6805 (cl-eval-when): Simplify debug spec.
6806 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6807 compiler-macro function instead of setting `compiler-macro-file'.
6808
99c81280 68092013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6810
6811 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6812 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6813
f56be016
SM
68142013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6815 Daniel Hackney <dan@haxney.org>
6816
6817 First part of Daniel Hackney's patch to package.el.
6818 * emacs-lisp/package.el: Use defstruct.
6819 (package-desc): New, main struct.
6820 (package--bi-desc, package--ac-desc): New structs, used to describe the
6821 format in external files.
6822 (package-desc-vers): Replace with package-desc-version accessor.
6823 (package-desc-doc): Replace with package-desc-summary accessor.
6824 (package-activate-1): Remove `package' arg since the pkg-vec now
6825 includes the name.
6826 (define-package): Use package-desc-from-define.
6827 (package-unpack-single): Change file-name arg to be a symbol.
6828 (package--add-to-archive-contents): Use package-desc-create and new
6829 accessor functions to package--ac-desc.
6830 (package-buffer-info, package-tar-file-info): Return a package-desc.
6831 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6832 arg to be a package-desc.
6833 (package-install-file): Adjust accordingly. Use \' to match EOS.
6834 (package--from-builtin): New function.
6835 (describe-package-1, package-menu--generate): Use it.
6836 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6837 (package-generate-autoloads): Idem and return the name of the file.
6838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6839 Change pkg-info arg to be a package-desc.
6840 Use package-make-ac-desc.
6841 (package-upload-file): Use \' to match EOS.
6842 * finder.el (finder-compile-keywords): Use package-make-builtin.
6843
31119d63
SM
68442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6845
931a2762
SM
6846 * vc/vc.el (vc-deduce-fileset): Change error message.
6847 (vc-read-backend): New function.
6848 (vc-next-action): Use it.
6849
5a3eb0c6
SM
6850 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6851
e3eb1bb7
SM
6852 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6853 (prolog-font-lock-keywords): Use regexp-opt instead.
6854 Don't manually highlight strings.
6855 (prolog-mode-variables): Simplify comment-start-skip.
6856 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6857
31119d63
SM
6858 * emacs-lisp/generic.el (generic--normalise-comments)
6859 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6860 (generic-mode-set-comments): Use them.
6861 (generic-bracket-support): Use setq-local.
6862 (generic-make-keywords-list): Declare obsolete.
6863
7de135d0
GM
68642013-06-11 Glenn Morris <rgm@gnu.org>
6865
6866 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6867 Prettify after setting font-lock-defaults. (Bug#14574)
6868
fa6bc6fd
JB
68692013-06-11 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * replace.el (query-replace, occur-read-regexp-defaults-function)
6872 (replace-search):
6873 * subr.el (declare-function, number-sequence, local-set-key)
6874 (substitute-key-definition, locate-user-emacs-file)
6875 (with-silent-modifications, split-string, eval-after-load):
6876 Fix typos, remove unneeded backslashes and reflow some docstrings.
6877
cf1f9b9a
SM
68782013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6881 default for Elisp files.
6882
56602a4b
GM
68832013-06-11 Glenn Morris <rgm@gnu.org>
6884
6885 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6886 although define-derived-mode was doing this anyway. (Bug#14583)
6887
30ae0b2c
JB
68882013-06-10 Juanma Barranquero <lekktu@gmail.com>
6889
6890 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6891 Fix make-variable-buffer-local call to refer to the correct variable.
6892
fa472906
AG
68932013-06-10 Aidan Gauland <aidalgol@amuri.net>
6894
6895 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6896 (eshell-visual-subcommands, eshell-visual-options):
6897 Add summary line to docstrings. Add cross-references.
fa472906 6898
ff4871b9
GM
68992013-06-10 Glenn Morris <rgm@gnu.org>
6900
6901 * epa.el (epa-read-file-name): New function. (Bug#14510)
6902 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6903
04fcf1b0
AG
69042013-06-09 Aidan Gauland <aidalgol@amuri.net>
6905
6906 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6907 output redirection to be ignored with visual commands.
6908
88b00caa
AG
69092013-06-09 Aidan Gauland <aidalgol@amuri.net>
6910
6911 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6912 (eshell-term-initialize): Move long lambda to separate function
6913 eshell-visual-command-p.
e7b41c4c
JB
6914 * eshell/em-dirs.el (eshell-dirs-initialise):
6915 * eshell/em-script.el (eshell-script-initialize):
6916 Add missing #' to lambda.
88b00caa 6917
fda74125
LL
69182013-06-08 Leo Liu <sdl.web@gmail.com>
6919
6920 * progmodes/octave.el (octave-add-log-current-defun): New function.
6921 (octave-mode): Set add-log-current-defun-function.
6922 (octave-goto-function-definition): Do not move point if not found.
6923 (octave-find-definition): Enhance to try subfunctions first.
6924
467f3b33
GM
69252013-06-08 Glenn Morris <rgm@gnu.org>
6926
6927 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6928 (byte-compile-backward-char, byte-compile-backward-word):
6929 Improve previous change, to handle non-explicit nil.
6930
544badc3
SM
69312013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6934 (smie--opener/closer-at-point): New function.
6935 (smie--matching-block-data): Use it. Don't match from right after an
6936 opener or right before a closer. Obey smie-blink-matching-inners.
6937 Don't signal a mismatch for repeated inners like "switch..case..case".
6938
a175bf33
LL
69392013-06-07 Leo Liu <sdl.web@gmail.com>
6940
6941 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6942 to t. (Bug#14303)
ce8209d4
LL
6943 (octave-function-header-regexp): Fix. (Bug#14570)
6944 (octave-help-mode-finish-hook, octave-help-mode-finish):
6945 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6946
6947 * newcomment.el (comment-search-backward): Revert last change.
6948 (Bug#14434)
6949
6950 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6951
a822acff
EZ
69522013-06-07 Eli Zaretskii <eliz@gnu.org>
6953
6954 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6955 through xargs, to avoid failure due to MS-Windows limitations on
6956 command-line length.
6957
961166f5
GM
69582013-06-06 Glenn Morris <rgm@gnu.org>
6959
d0341459
GM
6960 * font-lock.el (lisp-font-lock-keywords-2):
6961 Treat user-error like error.
6962
961166f5
GM
6963 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6964 (byte-compile-backward-char, byte-compile-backward-word):
6965 Handle explicit nil arguments. (Bug#14565)
6966
80fa505f
AM
69672013-06-05 Alan Mackenzie <acm@muc.de>
6968
6969 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6970 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6971 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6972 (Bug#9706)
80fa505f 6973
fccdc796
SM
69742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * autorevert.el (auto-revert-notify-handler): Use memq.
6977 Hide assertion failure.
6978
6979 * skeleton.el: Use cl-lib.
6980 (skeleton-further-elements): Use defvar-local.
6981 (skeleton-insert): Use cl-progv.
6982
9bfff84b
TZ
69832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6984
6985 * progmodes/prog-mode.el (prog-prettify-symbols)
6986 (prog-prettify-install): Update docstrings.
6987
55577e7c
SM
69882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * simple.el: Move all the prog-mode code to prog-mode.el.
6991 * progmodes/prog-mode.el: New file.
6992 * loadup.el: Add prog-mode.el.
6993
8fc57765
TZ
69942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6995
6996 * simple.el (prog-prettify-symbols): Add version.
6997 (prog-prettify-install): Add convenience function to prettify symbols.
6998
6999 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7000 (perl--augmented-font-lock-keywords-1)
7001 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7002 variables and use it.
7003
7004 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7005 (cfengine3-mode): Remove unneeded variable and use it.
7006
7007 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7008 (lisp--augmented-font-lock-keywords-1)
7009 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7010 Remove unneeded variables and use it.
7011
650645d5 70122013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7013
7014 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7015 to point when opening the connection. (Bug#14380)
28f5da6d 7016
781b4af6
SM
70172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * subr.el (load-history-regexp, load-history-filename-element)
7020 (eval-after-load, after-load-functions, do-after-load-evaluation)
7021 (eval-next-after-load, display-delayed-warnings)
7022 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7023 definition of save-match-data.
7024 (overriding-local-map): Remove accidental obsolescence declaration.
7025
7026 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7027
3ca0d0b4
TZ
70282013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7029
7030 Generalize symbol prettify support to prog-mode and implement it
7031 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7032 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7033 (prog--prettify-font-lock-compose-symbol)
7034 (prog-prettify-font-lock-symbols-keywords): New variables and
7035 functions to support symbol prettification.
7036 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7037 (lisp--augmented-font-lock-keywords-1)
7038 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7039 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7040 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7041 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7042 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7043 * progmodes/perl-mode.el (perl-prettify-symbols)
7044 (perl--font-lock-compose-symbol)
7045 (perl--font-lock-symbols-keywords): Move to prog-mode.
7046 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7047 (perl-font-lock-keywords-1)
7048 (perl-font-lock-keywords-2): Remove explicit prettify support.
7049 (perl--augmented-font-lock-keywords)
7050 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7051 (perl--augmented-font-lock-keywords-2, perl-mode):
7052 Implement prettify support.
3ca0d0b4 7053
976cb066
LL
70542013-06-05 Leo Liu <sdl.web@gmail.com>
7055
7056 Re-implement smie matching block highlight using
7057 show-paren-data-function. (Bug#14395)
7058 * emacs-lisp/smie.el (smie-matching-block-highlight)
7059 (smie--highlight-matching-block-overlay)
7060 (smie--highlight-matching-block-lastpos)
7061 (smie-highlight-matching-block)
7062 (smie-highlight-matching-block-mode): Remove.
7063 (smie--matching-block-data-cache): New variable.
7064 (smie--matching-block-data): New function.
7065 (smie-setup): Use smie--matching-block-data for
7066 show-paren-data-function.
7067
7068 * progmodes/octave.el (octave-mode-menu): Fix.
7069 (octave-find-definition): Skip garbage lines.
7070
208d0342
SM
70712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 Fix compilation error with simultaneous dynamic+lexical scoping.
7074 Add warning when a defvar appears after the first let-binding.
7075 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7076 (byte-compile-close-variables): Initialize it.
7077 (byte-compile--declare-var): New function.
7078 (byte-compile-file-form-defvar)
7079 (byte-compile-file-form-define-abbrev-table)
7080 (byte-compile-file-form-custom-declare-variable): Use it.
7081 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7082 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7083 (byte-compile-bind): Handle dynamic bindings that shadow
7084 lexical bindings.
7085 (byte-compile-unbind): Make arg non-optional.
7086 (byte-compile-let): Simplify.
7087 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7088 (cconv--analyse-function, cconv-analyse-form): Populate it.
7089 Protect byte-compile-bound-variables to limit the scope of defvars.
7090 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7091 Remove unneeded rule for `declare'.
7092
7093 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7094 so as to avoid depending on cl-adjoin at run-time.
7095 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7096
7097 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7098 (macroexp--warn-and-return): Use it.
7099
1ac2891e
GM
71002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * lisp/subr.el: Convert to lexical binding.
7103 (overriding-local-map): Make obsolete.
7104 (add-to-list): Doc fix. Add compiler macro.
7105 (read-key): Swap values of local maps.
7106
2587b005
LL
71072013-06-05 Leo Liu <sdl.web@gmail.com>
7108
7109 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7110
f1da3c88
LL
71112013-06-04 Leo Liu <sdl.web@gmail.com>
7112
7113 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7114 (compilation-auto-jump): Suppress the "Mark set" message to give
7115 way to exit message.
7116
3caa391f
AM
71172013-06-04 Alan Mackenzie <acm@muc.de>
7118
7119 Remove faulty optimisation from indentation calculation.
7120 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7121 search limit based on 2000 characters back from indent-point.
7122
068922a2
TH
71232013-06-03 Tassilo Horn <tsdh@gnu.org>
7124
7125 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7126
1f8fdd53
SM
71272013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7128
bbcc4d97
SM
7129 * emacs-lisp/lisp.el: Use lexical-binding.
7130 (lisp--local-variables-1, lisp--local-variables): New functions.
7131 (lisp--local-variables-completion-table): New var.
208d0342 7132 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7133
1f8fdd53
SM
7134 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7135 eagerly (bug#14422).
7136
c9628c79
MA
71372013-06-03 Michael Albinus <michael.albinus@gmx.de>
7138
7139 * autorevert.el (auto-revert-notify-enabled)
7140 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7141 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7142 (auto-revert-notify-handler): Handle also gfilenotify.
7143
e7b41c4c 7144 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7145 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7146 Remove.
c9628c79 7147
e5e4a942
JL
71482013-06-03 Juri Linkov <juri@jurta.org>
7149
7150 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7151 `M-s h .'. (Bug#14427)
7152
7153 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7154 command `hi-lock-face-symbol-at-point'.
7155 (hi-lock-face-symbol-at-point): New command.
7156 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7157 (hi-lock-menu): Add `highlight-symbol-at-point'.
7158 (hi-lock-mode): Doc fix.
7159
7160 * isearch.el (isearch-forward-symbol-at-point): New command.
7161 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7162 (isearch-highlight-regexp): Add a regexp which matches
7163 words/symbols for word/symbol mode.
7164
7165 * subr.el (find-tag-default-bounds): New function with the body
7166 mostly moved from `find-tag-default'.
7167 (find-tag-default): Move most code to `find-tag-default-bounds',
7168 call it and apply `buffer-substring-no-properties' afterwards.
7169
26b3353a
TH
71702013-06-03 Tassilo Horn <tsdh@gnu.org>
7171
781b4af6
SM
7172 * eshell/em-term.el (eshell-term-initialize):
7173 Use `cl-intersection' rather than `intersection'.
26b3353a 7174
51b60f53
XF
71752013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7176
fe054b63 7177 * vc/log-view.el: Doc fix.
d3ffe17c 7178 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7179
a0eb10b3 71802013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7181
7182 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7183 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7184 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7185 (eieio-unbound, eieio-default-superclass)
7186 (eieio--define-field-accessors, method-static, method-before)
7187 (method-primary, method-after, method-num-lists)
7188 (method-generic-before, method-generic-primary)
7189 (method-generic-after, method-num-slots)
7190 (eieio-specialized-key-to-generic-key)
7191 (eieio--check-type, class-v, class-p)
7192 (eieio-class-name, define-obsolete-function-alias)
7193 (eieio-class-parents-fast, eieio-class-children-fast)
7194 (same-class-fast-p, class-constructor, generic-p)
7195 (generic-primary-only-p, generic-primary-only-one-p)
7196 (class-option-assoc, class-option, eieio-object-p)
7197 (class-abstract-p, class-method-invocation-order)
7198 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7199 (eieio-class-un-autoload, eieio-defclass)
7200 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7201 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7202 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7203 (eieio-defgeneric-reset-generic-form)
7204 (eieio-defgeneric-form-primary-only)
7205 (eieio-defgeneric-reset-generic-form-primary-only)
7206 (eieio-defgeneric-form-primary-only-one)
7207 (eieio-defgeneric-reset-generic-form-primary-only-one)
7208 (eieio-unbind-method-implementations)
7209 (eieio--defmethod, eieio--typep)
7210 (eieio-perform-slot-validation, eieio-validate-slot-value)
7211 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7212 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7213 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7214 (eieio-slot-name-index, eieio-class-slot-name-index)
7215 (eieio-set-defaults, eieio-initarg-to-attribute)
7216 (eieio-attribute-to-initarg, eieio-c3-candidate)
7217 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7218 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7219 (eieio-class-precedence-list, eieio-generic-call-methodname)
7220 (eieio-generic-call-arglst, eieio-generic-call-key)
7221 (eieio-generic-call-next-method-list)
7222 (eieio-pre-method-execution-functions, eieio-generic-call)
7223 (eieio-generic-call-primary-only, eieiomt-method-list)
7224 (eieiomt-optimizing-obarray, eieiomt-install)
7225 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7226 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7227 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7228 (defclass): Remove `eval-and-compile' from macro.
7229 (call-next-method, shared-initialize): Instead of using
7230 `scoped-class' variable, use new eieio--scoped-class, and
7231 eieio--with-scoped-class.
7232 (initialize-instance): Rename local variable 'scoped-class' to
7233 'this-class' to remove ambiguitity from old global.
7234
7235 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7236 eieio.el.
4f405069
JB
7237 (eieio--scoped-class-stack): New variable.
7238 (eieio--scoped-class): New fcn.
890f7890
DE
7239 (eieio--with-scoped-class): New scoping macro.
7240 (eieio-defclass): Use pushnew instead of add-to-list.
7241 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7242 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7243 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7244 `scoped-class' variable, use new eieio--scoped-class, and
7245 eieio--with-scoped-class.
7246
7247 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7248
d105b0e2
TH
72492013-06-02 Tassilo Horn <tsdh@gnu.org>
7250
7251 * eshell/esh-ext.el (eshell-external-command): Pass args to
7252 `eshell-find-interpreter'.
7253 (eshell-find-interpreter): Add new second parameter ARGS.
7254
7255 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7256 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7257
7258 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7259 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7260
7261 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7262 (eshell-visual-options): New defcustom.
7263 (eshell-escape-control-x): Adapt docstring.
7264 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7265 `eshell-visual-options' in addition to `eshell-visual-commands'.
7266 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7267
f46305c8 72682013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7269
7270 * progmodes/python.el (python-indent-block-enders): Add break,
7271 continue and raise keywords.
7272
d870df21
GM
72732013-06-01 Glenn Morris <rgm@gnu.org>
7274
9133b82e
GM
7275 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7276
02c992ec 7277 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7278 * progmodes/cc-cmds.el (delete-forward-p):
7279 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7280 * progmodes/cc-engine.el (buffer-syntactic-context):
7281 * progmodes/cc-fonts.el (face-property-instance):
7282 * progmodes/cc-mode.el (set-keymap-parents):
7283 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7284 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7285 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7286 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7287 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7288
31e7b090
GM
7289 * progmodes/cc-vars.el (other): Emacs has this widget since
7290 at least 21.1, so don't (re)define it.
7291
d870df21
GM
7292 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7293 Replace the obsolete alias pcomplete-arg-quote-list.
7294
c75c93c7
LL
72952013-06-01 Leo Liu <sdl.web@gmail.com>
7296
7297 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7298 punctuation syntax.
7299 (inferior-octave-minimal-columns)
7300 (inferior-octave-last-column-width): New variables.
7301 (inferior-octave-track-window-width-change): New function.
7302 (inferior-octave-mode): Adjust column width so that Octave output,
7303 for example from 'ls', can fit into the window nicely.
7304
973d1e12
DG
73052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7306
7307 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7308 Highlight expansions inside regexp literals.
7309
0888c286
GM
73102013-05-31 Glenn Morris <rgm@gnu.org>
7311
e26aac1f
GM
7312 * obsolete/sym-comp.el (symbol-complete):
7313 Replace obsolete completion-annotate-function.
7314
0888c286
GM
7315 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7316
19bb8e62
DG
73172013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7318
781b4af6
SM
7319 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7320 New function, checks if point is inside a literal that allows
19bb8e62
DG
7321 expression expansion.
7322 (ruby-syntax-propertize-expansion): Use it.
7323 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7324 around the body.
7325
01dea85f
JL
73262013-05-30 Juri Linkov <juri@jurta.org>
7327
7328 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7329 to "\M-si".
7330 (isearch-invisible): New variable.
7331 (isearch-forward): Doc fix.
7332 (isearch-mode): Set `isearch-invisible'
7333 to the value of `search-invisible'.
7334 (isearch-toggle-case-fold): Doc fix.
7335 (isearch-toggle-invisible): New command.
7336 (isearch-query-replace): Let-bind `search-invisible'
7337 to the value of `isearch-invisible'.
7338 (isearch-search): Use `isearch-invisible' instead of
7339 `search-invisible'. Let-bind `search-invisible'
7340 to the value of `isearch-invisible'. (Bug#11378)
7341
ab1bdce5
JL
73422013-05-30 Juri Linkov <juri@jurta.org>
7343
7344 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7345 call when `query-flag' is nil and `search-invisible' is non-nil.
7346 (Bug#11746)
7347
d6d236e2
GM
73482013-05-30 Glenn Morris <rgm@gnu.org>
7349
8accd027
GM
7350 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7351
2a8bed1c
GM
7352 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7353 (cc-require): Suppress spurious "noruntime" warnings.
7354 (cc-require-when-compile): Use fboundp, for sake of compiler.
7355
d6d236e2
GM
7356 * progmodes/cc-mode.el: Move load of cc-vars before that of
7357 cc-langs (which in turn loads cc-vars), to quieten compiler.
7358
9190b35b
SM
73592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * paren.el: Simplify the code.
7362 (show-paren-mode): Always start the timer.
7363 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7364 (show-paren--overlay, show-paren--overlay-1): Rename from
7365 show-paren-overlay and show-paren-overlay-1, and initialize to an
7366 overlay rather than to nil.
7367 (show-paren-function): Misc cleanup and simplifications.
7368
4f8d1cf6
SM
73692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * paren.el (show-paren-data-function): New hook.
7372 (show-paren--default): New function, extracted from show-paren-function.
7373 (show-paren-function): Use show-paren-data-function.
7374
02d844b5
GM
73752013-05-30 Glenn Morris <rgm@gnu.org>
7376
d209d4a9
GM
7377 * ielm.el (ielm-map, ielm-complete-symbol):
7378 Use completion-at-point rather than obsolete functions.
7379 (inferior-emacs-lisp-mode): Doc fix.
7380 Set completion-at-point-functions, rather than
7381 comint-dynamic-complete-functions.
7382
2082faa6
GM
7383 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7384 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7385 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7386
dd8620de
GM
7387 * image.el (image-animated-p): Tweak definition.
7388
ceca95b1
GM
7389 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7390 (rlogin-process-connection-type): Tweak default. Add set-after.
7391 (rlogin-host): Doc fix.
7392 (rlogin): Tweak prompt.
7393 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7394
ee9f1acc
GM
7395 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7396 * progmodes/tcl.el (inferior-tcl-mode-map):
7397 Use completion-at-point rather than obsolete alias.
7398
45ce222e
GM
7399 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7400
02d844b5
GM
7401 * minibuffer.el (read-file-name-completion-ignore-case):
7402 Move before completion--in-region, for eager macro expansion.
7403
ac44d6c1
JL
74042013-05-29 Juri Linkov <juri@jurta.org>
7405
7406 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7407 for total count of matching lines. Add `global-matches' for total
7408 count of matches. Rename `matches' to `lines' for count of
7409 matching lines. Add `matches' for count of matches.
7410 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7411 to `prev-line' for line number of prev match endpt.
7412 Increment `matches' for every match. Print the number of
7413 matching lines in the header.
7414 (occur-context-lines): Rename `lines' to `curr-line'.
7415 Rename `prev-lines' to `prev-line'. (Bug#14017)
7416
3c9c9d38
JL
74172013-05-29 Juri Linkov <juri@jurta.org>
7418
7419 * replace.el (perform-replace): Add `skip-read-only-count',
7420 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7421 Increment them for corresponding conditions and report the number
7422 of skipped occurrences in the final message. (Bug#11746)
7423 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7424 (replace-string, replace-regexp): Doc fix.
7425
33e249a2
SM
74262013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7427
8e399682
SM
7428 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7429
33e249a2 7430 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7431 prog-mode-map (bug#14504).
33e249a2 7432
f236dd84
LL
74332013-05-29 Leo Liu <sdl.web@gmail.com>
7434
7435 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7436 (octave-help): Small simplification.
7437
7438 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7439 off the highlight first.
7440
3694d13f
GM
74412013-05-29 Glenn Morris <rgm@gnu.org>
7442
03983bdc
GM
7443 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7444 Handle idlwave-last-system-routine-info-cons-cell being nil.
7445
bc74a74a
GM
7446 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7447 (idlwave-write-paths): Simplify via with-temp-buffer.
7448
8b394200
GM
7449 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7450 * emulation/cua-rect.el: Also load cua-base at run time.
7451
3694d13f
GM
7452 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7453 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7454 (cperl-imenu-on-info): Require imenu.
7455
336d7284
AM
74562013-05-28 Alan Mackenzie <acm@muc.de>
7457
7458 Handle "capitalised keywords" correctly.
33e249a2 7459 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7460
cb29c582
AG
74612013-05-28 Aidan Gauland <aidalgol@amuri.net>
7462
781b4af6 7463 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7464
690e44b2
GM
74652013-05-28 Glenn Morris <rgm@gnu.org>
7466
e658d75c
GM
7467 * vc/vc-arch.el (vc-exec-after): Declare.
7468 (vc-switches): Autoload.
7469 * vc/vc-bzr.el: No need to require vc when compiling.
7470 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7471 (vc-resynch-buffer, vc-dir-refresh): Declare.
7472 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7473 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7474 (vc-resynch-buffer): Declare.
7475 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7476 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7477 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7478 (grep-read-regexp, grep-read-files, grep-expand-template)
7479 (vc-dir-refresh): Declare.
7480 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7481 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7482 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7483 * vc/vc-mtn.el (vc-exec-after): Declare.
7484 (vc-switches): Autoload.
7485 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7486 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7487 (vc-file-tree-walk): Declare.
712b9732
GM
7488 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7489 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7490 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7491 * vc/vc-svn.el (vc-exec-after): Declare.
7492 (vc-switches, vc-setup-buffer): Autoload.
7493 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7494 Autoload.
7495 (vc-resynch-buffer): Declare.
7496
98e87fb3
GM
7497 * obsolete/fast-lock.el (byte-compile-warnings):
7498 Don't warn about obsolete features in this obsolete file.
7499
f5379553
GM
7500 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7501 Move definition before use.
7502
7a20ef83
GM
7503 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7504 (dun-unix-verbs): Remove dun-zippy.
7505 (dun-zippy): Remove function.
7506
690e44b2
GM
7507 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7508
3a52ccf7
JL
75092013-05-27 Juri Linkov <juri@jurta.org>
7510
7511 * replace.el (replace-search): New function with code moved out
7512 from `perform-replace'.
7513 (replace-highlight, replace-dehighlight): Move function definitions
7514 up closer to `replace-search'. (Bug#11746)
7515
d289938a
JL
75162013-05-27 Juri Linkov <juri@jurta.org>
7517
7518 * replace.el (perform-replace): Ignore invisible matches.
7519 In addition to checking `query-replace-skip-read-only', also
7520 filter out matches by calling `run-hook-with-args-until-failure'
7521 on `isearch-filter-predicates', and also check `search-invisible'
7522 for t or call `isearch-range-invisible'.
7523 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7524
66fc57e3
JL
75252013-05-27 Juri Linkov <juri@jurta.org>
7526
7527 * isearch.el (isearch-filter-predicates): Rename from
7528 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7529 (isearch-message-prefix): Display text from the property
7530 `isearch-message-prefix' of the currently active filters.
7531 (isearch-search): Don't compare `isearch-filter-predicate' with
7532 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7533 on `isearch-filter-predicates'. Also check `search-invisible' for t
7534 or call `isearch-range-invisible'.
7535 (isearch-filter-visible): Make obsolete.
7536 (isearch-lazy-highlight-search):
7537 Call `run-hook-with-args-until-failure' on
7538 `isearch-filter-predicates' and use `isearch-range-invisible'.
7539
7540 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7541 `isearch-filter-predicates' instead of `funcall'ing
7542 `isearch-filter-predicate'.
7543 (Info-mode): Set `Info-isearch-filter' to
7544 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7545
7546 * dired-aux.el (dired-isearch-filter-predicate-orig):
7547 Remove variable.
7548 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7549 (dired-isearch-filenames-end): Add and remove
7550 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7551 instead of changing the value of `isearch-filter-predicate'.
7552 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7553 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7554 Put property `isearch-message-prefix' to "filename " on
7555 `dired-isearch-filter-filenames'.
7556
7557 * wdired.el (wdired-change-to-wdired-mode):
7558 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7559 locally instead of changing `isearch-filter-predicate'.
7560 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7561
f1a60a0f
DG
75622013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7563
7564 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7565 return the commit hash (Bug#14459). Also set the
7566 `vc-git-detached' property.
7567 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7568 (vc-git-mode-line-string): Use the same help-echo format whether
7569 in detached mode or not, because we know the actual revision now.
7570 When in detached mode, shorten the revision to 7 chars.
7571
7f17cc40
SM
75722013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * emacs-lisp/easy-mmode.el (define-minor-mode):
7575 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7576 mode hook and provide a docstring.
7577
25c8401c
AM
75782013-05-27 Alan Mackenzie <acm@muc.de>
7579
7580 Remove spurious syntax-table text properties inserted by C-y.
7581 * progmodes/cc-mode.el (c-after-change): Also clear hard
7582 syntax-table property with value nil.
7583
dde84790
MA
75842013-05-27 Michael Albinus <michael.albinus@gmx.de>
7585
7586 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7587 when reading the events; the buffer layout shall not be changed.
7588
837fd9af
LL
75892013-05-27 Leo Liu <sdl.web@gmail.com>
7590
7591 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7592 New variable.
7593 (inferior-octave-directory-tracker): Automatically re-sync
7594 default-directory.
7595 (octave-help): Improve handling of 'See also'.
7596
4fd996b3
SM
75972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7598
416f1802
SM
7599 * doc-view.el: Minor naming convention tweaks.
7600 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7601
4fd996b3
SM
7602 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7603 even if there's no `display' property yet (bug#14435).
7604
a052ef3b
EZ
76052013-05-25 Eli Zaretskii <eliz@gnu.org>
7606
4fd996b3 7607 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7608
7609 * Makefile.in (custom-deps, finder-data, autoloads)
7610 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7611 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7612 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7613
c9023370
SM
76142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7617 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7618 Don't burp at EOB.
c9023370 7619
24d699fa
LL
76202013-05-25 Leo Liu <sdl.web@gmail.com>
7621
7622 * comint.el (comint-previous-matching-input): Do not flood the
7623 *Messages* buffer with trivial messages.
7624
17e5c0cc
SM
76252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * progmodes/flymake.el (flymake-nop): Don't return a string.
7628 (flymake-set-at): Fix typo.
7629
7630 * simple.el (read--expression): New function, extracted from
7631 eval-expression. Set completion-at-point-functions (bug#14465).
7632 (eval-expression, eval-minibuffer): Use it.
7633
5d028165
XF
76342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7635
7636 * progmodes/flymake.el (flymake-save-buffer-in-file)
7637 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7638 (flymake-selected-frame, flymake-log, flymake-ins-after)
7639 (flymake-set-at, flymake-get-buildfile-from-cache)
7640 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7641 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7642 Refine the doc string.
7643 (flymake-get-file-name-mode-and-masks): Reformat.
7644 (flymake-get-real-file-name-function): Fix a minor bug.
7645
7a1d7ba7
JL
76462013-05-24 Juri Linkov <juri@jurta.org>
7647
7648 * progmodes/grep.el (grep-mode-font-lock-keywords):
7649 Support =linenumber= format used by git-grep for lines with
7650 function names. (Bug#13549)
7651
650cff3d
SM
76522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7655 0 after a semi-colon; it works better for smie-auto-fill.
7656 (octave--indent-new-comment-line): New function.
7657 (octave-indent-new-comment-line): Use it (indirectly).
7658 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7659 modify comment-line-break-function.
7660
7661 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7662 (smie-setup): Use add-function to set it.
7663
9631677d
SS
76642013-05-24 Sam Steingold <sds@gnu.org>
7665
7666 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7667 argument (before the `interactive' argument).
7668
50105835
SM
76692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * image-mode.el (image-mode-winprops): Add winprops to
7672 image-mode-winprops-alist before running
7673 image-mode-new-window-functions.
7674 * doc-view.el (doc-view-new-window-function): Don't delay
7675 doc-view-goto-page via timers (bug#14435).
7676
57b9823e
TH
76772013-05-24 Tassilo Horn <tsdh@gnu.org>
7678
7679 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7680 (doc-view-desktop-save-buffer): New function.
7681 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7682 (desktop-buffer-mode-handlers):
7683 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7684 handler.
7685 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7686 `desktop-save-buffer' function.
7687
91aafa16
MA
76882013-05-24 Michael Albinus <michael.albinus@gmx.de>
7689
7690 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7691 (tramp-gvfs-file-name-handler): Raise a user error when
7692 `tramp-gvfs-enabled' is nil.
7693 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7694 Do not raise a user error when loading package. (Bug#14447)
7695
ec076379
MA
7696 * net/xesam.el: Move to obsolete/.
7697
db785726
GM
76982013-05-24 Glenn Morris <rgm@gnu.org>
7699
af5c7606
GM
7700 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7701
e5d1916a
GM
7702 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7703
ded62b08
GM
7704 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7705 (Info-find-node, Man-getpage-in-background): Declare.
7706
9e614a3f
GM
7707 * mail/unrmail.el (unrmail):
7708 Replace obsolete detect-coding-with-priority.
7709
892f8ca3
GM
7710 * net/socks.el (socks-split-string): Use this rather than split-string.
7711 (socks-nslookup-host): Update for above change.
7712 (dynamic-choice, s5-dynamic-choice-match)
7713 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7714 Comment out unused code.
7715
3c291973
GM
7716 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7717 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7718 (gud-tooltip-echo-area): Make obsolete.
7719 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7720
43cc956b
GM
7721 * progmodes/js.el (js--optimize-arglist): Declare.
7722
dab49a3b
GM
7723 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7724
36b9d085
GM
7725 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7726 (ediff-window-C): Declare.
7727
e354ae76
GM
7728 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7729 Tweak requires to silence compiler.
7730
b8e57bf4
GM
7731 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7732 (he-search-string, he-tried-table, he-expand-list)
7733 (he-init-string, he-string-member, he-substitute-string)
7734 (he-reset-string): Declare.
7735
db785726
GM
7736 * obsolete/options.el (list-options): Use custom-variable-p,
7737 rather than obsolete alias.
7738
b3531901
SS
77392013-05-23 Sam Steingold <sds@gnu.org>
7740
7741 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7742 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7743 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7744
bdda4c66
SM
77452013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * emacs-lisp/smie.el (smie-indent-forward-token)
7748 (smie-indent-backward-token): Handle string tokens (bug#14381).
7749
c43d45f9
TH
77502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7751
fe1eb856
RS
7752 * ielm.el (ielm-menu): New menu.
7753 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7754
fe1eb856
RS
77552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7756
7757 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7758 Fix deactivate action.
7759
7760 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7761 Add cleveref macros.
074dd971 7762
c43d45f9
TH
7763 * lisp/textmodes/reftex-parse.el
7764 (reftex-locate-bibliography-files): Accept options for
7765 bibliography commands.
7766 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7767 Add addbibresource. Basic Biblatex support.
7768
7764286e
MA
77692013-05-23 Michael Albinus <michael.albinus@gmx.de>
7770
7771 * net/tramp-gvfs.el (top):
7772 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7773 when loading package. (Bug#14447)
7774
d361bc10
GM
77752013-05-23 Glenn Morris <rgm@gnu.org>
7776
8fa23984
GM
7777 * progmodes/js.el: No need to load comint when compiling.
7778 (ring-insert, comint-send-string, comint-send-input)
7779 (comint-last-input-end, ido-chop): Declare.
7780
a5c7df1a
GM
7781 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7782 * vc/ediff-mult.el: Adjust requires.
7783 (ediff-directories-internal, ediff-directory-revisions-internal)
7784 (ediff-patch-file-internal): Declare.
7785 * vc/ediff-ptch.el: Adjust requires.
7786 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7787 (ediff-find-file): Autoload.
7788 * vc/ediff-util.el: No need to load ediff when compiling.
7789 (ediff-regions-internal): Declare.
7790 * vc/ediff-wind.el: Adjust requires.
7791 (ediff-compute-toolbar-width): Define when compiling.
7792 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7793 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7794 (dired-get-filename, dired-get-marked-files)
7795 (ediff-last-dir-patch, ediff-patch-default-directory)
7796 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7797 (ediff-patch-buffer-internal): Declare.
7798
e2aec513
GM
7799 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7800 (ispell-process, ispell-buffer-local-words, lm-summary)
7801 (lm-section-start, lm-section-end): Declare.
7802 (checkdoc-ispell-init): Simplify.
7803
e68bbd7c
GM
7804 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7805 (he-string-member, he-reset-string, he-substitute-string): Declare.
7806
7efe0991
GM
7807 * eshell/em-ls.el: Adjust requires.
7808 (eshell-glob-regexp): Declare.
f87b1284
GM
7809 * eshell/em-tramp.el: Adjust requires.
7810 (eshell-parse-command): Autoload.
7811 * eshell/em-xtra.el: Adjust requires.
7812 (eshell-parse-command): Autoload.
7813 * eshell/esh-ext.el: Adjust requires.
7814 (eshell-parse-command, eshell-close-handles): Autoload.
7815 * eshell/esh-io.el: Adjust requires.
7816 (eshell-output-filter): Autoload.
7817 * eshell/esh-util.el: No need to load tramp when compiling.
7818 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7819 Declare.
7820 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7821 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7822 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7823 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7824 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7825 * eshell/esh-opt.el, eshell/esh-proc.el:
7826 * eshell/esh-var.el: Adjust requires.
7827 * eshell/eshell.el: Do not require esh-util twice.
7828 (eshell-add-input-to-history): Declare.
7829 (eshell-command): Check history module is active before using it.
7830
d361bc10
GM
7831 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7832
85d090a9
LL
78332013-05-22 Leo Liu <sdl.web@gmail.com>
7834
7835 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7836
5d0acd9d
MA
78372013-05-22 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * autorevert.el (auto-revert-notify-add-watch)
7840 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7841 it indicates changes in file modification time.
7842
0cdffd7d
GM
78432013-05-22 Glenn Morris <rgm@gnu.org>
7844
ca5995ec
GM
7845 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7846 Always delete the autoloaded function from the noruntime and
7847 unresolved functions lists.
7848
6450907e
GM
7849 * allout.el: No need to load epa, epg, overlay when compiling.
7850 (epg-context-set-passphrase-callback, epg-list-keys)
7851 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7852 (epg-key-user-id-list): Declare.
7853
9c6906f6
GM
7854 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7855 (viper-set-parsing-style-toggling-macro)
7856 (viper-set-emacs-state-searchstyle-macros):
7857 Use called-interactively-p on Emacs.
7858 (viper-looking-back): Make it an obsolete alias. Update callers.
7859 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7860 Use looking-back rather than viper-looking-back.
7861 (viper-tmp-insert-at-eob, viper-enlarge-region)
7862 (viper-read-string-with-history, viper-register-to-point)
7863 (viper-append-to-register, viper-change-state-to-vi)
7864 (viper-backward-char-carefully, viper-forward-char-carefully)
7865 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7866 (viper-change-state-to-emacs): Declare.
7867 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7868 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7869 * emulation/viper-mous.el: Do not load viper-cmd.
7870 (viper-backward-char-carefully, viper-forward-char-carefully)
7871 (viper-forward-word, viper-adjust-window): Declare.
7872
5f70c169
GM
7873 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7874
b1b7f300
GM
7875 * progmodes/idlw-help.el (idlwave-help-fontify):
7876 Use called-interactively-p.
7877
f6ebbb46
GM
7878 * term/w32console.el (w32-get-console-codepage)
7879 (w32-get-console-output-codepage): Declare.
7880
0cdffd7d
GM
7881 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7882 Remove unnecessary declarations.
7883 (dframe-message): Doc fix.
7884
7885 * info.el (dframe-select-attached-frame, dframe-current-frame):
7886 Declare.
7887
7888 * speedbar.el (speedbar-message): Make it an obsolete alias.
7889 Update all callers.
7890 (speedbar-with-attached-buffer)
7891 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7892 (speedbar-with-writable): Use backquote.
7893 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7894 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7895 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7896 rather than speedbar- aliases.
7897 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7898 (speedbar-make-specialized-keymap, speedbar-insert-button)
7899 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7900 (speedbar-do-function-pointer): Declare.
7901 (rmail-speedbar-button, rmail-speedbar-find-file)
7902 (rmail-speedbar-move-message):
7903 Use dframe-with-attached-buffer rather than speedbar- alias.
7904 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7905 (dframe-message, speedbar-make-specialized-keymap)
7906 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7907 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7908 (speedbar-insert-button, dframe-select-attached-frame)
7909 (dframe-maybee-jump-to-attached-frame)
7910 (speedbar-change-initial-expansion-list)
7911 (speedbar-previously-used-expansion-list-name): Declare.
7912 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7913 Use dframe-message, dframe-with-attached-buffer rather than
7914 speedbar- aliases.
7915 (gud-sentinel): Silence compiler.
7916 * progmodes/vhdl-mode.el (speedbar-refresh)
7917 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7918 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7919 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7920 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7921 (speedbar-file-lists, speedbar-make-tag-line)
7922 (speedbar-line-directory, speedbar-goto-this-file)
7923 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7924 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7925 (speedbar-make-button, speedbar-reset-scanners)
7926 (speedbar-files-item-info, speedbar-line-text)
7927 (speedbar-find-file-in-frame, speedbar-set-timer)
7928 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7929 (speedbar-with-writable): Do not (re)define it.
7930 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7931 rather than speedbar- alias.
7932
ee44b62a
LL
79332013-05-21 Leo Liu <sdl.web@gmail.com>
7934
7935 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7936 menu items.
7937 (octave-mode): Tweak fill-nobreak-predicate.
7938 (inferior-octave-startup): Check process to avoid infinite loop.
7939 (inferior-octave): Pop to buffer first to show abornmal process
7940 exit information.
7941
640f050f
GM
79422013-05-21 Glenn Morris <rgm@gnu.org>
7943
79458038
GM
7944 * printing.el (pr-menu-bar): Define when compiling.
7945
9cc3e83f
LL
79462013-05-21 Leo Liu <sdl.web@gmail.com>
7947
7948 * progmodes/octave.el (octave-auto-fill): Remove.
7949 (octave-indent-new-comment-line): Improve.
7950 (octave-mode): Use auto fill mode through
4f405069 7951 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7952 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7953 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7954 (octave-help): Show parent directory.
7955
f440830d
GM
79562013-05-21 Glenn Morris <rgm@gnu.org>
7957
7958 * files.el (dired-unmark):
7959 * progmodes/gud.el (gdb-input): Update declarations.
7960
7961 * calculator.el (electric, ehelp): No need to load when compiling.
7962 (Electric-command-loop, electric-describe-mode): Declare.
7963
7964 * doc-view.el (doc-view-current-converter-processes): Move before use.
7965
7966 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7967 Move MODE-set-explicitly definition before use.
7968
7969 * international/mule-diag.el (mule-diag):
7970 Don't use obsolete window-system-version.
7971
7972 * mail/feedmail.el (smtpmail): No need to load when compiling.
7973 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7974
7975 * mail/mail-utils.el (rfc822): No need to load when compiling.
7976 (rfc822-addresses): Autoload it.
7977 (mail-strip-quoted-names): Trivial simplification.
7978
7979 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7980 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7981
7982 * net/snmp-mode.el (tempo): Don't duplicate requires.
7983
7984 * progmodes/prolog.el (info): No need to load when compiling.
7985 (comint): Require before shell requires it.
7986 (Info-goto-node): Autoload it.
7987 (Info-follow-nearest-node): Declare.
7988 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7989
7990 * textmodes/artist.el (picture-mode-exit): Declare.
7991
7992 * textmodes/reftex-parse.el (reftex-parse-from-file):
7993 Trivial rewrite so the compiler can parse it better.
7994
b4da2cbb
LL
79952013-05-20 Leo Liu <sdl.web@gmail.com>
7996
7997 * progmodes/octave.el (octave-help-mode-map)
7998 (octave-help-mode-finish-hook): New variables.
7999 (octave-help-mode, octave-help-mode-finish): New functions.
8000 (octave-help): Use octave-help-mode.
8001
33c0f65b
GM
80022013-05-20 Glenn Morris <rgm@gnu.org>
8003
8004 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8005
1a0a0a8a
DG
80062013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8007
8008 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8009 start at point, so that expansion starting right after opening
8010 slash in a regexp is recognized.
8011 (ruby-syntax-before-regexp-re): New defvar, extracted from
8012 ruby-syntax-propertize-function. Since the value of this regexp
8013 is looked up at runtime now, we should be able to turn
8014 `ruby-syntax-methods-before-regexp' into a defcustom later.
8015 (ruby-syntax-propertize-function): Split regexp matching into two
8016 parts, for opening and closing slashes. That allows us to skip
8017 over string interpolations and support multiline regexps.
8018 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8019 for them, which calls `ruby-syntax-propertize-expansion'.
8020 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8021 call to `ruby-syntax-propertize-function'.
8022 (ruby-syntax-propertize-expansion): Extracted from
8023 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8024 (ruby-syntax-propertize-percent-literal): Leave point right after
8025 the percent symbol, so that the expression expansion rule can
8026 propertize the contents.
462388b6
DG
8027 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8028 heredoc openers.
8029 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8030
c1a6c0a4
JL
80312013-05-18 Juri Linkov <juri@jurta.org>
8032
8033 * man.el (Man-default-man-entry): Remove `-' from the end
8034 of the default value. (Bug#14400)
8035
8051fccd
GM
80362013-05-18 Glenn Morris <rgm@gnu.org>
8037
8038 * comint.el (comint-password-prompt-regexp):
8039 Allow "password for XXX" where XXX contains colons (eg https://...).
8040
5e80b74f
LL
80412013-05-18 Leo Liu <sdl.web@gmail.com>
8042
8043 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8044 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8045 (octave-source-directories): Don't check process.
8046 (octave-source-directories, octave-find-definition): Doc fix.
8047
521a54c5
GM
80482013-05-18 Glenn Morris <rgm@gnu.org>
8049
86a94b05
GM
8050 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8051 Remove backspace/delete bindings. (Bug#14392)
8052
521a54c5
GM
8053 * cus-dep.el (custom-make-dependencies): Sort the output.
8054 (custom-versions-load-alist): Convert comment to doc.
8055
42caeb89
LL
80562013-05-17 Leo Liu <sdl.web@gmail.com>
8057
8058 * newcomment.el (comment-search-backward): Stricter in finding
8059 comment start. (Bug#14303)
8060
8061 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8062 (octave-comment-start-skip): Properly anchored.
8063
e219dd97
LL
80642013-05-17 Leo Liu <sdl.web@gmail.com>
8065
fe1eb856
RS
8066 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8067 Clean up when turned off. (Bug#14395)
e219dd97
LL
8068 (smie--highlight-matching-block-overlay): No longer buffer-local.
8069 (smie-highlight-matching-block): Adjust.
8070
dc5dcb4b
PE
80712013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8072
8073 Doc string fix for "nanoseconds" (Bug#14406).
8074 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8075 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8076
1db165f0
JB
80772013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8078
8079 * calc/calc-units.el (math-extract-units): Preserve powers
8080 of units.
8081
c7a8fcac
LL
80822013-05-17 Leo Liu <sdl.web@gmail.com>
8083
8084 * subr.el (delete-consecutive-dups): New function.
8085 * ido.el (ido-set-matches-1): Use it.
8086 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8087 * ido.el (ido-remove-consecutive-dups): Remove.
8088
f678b18a
SM
80892013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8092 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8093 regexp-opt's `words'.
8094
ebfe68e8
LL
80952013-05-16 Leo Liu <sdl.web@gmail.com>
8096
8097 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8098 (smie--highlight-matching-block-overlay)
8099 (smie--highlight-matching-block-lastpos)
8100 (smie--highlight-matching-block-timer): New variables.
8101 (smie-highlight-matching-block): New function.
8102 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8103 (smie-setup): Conditionally enable smie-blink-matching-open.
8104
bc8bc17d
WS
81052013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8106
8107 Sync with upstream verilog-mode r840.
8108 * progmodes/verilog-mode.el (verilog-mode-version)
8109 (verilog-mode-release-date): Update.
8110 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8111 (verilog-sig-tieoff): Fix string error on
8112 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8113 (verilog-read-decls): Fix parameters confusing
8114 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8115
df065a0b
EZ
81162013-05-16 Eli Zaretskii <eliz@gnu.org>
8117
8118 * subr.el (reveal-filename): New function.
8119
8120 * loadup.el: Compute Emacs executable versions on MS-Windows,
8121 where executables have the .exe extension. Add a hard link
8122 emacs-XX.YY.ZZ.exe on MS-Windows.
8123
8124 * Makefile.in (XARGS_LIMIT): New variable.
8125 (custom-deps, finder-data, autoloads)
8126 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8127 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8128 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8129 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8130
2d4bf34b
LL
81312013-05-16 Leo Liu <sdl.web@gmail.com>
8132
8133 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8134 (octave-mode-menu, octave-mode-map): Remove its uses.
8135
6b9c2d85
RZ
81362013-05-16 Reto Zimmermann <reto@gnu.org>
8137
8138 Sync with upstream vhdl mode v3.34.2.
8139 * progmodes/vhdl-mode.el: Use `push' throughout.
8140 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8141 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8142 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8143 (vhdl-actual-generic-name): New option to derive actual generic name.
8144 (vhdl-port-paste-signals): Replace formal by actual generics.
8145 (vhdl-beautify): New name for old group vhdl-align. Update users.
8146 (vhdl-beautify-options): New option.
8147 (vhdl-last-input-event): New compat alias. Use throughout.
8148 (vhdl-goto-line): Replace user level function `goto-line'.
8149 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8150 vhdl-fix-statement-buffer.
8151 (vhdl-create-mode-menu): Add some entries.
8152 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8153 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8154 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8155 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8156 to force statements on one line.
8157 (vhdl-remove-trailing-spaces-region):
8158 New, split from vhdl-remove-trailing-spaces.
8159 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8160 Respect vhdl-beautify-options.
8161 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8162 (vhdl-update-sensitivity-list): Not add with index if exists without.
8163 Not include array index with signal. Ignore keywords in comments.
8164 (vhdl-get-visible-signals): Regexp tweaks.
8165 (vhdl-template-component-inst): Handle empty library.
8166 (vhdl-template-type): Add template for 'enum' type.
8167 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8168 Use vhdl-replace-string.
8169 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8170 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8171 (vhdl-speedbar-initialize): Update for above name change.
8172 (vhdl-compose-wire-components): Fix in handling of constants.
8173 (vhdl-error-regexp-emacs-alist): New variable.
8174 (vhdl-error-regexp-add-emacs): New function;
8175 adds support for new compile.el (Emacs 22+)
8176 (vhdl-generate-makefile-1): Change target order for single lib. units.
8177 Allow use of absolute file names.
8178
9df4ec5e
LL
81792013-05-16 Leo Liu <sdl.web@gmail.com>
8180
8181 * simple.el (prog-indent-sexp): Indent enclosing defun.
8182
f5ba00a6
GM
81832013-05-15 Glenn Morris <rgm@gnu.org>
8184
ed8be7ff
GM
8185 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8186 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8187 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8188 (whitespace-highlight): Move to whitespace group.
8189
8190 * comint.el (comint-source):
8191 * pcmpl-linux.el (pcmpl-linux):
8192 * shell.el (shell-faces):
8193 * eshell/esh-opt.el (eshell-opt):
8194 * international/ccl.el (ccl): Remove empty custom groups.
8195
8196 * completion.el (dynamic-completion-mode):
8197 * jit-lock.el (jit-lock-debug-mode):
8198 * minibuffer.el (completion-in-region-mode):
8199 * type-break.el (type-break-mode-line-message-mode)
8200 (type-break-query-mode):
8201 * emulation/tpu-edt.el (tpu-edt-mode):
8202 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8203 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8204 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8205
8206 * term/xterm.el (xterm): Change parent group to terminals.
8207
8208 * master.el (master): Remove empty custom group.
8209 (master-mode): Remove unused :group argument.
8210 * textmodes/refill.el (refill): Remove empty custom group.
8211 (refill-mode): Remove unused :group argument.
8212
8213 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8214
82a7c41b
GM
8215 * cus-dep.el: Provide a feature.
8216 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8217 Don't mistakenly ignore files whose basenames match a basename
8218 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8219 Add a fallback method for getting :group.
f5ba00a6 8220
6d65486d
JL
82212013-05-15 Juri Linkov <juri@jurta.org>
8222
da547b32
JL
8223 * isearch.el (isearch-char-by-name): Rename from
8224 `isearch-insert-char-by-name'. Doc fix.
8225 (isearch-forward): Mention `isearch-char-by-name' in
8226 the docstring. (Bug#13348)
8227
6d65486d
JL
8228 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8229 `exit-minibuffer' instead of
8230 `isearch-nonincremental-exit-minibuffer'.
8231 (isearch-edit-string): Remove mention of
8232 `isearch-nonincremental-exit-minibuffer' from docstring.
8233 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8234 (isearch-forward-exit-minibuffer)
8235 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8236
c9990474
SM
82372013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8238
6e911150
SM
8239 * loadup.el: Just use unversioned DOC.
8240
c9990474
SM
8241 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8242 literals as extending to EOB.
8243 (nxml-last-fontify-end): Remove unused variable.
8244 (nxml-after-change1): Use with-silent-modifications.
8245 (nxml-extend-after-change-region): Simplify.
8246 (nxml-extend-after-change-region1): Remove function.
8247 (nxml-after-change1): Don't adjust for dependent regions.
8248 (nxml-fontify-matcher): Simplify.
8249 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8250 (xmltok-add-dependent): Remove function.
8251 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8252 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8253 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8254 unclosed <[[, <?, comment, and other literals as extending to EOB.
8255 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8256 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8257 Remove functions.
8258 (rng-do-some-validation-1): Don't mark dependent regions.
8259 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8260 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8261 (nxml-clear-dependent-regions): Remove functions.
8262 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8263 (nxml-ensure-scan-up-to-date):
8264 Don't clear&mark dependent regions.
8265
e3772e98
LL
82662013-05-15 Leo Liu <sdl.web@gmail.com>
8267
c9990474
SM
8268 * progmodes/octave.el (octave-goto-function-definition):
8269 Improve and fix callers.
e3772e98 8270
5ac2eb34
SM
82712013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8272
c46c57b0
SM
8273 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8274 the setter (bug#14387).
8275
5ac2eb34
SM
8276 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8277 surrounding group (bug#14402).
8278
180ed218
JL
82792013-05-14 Juri Linkov <juri@jurta.org>
8280
8281 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8282 (Bug#14390)
8283
0ac0fecb
GM
82842013-05-14 Glenn Morris <rgm@gnu.org>
8285
8286 * progmodes/f90.el (f90-imenu-generic-expression):
8287 Fix typo in 2013-05-08 change. (Bug#14402)
8288
2e78e6a7
JPG
82892013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8290
5ac2eb34
SM
8291 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8292 Remove signals for which replies are never received.
2e78e6a7 8293
53267cca
JPG
82942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8295
8296 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8297 (gdb-handler-alist, gdb-handler-number): Remove variables.
8298 (gdb-handler-list): New variable.
8299 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8300 (gdb-pending-handler-p, gdb-handle-reply)
8301 (gdb-remove-all-pending-triggers): New functions.
8302 (gdb-discard-unordered-replies): New defcustom.
8303 (gdb-handler): New defstruct.
8304 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8305 instead of gdb-pending-triggers. Update docstring.
8306 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8307 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8308 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8309 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8310 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8311 (gdb-frame-handler): Pending triggers are now automatically managed.
8312 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8313 Remove argument.
8314 (gdb-input): Automatically handles pending triggers. Update docstring.
8315 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8316 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8317 Update comments.
8318 (gdb-done-or-error): Now use gdb-handle-reply.
8319
d04ce803
JPG
83202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8321
8322 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8323 gdb-debug-log.
8324
0114073a
GM
83252013-05-14 Glenn Morris <rgm@gnu.org>
8326
8327 * subr.el (user-emacs-directory-warning): New option.
8328 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8329
4d25fd7e
LL
83302013-05-14 Leo Liu <sdl.web@gmail.com>
8331
8332 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8333 during redisplay.
8334 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8335 (octave-font-lock-texinfo-comment): Fix invalid search bound
8336 error: wrong side of point.
4d25fd7e 8337
27c8b6eb
GM
83382013-05-14 Glenn Morris <rgm@gnu.org>
8339
61aaeb01
GM
8340 * progmodes/flymake.el (flymake-xml-program): New option.
8341 (flymake-xml-init): Use it.
8342
5bf90bc5
GM
8343 * term/xterm.el: Provide a feature.
8344
8345 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8346
f4c7dfd2
GM
83472013-05-13 Glenn Morris <rgm@gnu.org>
8348
8349 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8350 Add compat aliases as a hack workaround. (Bug#14384)
8351
2aeb3a1d
LL
83522013-05-13 Leo Liu <sdl.web@gmail.com>
8353
b0e069c2
LL
8354 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8355 ###, and %!.
f5a9432f
LL
8356 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8357 C-M-q.
b0e069c2
LL
8358 (octave-comment-start-skip): Include %!.
8359 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8360
30ea8374
LL
83612013-05-12 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/octave.el (inferior-octave-startup): Store the value
8364 of __octave_srcdir__ for octave-source-directories.
8365 (inferior-octave-check-process): New function refactored out of
8366 inferior-octave-send-list-and-digest.
8367 (octave-source-directories)
8368 (octave-find-definition-filename-function): New variables.
8369 (octave-source-directories)
8370 (octave-find-definition-default-filename): New functions.
8371 (octave-find-definition): Improve to find functions implemented in C++.
8372
472a3834
GM
83732013-05-12 Glenn Morris <rgm@gnu.org>
8374
8375 * calendar/diary-lib.el (diary-outlook-format-1):
8376 Don't include dayname in the output. (Bug#14349)
8377
3191b52f
GM
83782013-05-11 Glenn Morris <rgm@gnu.org>
8379
0060ac73
GM
8380 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8381
3191b52f
GM
8382 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8383 Treat cc-provide like provide.
8384
e065ba74
KR
83852013-05-11 Kevin Ryde <user42@zip.com.au>
8386
8387 * cus-dep.el (custom-make-dependencies):
8388 Use generated-autoload-load-name for the sake of files such
8389 such cedet/semantic/bovine/c.el, where the base file name
8390 is not in load-path. (Bug#5277)
8391
36f84c37
GM
83922013-05-11 Glenn Morris <rgm@gnu.org>
8393
8394 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8395 Provide features.
8396
c8730c3a
LL
83972013-05-11 Leo Liu <sdl.web@gmail.com>
8398
8399 * progmodes/octave.el (octave-indent-comment): Improve.
8400 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8401 (octave-eldoc-function-signatures, octave-eldoc-function):
8402 New functions.
c8730c3a
LL
8403 (octave-mode, inferior-octave-mode): Add eldoc support.
8404
212e29f2
RS
84052013-05-11 Richard Stallman <rms@gnu.org>
8406
8407 * epa.el (epa-decrypt-file): Take output file name as argument
8408 and read it using `interactive'.
8409
083fe0d7
LL
84102013-05-11 Leo Liu <sdl.web@gmail.com>
8411
8412 * progmodes/octave.el (octave-beginning-of-line)
8413 (octave-end-of-line): Check before using up-list because it jumps
8414 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8415 (octave-indent-comment): New function.
8416 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8417 (octave-begin-keywords, octave-end-keywords)
8418 (octave-reserved-words, octave-smie-bnf-table)
8419 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8420
8582e4c4
GM
84212013-05-11 Glenn Morris <rgm@gnu.org>
8422
f20def1f
GM
8423 * faces.el (internal-face-x-get-resource):
8424 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8425 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8426 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8427 Fix declarations.
f20def1f 8428
445f95e2
GM
8429 * calc/calc-menu.el: Make it loadable in isolation.
8430
8431 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8432 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8433 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8434 (eudc-bbdb-query-internal): Require 'bbdb.
8435
99fb2756
GM
8436 * lpr.el (lpr-headers-switches):
8437 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8438
8439 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8440
0da7ad96
GM
8441 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8442
8582e4c4
GM
8443 * term.el (term-set-escape-char): Make it idempotent.
8444
f71c50d0
LL
84452013-05-10 Leo Liu <sdl.web@gmail.com>
8446
5ac2eb34
SM
8447 * progmodes/octave.el (inferior-octave-completion-table):
8448 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8449 completion due to bug#11906.
8450 (octave-beginning-of-defun): Re-write to be more general.
8451
d5837773
GM
84522013-05-10 Glenn Morris <rgm@gnu.org>
8453
8454 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8455
027c0f75
SM
84562013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * comint.el (comint-redirect-send-command-to-process): Use :around
8459 rather than :override for comint-redirect-filter.
8460 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8461 Call it instead of comint-redirect-original-filter-function (which
8462 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8463
4465bfb4
JD
84642013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8465
8466 * frame.el (display-monitor-attributes-list): Add NS case.
8467 (ns-display-monitor-attributes-list): Declare.
8468
2d809ffa 84692013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8470
8471 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8472
e54eeb9b
GM
84732013-05-09 Glenn Morris <rgm@gnu.org>
8474
56cd351d
GM
8475 * international/fontset.el (vertical-centering-font-regexp):
8476 Set standard-value.
8477
d84b6108
GM
8478 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8479
a931698a
GM
8480 * bookmark.el (bookmark-search-delay):
8481 * cus-start.el (vertical-centering-font-regexp):
8482 * ps-mule.el (ps-mule-font-info-database-default):
8483 * ps-print.el (ps-default-fg, ps-default-bg):
8484 * type-break.el (type-break-good-break-interval):
8485 * whitespace.el (whitespace-indentation-regexp)
8486 (whitespace-space-after-tab-regexp):
8487 * emacs-lisp/testcover.el (testcover-1value-functions)
8488 (testcover-noreturn-functions, testcover-progn-functions)
8489 (testcover-prog1-functions):
8490 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8491 * eshell/em-glob.el (eshell-glob-translate-alist):
8492 * play/tetris.el (tetris-tty-colors):
8493 * progmodes/cpp.el (cpp-face-default-list):
8494 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8495 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8496 (idlwave-help-browser-generic-args):
8497 * progmodes/make-mode.el (makefile-special-targets-list):
8498 * progmodes/python.el (python-shell-virtualenv-path):
8499 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8500 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8501 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8502 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8503 * textmodes/reftex-vars.el (reftex-format-label-function):
8504 * textmodes/remember.el (remember-diary-file): Fix custom types.
8505
e54eeb9b
GM
8506 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8507 Add :version.
8508
455851dd
LL
85092013-05-09 Leo Liu <sdl.web@gmail.com>
8510
8511 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8512 Restore file completion. (Bug#14300)
455851dd
LL
8513 (inferior-octave-startup): Fix incorrect highlighting for the
8514 first prompt.
8515
a9e4425b
SM
85162013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * progmodes/ruby-mode.el: First cut at SMIE support.
8519 (ruby-use-smie): New var.
8520 (ruby-smie-grammar): New constant.
8521 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8522 (ruby-smie--forward-token, ruby-smie--backward-token)
8523 (ruby-smie-rules): New functions.
8524 (ruby-mode-variables): Setup SMIE if applicable.
8525
060ca408
EZ
85262013-05-08 Eli Zaretskii <eliz@gnu.org>
8527
8528 * simple.el (line-move-visual): Signal beginning/end of buffer
8529 only if vertical-motion moved less than it was requested. Avoids
8530 silly incorrect error messages when there are display strings with
8531 multiple newlines at EOL.
8532
1d5963cc
SM
85332013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8536 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8537 (prolog-char-quote-workaround):
8538 * progmodes/cperl-mode.el (cperl-under-as-char):
8539 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8540 Mark as obsolete.
8541 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8542 their declaration.
8543 (vhdl-mode-syntax-table-init): Remove.
8544
c9990474
SM
8545 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8546 last change.
1d5963cc
SM
8547
8548 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8549 syntax for "_".
8550 (ld-script-font-lock-keywords):
8551 Change regexps to use things like \_< and \_>.
8552
8553 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8554 Change all regexps to use things like \_< and \_>.
8555
8556 * progmodes/autoconf.el (autoconf-definition-regexp)
8557 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8558 Handle a _ with symbol syntax.
8559 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8560
c9990474
SM
8561 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8562 Consolidate declaration.
1d5963cc
SM
8563 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8564 the declaration.
8565 (ada-create-syntax-table): Remove.
8566 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8567 already has the right syntax nowadays.
8568 (ada-goto-next-word): Don't change the syntax of "_".
8569
8570 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8571 with-wrapper-hook.
8572
72d3cfca
SS
85732013-05-08 Sam Steingold <sds@gnu.org>
8574
8575 * thingatpt.el (thing-at-point): Accept optional second argument
8576 NO-PROPERTIES to strip the text properties from the return value.
8577 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8578 to `thing-at-point' instead of stripping the properties ourselves.
8579 Also, when `thing-at-point' fails to find a url, prepend "http://"
8580 to the filename at point on the assumption that the user is
8581 pointing at something like gnu.org/gnu.
8582
5cb15713
JB
85832013-05-08 Juanma Barranquero <lekktu@gmail.com>
8584
8585 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8586 * faces.el (crm-separator):
8587 Silence byte-compiler.
8588
8589 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8590 (tool-bar-map): Remove unneeded defvars.
8591
ea78b95b
LL
85922013-05-08 Leo Liu <sdl.web@gmail.com>
8593
8594 Re-work a fix for bug#10994 based on Le Wang's patch.
8595 * ido.el (ido-remove-consecutive-dups): New helper.
8596 (ido-completing-read): Use it.
8597 (ido-chop): Revert fix for bug#10994.
8598
dc7466df
AS
85992013-05-08 Adam Spiers <emacs@adamspiers.org>
8600
8601 * cus-edit.el (custom-save-variables):
8602 Pretty-print long values. (Bug#14187)
8603
9ecf672a
GM
86042013-05-08 Glenn Morris <rgm@gnu.org>
8605
8606 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8607 (m4-mode-syntax-table): Init in the defvar.
8608 (m4-mode-abbrev-table): Let define-derived-mode define it.
8609
3f555be8
TT
86102013-05-08 Tom Tromey <tromey@redhat.com>
8611
8612 * progmodes/m4-mode.el (m4-mode-syntax-table):
8613 Do not treat "_" as word constituent. (Bug#14167)
8614
7cc8ae06
GM
86152013-05-07 Glenn Morris <rgm@gnu.org>
8616
4f58bc06
GM
8617 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8618 Remove explicit eshell-isearch-cancel-map.
8619
7cc8ae06
GM
8620 * progmodes/f90.el (f90-smart-end-names): New option.
8621 (f90-smart-end): Doc fix.
8622 (f90-end-block-optional-name): New constant.
8623 (f90-block-match): Respect f90-smart-end-names.
8624
ceb57e59
SM
86252013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8628 about implicit semi-colons (bug#14218).
8629
4e3f9230
YM
86302013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8631
8632 * frame.el (display-monitor-attributes-list)
8633 (frame-monitor-attributes): New functions.
8634
203a5572
LL
86352013-05-06 Leo Liu <sdl.web@gmail.com>
8636
8637 * progmodes/octave.el (octave-syntax-propertize-function): Change
8638 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8639 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8640 (octave-completion-at-point): Rename from
203a5572
LL
8641 octave-completion-at-point-function.
8642 (inferior-octave-directory-tracker): Robustify.
8643 (octave-text-functions): Remove and fix its uses. No such things
8644 any more.
8645
ee6cff99
SM
86462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/trace.el (trace--display-buffer): New function.
8649 (trace-make-advice): Use it.
8650
32985194
JL
86512013-05-06 Juri Linkov <juri@jurta.org>
8652
8653 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8654 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8655 Doc fix.
8656 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8657 in the help string. (Bug#12985)
8658
a1c700de
KD
86592013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8660
8661 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8662
c67c0839
SM
86632013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8664
323885fd
SM
8665 * progmodes/perl-mode.el: Add support for here documents.
8666 (perl-syntax-propertize-function): Match here-doc markers.
8667 (perl-syntax-propertize-special-constructs): Find their end.
8668 (perl-imenu-generic-expression): Use [:alnum:].
8669
c67c0839
SM
8670 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8671 (advice--add-function): Refresh the advice if already present
8672 (bug#14317).
8673
d491e7a8
IA
86742013-05-06 Ivan Andrus <darthandrus@gmail.com>
8675
8676 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8677
ddf9925e
GM
86782013-05-06 Glenn Morris <rgm@gnu.org>
8679
7cc3af27
GM
8680 * w32-fns.el (w32-charset-info-alist): Declare.
8681
16e343d6
GM
8682 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8683 of its defcustom properties.
8684 (eshell-cmpl-initialize): No need to load pcomplete.
8685
7d889a47
GM
8686 * generic-x.el: No need to require comint when compiling.
8687
ddf9925e
GM
8688 * net/eudc-export.el: Make it loadable without bbdb.
8689 (top-level): Use require rather than load-library.
8690 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8691 (eudc-batch-export-records-to-bbdb)
8692 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8693 Require bbdb.
8694
1e2c18df
SM
86952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8698 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8699 some tweaks, instead.
8700
02502a5f
LL
87012013-05-05 Leo Liu <sdl.web@gmail.com>
8702
8703 * progmodes/octave.el (octave-font-lock-keywords)
8704 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8705 (inferior-octave-send-list-and-digest): Improve error message.
8706 (octave-mode, inferior-octave-mode): Use setq-local.
8707 (octave-help): Set info-lookup-mode.
8708
0dc04f42
RS
87092013-05-05 Richard Stallman <rms@gnu.org>
8710
6c54491c
RS
8711 * vc/compare-w.el (compare-windows-whitespace):
8712 Treat no-break space as whitespace.
8713
0dc04f42
RS
8714 * mail/rmailsum.el (rmail-summary-rmail-update):
8715 Detect empty summary and don't change selected message.
8716 (rmail-summary-goto-msg): Likewise.
8717
df8f35df
RS
8718 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8719 Doc fixes, rename args.
8720
5356e1a3
AM
87212013-05-05 Alan Mackenzie <acm@muc.de>
8722
8723 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8724
d44014cb
JL
87252013-05-05 Juri Linkov <juri@jurta.org>
8726
8727 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8728 to not add the length of the summary segment to the return value.
8729 (Bug#14125)
8730
c129b51f
LL
87312013-05-05 Leo Liu <sdl.web@gmail.com>
8732
8733 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8734 (inferior-octave-output-filter): Remove.
8735 (octave-send-region, inferior-octave-startup): Fix callers.
8736 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8737 (octave-binary-file-extensions): New user variable.
8738 (octave-find-definition): Confirm if opening binary files.
8739 (octave-help-file): Use octave-find-definition to get the binary
8740 confirmation.
8741 (octave-help): Adjust for octave-help-file change.
8742
aa7dab97
SM
87432013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8746 Merge the two entries that handle function definitions.
8747 (pascal--syntax-propertize): New const.
8748 (pascal-mode): Use it. Use setq-local.
8749
fd3a9a6b
GM
87502013-05-04 Glenn Morris <rgm@gnu.org>
8751
8752 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8753 (diary-from-outlook): Respect diary-from-outlook-function.
8754
30c7e542
SM
87552013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8758 Move the declaration from C.
8759 (read-minibuffer, eval-minibuffer): Move from C.
8760 (completion-setup-function): Avoid minibuffer-completion-contents.
8761
b54f978b
LL
87622013-05-03 Leo Liu <sdl.web@gmail.com>
8763
8764 * progmodes/octave.el (octave-font-lock-keywords): Do not
8765 dehighlight 'end' in comments or strings.
30c7e542
SM
8766 (octave-completing-read, octave-goto-function-definition):
8767 New helpers.
d4d0f9b3
LL
8768 (octave-help-buffer): New user variable.
8769 (octave-help-file, octave-help-function): New button types.
8770 (octave-help): New command and bind it to C-h ;.
8771 (octave-find-definition): New command and bind it to M-.
d74a1581 8772 (user-error): Alias to error if not defined.
b54f978b 8773
27135018
LL
87742013-05-02 Leo Liu <sdl.web@gmail.com>
8775
8776 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8777 for \. (bug#14332)
8778 (octave-font-lock-keywords): Include [ and {.
8779
0d634d3a
LL
87802013-05-02 Leo Liu <sdl.web@gmail.com>
8781
8782 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8783 (inferior-octave): Remove calling comint-mode and return the buffer.
8784 (inferior-octave-startup): Cosmetic changes.
8785
b4c8295e
LL
87862013-05-02 Leo Liu <sdl.web@gmail.com>
8787
30c7e542
SM
8788 * progmodes/octave.el (octave-syntax-propertize-function):
8789 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8790
f12ad6ec
GM
87912013-05-02 Glenn Morris <rgm@gnu.org>
8792
8793 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8794 * desktop.el (vc-dir-mode): Just autoload it here.
8795
30cac1e0
AM
87962013-05-02 Alan Mackenzie <acm@muc.de>
8797
8798 Eliminate variable c-standard-font-lock-fontify-region-function.
8799 * progmodes/cc-mode.el
8800 (c-standard-font-lock-fontify-region-function): Remove.
8801 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8802
d8ef28b1
LL
88032013-05-01 Leo Liu <sdl.web@gmail.com>
8804
2640d52e 8805 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8806 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8807 variables were removed from Octave in 2007.
d8ef28b1
LL
8808 (inferior-octave-startup): Fix uses.
8809 (comint-line-beginning-position): Remove compatibility code for
8810 emacs 21.
8811
ac63ec89
JL
88122013-05-01 Juri Linkov <juri@jurta.org>
8813
8814 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8815
9e9be37c
JL
88162013-05-01 Juri Linkov <juri@jurta.org>
8817
8818 * comint.el (comint-previous-matching-input): Don't print message
8819 "History item: %d" when `isearch-mode' is active.
8820 (comint-history-isearch-message): Print message "History item: %d"
8821 when `comint-input-ring-index' is not empty and this function is
8822 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8823
9b92c13b
LL
88242013-05-01 Leo Liu <sdl.web@gmail.com>
8825
8826 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8827 definitions. Use completion-at-point to insert keywords.
8828 (octave-abbrev-start): Remove.
8829 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8830
b12d33d7
LL
88312013-04-30 Leo Liu <sdl.web@gmail.com>
8832
8833 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8834 change.
8835
3d1c39fa
AM
88362013-04-30 Alan Mackenzie <acm@muc.de>
8837
8838 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8839 * progmodes/cc-engine.el (c-back-over-member-initializers):
8840 new function.
3d1c39fa
AM
8841 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8842 (most) member init lists.
8843
5147fc17
RS
88442013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8845
8846 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8847 variable.
8848
5b78d7fc
LL
88492013-04-30 Leo Liu <sdl.web@gmail.com>
8850
8851 * progmodes/octave.el (octave-variables): Remove. No builtin
8852 variables any more. All converted to functions.
8853 (octave-font-lock-keywords, octave-completion-at-point-function):
8854 Fix uses.
8855 (octave-font-lock-texinfo-comment): New user variable.
8856 (octave-texinfo-font-lock-keywords): New variable for texinfo
8857 comment block.
8858 (octave-function-comment-block): New face.
8859 (octave-font-lock-texinfo-comment): New function.
8860 (octave-mode): Font lock texinfo comment block.
8861
38d8527b
LL
88622013-04-29 Leo Liu <sdl.web@gmail.com>
8863
8864 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8865 indexing expression.
8866 (octave-continuation-string): Do not use \.
8867 (inferior-octave-complete-impossible): Remove.
8868 (inferior-octave-completion-table)
8869 (inferior-octave-completion-at-point): Remove its uses.
8870 (inferior-octave-startup): completion_matches was introduced to
8871 Octave in 1996 so safe to assume it.
8872 (octave-function-file-comment): Improve to follow how Octave does it.
8873 (octave-update-function-file-comment): Tweak.
8874
2ec12cb0
LL
88752013-04-29 Leo Liu <sdl.web@gmail.com>
8876
8877 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8878 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8879 (octave-function-file-comment): Fix typo.
8880 (octave-sync-function-file-names): Use read-char-choice.
8881
6eaed048
JB
88822013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8883
8884 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8885 to t for the less important warnings.
8886
3ffa2d4f
DH
88872013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8888
8889 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8890
685c9501
GM
88912013-04-27 Glenn Morris <rgm@gnu.org>
8892
8893 * vc/log-view.el (log-view-current-entry):
8894 Treat "---" separator lines as part of the following rev. (Bug#14169)
8895
0208ede7
JL
88962013-04-27 Juri Linkov <juri@jurta.org>
8897
8898 * subr.el (read-number): Doc fix about using it by interactive
8899 code letter `n'. (Bug#14254)
8900
5db9dace
JL
89012013-04-27 Juri Linkov <juri@jurta.org>
8902
8903 * desktop.el (desktop-auto-save-timeout): New option.
8904 (desktop-file-checksum): New variable.
8905 (desktop-save): Add optional arg `auto-save' and don't auto-save
8906 if nothing changed.
8907 (desktop-auto-save-timer): New variable.
8908 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8909 (after-init-hook): Call `desktop-auto-save-set-timer'.
8910 Suggested by Reuben Thomas <rrt@sc3d.org> in
8911 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8912
b7260dd4
LL
89132013-04-27 Leo Liu <sdl.web@gmail.com>
8914
8915 * progmodes/octave.el (octave-function-file-p)
8916 (octave-skip-comment-forward, octave-function-file-comment)
8917 (octave-update-function-file-comment): New functions.
8918 (octave-mode-map): Bind C-c ; to
8919 octave-update-function-file-comment.
8920 (octave-mode-menu): Add octave-update-function-file-comment.
8921 (octave-mode, inferior-octave-mode): Fix doc-string.
8922 (octave-insert-defun): Conform to Octave's coding convention.
8923 (Bug#14285)
8924
8925 * files.el (basic-save-buffer): Don't let errors in
8926 before-save-hook prevent saving buffer.
8927
c46da669
RW
89282013-04-20 Roland Winkler <winkler@gnu.org>
8929
8930 * faces.el (read-face-name): Use completing-read if arg multiple
8931 is nil.
8932
a81ee1eb
IL
89332013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8934
8935 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8936 displayed, move point to after the totals line.
8937 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8938 for the details.
8939
4fac34ce
SM
89402013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8943 Add current dir to the load-path.
8944 (package-generate-autoloads): Don't rely on
8945 autoload-ensure-default-file.
8946
f6bfc063
RT
89472013-04-26 Reuben Thomas <rrt@sc3d.org>
8948
d40ab5cf
BG
8949 * textmodes/remember.el (remember-store-in-files): Document that
8950 the file name format is passed to `format-time-string'.
f6bfc063 8951
e55d3b04
LL
89522013-04-26 Leo Liu <sdl.web@gmail.com>
8953
8954 * progmodes/octave.el (octave-sync-function-file-names): New function.
8955 (octave-mode): Use it in before-save-hook.
8956
e53052d3
SM
89572013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8958
140ef50c
SM
8959 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8960 (bug#14274).
8961
e53052d3
SM
8962 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8963 \n and comment, even if it's not an implicit ; (bug#14218).
8964
af80458d 89652013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8966
8967 * subr.el (read-number): Once more use `read' rather than
8968 `string-to-number', to trap non-numeric input. (Bug#14254)
8969
af80458d 89702013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8971
8972 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8973 Use `syntax-multiline' text property consistently instead of
8a621d53 8974 `font-lock-multiline'. (Bug#14237)
70203c2e 8975
e6ea1f6c
GM
89762013-04-26 Glenn Morris <rgm@gnu.org>
8977
8978 * emacs-lisp/shadow.el (list-load-path-shadows):
8979 No longer necessary to check for duplicate simple.el, since
8980 2012-07-07 change to init_lread to not include installation lisp
8981 directories in load-path when running uninstalled. (Bug#14270)
8982
070ccca4
LL
89832013-04-26 Leo Liu <sdl.web@gmail.com>
8984
8985 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8986 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8987 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8988 octave-in-string-or-comment-p.
8989 (octave-in-comment-p, octave-in-string-p)
8990 (octave-in-string-or-comment-p): Replace defsubst with defun.
8991
9d1c5fb6
PE
89922013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8993
8994 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8995
c034abda
BG
89962013-04-25 Bastien Guerry <bzg@gnu.org>
8997
8998 * textmodes/remember.el (remember-data-directory)
8999 (remember-directory-file-name-format): Fix custom types.
9000
584ea277
LL
90012013-04-25 Leo Liu <sdl.web@gmail.com>
9002
e53052d3
SM
9003 * progmodes/octave.el (octave-completion-at-point-function):
9004 Make use of inferior octave process.
584ea277
LL
9005 (octave-initialize-completions): Remove.
9006 (inferior-octave-completion-table): New function.
9007 (inferior-octave-completion-at-point): Use it.
9008 (octave-completion-alist): Remove.
9009
1693b06a
SM
90102013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9013 (opascal-mode-syntax-table): New var.
9014 (opascal-literal-kind, opascal-is-literal-end)
9015 (opascal-literal-token-at): Rewrite.
9016 (opascal--literal-start-re, opascal-font-lock-keywords)
9017 (opascal--syntax-propertize): New constants.
9018 (opascal-font-lock-defaults): Adjust.
9019 (opascal-mode): Use them. Set comment-<foo> variables as well.
9020 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9021 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9022 (delphi-other-face, opascal-other-face): Remove face variables.
9023 (opascal-save-state): Remove macro.
9024 (opascal-fontifying-progress-step): Remove constant.
9025 (opascal--ignore-changes): Remove var.
9026 (opascal-set-token-property, opascal-parse-next-literal)
9027 (opascal-is-stable-literal, opascal-complete-literal)
9028 (opascal-is-literal-start, opascal-face-of)
9029 (opascal-parse-region, opascal-parse-region-until-stable)
9030 (opascal-fontify-region, opascal-after-change)
9031 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9032 (opascal-debug-parse-region, opascal-debug-parse-window)
9033 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9034 (opascal-debug-fontify-buffer): Remove.
9035 (opascal-debug-mode-map): Adjust accordingly.
9036
be64c05d
LL
90372013-04-25 Leo Liu <sdl.web@gmail.com>
9038
9039 Merge octave-mod.el and octave-inf.el into octave.el with some
9040 cleanups.
9041 * progmodes/octave.el: New file renamed from octave-mod.el.
9042 * progmodes/octave-inf.el: Merged into octave.el.
9043 * progmodes/octave-mod.el: Renamed to octave.el.
9044
d79d37bd
TH
90452013-04-25 Tassilo Horn <tsdh@gnu.org>
9046
9047 * textmodes/reftex-vars.el
9048 (reftex-label-ignored-macros-and-environments): New defcustom.
9049
9050 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9051
ced3fc5d
SM
90522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9055 (smie-indent-keyword): Improve the check to ensure that the next
9056 comment is really on the same line.
9057 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9058
9059 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9060 semi-colons if the line is not otherwise empty (bug#14218).
9061
1c141dad
GM
90622013-04-25 Glenn Morris <rgm@gnu.org>
9063
9064 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9065
5058062a
SM
90662013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * progmodes/opascal.el (opascal-set-token-property): Rename from
9069 opascal-set-text-properties and only set `token' (bug#14134).
9070 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9071 (opascal-literal-text-properties): Remove.
9072 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9073 Adjust callers.
9074
5db9dace 90752013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9076
9077 * textmodes/remember.el (remember-handler-functions): Add an
9078 option for a new handler `remember-store-in-files'.
9079 (remember-data-directory, remember-directory-file-name-format):
9080 New options.
9081 (remember-store-in-files): New function to store remember notes
9082 as separate files within a directory.
9083
4391916c
MH
90842013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9085
9086 * progmodes/compile.el (compilation-next-error-function):
9087 Pass "formats" to compilation-find-file (bug#11777).
9088
bb7cdf58
GM
90892013-04-24 Glenn Morris <rgm@gnu.org>
9090
3b8fe752 9091 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9092 * vc/vc-hg.el (vc-hg-print-log):
9093 * vc/vc-svn.el (vc-svn-print-log):
9094 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9095
bb7cdf58
GM
9096 * vc/vc-bzr.el (vc-bzr-print-log):
9097 * vc/vc-cvs.el (vc-cvs-print-log):
9098 * vc/vc-git.el (vc-git-print-log):
9099 * vc/vc-hg.el (vc-hg-print-log):
9100 * vc/vc-mtn.el (vc-mtn-print-log):
9101 * vc/vc-rcs.el (vc-rcs-print-log):
9102 * vc/vc-sccs.el (vc-sccs-print-log):
9103 * vc/vc-svn.el (vc-svn-print-log):
9104 * vc/vc.el (vc-print-log-internal): Doc fixes.
9105
b46a056e
GM
91062013-04-23 Glenn Morris <rgm@gnu.org>
9107
9108 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9109 Remove venerable code attempting to avoid substitute-command-keys.
9110
0aecf718
TH
91112013-04-23 Tassilo Horn <tsdh@gnu.org>
9112
4391916c
MH
9113 * textmodes/reftex-vars.el (reftex-label-regexps):
9114 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9115
117f94cf
SM
91162013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9117
4391916c 9118 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9119 Use lexical-binding.
9120 (jit-lock-force-redisplay): Use markers, check buffer's continued
9121 existence and beware narrowed buffers.
9122 (jit-lock-fontify-now): Adjust call accordingly.
9123
1d829c64
SM
91242013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9127 to avoid misleading the user.
9128
72d548a9
LL
91292013-04-22 Leo Liu <sdl.web@gmail.com>
9130
9131 * info-look.el: Prefer latex2e.info. (Bug#14240)
9132
d0853629
MA
91332013-04-22 Michael Albinus <michael.albinus@gmx.de>
9134
9135 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9136
9137 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9138 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9139 (tramp-set-completion-function, tramp-parse-putty):
9140 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9141 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9142 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9143 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9144 (tramp-call-local-coding-command): Use `tramp-call-process'
9145 instead of `tramp-compat-call-process'.
9146
9147 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9148 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9149 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9150 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9151 (tramp-maybe-send-script): Check for Perl binary.
9152 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9153
38cc0210
DU
91542013-04-22 Daiki Ueno <ueno@gnu.org>
9155
9156 * epg.el (epg-context-pinentry-mode): New function.
9157 (epg-context-set-pinentry-mode): New function.
9158 (epg--start): Pass --pinentry-mode option to gpg command.
9159
cc641ee1
XF
91602013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9161
02d844b5 9162 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9163 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9164 `completion-at-point'. (Bug#13774)
5d4e5c31 9165
cc641ee1
XF
9166 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9167 default key binding for `describe-distribution' has been moved to
9168 `C-h C-o'. (Bug#13970)
9169
1b42ee43
GM
91702013-04-21 Glenn Morris <rgm@gnu.org>
9171
9172 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9173 Add doc strings.
9174 (vc-print-log): Clarify interactive prompt.
9175
a6d63d97
GM
91762013-04-20 Glenn Morris <rgm@gnu.org>
9177
9178 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9179 No longer include timestamp etc information.
9180
d7f5c16f
RW
91812013-04-20 Roland Winkler <winkler@gnu.org>
9182
9183 * faces.el (read-face-name): Bug fix, return just one face if arg
9184 multiple is nil. (Bug#14209)
9185
bcd7a0a4
SM
91862013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9187
9188 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9189 (remove-function): Autoload.
9190
9191 * comint.el (comint-redirect-original-filter-function): Remove.
9192 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9193 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9194 (vc-cvs-annotate-command):
bcd7a0a4
SM
9195 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9196 * progmodes/prolog.el (prolog-consult-compile):
9197 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9198 Use add/remove-function instead.
9199 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9200 (gud-tooltip-process-output, gud-tooltip-tips):
9201 Use add/remove-function instead.
9202 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9203 (scheme-interaction-mode, exit-scheme-interaction-mode):
9204 Use add/remove-function instead.
9205
9206 * vc/vc-dispatcher.el: Use lexical-binding.
9207 (vc--process-sentinel): Rename from vc-process-sentinel.
9208 Change last arg to be the code to run. Don't use vc-previous-sentinel
9209 and vc-sentinel-commands any more.
9210 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9211 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9212
e36b2d20 92132013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9214
bcd7a0a4 9215 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9216 Handle function names with a single character. (Bug#14111)
4d3268ba 9217
781b4af6 92182013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9219
9220 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9221 for subroutines defined in an eval (bug#14182).
9222
7d688336
TV
92232013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9224
9225 * bookmark.el (bookmark-completing-read): Improve handling of empty
9226 string (bug#14176).
9227
31dcede0
SM
92282013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9231
adc31213
FEG
92322013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9233
9234 New faster Imenu implementation (bug#14058).
9235 * progmodes/python.el:
9236 (python-imenu-prev-index-position):
9237 (python-imenu-format-item-label-function)
9238 (python-imenu-format-parent-item-label-function)
9239 (python-imenu-format-parent-item-jump-label-function):
9240 New vars.
9241 (python-imenu-format-item-label)
9242 (python-imenu-format-parent-item-label)
9243 (python-imenu-format-parent-item-jump-label)
9244 (python-imenu--put-parent, python-imenu--build-tree)
9245 (python-imenu-create-index, python-imenu-create-flat-index)
9246 (python-util-popn): New functions.
9247 (python-mode): Set imenu-create-index-function to
9248 python-imenu-create-index.
9249
cdca8255
SM
92502013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * winner.el (winner-active-region): Use region-active-p, activate-mark
9253 and deactivate-mark (bug#14225).
9254
9255 * simple.el (deactivate-mark): Don't inline it.
9256
beb42340
MA
92572013-04-18 Michael Albinus <michael.albinus@gmx.de>
9258
9259 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9260
fc7f4d7e
TH
92612013-04-18 Tassilo Horn <tsdh@gnu.org>
9262
9263 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9264 file extensions from the archive-mode entry in order to prefer
9265 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9266
29f47822
LL
92672013-04-18 Leo Liu <sdl.web@gmail.com>
9268
9269 * bindings.el (help-event-list): Add ?\?.
9270
d36ed1c8
SM
92712013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * subr.el (with-wrapper-hook): Declare obsolete.
9274 * simple.el (filter-buffer-substring-function): New hook.
9275 (filter-buffer-substring): Use it.
9276 (filter-buffer-substring-functions): Mark obsolete.
9277 * minibuffer.el (completion-in-region-function): New hook.
9278 (completion-in-region): Use it.
9279 (completion-in-region-functions): Mark obsolete.
9280 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9281 * abbrev.el (abbrev-expand-function): New hook.
9282 (expand-abbrev): Use it.
9283 (abbrev-expand-functions): Mark obsolete.
9284 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9285 and :filter-return.
9286
04754d36
FEG
92872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9288
9289 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9290 and do not care about match data.
9291
dd8791e9
SM
92922013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9295 completion tables when completing error conditions and
9296 `declare' arguments.
9297 (lisp-complete-symbol, field-complete): Mark as obsolete.
9298 (check-parens): Unmatched parens are user errors.
9299 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9300
ffe54a13
AM
93012013-04-17 Michal Nazarewicz <mina86@mina86.com>
9302
dd8791e9
SM
9303 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9304 command changed buffer (ie. `flyspell-pre-buffer' is not current
9305 buffer), which prevents making decisions based on invalid value of
9306 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9307 cause an error when `flyspell-pre-point' was nil after switching
9308 buffers.
9309 (flyspell-post-command-hook): No longer needs to change buffers when
9310 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9311
ec7e39f2
AM
93122013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9313
9314 * textmodes/ispell.el (ispell-add-per-file-word-list):
9315 Fix `flyspell-correct-word-before-point' error when accepting
9316 words and `coment-padding' is an integer by using
9317 `comment-normalize-vars' (Bug #14214).
9318
083850a6
FEG
93192013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9320
9321 New defun movement commands.
9322 * progmodes/python.el (python-nav--syntactically)
9323 (python-nav--forward-defun, python-nav-backward-defun)
9324 (python-nav-forward-defun): New functions.
9325
619ed6e1
FEG
93262013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9327
9328 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9329 (python-syntax-context): Use named compiler-macro for backwards
9330 compatibility with Emacs 24.x.
9331
7a1beb6c
LL
93322013-04-17 Leo Liu <sdl.web@gmail.com>
9333
9334 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9335 octave-hide-process-buffer.
9336
2d3fa3e5
SM
93372013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9340 (bug#14216).
9341
7ce5be54
JPG
93422013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9343
9344 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9345 Fix adjustment of offset when receiving incomplete responses from GDB
9346 (bug#14129).
9347
351edece
SM
93482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9351 python-mode-abbrev-table.
9352 (python-skeleton-define): Adjust accordingly.
9353 (python-mode-abbrev-table): New table that inherits from it so that
9354 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9355
9356 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9357 (abbrev-symbol): Use it.
9358 (abbrev--before-point): Use it since we already handle inheritance.
9359
613f9481
LL
93602013-04-16 Leo Liu <sdl.web@gmail.com>
9361
9362 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9363 binding to info-lookup-symbol.
9364
51646b62
JB
93652013-04-16 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * minibuffer.el (completion--twq-all):
9368 * term/ns-win.el (ns-initialize-window-system):
9369 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9370
efb3f01d
SM
93712013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9372
36c0a301
SM
9373 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9374 global bindings.
9375
efb3f01d
SM
9376 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9377
fb549d64
DG
93782013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9379
9380 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9381 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9382 to nil.
9383 (ruby-end-of-defun): Remove the unused arg, change the docstring
9384 to reflect that this function is only used as the value of
9385 `end-of-defun-function'.
9386 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9387 to reflect an earlier change that beginning/end-of-defun functions
9388 jump between methods in a class definition, as well as top-level
9389 functions.
9390
21e8fe2f
SM
93912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * minibuffer.el (minibuffer-complete): Don't just scroll
9394 a *Completions* that's been iconified.
9395 (minibuffer-force-complete): Make sure repetitions do cycle when going
9396 through completion-in-region -> minibuffer-complete.
9397
20e527d0
AM
93982013-04-15 Alan Mackenzie <acm@muc.de>
9399
9400 Correct the placement of c-cpp-delimiters when there're #s not at
9401 col 0.
9402
9403 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9404 place a submatch around the #.
21e8fe2f
SM
9405 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9406 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9407 on the #, not BOL.
9408
dabefae5
SM
94092013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9412 (advice--member-p): New arg `name'.
9413 (advice--add-function, advice-member-p): Use it (bug#14202).
9414
85c9ab64
AM
94152013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9416
9417 Reformulate java imenu-generic-expression.
9418 The old expression contained ill formed regexps.
9419
9420 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9421 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9422 (cc-imenu-java-method-arg-regexp): New defconsts.
9423 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9424 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9425 handling of spaces in the regexp.
9426
0f821d99
AM
94272013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9428
9429 * textmodes/ispell.el (ispell-command-loop): Remove
9430 flyspell highlight of a word when ispell accepts it (bug #14178).
9431
eb922adf
MA
94322013-04-15 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9435 uses code from the previous `ange-ftp-run-real-handler'.
9436 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9437 only in case that function exist. This is needed for proper
9438 unloading of Tramp.
9439
4d9a0979
TH
94402013-04-15 Tassilo Horn <tsdh@gnu.org>
9441
9442 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9443
9444 * textmodes/reftex.el (reftex-compile-variables): Use it.
9445
a829b0dc
SM
94462013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9447
91e8293c
SM
9448 * files.el (normal-mode): Only use default major-mode if no other mode
9449 was specified.
9450
830aed4d
SM
9451 * emacs-lisp/trace.el (trace-values): New function.
9452
a829b0dc
SM
9453 * files.el: Allow : in local variables (bug#14089).
9454 (hack-local-variable-regexp): New var.
9455 (hack-local-variables-prop-line, hack-local-variables): Use it.
9456
7ae9f0fb
RW
94572013-04-13 Roland Winkler <winkler@gnu.org>
9458
9459 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9460 data before it gets modified by bibtex-beginning-of-entry.
9461
6646e848
RW
94622013-04-13 Roland Winkler <winkler@gnu.org>
9463
9464 * textmodes/bibtex.el (bibtex-url): Doc fix.
9465
94662013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9467
9468 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9469 does not visit a BibTeX file, exclude it from the list of buffers
9470 returned by bibtex-initialize.
9471
0aa3616e
SB
94722013-04-13 Stephen Berman <stephen.berman@gmx.net>
9473
9474 * window.el (split-window): Remove interactive form, since as a
9475 command this function is a special case of split-window-below.
9476 Correct doc string.
9477
011cddd6
RW
94782013-04-12 Roland Winkler <winkler@gnu.org>
9479
9480 * faces.el (read-face-name): Do not override value of arg default.
9481 Allow single faces and strings as default values. Remove those
9482 elements from return value that are not faces.
9483 (describe-face): Simplify.
9484 (face-at-point): New optional args thing and multiple so that this
9485 function can provide the same functionality previously provided by
9486 read-face-name.
9487 (make-face-bold, make-face-unbold, make-face-italic)
9488 (make-face-unitalic, make-face-bold-italic, invert-face)
9489 (modify-face, read-face-and-attribute): Use face-at-point.
9490
9491 * cus-edit.el (customize-face, customize-face-other-window)
9492 * cus-theme.el (custom-theme-add-face)
9493 * face-remap.el (buffer-face-set)
9494 * facemenu.el (facemenu-set-face): Use face-at-point.
9495
f24e0036
MA
94962013-04-12 Michael Albinus <michael.albinus@gmx.de>
9497
9498 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9499
da3cda2d
TH
95002013-04-10 Tassilo Horn <tsdh@gnu.org>
9501
9502 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9503 off leading { and trailing } from field values.
9504
15e54145
SM
95052013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9506
78ce603d
SM
9507 * emacs-lisp/timer.el (timer--check): New function.
9508 (timer--time, timer-set-function, timer-event-handler): Use it.
9509 (timer-set-idle-time): Simplify.
9510 (timer--activate): CSE.
9511 (timer-event-handler): Give more info in error message.
9512 (internal-timer-start-idle): New function, moved from C.
9513
15e54145
SM
9514 * mpc.el (mpc-proc): Add `restart' argument.
9515 (mpc-proc-cmd): Use it.
9516 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9517 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9518 less often.
9519
7144c627
MY
95202013-04-10 Masatake YAMATO <yamato@redhat.com>
9521
9522 * progmodes/sh-script.el: Implement `sh-mode' own
9523 `add-log-current-defun-function' (bug#14112).
9524 (sh-current-defun-name): New function.
9525 (sh-mode): Use the function.
9526
b39792eb
BG
95272013-04-09 Bastien Guerry <bzg@gnu.org>
9528
9529 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9530
8acdeb71
SM
95312013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9532
6fcdab68
SM
9533 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9534
8acdeb71
SM
9535 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9536 timer (bug#14156).
9537
e3e7b504
NF
95382013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9539
9540 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9541 declaration.
9542
201bb296
LL
95432013-04-07 Leo Liu <sdl.web@gmail.com>
9544
9545 * pcmpl-x.el: New file.
9546
ebb19708
DA
95472013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9548
9549 Do not set x-display-name until X connection is established.
9550 This is needed to prevent from weird situation described at
9551 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9552 * frame.el (make-frame): Set x-display-name after call to
9553 window system initialization function, not before.
9554 * term/x-win.el (x-initialize-window-system): Add optional
9555 display argument and use it.
9556 * term/w32-win.el (w32-initialize-window-system):
9557 * term/ns-win.el (ns-initialize-window-system):
9558 * term/pc-win.el (msdos-initialize-window-system):
9559 Add compatible optional display argument.
9560
33bb237a
EZ
95612013-04-06 Eli Zaretskii <eliz@gnu.org>
9562
9563 * files.el (normal-backup-enable-predicate): On MS-Windows and
9564 MS-DOS compare truenames of temporary-file-directory and of the
9565 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9566 don't fail comparison by compare-strings. Also, compare file
9567 names case-insensitively on MS-Windows and MS-DOS.
9568
134abf1f
SM
95692013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9572 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9573
d695cb94
DG
95742013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9575
e3e7b504
NF
9576 * whitespace.el (whitespace-color-on, whitespace-color-off):
9577 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9578
f4ad7ea1 95792013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9580
9581 * ispell.el (ispell-set-spellchecker-params):
9582 Really set `ispell-args' for all equivs.
9583
632556e4
SM
95842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9585
9586 * ido.el (ido-completions): Use extra elements of ido-decorations
9587 (bug#14143).
9588 (ido-decorations): Update docstring.
9589
2a417372
MA
95902013-04-05 Michael Albinus <michael.albinus@gmx.de>
9591
9592 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9593 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9594 nil during initialization, in order not to miss changes since the
9595 file was opened. (Bug#14140)
9596
fc164b0c
LL
95972013-04-05 Leo Liu <sdl.web@gmail.com>
9598
9599 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9600
0ccecc08
JB
96012013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9602
9603 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9604
51af1aa2
GM
96052013-04-04 Glenn Morris <rgm@gnu.org>
9606
9607 * electric.el (electric-pair-inhibit-predicate): Add :version.
9608
b208ebc6
SM
96092013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9612 when a package is required several times (bug#14082).
9613
f3d3eaf0
RW
96142013-04-04 Roland Winkler <winkler@gnu.org>
9615
9616 * faces.el (read-face-name): Behave as promised by the docstring.
9617 Assume that arg default is a list of faces.
9618 (describe-face): Call read-face-name with list of default faces.
9619
2575da50
TV
96202013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9621
9622 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9623 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9624 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9625 the header.
9626 (bookmark-exit-hook-internal): Save even if list is empty.
9627
397703b4
YH
96282013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9629
9630 * emacs-lisp/package.el (package-pinned-packages): New var.
9631 (package--add-to-archive-contents): Obey it (bug#14118).
9632
691e26ae
AM
96332013-04-03 Alan Mackenzie <acm@muc.de>
9634
8a621d53
JB
9635 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9636 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9637
9638 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9639 parameter `not-in-delimiter'. Handle being inside comment opener.
9640 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9641 character in case we're typing a '*' after a '/'.
9642 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9643 instead by passing the parameter to c-state-pp-to-literal.
9644
9645 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9646 for elt. 7 of a parse state.
9647
4b725a70
PE
96482013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9649
9650 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9651 * international/latin1-disp.el, international/mule-util.el:
9652 * language/cyril-util.el, language/european.el, language/ind-util.el:
9653 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9654 * language/tibetan.el, language/viet-util.el:
9655 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9656
15c579f0
SM
96572013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9660 (electric-pair-post-self-insert-function): Use it.
9661 (electric-pair-default-inhibit): New function, extracted from
9662 electric-pair-post-self-insert-function.
9663
a77e2924
RW
96642013-03-31 Roland Winkler <winkler@gnu.org>
9665
9666 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9667
2bd8a4a8
SM
96682013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9671
8d3655be 96722013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9673
9674 Un-indent after "pass" and "return" statements (Bug#13888)
9675 * progmodes/python.el (python-indent-block-enders): New var.
9676 (python-indent-calculate-indentation): Use it.
9677
8d3655be 96782013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9679
9680 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9681 defun. Defining it as defalias could introduce too eager
9682 byte-compiler optimization. (Bug#14030)
9683
8d3655be 96842013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9685
9686 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9687
0b1619da
LL
96882013-03-30 Leo Liu <sdl.web@gmail.com>
9689
9690 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9691 (kmacro-execute-from-register): Pass the keyboard macro to
9692 kmacro-call-macro or repeating won't work correctly.
9693
0b938190
TZ
96942013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9695
9696 * progmodes/subword.el: Back to using `forward-symbol'.
9697
9698 * subr.el (forward-whitespace, forward-symbol)
9699 (forward-same-syntax): Move from thingatpt.el.
9700
35710234
LL
97012013-03-29 Leo Liu <sdl.web@gmail.com>
9702
9703 * kmacro.el (kmacro-to-register): New command.
9704 (kmacro-execute-from-register): New function.
9705 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9706
efc0bb73
SM
97072013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * mpc.el: Use defvar-local and setq-local.
9710 (mpc--proc-connect): Connection failures are not bugs.
9711 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9712 (mpc-volume-map): Bind to the up-events.
9713
75a2f981
TZ
97142013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9715
9716 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9717 instead of `forward-symbol'.
9718
17c781d1
SM
97192013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9722 (edebug--recursive-edit): Use it.
9723 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9724 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9725
f67bfbcf
LL
97262013-03-28 Leo Liu <sdl.web@gmail.com>
9727
9728 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9729
b59f639d
EZ
97302013-03-27 Eli Zaretskii <eliz@gnu.org>
9731
9732 * facemenu.el (list-colors-callback): New defvar.
9733 (list-colors-redisplay): New function.
9734 (list-colors-display): Install list-colors-redisplay as the
9735 revert-buffer-function. (Bug#14063)
9736
f557c1b1
SM
97372013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9738
b1da2957
SM
9739 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9740 and suffixes don't overlap (bug#14061).
9741
f557c1b1
SM
9742 * case-table.el: Use lexical-binding.
9743 (case-table-get-table): New function.
9744 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9745
002668e1
TZ
97462013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9747
9748 * progmodes/subword.el: Add `superword-mode' to do word motion
9749 over symbol_words (parallels and leverages `subword-mode' which
9750 does word motion inside MixedCaseWords).
9751
73572c72
AG
97522013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9753
78b8f320 9754 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9755 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9756
69b2c07e
SM
97572013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9760 Change return value to be a sexp. Delay `get-buffer' to after
9761 restoring the desktop (bug#13951).
9762
08bb5ee2
LL
97632013-03-26 Leo Liu <sdl.web@gmail.com>
9764
9765 * register.el: Move semantic tag handling back to
9766 cedet/semantic/senator.el. (Bug#14052)
9767
8d4c974e
SM
97682013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9769
9770 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9771 into the prompt either (bug#13963).
9772
b234d92c
SM
97732013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9776 part of "(error-foo)".
9777
ddfa3cb4
JL
97782013-03-24 Juri Linkov <juri@jurta.org>
9779
9780 * replace.el (list-matching-lines-prefix-face): New defcustom.
9781 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9782 `occur-engine' if `face-differs-from-default-p' returns t.
9783 (occur-engine): Add `,' inside backquote construct to evaluate
9784 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9785 Pass `prefix-face' to the functions `occur-context-lines' and
9786 `occur-engine-add-prefix'.
9787 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9788 `prefix-face' and propertize the prefix with `prefix-face'.
9789 (Bug#14017)
9790
7b0e2f85
LL
97912013-03-24 Leo Liu <sdl.web@gmail.com>
9792
9793 * nxml/rng-valid.el (rng-validate-while-idle)
9794 (rng-validate-quick-while-idle): Guard against deleted buffer.
9795 (Bug#13999)
9796
9797 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9798 is the last entry in kill-buffer-hook.
9799
9800 * files.el (kill-buffer-hook): Doc fix.
9801
b3082f49
DG
98022013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9803
b234d92c
SM
9804 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9805 Make it safe-local.
bde73d27 9806
b3082f49
DG
9807 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9808
a320a2db
LL
98092013-03-23 Leo Liu <sdl.web@gmail.com>
9810
7e74b0fb
LL
9811 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9812 Remove.
9813
9814 * nxml/rng-valid.el (rng-validate-mode)
9815 (rng-after-change-function, rng-do-some-validation):
9816 * nxml/rng-maint.el (rng-validate-buffer):
9817 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9818 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9819 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9820 (nxml-extend-after-change-region): Use with-silent-modifications.
9821
a320a2db
LL
9822 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9823 timer-idle-list.
9824
9825 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9826 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9827 timer-idle-list. (Bug#13999)
9828
e38e6780
JL
98292013-03-23 Juri Linkov <juri@jurta.org>
9830
9831 * info.el (info-index-match): New face.
9832 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9833 main pattern and add text properties with the new face to matches
9834 in index entries relative to the beginning of the index entry.
9835 (Bug#14015)
9836
e8cc7880
DE
98372013-03-21 Eric Ludlam <zappo@gnu.org>
9838
9839 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9840 Inhibit read only while inserting objects.
9841
9bb0d822
TZ
98422013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9843
9844 * progmodes/cfengine.el: Update docs to mention
9845 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9846 symbol motion. Remove "_" from the word syntax.
9847
aa703640
TZ
98482013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9849
9850 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9851 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9852
afff09d0
JL
98532013-03-20 Juri Linkov <juri@jurta.org>
9854
9855 * info.el (Info-next-reference-or-link)
9856 (Info-prev-reference-or-link): New functions.
9857 (Info-next-reference, Info-prev-reference): Use them.
9858 (Info-try-follow-nearest-node): Handle footnote navigation.
9859 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9860
9a1ff164
SM
98612013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9864 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9865
2667d15d
PE
98662013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9867
9868 Suppress unnecessary non-ASCII chatter during build process.
9869 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9870 (batch-skkdic-convert): Suppress most of the chatter.
9871 It's not needed so much now that machines are faster,
9872 and its non-ASCII component was confusing; see Dmitry Gutov in
9873 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9874
438b0579
LL
98752013-03-20 Leo Liu <sdl.web@gmail.com>
9876
9877 * ido.el (ido-chop): Fix bug#10994.
9878
c128ab07
DG
98792013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9880
9881 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9882 Remove vars.
9a1ff164
SM
9883 (whitespace-color-on, whitespace-color-off):
9884 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9885
0e6008c5
SM
98862013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9889 remapping in mode-line.
9890 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9891
627b52b0
DG
98922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9893
9894 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9895 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9896 (whitespace-font-lock-keywords): Change description.
9897 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9898 the constructed keywords instead.
9899 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9900
50c3a20b
LL
99012013-03-19 Leo Liu <sdl.web@gmail.com>
9902
9903 * progmodes/compile.el (compilation-display-error): New command.
9904 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9905 C-o. (Bug#13992)
9906
2aa2157b
PE
99072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9908
9909 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9910
e477dbfa
JD
99112013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9912
9913 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9914
64ab82d1
MA
99152013-03-18 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9918
9919 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9920 * net/tramp-gvfs.el (top):
9921 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9922 (tramp-handle-shell-command): Use it.
9923 (tramp-dissect-file-name): Raise an error when hostname is a
9924 method name, and neither method nor user is specified.
9925
9926 * net/trampver.el: Update release number.
9927
33cef733
LL
99282013-03-18 Leo Liu <sdl.web@gmail.com>
9929
9930 Make sure eldoc can be turned off properly.
9931 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9932 eldoc-mode.
9933 (eldoc-display-message-p): Revert last change.
9934 (eldoc-display-message-no-interference-p)
9935 (eldoc-print-current-symbol-info): Tweak.
9936
2167b7b2
TH
99372013-03-18 Tassilo Horn <tsdh@gnu.org>
9938
9939 * doc-view.el (doc-view-new-window-function): Check the new window
9940 overlay's display property instead the char property of the
9941 buffer's first char. Use `with-selected-window' instead of
9942 `save-window-excursion' with `select-window'.
9943 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9944 display property instead the char property of the buffer's first char.
2167b7b2 9945
982efbcd
PE
99462013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9947
9948 Automate the build of ja-dic.el (Bug#13984).
9949 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9950 from the input, rather than assume that it's been done for us by the
9951 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9952 the current date into a ja-dic.el comment, as that complicates
9953 regression testing.
9954
2fcc7665
SM
99552013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * whitespace.el: Fix double evaluation.
9958 (whitespace-space, whitespace-hspace, whitespace-tab)
9959 (whitespace-newline, whitespace-trailing, whitespace-line)
9960 (whitespace-space-before-tab, whitespace-indentation)
9961 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9962 obsolete defvars.
9963 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9964 (whitespace-color-on): Use a single font-lock-add-keywords call.
9965 Fix double-evaluation of face variables.
9966
67c0a6e6
MA
99672013-03-17 Michael Albinus <michael.albinus@gmx.de>
9968
2fcc7665
SM
9969 * net/tramp-adb.el (tramp-adb-parse-device-names):
9970 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9971 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9972
69489f1d
LL
99732013-03-17 Leo Liu <sdl.web@gmail.com>
9974
9975 Extend eldoc to display info in the mode-line. (Bug#13978)
9976 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9977 (eldoc-mode-line-string): New variable.
9978 (eldoc-minibuffer-message): New function.
9979 (eldoc-message-function): New variable.
9980 (eldoc-message): Use it.
9981 (eldoc-display-message-p)
2fcc7665
SM
9982 (eldoc-display-message-no-interference-p):
9983 Support eldoc-post-insert-mode.
69489f1d
LL
9984
9985 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9986 (eval-expression): Run it.
9987
9c44569e
RW
99882013-03-17 Roland Winkler <winkler@gnu.org>
9989
9990 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9991 strings in the list of return values.
9992
327f1f6f
JB
99932013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9994
9995 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9996 radix before checking for HMS forms.
9997
67ed8fcd
LL
99982013-03-16 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/scheme.el: Add indentation and font-locking for λ.
10001 (Bug#13975)
10002
78be8b64 100032013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10004
10005 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10006 token before point (bug#13942).
10007
78be8b64 100082013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10009
95b43468 10010 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10011
98e775e6
EZ
100122013-03-16 Eli Zaretskii <eliz@gnu.org>
10013
10014 * startup.el (command-line-normalize-file-name): Fix handling of
10015 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10016 <xfq.free@gmail.com> in
10017 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10018
2edd6029
MA
100192013-03-15 Michael Albinus <michael.albinus@gmx.de>
10020
10021 Sync with Tramp 2.2.7.
10022
10023 * net/trampver.el: Update release number.
10024
d35f5864
TH
100252013-03-14 Tassilo Horn <tsdh@gnu.org>
10026
e903c210 10027 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10028 (doc-view-insert-image): Don't modify overlay associated to
10029 non-live windows, and implement horizontal centering of image in
10030 case it's smaller than the window.
10031 (doc-view-new-window-function): Force redisplay of new windows on
10032 doc-view buffers.
d35f5864 10033
1c4a85ed
KF
100342013-03-13 Karl Fogel <kfogel@red-bean.com>
10035
10036 * saveplace.el (save-place-alist-to-file): Don't sort
10037 `save-place-alist', just pretty-print it (bug#13882).
10038
85b66a21
MA
100392013-03-13 Michael Albinus <michael.albinus@gmx.de>
10040
a020afb9
JB
10041 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10042 Check whether `default-file-name-coding-system' is bound.
10043 It isn't in XEmacs.
85b66a21 10044
175600da
SM
100452013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10046
e7f7cb1a
SM
10047 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10048 backquotes for `obsolete' (bug#13929).
10049
175600da
SM
10050 * international/mule.el (find-auto-coding): Include file name in
10051 obsolescence warning (bug#13922).
10052
ca68a22e
TZ
100532013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10054
10055 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10056 for CFEngine 3-specific indentation.
10057 (cfengine3-indent-line): Use it. Fix up category regex.
10058 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10059
940e5099
SM
100602013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * type-break.el (type-break-file-name):
10063 * textmodes/remember.el (remember-data-file):
10064 * strokes.el (strokes-file):
10065 * shadowfile.el (shadow-initialize):
10066 * saveplace.el (save-place-file):
10067 * ps-bdf.el (bdf-cache-file):
10068 * progmodes/idlwave.el (idlwave-config-directory):
10069 * net/quickurl.el (quickurl-url-file):
10070 * international/kkc.el (kkc-init-file-name):
10071 * ido.el (ido-save-directory-list-file):
10072 * emulation/viper.el (viper-custom-file-name):
10073 * emulation/vip.el (vip-startup-file):
10074 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10075 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10076
cc725808
PE
100772013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10078
10079 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10080 * language/thai-word.el: Switch to UTF-8.
10081
a020afb9 10082See ChangeLog.16 for earlier changes.
e3d51b27
MR
10083
10084;; Local Variables:
10085;; coding: utf-8
e3d51b27
MR
10086;; End:
10087
ab422c4d 10088 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10089
10090 This file is part of GNU Emacs.
10091
10092 GNU Emacs is free software: you can redistribute it and/or modify
10093 it under the terms of the GNU General Public License as published by
10094 the Free Software Foundation, either version 3 of the License, or
10095 (at your option) any later version.
10096
10097 GNU Emacs is distributed in the hope that it will be useful,
10098 but WITHOUT ANY WARRANTY; without even the implied warranty of
10099 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10100 GNU General Public License for more details.
10101
10102 You should have received a copy of the GNU General Public License
10103 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.