* src/textprop.c (text_property_stickiness): Fix front-stickiness at BOB.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5f5b128d
DK
12013-11-23 David Kastrup <dak@gnu.org>
2
3 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4 on the conflict markers when available.
5 (smerge--get-marker): New function.
6 (smerge-end-re, smerge-base-re): Add subgroup.
7
623891e5
SM
82013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * frame.el (handle-focus-in, handle-focus-out): Add missing
11 interactive spec.
12
05ca27d8
MA
132013-11-25 Michael Albinus <michael.albinus@gmx.de>
14
15 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
17
511fa0d3
SM
182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
19
e82ad66c
SM
20 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
21 (gomoku--last-pos): New var.
22 (gomoku--intangible-chars): New const.
23 (gomoku--intangible): New function.
24 (gomoku-mode): Use it. Derive from special-mode.
25 (gomoku-move-up): Adjust line count.
26 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
27 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
28 Simplify accordingly.
29
511fa0d3
SM
30 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
31 Remove blink-cursor code.
32 (blink-cursor-timer-function, blink-cursor-suspend):
33 Don't special-case GUIs.
34 (blink-cursor-mode): Use focus-in/out-hook.
35
6f20dd03
DG
362013-11-25 Dmitry Gutov <dgutov@yandex.ru>
37
38 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
39 work when annotation is invisible (Bug#13886).
40
431dec31 412013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
42
43 * json.el (json-alist-p): Only return non-nil if the alist has
44 simple keys (Bug#13518).
45
431dec31 462013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
47
48 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
49 when control-statement is the first statement in a buffer (Bug#15956).
50
ee4f0261
DG
512013-11-24 Dmitry Gutov <dgutov@yandex.ru>
52
53 * imenu.el (imenu-generic-skip-comments-and-strings):
54 New option (Bug#15560).
55 (imenu--generic-function): Use it.
56
c484f866
JS
572013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
58
59 * minibuffer.el (completion--in-region-1): Scroll the correct
60 window. (Bug#13898)
61
41ce6f70
BB
622013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
63
b55aea38
BB
64 * emacs-lisp/helpers.el: Add some string helpers.
65 (string-trim-left): Removes leading whitespace.
66 (string-trim-right): Removes trailing whitespace.
67 (string-trim): Removes leading and trailing whitespace.
68
41ce6f70
BB
69 * subr.el (string-suffix-p): New function.
70
3cfb6af3
GM
712013-11-23 Glenn Morris <rgm@gnu.org>
72
73 * progmodes/python.el (python-shell-send-file):
74 Add option to delete file when done. (Bug#15647)
75 (python-shell-send-string, python-shell-send-region): Use it.
76
c27924b7
IS
772013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
78
e1b01c7f
IS
79 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
80 to set buffer-read-only to t, never to nil. (Bug#15938)
81
c27924b7
IS
82 * textmodes/tex-mode.el (latex-noindent-environments):
83 Add safe-local-variable property. (Bug#15936)
84
17e0445b
GM
852013-11-23 Glenn Morris <rgm@gnu.org>
86
92f78ea3
GM
87 * textmodes/enriched.el (enriched-mode): Doc fix.
88 * emacs-lisp/authors.el (authors-renamed-files-alist):
89 Add enriched.doc -> enriched.txt.
90
17e0445b
GM
91 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
92
965bb23a
LL
932013-11-22 Leo Liu <sdl.web@gmail.com>
94
95 * progmodes/octave.el (inferior-octave-startup): Spit out error
96 message.
97
d19ffd64
BB
982013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
99
100 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
101 Improve docstring.
15ba2182
BB
102 Add :version.
103 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 104
7a7567d2
LL
1052013-11-22 Leo Liu <sdl.web@gmail.com>
106
107 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
108 (Bug#15076)
8c09f64b
LL
109 (octave-help-mode): Adapt to change to help-mode-finish to use
110 derived-mode-p on 2013-09-17.
111 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 112 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 113
724bc265
LL
1142013-11-22 Leo Liu <sdl.web@gmail.com>
115
116 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
117 (inferior-octave-startup, inferior-octave-check-process)
118 (inferior-octave-track-window-width-change)
119 (octave-completion-at-point, octave-eldoc-function): Use it.
120 (octave-kill-process): Provide confirmation. (Bug#10564)
121
38637cca
LL
1222013-11-21 Leo Liu <sdl.web@gmail.com>
123
511fa0d3
SM
124 * progmodes/octave.el (octave-mode, inferior-octave-mode):
125 Fix obsolete variable comment-use-global-state.
38637cca 126
06e752b4
RS
1272013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
128
511fa0d3
SM
129 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
130 Add `octave-source-file'.
06e752b4
RS
131 (octave-source-file): New function. (Bug#15935)
132
604ede6c
TZ
1332013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
134
135 * net/eww.el (eww-local-regex): New variable.
136 (eww): Use it to detect localhost and similar.
137
b6ffa04a
LL
1382013-11-21 Leo Liu <sdl.web@gmail.com>
139
140 Add completion for command `ag'.
2021a200
LL
141 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
142 (pcomplete/ag): New function.
143 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 144
d1a6bccc
SM
1452013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
148 (bug#14646).
149 (make-obsolete): Remove interactive spec.
150
2df10228
GM
1512013-11-21 Glenn Morris <rgm@gnu.org>
152
153 * startup.el (command-line-1): Use path-separator with -L.
154
86fd16b6
TZ
1552013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
156
157 * emacs-lisp/package.el (describe-package-1): Add package archive
158 to shown fields.
159
7a12a42b
BB
1602013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
161
162 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
163 Change default to "# encoding: %s" to differentiate it from the
164 default Ruby encoding comment template.
165
dc7e8c17 1662013-11-20 era eriksson <era+emacsbugs@iki.fi>
167
168 * ses.el (ses-mode): Doc fix. (Bug#14748)
169
f0cfa5fe
LL
1702013-11-20 Leo Liu <sdl.web@gmail.com>
171
172 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
173
826dc7b6
DN
1742013-11-19 Dan Nicolaescu <dann@gnu.org>
175
176 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
177 when rebase or bisect are in progress.
178
a6e3a5d5
XF
1792013-11-19 Xue Fuqiao <xfq.free@gmail.com>
180
181 * filenotify.el (file-notify-add-watch): Doc fix.
182
f130cb76
LL
1832013-11-19 Leo Liu <sdl.web@gmail.com>
184
e0855d7d
LL
185 * obsolete/rcompile.el: Mark obsolete.
186
f130cb76 187 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
188 (compilation-goto-locus, compilation-find-file):
189 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
190 (Bug#13594)
191
192 * window.el (display-buffer-alist, display-buffer): Document the
193 new parameter no-display-ok.
194
1f35d401
SM
1952013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
196
25158c76
SM
197 * electric.el (electric-indent-mode-map): Remove.
198 (electric-indent-mode): Change the global-map instead (bug#15915).
199
200 * textmodes/text-mode.el (paragraph-indent-minor-mode):
201 Use add-function.
1f35d401 202
9bc67baa
SM
2032013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
204
986545b5
SM
205 * emacs-lisp/nadvice.el (remove-function): Align with
206 add-function's behavior.
207
9bc67baa
SM
208 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
209 (gdb--string-regexp): New constant.
210 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
211 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
212 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
213 submatch 1.
214 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
215 Adjust use accordingly.
216 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
217
56cd894e
AS
2182013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
219
220 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
221 interpolation curlies (Bug#15914).
222
014690de
JB
2232013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
224
225 * calc/calc.el (calc-context-sensitive-enter): New variable.
226 (calc-enter): Use `calc-context-sensitive-enter'.
227
7e26a6c3
TZ
2282013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
229
230 * progmodes/cfengine.el: Version bump.
231 (cfengine-cf-promises): New defcustom to locate cf-promises.
232 (cfengine3-vartypes): Add new "data" type.
233 (cfengine3--current-word): New function to get current name-like
234 word or its bounds.
235 (cfengine3--current-function): New function to look up a CFEngine
236 function's definition.
237 (cfengine3-format-function-docstring): New function.
238 (cfengine3-make-syntax-cache): New function.
239 (cfengine3-documentation-function): New function: ElDoc glue.
240 (cfengine3-completion-function): New function: completion glue.
241 (cfengine3-mode): Set `compile-command',
242 `eldoc-documentation-function', and add to
243 `completion-at-point-functions'.
244
355204dd
MA
2452013-11-16 Michael Albinus <michael.albinus@gmx.de>
246
247 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
248 `tramp-current-connection'.
249
43cebc23
DG
2502013-11-15 Dmitry Gutov <dgutov@yandex.ru>
251
252 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
253 nil/self/true/false with "end of symbol".
254
a3fed6ff
BB
2552013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
256
257 * subr.el (version-regexp-alist): Fix a typo.
258
e675b3e4
MA
2592013-11-15 Michael Albinus <michael.albinus@gmx.de>
260
261 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
262 "en_US.utf8" and "LC_CTYPE" to "".
263 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
264 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
265
a1f03e89
LL
2662013-11-15 Leo Liu <sdl.web@gmail.com>
267
268 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
269
5d9d9451
SM
2702013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
271
58362662
CS
272 * progmodes/gud.el (ctl-x-map):
273 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
274 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
275
6c1bf086
BB
2762013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
277
0d5363c4
BB
278 * subr.el (version-regexp-alist):
279 Recognize hg, svn and darcs versions as snapshot versions.
280
6c1bf086
BB
281 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
282 Add the ability to always insert an utf-8 encoding comment.
99f5d074 283 Fix and simplify coding comment update logic.
6c1bf086 284
2f7e72f8
MA
2852013-11-14 Michael Albinus <michael.albinus@gmx.de>
286
287 * net/tramp-gvfs.el (top): Run init code only when
288 `tramp-gvfs-enabled' is not nil.
289 (tramp-gvfs-enabled): Check also :system bus.
290
0f137a73
SM
2912013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 Sync with upstream verilog-mode revision 78e66ba.
294 * progmodes/verilog-mode.el (verilog-end-of-defun)
295 (verilog-type-completion, verilog-get-list): Remove unused funcs.
296 (verilog-get-end-of-defun): Remove unused argument.
297 (verilog-comment-depth): Remove unused local `e'.
298 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
299 Don't pass arg to verilog-get-end-of-defun.
300
1c276bdd
GM
3012013-11-14 Glenn Morris <rgm@gnu.org>
302
303 * obsolete/assoc.el (aget): Prefix dynamic variable.
304
305 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
306
ff6ec81d
SM
3072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * widget.el, hfy-cmap.el: Remove bogus package version number.
310
75f777b6
GM
3112013-11-13 Glenn Morris <rgm@gnu.org>
312
1d43dba1
GM
313 * replace.el (replace-eval-replacement):
314 Try to give more helpful error message. (Bug#15836)
315
ff4b7bd5
GM
316 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
317 (archive-7z-update): Avoid custom type mismatches.
318
75f777b6
GM
319 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
320
11151a06
MA
3212013-11-13 Michael Albinus <michael.albinus@gmx.de>
322
e675b3e4 323 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
324 address can be empty.
325
326 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
327 Accept nil SWITCHES.
328 (tramp-gvfs-handle-write-region): Implement APPEND.
329
7b08f97e
DG
3302013-11-12 Dmitry Gutov <dgutov@yandex.ru>
331
332 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
333 binary "|" operator and closing block args delimiter.
334 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
335 (ruby-smie--implicit-semi-p): Not after "|" operator.
336 (ruby-smie--closing-pipe-p): New function.
337 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
338 (ruby-smie-rules): Indent after "|".
339
f201cf3a
GM
3402013-11-12 Glenn Morris <rgm@gnu.org>
341
342 * ps-print.el (ps-face-attribute-list):
343 Handle anonymous faces. (Bug#15827)
344
e6f759f9
MR
3452013-11-12 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (display-buffer-other-frame): Fix doc-string.
348 (Bug#15868)
349
ecda65d4
SM
3502013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * subr.el (force-mode-line-update): Delete, move to buffer.c.
353
7ce8fcc3
MA
3542013-11-11 Michael Albinus <michael.albinus@gmx.de>
355
356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
357 (tramp-sh-handle-file-local-copy): Don't write a message when
358 saving temporary files.
359
360 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
361 both directories are remote.
362 (tramp-smb-handle-directory-files): Do not return double entries.
363 Do not expand full file names.
364 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
365 (tramp-smb-handle-write-region): Implement APPEND.
366 (tramp-smb-get-stat-capability): Fix a stupid bug.
367
7818df11
SM
3682013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
371
608c2085
NT
3722013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
373
374 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
375 throwing error over malformed let/let* (bug#15814).
376
122a7e46
SM
3772013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * iswitchb.el (iswitchb-mode): Mark obsolete.
380
766284d9
GM
3812013-11-11 Glenn Morris <rgm@gnu.org>
382
383 * international/uni-bidi.el, international/uni-category.el:
384 * international/uni-name.el, international/uni-numeric.el:
385 Regenerate for Unicode 6.3.0.
386
7072a4e9
MA
3872013-11-10 Michael Albinus <michael.albinus@gmx.de>
388
389 * net/tramp.el (tramp-methods):
390 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
391 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
392
c9df215b
AS
3932013-11-09 Andreas Schwab <schwab@linux-m68k.org>
394
608c2085
NT
395 * progmodes/sh-script.el (sh-font-lock-keywords-var):
396 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 397
fa47d796
DG
3982013-11-09 Dmitry Gutov <dgutov@yandex.ru>
399
400 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 401 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
402 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
403 (ispell-complete-word): Call `ispell-lookup-words' with the value
404 independent of `ispell-look-p'.
405
1629a329
DG
4062013-11-08 Dmitry Gutov <dgutov@yandex.ru>
407
408 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
409 Not after "||".
410 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
411 their parent.
412
ad16897c
SM
4132013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
416 (ruby-font-lock-keywords): Use backquote.
417
ffa2df72
DG
4182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
419
420 * progmodes/ruby-mode.el (ruby-smie--forward-token)
421 (ruby-smie--backward-token): Only consider full-string matches.
422
5b97b4c0
JD
4232013-11-08 Jan Djärv <jan.h.d@swipnet.se>
424
425 * faces.el (describe-face): Add distant-foreground.
426
71731c03
BB
4272013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
428
ad16897c
SM
429 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
430 Use `ruby-encoding-magic-comment-style' to control the
71731c03
BB
431 style of the auto-inserted encoding comment.
432
da3b328d
DG
4332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
434
ad16897c
SM
435 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
436 Use `smie-backward-sexp' with token argument.
da3b328d 437
1606c2d3
MA
4382013-11-08 Michael Albinus <michael.albinus@gmx.de>
439
440 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
441 Remove instrumentation code.
442
b0f4c320
GM
4432013-11-08 Glenn Morris <rgm@gnu.org>
444
445 * progmodes/autoconf.el (autoconf-mode):
446 Tweak comment-start-skip. (Bug#15822)
447
43668fb1
SM
4482013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
451 at bobp (bug#15826).
452 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
453
daddb3fd
DH
4542013-11-08 Darren Hoo <darren.hoo@gmail.com>
455
456 * man.el (Man-start-calling): New macro, extracted from
457 Man-getpage-in-background.
458 (Man-getpage-in-background): Use it.
459 (Man-update-manpage): New command.
460 (Man-mode-map): Bind it.
461
1f923923
DG
4622013-11-08 Dmitry Gutov <dgutov@yandex.ru>
463
464 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
465 of "and", "or", "&&" and "||".
466 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
467 argument. Prohibit opening curly brace because it could only be a
468 block opener in that position.
daddb3fd
DH
469 (ruby-smie--forward-token, ruby-smie--backward-token):
470 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
471 arguments.
472 (ruby-smie--indent-to-stmt): New function, seeks the end of
473 previous statement or beginning of buffer.
474 (ruby-smie-rules): Use it.
475 (ruby-smie-rules): Check if there's a ":" before a curly block
476 opener candidate; if there is, it's a hash.
477
3220d527
SM
4782013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
481 (cl--block-wrapper): Fix last accidental change.
482
1eb1f9e0
MA
4832013-11-07 Michael Albinus <michael.albinus@gmx.de>
484
485 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
486 Instrument, in order to hunt failure on hydra.
487
e6e4db3c
NT
4882013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
489
490 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
491 malformed bindings form (bug#15814).
492
b420ccfc
DG
4932013-11-07 Dmitry Gutov <dgutov@yandex.ru>
494
495 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
496 "." compared to " @ ". This incidentally fixes some indentation
497 examples with "do".
e6e4db3c 498 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
499 (ruby-smie-grammar): New tokens: "and" and "or".
500 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
501 Exclude "and" and "or". Remove "do" in order to work around token
502 priorities.
503 (ruby-smie-rules): Add all infix tokens. Handle the case of
504 beginning-of-buffer.
b420ccfc 505
6b4ac03e
GM
5062013-11-06 Glenn Morris <rgm@gnu.org>
507
508 * Makefile.in (setwins_almost, setwins_for_subdirs):
509 Avoid accidental matches.
510
5ca114d1
SM
5112013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * menu-bar.el (popup-menu): Use key-binding.
514
f72552bd
EZ
5152013-11-06 Eli Zaretskii <eliz@gnu.org>
516
517 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
518 menus, support also the menus produced by minor modes.
519 (Bug#15817)
520
5d5c701e
LL
5212013-11-06 Leo Liu <sdl.web@gmail.com>
522
523 * thingatpt.el (thing-at-point-looking-at): Add optional arg
524 DISTANCE to bound the search. All uses changed. (Bug#15808)
525
0a8b75e2
GM
5262013-11-06 Glenn Morris <rgm@gnu.org>
527
528 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
529 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
530 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 531
a35287ea
SM
5322013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
533
feca4e2d
SM
534 * electric.el (electric-indent-just-newline): New command.
535 (electric-indent-mode-map): New keymap.
536 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
537 Re-add :group which weren't redundant.
538
a35287ea
SM
539 * electric.el (electric-indent-local-mode): New minor mode.
540 (electric-indent-functions-without-reindent): New var.
541 (electric-indent-post-self-insert-function): Use it.
542 * emacs-lisp/gv.el (buffer-local-value): Add setter.
543
375761b2
EZ
5442013-11-05 Eli Zaretskii <eliz@gnu.org>
545
9a6ad735
EZ
546 * international/quail.el (quail-help): Be more explicit about the
547 meaning of the labels shown on the keys. (Bug#15800)
548
375761b2
EZ
549 * startup.el (normal-top-level): Load the subdirs.el files before
550 setting the locale environment. (Bug#15805)
551
520a6e4a
SM
5522013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
553
0acfafef
SM
554 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
555 via arguments so as to get the right ones (bug#15418).
556
520a6e4a
SM
557 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
558
15826261
MA
5592013-11-05 Michael Albinus <michael.albinus@gmx.de>
560
561 Fix problems found while writing a test suite.
562
563 * net/tramp-compat.el (tramp-compat-load): New defun.
564 * net/tramp.el (tramp-handle-load): Use it.
565
566 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
567 "(numberp ok-if-already-exists)" correctly.
568
d35f31a4
XF
5692013-11-05 Xue Fuqiao <xfq.free@gmail.com>
570
571 * international/characters.el (glyphless-char-display-control):
572 Add usage note.
573
ae93bc74
BB
5742013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
575
520a6e4a
SM
576 * progmodes/python.el (python-mode):
577 * progmodes/scheme.el (scheme-mode):
578 * progmodes/prolog.el (prolog-mode):
579 * progmodes/ruby-mode.el (ruby-mode):
580 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
581 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 582
0ade65b5
SM
5832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
584
a0d5f7a4
SM
585 * rect.el (rectangle--highlight-for-redisplay):
586 * emacs-lisp/smie.el (smie--next-indent-change):
587 Use buffer-chars-modified-tick.
588
c93f3f5c
SM
589 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
590
0ade65b5
SM
591 * electric.el (electric-indent-post-self-insert-function):
592 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
593
ef9dd188
HE
5942013-11-04 Helmut Eller <eller.helmut@gmail.com>
595
596 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
597
306e7308
NT
5982013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
599
600 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
601 (bug#15786).
602
e5afbcac
SM
6032013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
604
1d01ad41
SM
605 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
606
e5afbcac
SM
607 * progmodes/python.el: Fix up last change.
608 (python-shell--save-temp-file): New function.
609 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
610 `string' comes from the current buffer.
611 (python-shell-send-string-no-output): Remove `msg' arg.
612 (python--use-fake-loc): New var.
613 (python-shell-buffer-substring): Obey it. Try to compensate for the
614 extra coding line added by python-shell--save-temp-file.
615 (python-shell-send-region): Use python-shell--save-temp-file and
616 python-shell-send-file directly. Add `nomain' argument.
617 (python-shell-send-buffer): Use python-shell-send-region.
618 (python-electric-pair-string-delimiter): New function.
619 (python-mode): Use it.
620
d0065ff1
EZ
6212013-11-04 Eli Zaretskii <eliz@gnu.org>
622
623 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
624 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
625 environment and decoding all of the default-directory's to here
626 from command-line.
627 (command-line): Decode also argv[0].
628
629 * loadup.el: Error out if default-directory is a multibyte string
630 when we are dumping.
631
632 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
633
7397c587
TZ
6342013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
635
636 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
637 (package-menu--print-info, package-menu--archive-predicate):
638 Add Archive column to package list.
7397c587 639
b27cc9fc
MA
6402013-11-04 Michael Albinus <michael.albinus@gmx.de>
641
642 Fix problems found while writing a test suite.
643
644 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
645 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
646 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
647 to nil when running original file name handler. Otherwise,
648 there are problems with constructs like "$$FOO".
649
650 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
651 for `localname'.
652
d8c4f18a
BB
6532013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
654
7b530552
BB
655 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
656
657 * subr.el (version<, version<=, version=):
658 Update docstrings with information for snapshot versions.
659
d8c4f18a
BB
660 * helpers.el: New library for misc helper functions.
661 (hash-table-keys): New function returning a list of hash keys.
662 (hash-table-values): New function returning a list of hash values.
663
dca01b09
DG
6642013-11-04 Dmitry Gutov <dgutov@yandex.ru>
665
666 * progmodes/ruby-mode.el (ruby-smie--forward-token)
667 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
668
0a749fa0
MN
6692013-11-04 Michal Nazarewicz <mina86@mina86.com>
670
671 * textmodes/fill.el (fill-single-char-nobreak-p): New function
672 checking whether point is after a 1-letter word.
673
6742013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
675
676 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
677 Don't infloop when expanding region over `multiline' syntax-type that
678 begins a line (bug#15778).
679
4aca7145
SM
6802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
683 Make it into a proper minor mode.
684 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
685 (rectangle-mark-mode-map): New keymap.
686 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
687
a0833f62
GM
6882013-11-04 Glenn Morris <rgm@gnu.org>
689
690 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
691
e61845c1
SM
6922013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
695 (ruby-smie-rules): Use smie-rule-parent instead.
696
697 * emacs-lisp/smie.el (smie-rule-parent): Always call
698 smie-indent-virtual rather than only for hanging tokens.
699 (smie--next-indent-change): New helper command.
700
62942f89
GM
7012013-11-03 Glenn Morris <rgm@gnu.org>
702
703 * Makefile.in (abs_srcdir): Remove.
704 (emacs): Unset EMACSLOADPATH.
705
b0b9e592
GM
7062013-11-02 Glenn Morris <rgm@gnu.org>
707
18ba6a33 708 * Makefile.in (EMACS): Use a relative filename.
8061810d 709 (abs_top_builddir): Remove.
18ba6a33
GM
710 (custom-deps, finder-data, autoloads): Use --chdir.
711
6a8b929e
GM
712 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
713
c617f3d0
GM
714 Use relative filenames in TAGS files.
715 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
716 (lisptagsfiles4, TAGS): Use relative file names.
717 (TAGS-LISP): Remove.
718 (maintainer-clean): No more TAGS-LISP file.
719
b0b9e592
GM
720 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
721 (lisptagsfiles4): Use absolute filenames again.
722 (TAGS, TAGS-LISP): Not everything needs to run in one line.
723 Remove all *loaddefs files, not just the first. Remove esh-groups.
724 (maintainer-clean): Delete TAGS, TAGS-LISP.
725
d1c0ea6a
BB
7262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
727
e61845c1
SM
728 * emacs-lisp/package.el (package-version-join):
729 Recognize snapshot versions.
d1c0ea6a 730
684d71c6
BB
7312013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
732
733 * subr.el (version-regexp-alist): Add support for snapshot versions.
734
3d42b968
DG
7352013-11-02 Dmitry Gutov <dgutov@yandex.ru>
736
e61845c1
SM
737 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
738 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
739 skip over our direct parent if it's an assignment token..
740 (ruby-smie-rules): Use it.
741
7ffd3721
DG
7422013-11-02 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/ruby-mode.el Use `syntax-propertize-function'
745 unconditionally. Remove now unnecessary forward declarations.
746 Remove XEmacs-specific setup.
747 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
748 (ruby-font-lock-syntactic-keywords)
749 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
750 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
751 (ruby-here-doc-end-syntax): Remove.
752 (ruby-mode): Don't check whether `syntax-propertize-rules' is
753 defined as function.
754
a3996a2e
BB
7552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
756
757 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
758
6f9260e8
BB
7592013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
760
761 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
762 table and abbrev table, `define-derived-mode' does that for us
763 anyway.
764
6014de84
GM
7652013-11-01 Glenn Morris <rgm@gnu.org>
766
767 * Makefile.in: Remove manual mh-e dependencies (writing .elc
768 files is atomic for some time, so no parallel compilation issues).
769
3c334c14
JD
7702013-11-01 Jan Djärv <jan.h.d@swipnet.se>
771
772 * faces.el (face-x-resources): Add :distant-foreground.
773 (region): Use :distant-foreground for gtk and ns.
774
9bc236c8
TH
7752013-11-01 Tassilo Horn <tsdh@gnu.org>
776
5246583b 777 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
778 BibTeX.
779 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
780 (reftex-locate-bibliography-files): Us it.
781
d14c81ee
CB
7822013-11-01 Claudio Bley <claudio.bley@googlemail.com>
783
0e7690de
CB
784 * image.el (image-type-header-regexps): Fix the 'pbm' part to
785 allow comments in pbm files.
786
d14c81ee
CB
787 * term/w32-win.el (dynamic-library-alist): Support newer versions
788 of libjpeg starting with v7: look only for the DLL from the
789 version against which Emacs was built.
ac1bf374 790 Support versions of libpng beyond 1.4.x.
019c8218 791 Support libtiff v4.x.
d14c81ee 792
983d0df5
BB
7932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
794
795 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
796 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
797 Add property :safe.
798 (ruby-deep-arglist): Add property :type.
799
47f58d85
GM
8002013-10-31 Glenn Morris <rgm@gnu.org>
801
802 * Makefile.in (custom-deps, finder-data): No need to setq the target
803 variables, we are in the right directory and the defaults work fine.
804
4f85b479
GM
8052013-10-30 Glenn Morris <rgm@gnu.org>
806
ca7dd4cd
GM
807 * Makefile.in (autoloads): Do not use abs_lisp.
808
4f85b479
GM
809 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
810 `newline' does not respect `standard-output', so use `princ'.
811
cf59e41c
AA
8122013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
813
814 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
815 * buff-menu.el (Buffer-menu--unmark): New function.
816 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
817
74cf04fb
GM
8182013-10-30 Glenn Morris <rgm@gnu.org>
819
b040b60e
GM
820 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
821
f53d3815
GM
822 * emacs-lisp/package.el (lm-homepage): Declare.
823
5413d873
GM
824 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
825 Fix doc typos.
826
cecedb36
GM
827 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
828
74cf04fb
GM
829 * Makefile.in (finder-data, autoloads, update-subdirs)
830 (compile-main, compile-clean, compile-always, bootstrap-clean):
831 Check return value of cd.
832 (compile-calc): Remove.
833
195ee2f0
SM
8342013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
835
ae4002ce
SM
836 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
837
838 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
839 (byte-compile-and-folded): New function.
840 (=, <, >, <=, >=): Use it.
841
842 * dos-w32.el (minibuffer-history-case-insensitive-variables)
843 (path-separator, null-device, buffer-file-coding-system)
844 (lpr-headers-switches): Check system-type before modifying them.
845 (find-buffer-file-type-coding-system): Mark obsolete.
846 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
847 find-file-not-found-set-buffer-file-coding-system.
848 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
849 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
850 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
851 (w32-direct-print-region-helper, w32-direct-print-region-function)
852 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
853 * startup.el (normal-top-level-add-subdirs-to-load-path):
854 * ps-print.el (ps-print-region-function):
855 * lpr.el (print-region-function): Use new name.
856
53b39e89
SM
857 * subr.el (custom-declare-variable-early): Remove function.
858 (custom-declare-variable-list): Remove var.
859 (error, user-error): Remove `while' loop.
860 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
861 (user-emacs-directory-warning, locate-user-emacs-file):
862 Move to files.el.
863 * simple.el (read-quoted-char-radix, read-quoted-char):
864 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
865 Move from subr.el.
866 * custom.el (custom-declare-variable-list): Don't process
867 custom-declare-variable-list.
868
195ee2f0
SM
869 * progmodes/python.el (python-shell-get-buffer): New function.
870 (python-shell-get-process): Use it.
871 (python-shell-send-string): Always use utf-8 and add a cookie to tell
872 Python which encoding was used. Don't split-string since we only care
873 about the first line. Return the temp-file, if applicable.
874 (python-shell-send-region): Tell compile.el how to turn locations in
875 the temp-file into locations in the source buffer.
876
7e3561ee
SM
8772013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
878
4c9797cb
SM
879 * subr.el (undefined): Add missing behavior from the C code for
880 unbound keys.
881
3472b6c6
SM
882 * rect.el: Use lexical-binding. Add new rectangular region support.
883 (rectangle-mark): New command.
884 (rectangle--region): New var.
885 (deactivate-mark-hook): Reset rectangle--region.
886 (rectangle--extract-region, rectangle--insert-for-yank)
887 (rectangle--highlight-for-redisplay)
888 (rectangle--unhighlight-for-redisplay): New functions.
889 (region-extract-function, redisplay-unhighlight-region-function)
890 (redisplay-highlight-region-function): Use them to handle
891 rectangular region.
892 * simple.el (region-extract-function): New var.
893 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
894 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
895 (kill-region): Replace obsolete `yank-handler' arg with `region'.
896 (copy-region-as-kill, kill-ring-save): Add `region' argument.
897 (redisplay-unhighlight-region-function)
898 (redisplay-highlight-region-function): New vars.
899 (redisplay--update-region-highlight): New function.
900 (pre-redisplay-function): Use it.
901 (exchange-point-and-mark): Don't deactivate the mark before
902 reactivate-it anyway.
903 * comint.el (comint-kill-region): Remove yank-handler argument.
904 * delsel.el (delete-backward-char, backward-delete-char-untabify)
905 (delete-char): Remove property, since it's now part of their
906 default behavior.
907 (self-insert-iso): Remove property since this command doesn't exist.
908
7e3561ee
SM
909 * emacs-lisp/package.el (package--download-one-archive)
910 (describe-package-1): Don't query the user about final newline.
911
b9bef71f
DC
9122013-10-29 Daniel Colascione <dancol@dancol.org>
913
914 * net/tramp.el (tramp-methods): Document new functionality.
915 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
916 tramp-hostname-checker if method provides one instead of scanning
917 argument list for "%h" to decide hostname acceptability.
918
4efc33f0
MA
9192013-10-28 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
922 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
923 Handle COPY-CONTENTS. (Bug#15737)
924
ed42a877
DU
9252013-10-28 Daiki Ueno <ueno@gnu.org>
926
927 * epa-file.el
7e3561ee
SM
928 (epa-file-cache-passphrase-for-symmetric-encryption):
929 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 930
18c9f8a2
XF
9312013-10-27 Xue Fuqiao <xfq.free@gmail.com>
932
7a4bc7be
XF
933 * image.el (defimage):
934 (image-load-path): Doc fixes.
18c9f8a2 935
b1e8e010
AM
9362013-10-27 Alan Mackenzie <acm@muc.de>
937
938 Indent statements in macros following "##" correctly.
7e3561ee
SM
939 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
940 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 941
73d40d1e 9422013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
943
944 * linum.el (linum-update-window): Fix boundary test (bug#13446).
945
c8c605ac
DG
9462013-10-27 Dmitry Gutov <dgutov@yandex.ru>
947
948 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
949 after `=' is probably a new expression.
950
ca7e59d4
RS
9512013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
952
953 * man.el (man-imenu-title): New option.
954 (Man-mode-map): Add menu. (Bug#15722)
955 (Man-mode): Add imenu to menu.
956
bae91342
DG
9572013-10-26 Dmitry Gutov <dgutov@yandex.ru>
958
959 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
960 specific in what the first arg can be: a non-keyword word,
961 string/regexp/percent literal opener, opening paren, or unary
962 operator followed directly by word.
963
eb89dc14
SM
9642013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
967 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
968 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
969 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
970 Remove vars, they do not apply any more.
971 (prolog-mode-abbrev-table): Remove redundant declaration.
972 (prolog-upper-case-string, prolog-lower-case-string): Remove.
973 (prolog-use-smie): Remove.
974 (prolog-smie-rules): Add indentation rule for the if-then-else layout
975 supported by prolog-electric-if-then-else-flag.
976 (prolog-mode-variables, prolog-menu): Use setq-local.
977 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
978 Remove binding to `Backspace' since this key doesn't exist anyway.
979 Remove bindings for electric self-inserting keys.
980 (prog-mode): Assume it's defined.
981 (prolog-post-self-insert): New function.
982 (prolog-mode): Use it.
983 (prolog-indent-line, prolog-indent-level)
984 (prolog-find-indent-of-matching-paren)
985 (prolog-indentation-level-of-line, prolog-goto-comment-column)
986 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
987 (prolog-goto-next-paren, prolog-in-string-or-comment)
988 (prolog-tokenize, prolog-inside-mline-comment)
989 (prolog-find-start-of-mline-comment): Remove functions.
990 (prolog-find-unmatched-paren, prolog-clause-end)
991 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
992 (prolog-electric--if-then-else): Rename from
993 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
994 (prolog-tokenize-searchkey): Remove const.
995 (prolog-clause-info): Use forward-sexp.
996 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
997 (prolog-electric-if-then-else): Remove commands.
998 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
999 for use in post-self-insert-hook.
1000 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1001 for use in post-self-insert-hook.
1002 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1003 for use in post-self-insert-hook.
1004 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1005 adapt it for use in post-self-insert-hook.
1006
3dab0a83
MA
10072013-10-25 Michael Albinus <michael.albinus@gmx.de>
1008
1009 * emacs-lisp/ert.el (ert-run-tests-interactively):
1010 Use `completing-read'. (Bug#9756)
1011
fbfd0e1d
EZ
10122013-10-25 Eli Zaretskii <eliz@gnu.org>
1013
1014 * simple.el (line-move): Call line-move-1 instead of
1015 line-move-visual when the current window hscroll is zero, but
1016 temporary-goal-column indicates we will need to hscroll as result
1017 of the movement. (Bug#15712)
1018
963ce636
DG
10192013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1022 capitalization. Use :visible instead of :active.
1023 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1024 commands that are used with SMIE.
1025 (ruby-do-end-to-brace): Insert space after `{'.
1026
a0be396a
JA
10272013-10-25 John Anthony <john@jo.hnanthony.com>
1028
f73754c9
JA
1029 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1030
1031 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1032
f5bf77df
GM
10332013-10-25 Glenn Morris <rgm@gnu.org>
1034
1035 * vc/vc.el (vc-print-log): Don't use a working revision unless
1036 one was explicitly specified. (Bug#15322)
1037
37241f62
SM
10382013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * subr.el (add-to-list): Preserve return value in compiler-macro
1041 (bug#15692).
1042
6408a65d
RS
10432013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1044
1045 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1046 result. Ask user to retry using '-all' flag. (Bug#15701)
1047
71e3276b
SM
10482013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * emacs-lisp/smie.el: New smie-config system.
1051 (smie-config): New defcustom.
1052 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1053 (smie-config-guess, smie-config-save): New commands.
1054 (smie-config--mode-local, smie-config--buffer-local)
1055 (smie-config--trace, smie-config--modefuns): New vars.
1056 (smie-config--advice, smie-config--mode-hook)
1057 (smie-config--setter, smie-config-local, smie-config--get-trace)
1058 (smie-config--guess-value, smie-config--guess): New functions.
1059 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1060 text properties. Treat "string fence" syntax like string syntax.
1061
1062 * progmodes/sh-script.el (sh-use-smie): Change default.
1063 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1064 (sh-var-value): Simplify by CSE.
1065 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1066 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1067 is used.
1068 (sh-guess-basic-offset): Use cl-incf.
1069 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1070
60db713e
HE
10712013-10-24 Helmut Eller <eller.helmut@gmail.com>
1072
1073 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1074 (bug#15699).
1075
8b251df6
GM
10762013-10-24 Glenn Morris <rgm@gnu.org>
1077
1078 * Makefile.in (abs_top_srcdir): Remove.
1079 (update-subdirs): Use relative path to update-subdirs.
1080
6be0e22b
EZ
10812013-10-24 Eli Zaretskii <eliz@gnu.org>
1082
1083 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1084 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1085 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1086 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1087
50b5b857
MA
10882013-10-24 Michael Albinus <michael.albinus@gmx.de>
1089
1090 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1091 (ert-test-skipped): New error.
1092 (ert-skip, ert-stats-skipped): New defuns.
1093 (ert--skip-unless): New macro.
1094 (ert-test-skipped): New struct.
1095 (ert--run-test-debugger, ert-test-result-type-p)
1096 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1097 (ert--stats-set-test-and-result, ert-char-for-test-result)
1098 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1099 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1100 Handle skipped tests. (Bug#9803)
50b5b857 1101
6f317c2f
GM
11022013-10-24 Glenn Morris <rgm@gnu.org>
1103
e43817c1
GM
1104 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1105
6f317c2f
GM
1106 * Makefile.in (abs_top_srcdir): New, set by configure.
1107 (update-subdirs): Correct build-aux location.
1108
369bbf71
DG
11092013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1110
8297b2cf
DG
1111 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1112 value, whether we could auto-deduce `backend', or not.
1113
369bbf71
DG
1114 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1115 with parameters" example. Simplify the "is it block or is it
1116 hash" check, but also make it more thorough.
1117
d5f1282f
MF
11182013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1119
1120 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1121
bc4aaa31
SM
11222013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1123
03d44565
SM
1124 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1125 { if it is hanging.
1126
bc4aaa31
SM
1127 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1128 :before ";".
1129
f493ff19
JB
11302013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1131
1132 * progmodes/compile.el (compilation-directory-matcher)
1133 (compilation-page-delimiter):
1134 Support GNU Make-4.0 directory quoting. (Bug#15678)
1135
c744a3b9
LL
11362013-10-23 Leo Liu <sdl.web@gmail.com>
1137
1138 * ido.el (ido-tidy): Handle read-only text.
1139
b8e3b0a9
GM
11402013-10-23 Glenn Morris <rgm@gnu.org>
1141
1142 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1143 (emacs, compile, compile-always):
1144 Quote entities that might contain whitespace.
1145 (custom-deps, finder-data, autoloads): Use abs_lisp.
1146 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1147 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1148 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1149
ee4282cd
DG
11502013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1151
bc4aaa31
SM
1152 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1153 Use `following-char'.
7790a270 1154
ee4282cd 11552013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1156
1157 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1158 * progmodes/ruby-mode.el (ruby-smie-rules):
1159 Remove corresponding workaround. Fix indentation rule of ";" so it
1160 also applies when ";" is the parent.
1161
d40a46d7
XF
11622013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1163
1164 * frame.el (display-screens, display-pixel-height)
1165 (display-pixel-width, display-mm-width, display-backing-store)
1166 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1167 (display-visual-class, display-monitor-attributes-list):
1168 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1169
a0f143c9
MG
11702013-10-22 Michael Gauland <mikelygee@amuri.net>
1171
1172 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1173 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1174
18cacc39
DG
11752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1176
1177 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1178 TODO. Add "." after " @ ".
1179 (ruby-smie--at-dot-call): New function. Checks if point at method
1180 call with explicit target.
1181 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1182 to the method name tokens when it precedes them.
1183 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1184 (ruby-smie-rules): Add rule for indentation before and after "."
1185 token.
1186
df74c4be
SM
11872013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1188
c6dab55f
SM
1189 * textmodes/remember.el (remember-diary-extract-entries):
1190 Avoid add-to-list.
1191
df74c4be
SM
1192 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1193 an instruction.
1194
8c1ae481
DG
11952013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1196
cfef16c0
DG
1197 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1198 (ruby-smie--implicit-semi-p): Add new operator chars.
1199
8c1ae481
DG
1200 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1201 `smie-down-list'.
1202 (ruby-smie--args-separator-p): Check that there's no newline
1203 between method call and its arguments.
1204
87756ca9
AM
12052013-10-20 Alan Mackenzie <acm@muc.de>
1206
1207 Allow comma separated lists after Java "implements".
1208
df74c4be
SM
1209 * progmodes/cc-engine.el (c-backward-over-enum-header):
1210 Parse commas.
87756ca9
AM
1211 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1212 from a "disallowed" list in enum fontification.
1213
c25f8957
JB
12142013-10-20 Johan Bockgård <bojohan@gnu.org>
1215
df74c4be 1216 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1217
c25f8957
JB
1218 * progmodes/verilog-mode.el (verilog-mode): Don't set
1219 comment-indent-function globally.
1220
aca5fcdc
JD
12212013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1222
5f161884
JD
1223 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1224 Move Info menu item creation to ns-win.el.
1225
1226 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1227 in menu bar.
1228
aca5fcdc
JD
1229 * menu-bar.el: Move GNUStep specific menus...
1230
1231 * term/ns-win.el (ns-initialize-window-system): ... to here.
1232
914b7f98
SM
12332013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * simple.el (newline): Only run post-self-insert-hook when
1236 called interactively.
1237
846ffe77
JB
12382013-10-19 Johan Bockgård <bojohan@gnu.org>
1239
1240 * icomplete.el (icomplete-with-completion-tables): Add :version.
1241
033f22dd
AM
12422013-10-19 Alan Mackenzie <acm@muc.de>
1243
1244 Fix fontification bugs with constructors and const.
1245
1246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1247 CASE 2) Remove the check for the absence of a suffix construct
1248 after a function declaration with only types (no identifiers) in
1249 the parentheses. Also, accept a function declaration with just a
1250 type inside the parentheses, if this type can be positively
1251 recognised as such, or if a prefix keyword like "explicit" nails
1252 down the construct as a declaration.
1253
58ce0cfc
EZ
12542013-10-19 Eli Zaretskii <eliz@gnu.org>
1255
1256 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1257 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1258 the problem whereby selecting a menu item that leads to a
1259 minibuffer prompt moves the cursor out of the minibuffer window,
1260 making it hard to type at the prompt. Suggested by Stefan Monnier
1261 <monnier@iro.umontreal.ca>.
1262
50e28e7d
JD
12632013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1264
1265 * menu-bar.el: Don't make Services menu.
1266
7deed4bf
RS
12672013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1268
1269 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1270 (ffap-alist): Use ffap-c++-mode for c++-mode.
1271 (ffap-c++-path): New variable.
1272 (ffap-c++-mode): New function.
1273
7bcb455b
JVJ
12742013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1275
1276 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1277
f0ff1cd5
MA
12782013-10-18 Michael Albinus <michael.albinus@gmx.de>
1279
1280 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1281 introduced on 2013-09-08, which results in an infinite loop
1282 requesting a password.
1283
d64da4b7
GM
12842013-10-18 Glenn Morris <rgm@gnu.org>
1285
1286 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1287
ea89ff08
WS
12882013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1289
1290 Sync with upstream verilog-mode revision 1a6ecec7.
1291 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1292 (verilog-mode-release-date): Remove.
1293 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1294 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1295 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1296 (verilog-auto-tieoff-ignore-regexp)
1297 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1298 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1299 (verilog-signals-with, verilog-dir-cache-preserving)
1300 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1301 Doc fixes.
1302 (verilog-case-fold): New option, to control case folding in
1303 regexp searches, bug597.
1304 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1305 (verilog-string-match-fold, verilog-in-paren-count)
1306 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1307 (verilog-at-close-struct-p): New functions.
1308 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1309 (verilog-forward-sexp, verilog-set-auto-endcomments):
1310 (verilog-leap-to-case-head): Handle "unique0" case.
1311 (verilog-in-constraint-re): New constant.
1312 (verilog-keywords, verilog-type-font-keywords):
1313 Add some SystemVerilog 1800-2012 keywords.
1314 (verilog-label-be): Remove unimplemented argument, bug669.
1315 (verilog-batch-execute-func): When batch expanding clear
1316 create-lockfiles to prevent spurious user locks when a file ends
1317 up not changing.
1318 (verilog-calculate-indent, verilog-calc-1)
1319 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1320 (verilog-do-indent): Fix indentation of nested constraints
1321 and structures.
1322 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1323 (verilog-auto-inst-param): Use verilog-string-match-fold.
1324 (verilog-read-inst-module-matcher):
1325 Fix AUTOINST on gate primitives with #1.
1326 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1327 Reads all user-defined typed variables.
1328 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1329 (verilog-signals-matching-regexp)
1330 (verilog-signals-not-matching-regexp, verilog-auto):
1331 Respect verilog-case-fold.
1332 (verilog-diff-report): Fix line count.
1333 (verilog-auto-assign-modport): Remove unused local `modi'.
1334 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1335 better handle multidimensional arrays.
1336 Fix packed array ports misadding bit index in AUTOINST, bug637.
1337 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1338 to not double-declare existing outputs and inputs, respectively.
1339 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1340 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1341 (verilog-sk-uvm-component): New skeleton.
1342 (verilog-submit-bug-report): Add verilog-case-fold,
1343 remove verilog-mode-release-date.
1344
ef566920
BR
13452013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1346
1347 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1348 as before.
1349
29df8a0b
RT
13502013-10-18 Reuben Thomas <rrt@sc3d.org>
1351
1352 * textmodes/remember.el (remember): set buffer-offer-save in
1353 remember buffers (bug#13566).
1354
04a19a79
DC
13552013-10-18 Daniel Colascione <dancol@dancol.org>
1356
1357 When evaluating forms in ielm, direct standard output to ielm
1358 buffer. Add new ielm-return-for-effect command. Remove trailing
1359 whitespace throughout.
1360
1361 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1362 (ielm-return-for-effect): New command.
1363 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1364 (ielm-eval-input): Accept optional `for-effect' parameter.
1365 Bind `standard-output' to stream we create using
04a19a79
DC
1366 `ielm-standard-output-impl'. Suppress printing result when
1367 `for-effect'.
1368 (ielm-standard-output-impl): New function.
1369 (inferior-emacs-lisp-mode): Explain new features in documentation.
1370
4c1f03ef
MA
13712013-10-17 Michael Albinus <michael.albinus@gmx.de>
1372
1373 Code cleanup.
1374
1375 * net/tramp.el (tramp-debug-message): Do not check for connection
1376 buffer.
1377 (tramp-message): Use "vector" connection property.
1378
1379 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1380 (tramp-equal-remote, tramp-eshell-directory-change)
1381 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1382 (tramp-adb-handle-rename-file)
1383 * net/tramp-cmds.el (tramp-list-remote-buffers)
1384 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1385 * net/tramp-compat.el (tramp-compat-process-running-p)
1386 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1387 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1388 (tramp-gvfs-handle-rename-file)
1389 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1390 (tramp-set-file-uid-gid)
1391 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1392 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1393 of `file-remote-p'.
1394
1395 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1396 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1397 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1398 (tramp-gw-open-network-stream): Suppress unrelated traces.
1399
1400 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1401 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1402 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1404 connection property.
1405
1406 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1407 persistency file.
4c1f03ef
MA
1408
1409 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1410 Refactor common code. Improve debug message.
1411 (tramp-maybe-open-connection)
1412 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1413 connection buffer too early.
1414
1415 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1416 from `tramp-smb-actions-with-acl'.
1417 (tramp-smb-actions-set-acl): New defconst.
1418 (tramp-smb-handle-copy-directory)
1419 (tramp-smb-action-get-acl): New defun, renamed from
1420 `tramp-smb-action-with-acl'.
1421 (tramp-smb-action-set-acl): New defun.
1422 (tramp-smb-handle-set-file-acl): Rewrite.
1423
642eb8b6
GM
14242013-10-17 Glenn Morris <rgm@gnu.org>
1425
1426 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1427
85527ff3
SM
14282013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1429
921c1d62
SM
1430 * skeleton.el (skeleton-newline): Remove.
1431 (skeleton-internal-1): Use (insert "\n") instead.
1432
e333fb10
SM
1433 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1434 let-bindings.
1435
85527ff3
SM
1436 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1437 forward-sexp-function while we redo its job (bug#15613).
1438
c8722a97
JB
14392013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1440
1441 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1442 represented by lists.
1443
7a550bbb
GM
14442013-10-16 Glenn Morris <rgm@gnu.org>
1445
1446 * tmm.el (tmm--history): New dynamic variable.
1447 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1448
f19da8ad
MA
14492013-10-16 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1452 (tramp-smb-errors): Add error messages.
1453 (tramp-smb-actions-with-acl): New defconst.
1454 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1455 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1456 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1457 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1458 (tramp-smb-get-stat-capability): Fix tests.
1459
a24b9961
DK
14602013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1461
1462 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1463 (bug#15580).
1464
62ad85e6
GM
14652013-10-16 Glenn Morris <rgm@gnu.org>
1466
0283d6b0
GM
1467 * ansi-color.el (ansi-color-drop-regexp):
1468 Add 1J, 1K, 2K. (Bug#15617)
1469
012e2f9f
GM
1470 * files.el (hack-local-variables--warned-lexical): New.
1471 (hack-local-variables):
1472 Warn about misplaced lexical-binding. (Bug#15616)
1473
62ad85e6
GM
1474 * net/eww.el (eww-render): Always set eww-current-url,
1475 and update header line. (Bug#15622)
1476 (eww-display-html): ... Rather than just doing it here.
1477
6456c0ea
EZ
14782013-10-15 Eli Zaretskii <eliz@gnu.org>
1479
1480 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1481 menu navigations commands.
1482
c2de5588
DK
14832013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1484
1485 * progmodes/subword.el (subword-capitalize): Be careful when
1486 the search for [[:alpha:]] fails (bug#15580).
1487
ccd4a783
EZ
14882013-10-14 Eli Zaretskii <eliz@gnu.org>
1489
1490 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1491 to commands that scroll the menu.
1492
1eda1d8d
DG
14932013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1494
c2de5588
DK
1495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1496 Handle methods ending with `?' and `!'.
1eda1d8d 1497
e70181b8
AM
14982013-10-14 Akinori MUSHA <knu@iDaemons.org>
1499
1500 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1501 `japanese-cp932' to `cp932' to fix the problem where saving a
1502 source file written in Shift_JIS twice would end up having
1503 `coding: japanese-cp932' which Ruby could not recognize.
1504 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1505 in `ruby-encoding-map'.
1506 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1507 doesn't need to be explicitly declared in magic comment.
1508 (ruby-encoding-map): Add type declaration for better customize UI.
1509
9148ee92
GM
15102013-10-13 Glenn Morris <rgm@gnu.org>
1511
a5d38e34
GM
1512 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1513 Occur buffers are read-only. http://bugs.debian.org/720775
1514
9148ee92
GM
1515 * emacs-lisp/authors.el (authors-fixed-entries):
1516 Comment out old alpha stuff.
1517
a9ba094b
DG
15182013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1519
1520 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1521 to `after-save-hook' instead of `before-save-hook'.
1522 (ruby-mode-set-encoding): Use the value of coding system used to
1523 write the file. Call `basic-save-buffer-1' after modifying the
1524 buffer.
1525
7a068717
AM
15262013-10-13 Alan Mackenzie <acm@muc.de>
1527
1528 Fix indentation/fontification of Java enum with
1529 "implements"/generic.
1530
c2de5588
DK
1531 * progmodes/cc-engine.el (c-backward-over-enum-header):
1532 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1533 (c-inside-bracelist-p): Uses new function above.
1534 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1535 function above.
1536 (c-font-lock-enum-tail): Uses new function above.
1537
85b64f02
KH
15382013-10-13 Kenichi Handa <handa@gnu.org>
1539
1540 * international/mule-cmds.el (select-safe-coding-system): Remove a
1541 superfluous condition in chekcing whether a coding system is safe
1542 or not.
1543
fc7f501b
OK
15442013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1545
1546 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1547
fdcb2049
AP
15482013-10-13 Andreas Politz <politza@hochschule-trier.de>
1549
1550 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1551
8c106d17
GM
15522013-10-13 Glenn Morris <rgm@gnu.org>
1553
feab892d
GM
1554 * menu-bar.el (menu-bar-update-buffers):
1555 Unify Buffers menu prompt string. (Bug#15576)
1556
b22d0686
GM
1557 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1558
8c106d17
GM
1559 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1560 Add some entries.
1561 (authors-fixed-entries): Use accented form of name.
1562
1b12c797
SM
15632013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1564
650fa7bf 1565 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1566 method calls (bug#15594).
650fa7bf
SM
1567 (ruby-smie--args-separator-p): New function.
1568 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1569 recognize paren-free method calls.
1570
1b12c797
SM
1571 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1572 internals of universal-argument.
1573
029619c8
EZ
15742013-10-11 Eli Zaretskii <eliz@gnu.org>
1575
1576 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1577 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1578 dropped menu on second mouse click on the menu bar.
029619c8 1579
dd070019
SM
15802013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1583 (explicit-shell-file-name): Declare.
1584 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1585 (sh-completion-at-point-function): New function.
1586 (sh-mode): Use it.
1587 (sh-smie--keyword-p): Remove unused argument.
1588 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1589 vars.
1590 (sh-set-shell): Always setup SMIE, even if we use the
1591 old indentation code.
1592
0922b826
DG
15932013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1594
b68e2926
DG
1595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1596 cases of ? and =.
1597 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1598 predicate would return nil are almost non-existent.
1599 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1600
0922b826
DG
1601 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1602 cache also after commands that modify the buffer but don't move
1603 point.
1604
ee041f2d
SM
16052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * env.el (substitute-env-in-file-name): New function.
1608 (substitute-env-vars): Extend the meaning of the optional arg.
1609
a5dab159
EZ
16102013-10-10 Eli Zaretskii <eliz@gnu.org>
1611
1612 * term/w32-win.el (dynamic-library-alist): Define separate lists
1613 of GIF DLLs for versions before and after 5.0.0 of giflib.
1614 (Bug#15531)
1615
db138698
JT
16162013-10-10 João Távora <joaotavora@gmail.com>
1617
1618 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1619 not locked, use last revision and current source as
1620 defaults. (Bug#15569)
1621
2f6e161e
MY
16222013-10-10 Masatake YAMATO <yamato@redhat.com>
1623
1624 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1625 menu-bar is hidden.
1626
6c8413fc
MR
16272013-10-10 Martin Rudalics <rudalics@gmx.at>
1628
1629 * window.el (pop-to-buffer-same-window): Fix doc-string.
1630 (Bug#15492)
1631
20832de0
SM
16322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1635
c6e8ae77
AC
16362013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1637
1638 * calendar/icalendar.el (icalendar-import-file):
1639 Fix interactive spec. (Bug#15482)
1640
9db13baf
GM
16412013-10-10 Glenn Morris <rgm@gnu.org>
1642
9271e90e
GM
1643 * desktop.el (desktop-save): Default to saving in .emacs.d,
1644 since PWD is no longer in desktop-path by default. (Bug#15319)
1645
9db13baf
GM
1646 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1647 now that text mode has a menu with the same entry.
1648 (menu-bar-text-mode-auto-fill): Remove now unused func.
1649 * textmodes/text-mode.el (text-mode-map):
1650 Use auto-fill help text from menu-bar.el.
1651
a0be396a 16522013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1653
1654 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1655
2edcd3c7
JL
16562013-10-09 Juri Linkov <juri@jurta.org>
1657
1658 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1659 instead of this-command-keys. Add universal-argument-more and
1660 universal-argument-minus to the list of prefix commands. (Bug#15568)
1661
574411d0
GM
16622013-10-09 Glenn Morris <rgm@gnu.org>
1663
14afa541
GM
1664 * vc/vc-svn.el (vc-svn-create-repo):
1665 Expand paths in file://... url. (Bug#15446)
1666
574411d0
GM
1667 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1668 Add some entries.
1669 (authors): Remove unused local variables.
1670
79804536
SM
16712013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * profiler.el: Create a more coherent calltree from partial backtraces.
1674 (profiler-format): Hide the tail with `invisible' so that C-s can still
1675 find the hidden elements.
1676 (profiler-calltree-depth): Don't recurse so enthusiastically.
1677 (profiler-function-equal): New hash-table-test.
1678 (profiler-calltree-build-unified): New function.
1679 (profiler-calltree-build): Use it.
1680 (profiler-report-make-name-part): Indent the calltree less.
1681 (profiler-report-mode): Add visibility specs for profiler-format.
1682 (profiler-report-expand-entry, profiler-report-toggle-entry):
1683 Expand the whole subtree when provided with a prefix arg.
1684
238150c8
DG
16852013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1686
1687 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1688 iuwu-mod token.
1689 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1690 hanging iuwu-mod token.
1691 (ruby-smie--forward-token): Do not include a dot after a token in
1692 that token.
1693 (ruby-smie--backward-token): Likewise.
1694
b0949cc4
JL
16952013-10-08 Juri Linkov <juri@jurta.org>
1696
1697 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1698 to isearch-other-control-char.
1699 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1700 and isearch-post-command-hook to post-command-hook.
1701 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1702 and isearch-post-command-hook from post-command-hook.
1703 (isearch-unread-key-sequence)
1704 (isearch-reread-key-sequence-naturally)
1705 (isearch-lookup-scroll-key, isearch-other-control-char)
1706 (isearch-other-meta-char): Remove functions.
1707 (isearch-pre-command-hook, isearch-post-command-hook):
1708 New functions based on isearch-other-meta-char rewritten
1709 relying on the new behavior of overriding-terminal-local-map
1710 that does not replace the local keymaps any more. (Bug#15200)
1711
4ed77415
EZ
17122013-10-08 Eli Zaretskii <eliz@gnu.org>
1713
1714 Support menus on text-mode terminals.
1715 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1716 functionality.
1717
1718 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1719
c2de5588
DK
1720 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1721 Move here from mouse.el.
4ed77415
EZ
1722 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1723 and arrow keys.
1724 (tty-menu-navigation-map): New map for TTY menu navigation.
1725
1726 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1727
1728 * frame.el (display-mouse-p): Report text-mode mouse as available
1729 on w32.
1730 (display-popup-menus-p): Report availability if mouse is
1731 available; don't condition on window-system.
1732
1733 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1734 (tty-menu-selected-face): New faces.
1735
b7d5bd82
TL
17362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1737
06286513
SM
1738 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1739 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1740 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1741 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1742 New constants.
1743 (lisp-mode-variables): New `elisp' argument.
1744 (emacs-lisp-mode): Use it.
1745 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1746 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1747
b7d5bd82
TL
1748 * indent.el: Use lexical-binding.
1749 (indent-region): Add progress reporter.
1750 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1751 last step.
1752 (indent--next-tab-stop): New function to implement this behavior.
1753 (tab-to-tab-stop, move-to-tab-stop): Use it.
1754
17552013-10-08 Teemu Likonen <tlikonen@iki.fi>
1756
1757 * indent.el (indent-rigidly--current-indentation): New function.
1758 (indent-rigidly-map): New var.
1759 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1760
5ea75d23
BG
17612013-10-08 Bastien Guerry <bzg@gnu.org>
1762
1763 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1764
cc5da1ec
SM
17652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1766
8ffa1a0b
SM
1767 * progmodes/perl-mode.el: Use lexical-binding.
1768 Remove redundant :group args.
1769 (perl-nochange): Change default to be closer to other major modes's
1770 standard behavior.
1771 (perl-indent-line): Don't consider text on current line as a
1772 valid beginning of function from which to indent.
1773
f2223371
SM
1774 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1775 with more than one argument (bug#15538).
1776
44256060
SM
1777 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1778
cc5da1ec
SM
1779 * vc/pcvs.el: Use lexical-binding.
1780 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1781 environment of `eval'.
1782 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1783 than a list of expressions. Adjust callers.
1784 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1785
0ea1599d
DG
17862013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1787
1788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1789 case of the dot in a chained method call being on the following line.
0ea1599d 1790
da3e5ebb
SM
17912013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1792
2abb4e65
SM
1793 * electric.el (electric-indent-inhibit): New var.
1794 (electric-indent-post-self-insert-function): Use it.
1795 * progmodes/python.el (python-mode): Set it.
1796
d2e0e795
SM
1797 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1798 open braces.
1799
1800 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1801
bdc6b4c8
SM
1802 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1803 (css-mode): Use electric-indent-chars.
1804
da3e5ebb
SM
1805 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1806 (font-lock-beg, font-lock-end): Move before first use.
1807 (nxml-mode): Use syntax-propertize-function.
1808 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1809 (nxml-extend-after-change-region): Remove.
1810 * nxml/xmltok.el: Use lexical-binding.
1811 (xmltok-save): Use `declare'.
1812 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1813 * nxml/nxml-util.el: Use lexical-binding.
1814 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1815 Use `declare'.
1816 * nxml/nxml-ns.el: Use lexical-binding.
1817 (nxml-ns-save): Use `declare'.
1818 (nxml-ns-prefixes-for): Avoid add-to-list.
1819 * nxml/rng-match.el: Use lexical-binding.
1820 (rng--ipattern): Use cl-defstruct.
1821 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1822 (rng-cons-group-after, rng-subst-group-after)
1823 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1824 Use closures instead of `(lambda...).
1825
f8f91d5d
MA
18262013-10-07 Michael Albinus <michael.albinus@gmx.de>
1827
1828 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1829 of BEG and END.
1830
da3e5ebb
SM
1831 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1832 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1833 (tramp-gvfs-handle-insert-file-contents): Remove function.
1834
da3e5ebb
SM
1835 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1836 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1837
1838 * net/trampver.el: Update release number.
1839
7ccae3b1
SM
18402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1841
55ca2c0d
SM
1842 * progmodes/compile.el (compilation-parse-errors):
1843 Use compilation--put-prop.
1844 (compilation--ensure-parse): Check compilation-multiline.
1845
731fc3ae
SM
1846 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1847
da3e5ebb
SM
1848 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1849 lexical-binding.
a5833280 1850
2e7ba2c2
SM
1851 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1852
7ccae3b1
SM
1853 * progmodes/ruby-mode.el: Fix recently added tests.
1854 (ruby-smie-grammar): Add - and +.
1855 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1856 (ruby-smie--backward-id): New functions.
1857 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1858 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1859 any more.
1860
85698d63
LL
18612013-10-07 Leo Liu <sdl.web@gmail.com>
1862
1863 * register.el (register-preview-delay)
1864 (register-preview-functions): New variables.
1865 (register-read-with-preview, register-preview)
1866 (register-describe-oneline): New functions.
1867 (point-to-register, window-configuration-to-register)
1868 (frame-configuration-to-register, jump-to-register)
1869 (number-to-register, view-register, insert-register)
1870 (copy-to-register, append-to-register, prepend-to-register)
1871 (copy-rectangle-to-register): Use register-read-with-preview to
1872 read register. (Bug#15525)
1873
3986af6c
DS
18742013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1875
1876 * net/network-stream.el (network-stream-open-starttls): Don't add
1877 --insecure if it's already present, because that gnutls-cli
1878 rejects getting that parameter twice.
1879
5cd9cda9
DG
18802013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1881
1882 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1883 keyword, too.
1884
da9ea6d9
DG
18852013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1886
1887 * newcomment.el (comment-use-global-state): Change default value
1888 to t, mark obsolete (Bug#15251).
1889 (comment-beginning): In addition to `comment-to-syntax', check the
1890 value of `comment-use-global-state'.
1891
34d1a133
SM
18922013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1895 (ruby-comment-column): Follow the global default, by default.
1896 (ruby-smie-grammar): Add assignment syntax.
1897 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1898 open-paren, a comma, or a \.
1899 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1900 and line continuations.
1901 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1902 followed by implicit semi-colons. Add rule for string concatenation
1903 and for indentation at BOB.
1904 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1905
1906 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1907 calling next-sexp, since next-token may have skipped chars which
1908 next-sexp doesn't know should be skipped!
1909
6f6ab820
LL
19102013-10-05 Leo Liu <sdl.web@gmail.com>
1911
34d1a133
SM
1912 * progmodes/octave.el (octave-send-region):
1913 Call compilation-forget-errors.
6f6ab820 1914
34ca0f4c
XF
19152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1916
1917 * vc/vc-svn.el (vc-svn-find-admin-dir):
1918 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1919 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1920 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1921 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1922
a27c1b72
SM
19232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1926
258ab3bc
SM
19272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * subr.el (read-passwd): Hide chars even when called within a context
1930 where after-change-functions is disabled (bug#15501).
1931 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1932 until we removed ourself from overriding-terminal-local-map.
1933
939fb29c
LL
19342013-10-04 Leo Liu <sdl.web@gmail.com>
1935
258ab3bc
SM
1936 * progmodes/octave.el (inferior-octave-mode):
1937 Call compilation-forget-errors.
939fb29c 1938
63bd7f35
XF
19392013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1940
1941 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1942
9e6229fa
MA
19432013-10-04 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * net/secrets.el (secrets-create-collection): Add optional
1946 argument ALIAS. Use proper Label keyword. Append ALIAS as
1947 dbus-call-method argument. (Bug#15516)
1948
1dab32a3
LL
19492013-10-04 Leo Liu <sdl.web@gmail.com>
1950
1951 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1952 (inferior-octave-compilation-font-lock-keywords): New variables.
1953 (compilation-error-regexp-alist)
1954 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1955 (inferior-octave-mode): Use compilation-shell-minor-mode.
1956
6cad7ba3
JS
19572013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1958
1959 * minibuffer.el (completion--replace): Be careful that `end' might be
1960 a marker.
1961
acbadd00
DU
19622013-10-03 Daiki Ueno <ueno@gnu.org>
1963
1964 Add support for package signature checking.
1965 * emacs-lisp/package.el (url-http-file-exists-p)
1966 (epg-make-context, epg-context-set-home-directory)
1967 (epg-verify-string, epg-context-result-for)
1968 (epg-signature-status, epg-signature-to-string)
1969 (epg-check-configuration, epg-configuration)
1970 (epg-import-keys-from-file): Declare.
1971 (package-check-signature): New user option.
1972 (package-unsigned-archives): New user option.
1973 (package-desc): Add `signed' field.
1974 (package-load-descriptor): Set `signed' field if .signed file exists.
1975 (package--archive-file-exists-p): New function.
1976 (package--check-signature): New function.
1977 (package-install-from-archive): Check package signature.
1978 (package--download-one-archive): Check archive signature.
1979 (package-delete): Remove .signed file.
1980 (package-import-keyring): New command.
1981 (package-refresh-contents): Import default keyring.
1982 (package-desc-status): Add "unsigned" status.
1983 (describe-package-1, package-menu--print-info)
1984 (package-menu-mark-delete, package-menu--find-upgrades)
1985 (package-menu--status-predicate): Support "unsigned" status.
1986
adf2aa61
SM
19872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1990 the new compilation scheme using the new byte-codes.
1991
1992 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1993 (byte-pophandler): New byte codes.
1994 (byte-goto-ops): Adjust accordingly.
1995 (byte-compile--use-old-handlers): New var.
1996 (byte-compile-catch): Use new byte codes depending on
1997 byte-compile--use-old-handlers.
1998 (byte-compile-condition-case--old): Rename from
1999 byte-compile-condition-case.
2000 (byte-compile-condition-case--new): New function.
2001 (byte-compile-condition-case): New function that dispatches depending
2002 on byte-compile--use-old-handlers.
2003 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2004 when we can.
2005
2006 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2007 Optimize under `condition-case' and `catch' if
2008 byte-compile--use-old-handlers is nil.
2009 (disassemble-offset): Handle new bytecodes.
2010
328a8179
SM
20112013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * subr.el (error): Use `declare'.
2014 (decode-char, encode-char): Use advertised-calling-convention instead
2015 of the docstring to discourage use of the `restriction' arg.
2016
15a1e936
DU
20172013-10-03 Daiki Ueno <ueno@gnu.org>
2018
2019 * epg.el (epg-verify-file): Add a comment saying that it does not
2020 notify verification error as a return value nor a signal.
2021 (epg-verify-string): Ditto.
2022
376f862a
KR
20232013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2024
2025 * progmodes/compile.el (compilation-start): Try globbing the arg to
2026 `cd' (bug#15417).
2027
a2f93a5f
MA
20282013-10-02 Michael Albinus <michael.albinus@gmx.de>
2029
2030 Sync with Tramp 2.2.8.
2031
2032 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2033 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2034 * net/trampver.el: Update release number.
2035
0daa0804
JD
20362013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2037
2038 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2039 and default-process-coding-system for darwin only.
2040
abd1ae34
SM
20412013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2044
be4e325d
MH
20452013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2046
2047 * vc/vc-git.el (vc-git-grep): Disable pager.
2048
e9155c4a
DG
20492013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2050
494e898b
DG
2051 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2052 Use :url instead of :homepage, as per
2053 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2054
e9155c4a
DG
2055 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2056 non-nil, use `syntax-ppss' (Bug#15251).
2057
481a8e0f
RS
20582013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2059
be4e325d
MH
2060 * progmodes/octave.el (inferior-octave-startup-file):
2061 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2062
056453c6
DG
20632013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2064
be4e325d
MH
2065 * emacs-lisp/package.el (package-desc-from-define):
2066 Accept additional arguments as plist, convert them to an alist and store
2067 them in the `extras' slot.
056453c6
DG
2068 (package-generate-description-file): Convert extras alist back to
2069 plist and append to the `define-package' form arguments.
2070 (package--alist-to-plist): New function.
2071 (package--ac-desc): Add `extras' slot.
2072 (package--add-to-archive-contents): Check if the archive-contents
2073 vector is long enough, and if it is, pass its `extras' slot value
2074 to `package-desc-create'.
2075 (package-buffer-info): Call `lm-homepage', pass the returned value
2076 to `package-desc-from-define'.
2077 (describe-package-1): Render the homepage button (Bug#13291).
2078
be4e325d
MH
2079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2080 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2081
832966e5
JD
20822013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2083
2084 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2085 and default-process-coding-system to utf-8-unix (Bug#15402).
2086
6cfe977d
XF
20872013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2088
2089 * subr.el (looking-back): Do not recommend using looking-back.
2090
38de11bd
AM
20912013-09-28 Alan Mackenzie <acm@muc.de>
2092
2093 Fix indentation/fontification of Java enum with "implements".
2094
2095 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2096 regexp which matches "implements", etc., in Java.
2097 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2098 specifier clauses coming after "enum".
2099 * progmodes/cc-fonts.el (c-font-lock-declarations)
2100 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2101 after "enum".
2102
1610938f
JD
21032013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2104
2105 * faces.el (region): Change ns_selection_color to
2106 ns_selection_fg_color, add ns_selection_bg_color.
2107
e090f499
LL
21082013-09-28 Leo Liu <sdl.web@gmail.com>
2109
4d2e94d1
LL
2110 * progmodes/octave.el (inferior-octave-completion-table)
2111 (inferior-octave-completion-at-point): Minor tweaks.
2112
e090f499
LL
2113 * textmodes/ispell.el (ispell-lookup-words): Rename from
2114 lookup-words. (Bug#15460)
2115 (lookup-words): Obsolete.
2116 (ispell-complete-word, ispell-command-loop): All uses changed.
2117
7e138a62
RS
21182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2119
2120 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2121 (octave-mode-menu): Add octave-send-buffer.
2122 (octave-send-buffer): New function.
2123
5af5ed08
RS
21242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2125
2126 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2127 octave-lookfor.
2128 (octave-mode-menu): Add octave-lookfor.
2129 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2130 octave-lookfor.
2131 (octave-lookfor): New function.
2132
3b7b2692
SM
21332013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * emacs-lisp/cl-macs.el:
2136 (cl--loop-destr-temps): Remove.
2137 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2138 its convention.
2139 (cl--loop-set-iterator-function): New function.
2140 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2141 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2142 Bind `it' with `let' instead of substituting it with `cl-subst'.
2143 (cl--unused-var-p): New function.
2144 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2145 Eliminate some unused variable warnings (bug#15326).
2146
529fb53f
TH
21472013-09-27 Tassilo Horn <tsdh@gnu.org>
2148
2149 * doc-view.el (doc-view-scale-reset): Rename from
2150 `doc-view-reset-zoom-level'.
2151 (doc-view-scale-adjust): New command.
2152 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2153 `doc-view-scale-adjust'.
2154
0550c95a
TH
21552013-09-26 Tassilo Horn <tsdh@gnu.org>
2156
2157 * doc-view.el (doc-view-reset-zoom-level): New command.
2158 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2159 zoom commands (bug#15466).
2160
6950f152
KH
21612013-09-26 Kenichi Handa <handa@gnu.org>
2162
2163 * international/quail.el (quail-help): Make it not a command.
2164
39587580
LL
21652013-09-26 Leo Liu <sdl.web@gmail.com>
2166
2167 * minibuffer.el (completion-all-sorted-completions): Make args
2168 optional as they are.
2169
00578659
DC
21702013-09-25 Daniel Colascione <dancol@dancol.org>
2171
2172 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2173 specs are and that they're not evaluated.
2174
0c173878
SS
21752013-09-24 Sam Steingold <sds@gnu.org>
2176
2177 * midnight.el (clean-buffer-list-kill-regexps)
2178 (clean-buffer-list-kill-buffer-names): Update for the new Man
2179 buffer naming which includes the object name.
2180
84998447
SM
21812013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2184 (eshell-parse-command, eshell-parse-pipeline): Use it since
2185 eshell-separate-commands requires a dynamic scoped var.
2186 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2187
33215353
LL
21882013-09-23 Leo Liu <sdl.web@gmail.com>
2189
2190 * autoinsert.el (auto-insert-alist): Make the value of
2191 lexical-binding match its file setting.
2192
57b16162
JB
21932013-09-23 Juanma Barranquero <lekktu@gmail.com>
2194
c8af4e67
JB
2195 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2196
57b16162
JB
2197 * autoarg.el (autoarg-kp-digit-argument):
2198 * electric.el (Electric-command-loop):
2199 * kmacro.el (kmacro-step-edit-insert):
2200 Do not set universal-argument-num-events.
2201
7186ba60
LL
22022013-09-22 Leo Liu <sdl.web@gmail.com>
2203
2204 * files.el (interpreter-mode-alist): Add octave.
2205
ece15004
AM
22062013-09-21 Alan Mackenzie <acm@muc.de>
2207
2208 C++: fontify identifier in declaration following "public:" correctly.
2209 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2210 to match "public", etc.
2211 (c-decl-prefix-re): Add ":" into the C++ value.
2212 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2213 bit. Add a check for a ":" preceded by "public", etc.
2214
75d83e22
EZ
22152013-09-21 Eli Zaretskii <eliz@gnu.org>
2216
2217 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2218 recognized by GDB 7.5 and later.
2219
d052d3bd
XF
22202013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2221
2222 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2223
31dca772
R
22242013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * subr.el (internal--call-interactively): New const.
2227 (called-interactively-p): Use it (bug#3984).
2228
98ccf24e
XF
22292013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2230
2231 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2232 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2233 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2234
c39cc7d1
SM
22352013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2238 (eshell-ls-orig-insert-directory): Remove.
2239 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2240 (eshell-ls-use-in-dired): Use advice-add/remove.
2241 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2242 Add `orig-fun' arg for use in :around advice.
2243 Make it check (redundantly) eshell-ls-use-in-dired.
2244
9a0289a2
GM
22452013-09-19 Glenn Morris <rgm@gnu.org>
2246
a2c501b8
GM
2247 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2248
c440407a
GM
2249 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2250
9a0289a2
GM
2251 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2252
85e05915
MA
22532013-09-19 Michael Albinus <michael.albinus@gmx.de>
2254
2255 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2256 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2257 (tramp-get-remote-python): New defuns.
2258 (tramp-get-remote-uid-with-perl)
2259 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2260 contributed by yary <not.com@gmail.com> (tiny change).
2261 (tramp-get-remote-uid-with-python)
2262 (tramp-get-remote-gid-with-python): New defuns. Python code
2263 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2264 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2265
ce503312
GM
22662013-09-19 Glenn Morris <rgm@gnu.org>
2267
f7544773
GM
2268 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2269
72fd2877
GM
2270 * eshell/em-unix.el (eshell-remove-entries):
2271 Rename argument to avoid name-clash with global `top-level'.
2272
336b5a56
GM
2273 * eshell/esh-proc.el (eshell-kill-process-function):
2274 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2275 (eshell-reset-after-proc): Remove unused arg `proc'.
2276
57a3a53d
GM
2277 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2278 (directory-files-and-attributes): Mark unused arg.
2279
3261d4af
GM
2280 * eshell/em-unix.el (eshell-remove-entries):
2281 Remove unused arg `path'. Update callers.
2282
8e51b5d0
GM
2283 * eshell/em-hist.el (eshell-hist-parse-arguments):
2284 Remove unused arg `silent'. Update callers.
2285
ce503312
GM
2286 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2287 Fix (f)boundp mix-up.
2288
2289 * eshell/em-smart.el (eshell-smart-scroll-window)
2290 (eshell-disable-after-change):
336b5a56 2291 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2292
ee3ce8a7
AM
22932013-09-18 Alan Mackenzie <acm@muc.de>
2294
2295 Fix fontification of type when followed by "const".
2296 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2297 "known" types from fontification.
2298
ec9177ba
GM
22992013-09-18 Glenn Morris <rgm@gnu.org>
2300
7bb3e768
GM
2301 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2302 (chart-face-list): Drop Emacsen without display-color-p.
2303
5148da15
GM
2304 * net/eww.el (libxml-parse-html-region): Declare.
2305 (eww-display-html): Explicit error if no libxml2 support.
2306
2f68e157
GM
2307 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2308
9019d095
GM
2309 * image.el (image-type-from-buffer, image-multi-frame-p):
2310 Remove --without-x warning/error.
67645389 2311
5f30349b 2312 * mouse.el (mouse-yank-primary):
45069b2e 2313 * term.el (term-mouse-paste):
5f30349b
GM
2314 Reorder to silence --without-x compilation.
2315
cd8edbbe
GM
2316 * mpc.el (doc-view-mode): Silence --without-x compilation.
2317
8a78544e
GM
2318 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2319 Silence --without-x compilation.
2320
12679bfd
GM
2321 * progmodes/gud.el (gud-find-file, gud-mode):
2322 Silence --without-x compilation.
2323 (tooltip-mode): Declare.
30810a05 2324
f0047cb9
GM
2325 * wdired.el (dired-backup-overwrite): Remove declaration.
2326 (wdired-mode-map): Add doc string.
2327
e740f9d2
GM
2328 * custom.el (x-get-resource): Declare.
2329
92d77c89
GM
2330 * eshell/em-glob.el (ange-cache):
2331 * eshell/em-unix.el (ange-cache): Declare.
2332
76e69577
GM
2333 * faces.el (x-display-list, x-open-connection, x-get-resource):
2334 Declare.
7e58af4b
GM
2335
2336 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2337 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2338 Declare.
76e69577 2339
4bd4c0af 2340 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2341
ffb82dbd
GM
2342 * net/gnutls.el (gnutls-log-level): Declare.
2343
986ed135
GM
2344 * net/shr.el (image-size, image-animate): Declare.
2345
e740f9d2
GM
2346 * simple.el (font-info): Declare.
2347
d2f3e9f8
GM
2348 * subr.el (x-popup-dialog): Declare.
2349
047a1a4c
GM
2350 * term/common-win.el (x-select-enable-primary)
2351 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2352 Declare.
2353
f4a1d572
GM
2354 * term/ns-win.el (x-handle-args): Declare.
2355
e843de77
GM
2356 * term/x-win.el (x-select-enable-clipboard): Declare.
2357
5fa89513
GM
2358 * term/w32-win.el (create-default-fontset): Declare.
2359
38702b5b
GM
2360 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2361 Declare.
2362
e740f9d2
GM
2363 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2364 (fit-frame-to-buffer): Explicit error if --without-x.
2365 (mouse-autoselect-window-select): Silence compiler.
2366
49a053fc
GM
2367 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2368
2369 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2370 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2371 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2372 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2373 Remove unused local variables.
2374
2375 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2376
ec9177ba
GM
2377 * textmodes/two-column.el: Make 2C-split work for --without-x.
2378 (scroll-bar-columns): Autoload.
2379 (top-level): Require fringe when compiling.
2380
9f25cb77
LL
23812013-09-18 Leo Liu <sdl.web@gmail.com>
2382
2383 * subr.el (add-hook): Robustify to handle closure as well.
2384
2b42da98
GM
23852013-09-17 Glenn Morris <rgm@gnu.org>
2386
2387 * simple.el (messages-buffer-mode-map): Unbind "g".
2388
e8b66a6a
SM
23892013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2390
9c0ad4f7
SM
2391 * help-mode.el (help-mode-finish): Use derived-mode-p.
2392 Remove obsolete highlighting.
2393
7a806dfb
SM
2394 * play/life.el (life-mode): Use define-derived-mode. Derive from
2395 special-mode.
2396 (life): Let-bind inhibit-read-only.
2397 (life-setup): Avoid `setq'. Use `life-mode'.
2398
96dbf5a8
SM
2399 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2400 which should not be needed any more.
2401 (package-menu-refresh, package-menu-describe-package): Use user-error.
2402
e8b66a6a
SM
2403 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2404 (eshell-post-rewrite-command-hook): Make obsolete.
2405 (eshell-parse-command): Simplify.
2406 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2407 (eshell--cmd): Declare.
2408 (eshell-parse-pipeline): Remove unused var `final-p'.
2409 Pass a dynvar to eshell-post-rewrite-command-hook.
2410 Implement the new eshell-post-rewrite-command-function.
2411 (eshell-invoke-directly): Remove unused arg `input'.
2412 * eshell/esh-io.el (eshell-io-initialize):
2413 Use eshell-post-rewrite-command-function (bug#15399).
2414 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2415 adjust to new calling convention.
2416 (eshell-create-handles): Rename args to avoid clashing with dynvar
2417 `standard-output'.
2418
90582f05
GM
24192013-09-17 Glenn Morris <rgm@gnu.org>
2420
2421 * simple.el (messages-buffer-mode): New major mode.
2422 (messages-buffer): New function.
2423 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2424 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2425 (ert-run-test): Use `messages-buffer' function.
90582f05 2426 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2427 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2428 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2429
39eb0cb5 24302013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2431
2432 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2433
1f1e06e2
SM
2434 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2435
70568a90
SM
24362013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2437
504a0381
SM
2438 * icomplete.el (icomplete-in-buffer): New var.
2439 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2440 vars and replace them with functions.
2441 (icomplete-minibuffer-setup): Adjust accordingly.
2442 (icomplete--completion-table, icomplete--completion-predicate)
2443 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2444 New functions.
2445 (icomplete-forward-completions, icomplete-backward-completions)
2446 (icomplete-simple-completing-p, icomplete-exhibit)
2447 (icomplete-completions): Use them.
2448 (icomplete--in-region-buffer): New var.
2449 (icomplete--in-region-setup): New function.
2450 (icomplete-mode): Use it.
2451
70568a90
SM
2452 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2453 (bug#15379).
2454 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2455 return args and options.
2456 (eshell-eval-using-options): Use the new return value of
2457 eshell--do-opts to set the options's vars in their scope.
2458 (eshell--set-option): Rename from eshell-set-option.
2459 Add arg `opt-vals'.
2460 (eshell--process-option): Rename from eshell-process-option.
2461 Add arg `opt-vals'.
2462 (eshell--process-args): Use an `opt-vals' alist to store the options's
2463 values during their processing and return them additionally to the
2464 remaining args.
2465
578c21bc
DG
24662013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2467
2468 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2469 continuation character an operator, as far as indentation is
2470 concerned (Bug#15369).
2471
c089653d
MR
24722013-09-15 Martin Rudalics <rudalics@gmx.at>
2473
2474 * window.el (window--state-put-2): Don't process buffer state
2475 when buffer doesn't exist any more (Bug#15382).
2476
1e53bb4b
GM
24772013-09-15 Glenn Morris <rgm@gnu.org>
2478
30753242
GM
2479 * eshell/em-unix.el (eshell/rm):
2480 Make -f ignore missing files. (Bug#15373)
2481
1e53bb4b
GM
2482 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2483 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2484 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2485
0d8863b3
GM
24862013-09-14 Glenn Morris <rgm@gnu.org>
2487
2488 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2489
d3fc6549
GM
24902013-09-13 Glenn Morris <rgm@gnu.org>
2491
2492 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2493 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2494
fcd42c11
DA
24952013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2496
2497 * frame.el (x-focus-frame): Mark as declared in frame.c.
2498
7830899f
SM
24992013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * ls-lisp.el: Use advice-add.
2502 (original-insert-directory): Remove.
2503 (ls-lisp--insert-directory): Rename from insert-directory; add
2504 `orig-fun' argument.
2505 (insert-directory): Advise.
2506
84387cd2
EZ
25072013-09-13 Eli Zaretskii <eliz@gnu.org>
2508
2509 * term.el (term-emulate-terminal): Decode the command string
2510 before passing it to term-command-hook. (Bug#15337)
2511
35ffc6ba
GM
25122013-09-13 Glenn Morris <rgm@gnu.org>
2513
5c3f9bcc
GM
2514 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2515
2ada368a
GM
2516 * eshell/esh-ext.el (eshell-search-path): Declare.
2517
fcef2e13
GM
2518 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2519 Otherwise an error occurs if eshell-dirs module not loaded.
2520
35ffc6ba
GM
2521 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2522
35c3d36e
MA
25232013-09-13 Michael Albinus <michael.albinus@gmx.de>
2524
2525 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2526 `tramp-check-proper-host'. Check for a valid method name.
2527
2528 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2529 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2530 * net/tramp-sh.el (tramp-maybe-open-connection):
2531 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2532
2533 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2534 also for hash values.
2535
ae5e4c48
SM
25362013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2537
379add74
SM
2538 * term/ns-win.el (parameters): Don't declare as dynamic.
2539 (before-make-frame-hook): Don't add ineffective function.
2540
ae5e4c48
SM
2541 * eshell/*.el: Use lexical-binding (bug#15231).
2542
b5623270
KH
25432013-09-12 Kenichi Handa <handa@gnu.org>
2544
ae5e4c48 2545 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2546
30213927
GM
25472013-09-12 Glenn Morris <rgm@gnu.org>
2548
be94d713 2549 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2550 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2551
44915370
GM
2552 * subr.el (do-after-load-evaluation): Also give compiler warnings
2553 when obsolete files are used (except by obsolete files).
2554
a6ae021f
GM
2555 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2556 in the status output, assume `filename' is the first. (Bug#15322)
2557
40e64f0c
GM
2558 * vc/vc.el (vc-deduce-fileset): Doc fix.
2559
16d9f896
GM
2560 * calc/calc-help.el (Info-goto-node):
2561 * progmodes/cperl-mode.el (Info-find-node):
2562 * vc/ediff.el (Info-goto-node): Update declarations.
2563
dea01c6e
GM
2564 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2565
759880bf 2566 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2567 (vc-bzr-pull): Require vc-dispatcher.
2568 * vc/vc-git.el (vc-compilation-mode): Declare.
2569 (vc-git-pull): Require vc-dispatcher.
2570
08d66420
GM
2571 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2572
30b626e9
GM
2573 * progmodes/octave.el (help-button-action): Declare.
2574
8c05cb10
GM
2575 * shell.el (shell-directory-tracker): Output error as a message
2576 rather than just returning it as a string.
2577 (shell-process-pushd): Remove useless use of message.
2578
30213927
GM
2579 * dframe.el (dframe-timer-fn):
2580 * files.el (dir-locals-read-from-file):
2581 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2582 (mpc-format):
2583 * reveal.el (reveal-post-command):
2584 * saveplace.el (load-save-place-alist-from-file):
2585 * shell.el (shell-resync-dirs):
2586 * w32-common-fns.el (x-get-selection-value):
2587 * emacs-lisp/copyright.el (copyright-find-copyright):
2588 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2589 * emulation/tpu-edt.el (tpu-copy-keyfile):
2590 * play/bubbles.el (bubbles--mark-neighbourhood):
2591 * progmodes/executable.el
2592 (executable-make-buffer-file-executable-if-script-p):
2593 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2594
d3b049e6
SM
25952013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2596
170266d0
SM
2597 Cleanup Eshell to rely less on dynamic scoping.
2598 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2599 last-value, and ext-command here. Bind `args' closer to `body'.
2600 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2601 (eshell--args): Declare new dynamic var.
2602 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2603 last-value, and ext-command. Pass `args' to `body'.
2604 (eshell-process-args): Bind eshell--args.
2605 (eshell-set-option): Use eshell--args.
2606 * eshell/eshell.el (eshell): Use derived-mode-p.
2607 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2608 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2609 (eshell-glob-function): Declare.
2610 * eshell/esh-util.el: Require cl-lib.
2611 (eshell-read-hosts-file): Avoid add-to-list.
2612 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2613 `err'.
2614 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2615 Declare.
2616 (eshell/diff): Remove unused var `err'.
2617 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2618 `killflag'.
2619 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2620 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2621 first use.
2622 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2623 Move declaration before first use.
2624 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2625 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2626 rely on cl-return.
2627
56834f3b
GM
26282013-09-12 Glenn Morris <rgm@gnu.org>
2629
2630 * term/ns-win.el (global-map): Remove binding for ispell-next,
2631 deleted 1999-05-29. (Bug#15357)
2632
5c91a2b8
GM
26332013-09-11 Glenn Morris <rgm@gnu.org>
2634
da712f22
GM
2635 * echistory.el (electric-command-history): Remove call to deleted func.
2636
512e4cdc
GM
2637 * play/landmark.el (landmark-mode): Fix typos.
2638
d3506ca5
GM
2639 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2640 Check cvs-sort-ignore-file is bound.
2641
5c91a2b8
GM
2642 * savehist.el: No need for cl when compiling on Emacs.
2643
feeff482
SM
26442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2645
656bd483
SM
2646 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2647 (bug#15338).
d3b049e6
SM
2648 (eshell-self-insert-command, eshell-send-invisible):
2649 Remove unused argument.
656bd483
SM
2650 (eshell-handle-control-codes): Remove unused var `orig'.
2651 Avoid delete-backward-char.
2652
feeff482
SM
2653 * files.el (set-auto-mode): Simplify a bit further.
2654
2a08047a
GM
26552013-09-11 Glenn Morris <rgm@gnu.org>
2656
2657 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2658 (set-auto-mode): Don't regexp-quote elements.
2659 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2660 * progmodes/cc-mode.el (interpreter-mode-alist):
2661 * progmodes/ruby-mode.el (interpreter-mode-alist):
2662 Revert previous change.
2663
34675540
SM
26642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2665
1b3b87df
SM
2666 * play/snake.el (snake-mode):
2667 * play/mpuz.el (mpuz-mode):
2668 * play/landmark.el (lm-mode):
2669 * play/blackbox.el (blackbox-mode):
2670 * play/5x5.el (5x5-mode):
2671 * obsolete/options.el (Edit-options-mode):
2672 * net/quickurl.el (quickurl-list-mode):
2673 * net/newst-treeview.el (newsticker-treeview-mode):
2674 * mail/rmailsum.el (rmail-summary-mode):
2675 * mail/mspools.el (mspools-mode):
2676 * locate.el (locate-mode):
2677 * ibuffer.el (ibuffer-mode):
2678 * emulation/ws-mode.el (wordstar-mode):
2679 * emacs-lisp/debug.el (debugger-mode):
2680 * array.el (array-mode):
2681 * net/eudc.el (eudc-mode): Use define-derived-mode.
2682 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2683 Move initialization into declaration.
2684 (mairix-searches-mode): Use define-derived-mode.
2685 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2686 (eudc-edit-hotlist): Use dolist.
2687 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2688 (Man-mode): Use define-derived-mode.
2689 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2690 (Info-edit-mode): Use define-derived-mode.
2691 (Info-cease-edit): Use Info-mode.
2692 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2693 into declaration.
2694 (eshell-mode): Use define-derived-mode.
2695 * chistory.el (command-history-mode-map): Rename from
2696 command-history-map.
2697 (command-history-mode): Use define-derived-mode.
da712f22 2698 (Command-history-setup): Remove function.
1b3b87df
SM
2699 * calc/calc.el (calc-trail-mode-map): New var.
2700 (calc-trail-mode): Use define-derived-mode.
2701 (calc-trail-buffer): Set calc-main-buffer manually.
2702 * bookmark.el (bookmark-insert-annotation): New function.
2703 (bookmark-edit-annotation): Use it.
2704 (bookmark-edit-annotation-mode): Make it a proper major mode.
2705 (bookmark-send-edited-annotation): Use derived-mode-p.
2706 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2707 closer to its ideal place. Use \' to match EOS.
2708
34675540
SM
2709 * profiler.el (profiler-calltree-find): Use function-equal.
2710
6a5c15d9
GM
27112013-09-10 Glenn Morris <rgm@gnu.org>
2712
1af4c220
GM
2713 * files.el (interpreter-mode-alist): Convert to regexps.
2714 (set-auto-mode): Adapt for this. (Bug#15306)
2715 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2716 Comment out unused variable.
2717 * progmodes/cc-mode.el (interpreter-mode-alist):
2718 * progmodes/python.el (interpreter-mode-alist):
2719 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2720 * progmodes/sh-script.el (sh-set-shell):
2721 No longer use interpreter-mode-alist to get list of shells.
2722
6a5c15d9
GM
2723 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2724
8c27f5ff
SM
27252013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2726
02ef6c1a 2727 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2728 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2729 Bind switch-frame explicitly. Replace universal-argument-minus with
2730 a conditional binding.
2731 (universal-argument-num-events, saved-overriding-map): Remove.
2732 (restore-overriding-map): Remove.
2733 (universal-argument--mode): Rename from save&set-overriding-map,
2734 and rewrite.
2735 (universal-argument, universal-argument-more, negative-argument)
2736 (digit-argument): Adjust accordingly.
2737 (universal-argument-minus): Remove.
2738 (universal-argument-other-key): Remove.
2739
8c27f5ff
SM
2740 * subr.el (with-demoted-errors): Add `format' argument.
2741
6480194c
MA
27422013-09-10 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2745 `tramp-cleanup-connection'.
2746
2747 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2748 parameters KEEP-DEBUG and KEEP-PASSWORD.
2749
2750 * net/tramp.el (tramp-file-name-handler):
2751 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2752 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2753 (tramp-maybe-open-connection):
8c27f5ff
SM
2754 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2755 Use `tramp-cleanup-connection'.
6480194c 2756
8c27f5ff
SM
2757 * net/tramp-sh.el (tramp-maybe-open-connection):
2758 Catch 'uname-changed inside the progress reporter.
6480194c 2759
e5e916d8
GM
27602013-09-10 Glenn Morris <rgm@gnu.org>
2761
9a2c9b47
GM
2762 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2763
e5e916d8
GM
2764 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2765 returns "alternate access method" in mode (eg "-rw-r--r--.").
2766
144e38fe
GM
27672013-09-08 Glenn Morris <rgm@gnu.org>
2768
2769 * saveplace.el (load-save-place-alist-from-file):
2770 Demote errors. (Bug#15305)
2771
af9ff9e8
MA
27722013-09-08 Michael Albinus <michael.albinus@gmx.de>
2773
2774 Improve compatibility with older Emacsen, and XEmacs.
2775
2776 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2777 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2778 (with-tramp-progress-reporter): Do not let-bind `result'.
2779 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2780 (tramp-handle-make-auto-save-file-name): New function, moved from
2781 tramp-sh.el.
2782
2783 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2784 for `make-auto-save-file-name'.
8c27f5ff
SM
2785 (tramp-adb--gnu-switches-to-ash):
2786 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2787
2788 * net/tramp-cache.el (tramp-cache-print): Call
2789 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2790
2791 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2792 bound. It isn't for XEmacs.
2793
8c27f5ff
SM
2794 * net/tramp-compat.el (tramp-compat-copy-file):
2795 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2796 (tramp-compat-replace-regexp-in-string): New defun.
2797
2798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2799 for `make-auto-save-file-name'.
2800 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2801 `copy-file'.
2802 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2803 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2804 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2805
8c27f5ff
SM
2806 * net/tramp-gw.el (tramp-gw-open-network-stream):
2807 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2808
8c27f5ff
SM
2809 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2810 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2811 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2812 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2813 (tramp-sh-file-inotifywait-process-filter):
2814 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2815 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2816
2817 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2818 for `make-auto-save-file-name'.
8c27f5ff
SM
2819 (tramp-smb-handle-copy-directory):
2820 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2821 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2822 (tramp-smb-handle-copy-file): Improve error message.
2823 (tramp-smb-handle-rename-file): Rename directly only in case
2824 `newname' does not exist yet. This is a restriction of smbclient.
2825 (tramp-smb-maybe-open-connection): Rerun the function only when
2826 `auth-sources' is non-nil.
2827
0ca754d0
KH
28282013-09-08 Kenichi Handa <handa@gnu.org>
2829
2830 * international/characters.el: Set category "^" (Combining) for
2831 more characters.
2832
e8dd0787
AM
28332013-09-07 Alan Mackenzie <acm@muc.de>
2834
2835 Correctly fontify Java class constructors.
2836 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2837 in Java Mode.
2838 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2839 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2840 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2841 "typeless" declaration there.
2842
f2f248e7
RW
28432013-09-07 Roland Winkler <winkler@gnu.org>
2844
2845 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2846 field subtitle for entry type book.
2847
67982e2b
SM
28482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * minibuffer.el: Make minibuffer-complete call completion-in-region
2851 rather than other way around.
2852 (completion--some, completion-pcm--find-all-completions):
2853 Don't delay signals when debugging.
2854 (minibuffer-completion-contents): Beware fields within the
2855 minibuffer contents.
2856 (completion-all-sorted-completions): Use defvar-local.
2857 (completion--do-completion, completion--cache-all-sorted-completions)
2858 (completion-all-sorted-completions, minibuffer-force-complete):
2859 Add args `beg' and `end'.
2860 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2861 (minibuffer-complete): Use completion-in-region.
2862 (completion-complete-and-exit): New fun, extracted from
2863 minibuffer-complete-and-exit.
2864 (minibuffer-complete-and-exit): Use it.
2865 (completion--complete-and-exit): Rename from
2866 minibuffer--complete-and-exit.
2867 (completion-in-region--single-word): New function, extracted from
2868 minibuffer-complete-word.
2869 (minibuffer-complete-word): Use it.
2870 (display-completion-list): Make `common-substring' argument obsolete.
2871 (completion--in-region): Call completion--in-region-1 instead of
2872 minibuffer-complete.
2873 (completion-help-at-point): Pass boundaries to
2874 minibuffer-completion-help as args rather than via an overlay.
2875 (completion-pcm--string->pattern): Use `any-delim'.
2876 (completion-pcm--optimize-pattern): New function.
2877 (completion-pcm--pattern->regex): Handle `any-delim'.
2878 * icomplete.el (icomplete-forward-completions)
2879 (icomplete-backward-completions, icomplete-completions):
2880 Adjust calls to completion-all-sorted-completions and
2881 completion--cache-all-sorted-completions.
2882 (icomplete-with-completion-tables): Default to t.
2883 * emacs-lisp/crm.el (crm--current-element): Rename from
2884 crm--select-current-element. Don't put an overlay but return the
2885 boundaries instead.
2886 (crm--completion-command): Take two new args to bind to the boundaries.
2887 (crm-completion-help): Adjust accordingly.
2888 (crm-complete): Use completion-in-region.
2889 (crm-complete-word): Use completion-in-region--single-word.
2890 (crm-complete-and-exit): Use completion-complete-and-exit.
2891
e17d94a5
SM
28922013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2895 than dynamically.
2896
96727100
JL
28972013-09-06 Juri Linkov <juri@jurta.org>
2898
2899 * info.el (Info-display-images-node): When image file doesn't exist
2900 display text version of the image if it's provided in the Info file.
2901 Otherwise, display the location of missing image from SRC attribute.
2902 Add help-echo text property from ALT attribute. (Bug#15279)
2903
86cf7329
SM
29042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2907 (edit-abbrevs-mode): Use define-derived-mode.
2908
2909 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2910 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2911 that it's defined.
2912 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2913 Use define-derived-mode.
2914
2915 * epg.el (epg-start-encrypt): Minor CSE simplification.
2916
816244a2
WX
29172013-09-06 William Xu <william.xwl@gmail.com>
2918
2919 * arc-mode.el: Add support for 7za (bug#15264).
2920 (archive-7z-program): New var.
2921 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2922 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2923 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2924
1486fa31
MA
29252013-09-06 Michael Albinus <michael.albinus@gmx.de>
2926
2927 Remove URL syntax.
2928
2929 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2930 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2931 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2932 (tramp-postfix-host-format, tramp-file-name-regexp)
2933 (tramp-completion-file-name-regexp)
2934 (tramp-completion-dissect-file-name)
2935 (tramp-handle-substitute-in-file-name): Remove 'url case.
2936 (tramp-file-name-regexp-url)
2937 (tramp-completion-file-name-regexp-url): Remove constants.
2938
39785324
GM
29392013-09-06 Glenn Morris <rgm@gnu.org>
2940
2941 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2942
1f896cb7
DG
29432013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2944
2945 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2946 keywords" below "here-doc beginnings" (Bug#15270).
2947
c0458e0b
SM
29482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * subr.el (pop): Use `car-safe'.
2951 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2952 to detect unused `pop' return value.
2953
2954 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2955 var `block-regexp'.
2956 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2957 (python-fill-string): Remove unused var `marker'.
2958 (python-skeleton-add-menu-items): Remove unused var `items'.
2959
2960 * international/mule-cmds.el: Require CL.
2961 (find-coding-systems-for-charsets): Avoid add-to-list.
2962 (sanitize-coding-system-list): New function, extracted from
2963 select-safe-coding-system-interactively.
2964 (select-safe-coding-system-interactively): Use it.
2965 (read-input-method-name): Accept symbols for `default'.
2966
2967 * emacs-lisp/advice.el (defadvice): Add indent rule.
2968
6c42fc3e
DH
29692013-09-05 Daniel Hackney <dan@haxney.org>
2970
2971 * dired-x.el:
2972 * net/ange-ftp.el:
2973 * net/browse-url.el:
2974 * net/dbus.el:
2975 * net/eudc.el:
2976 * net/eudcb-ldap.el:
2977 * net/eww.el:
2978 * net/imap.el:
2979 * printing.el:
2980 * vc/ediff-diff.el:
2981 * vc/ediff-init.el:
2982 * vc/ediff-merg.el:
2983 * vc/ediff-mult.el:
2984 * vc/ediff-util.el:
2985 * vc/ediff-wind.el:
2986 * vc/ediff.el:
2987 * vc/emerge.el:
2988 * vc/pcvs.el:
2989 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2990 byte compiler. Remove some unused let-bound variables.
2991
4c528aab
SM
29922013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2995 a "ref-cell", since it gets better optimized (bug#14883).
2996
bd15c390
GM
29972013-09-05 Glenn Morris <rgm@gnu.org>
2998
2999 * progmodes/cc-awk.el (c-forward-sws): Declare.
3000
1c3ac2e5
GM
30012013-09-04 Glenn Morris <rgm@gnu.org>
3002
3003 * generic-x.el [rul-generic-mode]: Require cc-mode.
3004 (c++-mode-syntax-table): Declare.
3005 (rul-generic-mode-syntax-table): Init in the defvar.
3006
52b1cc79
SM
30072013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3008
c828af56
SM
3009 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3010 (vc-do-command, vc-set-async-update):
3011 * vc/vc-mtn.el (vc-mtn-dir-status):
3012 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3013 (vc-hg-pull, vc-hg-merge-branch):
3014 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3015 (vc-git-merge-branch):
3016 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3017 (vc-cvs-dir-status-files):
3018 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3019 (vc-bzr-dir-status-files):
3020 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3021 * vc/vc-annotate.el: Use lexical-binding.
3022 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3023 (vc-sentinel-movepoint): Declare.
3024 (vc-annotate): Don't use `goto-line'.
3025 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3026 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3027 (vc-sentinel-movepoint): Declare.
3028 * vc/vc-svn.el: Use lexical-binding.
3029 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3030 * vc/vc-sccs.el:
3031 * vc/vc-rcs.el: Use lexical-binding.
3032
abae272c
SM
3033 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3034 `deleted'. Don't drop errors silently.
3035
52b1cc79
SM
3036 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3037
63191d9f
XF
30382013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3039
3040 * vc/vc.el (vc-ignore): Rewrite.
3041 (vc-default-ignore): New function.
3042 (vc-default-ignore-completion-table): Use find-ignore-file.
3043
3044 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3045 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3046 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3047 Remove. Most code moved to vc.el.
3048
9d3f707c
SM
30492013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3050
abae272c 3051 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3052 * net/tramp-smb.el (tramp-smb-get-file-entries):
3053 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3054 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3055
fde38d49
SM
3056 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3057 Update call to it.
3058 (eww-change-select): Remove unused var `properties'.
3059 (eww-make-unique-file-name): Remove unused var `base'.
3060
3061 * finder.el (finder-compile-keywords): Don't mess with windows.
3062
84032db7
SM
3063 * calculator.el (calculator-funcall): Fix typo in last change.
3064
724f5e41
SM
3065 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3066
14b511d4
SM
3067 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3068 <pkg>-autoloads.el file stop us.
3069
9d3f707c 3070 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3071 warnings, and factor out common code.
9d3f707c 3072
88527bc0
DG
30732013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3074
3075 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3076 two-character operators and whether the character preceding them
3077 changes their meaning (Bug#15208).
3078
96edb677
FEG
30792013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3080
3081 Format code sent to Python shell for robustness.
9d3f707c
SM
3082 * progmodes/python.el (python-shell-buffer-substring):
3083 New function.
96edb677
FEG
3084 (python-shell-send-region, python-shell-send-buffer): Use it.
3085
95beaef3
MA
30862013-09-02 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3089 * net/tramp.el (tramp-user-error): ... here.
3090 (tramp-find-method, tramp-check-proper-host)
3091 (tramp-dissect-file-name, tramp-debug-message)
3092 (tramp-handle-shell-command):
3093 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3094 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3095
3096 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3097
f167c27b
MR
30982013-09-02 Martin Rudalics <rudalics@gmx.at>
3099
3100 * avoid.el (mouse-avoidance-point-position)
3101 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3102 returns nil.
3103
cd16c5f1
FEG
31042013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3105
3106 * progmodes/python.el (python-shell-completion-get-completions):
3107 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3108 (python-nav-if-name-main): New command.
cd16c5f1 3109
e73c3a0d
GM
31102013-09-01 Glenn Morris <rgm@gnu.org>
3111
f8ccce03
GM
3112 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3113 Avoid leading space in $wins. Otherwise the sed command used by
3114 eg compile-main ends up containing "/*.el". (Bug#15170)
3115
e73c3a0d
GM
3116 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3117
415f808e
GM
31182013-08-30 Glenn Morris <rgm@gnu.org>
3119
3120 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3121 Fix is-this-a-directory logic. (Bug#15220)
3122
f069bba8
SM
31232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3124
112798c1
SM
3125 * textmodes/css-mode.el: Use SMIE.
3126 (css-smie-grammar): New var.
3127 (css-smie--forward-token, css-smie--backward-token)
3128 (css-smie-rules): New functions.
3129 (css-mode): Use them.
3130 (css-navigation-syntax-table): Remove var.
3131 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3132 (css-indent-calculate, css-indent-line): Remove functions.
3133
3134 Misc changes to reduce use of `(lambda...); and other cleanups.
3135 * cus-edit.el: Use lexical-binding.
3136 (customize-push-and-save, customize-apropos)
3137 (custom-buffer-create-internal): Use closures.
3138 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3139 * progmodes/ada-xref.el: Use setq.
3140 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3141 * dframe.el: Use lexical-binding.
3142 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3143 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3144 * descr-text.el: Use lexical-binding.
3145 (describe-text-widget, describe-text-sexp, describe-property-list):
3146 Use closures.
3147 * comint.el (comint-history-isearch-push-state): Use a closure.
3148 * calculator.el: Use lexical-binding.
3149 (calculator-number-to-string): Make it work with lexical-binding.
3150 (calculator-funcall): Same and use cl-letf.
3151
2da4c3ab
SM
3152 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3153 (lisp--company-doc-string, lisp--company-location): New functions.
3154 (lisp-completion-at-point): Use them to improve Company support.
3155
f069bba8
SM
3156 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3157 params of lambda expressions.
3158 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3159 (ruby-smie--opening-pipe-p): New function.
3160 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3161 symbols and matched |...| for formal params.
3162 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3163 from being treated as hanging. Handle "rescue".
3164
6758b6a8
GM
31652013-08-29 Glenn Morris <rgm@gnu.org>
3166
3167 * progmodes/cc-engine.el (c-pull-open-brace):
3168 Move definition before use.
3169
e8dfd197
SM
31702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3173 are immutable. Don't use `unsafe' any more.
3174 (cl--defsubst-expand): Don't substitute at the same time as keeping
3175 a residual unused let-binding. Don't use `unsafe' any more.
3176
cc585c96
GM
31772013-08-29 Glenn Morris <rgm@gnu.org>
3178
ba579ea6
GM
3179 * calendar/cal-china.el (calendar-chinese-year-cache):
3180 Recenter on 2015.
3181
8201a87e
GM
3182 * nxml/nxml-util.el (nxml-debug-clear-inside):
3183 Use cl-loop rather than loop.
3184
6ee877c7
GM
3185 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3186
cc585c96
GM
3187 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3188
27be8d39
GM
31892013-08-28 Glenn Morris <rgm@gnu.org>
3190
397440a1
GM
3191 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3192
2bb762d4
GM
3193 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3194
27be8d39
GM
3195 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3196
2d69b99e
SM
31972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3198
f663baa7
SM
3199 * simple.el (repeat-complex-command--called-interactively-skip):
3200 New function.
3201 (repeat-complex-command): Use it (bug#14136).
3202
dd4f8b74
SM
3203 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3204 (c-define-abbrev-table): Add `doc' argument.
3205 (c-mode-abbrev-table, c++-mode-abbrev-table)
3206 (objc-mode-abbrev-table, java-mode-abbrev-table)
3207 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3208 (awk-mode-abbrev-table): Use it.
3209 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3210 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3211 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3212 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3213 Move initialization into the declaration; and remove any
3214 autoload cookie.
3215
b58969f7
SM
3216 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3217 and dynamic let binding.
3218
4021d6a6
SM
3219 * vc/smerge-mode.el: Remove redundant :group args.
3220
2d69b99e
SM
3221 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3222 to load-path.
3223
274919fd
JL
32242013-08-28 Juri Linkov <juri@jurta.org>
3225
3226 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3227 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3228 (isearch-other-meta-char): Handle an undefined shifted printing
3229 character by downshifting it. (Bug#15200)
3230
121f8c95
JL
32312013-08-28 Juri Linkov <juri@jurta.org>
3232
3233 * isearch.el (isearch-search): Change regexp error message for
3234 non-regexp searches. (Bug#15166)
3235
50b13cde
PE
32362013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3237
3238 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3239 for portability to hosts where /bin/sh has problems.
3240
95888bca
SM
32412013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3244
bbe558f1
JL
32452013-08-27 Juri Linkov <juri@jurta.org>
3246
3247 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3248 in the keyboard macro. (Bug#15126)
3249
26f98a7d
JL
32502013-08-27 Juri Linkov <juri@jurta.org>
3251
3252 * isearch.el (isearch-quote-char): Comment out converting unibyte
3253 to multibyte, thus syncing with its `quoted-insert' counterpart.
3254 (Bug#15166)
3255
7c97d35e
MR
32562013-08-27 Martin Rudalics <rudalics@gmx.at>
3257
3258 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3259 argument in call of get-largest-window (Bug#15185).
3260 Reported by Stephen Leake.
7c97d35e 3261
a0b5606e 32622013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3263
3264 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3265
9e89d835
SM
32662013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3269 from a matcher-function unless there's no more matches (bug#15161).
3270
78fc2530
MA
32712013-08-26 Michael Albinus <michael.albinus@gmx.de>
3272
3273 * minibuffer.el: Revert change from 2013-08-20.
3274
3275 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3276 with text property `tramp-default', if appropriate.
3277 (tramp-check-proper-host): New defun.
3278 (tramp-dissect-file-name): Do not check hostname. Revert change
3279 of 2013-03-18.
3280 (tramp-backtrace): Make VEC-OR-PROC optional.
3281
3282 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3283 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3284 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3285 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3286 Apply `tramp-check-proper-host'.
78fc2530 3287
edca97cd
TH
32882013-08-26 Tassilo Horn <tsdh@gnu.org>
3289
3290 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3291 lambda expression in order to have `describe-variable' display it.
3292
df54bcbd
MA
32932013-08-26 Michael Albinus <michael.albinus@gmx.de>
3294
3295 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3296 BUF can be optional. (Bug#15186)
3297
eed99101
XF
32982013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3299
3300 * progmodes/flymake.el (flymake-get-real-file-name-function):
3301 Fix broken customization. (Bug#15184)
3302
b5eb9035
AM
33032013-08-25 Alan Mackenzie <acm@muc.de>
3304
8a51e842
AM
3305 Improve indentation of bracelists defined by macros (without "=").
3306
3307 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3308 expansion begins with "{", regard it as bracelist when it doesn't
3309 contain a ";".
3310
869455d4
AM
3311 Parse C++ inher-intro when there's a template split over 2 lines.
3312
3313 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3314 rigorously the search for "class" etc. followed by ":".
3315
3316 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3317 random languages a regexp which never matches rather than nil.
3318
b5eb9035
AM
3319 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3320
3321 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3322 (c-awk-regexp-one-line-possibly-open-char-list-re)
3323 (c-awk-one-line-possibly-open-regexp-re)
3324 (c-awk-one-line-non-syn-ws*-re): Remove.
3325 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3326 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3327 (c-awk-space*-unclosed-regexp-/-re): New constants.
3328 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3329 aren't regexp delimiters.
3330
3331 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3332 handling for a rare situation in AWK Mode involving unterminated
3333 strings/regexps.
3334
61611d54
GM
33352013-08-23 Glenn Morris <rgm@gnu.org>
3336
2d85dc34
GM
3337 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3338
cb8d2612
GM
3339 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3340
bb35f42f
GM
3341 * files.el (create-file-buffer): If the result would begin with
3342 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3343
b9808e77
SM
33442013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3345
e3a66363
SM
3346 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3347 text-properties (bug#15155).
3348
b9808e77
SM
3349 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3350 exist any more.
3351 (calc-keypad-redraw): Remove unused var `pad'.
3352 (calc-keypad-press): Remove unused var `menu'.
3353
7fd5f65e
MR
33542013-08-23 Martin Rudalics <rudalics@gmx.at>
3355
b9808e77
SM
3356 * window.el (display-buffer-pop-up-frame):
3357 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3358 use it as the new frame's buffer (Bug#15133).
3359
8352b530
SM
33602013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3361
3362 * calendar/timeclock.el: Minor cleanups.
3363 (timeclock-ask-before-exiting, timeclock-use-display-time):
3364 Use `symbol'.
3365 (timeclock-modeline-display): Define as alias before the
3366 actual definition.
3367 (timeclock-mode-line-display): Use define-minor-mode.
3368 (timeclock-day-list-template): Make it a function, add an argument.
3369 (timeclock-day-list-required, timeclock-day-list-length)
3370 (timeclock-day-list-debt, timeclock-day-list-span)
3371 (timeclock-day-list-break): Adjust calls accordingly.
3372
9f7b1925
SM
33732013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3376 Use read--expression so that completion works again.
3377
6e50e983
SS
33782013-08-21 Sam Steingold <sds@gnu.org>
3379
3380 Add rudimentary inferior shell interaction
3381 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3382 (sh-set-shell): Reset it.
9f7b1925
SM
3383 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3384 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3385
dbb0d350
SM
33862013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * align.el: Use lexical-binding.
3389 (align-region): Simplify accordingly.
3390
c88586a9
MA
33912013-08-20 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3394
3395 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3396 `non-essential' up.
3397
f95527c8
MA
33982013-08-17 Michael Albinus <michael.albinus@gmx.de>
3399
3400 * net/tramp.el:
3401 * net/tramp-adb.el:
3402 * net/tramp-cmds.el:
3403 * net/tramp-ftp.el:
3404 * net/tramp-gvfs.el:
3405 * net/tramp-gw.el:
3406 * net/tramp-sh.el: Don't wrap external variable declarations by
3407 `eval-when-compile'.
3408
4b5fe4ee
LMI
34092013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3410
3411 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3412 now that Emacs supports ImageMagick animations.
3413
13c366c9
MA
34142013-08-16 Michael Albinus <michael.albinus@gmx.de>
3415
3416 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3417 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3418
3dfc5cd6
MR
34192013-08-16 Martin Rudalics <rudalics@gmx.at>
3420
3421 * window.el (mouse-autoselect-window-select): Do autoselect when
3422 mouse pointer is on margin.
3423
4bbb4381
WP
34242013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3425
3426 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3427
3a2ddc2d
GM
34282013-08-16 Glenn Morris <rgm@gnu.org>
3429
e8bedf5a
GM
3430 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3431 Handle "Remote Directory" response of some clients. (Bug#15058)
3432
58c4682f
GM
3433 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3434 Tweak warning. (Bug#14926)
3435
57953f49
GM
3436 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3437 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3438
3a2ddc2d
GM
3439 * image-mode.el (image-mode-map): Add menu items to reverse,
3440 increase, decrease, reset animation speed.
3441 (image--set-speed, image-increase-speed, image-decrease-speed)
3442 (image-reverse-speed, image-reset-speed): New functions.
3443 (image-mode-map): Add bindings for speed commands.
3444
3445 * image.el (image-animate-get-speed, image-animate-set-speed):
3446 New functions.
3447 (image-animate-timeout): Respect image :speed property.
3448
10fa0ed3
SM
34492013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3452 previous line (bug#15101).
3453 (debugger-eval-expression, debugger-record-expression):
3454 Use read--expression (bug#15102).
3455
5d89d9d2
MA
34562013-08-15 Michael Albinus <michael.albinus@gmx.de>
3457
3458 Remove byte compiler warnings, visible when compiling with
3459 `byte-compile-force-lexical-warnings' set to t.
3460
3461 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3462 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3463 (tramp-handle-unhandled-file-name-directory)
3464 (tramp-handle-file-notify-add-watch, tramp-action-login)
3465 (tramp-action-succeed, tramp-action-permission-denied)
3466 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3467 arguments with "_".
3468
3469 * net/tramp-adb.el (tramp-adb-parse-device-names)
3470 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3471 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3472 (tramp-adb-handle-file-truename): Remove unused arguments.
3473
3474 * net/tramp-cache.el (tramp-flush-directory-property)
3475 (tramp-flush-connection-property, tramp-list-connections)
3476 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3477
10fa0ed3
SM
3478 * net/tramp-compat.el (tramp-compat-make-temp-file):
3479 Rename FILENAME to F.
5d89d9d2
MA
3480
3481 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3482 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3483 (tramp-zeroconf-parse-workstation-device-names)
3484 (tramp-zeroconf-parse-webdav-device-names)
3485 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3486
3487 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3488 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3489
3490 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3491 arguments.
3492 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3493 (tramp-sh-handle-insert-file-contents-literally)
3494 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3495 with "_".
3496 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3497 Remove unused variables.
3498
3499 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3500 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3501 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3502
3503 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3504 Make them a defconst.
3505 (tramp-uuencode-region): Remove unused variable.
3506
62f33bae
JB
35072013-08-14 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * frameset.el (frameset--prop-setter): New function.
3510 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3511 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3512 parameter was already set in FILTERED. Doc fix.
3513 (frameset--record-minibuffer-relationships): Allow saving a
3514 minibufferless frame without its corresponding minibuffer frame.
3515 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3516 frame, if the frame id matches.
3517 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3518 frames before orphaned ones.
3519 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3520
c660a885
MR
35212013-08-14 Martin Rudalics <rudalics@gmx.at>
3522
3523 * window.el (window-make-atom): Don't overwrite parameter
3524 already present.
3525 (display-buffer-in-atom-window): Handle special case where we
3526 split an already atomic window.
3527 (window--major-non-side-window, display-buffer-in-side-window)
3528 (window--side-check): Ignore minibuffer window when walking
3529 window tree.
3530 (window-deletable-p): Return 'frame only if no other frame uses
3531 our minibuffer window.
3532 (record-window-buffer): Run buffer-list-update-hook.
3533 (split-window): Make sure window--check-frame won't destroy an
3534 existing atomic window in case the new window gets nested
3535 inside.
3536 (display-buffer-at-bottom): Ignore minibuffer window when
3537 walking window tree. Don't split a side window.
3538 (pop-to-buffer): Don't set-buffer here, the select-window call
3539 should do that.
3540 (mouse-autoselect-window-select): Autoselect only if we are in the
3541 text portion of the window.
3542
8259030d
LMI
35432013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3544
21c58ae2
LMI
3545 * net/shr.el (shr-parse-image-data): New function to grab both the
3546 data itself and the Content-Type.
3547 (shr-put-image): Use it.
3548
3549 * net/eww.el (eww-display-image): Ditto.
3550
8259030d
LMI
3551 * image.el (image-content-type-suffixes): New variable.
3552
ad756449
FEG
35532013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3554
3555 * progmodes/python.el (python-imenu--build-tree)
3556 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3557
f73f4ce6
XF
35582013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3559
3560 * simple.el (backward-word): Mention the optional argument.
3561
1f585e65
SM
35622013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * frameset.el (frameset--make): Rename constructor from make-frameset.
3565 (frameset-p, frameset-valid-p): Don't autoload.
3566 (frameset-valid-p): Use normal accessors.
3567
af1c6c84
GM
35682013-08-13 Glenn Morris <rgm@gnu.org>
3569
55e47f95
GM
3570 * progmodes/compile.el (compile-command): Tweak example in doc.
3571 * obsolete/scribe.el (scribe-mode):
3572 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3573
f0024d8c
GM
3574 * mail/feedmail.el (feedmail-confirm-outgoing)
3575 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3576
3577 * cus-start.el (truncate-partial-width-windows): Fix type.
3578
3579 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3580
af1c6c84
GM
3581 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3582
5514cc4c
SM
35832013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * emacs-lisp/timer.el (timer--time-setter): New function.
3586 (timer--time): Use it as gv-setter.
3587
3588 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3589 setter is not a symbol.
3590
7997a2f1
GJ
35912013-08-12 Grégoire Jadi <daimrod@gmail.com>
3592
3593 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3594 if sending fails. This makes debugging easier.
3595
01f1a9ab
JB
35962013-08-12 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3599 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3600 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3601
594a4307
EZ
36022013-08-12 Eli Zaretskii <eliz@gnu.org>
3603
3604 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3605
7a22490f 36062013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3607
3608 * format.el (format-annotate-function):
3609 Handle read-only text properties in the source. (Bug#14887)
3610
3e41a054
LMI
36112013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3612
5514cc4c
SM
3613 * net/eww.el (eww-display-html): Ignore coding system errors.
3614 One web site uses "utf-8lias" as the coding system.
3e41a054 3615
7ec326db
JB
36162013-08-11 Juanma Barranquero <lekktu@gmail.com>
3617
3618 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3619
5660113b
JB
36202013-08-10 Juanma Barranquero <lekktu@gmail.com>
3621
9a4ebc74
JB
3622 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3623 (tutorial--detailed-help): Remove unused local variables.
3624 (tutorial--save-tutorial-to): Use ignore-errors.
3625 (help-with-tutorial): Use looking-at-p.
3626
3627 * view.el (view-buffer-other-window, view-buffer-other-frame):
3628 Mark unused arguments.
3629
3630 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3631 (woman-select-symbol-fonts, woman, woman-find-file)
3632 (woman-insert-file-contents, woman-non-underline-faces):
3633 Use string-match-p.
3634 (woman1-unquote): Move declaration.
3635
3636 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3637 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3638 argument. Remove unused local variable.
3639 (xml-parse-elem-type): Use string-match-p.
3640 (xml-substitute-numeric-entities): Use ignore-errors.
3641
45fdb482
JB
3642 * calculator.el (calculator): Mark unused argument.
3643 (calculator-paste, calculator-quit, calculator-integer-p):
3644 Use ignore-errors.
3645 (calculator-string-to-number, calculator-decimal, calculator-exp)
3646 (calculator-op-or-exp): Use string-match-p.
3647
3648 * dired.el (dired-buffer-more-recently-used-p): Declare.
3649 (dired-insert-set-properties, dired-insert-old-subdirs):
3650 Use ignore-errors.
3651
3652 * dired-aux.el (dired-compress): Use ignore-errors.
3653 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3654 (dired-do-async-shell-command, dired-do-shell-command)
3655 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3656 (dired-insert-subdir-validate): Use string-match-p.
3657 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3658 (dired-add-entry): Use string-match-p, looking-at-p.
3659 (dired-insert-subdir-newpos): Remove unused local variable.
3660
3661 * filenotify.el (file-notify-callback): Remove unused local variable.
3662
3663 * filesets.el (filesets-error): Mark unused argument.
3664 (filesets-which-command-p, filesets-filter-dir-names)
3665 (filesets-directory-files, filesets-get-external-viewer)
3666 (filesets-ingroup-get-data): Use string-match-p.
3667
3668 * find-file.el (ff-other-file-name, ff-other-file-name)
3669 (ff-find-the-other-file, ff-cc-hh-converter):
3670 Remove unused local variables.
3671 (ff-get-file-name): Use string-match-p.
3672 (ff-all-dirs-under): Use ignore-errors.
3673
3674 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3675 (follow-select-if-visible): Remove unused local variable.
3676
3677 * forms.el (read-file-filter): Move declaration.
3678 (forms--make-format, forms--make-parser, forms-insert-record):
3679 Quote function with #'.
3680 (forms--update): Use string-match-p. Quote function with #'.
3681
3682 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3683 (help-make-xrefs): Use looking-at-p.
3684 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3685
3686 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3687 (ibuffer-confirm-operation-on): Use string-match-p.
3688
3689 * msb.el (msb-item-handler, msb-dired-item-handler):
3690 Mark unused arguments.
3691
3692 * ses.el (ses-decode-cell-symbol)
3693 (ses-kill-override): Remove unused local variable.
3694 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3695 (ses-load): Use ignore-errors, looking-at-p.
3696 (ses-jump-safe): Use ignore-errors.
3697 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3698
3699 * tabify.el (untabify, tabify): Mark unused arguments.
3700
3701 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3702 Mark unused argument.
3703 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3704 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3705
c880af52
JB
3706 * emacs-lisp/timer.el (timer--time): Define setter with
3707 gv-define-setter to avoid deprecation warning.
3708
5660113b 3709 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3710 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3711 (cmpl-statistics-block): Remove (body was commented out).
3712 All callers changed.
3713 (add-completions-from-buffer, load-completions-from-file):
3714 Remove unused variables.
3715
156aab80
JB
37162013-08-09 Juanma Barranquero <lekktu@gmail.com>
3717
5c5dee78
JB
3718 * filecache.el (file-cache-delete-file-list):
3719 Print message only when told so.
3720 (file-cache-files-matching): Use #' in mapconcat argument.
3721
156aab80
JB
3722 * ffap.el (ffap-url-at-point): Fix reference to variable
3723 thing-at-point-default-mail-uri-scheme.
3724
ad9dcd70
SM
37252013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3726
54bd972f
SM
3727 * subr.el (define-error): New function.
3728 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3729 error-file-not-found and define with define-error.
3730 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3731 and define with define-error.
3732 * userlock.el (file-locked, file-supersession):
3733 * simple.el (mark-inactive):
3734 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3735 * progmodes/ada-mode.el (ada-mode-errors):
3736 * play/life.el (life-extinct):
3737 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3738 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3739 * nxml/rng-util.el (rng-error):
3740 * nxml/rng-uri.el (rng-uri-error):
3741 * nxml/rng-match.el (rng-compile-error):
3742 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3743 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3744 * nxml/nxml-rap.el (nxml-scan-error):
3745 * nxml/nxml-outln.el (nxml-outline-error):
3746 * net/soap-client.el (soap-error):
3747 * net/gnutls.el (gnutls-error):
3748 * net/ange-ftp.el (ftp-error):
3749 * mpc.el (mpc-proc-error):
3750 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3751 (json-number-format, json-string-escape, json-string-format)
3752 (json-key-format, json-object-format):
3753 * jka-compr.el (compression-error):
3754 * international/quail.el (quail-error):
3755 * international/kkc.el (kkc-error):
3756 * emacs-lisp/ert.el (ert-test-failed):
3757 * calc/calc.el (calc-error, inexact-result, math-overflow)
3758 (math-underflow):
3759 * bookmark.el (bookmark-error-no-filename):
3760 * epg.el (epg-error): Define with define-error.
3761
0ea9e53a
SM
3762 * time.el (display-time-event-handler)
3763 (display-time-next-load-average): Don't call sit-for since it seems
3764 unnecessary (bug#15045).
3765
b0429158
SM
3766 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3767 Use #' instead of ' to quote functions.
3768 (checkdoc-output-mode): Use setq-local.
3769 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3770 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3771 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3772 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3773 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3774 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3775 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3776 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3777
ad9dcd70
SM
3778 * ido.el (ido-completion-help): Fix up compiler warning.
3779
77187e6f
JB
37802013-08-09 Juanma Barranquero <lekktu@gmail.com>
3781
3782 * frameset.el (frameset-p): Add autoload cookie.
3783 (frameset--jump-to-register): New function, based on code moved from
3784 register.el.
3785 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3786
3787 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3788 (frameset-restore, frameset-save, frameset-session-filter-alist):
3789 Remove declarations.
3790 (register-alist): Doc fix.
3791 (frameset-to-register): Move to frameset.el.
3792 (jump-to-register, describe-register-1): Remove frameset-specific code.
3793
9d3aa82c
JB
37942013-08-08 Juanma Barranquero <lekktu@gmail.com>
3795
3796 * allout-widgets.el (allout-widgets-pre-command-business)
3797 (allout-widgets-post-command-business)
3798 (allout-widgets-after-change-handler)
3799 (allout-decorate-item-and-context, allout-set-boundary-marker)
3800 (allout-body-modification-handler)
3801 (allout-graphics-modification-handler): Mark ignored arguments.
3802 (allout-widgets-post-command-business)
3803 (allout-widgets-exposure-change-processor)
3804 (allout-widgets-exposure-undo-processor)
3805 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3806 (allout-parse-item-at-point, allout-decorate-item-guides)
3807 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3808 * allout.el (epa-passphrase-callback-function): Declare.
3809 (allout-overlay-insert-in-front-handler)
3810 (allout-overlay-interior-modification-handler)
3811 (allout-isearch-end-handler, allout-chart-siblings)
3812 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3813 (allout-yank-processing, allout-process-exposed)
3814 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3815 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3816 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3817 (lisp-indent-defform): Mark ignored arguments.
3818 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3819 (calculate-lisp-indent): Remove unused variables.
3820 * international/characters.el (indian-2-column, arabic-2-column)
3821 (tibetan): Mark ignored arguments.
3822 (use-cjk-char-width-table): Mark ignored arguments.
3823 Remove unused variables.
3824 * international/fontset.el (build-default-fontset-data)
3825 (x-compose-font-name, create-fontset-from-fontset-spec):
3826 Mark ignored arguments.
3827 (fontset-plain-name): Remove unused variables.
3828 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3829 (keyboard-coding-system): Mark ignored arguments.
3830 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3831 * help.el (resize-temp-buffer-window):
3832 * window.el (display-buffer-in-major-side-window)
3833 (display-buffer-in-side-window, display-buffer-in-previous-window):
3834 Remove unused variables.
3835 * isearch.el (isearch-forward-symbol):
3836 * version.el (emacs-bzr-version-bzr):
3837 * international/mule-cmds.el (current-language-environment):
3838 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3839 (x-handle-display):
3840 * term/pc-win.el (x-list-fonts, x-display-planes)
3841 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3842 (x-server-version, x-display-screens, x-display-mm-height)
3843 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3844 (x-selection-owner-p, x-own-selection-internal)
3845 (x-disown-selection-internal, x-get-selection-internal)
3846 (msdos-initialize-window-system):
3847 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3848 * term/x-win.el (x-handle-no-bitmap-icon):
3849 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3850 (vc-default-find-file-hook, vc-default-extra-menu):
3851 Mark ignored arguments.
3852
0ca3f70e
SM
38532013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3856 break-condition in the context of the debugged code (bug#12685).
3857
74c5d24c
CS
38582013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3859
3860 * comint.el:
3861 Do not use an overlay to highlight the last prompt. (Bug#14744)
3862 (comint-mode): Make comint-last-prompt buffer local.
3863 (comint-last-prompt): New variable.
3864 (comint-last-prompt-overlay): Remove. Superseded by
3865 comint-last-prompt.
0ca3f70e
SM
3866 (comint-snapshot-last-prompt, comint-output-filter):
3867 Use comint-last-prompt.
74c5d24c 3868
c03c02ee
JB
38692013-08-08 Juanma Barranquero <lekktu@gmail.com>
3870
a3738d20 3871 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3872 (frameset-save): Check validity of the resulting frameset.
3873
04263d23
XF
38742013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3875
3876 * ido.el (ido-record-command): Add doc string.
3877
76c5e5ab
JB
38782013-08-08 Juanma Barranquero <lekktu@gmail.com>
3879
3880 * frameset.el (frameset): Do not disable creation of the default
3881 frameset-p predicate. Doc fix.
3882 (frameset-valid-p): New function, copied from the old predicate-p.
3883 Add additional checks.
3884 (frameset-restore): Check with frameset-valid-p.
3885 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3886 (frameset-name, frameset-description, frameset-properties)
3887 (frameset-states): Add docstring.
f9dbf1cb
JB
3888 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3889 (frameset-filter-alist): Doc fixes.
76c5e5ab 3890
bd0c3c0b
JB
38912013-08-08 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3894
c735544c
SM
38952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3898 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3899 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3900 (byte-compile-normal-call): Remove obsolescence check.
3901
2805a651
JB
39022013-08-08 Juanma Barranquero <lekktu@gmail.com>
3903
3677ffeb
JB
3904 * frameset.el (frameset-restore): Doc fix.
3905
2805a651
JB
3906 * register.el (frameset-frame-id, frameset-frame-with-id)
3907 (frameset-p, frameset-restore, frameset-save): Declare.
3908 (register-alist): Document framesets.
3909 (frameset-session-filter-alist): Declare.
3910 (frameset-to-register): New function.
3911 (jump-to-register): Implement jumping to framesets. Doc fix.
3912 (describe-register-1): Describe framesets.
3913
3914 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3915
a912c016
JB
39162013-08-07 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3919 Use lexical-binding.
3920
3921 * frameset.el (frameset): Use type vector, not list (incompatible
3922 change). Do not declare a new constructor, use the default one.
3923 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3924 `name' and `description', respectively, and add read-only slot
3925 `timestamp'. Doc fixes.
3926 (frameset-copy, frameset-persistent-filter-alist)
3927 (frameset-filter-alist, frameset-switch-to-gui-p)
3928 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3929 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3930 (frameset-filter-iconified, frameset-keep-original-display-p):
3931 Doc fixes.
3932 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3933 Rename from frameset-filter-(save|restore)-param. All callers changed.
3934 Doc fix.
3935 (frameset-p): Adapt to change to vector and be more thorough.
3936 Change arg name to OBJECT. Doc fix.
3937 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3938 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3939 All callers changed.
3940 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3941 All callers changed.
3942 (frameset--record-minibuffer-relationships): Rename from
3943 frameset--process-minibuffer-frames. All callers changed.
3944 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3945 Use new default constructor (again). Doc fix.
3946 (frameset--find-frame-if): Rename from `frameset--find-frame.
3947 All callers changed.
3948 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3949 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3950 Doc fix.
3951 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3952 PARAMETERS and WINDOW-STATE, respectively.
3953 (frameset-restore): Add new keyword argument PREDICATE.
3954 Reset frameset--target-display to nil. Doc fix.
3955
bb41480a
SM
39562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3957
f001e98e
SM
3958 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3959 (bat-mode): Use it.
3960 (bat-mode-syntax-table): Mark \n as end-of-comment.
3961 (bat-font-lock-keywords): Remove comment rule.
3962
7679edb1
SM
3963 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3964 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3965
bb41480a
SM
3966 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3967 (byte-compile-callargs-warn): Use `push'.
3968 (byte-compile-arglist-warn): Ignore higher-order "calls".
3969 (byte-compile-file-form-autoload): Use `pcase'.
3970 (byte-compile-function-form): If quoting a symbol, check that it exists.
3971
cdc1ebb9
EZ
39722013-08-07 Eli Zaretskii <eliz@gnu.org>
3973
3974 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3975 and add a few popular commands found in batch files.
3976 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3977 (dos-mode): Doc fixes.
3978
312b1740
SM
39792013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3982 (dos-mode): Use setq-local. Add space after "rem".
3983 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3984 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3985
400a3178
AM
39862013-08-07 Arni Magnusson <arnima@hafro.is>
3987
3988 * progmodes/dos.el: New file.
3989 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3990 dos-mode.
3991
3b5c03d3
GM
39922013-08-06 Glenn Morris <rgm@gnu.org>
3993
3994 * calendar/calendar.el: Add new faces, and day-header-array.
3995 (calendar-weekday-header, calendar-weekend-header)
3996 (calendar-month-header): New faces.
3997 (calendar-day-header-construct): New function.
3998 (calendar-day-header-width): Also :set calendar-day-header-array.
3999 (calendar-american-month-header, calendar-european-month-header)
4000 (calendar-iso-month-header): Use calendar- faces.
4001 (calendar-generate-month):
4002 Use calendar-day-header-array for day headers; apply faces to them.
4003 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4004 (calendar-abbrev-construct): Add optional maxlen argument.
4005 (calendar-day-name-array): Doc fix.
4006 (calendar-day-name-array, calendar-abbrev-length)
4007 (calendar-day-abbrev-array):
4008 Also :set calendar-day-header-array, and maybe redraw.
4009 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4010 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4011 (calendar-day-name): Add option to use header array.
4012
ec6a2d7a
LMI
40132013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4014
4015 * net/shr.el (shr-render-td): Remove debugging.
4016 (shr-render-td): Make width computation consistent by defaulting
4017 all zero-width columns to 10 characters. This may not be optimal,
4018 but it's at least consistent.
2122cb6d
LMI
4019 (shr-make-table-1): Redo last change to fix the real problem in
4020 colspan handling.
ec6a2d7a 4021
ed4fd9c5
DA
40222013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4023
0ca3f70e
SM
4024 * files.el (cache-long-line-scans):
4025 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4026
64e22afe
JB
40272013-08-06 Juanma Barranquero <lekktu@gmail.com>
4028
024b38fc
JB
4029 * frameset.el (frameset, frameset-filter-alist)
4030 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4031 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4032 (frameset-compute-pos): Rename from frameset--compute-pos,
4033 and add docstring.
4034 (frameset-move-onscreen): Use frameset-compute-pos.
4035 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4036
64e22afe
JB
4037 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4038 Fix typos in docstrings.
4039
c8c2aca8
DA
40402013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4041
4042 * frame.el (get-other-frame): Tiny cleanup.
4043
1d237bba
JB
40442013-08-06 Juanma Barranquero <lekktu@gmail.com>
4045
8951efef
JB
4046 * vc/vc.el (vc-default-ignore-completion-table):
4047 Silence byte-compiler warning.
4048
307764cc
JB
4049 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4050 slot , which can indeed be nil.
4051 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4052 Move entry for `left' from persistent to live filter alist.
4053 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4054 Doc fixes.
4055 (frameset-filter-params): When restoring a frame, copy items added to
4056 `filtered', to avoid unwittingly modifying the original parameters.
4057 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4058 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4059
1d237bba
JB
4060 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4061 to use looking-at-p instead of looking-at. (Bug#15028)
4062
dc6c0eda
SM
40632013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 Revert introduction of isearch-filter-predicates (bug#14714).
4066 Rely on add-function instead.
4067 * isearch.el (isearch-filter-predicates): Rename it back to
4068 isearch-filter-predicate.
4069 (isearch-message-prefix): Use advice-function-mapc and advice
4070 properties to get the isearch-message-prefix.
4071 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4072 instead of run-hook-with-args-until-failure.
4073 (isearch-filter-visible): Not obsolete any more.
4074 * loadup.el: Preload nadvice.
4075 * replace.el (perform-replace): Revert to funcall
4076 instead of run-hook-with-args-until-failure.
4077 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4078 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4079 dired-isearch-filenames-toggle; make it into a proper minor mode.
4080 Use add/remove-function.
4081 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4082 Call the minor-mode rather than add/remove-hook.
4083 (dired-isearch-filter-filenames):
4084 Remove isearch-message-prefix property.
4085 * info.el (Info--search-loop): New function, extracted from Info-search.
4086 Funcall isearch-filter-predicate instead of
4087 run-hook-with-args-until-failure isearch-filter-predicates.
4088 (Info-search): Use it.
4089 (Info-mode): Use isearch-filter-predicate instead of
4090 isearch-filter-predicates.
4091
290d5b58
DA
40922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4093
4094 Do not call to `selected-window' where it is assumed by default.
4095 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4096 `window-hscroll', `window-width', `window-height', `window-buffer',
4097 `window-frame', `window-start', `window-point', `next-window'
4098 and `window-display-table'.
4099 * abbrev.el (abbrev--default-expand):
4100 * bs.el (bs--show-with-configuration):
4101 * buff-menu.el (Buffer-menu-mouse-select):
4102 * calc/calc.el (calc):
4103 * calendar/calendar.el (calendar-generate-window):
4104 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4105 (diary-make-entry):
4106 * comint.el (send-invisible, comint-dynamic-complete-filename)
4107 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4108 * completion.el (complete):
4109 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4110 * disp-table.el (describe-current-display-table):
4111 * doc-view.el (doc-view-insert-image):
4112 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4113 * ehelp.el (with-electric-help):
4114 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4115 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4116 * emacs-lisp/helper.el (Helper-help-scroller):
4117 * emulation/cua-base.el (cua--post-command-handler-1):
4118 * eshell/esh-mode.el (eshell-output-filter):
4119 * ffap.el (ffap-gnus-wrapper):
4120 * help-macro.el (make-help-screen):
4121 * hilit-chg.el (highlight-compare-buffers):
4122 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4123 * hl-line.el (global-hl-line-highlight):
4124 * icomplete.el (icomplete-simple-completing-p):
4125 * isearch.el (isearch-done):
4126 * jit-lock.el (jit-lock-stealth-fontify):
4127 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4128 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4129 * mpc.el (mpc-tagbrowser, mpc):
4130 * net/rcirc.el (rcirc-any-buffer):
4131 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4132 * play/landmark.el (landmark-max-width, landmark-max-height):
4133 * play/zone.el (zone):
4134 * progmodes/compile.el (compilation-goto-locus):
4135 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4136 * progmodes/etags.el (find-tag-other-window):
4137 * progmodes/fortran.el (fortran-column-ruler):
4138 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4139 * progmodes/verilog-mode.el (verilog-point-text):
4140 * reposition.el (reposition-window):
4141 * rot13.el (toggle-rot13-mode):
4142 * server.el (server-switch-buffer):
4143 * shell.el (shell-dynamic-complete-command)
4144 (shell-dynamic-complete-environment-variable):
4145 * simple.el (insert-buffer, set-selective-display)
4146 (delete-completion-window):
4147 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4148 (speedbar-recenter):
4149 * startup.el (fancy-splash-head):
4150 * textmodes/ispell.el (ispell-command-loop):
4151 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4152 * tutorial.el (help-with-tutorial):
4153 * vc/add-log.el (add-change-log-entry):
4154 * vc/compare-w.el (compare-windows):
4155 * vc/ediff-help.el (ediff-indent-help-message):
4156 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4157 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4158 (ediff-setup-control-frame):
4159 * vc/emerge.el (emerge-position-region):
4160 * vc/pcvs-util.el (cvs-bury-buffer):
4161 * window.el (walk-windows, mouse-autoselect-window-select):
4162 * winner.el (winner-set-conf, winner-undo): Related users changed.
4163
38276e01
JB
41642013-08-05 Juanma Barranquero <lekktu@gmail.com>
4165
4166 * frameset.el (frameset--set-id): Doc fix.
4167 (frameset-frame-id, frameset-frame-id-equal-p)
4168 (frameset-locate-frame-id): New functions.
4169 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4170 (frameset-restore): Use them.
4171
12b4c0ea
DA
41722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4173
4174 Do not call to `selected-frame' where it is assumed by default.
4175 Affected functions are `raise-frame', `redraw-frame',
4176 `frame-first-window', `frame-terminal' and `delete-frame'.
4177 * calendar/appt.el (appt-disp-window):
4178 * epg.el (epg-wait-for-completion):
4179 * follow.el (follow-delete-other-windows-and-split)
4180 (follow-avoid-tail-recenter):
4181 * international/mule.el (set-terminal-coding-system):
4182 * mail/rmail.el (rmail-mail-return):
4183 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4184 * progmodes/f90.el (f90-add-imenu-menu):
4185 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4186 * server.el (server-switch-buffer):
4187 * simple.el (delete-completion-window):
4188 * talk.el (talk):
4189 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4190 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4191 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4192 * vc/ediff.el (ediff-documentation): Related users changed.
4193 * frame.el (selected-terminal): Remove the leftover.
4194
17f25e76
GM
41952013-08-05 Glenn Morris <rgm@gnu.org>
4196
4197 * calendar/calendar.el (calendar-generate-month):
4198 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4199 (calendar-generate-month, calendar-font-lock-keywords):
4200 Fix for calendar-day-header-width > length of any day name.
17f25e76 4201
063233c3
JB
42022013-08-05 Juanma Barranquero <lekktu@gmail.com>
4203
4204 * desktop.el (desktop-clear): Use new name of sort predicate.
4205
4206 * frameset.el (frameset): Add docstring. Move :version property to its
4207 own `version' slot.
4208 (frameset-copy): Rename from copy-frameset.
4209 (frameset-p): Check more thoroughly.
4210 (frameset-prop): Do not check for :version, which is no longer a prop.
4211 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4212 Use new :never value instead of t.
4213 (frameset-filter-alist): Expand and clarify docstring.
4214 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4215 (frameset-filter-minibuffer, frameset-filter-save-param)
4216 (frameset-filter-restore-param, frameset-filter-iconified):
4217 Add pointer to docstring of frameset-filter-alist.
4218 (frameset-filter-params): Rename filter values to be more meaningful:
4219 :never instead of t, and reverse the meanings of :save and :restore.
4220 (frameset--process-minibuffer-frames): Clarify error message.
4221 (frameset-save): Avoid unnecessary and confusing call to framep.
4222 Use new BOA constructor for framesets.
4223 (frameset--reuse-list): Doc fix.
4224 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4225 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4226 (frameset-minibufferless-first-p): Doc fix.
4227 Rename from frameset-sort-frames-for-deletion.
4228 (frameset-restore): Doc fixes. Use new function names.
4229 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4230
d5671a82
JB
42312013-08-04 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * desktop.el (desktop-restore-forces-onscreen)
4234 (desktop-restore-reuses-frames): Document :keyword constant values.
4235 (desktop-filter-parameters-alist): Remove, now identical to
4236 frameset-filter-alist.
4237 (desktop--filter-tty*): Remove, moved to frameset.el.
4238 (desktop-save-frameset, desktop-restore-frameset):
4239 Do not pass :filters argument.
4240
4241 * frameset.el (frameset-live-filter-alist)
4242 (frameset-persistent-filter-alist): New variables.
4243 (frameset-filter-alist): Use them. Add autoload cookie.
4244 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4245 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4246 `frameset--id' (it's supposed to be internal to frameset.el).
4247 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4248 (frameset--initial-params): New function.
4249 (frameset--get-frame): Use it. Doc fix.
4250 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4251 Accept :all, not 'all.
4252 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4253 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4254 with fbound symbols. Fix frame id matching, and remove matching ids if
4255 the frame being restored is deleted. Obey :delete.
4256
671d5c16
SM
42572013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * subr.el (macrop): New function.
4260 (text-clone--maintaining): New var.
4261 (text-clone--maintain): Rename from text-clone-maintain. Use it
4262 instead of inhibit-modification-hooks.
4263
4264 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4265 a proxy, so as handle autoloads and redefinitions of the target.
4266 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4267
4268 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4269 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4270 (pcase--mutually-exclusive-p): New function.
4271 (pcase--split-consp): Use it.
4272 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4273 mutually exclusive with the current predicate.
4274
4275 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4276 (edebug-macrop): Remove. Use `macrop' instead.
4277 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4278 (ad-macro-p):
4279 * eshell/esh-cmd.el (eshell-macrop):
4280 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4281
1d44e9dc
SM
42822013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4285 (advice-mapc): New function, using it.
4286 (advice-function-member-p): New function.
4287 (advice--normalize): Store the cdr in advice--saved-rewrite since
4288 that's the part that will be changed.
4289 (advice--symbol-function): New function.
4290 (advice-remove): Handle removal before the function is defined.
4291 Adjust to new advice--saved-rewrite.
4292 (advice-member-p): Use advice-function-member-p and
4293 advice--symbol-function.
4294
5414a283
JB
42952013-08-04 Juanma Barranquero <lekktu@gmail.com>
4296
51d30f2c
JB
4297 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4298 (frameset-filter-minibuffer): Doc fix.
4299 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4300 (frameset--set-id, frameset--process-minibuffer-frames)
4301 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4302 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4303
5414a283
JB
4304 * desktop.el (desktop-clear): Only delete frames when called
4305 interactively and desktop-restore-frames is non-nil. Doc fix.
4306 (desktop-read): Set desktop-saved-frameset to nil.
4307
ab419665
XF
43082013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4309
4310 * vc/vc.el (vc-ignore): Rewrite.
4311 (vc-default-ignore-completion-table):
4312 (vc--read-lines):
4313 (vc--add-line, vc--remove-regexp): New functions.
4314
4315 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4316 (vc-svn-ignore-completion-table): New function.
4317
4318 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4319 (vc-hg-ignore-completion-table):
4320 (vc-hg-find-ignore-file): New functions.
4321
4322 * vc/vc-git.el (vc-git-ignore): Rewrite.
4323 (vc-git-ignore-completion-table):
4324 (vc-git-find-ignore-file): New functions.
4325
4326 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4327
4328 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4329 (vc-bzr-ignore-completion-table):
4330 (vc-bzr-find-ignore-file): New functions.
4331
2613dea2
JB
43322013-08-03 Juanma Barranquero <lekktu@gmail.com>
4333
4334 * frameset.el (frameset-prop): New function and setter.
4335 (frameset-save): Do not modify frame list passed by the caller.
4336
9c959872
SM
43372013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4340
a104f656
SM
43412013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4342
70122acf
SM
4343 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4344 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4345
a104f656
SM
4346 * custom.el (custom-initialize-default, custom-initialize-set)
4347 (custom-initialize-reset, custom-initialize-changed): Affect the
4348 toplevel-default-value (bug#6275, bug#14586).
4349 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4350 for bug#6275.
4351
f078d570
JB
43522013-08-02 Juanma Barranquero <lekktu@gmail.com>
4353
185e3b5a
JB
4354 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4355 Add cl-def* expressions.
4356
f078d570
JB
4357 * frameset.el (frameset-filter-params): Fix order of arguments.
4358
9421876d
JB
43592013-08-02 Juanma Barranquero <lekktu@gmail.com>
4360
4361 Move code related to saving frames to frameset.el.
4362 * desktop.el: Require frameset.
4363 (desktop-restore-frames): Doc fix.
4364 (desktop-restore-reuses-frames): Rename from
4365 desktop-restoring-reuses-frames.
4366 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4367 (desktop-clear): Clear frames too.
4368 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4369 (desktop--filter-tty*, desktop-save, desktop-read):
4370 Use frameset functions.
4371 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4372 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4373 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4374 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4375 (desktop--process-minibuffer-frames, desktop-save-frames)
4376 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4377 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4378 (desktop--sort-states, desktop-restoring-frames-p)
4379 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4380 (desktop-restoring-frameset-p, desktop-restore-frameset)
4381 (desktop--check-dont-save, desktop-save-frameset): New functions.
4382 (desktop--app-id): New constant.
4383 (desktop-first-buffer, desktop-buffer-ok-count)
4384 (desktop-buffer-fail-count): Move before first use.
4385 * frameset.el: New file.
4386
76dc5996
SM
43872013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * files.el: Use lexical-binding.
4390 (dir-locals-read-from-file): Remove unused `err' variable.
4391 (hack-dir-local-variables--warned-coding): New var.
4392 (hack-dir-local-variables): Use it to avoid repeated warnings.
4393 (make-backup-file-name--default-function): New function.
4394 (make-backup-file-name-function): Use it as default.
4395 (buffer-stale--default-function): New function.
4396 (buffer-stale-function): Use it as default.
4397 (revert-buffer-insert-file-contents--default-function): New function.
4398 (revert-buffer-insert-file-contents-function): Use it as default.
4399 (insert-directory): Avoid add-to-list.
4400
4401 * autorevert.el (auto-revert-handler): Simplify.
4402 Use buffer-stale--default-function.
4403
06d36e2b
TH
44042013-08-01 Tassilo Horn <tsdh@gnu.org>
4405
5f648ab4
TH
4406 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4407
06d36e2b
TH
4408 * whitespace.el (whitespace-ensure-local-variables): New function.
4409 (whitespace-cleanup-region): Call it.
4410 (whitespace-turn-on): Call it.
4411
a43dc424
MA
44122013-08-01 Michael Albinus <michael.albinus@gmx.de>
4413
4414 Complete file name handlers.
4415
4416 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4417 (tramp-handle-verify-visited-file-modtime)
4418 (tramp-handle-file-notify-rm-watch): New functions.
4419 (tramp-call-process): Do not bind `default-directory'.
4420
44e18199
JB
4421 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4422 Order alphabetically.
a43dc424
MA
4423 [access-file, add-name-to-file, dired-call-process]:
4424 [dired-compress-file, file-acl, file-notify-rm-watch]:
4425 [file-ownership-preserved-p, file-selinux-context]:
4426 [make-directory-internal, make-symbolic-link, set-file-acl]:
4427 [set-file-selinux-context, set-visited-file-modtime]:
4428 [verify-visited-file-modtime]: Add handler.
4429 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4430
4431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4432 [file-notify-add-watch, file-notify-rm-watch]:
4433 [set-file-times, set-visited-file-modtime]:
4434 [verify-visited-file-modtime]: Add handler.
4435 (with-tramp-gvfs-error-message)
4436 (tramp-gvfs-handle-set-visited-file-modtime)
4437 (tramp-gvfs-fuse-file-name): Remove.
4438 (tramp-gvfs-handle-file-notify-add-watch)
4439 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4440 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4441
44e18199
JB
4442 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4443 Order alphabetically.
a43dc424
MA
4444 [file-notify-rm-watch ]: Use default Tramp handler.
4445 [executable-find]: Remove private handler.
4446 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4447 `default-directory'.
4448 (tramp-sh-handle-executable-find)
4449 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4450 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4451 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4452 Do not use `format' in `tramp-message'.
4453
4454 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4455 [file-notify-rm-watch, set-visited-file-modtime]:
4456 [verify-visited-file-modtime]: Add handler.
4457 (tramp-smb-call-winexe): Do not bind `default-directory'.
4458
7188b515
XF
44592013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4460
4461 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4462
2412ee1a
DG
44632013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4464
4465 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4466 use it.
4467 (log-view-diff-changeset): Same.
4468 (log-view-diff-common): Call backend command `previous-revision'
4469 to find out the previous revision, in both cases. Swap the
4470 variables `to' and `fr', so that `fr' usually refers to the
4471 earlier revision (Bug#14989).
4472
5002a754
KRC
44732013-07-31 Kan-Ru Chen <kanru@kanru.info>
4474
4475 * ibuf-ext.el (ibuffer-filter-by-filename):
4476 Make it work with dired buffers too.
4477
44e18199 44782013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4479
4480 * emacs-lisp/re-builder.el (reb-color-display-p):
4481 * files.el (save-buffers-kill-terminal):
4482 * net/browse-url.el (browse-url):
4483 * server.el (server-save-buffers-kill-terminal):
4484 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4485 Prefer nil to selected-frame for the first arg of frame-parameter.
4486
aeca3fbb
XF
44872013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4488
4489 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4490
158bc55c
SB
44912013-07-30 Stephen Berman <stephen.berman@gmx.net>
4492
4493 * minibuffer.el (completion--twq-all): Try and preserve each
4494 completion's case choice (bug#14907).
4495
d50fceab
LMI
44962013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4497
ac38e731
LMI
4498 * net/network-stream.el (open-network-stream): Mention the new
4499 :nogreeting parameter.
4500 (network-stream-open-starttls): Use the :nogreeting parameter
4501 (bug#14938).
4502
1211de50
LMI
4503 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4504
997798bf
LMI
4505 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4506 more natural than popping.
4507
d50fceab 4508 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4509 (shr-urlify): Highlight under mouse.
d50fceab 4510
5c09de04
XF
45112013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4512
207d1d04
XF
4513 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4514
4515 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4516
5c09de04
XF
4517 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4518 buffer for output.
4519
3cd51eaa
XF
4520 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4521 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4522
44e18199 4523 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4524 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4525
4526 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4527
4528 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4529 buffer for output.
4530
35a89bdd
EZ
45312013-07-29 Eli Zaretskii <eliz@gnu.org>
4532
4533 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4534 initial frame is minibuffer-less. (Bug#14841)
4535
78822e94
MA
45362013-07-29 Michael Albinus <michael.albinus@gmx.de>
4537
4538 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4539 option.
4540
4541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4542 (tramp-maybe-open-connection): Use it.
4543
9503c190
JB
45442013-07-28 Juanma Barranquero <lekktu@gmail.com>
4545
4546 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4547 minimal set of parameters passed when creating a frame, because
4548 the minibuffer status of a frame cannot be changed later.
4549
d5a845b4
SB
45502013-07-28 Stephen Berman <stephen.berman@gmx.net>
4551
4552 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4553 replace-regexp-in-string and inadvertent omissions in previous change.
4554 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4555 name of filtered items buffer.
d5a845b4 4556
ddeffb17
JB
45572013-07-28 Juanma Barranquero <lekktu@gmail.com>
4558
4559 * desktop.el: Optionally force offscreen frames back onscreen.
4560 (desktop-restoring-reuses-frames): New option.
4561 (desktop--compute-pos, desktop--move-onscreen): New functions.
4562 (desktop--make-frame): Use desktop--move-onscreen.
4563
f5950f7a
AM
45642013-07-27 Alan Mackenzie <acm@muc.de>
4565
4566 Fontify a Java generic method as a function.
4567 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4568 value to t.
4569
ae43b66a
SB
45702013-07-27 Stephen Berman <stephen.berman@gmx.net>
4571
4572 * calendar/todo-mode.el: Add command to rename todo files.
4573 (todo-rename-file): New command.
4574 (todo-key-bindings-t): Add key binding for it. Change the
4575 bindings of todo-filter-regexp-items(-multifile) to use `x'
4576 instead of `r', since the latter is better suited to the new
4577 renaming command.
4578
5ab78d3d
AM
45792013-07-27 Alan Mackenzie <acm@muc.de>
4580
4581 Make Java try-with-resources statement parse properly.
4582 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4583 (c-block-stmt-1-2-key): New language constants/variables.
4584 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4585 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4586 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4587 with c-block-stmt-1-2-key.
5ab78d3d 4588
d85c4d50
JB
45892013-07-27 Juanma Barranquero <lekktu@gmail.com>
4590
4591 * desktop.el (desktop--make-frame): Apply most frame parameters after
4592 creating the frame to force (partially or totally) offscreen frames to
4593 be restored as such.
4594
e4c467f9
XF
45952013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4596
4597 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4598 (Bug#14948)
e4c467f9 4599
7ced0d04
SM
46002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4603 `base' arg of backtrace-frame.
4604
fec92060
EZ
46052013-07-26 Eli Zaretskii <eliz@gnu.org>
4606
4607 * simple.el (list-processes): Doc fix.
4608
d58d31fb
JB
46092013-07-26 Juanma Barranquero <lekktu@gmail.com>
4610
4611 * desktop.el (desktop--select-frame):
d85c4d50 4612 Try harder to reuse existing frames.
d58d31fb 4613
53ff3e77
SM
46142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4617 (edebug-eval): Use backtrace-eval.
4618 (edebug--display, edebug--recursive-edit): Don't let-bind the
4619 edebug-outer-* vars that keep track of variables we locally let-bind.
4620 (edebug-outside-excursion): Don't restore outside values of locally
4621 let-bound vars.
4622 (edebug--display): Use user-error.
4623 (cl-lexical-debug, cl-debug-env): Remove.
4624
045f7a53
JB
46252013-07-26 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4628 are restored to be sure that they are visible before deleting any
4629 remaining ones.
4630
59070b32
MM
46312013-07-26 Matthias Meulien <orontee@gmail.com>
4632
742a3501
XF
4633 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4634 vc-print-root-log. (Bug#14948)
59070b32 4635
b1fb3596
RS
46362013-07-26 Richard Stallman <rms@gnu.org>
4637
4638 Add aliases for encrypting mail.
4639 * epa.el (epa-mail-aliases): New option.
4640 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4641 Bind inhibit-read-only so read-only text doesn't ruin everything.
4642 (epa-mail-default-recipients): New subroutine broken out.
4643 Handle epa-mail-aliases.
4644
56ea7291
SM
46452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 Add support for lexical variables to the debugger's `e' command.
4648 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4649 vars, except for debugger-outer-match-data.
4650 (debugger-frame-number): Move check for "on a function call" from
4651 callers into it. Add `skip-base' argument.
4652 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4653 (debugger-env-macro): Only reset the state stored in non-variables,
4654 i.e. current-buffer and match-data.
4655 (debugger-eval-expression): Rewrite using backtrace-eval.
4656 * subr.el (internal--called-interactively-p--get-frame): Remove.
4657 (called-interactively-p):
4658 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4659 `base' arg of backtrace-frame instead.
4660
15ac32d5
GM
46612013-07-26 Glenn Morris <rgm@gnu.org>
4662
8358a09d
GM
4663 * align.el (align-regexp): Doc fix. (Bug#14857)
4664 (align-region): Explicit error if subexpression missing/does not match.
4665
15ac32d5
GM
4666 * simple.el (global-visual-line-mode):
4667 Do not duplicate the mode lighter. (Bug#14858)
4668
f47ad11b
MR
46692013-07-25 Martin Rudalics <rudalics@gmx.at>
4670
4671 * window.el (display-buffer): In display-buffer bind
4672 split-window-keep-point to t, bug#14829.
4673
02530987
JB
46742013-07-25 Juanma Barranquero <lekktu@gmail.com>
4675
4676 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4677 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4678 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4679 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4680 Change accordingly.
f63ebeb5
JB
4681 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4682 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4683
6ccb9cab 46842013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4685
6ccb9cab 4686 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4687
cb3a56d2
JB
46882013-07-25 Juanma Barranquero <lekktu@gmail.com>
4689
4690 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4691 parameter to modify-frame-parameters if the value has not changed;
4692 this is a workaround for bug#14949.
4693 (desktop--make-frame): On cl-delete-if call, check parameter name,
4694 not full parameter.
4695
7aa7fff0
XF
46962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4697
4698 * vc/vc.el (vc-ignore): New function.
4699
4700 * vc/vc-svn.el (vc-svn-ignore): New function.
4701
4702 * vc/vc-hg.el (vc-hg-ignore): New function.
4703
4704 * vc/vc-git.el (vc-git-ignore): New function.
4705
4706 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4707 (vc-dir-ignore): New function.
4708
4709 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4710 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4711
4712 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4713
4714 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4715
889acc5c
JB
47162013-07-24 Juanma Barranquero <lekktu@gmail.com>
4717
4718 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4719 (desktop-restore-frames): Warn when deleting an existing frame failed.
4720
86c40970
GM
47212013-07-24 Glenn Morris <rgm@gnu.org>
4722
4723 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4724
d5d3c58a
MA
47252013-07-24 Michael Albinus <michael.albinus@gmx.de>
4726
4727 * filenotify.el (file-notify-supported-p):
4728 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4729 Remove functions.
4730
4731 * autorevert.el (auto-revert-use-notify):
4732 (auto-revert-notify-add-watch):
4733 * net/tramp.el (tramp-file-name-for-operation):
4734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4735 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4736 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4737 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4738 Remove `file-notify-supported-p' entry.
4739
d100084b
GM
47402013-07-24 Glenn Morris <rgm@gnu.org>
4741
4742 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4743 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4744
ac93e56b
SM
47452013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4746
249eea30
SM
4747 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4748 checked with memq (bug#14935).
4749
ac93e56b
SM
4750 * files.el (revert-buffer-function): Use a non-nil default.
4751 (revert-buffer-preserve-modes): Declare var to
4752 provide access to the `preserve-modes' argument.
4753 (revert-buffer): Let-bind it.
4754 (revert-buffer--default): New function, extracted from revert-buffer.
4755
2cdeb903
SM
47562013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * lpr.el: Signal print errors more prominently.
4759 (print-region-function): Don't default to nil.
4760 (lpr-print-region): New function, extracted from print-region-1.
4761 Check lpr's return value and signal an error in case of problem.
4762 (print-region-1): Use it.
4763 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4764 versions instead.
4765 (ps-printer-name): Default to nil.
4766 (ps-printer-name-option): Default to lpr-printer-switch.
4767 (ps-print-region-function): Don't default to nil.
4768 (ps-postscript-code-directory): Simplify default.
4769 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4770 (ps-string-list, ps-eval-switch, ps-flatten-list)
4771 (ps-flatten-list-1): Remove.
4772 (ps-multibyte-buffer): Avoid setq.
4773 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4774 (print-region-function, ps-print-region-function): Don't set them here.
4775
73600831
XF
47762013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4777
0e55c076
XF
4778 * ido.el (ido-fractionp):
4779 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4780 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4781 (ido-max-directory-size, ido-max-dir-file-cache)
4782 (ido-decorations): Doc fix.
4783
73600831
XF
4784 * ansi-color.el: Fix old URL.
4785
3d012865
MM
47862013-07-23 Michael R. Mauger <michael@mauger.com>
4787
e903c210 4788 * progmodes/sql.el: Version 3.3
3d012865
MM
4789 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4790 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4791 (sql-interactive-remove-continuation-prompt): Rewrite, use
4792 functions above. Fix continuation prompt and complete output line
4793 handling.
4794 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4795 redirected output buffer.
4796 (sql-mode): Restore deleted code (Bug#13591).
4797
da77a2e2
JB
47982013-07-23 Juanma Barranquero <lekktu@gmail.com>
4799
4800 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4801
80ff0c71
MA
48022013-07-23 Michael Albinus <michael.albinus@gmx.de>
4803
4804 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4805
4806 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4807 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4809
b61d71e4
JB
48102013-07-23 Juanma Barranquero <lekktu@gmail.com>
4811
4812 * desktop.el (desktop-clear): Simplify; remove useless checks
4813 against invalid buffer names.
4814 (desktop-list*): Use cl-list*.
4815 (desktop-buffer-info, desktop-create-buffer): Simplify.
4816
c3512092
LL
48172013-07-23 Leo Liu <sdl.web@gmail.com>
4818
4819 * bookmark.el (bookmark-make-record): Restore NAME as a default
4820 value. (Bug#14933)
4821
0ac26976
SM
48222013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4823
7d22ce18
SM
4824 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4825 extracted from autoload--insert-text.
4826 (autoload--insert-text): Remove.
4827 (autoload--print-cookie-text): New function, extracted from
4828 autoload--insert-cookie-text.
4829 (autoload--insert-cookie-text): Remove.
4830 (autoload-generate-file-autoloads): Adjust calls accordingly.
4831
9b2607e8
SM
4832 * winner.el (winner-hook-installed-p): Remove.
4833 (winner-mode): Simplify accordingly.
4834
c43a8618
SM
4835 * subr.el (add-to-list): Fix compiler-macro when `append' is
4836 not constant. Don't use `cl-member' for the base case.
4837
0ac26976
SM
4838 * progmodes/subword.el: Fix boundary case (bug#13758).
4839 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4840 own group.
4841 (subword-backward-regexp): Make it a constant.
4842 (subword-forward-internal): Don't treat a trailing capital as the
4843 beginning of a word.
4844
6874724a
AR
48452013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4846
4847 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4848 global value of tabulated-list-revert-hook (bug#14930).
4849
70f1b5e8
JB
48502013-07-22 Juanma Barranquero <lekktu@gmail.com>
4851
a1c80d9d
JB
4852 * desktop.el: Require 'cl-lib.
4853 (desktop-before-saving-frames-functions): New hook.
4854 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4855 for frames being saved. Rename from desktop--save-minibuffer-frames.
4856 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4857 Do not save frames with non-nil `desktop-dont-save' parameter.
4858 Filter out deleted frames.
a1c80d9d
JB
4859 (desktop--find-frame): Use cl-find-if.
4860 (desktop--select-frame): Use cl-(first|second|third) to access values
4861 of desktop-mini.
4862 (desktop--make-frame): Use cl-delete-if.
4863 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4864 (desktop-restore-frames): Use cl-(first|second|third) to access values
4865 of desktop-mini. Look for visible frame at the end, not while
4866 restoring frames.
4867
70f1b5e8
JB
4868 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4869 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4870 Use string-match-p, looking-at-p (bug#14927).
4871
728dc3cc
JB
48722013-07-21 Juanma Barranquero <lekktu@gmail.com>
4873
56bc453c
JB
4874 * desktop.el (desktop-saved-frame-states):
4875 Rename from desktop--saved-states; all users changed.
4876 (desktop-save-frames): Rename from desktop--save-frames.
4877 Do not save state to desktop file.
4878 (desktop-save): Save desktop-saved-frame-states to desktop file
4879 and reset to nil.
4880 (desktop-restoring-frames-p): New function.
4881 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4882 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4883 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4884
728dc3cc
JB
4885 * desktop.el: Correctly restore iconified frames.
4886 (desktop--filter-iconified-position): New function.
4887 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4888
862f1c9c
GM
48892013-07-20 Glenn Morris <rgm@gnu.org>
4890
c4074c9f
GM
4891 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4892 Let `message' do the formatting.
4893 (def-gdb-preempt-display-buffer): Add explicit format.
4894
d828e5f9
GM
4895 * image-dired.el (image-dired-track-original-file):
4896 Use with-current-buffer.
4897 (image-dired-track-thumbnail): Use with-current-buffer.
4898 Avoid changing point of wrong window.
4899
862f1c9c
GM
4900 * image-dired.el (image-dired-track-original-file):
4901 Avoid changing point of wrong window. (Bug#14909)
4902
f0398ec1 49032013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4904
4905 * progmodes/gdb-mi.el (gdb-done-or-error):
4906 Guard against "%" in gdb output. (Bug#14127)
4907
1451928f
AS
49082013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4909
763a086d
JB
4910 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4911 (Bug#14826)
f7a03897 4912
1451928f
AS
4913 * international/mule.el (coding-system-iso-2022-flags): Fix last
4914 change.
4915
99107004
KH
49162013-07-20 Kenichi Handa <handa@gnu.org>
4917
763a086d
JB
4918 * international/mule.el (coding-system-iso-2022-flags):
4919 Add `8-bit-level-4'. (Bug#8522)
99107004 4920
48494e06
LMI
49212013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4922
8ba8eec5
LMI
4923 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4924 (bug#14815).
4925
dfbc66e3
LMI
4926 * net/eww.el (eww-process-text-input): Allow inputting when the
4927 point is at the start of the line, as the properties aren't
4928 front-sticky.
4929
48494e06
LMI
4930 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4931 degenerate widths.
4932
77c92cb9
RS
49332013-07-19 Richard Stallman <rms@gnu.org>
4934
aec7da77
RS
4935 * epa.el (epa-popup-info-window): Doc fix.
4936
77c92cb9
RS
4937 * subr.el (split-string): New arg TRIM.
4938
945c5bb1
JB
49392013-07-18 Juanma Barranquero <lekktu@gmail.com>
4940
4941 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4942 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4943
e06ec67f
MA
49442013-07-18 Michael Albinus <michael.albinus@gmx.de>
4945
c7064f05 4946 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4947 `file-notify-support'. Do not autoload. Adapt all uses.
4948 (file-notify-supported-p): New defun.
4949
c7064f05
JB
4950 * autorevert.el (auto-revert-use-notify):
4951 Use `file-notify-supported-p' instead of `file-notify-support'.
4952 Adapt docstring.
e06ec67f
MA
4953 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4954
4955 * net/tramp.el (tramp-file-name-for-operation):
4956 Add `file-notify-supported-p'.
4957
4958 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4959 New defun.
4960 (tramp-sh-file-name-handler-alist): Add it as handler for
4961 `file-notify-supported-p '.
4962
4963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4966 Add `ignore' as handler for `file-notify-*' functions.
4967
5dc8a629
EZ
49682013-07-17 Eli Zaretskii <eliz@gnu.org>
4969
4970 * simple.el (line-move-partial, line-move): Don't start vscroll or
4971 scroll-up if the current line is not taller than the window.
4972 (Bug#14881)
4973
77aea2fb
DG
49742013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4975
4976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4977 highlight question marks in the method names as strings.
ac72c08d
DG
4978 (ruby-block-beg-keywords): Inline.
4979 (ruby-font-lock-keyword-beg-re): Extract from
4980 `ruby-font-lock-keywords'.
77aea2fb 4981
18c26d81
JD
49822013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4983
4984 * frame.el (blink-cursor-blinks): New defcustom.
4985 (blink-cursor-blinks-done): New defvar.
4986 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4987 (blink-cursor-timer-function): Check if number of blinks has been
4988 done on X and NS.
4989 (blink-cursor-suspend, blink-cursor-check): New defuns.
4990
da48522e
GM
49912013-07-15 Glenn Morris <rgm@gnu.org>
4992
4993 * edmacro.el (edmacro-format-keys): Fix previous change.
4994
0463c1ef
PE
49952013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4996
4997 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4998 The hack didn't work outside English locales anyway.
4999
b43f6451
JB
50002013-07-15 Juanma Barranquero <lekktu@gmail.com>
5001
5002 * simple.el (define-alternatives): Rename from alternatives-define,
5003 per RMS' suggestion.
5004
b958c0ad
JB
50052013-07-14 Juanma Barranquero <lekktu@gmail.com>
5006
5007 * desktop.el (desktop-restore-frames): Change default to t.
5008 (desktop-restore-in-current-display): Now offer more options.
5009 (desktop-restoring-reuses-frames): New customization option.
5010 (desktop--saved-states): Doc fix.
5011 (desktop-filter-parameters-alist): New variable, renamed and expanded
5012 from desktop--excluded-frame-parameters.
5013 (desktop--target-display): New variable.
5014 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5015 (desktop--filter-tty*, desktop--filter-*-color)
5016 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5017 (desktop--filter-save-desktop-parm)
5018 (desktop-restore-in-original-display-p): New functions.
5019 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5020 (desktop--save-minibuffer-frames): New function, inspired by a similar
5021 function from Martin Rudalics.
5022 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5023 (desktop--restore-in-this-display-p): Remove.
5024 (desktop--find-frame): Rename from desktop--find-frame-in-display
5025 and add predicate argument.
5026 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5027 (desktop--reuse-list): New variable.
5028 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5029 New functions.
5030 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5031
f6dd8b36
MA
50322013-07-14 Michael Albinus <michael.albinus@gmx.de>
5033
5034 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5035
2ce3c565
DG
50362013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5037
763a086d
JB
5038 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5039 Highlight conversion methods on Kernel.
2ce3c565 5040
2cdb7698
AM
50412013-07-13 Alan Mackenzie <acm@muc.de>
5042
5043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5044 and comment it out. This out-commenting enables certain C++
5045 declarations to be parsed correctly.
5046
1a67b811
EZ
50472013-07-13 Eli Zaretskii <eliz@gnu.org>
5048
1b796d6b
EZ
5049 * international/mule.el (define-coding-system): Doc fix.
5050
1a67b811
EZ
5051 * simple.el (default-font-height): Don't call font-info if the
5052 frame's default font didn't change since the frame was created.
5053 (Bug#14838)
5054
58fbe886
LL
50552013-07-13 Leo Liu <sdl.web@gmail.com>
5056
5057 * ido.el (ido-read-file-name): Guard against non-symbol value.
5058
1f0480d4
FEG
50592013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5060
5061 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5062 in nested defuns.
5063
97ead0e5
LL
50642013-07-13 Leo Liu <sdl.web@gmail.com>
5065
5066 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5067 ido-set-matches call. (Bug#6852)
5068
0880a952
DG
50692013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5070
5071 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5072 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5073 Ruby 2.0.
5074 (ruby-font-lock-keywords): Distinguish calls to functions with
5075 module-like names from module references. Highlight character
5076 literals.
5077
a7d8babb
SDJ
50782013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5079
5080 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5081 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5082
acfcc8c5
JB
50832013-07-12 Juanma Barranquero <lekktu@gmail.com>
5084
5085 * desktop.el (desktop--v2s): Remove unused local variable.
5086 (desktop-save-buffer): Make defvar-local; adjust docstring.
5087 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5088 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5089
051f2775
AS
50902013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5091
5092 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5093
f24e7572
GM
50942013-07-12 Eli Zaretskii <eliz@gnu.org>
5095
5096 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5097 (Bug#14842)
5098
539a920c
GM
50992013-07-12 Glenn Morris <rgm@gnu.org>
5100
5101 * doc-view.el: Require cl-lib at runtime too.
5102 (doc-view-remove-if): Remove.
5103 (doc-view-search-next-match, doc-view-search-previous-match):
5104 Use cl-remove-if.
5105
5106 * edmacro.el: Require cl-lib at runtime too.
5107 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5108 (edmacro-mismatch, edmacro-subseq): Remove.
5109
5110 * shadowfile.el: Require cl-lib.
5111 (shadow-remove-if): Remove.
5112 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5113 Use cl-remove-if.
5114
5115 * wid-edit.el: Require cl-lib.
5116 (widget-choose): Use cl-remove-if.
5117 (widget-remove-if): Remove.
5118
5119 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5120 (ebrowse-delete-if-not): Remove.
5121 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5122 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5123 Use cl-delete-if-not.
5124
1048af7c
JB
51252013-07-12 Juanma Barranquero <lekktu@gmail.com>
5126
5127 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5128 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5129
6c0674ee
LL
51302013-07-12 Leo Liu <sdl.web@gmail.com>
5131
5132 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5133
a19b3c2d
GM
51342013-07-11 Glenn Morris <rgm@gnu.org>
5135
4582a01c
GM
5136 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5137 (edebug-gensym-index, edebug-gensym):
5138 Remove reimplementation of cl-gensym.
5139 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5140
5141 * thumbs.el: Require cl-lib at run-time too.
5142 (thumbs-gensym-counter, thumbs-gensym):
5143 Remove reimplementation of cl-gensym.
5144 (thumbs-temp-file): Use cl-gensym.
5145
a19b3c2d
GM
5146 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5147 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5148 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5149 (ert--union, ert--gensym-counter, ert--gensym-counter)
5150 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5151 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5152 (ert-make-test-unbound, ert--expand-should-1)
5153 (ert--expand-should, ert--should-error-handle-error)
5154 (should-error, ert--explain-equal-rec)
5155 (ert--plist-difference-explanation, ert-select-tests)
5156 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5157 Use cl-lib functions rather than reimplementations.
5158
88f6a933
MA
51592013-07-11 Michael Albinus <michael.albinus@gmx.de>
5160
5161 * net/tramp.el (tramp-methods): Extend docstring.
5162 (tramp-connection-timeout): New defcustom.
5163 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5164 (with-tramp-progress-reporter): Simplify.
5165 (tramp-process-actions): Improve messages.
5166
5167 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5168 * net/tramp-sh.el (tramp-maybe-open-connection):
5169 Use `tramp-connection-timeout'.
5170 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5171 (Bug#14808)
5172
a43d577e
LL
51732013-07-11 Leo Liu <sdl.web@gmail.com>
5174
5175 * ido.el (ido-read-file-name): Conform to the requirements of
5176 read-file-name. (Bug#11861)
5177 (ido-read-directory-name): Conform to the requirements of
5178 read-directory-name.
5179
d77974bf
JB
51802013-07-11 Juanma Barranquero <lekktu@gmail.com>
5181
5182 * subr.el (delay-warning): New function.
5183
35cb8a3e
EZ
51842013-07-10 Eli Zaretskii <eliz@gnu.org>
5185
5186 * simple.el (default-line-height): New function.
5187 (line-move-partial, line-move): Use it instead of computing the
5188 line height inline.
5189 (line-move-partial): Always compute ROWH. If the last line is
5190 partially-visible, but its text is completely visible, allow
5191 cursor to enter such a partially-visible line.
5192
525c5c77
MA
51932013-07-10 Michael Albinus <michael.albinus@gmx.de>
5194
5195 Improve error messages. (Bug#14808)
5196
5197 * net/tramp.el (tramp-current-connection): New defvar, moved from
5198 tramp-sh.el.
0ac26976 5199 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5200 needed anymore.
0ac26976
SM
5201 (tramp-error-with-buffer): Show message in minibuffer.
5202 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5203 (with-tramp-progress-reporter): Improve messages.
5204 (tramp-process-actions): Use progress reporter. Delete process in
5205 case of error. Improve messages.
5206
763a086d
JB
5207 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5208 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5209 (tramp-current-connection): Remove.
525c5c77
MA
5210 (tramp-maybe-open-connection): The car of
5211 `tramp-current-connection' are the first 3 slots of the vector.
5212
c7a4d368
TZ
52132013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5214
5215 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5216 inside continued strings.
5217
954b166e
PE
52182013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5219
5220 Timestamp fixes for undo (Bug#14824).
5221 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5222
56973319
LL
52232013-07-10 Leo Liu <sdl.web@gmail.com>
5224
5225 * files.el (require-final-newline): Allow safe local value.
5226 (Bug#14834)
5227
5550a72c
LL
52282013-07-09 Leo Liu <sdl.web@gmail.com>
5229
5230 * ido.el (ido-read-directory-name): Handle fallback.
5231 (ido-read-file-name): Update DIR to ido-current-directory.
5232 (Bug#1516)
c28b9050 5233 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5234
70c46b28
DG
52352013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5236
5237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5238 "autoload". Remove "warn lower camel case" section, previously
5239 commented out. Highlight negation char. Do not highlight the
5240 target in singleton method definitions.
5241
0b64b838
SM
52422013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5243
7fd72e2c
SM
5244 * faces.el (tty-setup-hook): Declare the hook.
5245
0b64b838
SM
5246 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5247 and detect when a guard/pred depends on local vars (bug#14773).
5248 (pcase--u1): Adjust caller.
5249
ab49d60b
EZ
52502013-07-08 Eli Zaretskii <eliz@gnu.org>
5251
5252 * simple.el (line-move-partial, line-move): Account for
5253 line-spacing.
701d79aa
EZ
5254 (line-move-partial): Avoid setting vscroll when the last
5255 partially-visible line in window is of default height.
ab49d60b 5256
2d756ae0
LMI
52572013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258
5259 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5260 been used a while.
5261
ed095bd7
JB
52622013-07-07 Juanma Barranquero <lekktu@gmail.com>
5263
5264 * subr.el (read-quoted-char): Remove unused local variable `char'.
5265
f1e6674b
MK
52662013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5267
584ee3fc
GM
5268 * ediff.el (ediff-version): Version update.
5269 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5270 (ediff-merge-with-ancestor-command, ediff-directories-command)
5271 (ediff-directories3-command, ediff-merge-directories-command)
5272 (ediff-merge-directories-with-ancestor-command): New functions.
5273 All are command-line interfaces to ediff: to facilitate calling
5274 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5275
5276 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5277 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5278
584ee3fc
GM
5279 * viper.el (viper-version): Version update.
5280 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5281
584ee3fc
GM
52822013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5285 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5286 (viper-intercept-ESC-key): Simplify.
5287 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5288 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5289 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5290 (viper-setup-ESC-to-escape): New functions.
5291 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5292 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5293
9aff9b38
EZ
52942013-07-07 Eli Zaretskii <eliz@gnu.org>
5295
5165d44a
JB
5296 * simple.el (default-font-height, window-screen-lines):
5297 New functions.
9aff9b38
EZ
5298 (line-move, line-move-partial): Use them instead of
5299 frame-char-height and window-text-height. This makes scrolling
5300 text smoother when the buffer's default face uses a font that is
5301 different from the frame's default font.
5302
1afb1d07
JD
53032013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5304
5305 * files.el (write-file): Do not display confirm dialog for NS,
5306 it does its own dialog, which can't be cancelled (Bug#14578).
5307
23de972a
EZ
53082013-07-06 Eli Zaretskii <eliz@gnu.org>
5309
5310 * simple.el (line-move-partial): Adjust the row returned by
5311 posn-at-point for the current window-vscroll. (Bug#14567)
5312
54a42486
MA
53132013-07-06 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5316 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5317 spaces.
5318
34ada5f4
MR
53192013-07-06 Martin Rudalics <rudalics@gmx.at>
5320
5321 * window.el (window-state-put-stale-windows): New variable.
5322 (window--state-put-2): Save list of windows without matching buffer.
5323 (window-state-put): Remove "bufferless" windows if possible.
5324
11e03d89
JB
53252013-07-06 Juanma Barranquero <lekktu@gmail.com>
5326
5327 * simple.el (alternatives-define): Remove leftover :group keyword.
5328 Tweak docstring.
5329
3504a4be
LL
53302013-07-06 Leo Liu <sdl.web@gmail.com>
5331
5332 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5333 (ido-enable-virtual-buffers): New variable.
5334 (ido-buffer-internal, ido-toggle-virtual-buffers)
5335 (ido-make-buffer-list): Use it.
5336 (ido-exhibit): Support turning on and off virtual buffers
5337 automatically.
5338
61e56e2c
JB
53392013-07-06 Juanma Barranquero <lekktu@gmail.com>
5340
5341 * simple.el (alternatives-define): New macro.
5342
321e1a9c
SM
53432013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * subr.el (read-quoted-char): Use read-key.
5346 (sit-for): Let read-event decode tty input (bug#14782).
5347
d610f6dd
SB
53482013-07-05 Stephen Berman <stephen.berman@gmx.net>
5349
5350 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5351 mode command and externally. Fix various related bugs.
5352 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5353 (todo-delete-file): New command.
5354 (todo-check-file): New function.
5355 (todo-show): Handle external deletion of the file we're trying to
5356 show (bug#14688). Replace called-interactively-p by an optional
5357 prefix argument to avoid problematic interaction with catch form
5358 when byte compiled (bug#14702).
5359 (todo-quit): Handle external deletion of the archive's todo file.
5360 Make sure the buffer that was visiting the archive file is still
5361 live before trying to bury it.
5362 (todo-category-completions): Handle external deletion of any
5363 category completion files.
5364 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5365 of todo files, in case of external deletion.
5366 (todo-add-file): Replace unnecessary setq by let-binding.
5367 (todo-find-archive): Check whether there are any archives.
5368 Replace unnecessary setq by let-binding.
5369 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5370 archive buffer whether or not the archive already exists.
5371 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5372 check if the archive is new; if it is, update list of archives.
5373 (todo-default-todo-file): Allow nil to be a valid value for when
5374 there are no todo files.
5375 (todo-reevaluate-default-file-defcustom): Use corrected definition
5376 of todo-default-todo-file.
5377 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5378 (todo-delete-category, todo-show-categories-table)
5379 (todo-category-number): Clarify comment.
5380 (todo-filter-items): Clarify documentation string.
5381 (todo-show-current-file, todo-display-as-todo-file)
5382 (todo-reset-and-enable-done-separator): Tweak documentation string.
5383 (todo-done-separator): Make separator length window-width, since
5384 bug#2749 is now fixed.
5385
ddbdfd6f
MA
53862013-07-05 Michael Albinus <michael.albinus@gmx.de>
5387
321e1a9c
SM
5388 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5389 Support both "gvfs-monitor-dir" and "inotifywait".
5390 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5391 `tramp-sh-file-notify-process-filter'.
5392 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5393 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5394
96eb829a
LL
53952013-07-05 Leo Liu <sdl.web@gmail.com>
5396
5397 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5398
cf13177e
YM
53992013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5400
5401 * frame.el (display-pixel-height, display-pixel-width)
5402 (display-mm-height, display-mm-width): Mention behavior on
5403 multi-monitor setups in docstrings.
5404 (w32-display-monitor-attributes-list): Declare function.
5405 (display-monitor-attributes-list): Use it.
5406
864c58ca
MA
54072013-07-04 Michael Albinus <michael.albinus@gmx.de>
5408
5409 * filenotify.el: New package.
5410
5411 * autorevert.el (top): Require filenotify.el.
5412 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5413 instead.
5414 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5415 (auto-revert-notify-handler): Use `file-notify-*' functions.
5416
5417 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5418
321e1a9c
SM
5419 * net/tramp.el (tramp-file-name-for-operation):
5420 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5421
5422 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5423 for `file-notify-add-watch' and `file-notify-rm-watch'.
5424 (tramp-process-sentinel): Improve trace.
5425 (tramp-sh-handle-file-notify-add-watch)
5426 (tramp-sh-file-notify-process-filter)
5427 (tramp-sh-handle-file-notify-rm-watch)
5428 (tramp-get-remote-inotifywait): New defuns.
5429
96673afe
JL
54302013-07-03 Juri Linkov <juri@jurta.org>
5431
5432 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5433 call of `occur-read-primary-args' to interactive spec.
5434
5435 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5436 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5437
924494f4
MM
54382013-07-03 Matthias Meulien <orontee@gmail.com>
5439
5440 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5441 `Buffer-menu-multi-occur'. Add it to the menu.
5442 (Buffer-menu-mode): Document it in docstring.
5443 (Buffer-menu-multi-occur): New command. (Bug#14673)
5444
56f75efc
DG
54452013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5446
5447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5448 keywords and built-ins.
5449
9b057d61
GM
54502013-07-03 Glenn Morris <rgm@gnu.org>
5451
208dee4d
GM
5452 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5453
9b057d61
GM
5454 Make info-xref checks case-sensitive by default
5455 * info.el (Info-find-node, Info-find-in-tag-table)
5456 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5457 Add option for exact case matching of nodes.
5458 * info-xref.el (info-xref): New custom group.
5459 (info-xref-case-fold): New option.
5460 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5461
e01aa29c
LL
54622013-07-03 Leo Liu <sdl.web@gmail.com>
5463
5464 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5465
3086ca2e
DG
54662013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5467
5468 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5469 middle of block statement initially, lower the depth. Remove
5470 FIXME comment, not longer valid. Remove middle of block statement
5471 detection, no need to do that anymore since we've been using
5472 `ruby-parse-region' here.
5473
a3b49114
JD
54742013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5475
5476 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5477
08e5c823 54782013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5479
5480 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5481
2addf922
JB
54822013-07-01 Juanma Barranquero <lekktu@gmail.com>
5483
5484 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5485 (desktop-restore-in-current-display): New customization option.
5486 (desktop--excluded-frame-parameters): Add `font'.
5487 (desktop--save-frames): Rename from desktop--save-windows.
5488 (desktop--restore-in-this-display-p): New function.
5489 (desktop--make-full-frame): Remove unwanted width/height from
5490 full(width|height) frames.
5491 (desktop--restore-frames): Rename from desktop--restore-windows.
5492 Obey desktop-restore-current-display. Do not delete old frames or
5493 select a new frame unless we were able to restore at least one frame.
5494
ef099a94
MN
54952013-06-30 Michal Nazarewicz <mina86@mina86.com>
5496
5497 * files.el (find-file-noselect): Simplify conditional expression.
5498
5499 * remember.el (remember-append-to-file):
5500 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5501
5502 Add `remember-notes' function to store random notes across Emacs
5503 restarts.
5504 * remember.el (remember-data-file): Add :set callback to affect
5505 notes buffer (if any).
5506 (remember-notes): New command.
5507 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5508 New defcustoms for the `remember-notes' function.
5509 (remember-notes-save-and-bury-buffer): New command.
5510 (remember-notes-mode-map): New variable.
5511 (remember-mode): New minor mode.
5512 (remember-notes--kill-buffer-query): New function.
5513 * startup.el (initial-buffer-choice): Add notes to custom type.
5514
0865d506
EZ
55152013-06-30 Eli Zaretskii <eliz@gnu.org>
5516
0ba54312
EZ
5517 * bindings.el (right-char, left-char): Don't call sit-for, this is
5518 no longer needed. Use arithmetic comparison only for numerical
5519 arguments.
5520
ef099a94
MN
5521 * international/mule-cmds.el (select-safe-coding-system):
5522 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5523
2fae38e5
LMI
55242013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5525
5526 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5527 progression on degenerate tables.
ef099a94 5528 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5529
a47cbd64
JB
55302013-06-30 Juanma Barranquero <lekktu@gmail.com>
5531
5532 Some fixes and improvements for desktop frame restoration.
5533 It is still experimental and disabled by default.
5534 * desktop.el (desktop--save-windows): Put the selected frame at
5535 the head of the list.
5536 (desktop--make-full-frame): New function.
5537 (desktop--restore-windows): Try to re-select the frame that was
5538 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5539 just show an error message and continue. Set up maximized frames
5540 so they have default non-maximized dimensions.
a47cbd64 5541
6dbafa30
DG
55422013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5543
ef099a94
MN
5544 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5545 Don't start heredoc inside a string or comment.
6dbafa30 5546
4c672a0f
EZ
55472013-06-29 Eli Zaretskii <eliz@gnu.org>
5548
5549 * bindings.el (visual-order-cursor-movement): New defcustom.
5550 (right-char, left-char): Provide visual-order cursor motion by
5551 calling move-point-visually. Update the doc strings.
5552
50960f36
KH
55532013-06-28 Kenichi Handa <handa@gnu.org>
5554
5555 * international/mule.el (define-coding-system): New coding system
5556 properties :inhibit-null-byte-detection,
5557 :inhibit-iso-escape-detection, and :prefer-utf-8.
5558 (set-buffer-file-coding-system): If :charset-list property of
5559 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5560 appropriate for setting.
5561
c1ea3abf
JB
5562 * international/mule-cmds.el (select-safe-coding-system):
5563 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5564 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5565
5566 * international/mule-conf.el (prefer-utf-8): New coding system.
5567 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5568 files.
5569
75dbaf9d
IK
55702013-06-28 Ivan Kanis <ivan@kanis.fr>
5571
eadb6068
IK
5572 * net/shr.el (shr-render-region): New function.
5573
75dbaf9d
IK
5574 * net/eww.el: Autoload `eww-browse-url'.
5575
9ea5cf9f
DG
55762013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5577
c1ea3abf
JB
5578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5579 Adapt to `package-desc-version' being a list.
5580 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5581 archive element.
5582
39c0e36f
JB
55832013-06-27 Juanma Barranquero <lekktu@gmail.com>
5584
5585 New experimental feature to save&restore window and frame setup.
5586 * desktop.el (desktop-save-windows): New defcustom.
5587 (desktop--saved-states): New var.
5588 (desktop--excluded-frame-parameters): New defconst.
5589 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5590 (desktop--restore-windows, desktop--save-windows): New functions.
5591 (desktop-save): Call `desktop--save-windows'.
5592 (desktop-read): Call `desktop--restore-windows'.
5593
7f13406b
LMI
55942013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5595
ef099a94 5596 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5597
1e072639
SB
55982013-06-27 Stephen Berman <stephen.berman@gmx.net>
5599
5600 * info.el (Info-try-follow-nearest-node): Move search for footnote
5601 above search for node name to prevent missing a footnote (bug#14717).
5602
f3e2cbde
SB
56032013-06-27 Stephen Berman <stephen.berman@gmx.net>
5604
5605 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5606
99906aa0
LL
56072013-06-27 Leo Liu <sdl.web@gmail.com>
5608
5609 * net/eww.el (eww-read-bookmarks): Check file size.
5610
539f75f4
SM
56112013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5614 advice--pending if newdef is nil or an autoload (bug#13820).
5615 (advice-mapc): New function.
5616
843571cb
LMI
56172013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5618
5619 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5620 probably.
23a75d7f 5621 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5622 (eww-add-bookmark): New command.
5623 (eww-bookmark-mode): New mode and commands.
a285ce99 5624 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5625 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5626
f2136e1e
GM
56272013-06-26 Glenn Morris <rgm@gnu.org>
5628
eab35f39
GM
5629 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5630 (hfy-size): Handle ttys. (Bug#14668)
5631
f2136e1e
GM
5632 * info-xref.el: Update for Texinfo 5 change in *note format.
5633 (info-xref-node-re, info-xref-note-re): New constants.
5634 (info-xref-check-buffer): Use info-xref-note-re.
5635
a49ff80c
SM
56362013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5637
a343d218
SM
5638 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5639
a49ff80c
SM
5640 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5641 nil terminate the loop (bug#14718).
5642
8308f184
LMI
56432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5644
5645 * net/eww.el: Rework history traversal. When going forward/back,
5646 put these actions into the history, too, so that they can be
5647 replayed.
26bf2b82 5648 (eww-render): Move the history reset to the correct buffer.
8308f184 5649
ec64c273
JL
56502013-06-25 Juri Linkov <juri@jurta.org>
5651
5652 * files-x.el (modify-dir-local-variable): Change the header comment
5653 in the file with directory local variables. (Bug#14692)
5654
e080a9d7
JL
5655 * files-x.el (read-file-local-variable-value): Add `default'.
5656 (Bug#14710)
5657
bfbc93a1
IK
56582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5659
5660 * net/eww.el (eww-make-unique-file-name): Create a unique file
5661 name before saving to entering `y' accidentally asynchronously.
5662
56632013-06-25 Ivan Kanis <ivan@kanis.fr>
5664
5665 * net/eww.el (eww-download): New command and keystroke.
5666
16f74f10
LMI
56672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5668
a49ff80c 5669 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5670
5671 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5672 be more consistent with Info and dired.
5673
5674 * net/eww.el (eww-mode-map): Ditto.
5675
12059709
SM
56762013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5679 packages from archives.
5680 (package-archive-contents): Change format; include obsolete packages.
5681 (package-desc): Use `dir' to mark builtin packages.
5682 (package--from-builtin): Set the `dir' field to `builtin'.
5683 (generated-autoload-file, version-control): Declare.
5684 (package-compute-transaction): Change first arg and return value to be
5685 lists of package-descs. Adjust to new package-archive-contents format.
5686 (package--add-to-archive-contents): Adjust to new
5687 package-archive-contents format.
5688 (package-download-transaction): Arg is now a list of package-descs.
5689 (package-install): If `pkg' is a package name, pass it as
5690 a requirement, so it is subject to the usual (e.g. disabled) checks.
5691 (describe-package): Accept package-desc as well.
5692 (describe-package-1): Describe a specific package-desc. Add links to
5693 other package-descs for the same package name.
5694 (package-menu-describe-package): Pass the actual package-desc.
5695 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5696 works correctly.
5697 (package-desc-status): New function.
5698 (package-menu--refresh): New function, extracted
5699 from package-menu--generate.
5700 (package-menu--generate): Use it.
5701 (package-delete): Update package-alist.
5702 (package-menu-execute): Don't call package-initialize.
5703
5704 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5705 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5706 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5707 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5708 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5709 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5710
8bbdea0f
MR
57112013-06-25 Martin Rudalics <rudalics@gmx.at>
5712
5713 * window.el (window--state-get-1): Workaround for bug#14527.
5714 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5715
e82b0991
LMI
57162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5717
5718 * net/eww.el (eww-back-url): Implement the history by stashing all
5719 the data into a list.
d3f0f918 5720 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5721
c763842b
SM
57222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5725 for values and use read--expression for expressions (bug#14710).
5726 (read-file-local-variable): Avoid setq.
5727 (read-file-local-variable-mode): Use minor-mode-list.
5728
bceff189
RW
57292013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5730
864c58ca 5731 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5732 for DOI URLs.
5733
45f431c6
RW
57342013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5735
864c58ca 5736 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5737 Update imenu-support when dialect changes.
5738
f42d8237
LL
57392013-06-25 Leo Liu <sdl.web@gmail.com>
5740
5741 * ido.el (ido-read-internal): Allow forward slash on windows.
5742
be549ce6
LMI
57432013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5744
5745 * net/eww.el (eww): Start of strings is \\`, not ^.
5746
71d4c19d
IK
57472013-06-24 Ivan Kanis <ivan@kanis.fr>
5748
5196f88a
IK
5749 * net/shr.el (shr-browse-url): Fix interactive spec.
5750
71d4c19d
IK
5751 * net/eww.el (eww): Add a trailing slash to domain names.
5752
ae36ca55
JB
57532013-06-24 Juanma Barranquero <lekktu@gmail.com>
5754
5755 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5756
0ebd92a3
LMI
57572013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758
bdaa086b
LMI
5759 * net/shr.el (shr-browse-url): Use an external browser if given a
5760 prefix.
5761
c763842b 5762 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5763
b89fc156
IK
57642013-06-24 Ivan Kanis <ivan@kanis.fr>
5765
5766 * net/eww.el (eww): Work more correctly for file: URLs.
5767 (eww-detect-charset): Allow quoted charsets.
5768 (eww-yank-page-url): New command and keystroke.
5769
18eb4bca
DU
57702013-06-24 Daiki Ueno <ueno@gnu.org>
5771
5772 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5773 file name of gpg executable.
5774 (epg-context-program): New function.
5775 (epg-context-home-directory): New function.
5776 (epg-context-set-program): New function.
5777 (epg-context-set-home-directory): New function.
5778 (epg--start): Use `epg-context-program' instead of
5779 'epg-gpg-program'.
5780 (epg--list-keys-1): Likewise.
5781
6c6268c8
LL
57822013-06-24 Leo Liu <sdl.web@gmail.com>
5783
5784 * ido.el (ido-read-internal): Fix bug#14620.
5785
5e400cb3
JB
57862013-06-23 Juanma Barranquero <lekktu@gmail.com>
5787
5788 * faces.el (face-documentation): Simplify.
5789 (read-face-attribute, tty-find-type, x-resolve-font-name):
5790 Use `string-match-p'.
5791 (list-faces-display): Use `string-match-p'. Simplify.
5792 (face-spec-recalc): Check face to avoid face alias loops.
5793 (read-color): Use `string-match-p' and non-capturing parenthesis.
5794
f3f9606c
LMI
57952013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796
5797 * net/shr.el (shr-rescale-image): Use the new
5798 :max-width/:max-height functionality.
5799
a3ca09b9
IK
58002013-06-23 Ivan Kanis <ivan@kanis.fr>
5801
5802 * net/eww.el (eww-search-prefix): New variable.
5803 (eww): Use it.
f865b474
IK
5804 (eww-external-browser): New variable.
5805 (eww-mode-map): New keystroke.
5806 (eww-browse-with-external-browser): New command.
a3ca09b9 5807
e854cfc7
IK
5808 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5809
18bb9e21
JB
58102013-06-23 Juanma Barranquero <lekktu@gmail.com>
5811
5812 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5813 Don't skip aligning the next header field when padding is 0;
5814 otherwise, field width is not respected unless the title is as
5815 wide as the field.
5816
5b165ade
SM
58172013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * emacs-lisp/package.el (package-el-version): Remove.
5820 (package-process-define-package): Fix inf-loop.
5821 (package-install): Allow symbols as arguments again.
5822
12adebe9
DG
58232013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5824
5825 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5826 add some more keyword-like methods.
5827 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5828
388573ee
JB
58292013-06-22 Juanma Barranquero <lekktu@gmail.com>
5830
5831 * bs.el (bs-buffer-show-mark): Make defvar-local.
5832 (bs-mode): Use setq-local.
5833
5834 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5835 (emacs-lock--try-unlocking): Make defvar-local.
5836
4582a01c 58372013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5838
2663dd23
GM
5839 * play/cookie1.el (cookie-apropos): Minor simplification.
5840
3d94f3ad
GM
5841 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5842
f72e2fdb
DG
58432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5844
5845 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5846 `regexp-opt', it breaks the build during dumping.
5847
73eab938
DG
58482013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5849
c763842b
SM
5850 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5851 Highlight keyword-like methods on Kernel and Module with
73eab938 5852 font-lock-builtin-face.
5cf8176d
DG
5853 (auto-mode-alist): Consolidate different entries into one regexp
5854 and add more *file-s.
73eab938 5855
d26255f6
SB
58562013-06-21 Stephen Berman <stephen.berman@gmx.net>
5857
5858 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5859
5860 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5861 (diary-entry): Use it in the action of this button type instead of
5862 diary-goto-entry.
5863
5864 * calendar/todo-mode.el: New version.
5865 (todo-add-category): Append new category to end of file and give
5866 it the highest number, instead of putting it at the beginning and
5867 giving it 0. Incorporate noninteractive functionality.
5868 (todo-forward-category): Adapt to 1-based category numbering.
5869 Allow skipping over archived categories.
5870 (todo-backward-category): Derive from todo-forward-category.
5871 (todo-backward-item, todo-forward-item): Make noninteractive and
5872 delegate interactive part to new commands. Make sensitive to done items.
5873 (todo-categories): Make value an alist of category names and
5874 vectors of item counts.
5875 (todo-category-beg): Make a defconst.
5876 (todo-category-number): Use 1 instead of 0 as initial value.
5877 (todo-category-select): Make sensitive to overlays, optional item
5878 highlighting and done items.
5879 (todo-delete-item): Make sensitive to overlays and marked and done items.
5880 (todo-edit-item): Make sensitive to overlays and editing of
5881 date/time header optional. Add format checks.
5882 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5883 no-op if point is not on an item. Advertise using todo-edit-quit.
5884 (todo-edit-mode): Make sensitive to new format, font-locking, and
5885 multiple todo files.
5886 (todo-insert-item, todo-insert-item-here): Derive from
5887 todo-basic-insert-item and extend functionality.
5888 (todo-item-end, todo-item-start): Make sensitive to done items.
5889 (todo-item-string): Don't return text properties. Restore point.
5890 (todo-jump-to-category): Make sensitive to multiple todo files and
5891 todo archives. Use extended category completion.
5892 (todo-lower-item, todo-raise-item): Rename to *-priority and
5893 derive from todo-set-item-priority.
5894 (todo-mode): Derive from special-mode. Make sensitive to new
5895 format, font-locking and multiple todo files. Make read-only.
5896 (todo-mode-map): Don't suppress digit keys, so they can supply
5897 prefix arguments. Add many new key bindings.
5898 (todo-prefix): Insert as an overlay instead of file text.
5899 Change semantics from diary date expression to purely visual mark.
5900 (todo-print): Rename to todo-print-buffer. Make buffer display
5901 features printable. Remove option to restrict number of items
5902 printed. Add option to print to file.
5903 (todo-print-function): Rename to todo-print-buffer-function.
5904 (todo-quit): Extend to handle exiting new todo modes.
5905 (todo-remove-item): Make sensitive to overlays.
5906 (todo-save): Extend to buffers of filtered items.
5907 (todo-show): Make sensitive to done items, multiple todo files and
5908 new todo modes. Offer to convert legacy todo file before creating
5909 first new todo file.
5910 (todo-show-priorities): Rename to todo-top-priorities.
5911 Change semantics of value 0.
5912 (todo-top-priorities): Rename to todo-filter-top-priorities,
5913 derive from todo-filter-items and extend functionality.
5914 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5915 and extend functionality to other types of filtered items.
5916 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5917 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5918 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5919 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5920 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5921 (todo-edit-mode-hook, todo-entry-prefix-function)
5922 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5923 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5924 (todo-initials, todo-insert-threshold, todo-item-string-start)
5925 (todo-line-string, todo-menu, todo-mode-hook)
5926 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5927 (todo-print-priorities, todo-remove-separator)
5928 (todo-save-top-priorities-too, todo-string-count-lines)
5929 (todo-string-multiline-p, todo-time-string-format)
5930 (todo-tmp-buffer-name): Remove.
5931 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5932 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5933 (todo-edit-category-diary-inclusion)
5934 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5935 (todo-edit-file, todo-edit-item-date-day)
5936 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5937 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5938 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5939 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5940 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5941 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5942 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5943 (todo-filter-top-priorities-multifile, todo-find-archive)
5944 (todo-find-filtered-items-file, todo-go-to-source-item)
5945 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5946 (todo-jump-to-archive-category, todo-lower-category)
5947 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5948 (todo-move-category, todo-move-item, todo-next-button)
5949 (todo-next-item, todo-padded-string, todo-powerset)
5950 (todo-previous-button, todo-previous-item)
5951 (todo-print-buffer-to-file, todo-raise-category)
5952 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5953 (todo-set-category-number, todo-set-item-priority)
5954 (todo-set-top-priorities-in-category)
5955 (todo-set-top-priorities-in-file, todo-show-categories-table)
5956 (todo-sort-categories-alphabetically-or-numerically)
5957 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5958 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5959 (todo-toggle-item-header, todo-toggle-item-highlighting)
5960 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5961 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5962 (todo-unarchive-items, todo-unmark-category): New commands.
5963 (todo-absolute-file-name, todo-add-to-buffer-list)
5964 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5965 (todo-basic-insert-item, todo-category-completions)
5966 (todo-category-number, todo-category-string-matcher-1)
5967 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5968 (todo-check-format, todo-clear-matches)
5969 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5970 (todo-current-category, todo-date-string-matcher)
5971 (todo-define-insertion-command, todo-diary-expired-matcher)
5972 (todo-diary-goto-entry, todo-diary-item-p)
5973 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5974 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5975 (todo-done-item-section-p, todo-done-separator)
5976 (todo-done-string-matcher, todo-files, todo-filter-items)
5977 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5978 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5979 (todo-insert-category-line, todo-insert-item-from-calendar)
5980 (todo-insert-sort-button, todo-insert-with-overlays)
5981 (todo-insertion-command-name, todo-insertion-key-bindings)
5982 (todo-label-to-key, todo-longest-category-name-length)
5983 (todo-make-categories-list, todo-mode-external-set)
5984 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5985 (todo-modes-set-3, todo-multiple-filter-files)
5986 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5987 (todo-read-category, todo-read-date, todo-read-dayname)
5988 (todo-read-file-name, todo-read-time)
5989 (todo-reevaluate-category-completions-files-defcustom)
5990 (todo-reevaluate-default-file-defcustom)
5991 (todo-reevaluate-filelist-defcustoms)
5992 (todo-reevaluate-filter-files-defcustom)
5993 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5994 (todo-reset-done-separator, todo-reset-done-separator-string)
5995 (todo-reset-done-string, todo-reset-global-current-todo-file)
5996 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5997 (todo-reset-prefix, todo-set-categories)
5998 (todo-set-date-from-calendar, todo-set-show-current-file)
5999 (todo-set-top-priorities, todo-short-file-name)
6000 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6001 (todo-total-item-counts, todo-update-buffer-list)
6002 (todo-update-categories-display, todo-update-categories-sexp)
6003 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6004 New functions.
6005 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6006 New major modes.
6007 (todo-categories, todo-display, todo-edit, todo-faces)
6008 (todo-filtered): New defgroups.
6009 (todo-archived-only, todo-button, todo-category-string, todo-date)
6010 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6011 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6012 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6013 (todo-add-item-if-new-category, todo-always-add-time-string)
6014 (todo-categories-align, todo-categories-archived-label)
6015 (todo-categories-category-label, todo-categories-diary-label)
6016 (todo-categories-done-label, todo-categories-number-separator)
6017 (todo-categories-todo-label, todo-categories-totals-label)
6018 (todo-category-completions-files, todo-completion-ignore-case)
6019 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6020 (todo-done-separator-string, todo-done-string)
6021 (todo-files-function, todo-filter-done-items, todo-filter-files)
6022 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6023 (todo-initial-category, todo-initial-file, todo-item-mark)
6024 (todo-legacy-date-time-regexp, todo-mode-line-function)
6025 (todo-nondiary-marker, todo-number-prefix)
6026 (todo-print-buffer-function, todo-show-current-file)
6027 (todo-show-done-only, todo-show-first, todo-show-with-done)
6028 (todo-skip-archived-categories, todo-top-priorities-overrides)
6029 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6030 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6031 New defcustoms.
6032 (todo-category-done, todo-date-pattern, todo-date-string-start)
6033 (todo-diary-items-buffer, todo-done-string-start)
6034 (todo-filtered-items-buffer, todo-item-start)
6035 (todo-month-abbrev-array, todo-month-name-array)
6036 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6037 (todo-top-priorities-buffer): New defconsts.
6038 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6039 (todo-categories-with-marks, todo-category-string-face)
6040 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6041 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6042 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6043 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6044 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6045 (todo-font-lock-keywords, todo-global-current-todo-file)
6046 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6047 (todo-insertion-commands-args)
6048 (todo-insertion-commands-args-genlist)
6049 (todo-insertion-commands-names, todo-insertion-map)
6050 (todo-key-bindings-t, todo-key-bindings-t+a)
6051 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6052 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6053 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6054 (todo-visited): New variables.
6055
cad5d1cb
GM
60562013-06-21 Glenn Morris <rgm@gnu.org>
6057
6058 * play/cookie1.el (cookie-apropos): Add optional display argument.
6059 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6060 (psychoanalyze-pinhead): Use cookie-doctor.
6061
9e277302
JB
60622013-06-21 Juanma Barranquero <lekktu@gmail.com>
6063
6064 * emacs-lisp/package.el (tar-get-file-descriptor)
6065 (tar--extract): Declare.
6066
c5b0993e
EW
60672013-06-21 Eduard Wiebe <usenet@pusto.de>
6068
6069 Extend flymake's warning predicate to be a function (bug#14217).
6070 * progmodes/flymake.el (flymake-warning-predicate): New.
6071 (flymake-parse-line): Use it.
6072 (flymake-warning-re): Make obsolete alias to
6073 `flymake-warning-predicate'.
6074
a7d2d465
SM
60752013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6078 (package-obsolete-list): Remove.
6079 (package-activate): Remove min-version argument. Add `force' argument.
6080 Adjust to new package-alist format.
6081 (package-mark-obsolete): Remove.
6082 (package-unpack): Force reload of the package's autoloads.
6083 (package-installed-p): Check builtins if the installed package is not
6084 recent enough.
6085 (package-initialize): Don't reset package-obsolete-list.
6086 Don't specify which package version to activate.
6087 (package-process-define-package, describe-package-1)
6088 (package-menu--generate): Adjust to new package-alist format.
6089
cedf5c9d
JB
60902013-06-21 Juanma Barranquero <lekktu@gmail.com>
6091
6092 * allout-widgets.el (allout-widgets-mode-off)
6093 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6094 (allout-widgets-post-command-business)
6095 (allout-widgets-after-copy-or-kill-function)
6096 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6097 (allout-decorate-item-and-context)
6098 (allout-graphics-modification-handler): Fix typos in docstrings.
6099 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6100
6101 * cmuscheme.el (scheme-start-file): Doc fix.
6102 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6103 (scheme-input-filter): Use `string-match-p'.
6104
6105 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6106
6107 * dired-x.el: Use Dired consistently in docstrings.
6108
6109 * dired.el: Use Dired consistently in docstrings.
6110 (dired-readin, dired-mode): Use `setq-local'.
6111 (dired-switches-alist): Make defvar-local.
6112 (dired-buffers-for-dir): Use `zerop'.
6113 (dired-safe-switches-p, dired-switches-escape-p)
6114 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6115 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6116 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6117 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6118 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6119 (dired-toggle-marks, dired-mark-files-containing-regexp)
6120 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6121 (dired-flag-auto-save-files, dired-flag-backup-files):
6122 Use `looking-at-p'.
6123 (dired-mark-files-regexp, dired-build-subdir-alist):
6124 Use `string-match-p', `looking-at-p'.
6125
6126 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6127 (direct-print-region-helper): Use `string-match-p'.
6128
aed838b5
LL
61292013-06-21 Leo Liu <sdl.web@gmail.com>
6130
cedf5c9d
JB
6131 * comint.el (comint-redirect-results-list-from-process):
6132 Fix infinite loop.
aed838b5 6133
d80a808f
LMI
61342013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6135
6136 * net/eww.el (eww-update-header-line-format): Quote % characters.
6137
e7a526e3
GM
61382013-06-21 Glenn Morris <rgm@gnu.org>
6139
6140 * play/cookie1.el (cookie): New custom group.
6141 (cookie-file): New option.
6142 (cookie-check-file): New function.
6143 (cookie): Make it interactive. Make start and end messages optional.
6144 Interactively, display the result. Default to cookie-file.
6145 (cookie-insert): Default to cookie-file.
6146 (cookie-snarf): Make start and end messages optional.
6147 Default to cookie-file. Use with-temp-buffer.
6148 (cookie-read): Rename from read-cookie.
6149 Make start and end messages optional. Default to cookie-file.
6150 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6151 Do not autoload it.
e7a526e3
GM
6152 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6153 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6154
62efb35e
LL
61552013-06-21 Leo Liu <sdl.web@gmail.com>
6156
6157 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6158
21e3f963
GM
61592013-06-21 Glenn Morris <rgm@gnu.org>
6160
6161 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6162
fd846ab4
SM
61632013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6164 Daniel Hackney <dan@haxney.org>
6165
6166 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6167 Consolidate the single-file vs tarball code.
6168 (package-desc-suffix): New function.
6169 (package-desc-full-name): Don't bother inlining it.
6170 (package-load-descriptor): Return the new package-desc.
6171 (package-mark-obsolete): Remove unused arg `package'.
6172 (package-unpack): Make it work for single files as well.
6173 Make it update package-alist.
6174 (package--make-autoloads-and-stuff): Rename from
6175 package--make-autoloads-and-compile. Don't compile any more.
6176 (package--compile): New function.
6177 (package-generate-description-file): New function, extracted from
6178 package-unpack-single.
6179 (package-unpack-single): Remove.
6180 (package--with-work-buffer): Add indentation and debugging info.
6181 (package-download-single): Remove.
6182 (package-install-from-archive): Rename from package-download-tar, make
6183 it take a pkg-desc, and make it work for single files as well.
6184 (package-download-transaction): Simplify.
6185 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6186 external tar program.
6187 (package-install-from-buffer): Remove `pkg-desc' argument.
6188 Use package-tar-file-info for tar-mode buffers.
6189 (package-install-file): Simplify accordingly.
6190 (package-archive-base): Change to take a pkg-desc.
6191 * tar-mode.el (tar--check-descriptor): New function, extracted from
6192 tar-get-descriptor.
6193 (tar-get-descriptor): Use it.
6194 (tar-get-file-descriptor): New function.
6195 (tar--extract): New function, extracted from tar-extract.
6196 (tar--extract): Use it.
6197 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6198 case the summary uses non-ascii. Adjust to new calling convention of
6199 package-tar-file-info.
6200
b7deae5e
LL
62012013-06-21 Leo Liu <sdl.web@gmail.com>
6202
fd846ab4
SM
6203 * comint.el (comint-redirect-results-list-from-process):
6204 Fix random delay. (Bug#14681)
b7deae5e 6205
7a65a0b2
JB
62062013-06-21 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * profiler.el (profiler-format-number): Use log, not log10.
6209
1493c2af
JB
62102013-06-20 Juanma Barranquero <lekktu@gmail.com>
6211
6212 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6213
aff6371e
SM
62142013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6217 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6218 yet available.
6219 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6220 (AUTOGENEL): ... here.
6221 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6222 (cl--defsubst-expand): Use it.
6223
89561f72
PE
62242013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6225
6226 * subr.el (log10): Move here from C code, and declare as obsolete.
6227 All uses of (log10 X) replaced with (log X 10).
6228
47199123
JB
62292013-06-20 Juanma Barranquero <lekktu@gmail.com>
6230
6231 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6232 Declare with `defvar-local'.
6233 (tabulated-list-use-header-line, tabulated-list-entries)
6234 (tabulated-list-padding, tabulated-list-printer)
6235 (tabulated-list-sort-key): Declare with `defvar-local'.
6236 (tabulated-list-init-header, tabulated-list-print-fake-header):
6237 Use `setq-local'.
6238
4a172eab
MA
62392013-06-20 Michael Albinus <michael.albinus@gmx.de>
6240
47199123
JB
6241 * arc-mode.el (archive-mode): Add `archive-write-file' to
6242 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6243
5fc0acc0
JB
62442013-06-20 Juanma Barranquero <lekktu@gmail.com>
6245
d5b27848
JB
6246 * cus-edit.el (custom-commands): Fix typos.
6247 (custom-display): Fix tooltip text.
6248 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6249 Fix typos in docstrings.
6250 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6251 (custom-unlispify-menu-entry, custom-magic-value-create)
6252 (custom-add-see-also, custom-group-value-create): Use ?\s.
6253 (custom-guess-type, customize-apropos, editable-field)
6254 (custom-face-value-create): Use `string-match-p'.
6255 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6256
6257 * custom.el (custom-load-symbol): Use `string-match-p'.
6258
a5c581d8
JB
6259 * ansi-color.el: Convert to lexical binding.
6260 (ansi-colors): Fix URL.
6261 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6262 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6263 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6264
970ad972
G
62652013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6266
6267 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6268
6269 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6270
62712013-06-19 Tom Tromey <tromey@redhat.com>
6272
6273 * net/eww.el (eww-top-url): Remove.
6274 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6275 (eww-render): Set new variables. Don't set eww-top-url.
6276 (eww-handle-link): Handle "prev", "home", and "contents".
6277 Downcase the rel text.
6278 (eww-top-url): Choose best top URL.
6279
62802013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6281
6282 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6283 relying in widget.el. Using widget.el leads to too many
6284 user interface inconsistencies.
6285 (eww-self-insert): Implement entering commands in text fields.
6286 (eww-process-text-input): New function to make text input field editing
6287 work.
6288 (eww-submit): Rewrite to use the new-style form methods.
6289 (eww-select-display): Display the correct selected item.
6290 (eww-change-select): Implement changing the select value.
6291 (eww-toggle-checkbox): Implement radio/checkboxes.
6292 (eww-update-field): Fix compilation error.
6293 (eww-tag-textarea): Implement <textarea>.
6294
6295 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6296 we don't shadow mode-specific bindings.
6297
6298 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6299 nothing to push.
6300
6301 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6302
4582a01c 63032013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6304
6305 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6306
15b263dc
MA
63072013-06-19 Michael Albinus <michael.albinus@gmx.de>
6308
6309 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6310 not needed.
6311
6312 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6313
8f5297f7
LMI
63142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6315
6316 * net/browse-url.el (browse-url-browser-function):
6317 `eww-browse-url' has the right calling signature, `eww' does not.
6318
011c4552
GM
63192013-06-19 Glenn Morris <rgm@gnu.org>
6320
2285bd27
GM
6321 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6322 Only eval autoloaded macros.
6323 (byte-compile-autoload): Only give the macro warning for macros.
6324
1d653303
GM
6325 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6326 (ps-underlined-faces): Declare.
6327
bdd779ec
GM
6328 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6329 (speedbar-add-supported-extension): Declare.
6330
011c4552
GM
6331 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6332 Don't include a date stamp in the header of the generated file;
6333 it leads to needless differences between output files.
6334
e59dfb0e
MA
63352013-06-19 Michael Albinus <michael.albinus@gmx.de>
6336
c763842b
SM
6337 * net/secrets.el (secrets-struct-secret-content-type):
6338 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6339 Some servers do not offer introspection.
e59dfb0e 6340
102626e2
SM
63412013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * electric.el (electric-pair-mode): Improve interaction with
6344 electric-layout-mode.
6345 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6346 (electric-pair-syntax): Use text-mode-syntax-table in comments
6347 and strings.
6348 (electric-pair--insert): New function.
6349 (electric-pair-post-self-insert-function): Use it and
6350 electric--after-char-pos.
6351
ad528125
LL
63522013-06-19 Leo Liu <sdl.web@gmail.com>
6353
6354 * progmodes/octave.el (octave-help): Fix regexp.
6355
924d6997
G
63562013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6357
6358 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6359 (shr-table-horizontal-line): Allow nil as a value, and change the
6360 default.
6361 (shr-insert-table-ruler): Respect the nil value.
6362
63632013-06-18 Tom Tromey <tromey@barimba>
6364
6365 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6366 New defvars.
6367 (eww-open-file): New defun.
6368 (eww-render): Initialize new variables.
6369 (eww-display-html): Handle "link" and "a".
6370 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6371 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6372 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6373 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6374 New defuns.
924d6997 6375
d1bbba4f
DG
63762013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6377
6378 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6379 Distinguish ternary operator tokens from slash symbol and slash
6380 char literal.
6381
14dd22d2
JB
63822013-06-18 Juanma Barranquero <lekktu@gmail.com>
6383
6384 Convert symbol prettification into minor mode and global minor mode.
6385
6386 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6387 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6388 (prettify-symbols--keywords): Rename from
6389 `prog-prettify-symbols-alist' and make a local defvar.
6390 (prettify-symbols--compose-symbol): Rename from
6391 `prog--prettify-font-lock-compose-symbol'.
6392 (prettify-symbols--make-keywords): Rename from
6393 `prog-prettify-font-lock-symbols-keywords' and simplify.
6394 (prog-prettify-install): Remove.
6395 (prettify-symbols-mode): New minor mode, based on
6396 `prog-prettify-install'.
6397 (turn-on-prettify-symbols-mode): New function.
6398 (global-prettify-symbols-mode): New globalized minor mode.
6399
6400 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6401 * progmodes/cfengine.el (cfengine3-mode):
6402 * progmodes/perl-mode.el (perl-mode): Don't call
6403 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6404
292c880c
JL
64052013-06-18 Juri Linkov <juri@jurta.org>
6406
6407 * files-x.el (modify-file-local-variable-message): New function.
6408 (modify-file-local-variable)
6409 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6410 and call `modify-file-local-variable-message' when it's non-nil.
6411 (add-file-local-variable, delete-file-local-variable)
6412 (add-file-local-variable-prop-line)
6413 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6414 and use it. (Bug#9820)
6415
0950aa27
JL
64162013-06-18 Juri Linkov <juri@jurta.org>
6417
6418 * emulation/vi.el (vi-shell-op):
6419 * emulation/vip.el (vip-execute-com, ex-command):
6420 * emulation/viper-cmd.el (viper-exec-bang):
6421 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6422 the call of `shell-command-on-region'. (Bug#14637)
6423
6424 * simple.el (shell-command-on-region): Doc fix.
6425
8fbcca16
SM
64262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6429 (bug#14633).
6430
dd7426ea
GM
64312013-06-18 Glenn Morris <rgm@gnu.org>
6432
4ba54f7d
GM
6433 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6434
dd7426ea
GM
6435 * newcomment.el (comment-search-forward, comment-search-backward):
6436 Doc fix. (Bug#14376)
6437
58aa805b
JB
64382013-06-18 Juanma Barranquero <lekktu@gmail.com>
6439
6440 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6441 (buffer-face-mode-invoke): Doc fix.
6442
9a08a617
MM
64432013-06-18 Matthias Meulien <orontee@gmail.com>
6444
6445 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6446 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6447
f2f426ca
GM
64482013-06-18 Glenn Morris <rgm@gnu.org>
6449
9445f99b
GM
6450 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6451 Replace obsolete function generic-make-keywords with its expansion.
6452
e0df2d14
GM
6453 * progmodes/python.el (ffap-alist): Declare.
6454
f2f426ca
GM
6455 * textmodes/reftex.el (bibtex-mode-map): Declare.
6456
f7f9a720
SM
64572013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6460 (package-unpack, package-unpack-single): Return the pkg-dir.
6461 (package-download-transaction): Use it to update package-alist.
6462
57ff04e0
LMI
64632013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
6465 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6466 possible choice.
6467
c048c022
JL
64682013-06-17 Juri Linkov <juri@jurta.org>
6469
6470 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6471
b5bcaee5
DG
64722013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6473
a020afb9
JB
6474 * emacs-lisp/package.el (package-load-descriptor):
6475 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6476 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6477
551e07e5
JB
64782013-06-17 Juanma Barranquero <lekktu@gmail.com>
6479
6480 * startup.el (command-line): Expand package name returned by
6481 `package--description-file' (bug#14639).
6482
d363bffb
DG
64832013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6484
6485 * emacs-lisp/package.el (package-load-descriptor): Do not call
6486 `emacs-lisp-mode', just use its syntax table.
6487
f612933b
JB
64882013-06-17 Juanma Barranquero <lekktu@gmail.com>
6489
6490 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6491 `font-lock-extra-managed-props' if any prettifying keyword is added.
6492 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6493 (prog-mode): Use `setq-local'.
6494
db3b7db5
SM
64952013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * international/characters.el (standard-case-table): Set syntax of ?»
6498 and ?« to punctuation.
6499
f3d674df
JB
65002013-06-16 Juanma Barranquero <lekktu@gmail.com>
6501
6502 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6503 Save relevant match data before calling `syntax-ppss' (bug#14595).
6504
31489a32
JL
65052013-06-15 Juri Linkov <juri@jurta.org>
6506
6507 * files-x.el (modify-file-local-variable-prop-line): Add local
6508 variables to the end of the existing comment on the first line.
6509 Use `file-auto-mode-skip' to skip interpreter magic line,
6510 and also skip XML declaration.
6511
66bd25ab
SM
65122013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * startup.el (package--builtin-versions): New var.
6515 (package-subdirectory-regexp): Remove.
6516 (package--description-file): Hard code its value instead.
6517
6518 * emacs-lisp/package.el: Don't activate packages older than builtin.
6519 (package-obsolete-list): Rename from package-obsolete-alist, and make
6520 it into a simple list of package-desc.
6521 (package-strip-version): Remove.
6522 (package-built-in-p): Use package--builtin-versions.
6523 (package-mark-obsolete): Simplify.
6524 (package-process-define-package): Mark it obsolete if older than the
6525 builtin version.
6526 (package-handle-response): Use line-end-position.
6527 (package-read-archive-contents, package--download-one-archive):
6528 Simplify.
6529 (package--add-to-archive-contents): Skip if older than the builtin or
6530 installed version.
6531 (package-menu-describe-package): Fix last change.
6532 (package-list-unversioned): New var.
6533 (package-menu--generate): Use it.
6534
6535 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6536 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6537 (autoload-builtin-package-versions): New variable.
6538 (autoload-generate-file-autoloads): Use them.
6539 Remove the list of autoloaded functions/macros from the
6540 (autoload...) comments.
6541
6542 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6543
9583ec36
EZ
65442013-06-15 Eli Zaretskii <eliz@gnu.org>
6545
6546 * simple.el (line-move-partial): Don't jump to the next screen
6547 line as soon as it becomes visible. Instead, continue enlarging
6548 the vscroll until the portion of a tall screen line that's left on
6549 display is about the height of the frame's default font.
6550 (Bug#14567)
6551
f0100d8a
GM
65522013-06-15 Glenn Morris <rgm@gnu.org>
6553
b86a85ca
GM
6554 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6555 compilation-error-regexp-alist void, or local while let-bound.
6556
f0100d8a
GM
6557 * progmodes/make-mode.el (makefile-mode-syntax-table):
6558 Treat "=" as punctuation. (Bug#14614)
6559
05e7ce90
JB
65602013-06-15 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * help-fns.el (describe-variable):
6563 Add extra line for permanent-local variables.
6564
12e5e86e
SH
65652013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6566
6567 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6568 Add export, import, library. (Bug#9164)
6569 (library): Set indent function.
6570
230dcbaf
GM
65712013-06-14 Glenn Morris <rgm@gnu.org>
6572
6573 * term/xterm.el (xterm--query):
6574 Stop after first matching handler. (Bug#14615)
6575
e36b2d20 65762013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6577
6578 Add support for dired in saveplace.
6579 * dired.el (dired-initial-position-hook): New variable.
6580 (dired-initial-position): Call hook to place cursor position.
6581 * saveplace.el (save-place-to-alist): Add dired position.
6582 (save-place-dired-hook): New function.
6583
0b31660d
SM
65842013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6585
bf1e6ae8
SM
6586 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6587 through a symbol rather than letrec.
6588
1b8dff23
SM
6589 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6590 (package-desc): Add `dir' field.
6591 (package-desc-full-name): New function.
6592 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6593 (package-maybe-load-descriptor): Remove.
6594 (package-load-all-descriptors): Just call package-load-descriptor.
6595 (package--disabled-p): New function.
6596 (package-desc-vers, package-desc-doc): Remove aliases.
6597 (package--dir): Remove function.
6598 (package-activate): Check if a package is disabled.
6599 (package-process-define-package): New function, extracted from
6600 define-package.
6601 (define-package): Turn into a place holder.
6602 (package-unpack-single, package-tar-file-info):
6603 Use package--description-file.
6604 (package-compute-transaction): Use package--disabled-p.
6605 (package-download-transaction): Don't call
6606 package-maybe-load-descriptor since they're all loaded anyway.
6607 (package-install): Change argument to be a pkg-desc.
6608 (package-delete): Use a single pkg-desc argument.
6609 (describe-package-1): Use package-desc-dir instead of package--dir.
6610 Use package-desc property instead of package-symbol.
6611 (package-install-button-action): Adjust accordingly.
6612 (package--push): Rewrite.
6613 (package-menu--print-info): Adjust accordingly. Change the ID format
6614 to be a pkg-desc.
6615 (package-menu-describe-package, package-menu-get-status)
6616 (package-menu--find-upgrades, package-menu-mark-upgrades)
6617 (package-menu-execute, package-menu--name-predicate):
6618 Adjust accordingly.
6619 * startup.el (package--description-file): New function.
6620 (command-line): Use it.
6621 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6622 Use package-desc-version.
6623
0b31660d
SM
6624 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6625 (byte-compile-preprocess): Use it.
6626 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6627 can't quite recognize.
6628 (byte-compile-add-to-list): Remove.
6629 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6630 (cconv-closure-convert): Add assertion.
6631
6632 * emacs-lisp/map-ynp.el: Use lexical-binding.
6633 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6634 Factor out some repeated code.
6635
de0503df
SM
66362013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * subr.el (with-eval-after-load): New macro.
6639 (eval-after-load): Allow form to be a function.
6640 take advantage of lexical-binding.
6641 (do-after-load-evaluation): Use dolist and adjust to new format.
6642 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6643
bc5c8c5a
JL
66442013-06-13 Juri Linkov <juri@jurta.org>
6645
6646 * replace.el (perform-replace): Display "symbol " and other search
6647 modes from `isearch-message-prefix' in the *Help* buffer.
6648
6649 * isearch.el (isearch-query-replace): Add " symbol" and other
6650 possible search modes from `isearch-message-prefix' to the prompt.
6651 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6652 when reading a regexp to collect.
6653
a22289f7
JL
66542013-06-13 Juri Linkov <juri@jurta.org>
6655
6656 * isearch.el (word-search-regexp): Match whitespace if the search
6657 string begins or ends in whitespace. The LAX arg is applied to
6658 both ends of the search string. Use `regexp-quote' and explicit
6659 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6660 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6661 boundaries are replaced with symbol boundaries, and characters
6662 between symbols match non-word non-symbol syntax. (Bug#14602)
6663
cb89acab
JL
66642013-06-13 Juri Linkov <juri@jurta.org>
6665
6666 * isearch.el (isearch-del-char): Don't exceed the length of
6667 `isearch-string' by the prefix arg. (Bug#14563)
6668
6e8cfc81
JL
66692013-06-13 Juri Linkov <juri@jurta.org>
6670
6671 * isearch.el (isearch-yank-word, isearch-yank-line)
6672 (isearch-char-by-name, isearch-quote-char)
6673 (isearch-printing-char, isearch-process-search-char):
6674 Add optional count prefix arg. (Bug#14563)
6675
6676 * international/isearch-x.el
6677 (isearch-process-search-multibyte-characters):
6678 Add optional count prefix arg.
6679
c23d55f4
VS
66802013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6683 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6684 lexical-binding.
6685
66862013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6687
6688 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6689
ba947bc4
GM
66902013-06-13 Glenn Morris <rgm@gnu.org>
6691
8baeb37a
GM
6692 * startup.el (tty-handle-args):
6693 Don't just discard "--" and anything after. (Bug#14608)
6694
ba947bc4
GM
6695 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6696
9abefce4
MA
66972013-06-13 Michael Albinus <michael.albinus@gmx.de>
6698
6699 Implement changes in Secret Service API. Make it backward compatible.
6700 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6701 (secrets-create-item): Use it. Prefix properties with interface.
6702
5755011f
MH
67032013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6704
6705 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6706 (term-emulate-terminal): Respect term-suppress-hard-newline.
6707
1261d2da
S
67082013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6709
6710 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6711 Only remove a `thumb-file' overlay. (Bug#14548)
6712
868490bb
GJ
67132013-06-12 Grégoire Jadi <daimrod@gmail.com>
6714
6715 * mail/reporter.el (reporter-submit-bug-report):
6716 Handle missing package-name. (Bug#14600)
6717
79d7167f
TH
67182013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6719
6720 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6721 (reftex-citation-prompt, reftex-default-bibliography)
6722 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6723 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6724 (reftex-bib-sort-author, reftex-bib-sort-year)
6725 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6726 (reftex-extract-bib-entries-from-thebibliography)
6727 (reftex-get-bibkey-default, reftex-get-bib-names)
6728 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6729 (reftex-format-bib-entry, reftex-parse-bibitem)
6730 (reftex-format-bibitem, reftex-do-citation)
6731 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6732 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6733 (reftex-insert-bib-matches, reftex-format-citation)
6734 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6735 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6736 existing comments into docstrings.
6737
5f9dbd7a
XF
67382013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6739
6740 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6741
94df41ab
AS
67422013-06-12 Andreas Schwab <schwab@suse.de>
6743
6744 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6745 for auto-save files.
6746
a7f3fecc
GM
67472013-06-12 Glenn Morris <rgm@gnu.org>
6748
001809f6
GM
6749 * ido.el (ido-delete-ignored-files): Remove.
6750 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6751 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6752
834b5ded
EL
67532013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6754
08c73ed2
EL
6755 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6756
834b5ded
EL
6757 * ido.el (ido-delete-ignored-files): New function,
6758 split from ido-make-file-list-1.
6759 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6760 (ido-make-file-list-1): Use ido-delete-ignored-files.
6761
daabf15a
LL
67622013-06-12 Leo Liu <sdl.web@gmail.com>
6763
6764 * progmodes/octave.el (inferior-octave-startup)
6765 (inferior-octave-completion-table)
6766 (inferior-octave-track-window-width-change)
6767 (octave-eldoc-function-signatures, octave-help)
6768 (octave-find-definition): Use single quoted strings.
6769 (inferior-octave-startup-args): Change default value.
6770 (inferior-octave-startup): Do not hard code "-i" and
6771 "--no-line-editing".
6772 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6773 (inferior-octave-directory-tracker): Use it.
6774 (octave-goto-function-definition): Robustify.
6775 (octave-help): Support highlighting operators in 'See also'.
6776 (octave-find-definition): Find subfunctions only in Octave mode.
6777
cf4e5178
SM
67782013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * help-fns.el (help-fns--compiler-macro): If the handler function is
6781 named, then put a link to it.
6782 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6783 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6784 (cl-typep): Use it.
6785 (cl-eval-when): Simplify debug spec.
6786 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6787 compiler-macro function instead of setting `compiler-macro-file'.
6788
99c81280 67892013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6790
6791 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6792 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6793
f56be016
SM
67942013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6795 Daniel Hackney <dan@haxney.org>
6796
6797 First part of Daniel Hackney's patch to package.el.
6798 * emacs-lisp/package.el: Use defstruct.
6799 (package-desc): New, main struct.
6800 (package--bi-desc, package--ac-desc): New structs, used to describe the
6801 format in external files.
6802 (package-desc-vers): Replace with package-desc-version accessor.
6803 (package-desc-doc): Replace with package-desc-summary accessor.
6804 (package-activate-1): Remove `package' arg since the pkg-vec now
6805 includes the name.
6806 (define-package): Use package-desc-from-define.
6807 (package-unpack-single): Change file-name arg to be a symbol.
6808 (package--add-to-archive-contents): Use package-desc-create and new
6809 accessor functions to package--ac-desc.
6810 (package-buffer-info, package-tar-file-info): Return a package-desc.
6811 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6812 arg to be a package-desc.
6813 (package-install-file): Adjust accordingly. Use \' to match EOS.
6814 (package--from-builtin): New function.
6815 (describe-package-1, package-menu--generate): Use it.
6816 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6817 (package-generate-autoloads): Idem and return the name of the file.
6818 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6819 Change pkg-info arg to be a package-desc.
6820 Use package-make-ac-desc.
6821 (package-upload-file): Use \' to match EOS.
6822 * finder.el (finder-compile-keywords): Use package-make-builtin.
6823
31119d63
SM
68242013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6825
931a2762
SM
6826 * vc/vc.el (vc-deduce-fileset): Change error message.
6827 (vc-read-backend): New function.
6828 (vc-next-action): Use it.
6829
5a3eb0c6
SM
6830 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6831
e3eb1bb7
SM
6832 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6833 (prolog-font-lock-keywords): Use regexp-opt instead.
6834 Don't manually highlight strings.
6835 (prolog-mode-variables): Simplify comment-start-skip.
6836 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6837
31119d63
SM
6838 * emacs-lisp/generic.el (generic--normalise-comments)
6839 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6840 (generic-mode-set-comments): Use them.
6841 (generic-bracket-support): Use setq-local.
6842 (generic-make-keywords-list): Declare obsolete.
6843
7de135d0
GM
68442013-06-11 Glenn Morris <rgm@gnu.org>
6845
6846 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6847 Prettify after setting font-lock-defaults. (Bug#14574)
6848
fa6bc6fd
JB
68492013-06-11 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * replace.el (query-replace, occur-read-regexp-defaults-function)
6852 (replace-search):
6853 * subr.el (declare-function, number-sequence, local-set-key)
6854 (substitute-key-definition, locate-user-emacs-file)
6855 (with-silent-modifications, split-string, eval-after-load):
6856 Fix typos, remove unneeded backslashes and reflow some docstrings.
6857
cf1f9b9a
SM
68582013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6859
6860 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6861 default for Elisp files.
6862
56602a4b
GM
68632013-06-11 Glenn Morris <rgm@gnu.org>
6864
6865 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6866 although define-derived-mode was doing this anyway. (Bug#14583)
6867
30ae0b2c
JB
68682013-06-10 Juanma Barranquero <lekktu@gmail.com>
6869
6870 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6871 Fix make-variable-buffer-local call to refer to the correct variable.
6872
fa472906
AG
68732013-06-10 Aidan Gauland <aidalgol@amuri.net>
6874
6875 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6876 (eshell-visual-subcommands, eshell-visual-options):
6877 Add summary line to docstrings. Add cross-references.
fa472906 6878
ff4871b9
GM
68792013-06-10 Glenn Morris <rgm@gnu.org>
6880
6881 * epa.el (epa-read-file-name): New function. (Bug#14510)
6882 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6883
04fcf1b0
AG
68842013-06-09 Aidan Gauland <aidalgol@amuri.net>
6885
6886 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6887 output redirection to be ignored with visual commands.
6888
88b00caa
AG
68892013-06-09 Aidan Gauland <aidalgol@amuri.net>
6890
6891 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6892 (eshell-term-initialize): Move long lambda to separate function
6893 eshell-visual-command-p.
e7b41c4c
JB
6894 * eshell/em-dirs.el (eshell-dirs-initialise):
6895 * eshell/em-script.el (eshell-script-initialize):
6896 Add missing #' to lambda.
88b00caa 6897
fda74125
LL
68982013-06-08 Leo Liu <sdl.web@gmail.com>
6899
6900 * progmodes/octave.el (octave-add-log-current-defun): New function.
6901 (octave-mode): Set add-log-current-defun-function.
6902 (octave-goto-function-definition): Do not move point if not found.
6903 (octave-find-definition): Enhance to try subfunctions first.
6904
467f3b33
GM
69052013-06-08 Glenn Morris <rgm@gnu.org>
6906
6907 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6908 (byte-compile-backward-char, byte-compile-backward-word):
6909 Improve previous change, to handle non-explicit nil.
6910
544badc3
SM
69112013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6914 (smie--opener/closer-at-point): New function.
6915 (smie--matching-block-data): Use it. Don't match from right after an
6916 opener or right before a closer. Obey smie-blink-matching-inners.
6917 Don't signal a mismatch for repeated inners like "switch..case..case".
6918
a175bf33
LL
69192013-06-07 Leo Liu <sdl.web@gmail.com>
6920
6921 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6922 to t. (Bug#14303)
ce8209d4
LL
6923 (octave-function-header-regexp): Fix. (Bug#14570)
6924 (octave-help-mode-finish-hook, octave-help-mode-finish):
6925 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6926
6927 * newcomment.el (comment-search-backward): Revert last change.
6928 (Bug#14434)
6929
6930 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6931
a822acff
EZ
69322013-06-07 Eli Zaretskii <eliz@gnu.org>
6933
6934 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6935 through xargs, to avoid failure due to MS-Windows limitations on
6936 command-line length.
6937
961166f5
GM
69382013-06-06 Glenn Morris <rgm@gnu.org>
6939
d0341459
GM
6940 * font-lock.el (lisp-font-lock-keywords-2):
6941 Treat user-error like error.
6942
961166f5
GM
6943 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6944 (byte-compile-backward-char, byte-compile-backward-word):
6945 Handle explicit nil arguments. (Bug#14565)
6946
80fa505f
AM
69472013-06-05 Alan Mackenzie <acm@muc.de>
6948
6949 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6950 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6951 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6952 (Bug#9706)
80fa505f 6953
fccdc796
SM
69542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * autorevert.el (auto-revert-notify-handler): Use memq.
6957 Hide assertion failure.
6958
6959 * skeleton.el: Use cl-lib.
6960 (skeleton-further-elements): Use defvar-local.
6961 (skeleton-insert): Use cl-progv.
6962
9bfff84b
TZ
69632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6964
6965 * progmodes/prog-mode.el (prog-prettify-symbols)
6966 (prog-prettify-install): Update docstrings.
6967
55577e7c
SM
69682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * simple.el: Move all the prog-mode code to prog-mode.el.
6971 * progmodes/prog-mode.el: New file.
6972 * loadup.el: Add prog-mode.el.
6973
8fc57765
TZ
69742013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6975
6976 * simple.el (prog-prettify-symbols): Add version.
6977 (prog-prettify-install): Add convenience function to prettify symbols.
6978
6979 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6980 (perl--augmented-font-lock-keywords-1)
6981 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6982 variables and use it.
6983
6984 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6985 (cfengine3-mode): Remove unneeded variable and use it.
6986
6987 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6988 (lisp--augmented-font-lock-keywords-1)
6989 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6990 Remove unneeded variables and use it.
6991
650645d5 69922013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6993
6994 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6995 to point when opening the connection. (Bug#14380)
28f5da6d 6996
781b4af6
SM
69972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * subr.el (load-history-regexp, load-history-filename-element)
7000 (eval-after-load, after-load-functions, do-after-load-evaluation)
7001 (eval-next-after-load, display-delayed-warnings)
7002 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7003 definition of save-match-data.
7004 (overriding-local-map): Remove accidental obsolescence declaration.
7005
7006 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7007
3ca0d0b4
TZ
70082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7009
7010 Generalize symbol prettify support to prog-mode and implement it
7011 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7012 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7013 (prog--prettify-font-lock-compose-symbol)
7014 (prog-prettify-font-lock-symbols-keywords): New variables and
7015 functions to support symbol prettification.
7016 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7017 (lisp--augmented-font-lock-keywords-1)
7018 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7019 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7020 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7021 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7022 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7023 * progmodes/perl-mode.el (perl-prettify-symbols)
7024 (perl--font-lock-compose-symbol)
7025 (perl--font-lock-symbols-keywords): Move to prog-mode.
7026 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7027 (perl-font-lock-keywords-1)
7028 (perl-font-lock-keywords-2): Remove explicit prettify support.
7029 (perl--augmented-font-lock-keywords)
7030 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7031 (perl--augmented-font-lock-keywords-2, perl-mode):
7032 Implement prettify support.
3ca0d0b4 7033
976cb066
LL
70342013-06-05 Leo Liu <sdl.web@gmail.com>
7035
7036 Re-implement smie matching block highlight using
7037 show-paren-data-function. (Bug#14395)
7038 * emacs-lisp/smie.el (smie-matching-block-highlight)
7039 (smie--highlight-matching-block-overlay)
7040 (smie--highlight-matching-block-lastpos)
7041 (smie-highlight-matching-block)
7042 (smie-highlight-matching-block-mode): Remove.
7043 (smie--matching-block-data-cache): New variable.
7044 (smie--matching-block-data): New function.
7045 (smie-setup): Use smie--matching-block-data for
7046 show-paren-data-function.
7047
7048 * progmodes/octave.el (octave-mode-menu): Fix.
7049 (octave-find-definition): Skip garbage lines.
7050
208d0342
SM
70512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 Fix compilation error with simultaneous dynamic+lexical scoping.
7054 Add warning when a defvar appears after the first let-binding.
7055 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7056 (byte-compile-close-variables): Initialize it.
7057 (byte-compile--declare-var): New function.
7058 (byte-compile-file-form-defvar)
7059 (byte-compile-file-form-define-abbrev-table)
7060 (byte-compile-file-form-custom-declare-variable): Use it.
7061 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7062 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7063 (byte-compile-bind): Handle dynamic bindings that shadow
7064 lexical bindings.
7065 (byte-compile-unbind): Make arg non-optional.
7066 (byte-compile-let): Simplify.
7067 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7068 (cconv--analyse-function, cconv-analyse-form): Populate it.
7069 Protect byte-compile-bound-variables to limit the scope of defvars.
7070 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7071 Remove unneeded rule for `declare'.
7072
7073 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7074 so as to avoid depending on cl-adjoin at run-time.
7075 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7076
7077 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7078 (macroexp--warn-and-return): Use it.
7079
1ac2891e
GM
70802013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 * lisp/subr.el: Convert to lexical binding.
7083 (overriding-local-map): Make obsolete.
7084 (add-to-list): Doc fix. Add compiler macro.
7085 (read-key): Swap values of local maps.
7086
2587b005
LL
70872013-06-05 Leo Liu <sdl.web@gmail.com>
7088
7089 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7090
f1da3c88
LL
70912013-06-04 Leo Liu <sdl.web@gmail.com>
7092
7093 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7094 (compilation-auto-jump): Suppress the "Mark set" message to give
7095 way to exit message.
7096
3caa391f
AM
70972013-06-04 Alan Mackenzie <acm@muc.de>
7098
7099 Remove faulty optimisation from indentation calculation.
7100 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7101 search limit based on 2000 characters back from indent-point.
7102
068922a2
TH
71032013-06-03 Tassilo Horn <tsdh@gnu.org>
7104
7105 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7106
1f8fdd53
SM
71072013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7108
bbcc4d97
SM
7109 * emacs-lisp/lisp.el: Use lexical-binding.
7110 (lisp--local-variables-1, lisp--local-variables): New functions.
7111 (lisp--local-variables-completion-table): New var.
208d0342 7112 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7113
1f8fdd53
SM
7114 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7115 eagerly (bug#14422).
7116
c9628c79
MA
71172013-06-03 Michael Albinus <michael.albinus@gmx.de>
7118
7119 * autorevert.el (auto-revert-notify-enabled)
7120 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7121 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7122 (auto-revert-notify-handler): Handle also gfilenotify.
7123
e7b41c4c 7124 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7125 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7126 Remove.
c9628c79 7127
e5e4a942
JL
71282013-06-03 Juri Linkov <juri@jurta.org>
7129
7130 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7131 `M-s h .'. (Bug#14427)
7132
7133 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7134 command `hi-lock-face-symbol-at-point'.
7135 (hi-lock-face-symbol-at-point): New command.
7136 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7137 (hi-lock-menu): Add `highlight-symbol-at-point'.
7138 (hi-lock-mode): Doc fix.
7139
7140 * isearch.el (isearch-forward-symbol-at-point): New command.
7141 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7142 (isearch-highlight-regexp): Add a regexp which matches
7143 words/symbols for word/symbol mode.
7144
7145 * subr.el (find-tag-default-bounds): New function with the body
7146 mostly moved from `find-tag-default'.
7147 (find-tag-default): Move most code to `find-tag-default-bounds',
7148 call it and apply `buffer-substring-no-properties' afterwards.
7149
26b3353a
TH
71502013-06-03 Tassilo Horn <tsdh@gnu.org>
7151
781b4af6
SM
7152 * eshell/em-term.el (eshell-term-initialize):
7153 Use `cl-intersection' rather than `intersection'.
26b3353a 7154
51b60f53
XF
71552013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7156
fe054b63 7157 * vc/log-view.el: Doc fix.
d3ffe17c 7158 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7159
a0eb10b3 71602013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7161
7162 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7163 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7164 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7165 (eieio-unbound, eieio-default-superclass)
7166 (eieio--define-field-accessors, method-static, method-before)
7167 (method-primary, method-after, method-num-lists)
7168 (method-generic-before, method-generic-primary)
7169 (method-generic-after, method-num-slots)
7170 (eieio-specialized-key-to-generic-key)
7171 (eieio--check-type, class-v, class-p)
7172 (eieio-class-name, define-obsolete-function-alias)
7173 (eieio-class-parents-fast, eieio-class-children-fast)
7174 (same-class-fast-p, class-constructor, generic-p)
7175 (generic-primary-only-p, generic-primary-only-one-p)
7176 (class-option-assoc, class-option, eieio-object-p)
7177 (class-abstract-p, class-method-invocation-order)
7178 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7179 (eieio-class-un-autoload, eieio-defclass)
7180 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7181 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7182 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7183 (eieio-defgeneric-reset-generic-form)
7184 (eieio-defgeneric-form-primary-only)
7185 (eieio-defgeneric-reset-generic-form-primary-only)
7186 (eieio-defgeneric-form-primary-only-one)
7187 (eieio-defgeneric-reset-generic-form-primary-only-one)
7188 (eieio-unbind-method-implementations)
7189 (eieio--defmethod, eieio--typep)
7190 (eieio-perform-slot-validation, eieio-validate-slot-value)
7191 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7192 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7193 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7194 (eieio-slot-name-index, eieio-class-slot-name-index)
7195 (eieio-set-defaults, eieio-initarg-to-attribute)
7196 (eieio-attribute-to-initarg, eieio-c3-candidate)
7197 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7198 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7199 (eieio-class-precedence-list, eieio-generic-call-methodname)
7200 (eieio-generic-call-arglst, eieio-generic-call-key)
7201 (eieio-generic-call-next-method-list)
7202 (eieio-pre-method-execution-functions, eieio-generic-call)
7203 (eieio-generic-call-primary-only, eieiomt-method-list)
7204 (eieiomt-optimizing-obarray, eieiomt-install)
7205 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7206 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7207 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7208 (defclass): Remove `eval-and-compile' from macro.
7209 (call-next-method, shared-initialize): Instead of using
7210 `scoped-class' variable, use new eieio--scoped-class, and
7211 eieio--with-scoped-class.
7212 (initialize-instance): Rename local variable 'scoped-class' to
7213 'this-class' to remove ambiguitity from old global.
7214
7215 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7216 eieio.el.
4f405069
JB
7217 (eieio--scoped-class-stack): New variable.
7218 (eieio--scoped-class): New fcn.
890f7890
DE
7219 (eieio--with-scoped-class): New scoping macro.
7220 (eieio-defclass): Use pushnew instead of add-to-list.
7221 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7222 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7223 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7224 `scoped-class' variable, use new eieio--scoped-class, and
7225 eieio--with-scoped-class.
7226
7227 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7228
d105b0e2
TH
72292013-06-02 Tassilo Horn <tsdh@gnu.org>
7230
7231 * eshell/esh-ext.el (eshell-external-command): Pass args to
7232 `eshell-find-interpreter'.
7233 (eshell-find-interpreter): Add new second parameter ARGS.
7234
7235 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7236 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7237
7238 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7239 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7240
7241 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7242 (eshell-visual-options): New defcustom.
7243 (eshell-escape-control-x): Adapt docstring.
7244 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7245 `eshell-visual-options' in addition to `eshell-visual-commands'.
7246 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7247
f46305c8 72482013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7249
7250 * progmodes/python.el (python-indent-block-enders): Add break,
7251 continue and raise keywords.
7252
d870df21
GM
72532013-06-01 Glenn Morris <rgm@gnu.org>
7254
9133b82e
GM
7255 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7256
02c992ec 7257 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7258 * progmodes/cc-cmds.el (delete-forward-p):
7259 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7260 * progmodes/cc-engine.el (buffer-syntactic-context):
7261 * progmodes/cc-fonts.el (face-property-instance):
7262 * progmodes/cc-mode.el (set-keymap-parents):
7263 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7264 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7265 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7266 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7267 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7268
31e7b090
GM
7269 * progmodes/cc-vars.el (other): Emacs has this widget since
7270 at least 21.1, so don't (re)define it.
7271
d870df21
GM
7272 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7273 Replace the obsolete alias pcomplete-arg-quote-list.
7274
c75c93c7
LL
72752013-06-01 Leo Liu <sdl.web@gmail.com>
7276
7277 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7278 punctuation syntax.
7279 (inferior-octave-minimal-columns)
7280 (inferior-octave-last-column-width): New variables.
7281 (inferior-octave-track-window-width-change): New function.
7282 (inferior-octave-mode): Adjust column width so that Octave output,
7283 for example from 'ls', can fit into the window nicely.
7284
973d1e12
DG
72852013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7286
7287 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7288 Highlight expansions inside regexp literals.
7289
0888c286
GM
72902013-05-31 Glenn Morris <rgm@gnu.org>
7291
e26aac1f
GM
7292 * obsolete/sym-comp.el (symbol-complete):
7293 Replace obsolete completion-annotate-function.
7294
0888c286
GM
7295 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7296
19bb8e62
DG
72972013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7298
781b4af6
SM
7299 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7300 New function, checks if point is inside a literal that allows
19bb8e62
DG
7301 expression expansion.
7302 (ruby-syntax-propertize-expansion): Use it.
7303 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7304 around the body.
7305
01dea85f
JL
73062013-05-30 Juri Linkov <juri@jurta.org>
7307
7308 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7309 to "\M-si".
7310 (isearch-invisible): New variable.
7311 (isearch-forward): Doc fix.
7312 (isearch-mode): Set `isearch-invisible'
7313 to the value of `search-invisible'.
7314 (isearch-toggle-case-fold): Doc fix.
7315 (isearch-toggle-invisible): New command.
7316 (isearch-query-replace): Let-bind `search-invisible'
7317 to the value of `isearch-invisible'.
7318 (isearch-search): Use `isearch-invisible' instead of
7319 `search-invisible'. Let-bind `search-invisible'
7320 to the value of `isearch-invisible'. (Bug#11378)
7321
ab1bdce5
JL
73222013-05-30 Juri Linkov <juri@jurta.org>
7323
7324 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7325 call when `query-flag' is nil and `search-invisible' is non-nil.
7326 (Bug#11746)
7327
d6d236e2
GM
73282013-05-30 Glenn Morris <rgm@gnu.org>
7329
8accd027
GM
7330 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7331
2a8bed1c
GM
7332 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7333 (cc-require): Suppress spurious "noruntime" warnings.
7334 (cc-require-when-compile): Use fboundp, for sake of compiler.
7335
d6d236e2
GM
7336 * progmodes/cc-mode.el: Move load of cc-vars before that of
7337 cc-langs (which in turn loads cc-vars), to quieten compiler.
7338
9190b35b
SM
73392013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * paren.el: Simplify the code.
7342 (show-paren-mode): Always start the timer.
7343 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7344 (show-paren--overlay, show-paren--overlay-1): Rename from
7345 show-paren-overlay and show-paren-overlay-1, and initialize to an
7346 overlay rather than to nil.
7347 (show-paren-function): Misc cleanup and simplifications.
7348
4f8d1cf6
SM
73492013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * paren.el (show-paren-data-function): New hook.
7352 (show-paren--default): New function, extracted from show-paren-function.
7353 (show-paren-function): Use show-paren-data-function.
7354
02d844b5
GM
73552013-05-30 Glenn Morris <rgm@gnu.org>
7356
d209d4a9
GM
7357 * ielm.el (ielm-map, ielm-complete-symbol):
7358 Use completion-at-point rather than obsolete functions.
7359 (inferior-emacs-lisp-mode): Doc fix.
7360 Set completion-at-point-functions, rather than
7361 comint-dynamic-complete-functions.
7362
2082faa6
GM
7363 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7364 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7365 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7366
dd8620de
GM
7367 * image.el (image-animated-p): Tweak definition.
7368
ceca95b1
GM
7369 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7370 (rlogin-process-connection-type): Tweak default. Add set-after.
7371 (rlogin-host): Doc fix.
7372 (rlogin): Tweak prompt.
7373 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7374
ee9f1acc
GM
7375 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7376 * progmodes/tcl.el (inferior-tcl-mode-map):
7377 Use completion-at-point rather than obsolete alias.
7378
45ce222e
GM
7379 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7380
02d844b5
GM
7381 * minibuffer.el (read-file-name-completion-ignore-case):
7382 Move before completion--in-region, for eager macro expansion.
7383
ac44d6c1
JL
73842013-05-29 Juri Linkov <juri@jurta.org>
7385
7386 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7387 for total count of matching lines. Add `global-matches' for total
7388 count of matches. Rename `matches' to `lines' for count of
7389 matching lines. Add `matches' for count of matches.
7390 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7391 to `prev-line' for line number of prev match endpt.
7392 Increment `matches' for every match. Print the number of
7393 matching lines in the header.
7394 (occur-context-lines): Rename `lines' to `curr-line'.
7395 Rename `prev-lines' to `prev-line'. (Bug#14017)
7396
3c9c9d38
JL
73972013-05-29 Juri Linkov <juri@jurta.org>
7398
7399 * replace.el (perform-replace): Add `skip-read-only-count',
7400 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7401 Increment them for corresponding conditions and report the number
7402 of skipped occurrences in the final message. (Bug#11746)
7403 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7404 (replace-string, replace-regexp): Doc fix.
7405
33e249a2
SM
74062013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7407
8e399682
SM
7408 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7409
33e249a2 7410 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7411 prog-mode-map (bug#14504).
33e249a2 7412
f236dd84
LL
74132013-05-29 Leo Liu <sdl.web@gmail.com>
7414
7415 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7416 (octave-help): Small simplification.
7417
7418 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7419 off the highlight first.
7420
3694d13f
GM
74212013-05-29 Glenn Morris <rgm@gnu.org>
7422
03983bdc
GM
7423 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7424 Handle idlwave-last-system-routine-info-cons-cell being nil.
7425
bc74a74a
GM
7426 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7427 (idlwave-write-paths): Simplify via with-temp-buffer.
7428
8b394200
GM
7429 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7430 * emulation/cua-rect.el: Also load cua-base at run time.
7431
3694d13f
GM
7432 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7433 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7434 (cperl-imenu-on-info): Require imenu.
7435
336d7284
AM
74362013-05-28 Alan Mackenzie <acm@muc.de>
7437
7438 Handle "capitalised keywords" correctly.
33e249a2 7439 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7440
cb29c582
AG
74412013-05-28 Aidan Gauland <aidalgol@amuri.net>
7442
781b4af6 7443 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7444
690e44b2
GM
74452013-05-28 Glenn Morris <rgm@gnu.org>
7446
e658d75c
GM
7447 * vc/vc-arch.el (vc-exec-after): Declare.
7448 (vc-switches): Autoload.
7449 * vc/vc-bzr.el: No need to require vc when compiling.
7450 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7451 (vc-resynch-buffer, vc-dir-refresh): Declare.
7452 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7453 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7454 (vc-resynch-buffer): Declare.
7455 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7456 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7457 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7458 (grep-read-regexp, grep-read-files, grep-expand-template)
7459 (vc-dir-refresh): Declare.
7460 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7461 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7462 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7463 * vc/vc-mtn.el (vc-exec-after): Declare.
7464 (vc-switches): Autoload.
7465 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7466 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7467 (vc-file-tree-walk): Declare.
712b9732
GM
7468 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7469 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7470 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7471 * vc/vc-svn.el (vc-exec-after): Declare.
7472 (vc-switches, vc-setup-buffer): Autoload.
7473 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7474 Autoload.
7475 (vc-resynch-buffer): Declare.
7476
98e87fb3
GM
7477 * obsolete/fast-lock.el (byte-compile-warnings):
7478 Don't warn about obsolete features in this obsolete file.
7479
f5379553
GM
7480 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7481 Move definition before use.
7482
7a20ef83
GM
7483 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7484 (dun-unix-verbs): Remove dun-zippy.
7485 (dun-zippy): Remove function.
7486
690e44b2
GM
7487 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7488
3a52ccf7
JL
74892013-05-27 Juri Linkov <juri@jurta.org>
7490
7491 * replace.el (replace-search): New function with code moved out
7492 from `perform-replace'.
7493 (replace-highlight, replace-dehighlight): Move function definitions
7494 up closer to `replace-search'. (Bug#11746)
7495
d289938a
JL
74962013-05-27 Juri Linkov <juri@jurta.org>
7497
7498 * replace.el (perform-replace): Ignore invisible matches.
7499 In addition to checking `query-replace-skip-read-only', also
7500 filter out matches by calling `run-hook-with-args-until-failure'
7501 on `isearch-filter-predicates', and also check `search-invisible'
7502 for t or call `isearch-range-invisible'.
7503 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7504
66fc57e3
JL
75052013-05-27 Juri Linkov <juri@jurta.org>
7506
7507 * isearch.el (isearch-filter-predicates): Rename from
7508 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7509 (isearch-message-prefix): Display text from the property
7510 `isearch-message-prefix' of the currently active filters.
7511 (isearch-search): Don't compare `isearch-filter-predicate' with
7512 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7513 on `isearch-filter-predicates'. Also check `search-invisible' for t
7514 or call `isearch-range-invisible'.
7515 (isearch-filter-visible): Make obsolete.
7516 (isearch-lazy-highlight-search):
7517 Call `run-hook-with-args-until-failure' on
7518 `isearch-filter-predicates' and use `isearch-range-invisible'.
7519
7520 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7521 `isearch-filter-predicates' instead of `funcall'ing
7522 `isearch-filter-predicate'.
7523 (Info-mode): Set `Info-isearch-filter' to
7524 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7525
7526 * dired-aux.el (dired-isearch-filter-predicate-orig):
7527 Remove variable.
7528 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7529 (dired-isearch-filenames-end): Add and remove
7530 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7531 instead of changing the value of `isearch-filter-predicate'.
7532 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7533 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7534 Put property `isearch-message-prefix' to "filename " on
7535 `dired-isearch-filter-filenames'.
7536
7537 * wdired.el (wdired-change-to-wdired-mode):
7538 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7539 locally instead of changing `isearch-filter-predicate'.
7540 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7541
f1a60a0f
DG
75422013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7543
7544 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7545 return the commit hash (Bug#14459). Also set the
7546 `vc-git-detached' property.
7547 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7548 (vc-git-mode-line-string): Use the same help-echo format whether
7549 in detached mode or not, because we know the actual revision now.
7550 When in detached mode, shorten the revision to 7 chars.
7551
7f17cc40
SM
75522013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/easy-mmode.el (define-minor-mode):
7555 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7556 mode hook and provide a docstring.
7557
25c8401c
AM
75582013-05-27 Alan Mackenzie <acm@muc.de>
7559
7560 Remove spurious syntax-table text properties inserted by C-y.
7561 * progmodes/cc-mode.el (c-after-change): Also clear hard
7562 syntax-table property with value nil.
7563
dde84790
MA
75642013-05-27 Michael Albinus <michael.albinus@gmx.de>
7565
7566 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7567 when reading the events; the buffer layout shall not be changed.
7568
837fd9af
LL
75692013-05-27 Leo Liu <sdl.web@gmail.com>
7570
7571 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7572 New variable.
7573 (inferior-octave-directory-tracker): Automatically re-sync
7574 default-directory.
7575 (octave-help): Improve handling of 'See also'.
7576
4fd996b3
SM
75772013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7578
416f1802
SM
7579 * doc-view.el: Minor naming convention tweaks.
7580 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7581
4fd996b3
SM
7582 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7583 even if there's no `display' property yet (bug#14435).
7584
a052ef3b
EZ
75852013-05-25 Eli Zaretskii <eliz@gnu.org>
7586
4fd996b3 7587 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7588
7589 * Makefile.in (custom-deps, finder-data, autoloads)
7590 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7591 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7592 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7593
c9023370
SM
75942013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7597 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7598 Don't burp at EOB.
c9023370 7599
24d699fa
LL
76002013-05-25 Leo Liu <sdl.web@gmail.com>
7601
7602 * comint.el (comint-previous-matching-input): Do not flood the
7603 *Messages* buffer with trivial messages.
7604
17e5c0cc
SM
76052013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * progmodes/flymake.el (flymake-nop): Don't return a string.
7608 (flymake-set-at): Fix typo.
7609
7610 * simple.el (read--expression): New function, extracted from
7611 eval-expression. Set completion-at-point-functions (bug#14465).
7612 (eval-expression, eval-minibuffer): Use it.
7613
5d028165
XF
76142013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7615
7616 * progmodes/flymake.el (flymake-save-buffer-in-file)
7617 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7618 (flymake-selected-frame, flymake-log, flymake-ins-after)
7619 (flymake-set-at, flymake-get-buildfile-from-cache)
7620 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7621 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7622 Refine the doc string.
7623 (flymake-get-file-name-mode-and-masks): Reformat.
7624 (flymake-get-real-file-name-function): Fix a minor bug.
7625
7a1d7ba7
JL
76262013-05-24 Juri Linkov <juri@jurta.org>
7627
7628 * progmodes/grep.el (grep-mode-font-lock-keywords):
7629 Support =linenumber= format used by git-grep for lines with
7630 function names. (Bug#13549)
7631
650cff3d
SM
76322013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7635 0 after a semi-colon; it works better for smie-auto-fill.
7636 (octave--indent-new-comment-line): New function.
7637 (octave-indent-new-comment-line): Use it (indirectly).
7638 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7639 modify comment-line-break-function.
7640
7641 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7642 (smie-setup): Use add-function to set it.
7643
9631677d
SS
76442013-05-24 Sam Steingold <sds@gnu.org>
7645
7646 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7647 argument (before the `interactive' argument).
7648
50105835
SM
76492013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * image-mode.el (image-mode-winprops): Add winprops to
7652 image-mode-winprops-alist before running
7653 image-mode-new-window-functions.
7654 * doc-view.el (doc-view-new-window-function): Don't delay
7655 doc-view-goto-page via timers (bug#14435).
7656
57b9823e
TH
76572013-05-24 Tassilo Horn <tsdh@gnu.org>
7658
7659 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7660 (doc-view-desktop-save-buffer): New function.
7661 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7662 (desktop-buffer-mode-handlers):
7663 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7664 handler.
7665 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7666 `desktop-save-buffer' function.
7667
91aafa16
MA
76682013-05-24 Michael Albinus <michael.albinus@gmx.de>
7669
7670 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7671 (tramp-gvfs-file-name-handler): Raise a user error when
7672 `tramp-gvfs-enabled' is nil.
7673 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7674 Do not raise a user error when loading package. (Bug#14447)
7675
ec076379
MA
7676 * net/xesam.el: Move to obsolete/.
7677
db785726
GM
76782013-05-24 Glenn Morris <rgm@gnu.org>
7679
af5c7606
GM
7680 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7681
e5d1916a
GM
7682 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7683
ded62b08
GM
7684 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7685 (Info-find-node, Man-getpage-in-background): Declare.
7686
9e614a3f
GM
7687 * mail/unrmail.el (unrmail):
7688 Replace obsolete detect-coding-with-priority.
7689
892f8ca3
GM
7690 * net/socks.el (socks-split-string): Use this rather than split-string.
7691 (socks-nslookup-host): Update for above change.
7692 (dynamic-choice, s5-dynamic-choice-match)
7693 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7694 Comment out unused code.
7695
3c291973
GM
7696 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7697 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7698 (gud-tooltip-echo-area): Make obsolete.
7699 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7700
43cc956b
GM
7701 * progmodes/js.el (js--optimize-arglist): Declare.
7702
dab49a3b
GM
7703 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7704
36b9d085
GM
7705 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7706 (ediff-window-C): Declare.
7707
e354ae76
GM
7708 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7709 Tweak requires to silence compiler.
7710
b8e57bf4
GM
7711 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7712 (he-search-string, he-tried-table, he-expand-list)
7713 (he-init-string, he-string-member, he-substitute-string)
7714 (he-reset-string): Declare.
7715
db785726
GM
7716 * obsolete/options.el (list-options): Use custom-variable-p,
7717 rather than obsolete alias.
7718
b3531901
SS
77192013-05-23 Sam Steingold <sds@gnu.org>
7720
7721 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7722 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7723 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7724
bdda4c66
SM
77252013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * emacs-lisp/smie.el (smie-indent-forward-token)
7728 (smie-indent-backward-token): Handle string tokens (bug#14381).
7729
c43d45f9
TH
77302013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7731
fe1eb856
RS
7732 * ielm.el (ielm-menu): New menu.
7733 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7734
fe1eb856
RS
77352013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7736
7737 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7738 Fix deactivate action.
7739
7740 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7741 Add cleveref macros.
074dd971 7742
c43d45f9
TH
7743 * lisp/textmodes/reftex-parse.el
7744 (reftex-locate-bibliography-files): Accept options for
7745 bibliography commands.
7746 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7747 Add addbibresource. Basic Biblatex support.
7748
7764286e
MA
77492013-05-23 Michael Albinus <michael.albinus@gmx.de>
7750
7751 * net/tramp-gvfs.el (top):
7752 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7753 when loading package. (Bug#14447)
7754
d361bc10
GM
77552013-05-23 Glenn Morris <rgm@gnu.org>
7756
8fa23984
GM
7757 * progmodes/js.el: No need to load comint when compiling.
7758 (ring-insert, comint-send-string, comint-send-input)
7759 (comint-last-input-end, ido-chop): Declare.
7760
a5c7df1a
GM
7761 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7762 * vc/ediff-mult.el: Adjust requires.
7763 (ediff-directories-internal, ediff-directory-revisions-internal)
7764 (ediff-patch-file-internal): Declare.
7765 * vc/ediff-ptch.el: Adjust requires.
7766 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7767 (ediff-find-file): Autoload.
7768 * vc/ediff-util.el: No need to load ediff when compiling.
7769 (ediff-regions-internal): Declare.
7770 * vc/ediff-wind.el: Adjust requires.
7771 (ediff-compute-toolbar-width): Define when compiling.
7772 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7773 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7774 (dired-get-filename, dired-get-marked-files)
7775 (ediff-last-dir-patch, ediff-patch-default-directory)
7776 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7777 (ediff-patch-buffer-internal): Declare.
7778
e2aec513
GM
7779 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7780 (ispell-process, ispell-buffer-local-words, lm-summary)
7781 (lm-section-start, lm-section-end): Declare.
7782 (checkdoc-ispell-init): Simplify.
7783
e68bbd7c
GM
7784 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7785 (he-string-member, he-reset-string, he-substitute-string): Declare.
7786
7efe0991
GM
7787 * eshell/em-ls.el: Adjust requires.
7788 (eshell-glob-regexp): Declare.
f87b1284
GM
7789 * eshell/em-tramp.el: Adjust requires.
7790 (eshell-parse-command): Autoload.
7791 * eshell/em-xtra.el: Adjust requires.
7792 (eshell-parse-command): Autoload.
7793 * eshell/esh-ext.el: Adjust requires.
7794 (eshell-parse-command, eshell-close-handles): Autoload.
7795 * eshell/esh-io.el: Adjust requires.
7796 (eshell-output-filter): Autoload.
7797 * eshell/esh-util.el: No need to load tramp when compiling.
7798 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7799 Declare.
7800 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7801 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7802 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7803 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7804 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7805 * eshell/esh-opt.el, eshell/esh-proc.el:
7806 * eshell/esh-var.el: Adjust requires.
7807 * eshell/eshell.el: Do not require esh-util twice.
7808 (eshell-add-input-to-history): Declare.
7809 (eshell-command): Check history module is active before using it.
7810
d361bc10
GM
7811 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7812
85d090a9
LL
78132013-05-22 Leo Liu <sdl.web@gmail.com>
7814
7815 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7816
5d0acd9d
MA
78172013-05-22 Michael Albinus <michael.albinus@gmx.de>
7818
7819 * autorevert.el (auto-revert-notify-add-watch)
7820 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7821 it indicates changes in file modification time.
7822
0cdffd7d
GM
78232013-05-22 Glenn Morris <rgm@gnu.org>
7824
ca5995ec
GM
7825 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7826 Always delete the autoloaded function from the noruntime and
7827 unresolved functions lists.
7828
6450907e
GM
7829 * allout.el: No need to load epa, epg, overlay when compiling.
7830 (epg-context-set-passphrase-callback, epg-list-keys)
7831 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7832 (epg-key-user-id-list): Declare.
7833
9c6906f6
GM
7834 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7835 (viper-set-parsing-style-toggling-macro)
7836 (viper-set-emacs-state-searchstyle-macros):
7837 Use called-interactively-p on Emacs.
7838 (viper-looking-back): Make it an obsolete alias. Update callers.
7839 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7840 Use looking-back rather than viper-looking-back.
7841 (viper-tmp-insert-at-eob, viper-enlarge-region)
7842 (viper-read-string-with-history, viper-register-to-point)
7843 (viper-append-to-register, viper-change-state-to-vi)
7844 (viper-backward-char-carefully, viper-forward-char-carefully)
7845 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7846 (viper-change-state-to-emacs): Declare.
7847 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7848 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7849 * emulation/viper-mous.el: Do not load viper-cmd.
7850 (viper-backward-char-carefully, viper-forward-char-carefully)
7851 (viper-forward-word, viper-adjust-window): Declare.
7852
5f70c169
GM
7853 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7854
b1b7f300
GM
7855 * progmodes/idlw-help.el (idlwave-help-fontify):
7856 Use called-interactively-p.
7857
f6ebbb46
GM
7858 * term/w32console.el (w32-get-console-codepage)
7859 (w32-get-console-output-codepage): Declare.
7860
0cdffd7d
GM
7861 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7862 Remove unnecessary declarations.
7863 (dframe-message): Doc fix.
7864
7865 * info.el (dframe-select-attached-frame, dframe-current-frame):
7866 Declare.
7867
7868 * speedbar.el (speedbar-message): Make it an obsolete alias.
7869 Update all callers.
7870 (speedbar-with-attached-buffer)
7871 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7872 (speedbar-with-writable): Use backquote.
7873 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7874 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7875 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7876 rather than speedbar- aliases.
7877 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7878 (speedbar-make-specialized-keymap, speedbar-insert-button)
7879 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7880 (speedbar-do-function-pointer): Declare.
7881 (rmail-speedbar-button, rmail-speedbar-find-file)
7882 (rmail-speedbar-move-message):
7883 Use dframe-with-attached-buffer rather than speedbar- alias.
7884 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7885 (dframe-message, speedbar-make-specialized-keymap)
7886 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7887 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7888 (speedbar-insert-button, dframe-select-attached-frame)
7889 (dframe-maybee-jump-to-attached-frame)
7890 (speedbar-change-initial-expansion-list)
7891 (speedbar-previously-used-expansion-list-name): Declare.
7892 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7893 Use dframe-message, dframe-with-attached-buffer rather than
7894 speedbar- aliases.
7895 (gud-sentinel): Silence compiler.
7896 * progmodes/vhdl-mode.el (speedbar-refresh)
7897 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7898 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7899 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7900 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7901 (speedbar-file-lists, speedbar-make-tag-line)
7902 (speedbar-line-directory, speedbar-goto-this-file)
7903 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7904 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7905 (speedbar-make-button, speedbar-reset-scanners)
7906 (speedbar-files-item-info, speedbar-line-text)
7907 (speedbar-find-file-in-frame, speedbar-set-timer)
7908 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7909 (speedbar-with-writable): Do not (re)define it.
7910 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7911 rather than speedbar- alias.
7912
ee44b62a
LL
79132013-05-21 Leo Liu <sdl.web@gmail.com>
7914
7915 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7916 menu items.
7917 (octave-mode): Tweak fill-nobreak-predicate.
7918 (inferior-octave-startup): Check process to avoid infinite loop.
7919 (inferior-octave): Pop to buffer first to show abornmal process
7920 exit information.
7921
640f050f
GM
79222013-05-21 Glenn Morris <rgm@gnu.org>
7923
79458038
GM
7924 * printing.el (pr-menu-bar): Define when compiling.
7925
9cc3e83f
LL
79262013-05-21 Leo Liu <sdl.web@gmail.com>
7927
7928 * progmodes/octave.el (octave-auto-fill): Remove.
7929 (octave-indent-new-comment-line): Improve.
7930 (octave-mode): Use auto fill mode through
4f405069 7931 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7932 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7933 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7934 (octave-help): Show parent directory.
7935
f440830d
GM
79362013-05-21 Glenn Morris <rgm@gnu.org>
7937
7938 * files.el (dired-unmark):
7939 * progmodes/gud.el (gdb-input): Update declarations.
7940
7941 * calculator.el (electric, ehelp): No need to load when compiling.
7942 (Electric-command-loop, electric-describe-mode): Declare.
7943
7944 * doc-view.el (doc-view-current-converter-processes): Move before use.
7945
7946 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7947 Move MODE-set-explicitly definition before use.
7948
7949 * international/mule-diag.el (mule-diag):
7950 Don't use obsolete window-system-version.
7951
7952 * mail/feedmail.el (smtpmail): No need to load when compiling.
7953 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7954
7955 * mail/mail-utils.el (rfc822): No need to load when compiling.
7956 (rfc822-addresses): Autoload it.
7957 (mail-strip-quoted-names): Trivial simplification.
7958
7959 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7960 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7961
7962 * net/snmp-mode.el (tempo): Don't duplicate requires.
7963
7964 * progmodes/prolog.el (info): No need to load when compiling.
7965 (comint): Require before shell requires it.
7966 (Info-goto-node): Autoload it.
7967 (Info-follow-nearest-node): Declare.
7968 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7969
7970 * textmodes/artist.el (picture-mode-exit): Declare.
7971
7972 * textmodes/reftex-parse.el (reftex-parse-from-file):
7973 Trivial rewrite so the compiler can parse it better.
7974
b4da2cbb
LL
79752013-05-20 Leo Liu <sdl.web@gmail.com>
7976
7977 * progmodes/octave.el (octave-help-mode-map)
7978 (octave-help-mode-finish-hook): New variables.
7979 (octave-help-mode, octave-help-mode-finish): New functions.
7980 (octave-help): Use octave-help-mode.
7981
33c0f65b
GM
79822013-05-20 Glenn Morris <rgm@gnu.org>
7983
7984 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7985
1a0a0a8a
DG
79862013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7987
7988 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7989 start at point, so that expansion starting right after opening
7990 slash in a regexp is recognized.
7991 (ruby-syntax-before-regexp-re): New defvar, extracted from
7992 ruby-syntax-propertize-function. Since the value of this regexp
7993 is looked up at runtime now, we should be able to turn
7994 `ruby-syntax-methods-before-regexp' into a defcustom later.
7995 (ruby-syntax-propertize-function): Split regexp matching into two
7996 parts, for opening and closing slashes. That allows us to skip
7997 over string interpolations and support multiline regexps.
7998 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7999 for them, which calls `ruby-syntax-propertize-expansion'.
8000 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8001 call to `ruby-syntax-propertize-function'.
8002 (ruby-syntax-propertize-expansion): Extracted from
8003 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8004 (ruby-syntax-propertize-percent-literal): Leave point right after
8005 the percent symbol, so that the expression expansion rule can
8006 propertize the contents.
462388b6
DG
8007 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8008 heredoc openers.
8009 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8010
c1a6c0a4
JL
80112013-05-18 Juri Linkov <juri@jurta.org>
8012
8013 * man.el (Man-default-man-entry): Remove `-' from the end
8014 of the default value. (Bug#14400)
8015
8051fccd
GM
80162013-05-18 Glenn Morris <rgm@gnu.org>
8017
8018 * comint.el (comint-password-prompt-regexp):
8019 Allow "password for XXX" where XXX contains colons (eg https://...).
8020
5e80b74f
LL
80212013-05-18 Leo Liu <sdl.web@gmail.com>
8022
8023 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8024 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8025 (octave-source-directories): Don't check process.
8026 (octave-source-directories, octave-find-definition): Doc fix.
8027
521a54c5
GM
80282013-05-18 Glenn Morris <rgm@gnu.org>
8029
86a94b05
GM
8030 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8031 Remove backspace/delete bindings. (Bug#14392)
8032
521a54c5
GM
8033 * cus-dep.el (custom-make-dependencies): Sort the output.
8034 (custom-versions-load-alist): Convert comment to doc.
8035
42caeb89
LL
80362013-05-17 Leo Liu <sdl.web@gmail.com>
8037
8038 * newcomment.el (comment-search-backward): Stricter in finding
8039 comment start. (Bug#14303)
8040
8041 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8042 (octave-comment-start-skip): Properly anchored.
8043
e219dd97
LL
80442013-05-17 Leo Liu <sdl.web@gmail.com>
8045
fe1eb856
RS
8046 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8047 Clean up when turned off. (Bug#14395)
e219dd97
LL
8048 (smie--highlight-matching-block-overlay): No longer buffer-local.
8049 (smie-highlight-matching-block): Adjust.
8050
dc5dcb4b
PE
80512013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8052
8053 Doc string fix for "nanoseconds" (Bug#14406).
8054 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8055 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8056
1db165f0
JB
80572013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8058
8059 * calc/calc-units.el (math-extract-units): Preserve powers
8060 of units.
8061
c7a8fcac
LL
80622013-05-17 Leo Liu <sdl.web@gmail.com>
8063
8064 * subr.el (delete-consecutive-dups): New function.
8065 * ido.el (ido-set-matches-1): Use it.
8066 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8067 * ido.el (ido-remove-consecutive-dups): Remove.
8068
f678b18a
SM
80692013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8072 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8073 regexp-opt's `words'.
8074
ebfe68e8
LL
80752013-05-16 Leo Liu <sdl.web@gmail.com>
8076
8077 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8078 (smie--highlight-matching-block-overlay)
8079 (smie--highlight-matching-block-lastpos)
8080 (smie--highlight-matching-block-timer): New variables.
8081 (smie-highlight-matching-block): New function.
8082 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8083 (smie-setup): Conditionally enable smie-blink-matching-open.
8084
bc8bc17d
WS
80852013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8086
8087 Sync with upstream verilog-mode r840.
8088 * progmodes/verilog-mode.el (verilog-mode-version)
8089 (verilog-mode-release-date): Update.
8090 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8091 (verilog-sig-tieoff): Fix string error on
8092 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8093 (verilog-read-decls): Fix parameters confusing
8094 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8095
df065a0b
EZ
80962013-05-16 Eli Zaretskii <eliz@gnu.org>
8097
8098 * subr.el (reveal-filename): New function.
8099
8100 * loadup.el: Compute Emacs executable versions on MS-Windows,
8101 where executables have the .exe extension. Add a hard link
8102 emacs-XX.YY.ZZ.exe on MS-Windows.
8103
8104 * Makefile.in (XARGS_LIMIT): New variable.
8105 (custom-deps, finder-data, autoloads)
8106 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8107 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8108 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8109 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8110
2d4bf34b
LL
81112013-05-16 Leo Liu <sdl.web@gmail.com>
8112
8113 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8114 (octave-mode-menu, octave-mode-map): Remove its uses.
8115
6b9c2d85
RZ
81162013-05-16 Reto Zimmermann <reto@gnu.org>
8117
8118 Sync with upstream vhdl mode v3.34.2.
8119 * progmodes/vhdl-mode.el: Use `push' throughout.
8120 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8121 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8122 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8123 (vhdl-actual-generic-name): New option to derive actual generic name.
8124 (vhdl-port-paste-signals): Replace formal by actual generics.
8125 (vhdl-beautify): New name for old group vhdl-align. Update users.
8126 (vhdl-beautify-options): New option.
8127 (vhdl-last-input-event): New compat alias. Use throughout.
8128 (vhdl-goto-line): Replace user level function `goto-line'.
8129 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8130 vhdl-fix-statement-buffer.
8131 (vhdl-create-mode-menu): Add some entries.
8132 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8133 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8134 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8135 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8136 to force statements on one line.
8137 (vhdl-remove-trailing-spaces-region):
8138 New, split from vhdl-remove-trailing-spaces.
8139 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8140 Respect vhdl-beautify-options.
8141 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8142 (vhdl-update-sensitivity-list): Not add with index if exists without.
8143 Not include array index with signal. Ignore keywords in comments.
8144 (vhdl-get-visible-signals): Regexp tweaks.
8145 (vhdl-template-component-inst): Handle empty library.
8146 (vhdl-template-type): Add template for 'enum' type.
8147 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8148 Use vhdl-replace-string.
8149 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8150 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8151 (vhdl-speedbar-initialize): Update for above name change.
8152 (vhdl-compose-wire-components): Fix in handling of constants.
8153 (vhdl-error-regexp-emacs-alist): New variable.
8154 (vhdl-error-regexp-add-emacs): New function;
8155 adds support for new compile.el (Emacs 22+)
8156 (vhdl-generate-makefile-1): Change target order for single lib. units.
8157 Allow use of absolute file names.
8158
9df4ec5e
LL
81592013-05-16 Leo Liu <sdl.web@gmail.com>
8160
8161 * simple.el (prog-indent-sexp): Indent enclosing defun.
8162
f5ba00a6
GM
81632013-05-15 Glenn Morris <rgm@gnu.org>
8164
ed8be7ff
GM
8165 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8166 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8167 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8168 (whitespace-highlight): Move to whitespace group.
8169
8170 * comint.el (comint-source):
8171 * pcmpl-linux.el (pcmpl-linux):
8172 * shell.el (shell-faces):
8173 * eshell/esh-opt.el (eshell-opt):
8174 * international/ccl.el (ccl): Remove empty custom groups.
8175
8176 * completion.el (dynamic-completion-mode):
8177 * jit-lock.el (jit-lock-debug-mode):
8178 * minibuffer.el (completion-in-region-mode):
8179 * type-break.el (type-break-mode-line-message-mode)
8180 (type-break-query-mode):
8181 * emulation/tpu-edt.el (tpu-edt-mode):
8182 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8183 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8184 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8185
8186 * term/xterm.el (xterm): Change parent group to terminals.
8187
8188 * master.el (master): Remove empty custom group.
8189 (master-mode): Remove unused :group argument.
8190 * textmodes/refill.el (refill): Remove empty custom group.
8191 (refill-mode): Remove unused :group argument.
8192
8193 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8194
82a7c41b
GM
8195 * cus-dep.el: Provide a feature.
8196 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8197 Don't mistakenly ignore files whose basenames match a basename
8198 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8199 Add a fallback method for getting :group.
f5ba00a6 8200
6d65486d
JL
82012013-05-15 Juri Linkov <juri@jurta.org>
8202
da547b32
JL
8203 * isearch.el (isearch-char-by-name): Rename from
8204 `isearch-insert-char-by-name'. Doc fix.
8205 (isearch-forward): Mention `isearch-char-by-name' in
8206 the docstring. (Bug#13348)
8207
6d65486d
JL
8208 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8209 `exit-minibuffer' instead of
8210 `isearch-nonincremental-exit-minibuffer'.
8211 (isearch-edit-string): Remove mention of
8212 `isearch-nonincremental-exit-minibuffer' from docstring.
8213 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8214 (isearch-forward-exit-minibuffer)
8215 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8216
c9990474
SM
82172013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8218
6e911150
SM
8219 * loadup.el: Just use unversioned DOC.
8220
c9990474
SM
8221 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8222 literals as extending to EOB.
8223 (nxml-last-fontify-end): Remove unused variable.
8224 (nxml-after-change1): Use with-silent-modifications.
8225 (nxml-extend-after-change-region): Simplify.
8226 (nxml-extend-after-change-region1): Remove function.
8227 (nxml-after-change1): Don't adjust for dependent regions.
8228 (nxml-fontify-matcher): Simplify.
8229 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8230 (xmltok-add-dependent): Remove function.
8231 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8232 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8233 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8234 unclosed <[[, <?, comment, and other literals as extending to EOB.
8235 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8236 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8237 Remove functions.
8238 (rng-do-some-validation-1): Don't mark dependent regions.
8239 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8240 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8241 (nxml-clear-dependent-regions): Remove functions.
8242 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8243 (nxml-ensure-scan-up-to-date):
8244 Don't clear&mark dependent regions.
8245
e3772e98
LL
82462013-05-15 Leo Liu <sdl.web@gmail.com>
8247
c9990474
SM
8248 * progmodes/octave.el (octave-goto-function-definition):
8249 Improve and fix callers.
e3772e98 8250
5ac2eb34
SM
82512013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8252
c46c57b0
SM
8253 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8254 the setter (bug#14387).
8255
5ac2eb34
SM
8256 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8257 surrounding group (bug#14402).
8258
180ed218
JL
82592013-05-14 Juri Linkov <juri@jurta.org>
8260
8261 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8262 (Bug#14390)
8263
0ac0fecb
GM
82642013-05-14 Glenn Morris <rgm@gnu.org>
8265
8266 * progmodes/f90.el (f90-imenu-generic-expression):
8267 Fix typo in 2013-05-08 change. (Bug#14402)
8268
2e78e6a7
JPG
82692013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8270
5ac2eb34
SM
8271 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8272 Remove signals for which replies are never received.
2e78e6a7 8273
53267cca
JPG
82742013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8275
8276 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8277 (gdb-handler-alist, gdb-handler-number): Remove variables.
8278 (gdb-handler-list): New variable.
8279 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8280 (gdb-pending-handler-p, gdb-handle-reply)
8281 (gdb-remove-all-pending-triggers): New functions.
8282 (gdb-discard-unordered-replies): New defcustom.
8283 (gdb-handler): New defstruct.
8284 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8285 instead of gdb-pending-triggers. Update docstring.
8286 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8287 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8288 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8289 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8290 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8291 (gdb-frame-handler): Pending triggers are now automatically managed.
8292 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8293 Remove argument.
8294 (gdb-input): Automatically handles pending triggers. Update docstring.
8295 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8296 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8297 Update comments.
8298 (gdb-done-or-error): Now use gdb-handle-reply.
8299
d04ce803
JPG
83002013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8301
8302 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8303 gdb-debug-log.
8304
0114073a
GM
83052013-05-14 Glenn Morris <rgm@gnu.org>
8306
8307 * subr.el (user-emacs-directory-warning): New option.
8308 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8309
4d25fd7e
LL
83102013-05-14 Leo Liu <sdl.web@gmail.com>
8311
8312 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8313 during redisplay.
8314 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8315 (octave-font-lock-texinfo-comment): Fix invalid search bound
8316 error: wrong side of point.
4d25fd7e 8317
27c8b6eb
GM
83182013-05-14 Glenn Morris <rgm@gnu.org>
8319
61aaeb01
GM
8320 * progmodes/flymake.el (flymake-xml-program): New option.
8321 (flymake-xml-init): Use it.
8322
5bf90bc5
GM
8323 * term/xterm.el: Provide a feature.
8324
8325 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8326
f4c7dfd2
GM
83272013-05-13 Glenn Morris <rgm@gnu.org>
8328
8329 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8330 Add compat aliases as a hack workaround. (Bug#14384)
8331
2aeb3a1d
LL
83322013-05-13 Leo Liu <sdl.web@gmail.com>
8333
b0e069c2
LL
8334 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8335 ###, and %!.
f5a9432f
LL
8336 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8337 C-M-q.
b0e069c2
LL
8338 (octave-comment-start-skip): Include %!.
8339 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8340
30ea8374
LL
83412013-05-12 Leo Liu <sdl.web@gmail.com>
8342
8343 * progmodes/octave.el (inferior-octave-startup): Store the value
8344 of __octave_srcdir__ for octave-source-directories.
8345 (inferior-octave-check-process): New function refactored out of
8346 inferior-octave-send-list-and-digest.
8347 (octave-source-directories)
8348 (octave-find-definition-filename-function): New variables.
8349 (octave-source-directories)
8350 (octave-find-definition-default-filename): New functions.
8351 (octave-find-definition): Improve to find functions implemented in C++.
8352
472a3834
GM
83532013-05-12 Glenn Morris <rgm@gnu.org>
8354
8355 * calendar/diary-lib.el (diary-outlook-format-1):
8356 Don't include dayname in the output. (Bug#14349)
8357
3191b52f
GM
83582013-05-11 Glenn Morris <rgm@gnu.org>
8359
0060ac73
GM
8360 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8361
3191b52f
GM
8362 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8363 Treat cc-provide like provide.
8364
e065ba74
KR
83652013-05-11 Kevin Ryde <user42@zip.com.au>
8366
8367 * cus-dep.el (custom-make-dependencies):
8368 Use generated-autoload-load-name for the sake of files such
8369 such cedet/semantic/bovine/c.el, where the base file name
8370 is not in load-path. (Bug#5277)
8371
36f84c37
GM
83722013-05-11 Glenn Morris <rgm@gnu.org>
8373
8374 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8375 Provide features.
8376
c8730c3a
LL
83772013-05-11 Leo Liu <sdl.web@gmail.com>
8378
8379 * progmodes/octave.el (octave-indent-comment): Improve.
8380 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8381 (octave-eldoc-function-signatures, octave-eldoc-function):
8382 New functions.
c8730c3a
LL
8383 (octave-mode, inferior-octave-mode): Add eldoc support.
8384
212e29f2
RS
83852013-05-11 Richard Stallman <rms@gnu.org>
8386
8387 * epa.el (epa-decrypt-file): Take output file name as argument
8388 and read it using `interactive'.
8389
083fe0d7
LL
83902013-05-11 Leo Liu <sdl.web@gmail.com>
8391
8392 * progmodes/octave.el (octave-beginning-of-line)
8393 (octave-end-of-line): Check before using up-list because it jumps
8394 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8395 (octave-indent-comment): New function.
8396 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8397 (octave-begin-keywords, octave-end-keywords)
8398 (octave-reserved-words, octave-smie-bnf-table)
8399 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8400
8582e4c4
GM
84012013-05-11 Glenn Morris <rgm@gnu.org>
8402
f20def1f
GM
8403 * faces.el (internal-face-x-get-resource):
8404 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8405 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8406 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8407 Fix declarations.
f20def1f 8408
445f95e2
GM
8409 * calc/calc-menu.el: Make it loadable in isolation.
8410
8411 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8412 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8413 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8414 (eudc-bbdb-query-internal): Require 'bbdb.
8415
99fb2756
GM
8416 * lpr.el (lpr-headers-switches):
8417 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8418
8419 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8420
0da7ad96
GM
8421 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8422
8582e4c4
GM
8423 * term.el (term-set-escape-char): Make it idempotent.
8424
f71c50d0
LL
84252013-05-10 Leo Liu <sdl.web@gmail.com>
8426
5ac2eb34
SM
8427 * progmodes/octave.el (inferior-octave-completion-table):
8428 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8429 completion due to bug#11906.
8430 (octave-beginning-of-defun): Re-write to be more general.
8431
d5837773
GM
84322013-05-10 Glenn Morris <rgm@gnu.org>
8433
8434 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8435
027c0f75
SM
84362013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * comint.el (comint-redirect-send-command-to-process): Use :around
8439 rather than :override for comint-redirect-filter.
8440 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8441 Call it instead of comint-redirect-original-filter-function (which
8442 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8443
4465bfb4
JD
84442013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8445
8446 * frame.el (display-monitor-attributes-list): Add NS case.
8447 (ns-display-monitor-attributes-list): Declare.
8448
2d809ffa 84492013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8450
8451 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8452
e54eeb9b
GM
84532013-05-09 Glenn Morris <rgm@gnu.org>
8454
56cd351d
GM
8455 * international/fontset.el (vertical-centering-font-regexp):
8456 Set standard-value.
8457
d84b6108
GM
8458 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8459
a931698a
GM
8460 * bookmark.el (bookmark-search-delay):
8461 * cus-start.el (vertical-centering-font-regexp):
8462 * ps-mule.el (ps-mule-font-info-database-default):
8463 * ps-print.el (ps-default-fg, ps-default-bg):
8464 * type-break.el (type-break-good-break-interval):
8465 * whitespace.el (whitespace-indentation-regexp)
8466 (whitespace-space-after-tab-regexp):
8467 * emacs-lisp/testcover.el (testcover-1value-functions)
8468 (testcover-noreturn-functions, testcover-progn-functions)
8469 (testcover-prog1-functions):
8470 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8471 * eshell/em-glob.el (eshell-glob-translate-alist):
8472 * play/tetris.el (tetris-tty-colors):
8473 * progmodes/cpp.el (cpp-face-default-list):
8474 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8475 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8476 (idlwave-help-browser-generic-args):
8477 * progmodes/make-mode.el (makefile-special-targets-list):
8478 * progmodes/python.el (python-shell-virtualenv-path):
8479 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8480 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8481 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8482 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8483 * textmodes/reftex-vars.el (reftex-format-label-function):
8484 * textmodes/remember.el (remember-diary-file): Fix custom types.
8485
e54eeb9b
GM
8486 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8487 Add :version.
8488
455851dd
LL
84892013-05-09 Leo Liu <sdl.web@gmail.com>
8490
8491 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8492 Restore file completion. (Bug#14300)
455851dd
LL
8493 (inferior-octave-startup): Fix incorrect highlighting for the
8494 first prompt.
8495
a9e4425b
SM
84962013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * progmodes/ruby-mode.el: First cut at SMIE support.
8499 (ruby-use-smie): New var.
8500 (ruby-smie-grammar): New constant.
8501 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8502 (ruby-smie--forward-token, ruby-smie--backward-token)
8503 (ruby-smie-rules): New functions.
8504 (ruby-mode-variables): Setup SMIE if applicable.
8505
060ca408
EZ
85062013-05-08 Eli Zaretskii <eliz@gnu.org>
8507
8508 * simple.el (line-move-visual): Signal beginning/end of buffer
8509 only if vertical-motion moved less than it was requested. Avoids
8510 silly incorrect error messages when there are display strings with
8511 multiple newlines at EOL.
8512
1d5963cc
SM
85132013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8516 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8517 (prolog-char-quote-workaround):
8518 * progmodes/cperl-mode.el (cperl-under-as-char):
8519 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8520 Mark as obsolete.
8521 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8522 their declaration.
8523 (vhdl-mode-syntax-table-init): Remove.
8524
c9990474
SM
8525 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8526 last change.
1d5963cc
SM
8527
8528 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8529 syntax for "_".
8530 (ld-script-font-lock-keywords):
8531 Change regexps to use things like \_< and \_>.
8532
8533 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8534 Change all regexps to use things like \_< and \_>.
8535
8536 * progmodes/autoconf.el (autoconf-definition-regexp)
8537 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8538 Handle a _ with symbol syntax.
8539 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8540
c9990474
SM
8541 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8542 Consolidate declaration.
1d5963cc
SM
8543 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8544 the declaration.
8545 (ada-create-syntax-table): Remove.
8546 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8547 already has the right syntax nowadays.
8548 (ada-goto-next-word): Don't change the syntax of "_".
8549
8550 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8551 with-wrapper-hook.
8552
72d3cfca
SS
85532013-05-08 Sam Steingold <sds@gnu.org>
8554
8555 * thingatpt.el (thing-at-point): Accept optional second argument
8556 NO-PROPERTIES to strip the text properties from the return value.
8557 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8558 to `thing-at-point' instead of stripping the properties ourselves.
8559 Also, when `thing-at-point' fails to find a url, prepend "http://"
8560 to the filename at point on the assumption that the user is
8561 pointing at something like gnu.org/gnu.
8562
5cb15713
JB
85632013-05-08 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8566 * faces.el (crm-separator):
8567 Silence byte-compiler.
8568
8569 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8570 (tool-bar-map): Remove unneeded defvars.
8571
ea78b95b
LL
85722013-05-08 Leo Liu <sdl.web@gmail.com>
8573
8574 Re-work a fix for bug#10994 based on Le Wang's patch.
8575 * ido.el (ido-remove-consecutive-dups): New helper.
8576 (ido-completing-read): Use it.
8577 (ido-chop): Revert fix for bug#10994.
8578
dc7466df
AS
85792013-05-08 Adam Spiers <emacs@adamspiers.org>
8580
8581 * cus-edit.el (custom-save-variables):
8582 Pretty-print long values. (Bug#14187)
8583
9ecf672a
GM
85842013-05-08 Glenn Morris <rgm@gnu.org>
8585
8586 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8587 (m4-mode-syntax-table): Init in the defvar.
8588 (m4-mode-abbrev-table): Let define-derived-mode define it.
8589
3f555be8
TT
85902013-05-08 Tom Tromey <tromey@redhat.com>
8591
8592 * progmodes/m4-mode.el (m4-mode-syntax-table):
8593 Do not treat "_" as word constituent. (Bug#14167)
8594
7cc8ae06
GM
85952013-05-07 Glenn Morris <rgm@gnu.org>
8596
4f58bc06
GM
8597 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8598 Remove explicit eshell-isearch-cancel-map.
8599
7cc8ae06
GM
8600 * progmodes/f90.el (f90-smart-end-names): New option.
8601 (f90-smart-end): Doc fix.
8602 (f90-end-block-optional-name): New constant.
8603 (f90-block-match): Respect f90-smart-end-names.
8604
ceb57e59
SM
86052013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8608 about implicit semi-colons (bug#14218).
8609
4e3f9230
YM
86102013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8611
8612 * frame.el (display-monitor-attributes-list)
8613 (frame-monitor-attributes): New functions.
8614
203a5572
LL
86152013-05-06 Leo Liu <sdl.web@gmail.com>
8616
8617 * progmodes/octave.el (octave-syntax-propertize-function): Change
8618 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8619 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8620 (octave-completion-at-point): Rename from
203a5572
LL
8621 octave-completion-at-point-function.
8622 (inferior-octave-directory-tracker): Robustify.
8623 (octave-text-functions): Remove and fix its uses. No such things
8624 any more.
8625
ee6cff99
SM
86262013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * emacs-lisp/trace.el (trace--display-buffer): New function.
8629 (trace-make-advice): Use it.
8630
32985194
JL
86312013-05-06 Juri Linkov <juri@jurta.org>
8632
8633 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8634 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8635 Doc fix.
8636 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8637 in the help string. (Bug#12985)
8638
a1c700de
KD
86392013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8640
8641 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8642
c67c0839
SM
86432013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8644
323885fd
SM
8645 * progmodes/perl-mode.el: Add support for here documents.
8646 (perl-syntax-propertize-function): Match here-doc markers.
8647 (perl-syntax-propertize-special-constructs): Find their end.
8648 (perl-imenu-generic-expression): Use [:alnum:].
8649
c67c0839
SM
8650 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8651 (advice--add-function): Refresh the advice if already present
8652 (bug#14317).
8653
d491e7a8
IA
86542013-05-06 Ivan Andrus <darthandrus@gmail.com>
8655
8656 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8657
ddf9925e
GM
86582013-05-06 Glenn Morris <rgm@gnu.org>
8659
7cc3af27
GM
8660 * w32-fns.el (w32-charset-info-alist): Declare.
8661
16e343d6
GM
8662 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8663 of its defcustom properties.
8664 (eshell-cmpl-initialize): No need to load pcomplete.
8665
7d889a47
GM
8666 * generic-x.el: No need to require comint when compiling.
8667
ddf9925e
GM
8668 * net/eudc-export.el: Make it loadable without bbdb.
8669 (top-level): Use require rather than load-library.
8670 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8671 (eudc-batch-export-records-to-bbdb)
8672 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8673 Require bbdb.
8674
1e2c18df
SM
86752013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8678 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8679 some tweaks, instead.
8680
02502a5f
LL
86812013-05-05 Leo Liu <sdl.web@gmail.com>
8682
8683 * progmodes/octave.el (octave-font-lock-keywords)
8684 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8685 (inferior-octave-send-list-and-digest): Improve error message.
8686 (octave-mode, inferior-octave-mode): Use setq-local.
8687 (octave-help): Set info-lookup-mode.
8688
0dc04f42
RS
86892013-05-05 Richard Stallman <rms@gnu.org>
8690
6c54491c
RS
8691 * vc/compare-w.el (compare-windows-whitespace):
8692 Treat no-break space as whitespace.
8693
0dc04f42
RS
8694 * mail/rmailsum.el (rmail-summary-rmail-update):
8695 Detect empty summary and don't change selected message.
8696 (rmail-summary-goto-msg): Likewise.
8697
df8f35df
RS
8698 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8699 Doc fixes, rename args.
8700
5356e1a3
AM
87012013-05-05 Alan Mackenzie <acm@muc.de>
8702
8703 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8704
d44014cb
JL
87052013-05-05 Juri Linkov <juri@jurta.org>
8706
8707 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8708 to not add the length of the summary segment to the return value.
8709 (Bug#14125)
8710
c129b51f
LL
87112013-05-05 Leo Liu <sdl.web@gmail.com>
8712
8713 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8714 (inferior-octave-output-filter): Remove.
8715 (octave-send-region, inferior-octave-startup): Fix callers.
8716 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8717 (octave-binary-file-extensions): New user variable.
8718 (octave-find-definition): Confirm if opening binary files.
8719 (octave-help-file): Use octave-find-definition to get the binary
8720 confirmation.
8721 (octave-help): Adjust for octave-help-file change.
8722
aa7dab97
SM
87232013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8726 Merge the two entries that handle function definitions.
8727 (pascal--syntax-propertize): New const.
8728 (pascal-mode): Use it. Use setq-local.
8729
fd3a9a6b
GM
87302013-05-04 Glenn Morris <rgm@gnu.org>
8731
8732 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8733 (diary-from-outlook): Respect diary-from-outlook-function.
8734
30c7e542
SM
87352013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8738 Move the declaration from C.
8739 (read-minibuffer, eval-minibuffer): Move from C.
8740 (completion-setup-function): Avoid minibuffer-completion-contents.
8741
b54f978b
LL
87422013-05-03 Leo Liu <sdl.web@gmail.com>
8743
8744 * progmodes/octave.el (octave-font-lock-keywords): Do not
8745 dehighlight 'end' in comments or strings.
30c7e542
SM
8746 (octave-completing-read, octave-goto-function-definition):
8747 New helpers.
d4d0f9b3
LL
8748 (octave-help-buffer): New user variable.
8749 (octave-help-file, octave-help-function): New button types.
8750 (octave-help): New command and bind it to C-h ;.
8751 (octave-find-definition): New command and bind it to M-.
d74a1581 8752 (user-error): Alias to error if not defined.
b54f978b 8753
27135018
LL
87542013-05-02 Leo Liu <sdl.web@gmail.com>
8755
8756 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8757 for \. (bug#14332)
8758 (octave-font-lock-keywords): Include [ and {.
8759
0d634d3a
LL
87602013-05-02 Leo Liu <sdl.web@gmail.com>
8761
8762 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8763 (inferior-octave): Remove calling comint-mode and return the buffer.
8764 (inferior-octave-startup): Cosmetic changes.
8765
b4c8295e
LL
87662013-05-02 Leo Liu <sdl.web@gmail.com>
8767
30c7e542
SM
8768 * progmodes/octave.el (octave-syntax-propertize-function):
8769 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8770
f12ad6ec
GM
87712013-05-02 Glenn Morris <rgm@gnu.org>
8772
8773 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8774 * desktop.el (vc-dir-mode): Just autoload it here.
8775
30cac1e0
AM
87762013-05-02 Alan Mackenzie <acm@muc.de>
8777
8778 Eliminate variable c-standard-font-lock-fontify-region-function.
8779 * progmodes/cc-mode.el
8780 (c-standard-font-lock-fontify-region-function): Remove.
8781 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8782
d8ef28b1
LL
87832013-05-01 Leo Liu <sdl.web@gmail.com>
8784
2640d52e 8785 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8786 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8787 variables were removed from Octave in 2007.
d8ef28b1
LL
8788 (inferior-octave-startup): Fix uses.
8789 (comint-line-beginning-position): Remove compatibility code for
8790 emacs 21.
8791
ac63ec89
JL
87922013-05-01 Juri Linkov <juri@jurta.org>
8793
8794 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8795
9e9be37c
JL
87962013-05-01 Juri Linkov <juri@jurta.org>
8797
8798 * comint.el (comint-previous-matching-input): Don't print message
8799 "History item: %d" when `isearch-mode' is active.
8800 (comint-history-isearch-message): Print message "History item: %d"
8801 when `comint-input-ring-index' is not empty and this function is
8802 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8803
9b92c13b
LL
88042013-05-01 Leo Liu <sdl.web@gmail.com>
8805
8806 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8807 definitions. Use completion-at-point to insert keywords.
8808 (octave-abbrev-start): Remove.
8809 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8810
b12d33d7
LL
88112013-04-30 Leo Liu <sdl.web@gmail.com>
8812
8813 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8814 change.
8815
3d1c39fa
AM
88162013-04-30 Alan Mackenzie <acm@muc.de>
8817
8818 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8819 * progmodes/cc-engine.el (c-back-over-member-initializers):
8820 new function.
3d1c39fa
AM
8821 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8822 (most) member init lists.
8823
5147fc17
RS
88242013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8825
8826 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8827 variable.
8828
5b78d7fc
LL
88292013-04-30 Leo Liu <sdl.web@gmail.com>
8830
8831 * progmodes/octave.el (octave-variables): Remove. No builtin
8832 variables any more. All converted to functions.
8833 (octave-font-lock-keywords, octave-completion-at-point-function):
8834 Fix uses.
8835 (octave-font-lock-texinfo-comment): New user variable.
8836 (octave-texinfo-font-lock-keywords): New variable for texinfo
8837 comment block.
8838 (octave-function-comment-block): New face.
8839 (octave-font-lock-texinfo-comment): New function.
8840 (octave-mode): Font lock texinfo comment block.
8841
38d8527b
LL
88422013-04-29 Leo Liu <sdl.web@gmail.com>
8843
8844 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8845 indexing expression.
8846 (octave-continuation-string): Do not use \.
8847 (inferior-octave-complete-impossible): Remove.
8848 (inferior-octave-completion-table)
8849 (inferior-octave-completion-at-point): Remove its uses.
8850 (inferior-octave-startup): completion_matches was introduced to
8851 Octave in 1996 so safe to assume it.
8852 (octave-function-file-comment): Improve to follow how Octave does it.
8853 (octave-update-function-file-comment): Tweak.
8854
2ec12cb0
LL
88552013-04-29 Leo Liu <sdl.web@gmail.com>
8856
8857 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8858 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8859 (octave-function-file-comment): Fix typo.
8860 (octave-sync-function-file-names): Use read-char-choice.
8861
6eaed048
JB
88622013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8863
8864 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8865 to t for the less important warnings.
8866
3ffa2d4f
DH
88672013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8868
8869 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8870
685c9501
GM
88712013-04-27 Glenn Morris <rgm@gnu.org>
8872
8873 * vc/log-view.el (log-view-current-entry):
8874 Treat "---" separator lines as part of the following rev. (Bug#14169)
8875
0208ede7
JL
88762013-04-27 Juri Linkov <juri@jurta.org>
8877
8878 * subr.el (read-number): Doc fix about using it by interactive
8879 code letter `n'. (Bug#14254)
8880
5db9dace
JL
88812013-04-27 Juri Linkov <juri@jurta.org>
8882
8883 * desktop.el (desktop-auto-save-timeout): New option.
8884 (desktop-file-checksum): New variable.
8885 (desktop-save): Add optional arg `auto-save' and don't auto-save
8886 if nothing changed.
8887 (desktop-auto-save-timer): New variable.
8888 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8889 (after-init-hook): Call `desktop-auto-save-set-timer'.
8890 Suggested by Reuben Thomas <rrt@sc3d.org> in
8891 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8892
b7260dd4
LL
88932013-04-27 Leo Liu <sdl.web@gmail.com>
8894
8895 * progmodes/octave.el (octave-function-file-p)
8896 (octave-skip-comment-forward, octave-function-file-comment)
8897 (octave-update-function-file-comment): New functions.
8898 (octave-mode-map): Bind C-c ; to
8899 octave-update-function-file-comment.
8900 (octave-mode-menu): Add octave-update-function-file-comment.
8901 (octave-mode, inferior-octave-mode): Fix doc-string.
8902 (octave-insert-defun): Conform to Octave's coding convention.
8903 (Bug#14285)
8904
8905 * files.el (basic-save-buffer): Don't let errors in
8906 before-save-hook prevent saving buffer.
8907
c46da669
RW
89082013-04-20 Roland Winkler <winkler@gnu.org>
8909
8910 * faces.el (read-face-name): Use completing-read if arg multiple
8911 is nil.
8912
a81ee1eb
IL
89132013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8914
8915 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8916 displayed, move point to after the totals line.
8917 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8918 for the details.
8919
4fac34ce
SM
89202013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8923 Add current dir to the load-path.
8924 (package-generate-autoloads): Don't rely on
8925 autoload-ensure-default-file.
8926
f6bfc063
RT
89272013-04-26 Reuben Thomas <rrt@sc3d.org>
8928
d40ab5cf
BG
8929 * textmodes/remember.el (remember-store-in-files): Document that
8930 the file name format is passed to `format-time-string'.
f6bfc063 8931
e55d3b04
LL
89322013-04-26 Leo Liu <sdl.web@gmail.com>
8933
8934 * progmodes/octave.el (octave-sync-function-file-names): New function.
8935 (octave-mode): Use it in before-save-hook.
8936
e53052d3
SM
89372013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8938
140ef50c
SM
8939 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8940 (bug#14274).
8941
e53052d3
SM
8942 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8943 \n and comment, even if it's not an implicit ; (bug#14218).
8944
af80458d 89452013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8946
8947 * subr.el (read-number): Once more use `read' rather than
8948 `string-to-number', to trap non-numeric input. (Bug#14254)
8949
af80458d 89502013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8951
8952 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8953 Use `syntax-multiline' text property consistently instead of
8a621d53 8954 `font-lock-multiline'. (Bug#14237)
70203c2e 8955
e6ea1f6c
GM
89562013-04-26 Glenn Morris <rgm@gnu.org>
8957
8958 * emacs-lisp/shadow.el (list-load-path-shadows):
8959 No longer necessary to check for duplicate simple.el, since
8960 2012-07-07 change to init_lread to not include installation lisp
8961 directories in load-path when running uninstalled. (Bug#14270)
8962
070ccca4
LL
89632013-04-26 Leo Liu <sdl.web@gmail.com>
8964
8965 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8966 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8967 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8968 octave-in-string-or-comment-p.
8969 (octave-in-comment-p, octave-in-string-p)
8970 (octave-in-string-or-comment-p): Replace defsubst with defun.
8971
9d1c5fb6
PE
89722013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8973
8974 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8975
c034abda
BG
89762013-04-25 Bastien Guerry <bzg@gnu.org>
8977
8978 * textmodes/remember.el (remember-data-directory)
8979 (remember-directory-file-name-format): Fix custom types.
8980
584ea277
LL
89812013-04-25 Leo Liu <sdl.web@gmail.com>
8982
e53052d3
SM
8983 * progmodes/octave.el (octave-completion-at-point-function):
8984 Make use of inferior octave process.
584ea277
LL
8985 (octave-initialize-completions): Remove.
8986 (inferior-octave-completion-table): New function.
8987 (inferior-octave-completion-at-point): Use it.
8988 (octave-completion-alist): Remove.
8989
1693b06a
SM
89902013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8991
8992 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8993 (opascal-mode-syntax-table): New var.
8994 (opascal-literal-kind, opascal-is-literal-end)
8995 (opascal-literal-token-at): Rewrite.
8996 (opascal--literal-start-re, opascal-font-lock-keywords)
8997 (opascal--syntax-propertize): New constants.
8998 (opascal-font-lock-defaults): Adjust.
8999 (opascal-mode): Use them. Set comment-<foo> variables as well.
9000 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9001 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9002 (delphi-other-face, opascal-other-face): Remove face variables.
9003 (opascal-save-state): Remove macro.
9004 (opascal-fontifying-progress-step): Remove constant.
9005 (opascal--ignore-changes): Remove var.
9006 (opascal-set-token-property, opascal-parse-next-literal)
9007 (opascal-is-stable-literal, opascal-complete-literal)
9008 (opascal-is-literal-start, opascal-face-of)
9009 (opascal-parse-region, opascal-parse-region-until-stable)
9010 (opascal-fontify-region, opascal-after-change)
9011 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9012 (opascal-debug-parse-region, opascal-debug-parse-window)
9013 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9014 (opascal-debug-fontify-buffer): Remove.
9015 (opascal-debug-mode-map): Adjust accordingly.
9016
be64c05d
LL
90172013-04-25 Leo Liu <sdl.web@gmail.com>
9018
9019 Merge octave-mod.el and octave-inf.el into octave.el with some
9020 cleanups.
9021 * progmodes/octave.el: New file renamed from octave-mod.el.
9022 * progmodes/octave-inf.el: Merged into octave.el.
9023 * progmodes/octave-mod.el: Renamed to octave.el.
9024
d79d37bd
TH
90252013-04-25 Tassilo Horn <tsdh@gnu.org>
9026
9027 * textmodes/reftex-vars.el
9028 (reftex-label-ignored-macros-and-environments): New defcustom.
9029
9030 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9031
ced3fc5d
SM
90322013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9035 (smie-indent-keyword): Improve the check to ensure that the next
9036 comment is really on the same line.
9037 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9038
9039 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9040 semi-colons if the line is not otherwise empty (bug#14218).
9041
1c141dad
GM
90422013-04-25 Glenn Morris <rgm@gnu.org>
9043
9044 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9045
5058062a
SM
90462013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * progmodes/opascal.el (opascal-set-token-property): Rename from
9049 opascal-set-text-properties and only set `token' (bug#14134).
9050 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9051 (opascal-literal-text-properties): Remove.
9052 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9053 Adjust callers.
9054
5db9dace 90552013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9056
9057 * textmodes/remember.el (remember-handler-functions): Add an
9058 option for a new handler `remember-store-in-files'.
9059 (remember-data-directory, remember-directory-file-name-format):
9060 New options.
9061 (remember-store-in-files): New function to store remember notes
9062 as separate files within a directory.
9063
4391916c
MH
90642013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9065
9066 * progmodes/compile.el (compilation-next-error-function):
9067 Pass "formats" to compilation-find-file (bug#11777).
9068
bb7cdf58
GM
90692013-04-24 Glenn Morris <rgm@gnu.org>
9070
3b8fe752 9071 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9072 * vc/vc-hg.el (vc-hg-print-log):
9073 * vc/vc-svn.el (vc-svn-print-log):
9074 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9075
bb7cdf58
GM
9076 * vc/vc-bzr.el (vc-bzr-print-log):
9077 * vc/vc-cvs.el (vc-cvs-print-log):
9078 * vc/vc-git.el (vc-git-print-log):
9079 * vc/vc-hg.el (vc-hg-print-log):
9080 * vc/vc-mtn.el (vc-mtn-print-log):
9081 * vc/vc-rcs.el (vc-rcs-print-log):
9082 * vc/vc-sccs.el (vc-sccs-print-log):
9083 * vc/vc-svn.el (vc-svn-print-log):
9084 * vc/vc.el (vc-print-log-internal): Doc fixes.
9085
b46a056e
GM
90862013-04-23 Glenn Morris <rgm@gnu.org>
9087
9088 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9089 Remove venerable code attempting to avoid substitute-command-keys.
9090
0aecf718
TH
90912013-04-23 Tassilo Horn <tsdh@gnu.org>
9092
4391916c
MH
9093 * textmodes/reftex-vars.el (reftex-label-regexps):
9094 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9095
117f94cf
SM
90962013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9097
4391916c 9098 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9099 Use lexical-binding.
9100 (jit-lock-force-redisplay): Use markers, check buffer's continued
9101 existence and beware narrowed buffers.
9102 (jit-lock-fontify-now): Adjust call accordingly.
9103
1d829c64
SM
91042013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9107 to avoid misleading the user.
9108
72d548a9
LL
91092013-04-22 Leo Liu <sdl.web@gmail.com>
9110
9111 * info-look.el: Prefer latex2e.info. (Bug#14240)
9112
d0853629
MA
91132013-04-22 Michael Albinus <michael.albinus@gmx.de>
9114
9115 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9116
9117 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9118 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9119 (tramp-set-completion-function, tramp-parse-putty):
9120 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9121 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9122 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9123 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9124 (tramp-call-local-coding-command): Use `tramp-call-process'
9125 instead of `tramp-compat-call-process'.
9126
9127 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9128 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9129 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9130 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9131 (tramp-maybe-send-script): Check for Perl binary.
9132 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9133
38cc0210
DU
91342013-04-22 Daiki Ueno <ueno@gnu.org>
9135
9136 * epg.el (epg-context-pinentry-mode): New function.
9137 (epg-context-set-pinentry-mode): New function.
9138 (epg--start): Pass --pinentry-mode option to gpg command.
9139
cc641ee1
XF
91402013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9141
02d844b5 9142 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9143 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9144 `completion-at-point'. (Bug#13774)
5d4e5c31 9145
cc641ee1
XF
9146 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9147 default key binding for `describe-distribution' has been moved to
9148 `C-h C-o'. (Bug#13970)
9149
1b42ee43
GM
91502013-04-21 Glenn Morris <rgm@gnu.org>
9151
9152 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9153 Add doc strings.
9154 (vc-print-log): Clarify interactive prompt.
9155
a6d63d97
GM
91562013-04-20 Glenn Morris <rgm@gnu.org>
9157
9158 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9159 No longer include timestamp etc information.
9160
d7f5c16f
RW
91612013-04-20 Roland Winkler <winkler@gnu.org>
9162
9163 * faces.el (read-face-name): Bug fix, return just one face if arg
9164 multiple is nil. (Bug#14209)
9165
bcd7a0a4
SM
91662013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9169 (remove-function): Autoload.
9170
9171 * comint.el (comint-redirect-original-filter-function): Remove.
9172 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9173 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9174 (vc-cvs-annotate-command):
bcd7a0a4
SM
9175 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9176 * progmodes/prolog.el (prolog-consult-compile):
9177 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9178 Use add/remove-function instead.
9179 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9180 (gud-tooltip-process-output, gud-tooltip-tips):
9181 Use add/remove-function instead.
9182 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9183 (scheme-interaction-mode, exit-scheme-interaction-mode):
9184 Use add/remove-function instead.
9185
9186 * vc/vc-dispatcher.el: Use lexical-binding.
9187 (vc--process-sentinel): Rename from vc-process-sentinel.
9188 Change last arg to be the code to run. Don't use vc-previous-sentinel
9189 and vc-sentinel-commands any more.
9190 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9191 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9192
e36b2d20 91932013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9194
bcd7a0a4 9195 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9196 Handle function names with a single character. (Bug#14111)
4d3268ba 9197
781b4af6 91982013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9199
9200 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9201 for subroutines defined in an eval (bug#14182).
9202
7d688336
TV
92032013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9204
9205 * bookmark.el (bookmark-completing-read): Improve handling of empty
9206 string (bug#14176).
9207
31dcede0
SM
92082013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9211
adc31213
FEG
92122013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9213
9214 New faster Imenu implementation (bug#14058).
9215 * progmodes/python.el:
9216 (python-imenu-prev-index-position):
9217 (python-imenu-format-item-label-function)
9218 (python-imenu-format-parent-item-label-function)
9219 (python-imenu-format-parent-item-jump-label-function):
9220 New vars.
9221 (python-imenu-format-item-label)
9222 (python-imenu-format-parent-item-label)
9223 (python-imenu-format-parent-item-jump-label)
9224 (python-imenu--put-parent, python-imenu--build-tree)
9225 (python-imenu-create-index, python-imenu-create-flat-index)
9226 (python-util-popn): New functions.
9227 (python-mode): Set imenu-create-index-function to
9228 python-imenu-create-index.
9229
cdca8255
SM
92302013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * winner.el (winner-active-region): Use region-active-p, activate-mark
9233 and deactivate-mark (bug#14225).
9234
9235 * simple.el (deactivate-mark): Don't inline it.
9236
beb42340
MA
92372013-04-18 Michael Albinus <michael.albinus@gmx.de>
9238
9239 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9240
fc7f4d7e
TH
92412013-04-18 Tassilo Horn <tsdh@gnu.org>
9242
9243 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9244 file extensions from the archive-mode entry in order to prefer
9245 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9246
29f47822
LL
92472013-04-18 Leo Liu <sdl.web@gmail.com>
9248
9249 * bindings.el (help-event-list): Add ?\?.
9250
d36ed1c8
SM
92512013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * subr.el (with-wrapper-hook): Declare obsolete.
9254 * simple.el (filter-buffer-substring-function): New hook.
9255 (filter-buffer-substring): Use it.
9256 (filter-buffer-substring-functions): Mark obsolete.
9257 * minibuffer.el (completion-in-region-function): New hook.
9258 (completion-in-region): Use it.
9259 (completion-in-region-functions): Mark obsolete.
9260 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9261 * abbrev.el (abbrev-expand-function): New hook.
9262 (expand-abbrev): Use it.
9263 (abbrev-expand-functions): Mark obsolete.
9264 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9265 and :filter-return.
9266
04754d36
FEG
92672013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9268
9269 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9270 and do not care about match data.
9271
dd8791e9
SM
92722013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9275 completion tables when completing error conditions and
9276 `declare' arguments.
9277 (lisp-complete-symbol, field-complete): Mark as obsolete.
9278 (check-parens): Unmatched parens are user errors.
9279 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9280
ffe54a13
AM
92812013-04-17 Michal Nazarewicz <mina86@mina86.com>
9282
dd8791e9
SM
9283 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9284 command changed buffer (ie. `flyspell-pre-buffer' is not current
9285 buffer), which prevents making decisions based on invalid value of
9286 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9287 cause an error when `flyspell-pre-point' was nil after switching
9288 buffers.
9289 (flyspell-post-command-hook): No longer needs to change buffers when
9290 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9291
ec7e39f2
AM
92922013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9293
9294 * textmodes/ispell.el (ispell-add-per-file-word-list):
9295 Fix `flyspell-correct-word-before-point' error when accepting
9296 words and `coment-padding' is an integer by using
9297 `comment-normalize-vars' (Bug #14214).
9298
083850a6
FEG
92992013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9300
9301 New defun movement commands.
9302 * progmodes/python.el (python-nav--syntactically)
9303 (python-nav--forward-defun, python-nav-backward-defun)
9304 (python-nav-forward-defun): New functions.
9305
619ed6e1
FEG
93062013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9307
9308 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9309 (python-syntax-context): Use named compiler-macro for backwards
9310 compatibility with Emacs 24.x.
9311
7a1beb6c
LL
93122013-04-17 Leo Liu <sdl.web@gmail.com>
9313
9314 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9315 octave-hide-process-buffer.
9316
2d3fa3e5
SM
93172013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9320 (bug#14216).
9321
7ce5be54
JPG
93222013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9323
9324 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9325 Fix adjustment of offset when receiving incomplete responses from GDB
9326 (bug#14129).
9327
351edece
SM
93282013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9331 python-mode-abbrev-table.
9332 (python-skeleton-define): Adjust accordingly.
9333 (python-mode-abbrev-table): New table that inherits from it so that
9334 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9335
9336 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9337 (abbrev-symbol): Use it.
9338 (abbrev--before-point): Use it since we already handle inheritance.
9339
613f9481
LL
93402013-04-16 Leo Liu <sdl.web@gmail.com>
9341
9342 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9343 binding to info-lookup-symbol.
9344
51646b62
JB
93452013-04-16 Juanma Barranquero <lekktu@gmail.com>
9346
9347 * minibuffer.el (completion--twq-all):
9348 * term/ns-win.el (ns-initialize-window-system):
9349 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9350
efb3f01d
SM
93512013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9352
36c0a301
SM
9353 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9354 global bindings.
9355
efb3f01d
SM
9356 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9357
fb549d64
DG
93582013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9359
9360 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9361 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9362 to nil.
9363 (ruby-end-of-defun): Remove the unused arg, change the docstring
9364 to reflect that this function is only used as the value of
9365 `end-of-defun-function'.
9366 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9367 to reflect an earlier change that beginning/end-of-defun functions
9368 jump between methods in a class definition, as well as top-level
9369 functions.
9370
21e8fe2f
SM
93712013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * minibuffer.el (minibuffer-complete): Don't just scroll
9374 a *Completions* that's been iconified.
9375 (minibuffer-force-complete): Make sure repetitions do cycle when going
9376 through completion-in-region -> minibuffer-complete.
9377
20e527d0
AM
93782013-04-15 Alan Mackenzie <acm@muc.de>
9379
9380 Correct the placement of c-cpp-delimiters when there're #s not at
9381 col 0.
9382
9383 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9384 place a submatch around the #.
21e8fe2f
SM
9385 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9386 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9387 on the #, not BOL.
9388
dabefae5
SM
93892013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9392 (advice--member-p): New arg `name'.
9393 (advice--add-function, advice-member-p): Use it (bug#14202).
9394
85c9ab64
AM
93952013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9396
9397 Reformulate java imenu-generic-expression.
9398 The old expression contained ill formed regexps.
9399
9400 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9401 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9402 (cc-imenu-java-method-arg-regexp): New defconsts.
9403 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9404 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9405 handling of spaces in the regexp.
9406
0f821d99
AM
94072013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9408
9409 * textmodes/ispell.el (ispell-command-loop): Remove
9410 flyspell highlight of a word when ispell accepts it (bug #14178).
9411
eb922adf
MA
94122013-04-15 Michael Albinus <michael.albinus@gmx.de>
9413
9414 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9415 uses code from the previous `ange-ftp-run-real-handler'.
9416 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9417 only in case that function exist. This is needed for proper
9418 unloading of Tramp.
9419
4d9a0979
TH
94202013-04-15 Tassilo Horn <tsdh@gnu.org>
9421
9422 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9423
9424 * textmodes/reftex.el (reftex-compile-variables): Use it.
9425
a829b0dc
SM
94262013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9427
91e8293c
SM
9428 * files.el (normal-mode): Only use default major-mode if no other mode
9429 was specified.
9430
830aed4d
SM
9431 * emacs-lisp/trace.el (trace-values): New function.
9432
a829b0dc
SM
9433 * files.el: Allow : in local variables (bug#14089).
9434 (hack-local-variable-regexp): New var.
9435 (hack-local-variables-prop-line, hack-local-variables): Use it.
9436
7ae9f0fb
RW
94372013-04-13 Roland Winkler <winkler@gnu.org>
9438
9439 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9440 data before it gets modified by bibtex-beginning-of-entry.
9441
6646e848
RW
94422013-04-13 Roland Winkler <winkler@gnu.org>
9443
9444 * textmodes/bibtex.el (bibtex-url): Doc fix.
9445
94462013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9447
9448 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9449 does not visit a BibTeX file, exclude it from the list of buffers
9450 returned by bibtex-initialize.
9451
0aa3616e
SB
94522013-04-13 Stephen Berman <stephen.berman@gmx.net>
9453
9454 * window.el (split-window): Remove interactive form, since as a
9455 command this function is a special case of split-window-below.
9456 Correct doc string.
9457
011cddd6
RW
94582013-04-12 Roland Winkler <winkler@gnu.org>
9459
9460 * faces.el (read-face-name): Do not override value of arg default.
9461 Allow single faces and strings as default values. Remove those
9462 elements from return value that are not faces.
9463 (describe-face): Simplify.
9464 (face-at-point): New optional args thing and multiple so that this
9465 function can provide the same functionality previously provided by
9466 read-face-name.
9467 (make-face-bold, make-face-unbold, make-face-italic)
9468 (make-face-unitalic, make-face-bold-italic, invert-face)
9469 (modify-face, read-face-and-attribute): Use face-at-point.
9470
9471 * cus-edit.el (customize-face, customize-face-other-window)
9472 * cus-theme.el (custom-theme-add-face)
9473 * face-remap.el (buffer-face-set)
9474 * facemenu.el (facemenu-set-face): Use face-at-point.
9475
f24e0036
MA
94762013-04-12 Michael Albinus <michael.albinus@gmx.de>
9477
9478 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9479
da3cda2d
TH
94802013-04-10 Tassilo Horn <tsdh@gnu.org>
9481
9482 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9483 off leading { and trailing } from field values.
9484
15e54145
SM
94852013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9486
78ce603d
SM
9487 * emacs-lisp/timer.el (timer--check): New function.
9488 (timer--time, timer-set-function, timer-event-handler): Use it.
9489 (timer-set-idle-time): Simplify.
9490 (timer--activate): CSE.
9491 (timer-event-handler): Give more info in error message.
9492 (internal-timer-start-idle): New function, moved from C.
9493
15e54145
SM
9494 * mpc.el (mpc-proc): Add `restart' argument.
9495 (mpc-proc-cmd): Use it.
9496 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9497 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9498 less often.
9499
7144c627
MY
95002013-04-10 Masatake YAMATO <yamato@redhat.com>
9501
9502 * progmodes/sh-script.el: Implement `sh-mode' own
9503 `add-log-current-defun-function' (bug#14112).
9504 (sh-current-defun-name): New function.
9505 (sh-mode): Use the function.
9506
b39792eb
BG
95072013-04-09 Bastien Guerry <bzg@gnu.org>
9508
9509 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9510
8acdeb71
SM
95112013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9512
6fcdab68
SM
9513 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9514
8acdeb71
SM
9515 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9516 timer (bug#14156).
9517
e3e7b504
NF
95182013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9519
9520 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9521 declaration.
9522
201bb296
LL
95232013-04-07 Leo Liu <sdl.web@gmail.com>
9524
9525 * pcmpl-x.el: New file.
9526
ebb19708
DA
95272013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9528
9529 Do not set x-display-name until X connection is established.
9530 This is needed to prevent from weird situation described at
9531 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9532 * frame.el (make-frame): Set x-display-name after call to
9533 window system initialization function, not before.
9534 * term/x-win.el (x-initialize-window-system): Add optional
9535 display argument and use it.
9536 * term/w32-win.el (w32-initialize-window-system):
9537 * term/ns-win.el (ns-initialize-window-system):
9538 * term/pc-win.el (msdos-initialize-window-system):
9539 Add compatible optional display argument.
9540
33bb237a
EZ
95412013-04-06 Eli Zaretskii <eliz@gnu.org>
9542
9543 * files.el (normal-backup-enable-predicate): On MS-Windows and
9544 MS-DOS compare truenames of temporary-file-directory and of the
9545 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9546 don't fail comparison by compare-strings. Also, compare file
9547 names case-insensitively on MS-Windows and MS-DOS.
9548
134abf1f
SM
95492013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9552 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9553
d695cb94
DG
95542013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9555
e3e7b504
NF
9556 * whitespace.el (whitespace-color-on, whitespace-color-off):
9557 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9558
f4ad7ea1 95592013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9560
9561 * ispell.el (ispell-set-spellchecker-params):
9562 Really set `ispell-args' for all equivs.
9563
632556e4
SM
95642013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * ido.el (ido-completions): Use extra elements of ido-decorations
9567 (bug#14143).
9568 (ido-decorations): Update docstring.
9569
2a417372
MA
95702013-04-05 Michael Albinus <michael.albinus@gmx.de>
9571
9572 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9573 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9574 nil during initialization, in order not to miss changes since the
9575 file was opened. (Bug#14140)
9576
fc164b0c
LL
95772013-04-05 Leo Liu <sdl.web@gmail.com>
9578
9579 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9580
0ccecc08
JB
95812013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9582
9583 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9584
51af1aa2
GM
95852013-04-04 Glenn Morris <rgm@gnu.org>
9586
9587 * electric.el (electric-pair-inhibit-predicate): Add :version.
9588
b208ebc6
SM
95892013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9592 when a package is required several times (bug#14082).
9593
f3d3eaf0
RW
95942013-04-04 Roland Winkler <winkler@gnu.org>
9595
9596 * faces.el (read-face-name): Behave as promised by the docstring.
9597 Assume that arg default is a list of faces.
9598 (describe-face): Call read-face-name with list of default faces.
9599
2575da50
TV
96002013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9601
9602 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9603 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9604 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9605 the header.
9606 (bookmark-exit-hook-internal): Save even if list is empty.
9607
397703b4
YH
96082013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9609
9610 * emacs-lisp/package.el (package-pinned-packages): New var.
9611 (package--add-to-archive-contents): Obey it (bug#14118).
9612
691e26ae
AM
96132013-04-03 Alan Mackenzie <acm@muc.de>
9614
8a621d53
JB
9615 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9616 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9617
9618 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9619 parameter `not-in-delimiter'. Handle being inside comment opener.
9620 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9621 character in case we're typing a '*' after a '/'.
9622 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9623 instead by passing the parameter to c-state-pp-to-literal.
9624
9625 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9626 for elt. 7 of a parse state.
9627
4b725a70
PE
96282013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9629
9630 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9631 * international/latin1-disp.el, international/mule-util.el:
9632 * language/cyril-util.el, language/european.el, language/ind-util.el:
9633 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9634 * language/tibetan.el, language/viet-util.el:
9635 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9636
15c579f0
SM
96372013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9640 (electric-pair-post-self-insert-function): Use it.
9641 (electric-pair-default-inhibit): New function, extracted from
9642 electric-pair-post-self-insert-function.
9643
a77e2924
RW
96442013-03-31 Roland Winkler <winkler@gnu.org>
9645
9646 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9647
2bd8a4a8
SM
96482013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9651
8d3655be 96522013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9653
9654 Un-indent after "pass" and "return" statements (Bug#13888)
9655 * progmodes/python.el (python-indent-block-enders): New var.
9656 (python-indent-calculate-indentation): Use it.
9657
8d3655be 96582013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9659
9660 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9661 defun. Defining it as defalias could introduce too eager
9662 byte-compiler optimization. (Bug#14030)
9663
8d3655be 96642013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9665
9666 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9667
0b1619da
LL
96682013-03-30 Leo Liu <sdl.web@gmail.com>
9669
9670 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9671 (kmacro-execute-from-register): Pass the keyboard macro to
9672 kmacro-call-macro or repeating won't work correctly.
9673
0b938190
TZ
96742013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9675
9676 * progmodes/subword.el: Back to using `forward-symbol'.
9677
9678 * subr.el (forward-whitespace, forward-symbol)
9679 (forward-same-syntax): Move from thingatpt.el.
9680
35710234
LL
96812013-03-29 Leo Liu <sdl.web@gmail.com>
9682
9683 * kmacro.el (kmacro-to-register): New command.
9684 (kmacro-execute-from-register): New function.
9685 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9686
efc0bb73
SM
96872013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * mpc.el: Use defvar-local and setq-local.
9690 (mpc--proc-connect): Connection failures are not bugs.
9691 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9692 (mpc-volume-map): Bind to the up-events.
9693
75a2f981
TZ
96942013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9695
9696 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9697 instead of `forward-symbol'.
9698
17c781d1
SM
96992013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9702 (edebug--recursive-edit): Use it.
9703 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9704 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9705
f67bfbcf
LL
97062013-03-28 Leo Liu <sdl.web@gmail.com>
9707
9708 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9709
b59f639d
EZ
97102013-03-27 Eli Zaretskii <eliz@gnu.org>
9711
9712 * facemenu.el (list-colors-callback): New defvar.
9713 (list-colors-redisplay): New function.
9714 (list-colors-display): Install list-colors-redisplay as the
9715 revert-buffer-function. (Bug#14063)
9716
f557c1b1
SM
97172013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9718
b1da2957
SM
9719 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9720 and suffixes don't overlap (bug#14061).
9721
f557c1b1
SM
9722 * case-table.el: Use lexical-binding.
9723 (case-table-get-table): New function.
9724 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9725
002668e1
TZ
97262013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9727
9728 * progmodes/subword.el: Add `superword-mode' to do word motion
9729 over symbol_words (parallels and leverages `subword-mode' which
9730 does word motion inside MixedCaseWords).
9731
73572c72
AG
97322013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9733
78b8f320 9734 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9735 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9736
69b2c07e
SM
97372013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9740 Change return value to be a sexp. Delay `get-buffer' to after
9741 restoring the desktop (bug#13951).
9742
08bb5ee2
LL
97432013-03-26 Leo Liu <sdl.web@gmail.com>
9744
9745 * register.el: Move semantic tag handling back to
9746 cedet/semantic/senator.el. (Bug#14052)
9747
8d4c974e
SM
97482013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9751 into the prompt either (bug#13963).
9752
b234d92c
SM
97532013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9756 part of "(error-foo)".
9757
ddfa3cb4
JL
97582013-03-24 Juri Linkov <juri@jurta.org>
9759
9760 * replace.el (list-matching-lines-prefix-face): New defcustom.
9761 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9762 `occur-engine' if `face-differs-from-default-p' returns t.
9763 (occur-engine): Add `,' inside backquote construct to evaluate
9764 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9765 Pass `prefix-face' to the functions `occur-context-lines' and
9766 `occur-engine-add-prefix'.
9767 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9768 `prefix-face' and propertize the prefix with `prefix-face'.
9769 (Bug#14017)
9770
7b0e2f85
LL
97712013-03-24 Leo Liu <sdl.web@gmail.com>
9772
9773 * nxml/rng-valid.el (rng-validate-while-idle)
9774 (rng-validate-quick-while-idle): Guard against deleted buffer.
9775 (Bug#13999)
9776
9777 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9778 is the last entry in kill-buffer-hook.
9779
9780 * files.el (kill-buffer-hook): Doc fix.
9781
b3082f49
DG
97822013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9783
b234d92c
SM
9784 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9785 Make it safe-local.
bde73d27 9786
b3082f49
DG
9787 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9788
a320a2db
LL
97892013-03-23 Leo Liu <sdl.web@gmail.com>
9790
7e74b0fb
LL
9791 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9792 Remove.
9793
9794 * nxml/rng-valid.el (rng-validate-mode)
9795 (rng-after-change-function, rng-do-some-validation):
9796 * nxml/rng-maint.el (rng-validate-buffer):
9797 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9798 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9799 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9800 (nxml-extend-after-change-region): Use with-silent-modifications.
9801
a320a2db
LL
9802 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9803 timer-idle-list.
9804
9805 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9806 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9807 timer-idle-list. (Bug#13999)
9808
e38e6780
JL
98092013-03-23 Juri Linkov <juri@jurta.org>
9810
9811 * info.el (info-index-match): New face.
9812 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9813 main pattern and add text properties with the new face to matches
9814 in index entries relative to the beginning of the index entry.
9815 (Bug#14015)
9816
e8cc7880
DE
98172013-03-21 Eric Ludlam <zappo@gnu.org>
9818
9819 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9820 Inhibit read only while inserting objects.
9821
9bb0d822
TZ
98222013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9823
9824 * progmodes/cfengine.el: Update docs to mention
9825 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9826 symbol motion. Remove "_" from the word syntax.
9827
aa703640
TZ
98282013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9829
9830 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9831 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9832
afff09d0
JL
98332013-03-20 Juri Linkov <juri@jurta.org>
9834
9835 * info.el (Info-next-reference-or-link)
9836 (Info-prev-reference-or-link): New functions.
9837 (Info-next-reference, Info-prev-reference): Use them.
9838 (Info-try-follow-nearest-node): Handle footnote navigation.
9839 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9840
9a1ff164
SM
98412013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9844 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9845
2667d15d
PE
98462013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9847
9848 Suppress unnecessary non-ASCII chatter during build process.
9849 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9850 (batch-skkdic-convert): Suppress most of the chatter.
9851 It's not needed so much now that machines are faster,
9852 and its non-ASCII component was confusing; see Dmitry Gutov in
9853 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9854
438b0579
LL
98552013-03-20 Leo Liu <sdl.web@gmail.com>
9856
9857 * ido.el (ido-chop): Fix bug#10994.
9858
c128ab07
DG
98592013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9860
9861 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9862 Remove vars.
9a1ff164
SM
9863 (whitespace-color-on, whitespace-color-off):
9864 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9865
0e6008c5
SM
98662013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9869 remapping in mode-line.
9870 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9871
627b52b0
DG
98722013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9873
9874 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9875 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9876 (whitespace-font-lock-keywords): Change description.
9877 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9878 the constructed keywords instead.
9879 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9880
50c3a20b
LL
98812013-03-19 Leo Liu <sdl.web@gmail.com>
9882
9883 * progmodes/compile.el (compilation-display-error): New command.
9884 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9885 C-o. (Bug#13992)
9886
2aa2157b
PE
98872013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9888
9889 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9890
e477dbfa
JD
98912013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9892
9893 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9894
64ab82d1
MA
98952013-03-18 Michael Albinus <michael.albinus@gmx.de>
9896
9897 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9898
9899 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9900 * net/tramp-gvfs.el (top):
9901 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9902 (tramp-handle-shell-command): Use it.
9903 (tramp-dissect-file-name): Raise an error when hostname is a
9904 method name, and neither method nor user is specified.
9905
9906 * net/trampver.el: Update release number.
9907
33cef733
LL
99082013-03-18 Leo Liu <sdl.web@gmail.com>
9909
9910 Make sure eldoc can be turned off properly.
9911 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9912 eldoc-mode.
9913 (eldoc-display-message-p): Revert last change.
9914 (eldoc-display-message-no-interference-p)
9915 (eldoc-print-current-symbol-info): Tweak.
9916
2167b7b2
TH
99172013-03-18 Tassilo Horn <tsdh@gnu.org>
9918
9919 * doc-view.el (doc-view-new-window-function): Check the new window
9920 overlay's display property instead the char property of the
9921 buffer's first char. Use `with-selected-window' instead of
9922 `save-window-excursion' with `select-window'.
9923 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9924 display property instead the char property of the buffer's first char.
2167b7b2 9925
982efbcd
PE
99262013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9927
9928 Automate the build of ja-dic.el (Bug#13984).
9929 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9930 from the input, rather than assume that it's been done for us by the
9931 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9932 the current date into a ja-dic.el comment, as that complicates
9933 regression testing.
9934
2fcc7665
SM
99352013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * whitespace.el: Fix double evaluation.
9938 (whitespace-space, whitespace-hspace, whitespace-tab)
9939 (whitespace-newline, whitespace-trailing, whitespace-line)
9940 (whitespace-space-before-tab, whitespace-indentation)
9941 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9942 obsolete defvars.
9943 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9944 (whitespace-color-on): Use a single font-lock-add-keywords call.
9945 Fix double-evaluation of face variables.
9946
67c0a6e6
MA
99472013-03-17 Michael Albinus <michael.albinus@gmx.de>
9948
2fcc7665
SM
9949 * net/tramp-adb.el (tramp-adb-parse-device-names):
9950 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9951 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9952
69489f1d
LL
99532013-03-17 Leo Liu <sdl.web@gmail.com>
9954
9955 Extend eldoc to display info in the mode-line. (Bug#13978)
9956 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9957 (eldoc-mode-line-string): New variable.
9958 (eldoc-minibuffer-message): New function.
9959 (eldoc-message-function): New variable.
9960 (eldoc-message): Use it.
9961 (eldoc-display-message-p)
2fcc7665
SM
9962 (eldoc-display-message-no-interference-p):
9963 Support eldoc-post-insert-mode.
69489f1d
LL
9964
9965 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9966 (eval-expression): Run it.
9967
9c44569e
RW
99682013-03-17 Roland Winkler <winkler@gnu.org>
9969
9970 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9971 strings in the list of return values.
9972
327f1f6f
JB
99732013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9974
9975 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9976 radix before checking for HMS forms.
9977
67ed8fcd
LL
99782013-03-16 Leo Liu <sdl.web@gmail.com>
9979
9980 * progmodes/scheme.el: Add indentation and font-locking for λ.
9981 (Bug#13975)
9982
78be8b64 99832013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9984
9985 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9986 token before point (bug#13942).
9987
78be8b64 99882013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9989
95b43468 9990 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9991
98e775e6
EZ
99922013-03-16 Eli Zaretskii <eliz@gnu.org>
9993
9994 * startup.el (command-line-normalize-file-name): Fix handling of
9995 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9996 <xfq.free@gmail.com> in
9997 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9998
2edd6029
MA
99992013-03-15 Michael Albinus <michael.albinus@gmx.de>
10000
10001 Sync with Tramp 2.2.7.
10002
10003 * net/trampver.el: Update release number.
10004
d35f5864
TH
100052013-03-14 Tassilo Horn <tsdh@gnu.org>
10006
e903c210 10007 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10008 (doc-view-insert-image): Don't modify overlay associated to
10009 non-live windows, and implement horizontal centering of image in
10010 case it's smaller than the window.
10011 (doc-view-new-window-function): Force redisplay of new windows on
10012 doc-view buffers.
d35f5864 10013
1c4a85ed
KF
100142013-03-13 Karl Fogel <kfogel@red-bean.com>
10015
10016 * saveplace.el (save-place-alist-to-file): Don't sort
10017 `save-place-alist', just pretty-print it (bug#13882).
10018
85b66a21
MA
100192013-03-13 Michael Albinus <michael.albinus@gmx.de>
10020
a020afb9
JB
10021 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10022 Check whether `default-file-name-coding-system' is bound.
10023 It isn't in XEmacs.
85b66a21 10024
175600da
SM
100252013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10026
e7f7cb1a
SM
10027 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10028 backquotes for `obsolete' (bug#13929).
10029
175600da
SM
10030 * international/mule.el (find-auto-coding): Include file name in
10031 obsolescence warning (bug#13922).
10032
ca68a22e
TZ
100332013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10034
10035 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10036 for CFEngine 3-specific indentation.
10037 (cfengine3-indent-line): Use it. Fix up category regex.
10038 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10039
940e5099
SM
100402013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * type-break.el (type-break-file-name):
10043 * textmodes/remember.el (remember-data-file):
10044 * strokes.el (strokes-file):
10045 * shadowfile.el (shadow-initialize):
10046 * saveplace.el (save-place-file):
10047 * ps-bdf.el (bdf-cache-file):
10048 * progmodes/idlwave.el (idlwave-config-directory):
10049 * net/quickurl.el (quickurl-url-file):
10050 * international/kkc.el (kkc-init-file-name):
10051 * ido.el (ido-save-directory-list-file):
10052 * emulation/viper.el (viper-custom-file-name):
10053 * emulation/vip.el (vip-startup-file):
10054 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10055 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10056
cc725808
PE
100572013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10058
10059 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10060 * language/thai-word.el: Switch to UTF-8.
10061
a020afb9 10062See ChangeLog.16 for earlier changes.
e3d51b27
MR
10063
10064;; Local Variables:
10065;; coding: utf-8
e3d51b27
MR
10066;; End:
10067
ab422c4d 10068 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10069
10070 This file is part of GNU Emacs.
10071
10072 GNU Emacs is free software: you can redistribute it and/or modify
10073 it under the terms of the GNU General Public License as published by
10074 the Free Software Foundation, either version 3 of the License, or
10075 (at your option) any later version.
10076
10077 GNU Emacs is distributed in the hope that it will be useful,
10078 but WITHOUT ANY WARRANTY; without even the implied warranty of
10079 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10080 GNU General Public License for more details.
10081
10082 You should have received a copy of the GNU General Public License
10083 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.