* erc/erc-button.el (erc-nick-popup): Make `nick' available in the eval
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
511fa0d3
SM
12013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4 Remove blink-cursor code.
5 (blink-cursor-timer-function, blink-cursor-suspend):
6 Don't special-case GUIs.
7 (blink-cursor-mode): Use focus-in/out-hook.
8
6f20dd03
DG
92013-11-25 Dmitry Gutov <dgutov@yandex.ru>
10
11 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
12 work when annotation is invisible (Bug#13886).
13
431dec31 142013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
15
16 * json.el (json-alist-p): Only return non-nil if the alist has
17 simple keys (Bug#13518).
18
431dec31 192013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
20
21 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
22 when control-statement is the first statement in a buffer (Bug#15956).
23
ee4f0261
DG
242013-11-24 Dmitry Gutov <dgutov@yandex.ru>
25
26 * imenu.el (imenu-generic-skip-comments-and-strings):
27 New option (Bug#15560).
28 (imenu--generic-function): Use it.
29
c484f866
JS
302013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
31
32 * minibuffer.el (completion--in-region-1): Scroll the correct
33 window. (Bug#13898)
34
41ce6f70
BB
352013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
36
b55aea38
BB
37 * emacs-lisp/helpers.el: Add some string helpers.
38 (string-trim-left): Removes leading whitespace.
39 (string-trim-right): Removes trailing whitespace.
40 (string-trim): Removes leading and trailing whitespace.
41
41ce6f70
BB
42 * subr.el (string-suffix-p): New function.
43
3cfb6af3
GM
442013-11-23 Glenn Morris <rgm@gnu.org>
45
46 * progmodes/python.el (python-shell-send-file):
47 Add option to delete file when done. (Bug#15647)
48 (python-shell-send-string, python-shell-send-region): Use it.
49
c27924b7
IS
502013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
51
e1b01c7f
IS
52 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
53 to set buffer-read-only to t, never to nil. (Bug#15938)
54
c27924b7
IS
55 * textmodes/tex-mode.el (latex-noindent-environments):
56 Add safe-local-variable property. (Bug#15936)
57
17e0445b
GM
582013-11-23 Glenn Morris <rgm@gnu.org>
59
92f78ea3
GM
60 * textmodes/enriched.el (enriched-mode): Doc fix.
61 * emacs-lisp/authors.el (authors-renamed-files-alist):
62 Add enriched.doc -> enriched.txt.
63
17e0445b
GM
64 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
65
965bb23a
LL
662013-11-22 Leo Liu <sdl.web@gmail.com>
67
68 * progmodes/octave.el (inferior-octave-startup): Spit out error
69 message.
70
d19ffd64
BB
712013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
72
73 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
74 Improve docstring.
15ba2182
BB
75 Add :version.
76 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 77
7a7567d2
LL
782013-11-22 Leo Liu <sdl.web@gmail.com>
79
80 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
81 (Bug#15076)
8c09f64b
LL
82 (octave-help-mode): Adapt to change to help-mode-finish to use
83 derived-mode-p on 2013-09-17.
84 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 85 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 86
724bc265
LL
872013-11-22 Leo Liu <sdl.web@gmail.com>
88
89 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
90 (inferior-octave-startup, inferior-octave-check-process)
91 (inferior-octave-track-window-width-change)
92 (octave-completion-at-point, octave-eldoc-function): Use it.
93 (octave-kill-process): Provide confirmation. (Bug#10564)
94
38637cca
LL
952013-11-21 Leo Liu <sdl.web@gmail.com>
96
511fa0d3
SM
97 * progmodes/octave.el (octave-mode, inferior-octave-mode):
98 Fix obsolete variable comment-use-global-state.
38637cca 99
06e752b4
RS
1002013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
101
511fa0d3
SM
102 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
103 Add `octave-source-file'.
06e752b4
RS
104 (octave-source-file): New function. (Bug#15935)
105
604ede6c
TZ
1062013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
107
108 * net/eww.el (eww-local-regex): New variable.
109 (eww): Use it to detect localhost and similar.
110
b6ffa04a
LL
1112013-11-21 Leo Liu <sdl.web@gmail.com>
112
113 Add completion for command `ag'.
2021a200
LL
114 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
115 (pcomplete/ag): New function.
116 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 117
d1a6bccc
SM
1182013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
121 (bug#14646).
122 (make-obsolete): Remove interactive spec.
123
2df10228
GM
1242013-11-21 Glenn Morris <rgm@gnu.org>
125
126 * startup.el (command-line-1): Use path-separator with -L.
127
86fd16b6
TZ
1282013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
129
130 * emacs-lisp/package.el (describe-package-1): Add package archive
131 to shown fields.
132
7a12a42b
BB
1332013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
134
135 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
136 Change default to "# encoding: %s" to differentiate it from the
137 default Ruby encoding comment template.
138
dc7e8c17 1392013-11-20 era eriksson <era+emacsbugs@iki.fi>
140
141 * ses.el (ses-mode): Doc fix. (Bug#14748)
142
f0cfa5fe
LL
1432013-11-20 Leo Liu <sdl.web@gmail.com>
144
145 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
146
826dc7b6
DN
1472013-11-19 Dan Nicolaescu <dann@gnu.org>
148
149 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
150 when rebase or bisect are in progress.
151
a6e3a5d5
XF
1522013-11-19 Xue Fuqiao <xfq.free@gmail.com>
153
154 * filenotify.el (file-notify-add-watch): Doc fix.
155
f130cb76
LL
1562013-11-19 Leo Liu <sdl.web@gmail.com>
157
e0855d7d
LL
158 * obsolete/rcompile.el: Mark obsolete.
159
f130cb76 160 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
161 (compilation-goto-locus, compilation-find-file):
162 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
163 (Bug#13594)
164
165 * window.el (display-buffer-alist, display-buffer): Document the
166 new parameter no-display-ok.
167
1f35d401
SM
1682013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
169
25158c76
SM
170 * electric.el (electric-indent-mode-map): Remove.
171 (electric-indent-mode): Change the global-map instead (bug#15915).
172
173 * textmodes/text-mode.el (paragraph-indent-minor-mode):
174 Use add-function.
1f35d401 175
9bc67baa
SM
1762013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
177
986545b5
SM
178 * emacs-lisp/nadvice.el (remove-function): Align with
179 add-function's behavior.
180
9bc67baa
SM
181 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
182 (gdb--string-regexp): New constant.
183 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
184 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
185 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
186 submatch 1.
187 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
188 Adjust use accordingly.
189 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
190
56cd894e
AS
1912013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
192
193 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
194 interpolation curlies (Bug#15914).
195
014690de
JB
1962013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
197
198 * calc/calc.el (calc-context-sensitive-enter): New variable.
199 (calc-enter): Use `calc-context-sensitive-enter'.
200
7e26a6c3
TZ
2012013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
202
203 * progmodes/cfengine.el: Version bump.
204 (cfengine-cf-promises): New defcustom to locate cf-promises.
205 (cfengine3-vartypes): Add new "data" type.
206 (cfengine3--current-word): New function to get current name-like
207 word or its bounds.
208 (cfengine3--current-function): New function to look up a CFEngine
209 function's definition.
210 (cfengine3-format-function-docstring): New function.
211 (cfengine3-make-syntax-cache): New function.
212 (cfengine3-documentation-function): New function: ElDoc glue.
213 (cfengine3-completion-function): New function: completion glue.
214 (cfengine3-mode): Set `compile-command',
215 `eldoc-documentation-function', and add to
216 `completion-at-point-functions'.
217
355204dd
MA
2182013-11-16 Michael Albinus <michael.albinus@gmx.de>
219
220 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
221 `tramp-current-connection'.
222
43cebc23
DG
2232013-11-15 Dmitry Gutov <dgutov@yandex.ru>
224
225 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
226 nil/self/true/false with "end of symbol".
227
a3fed6ff
BB
2282013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
229
230 * subr.el (version-regexp-alist): Fix a typo.
231
e675b3e4
MA
2322013-11-15 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
235 "en_US.utf8" and "LC_CTYPE" to "".
236 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
237 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
238
a1f03e89
LL
2392013-11-15 Leo Liu <sdl.web@gmail.com>
240
241 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
242
5d9d9451
SM
2432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
244
58362662
CS
245 * progmodes/gud.el (ctl-x-map):
246 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
247 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
248
6c1bf086
BB
2492013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
250
0d5363c4
BB
251 * subr.el (version-regexp-alist):
252 Recognize hg, svn and darcs versions as snapshot versions.
253
6c1bf086
BB
254 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
255 Add the ability to always insert an utf-8 encoding comment.
99f5d074 256 Fix and simplify coding comment update logic.
6c1bf086 257
2f7e72f8
MA
2582013-11-14 Michael Albinus <michael.albinus@gmx.de>
259
260 * net/tramp-gvfs.el (top): Run init code only when
261 `tramp-gvfs-enabled' is not nil.
262 (tramp-gvfs-enabled): Check also :system bus.
263
0f137a73
SM
2642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 Sync with upstream verilog-mode revision 78e66ba.
267 * progmodes/verilog-mode.el (verilog-end-of-defun)
268 (verilog-type-completion, verilog-get-list): Remove unused funcs.
269 (verilog-get-end-of-defun): Remove unused argument.
270 (verilog-comment-depth): Remove unused local `e'.
271 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
272 Don't pass arg to verilog-get-end-of-defun.
273
1c276bdd
GM
2742013-11-14 Glenn Morris <rgm@gnu.org>
275
276 * obsolete/assoc.el (aget): Prefix dynamic variable.
277
278 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
279
ff6ec81d
SM
2802013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * widget.el, hfy-cmap.el: Remove bogus package version number.
283
75f777b6
GM
2842013-11-13 Glenn Morris <rgm@gnu.org>
285
1d43dba1
GM
286 * replace.el (replace-eval-replacement):
287 Try to give more helpful error message. (Bug#15836)
288
ff4b7bd5
GM
289 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
290 (archive-7z-update): Avoid custom type mismatches.
291
75f777b6
GM
292 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
293
11151a06
MA
2942013-11-13 Michael Albinus <michael.albinus@gmx.de>
295
e675b3e4 296 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
297 address can be empty.
298
299 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
300 Accept nil SWITCHES.
301 (tramp-gvfs-handle-write-region): Implement APPEND.
302
7b08f97e
DG
3032013-11-12 Dmitry Gutov <dgutov@yandex.ru>
304
305 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
306 binary "|" operator and closing block args delimiter.
307 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
308 (ruby-smie--implicit-semi-p): Not after "|" operator.
309 (ruby-smie--closing-pipe-p): New function.
310 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
311 (ruby-smie-rules): Indent after "|".
312
f201cf3a
GM
3132013-11-12 Glenn Morris <rgm@gnu.org>
314
315 * ps-print.el (ps-face-attribute-list):
316 Handle anonymous faces. (Bug#15827)
317
e6f759f9
MR
3182013-11-12 Martin Rudalics <rudalics@gmx.at>
319
320 * window.el (display-buffer-other-frame): Fix doc-string.
321 (Bug#15868)
322
ecda65d4
SM
3232013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * subr.el (force-mode-line-update): Delete, move to buffer.c.
326
7ce8fcc3
MA
3272013-11-11 Michael Albinus <michael.albinus@gmx.de>
328
329 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
330 (tramp-sh-handle-file-local-copy): Don't write a message when
331 saving temporary files.
332
333 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
334 both directories are remote.
335 (tramp-smb-handle-directory-files): Do not return double entries.
336 Do not expand full file names.
337 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
338 (tramp-smb-handle-write-region): Implement APPEND.
339 (tramp-smb-get-stat-capability): Fix a stupid bug.
340
7818df11
SM
3412013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
344
608c2085
NT
3452013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
346
347 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
348 throwing error over malformed let/let* (bug#15814).
349
122a7e46
SM
3502013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * iswitchb.el (iswitchb-mode): Mark obsolete.
353
766284d9
GM
3542013-11-11 Glenn Morris <rgm@gnu.org>
355
356 * international/uni-bidi.el, international/uni-category.el:
357 * international/uni-name.el, international/uni-numeric.el:
358 Regenerate for Unicode 6.3.0.
359
7072a4e9
MA
3602013-11-10 Michael Albinus <michael.albinus@gmx.de>
361
362 * net/tramp.el (tramp-methods):
363 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
364 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
365
c9df215b
AS
3662013-11-09 Andreas Schwab <schwab@linux-m68k.org>
367
608c2085
NT
368 * progmodes/sh-script.el (sh-font-lock-keywords-var):
369 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 370
fa47d796
DG
3712013-11-09 Dmitry Gutov <dgutov@yandex.ru>
372
373 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 374 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
375 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
376 (ispell-complete-word): Call `ispell-lookup-words' with the value
377 independent of `ispell-look-p'.
378
1629a329
DG
3792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
380
381 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
382 Not after "||".
383 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
384 their parent.
385
ad16897c
SM
3862013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
389 (ruby-font-lock-keywords): Use backquote.
390
ffa2df72
DG
3912013-11-08 Dmitry Gutov <dgutov@yandex.ru>
392
393 * progmodes/ruby-mode.el (ruby-smie--forward-token)
394 (ruby-smie--backward-token): Only consider full-string matches.
395
5b97b4c0
JD
3962013-11-08 Jan Djärv <jan.h.d@swipnet.se>
397
398 * faces.el (describe-face): Add distant-foreground.
399
71731c03
BB
4002013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
401
ad16897c
SM
402 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
403 Use `ruby-encoding-magic-comment-style' to control the
71731c03
BB
404 style of the auto-inserted encoding comment.
405
da3b328d
DG
4062013-11-08 Dmitry Gutov <dgutov@yandex.ru>
407
ad16897c
SM
408 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
409 Use `smie-backward-sexp' with token argument.
da3b328d 410
1606c2d3
MA
4112013-11-08 Michael Albinus <michael.albinus@gmx.de>
412
413 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
414 Remove instrumentation code.
415
b0f4c320
GM
4162013-11-08 Glenn Morris <rgm@gnu.org>
417
418 * progmodes/autoconf.el (autoconf-mode):
419 Tweak comment-start-skip. (Bug#15822)
420
43668fb1
SM
4212013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
424 at bobp (bug#15826).
425 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
426
daddb3fd
DH
4272013-11-08 Darren Hoo <darren.hoo@gmail.com>
428
429 * man.el (Man-start-calling): New macro, extracted from
430 Man-getpage-in-background.
431 (Man-getpage-in-background): Use it.
432 (Man-update-manpage): New command.
433 (Man-mode-map): Bind it.
434
1f923923
DG
4352013-11-08 Dmitry Gutov <dgutov@yandex.ru>
436
437 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
438 of "and", "or", "&&" and "||".
439 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
440 argument. Prohibit opening curly brace because it could only be a
441 block opener in that position.
daddb3fd
DH
442 (ruby-smie--forward-token, ruby-smie--backward-token):
443 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
444 arguments.
445 (ruby-smie--indent-to-stmt): New function, seeks the end of
446 previous statement or beginning of buffer.
447 (ruby-smie-rules): Use it.
448 (ruby-smie-rules): Check if there's a ":" before a curly block
449 opener candidate; if there is, it's a hash.
450
3220d527
SM
4512013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
454 (cl--block-wrapper): Fix last accidental change.
455
1eb1f9e0
MA
4562013-11-07 Michael Albinus <michael.albinus@gmx.de>
457
458 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
459 Instrument, in order to hunt failure on hydra.
460
e6e4db3c
NT
4612013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
462
463 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
464 malformed bindings form (bug#15814).
465
b420ccfc
DG
4662013-11-07 Dmitry Gutov <dgutov@yandex.ru>
467
468 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
469 "." compared to " @ ". This incidentally fixes some indentation
470 examples with "do".
e6e4db3c 471 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
472 (ruby-smie-grammar): New tokens: "and" and "or".
473 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
474 Exclude "and" and "or". Remove "do" in order to work around token
475 priorities.
476 (ruby-smie-rules): Add all infix tokens. Handle the case of
477 beginning-of-buffer.
b420ccfc 478
6b4ac03e
GM
4792013-11-06 Glenn Morris <rgm@gnu.org>
480
481 * Makefile.in (setwins_almost, setwins_for_subdirs):
482 Avoid accidental matches.
483
5ca114d1
SM
4842013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * menu-bar.el (popup-menu): Use key-binding.
487
f72552bd
EZ
4882013-11-06 Eli Zaretskii <eliz@gnu.org>
489
490 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
491 menus, support also the menus produced by minor modes.
492 (Bug#15817)
493
5d5c701e
LL
4942013-11-06 Leo Liu <sdl.web@gmail.com>
495
496 * thingatpt.el (thing-at-point-looking-at): Add optional arg
497 DISTANCE to bound the search. All uses changed. (Bug#15808)
498
0a8b75e2
GM
4992013-11-06 Glenn Morris <rgm@gnu.org>
500
501 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
502 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
503 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 504
a35287ea
SM
5052013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
506
feca4e2d
SM
507 * electric.el (electric-indent-just-newline): New command.
508 (electric-indent-mode-map): New keymap.
509 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
510 Re-add :group which weren't redundant.
511
a35287ea
SM
512 * electric.el (electric-indent-local-mode): New minor mode.
513 (electric-indent-functions-without-reindent): New var.
514 (electric-indent-post-self-insert-function): Use it.
515 * emacs-lisp/gv.el (buffer-local-value): Add setter.
516
375761b2
EZ
5172013-11-05 Eli Zaretskii <eliz@gnu.org>
518
9a6ad735
EZ
519 * international/quail.el (quail-help): Be more explicit about the
520 meaning of the labels shown on the keys. (Bug#15800)
521
375761b2
EZ
522 * startup.el (normal-top-level): Load the subdirs.el files before
523 setting the locale environment. (Bug#15805)
524
520a6e4a
SM
5252013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
526
0acfafef
SM
527 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
528 via arguments so as to get the right ones (bug#15418).
529
520a6e4a
SM
530 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
531
15826261
MA
5322013-11-05 Michael Albinus <michael.albinus@gmx.de>
533
534 Fix problems found while writing a test suite.
535
536 * net/tramp-compat.el (tramp-compat-load): New defun.
537 * net/tramp.el (tramp-handle-load): Use it.
538
539 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
540 "(numberp ok-if-already-exists)" correctly.
541
d35f31a4
XF
5422013-11-05 Xue Fuqiao <xfq.free@gmail.com>
543
544 * international/characters.el (glyphless-char-display-control):
545 Add usage note.
546
ae93bc74
BB
5472013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
548
520a6e4a
SM
549 * progmodes/python.el (python-mode):
550 * progmodes/scheme.el (scheme-mode):
551 * progmodes/prolog.el (prolog-mode):
552 * progmodes/ruby-mode.el (ruby-mode):
553 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
554 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 555
0ade65b5
SM
5562013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
557
a0d5f7a4
SM
558 * rect.el (rectangle--highlight-for-redisplay):
559 * emacs-lisp/smie.el (smie--next-indent-change):
560 Use buffer-chars-modified-tick.
561
c93f3f5c
SM
562 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
563
0ade65b5
SM
564 * electric.el (electric-indent-post-self-insert-function):
565 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
566
ef9dd188
HE
5672013-11-04 Helmut Eller <eller.helmut@gmail.com>
568
569 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
570
306e7308
NT
5712013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
572
573 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
574 (bug#15786).
575
e5afbcac
SM
5762013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
577
1d01ad41
SM
578 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
579
e5afbcac
SM
580 * progmodes/python.el: Fix up last change.
581 (python-shell--save-temp-file): New function.
582 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
583 `string' comes from the current buffer.
584 (python-shell-send-string-no-output): Remove `msg' arg.
585 (python--use-fake-loc): New var.
586 (python-shell-buffer-substring): Obey it. Try to compensate for the
587 extra coding line added by python-shell--save-temp-file.
588 (python-shell-send-region): Use python-shell--save-temp-file and
589 python-shell-send-file directly. Add `nomain' argument.
590 (python-shell-send-buffer): Use python-shell-send-region.
591 (python-electric-pair-string-delimiter): New function.
592 (python-mode): Use it.
593
d0065ff1
EZ
5942013-11-04 Eli Zaretskii <eliz@gnu.org>
595
596 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
597 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
598 environment and decoding all of the default-directory's to here
599 from command-line.
600 (command-line): Decode also argv[0].
601
602 * loadup.el: Error out if default-directory is a multibyte string
603 when we are dumping.
604
605 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
606
7397c587
TZ
6072013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
608
609 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
610 (package-menu--print-info, package-menu--archive-predicate):
611 Add Archive column to package list.
7397c587 612
b27cc9fc
MA
6132013-11-04 Michael Albinus <michael.albinus@gmx.de>
614
615 Fix problems found while writing a test suite.
616
617 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
618 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
619 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
620 to nil when running original file name handler. Otherwise,
621 there are problems with constructs like "$$FOO".
622
623 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
624 for `localname'.
625
d8c4f18a
BB
6262013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
627
7b530552
BB
628 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
629
630 * subr.el (version<, version<=, version=):
631 Update docstrings with information for snapshot versions.
632
d8c4f18a
BB
633 * helpers.el: New library for misc helper functions.
634 (hash-table-keys): New function returning a list of hash keys.
635 (hash-table-values): New function returning a list of hash values.
636
dca01b09
DG
6372013-11-04 Dmitry Gutov <dgutov@yandex.ru>
638
639 * progmodes/ruby-mode.el (ruby-smie--forward-token)
640 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
641
0a749fa0
MN
6422013-11-04 Michal Nazarewicz <mina86@mina86.com>
643
644 * textmodes/fill.el (fill-single-char-nobreak-p): New function
645 checking whether point is after a 1-letter word.
646
6472013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
648
649 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
650 Don't infloop when expanding region over `multiline' syntax-type that
651 begins a line (bug#15778).
652
4aca7145
SM
6532013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
656 Make it into a proper minor mode.
657 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
658 (rectangle-mark-mode-map): New keymap.
659 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
660
a0833f62
GM
6612013-11-04 Glenn Morris <rgm@gnu.org>
662
663 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
664
e61845c1
SM
6652013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
668 (ruby-smie-rules): Use smie-rule-parent instead.
669
670 * emacs-lisp/smie.el (smie-rule-parent): Always call
671 smie-indent-virtual rather than only for hanging tokens.
672 (smie--next-indent-change): New helper command.
673
62942f89
GM
6742013-11-03 Glenn Morris <rgm@gnu.org>
675
676 * Makefile.in (abs_srcdir): Remove.
677 (emacs): Unset EMACSLOADPATH.
678
b0b9e592
GM
6792013-11-02 Glenn Morris <rgm@gnu.org>
680
18ba6a33 681 * Makefile.in (EMACS): Use a relative filename.
8061810d 682 (abs_top_builddir): Remove.
18ba6a33
GM
683 (custom-deps, finder-data, autoloads): Use --chdir.
684
6a8b929e
GM
685 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
686
c617f3d0
GM
687 Use relative filenames in TAGS files.
688 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
689 (lisptagsfiles4, TAGS): Use relative file names.
690 (TAGS-LISP): Remove.
691 (maintainer-clean): No more TAGS-LISP file.
692
b0b9e592
GM
693 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
694 (lisptagsfiles4): Use absolute filenames again.
695 (TAGS, TAGS-LISP): Not everything needs to run in one line.
696 Remove all *loaddefs files, not just the first. Remove esh-groups.
697 (maintainer-clean): Delete TAGS, TAGS-LISP.
698
d1c0ea6a
BB
6992013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
700
e61845c1
SM
701 * emacs-lisp/package.el (package-version-join):
702 Recognize snapshot versions.
d1c0ea6a 703
684d71c6
BB
7042013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
705
706 * subr.el (version-regexp-alist): Add support for snapshot versions.
707
3d42b968
DG
7082013-11-02 Dmitry Gutov <dgutov@yandex.ru>
709
e61845c1
SM
710 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
711 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
712 skip over our direct parent if it's an assignment token..
713 (ruby-smie-rules): Use it.
714
7ffd3721
DG
7152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
716
717 * progmodes/ruby-mode.el Use `syntax-propertize-function'
718 unconditionally. Remove now unnecessary forward declarations.
719 Remove XEmacs-specific setup.
720 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
721 (ruby-font-lock-syntactic-keywords)
722 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
723 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
724 (ruby-here-doc-end-syntax): Remove.
725 (ruby-mode): Don't check whether `syntax-propertize-rules' is
726 defined as function.
727
a3996a2e
BB
7282013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
729
730 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
731
6f9260e8
BB
7322013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
733
734 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
735 table and abbrev table, `define-derived-mode' does that for us
736 anyway.
737
6014de84
GM
7382013-11-01 Glenn Morris <rgm@gnu.org>
739
740 * Makefile.in: Remove manual mh-e dependencies (writing .elc
741 files is atomic for some time, so no parallel compilation issues).
742
3c334c14
JD
7432013-11-01 Jan Djärv <jan.h.d@swipnet.se>
744
745 * faces.el (face-x-resources): Add :distant-foreground.
746 (region): Use :distant-foreground for gtk and ns.
747
9bc236c8
TH
7482013-11-01 Tassilo Horn <tsdh@gnu.org>
749
5246583b 750 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
751 BibTeX.
752 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
753 (reftex-locate-bibliography-files): Us it.
754
d14c81ee
CB
7552013-11-01 Claudio Bley <claudio.bley@googlemail.com>
756
0e7690de
CB
757 * image.el (image-type-header-regexps): Fix the 'pbm' part to
758 allow comments in pbm files.
759
d14c81ee
CB
760 * term/w32-win.el (dynamic-library-alist): Support newer versions
761 of libjpeg starting with v7: look only for the DLL from the
762 version against which Emacs was built.
ac1bf374 763 Support versions of libpng beyond 1.4.x.
019c8218 764 Support libtiff v4.x.
d14c81ee 765
983d0df5
BB
7662013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
767
768 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
769 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
770 Add property :safe.
771 (ruby-deep-arglist): Add property :type.
772
47f58d85
GM
7732013-10-31 Glenn Morris <rgm@gnu.org>
774
775 * Makefile.in (custom-deps, finder-data): No need to setq the target
776 variables, we are in the right directory and the defaults work fine.
777
4f85b479
GM
7782013-10-30 Glenn Morris <rgm@gnu.org>
779
ca7dd4cd
GM
780 * Makefile.in (autoloads): Do not use abs_lisp.
781
4f85b479
GM
782 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
783 `newline' does not respect `standard-output', so use `princ'.
784
cf59e41c
AA
7852013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
786
787 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
788 * buff-menu.el (Buffer-menu--unmark): New function.
789 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
790
74cf04fb
GM
7912013-10-30 Glenn Morris <rgm@gnu.org>
792
b040b60e
GM
793 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
794
f53d3815
GM
795 * emacs-lisp/package.el (lm-homepage): Declare.
796
5413d873
GM
797 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
798 Fix doc typos.
799
cecedb36
GM
800 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
801
74cf04fb
GM
802 * Makefile.in (finder-data, autoloads, update-subdirs)
803 (compile-main, compile-clean, compile-always, bootstrap-clean):
804 Check return value of cd.
805 (compile-calc): Remove.
806
195ee2f0
SM
8072013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
808
ae4002ce
SM
809 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
810
811 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
812 (byte-compile-and-folded): New function.
813 (=, <, >, <=, >=): Use it.
814
815 * dos-w32.el (minibuffer-history-case-insensitive-variables)
816 (path-separator, null-device, buffer-file-coding-system)
817 (lpr-headers-switches): Check system-type before modifying them.
818 (find-buffer-file-type-coding-system): Mark obsolete.
819 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
820 find-file-not-found-set-buffer-file-coding-system.
821 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
822 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
823 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
824 (w32-direct-print-region-helper, w32-direct-print-region-function)
825 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
826 * startup.el (normal-top-level-add-subdirs-to-load-path):
827 * ps-print.el (ps-print-region-function):
828 * lpr.el (print-region-function): Use new name.
829
53b39e89
SM
830 * subr.el (custom-declare-variable-early): Remove function.
831 (custom-declare-variable-list): Remove var.
832 (error, user-error): Remove `while' loop.
833 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
834 (user-emacs-directory-warning, locate-user-emacs-file):
835 Move to files.el.
836 * simple.el (read-quoted-char-radix, read-quoted-char):
837 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
838 Move from subr.el.
839 * custom.el (custom-declare-variable-list): Don't process
840 custom-declare-variable-list.
841
195ee2f0
SM
842 * progmodes/python.el (python-shell-get-buffer): New function.
843 (python-shell-get-process): Use it.
844 (python-shell-send-string): Always use utf-8 and add a cookie to tell
845 Python which encoding was used. Don't split-string since we only care
846 about the first line. Return the temp-file, if applicable.
847 (python-shell-send-region): Tell compile.el how to turn locations in
848 the temp-file into locations in the source buffer.
849
7e3561ee
SM
8502013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
851
4c9797cb
SM
852 * subr.el (undefined): Add missing behavior from the C code for
853 unbound keys.
854
3472b6c6
SM
855 * rect.el: Use lexical-binding. Add new rectangular region support.
856 (rectangle-mark): New command.
857 (rectangle--region): New var.
858 (deactivate-mark-hook): Reset rectangle--region.
859 (rectangle--extract-region, rectangle--insert-for-yank)
860 (rectangle--highlight-for-redisplay)
861 (rectangle--unhighlight-for-redisplay): New functions.
862 (region-extract-function, redisplay-unhighlight-region-function)
863 (redisplay-highlight-region-function): Use them to handle
864 rectangular region.
865 * simple.el (region-extract-function): New var.
866 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
867 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
868 (kill-region): Replace obsolete `yank-handler' arg with `region'.
869 (copy-region-as-kill, kill-ring-save): Add `region' argument.
870 (redisplay-unhighlight-region-function)
871 (redisplay-highlight-region-function): New vars.
872 (redisplay--update-region-highlight): New function.
873 (pre-redisplay-function): Use it.
874 (exchange-point-and-mark): Don't deactivate the mark before
875 reactivate-it anyway.
876 * comint.el (comint-kill-region): Remove yank-handler argument.
877 * delsel.el (delete-backward-char, backward-delete-char-untabify)
878 (delete-char): Remove property, since it's now part of their
879 default behavior.
880 (self-insert-iso): Remove property since this command doesn't exist.
881
7e3561ee
SM
882 * emacs-lisp/package.el (package--download-one-archive)
883 (describe-package-1): Don't query the user about final newline.
884
b9bef71f
DC
8852013-10-29 Daniel Colascione <dancol@dancol.org>
886
887 * net/tramp.el (tramp-methods): Document new functionality.
888 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
889 tramp-hostname-checker if method provides one instead of scanning
890 argument list for "%h" to decide hostname acceptability.
891
4efc33f0
MA
8922013-10-28 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
895 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
896 Handle COPY-CONTENTS. (Bug#15737)
897
ed42a877
DU
8982013-10-28 Daiki Ueno <ueno@gnu.org>
899
900 * epa-file.el
7e3561ee
SM
901 (epa-file-cache-passphrase-for-symmetric-encryption):
902 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 903
18c9f8a2
XF
9042013-10-27 Xue Fuqiao <xfq.free@gmail.com>
905
7a4bc7be
XF
906 * image.el (defimage):
907 (image-load-path): Doc fixes.
18c9f8a2 908
b1e8e010
AM
9092013-10-27 Alan Mackenzie <acm@muc.de>
910
911 Indent statements in macros following "##" correctly.
7e3561ee
SM
912 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
913 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 914
73d40d1e 9152013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
916
917 * linum.el (linum-update-window): Fix boundary test (bug#13446).
918
c8c605ac
DG
9192013-10-27 Dmitry Gutov <dgutov@yandex.ru>
920
921 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
922 after `=' is probably a new expression.
923
ca7e59d4
RS
9242013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
925
926 * man.el (man-imenu-title): New option.
927 (Man-mode-map): Add menu. (Bug#15722)
928 (Man-mode): Add imenu to menu.
929
bae91342
DG
9302013-10-26 Dmitry Gutov <dgutov@yandex.ru>
931
932 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
933 specific in what the first arg can be: a non-keyword word,
934 string/regexp/percent literal opener, opening paren, or unary
935 operator followed directly by word.
936
eb89dc14
SM
9372013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
940 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
941 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
942 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
943 Remove vars, they do not apply any more.
944 (prolog-mode-abbrev-table): Remove redundant declaration.
945 (prolog-upper-case-string, prolog-lower-case-string): Remove.
946 (prolog-use-smie): Remove.
947 (prolog-smie-rules): Add indentation rule for the if-then-else layout
948 supported by prolog-electric-if-then-else-flag.
949 (prolog-mode-variables, prolog-menu): Use setq-local.
950 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
951 Remove binding to `Backspace' since this key doesn't exist anyway.
952 Remove bindings for electric self-inserting keys.
953 (prog-mode): Assume it's defined.
954 (prolog-post-self-insert): New function.
955 (prolog-mode): Use it.
956 (prolog-indent-line, prolog-indent-level)
957 (prolog-find-indent-of-matching-paren)
958 (prolog-indentation-level-of-line, prolog-goto-comment-column)
959 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
960 (prolog-goto-next-paren, prolog-in-string-or-comment)
961 (prolog-tokenize, prolog-inside-mline-comment)
962 (prolog-find-start-of-mline-comment): Remove functions.
963 (prolog-find-unmatched-paren, prolog-clause-end)
964 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
965 (prolog-electric--if-then-else): Rename from
966 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
967 (prolog-tokenize-searchkey): Remove const.
968 (prolog-clause-info): Use forward-sexp.
969 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
970 (prolog-electric-if-then-else): Remove commands.
971 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
972 for use in post-self-insert-hook.
973 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
974 for use in post-self-insert-hook.
975 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
976 for use in post-self-insert-hook.
977 (prolog-electric--underscore): Rename from prolog-electric--underscore;
978 adapt it for use in post-self-insert-hook.
979
3dab0a83
MA
9802013-10-25 Michael Albinus <michael.albinus@gmx.de>
981
982 * emacs-lisp/ert.el (ert-run-tests-interactively):
983 Use `completing-read'. (Bug#9756)
984
fbfd0e1d
EZ
9852013-10-25 Eli Zaretskii <eliz@gnu.org>
986
987 * simple.el (line-move): Call line-move-1 instead of
988 line-move-visual when the current window hscroll is zero, but
989 temporary-goal-column indicates we will need to hscroll as result
990 of the movement. (Bug#15712)
991
963ce636
DG
9922013-10-25 Dmitry Gutov <dgutov@yandex.ru>
993
994 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
995 capitalization. Use :visible instead of :active.
996 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
997 commands that are used with SMIE.
998 (ruby-do-end-to-brace): Insert space after `{'.
999
a0be396a
JA
10002013-10-25 John Anthony <john@jo.hnanthony.com>
1001
f73754c9
JA
1002 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1003
1004 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1005
f5bf77df
GM
10062013-10-25 Glenn Morris <rgm@gnu.org>
1007
1008 * vc/vc.el (vc-print-log): Don't use a working revision unless
1009 one was explicitly specified. (Bug#15322)
1010
37241f62
SM
10112013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * subr.el (add-to-list): Preserve return value in compiler-macro
1014 (bug#15692).
1015
6408a65d
RS
10162013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1017
1018 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1019 result. Ask user to retry using '-all' flag. (Bug#15701)
1020
71e3276b
SM
10212013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * emacs-lisp/smie.el: New smie-config system.
1024 (smie-config): New defcustom.
1025 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1026 (smie-config-guess, smie-config-save): New commands.
1027 (smie-config--mode-local, smie-config--buffer-local)
1028 (smie-config--trace, smie-config--modefuns): New vars.
1029 (smie-config--advice, smie-config--mode-hook)
1030 (smie-config--setter, smie-config-local, smie-config--get-trace)
1031 (smie-config--guess-value, smie-config--guess): New functions.
1032 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1033 text properties. Treat "string fence" syntax like string syntax.
1034
1035 * progmodes/sh-script.el (sh-use-smie): Change default.
1036 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1037 (sh-var-value): Simplify by CSE.
1038 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1039 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1040 is used.
1041 (sh-guess-basic-offset): Use cl-incf.
1042 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1043
60db713e
HE
10442013-10-24 Helmut Eller <eller.helmut@gmail.com>
1045
1046 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1047 (bug#15699).
1048
8b251df6
GM
10492013-10-24 Glenn Morris <rgm@gnu.org>
1050
1051 * Makefile.in (abs_top_srcdir): Remove.
1052 (update-subdirs): Use relative path to update-subdirs.
1053
6be0e22b
EZ
10542013-10-24 Eli Zaretskii <eliz@gnu.org>
1055
1056 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1057 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1058 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1059 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1060
50b5b857
MA
10612013-10-24 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1064 (ert-test-skipped): New error.
1065 (ert-skip, ert-stats-skipped): New defuns.
1066 (ert--skip-unless): New macro.
1067 (ert-test-skipped): New struct.
1068 (ert--run-test-debugger, ert-test-result-type-p)
1069 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1070 (ert--stats-set-test-and-result, ert-char-for-test-result)
1071 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1072 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1073 Handle skipped tests. (Bug#9803)
50b5b857 1074
6f317c2f
GM
10752013-10-24 Glenn Morris <rgm@gnu.org>
1076
e43817c1
GM
1077 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1078
6f317c2f
GM
1079 * Makefile.in (abs_top_srcdir): New, set by configure.
1080 (update-subdirs): Correct build-aux location.
1081
369bbf71
DG
10822013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1083
8297b2cf
DG
1084 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1085 value, whether we could auto-deduce `backend', or not.
1086
369bbf71
DG
1087 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1088 with parameters" example. Simplify the "is it block or is it
1089 hash" check, but also make it more thorough.
1090
d5f1282f
MF
10912013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1092
1093 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1094
bc4aaa31
SM
10952013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1096
03d44565
SM
1097 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1098 { if it is hanging.
1099
bc4aaa31
SM
1100 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1101 :before ";".
1102
f493ff19
JB
11032013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1104
1105 * progmodes/compile.el (compilation-directory-matcher)
1106 (compilation-page-delimiter):
1107 Support GNU Make-4.0 directory quoting. (Bug#15678)
1108
c744a3b9
LL
11092013-10-23 Leo Liu <sdl.web@gmail.com>
1110
1111 * ido.el (ido-tidy): Handle read-only text.
1112
b8e3b0a9
GM
11132013-10-23 Glenn Morris <rgm@gnu.org>
1114
1115 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1116 (emacs, compile, compile-always):
1117 Quote entities that might contain whitespace.
1118 (custom-deps, finder-data, autoloads): Use abs_lisp.
1119 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1120 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1121 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1122
ee4282cd
DG
11232013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1124
bc4aaa31
SM
1125 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1126 Use `following-char'.
7790a270 1127
ee4282cd 11282013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1129
1130 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1131 * progmodes/ruby-mode.el (ruby-smie-rules):
1132 Remove corresponding workaround. Fix indentation rule of ";" so it
1133 also applies when ";" is the parent.
1134
d40a46d7
XF
11352013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1136
1137 * frame.el (display-screens, display-pixel-height)
1138 (display-pixel-width, display-mm-width, display-backing-store)
1139 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1140 (display-visual-class, display-monitor-attributes-list):
1141 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1142
a0f143c9
MG
11432013-10-22 Michael Gauland <mikelygee@amuri.net>
1144
1145 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1146 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1147
18cacc39
DG
11482013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1151 TODO. Add "." after " @ ".
1152 (ruby-smie--at-dot-call): New function. Checks if point at method
1153 call with explicit target.
1154 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1155 to the method name tokens when it precedes them.
1156 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1157 (ruby-smie-rules): Add rule for indentation before and after "."
1158 token.
1159
df74c4be
SM
11602013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1161
c6dab55f
SM
1162 * textmodes/remember.el (remember-diary-extract-entries):
1163 Avoid add-to-list.
1164
df74c4be
SM
1165 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1166 an instruction.
1167
8c1ae481
DG
11682013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1169
cfef16c0
DG
1170 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1171 (ruby-smie--implicit-semi-p): Add new operator chars.
1172
8c1ae481
DG
1173 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1174 `smie-down-list'.
1175 (ruby-smie--args-separator-p): Check that there's no newline
1176 between method call and its arguments.
1177
87756ca9
AM
11782013-10-20 Alan Mackenzie <acm@muc.de>
1179
1180 Allow comma separated lists after Java "implements".
1181
df74c4be
SM
1182 * progmodes/cc-engine.el (c-backward-over-enum-header):
1183 Parse commas.
87756ca9
AM
1184 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1185 from a "disallowed" list in enum fontification.
1186
c25f8957
JB
11872013-10-20 Johan Bockgård <bojohan@gnu.org>
1188
df74c4be 1189 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1190
c25f8957
JB
1191 * progmodes/verilog-mode.el (verilog-mode): Don't set
1192 comment-indent-function globally.
1193
aca5fcdc
JD
11942013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1195
5f161884
JD
1196 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1197 Move Info menu item creation to ns-win.el.
1198
1199 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1200 in menu bar.
1201
aca5fcdc
JD
1202 * menu-bar.el: Move GNUStep specific menus...
1203
1204 * term/ns-win.el (ns-initialize-window-system): ... to here.
1205
914b7f98
SM
12062013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * simple.el (newline): Only run post-self-insert-hook when
1209 called interactively.
1210
846ffe77
JB
12112013-10-19 Johan Bockgård <bojohan@gnu.org>
1212
1213 * icomplete.el (icomplete-with-completion-tables): Add :version.
1214
033f22dd
AM
12152013-10-19 Alan Mackenzie <acm@muc.de>
1216
1217 Fix fontification bugs with constructors and const.
1218
1219 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1220 CASE 2) Remove the check for the absence of a suffix construct
1221 after a function declaration with only types (no identifiers) in
1222 the parentheses. Also, accept a function declaration with just a
1223 type inside the parentheses, if this type can be positively
1224 recognised as such, or if a prefix keyword like "explicit" nails
1225 down the construct as a declaration.
1226
58ce0cfc
EZ
12272013-10-19 Eli Zaretskii <eliz@gnu.org>
1228
1229 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1230 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1231 the problem whereby selecting a menu item that leads to a
1232 minibuffer prompt moves the cursor out of the minibuffer window,
1233 making it hard to type at the prompt. Suggested by Stefan Monnier
1234 <monnier@iro.umontreal.ca>.
1235
50e28e7d
JD
12362013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1237
1238 * menu-bar.el: Don't make Services menu.
1239
7deed4bf
RS
12402013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1241
1242 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1243 (ffap-alist): Use ffap-c++-mode for c++-mode.
1244 (ffap-c++-path): New variable.
1245 (ffap-c++-mode): New function.
1246
7bcb455b
JVJ
12472013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1248
1249 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1250
f0ff1cd5
MA
12512013-10-18 Michael Albinus <michael.albinus@gmx.de>
1252
1253 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1254 introduced on 2013-09-08, which results in an infinite loop
1255 requesting a password.
1256
d64da4b7
GM
12572013-10-18 Glenn Morris <rgm@gnu.org>
1258
1259 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1260
ea89ff08
WS
12612013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1262
1263 Sync with upstream verilog-mode revision 1a6ecec7.
1264 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1265 (verilog-mode-release-date): Remove.
1266 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1267 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1268 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1269 (verilog-auto-tieoff-ignore-regexp)
1270 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1271 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1272 (verilog-signals-with, verilog-dir-cache-preserving)
1273 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1274 Doc fixes.
1275 (verilog-case-fold): New option, to control case folding in
1276 regexp searches, bug597.
1277 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1278 (verilog-string-match-fold, verilog-in-paren-count)
1279 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1280 (verilog-at-close-struct-p): New functions.
1281 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1282 (verilog-forward-sexp, verilog-set-auto-endcomments):
1283 (verilog-leap-to-case-head): Handle "unique0" case.
1284 (verilog-in-constraint-re): New constant.
1285 (verilog-keywords, verilog-type-font-keywords):
1286 Add some SystemVerilog 1800-2012 keywords.
1287 (verilog-label-be): Remove unimplemented argument, bug669.
1288 (verilog-batch-execute-func): When batch expanding clear
1289 create-lockfiles to prevent spurious user locks when a file ends
1290 up not changing.
1291 (verilog-calculate-indent, verilog-calc-1)
1292 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1293 (verilog-do-indent): Fix indentation of nested constraints
1294 and structures.
1295 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1296 (verilog-auto-inst-param): Use verilog-string-match-fold.
1297 (verilog-read-inst-module-matcher):
1298 Fix AUTOINST on gate primitives with #1.
1299 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1300 Reads all user-defined typed variables.
1301 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1302 (verilog-signals-matching-regexp)
1303 (verilog-signals-not-matching-regexp, verilog-auto):
1304 Respect verilog-case-fold.
1305 (verilog-diff-report): Fix line count.
1306 (verilog-auto-assign-modport): Remove unused local `modi'.
1307 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1308 better handle multidimensional arrays.
1309 Fix packed array ports misadding bit index in AUTOINST, bug637.
1310 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1311 to not double-declare existing outputs and inputs, respectively.
1312 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1313 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1314 (verilog-sk-uvm-component): New skeleton.
1315 (verilog-submit-bug-report): Add verilog-case-fold,
1316 remove verilog-mode-release-date.
1317
ef566920
BR
13182013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1319
1320 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1321 as before.
1322
29df8a0b
RT
13232013-10-18 Reuben Thomas <rrt@sc3d.org>
1324
1325 * textmodes/remember.el (remember): set buffer-offer-save in
1326 remember buffers (bug#13566).
1327
04a19a79
DC
13282013-10-18 Daniel Colascione <dancol@dancol.org>
1329
1330 When evaluating forms in ielm, direct standard output to ielm
1331 buffer. Add new ielm-return-for-effect command. Remove trailing
1332 whitespace throughout.
1333
1334 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1335 (ielm-return-for-effect): New command.
1336 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1337 (ielm-eval-input): Accept optional `for-effect' parameter.
1338 Bind `standard-output' to stream we create using
04a19a79
DC
1339 `ielm-standard-output-impl'. Suppress printing result when
1340 `for-effect'.
1341 (ielm-standard-output-impl): New function.
1342 (inferior-emacs-lisp-mode): Explain new features in documentation.
1343
4c1f03ef
MA
13442013-10-17 Michael Albinus <michael.albinus@gmx.de>
1345
1346 Code cleanup.
1347
1348 * net/tramp.el (tramp-debug-message): Do not check for connection
1349 buffer.
1350 (tramp-message): Use "vector" connection property.
1351
1352 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1353 (tramp-equal-remote, tramp-eshell-directory-change)
1354 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1355 (tramp-adb-handle-rename-file)
1356 * net/tramp-cmds.el (tramp-list-remote-buffers)
1357 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1358 * net/tramp-compat.el (tramp-compat-process-running-p)
1359 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1360 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1361 (tramp-gvfs-handle-rename-file)
1362 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1363 (tramp-set-file-uid-gid)
1364 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1365 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1366 of `file-remote-p'.
1367
1368 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1369 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1370 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1371 (tramp-gw-open-network-stream): Suppress unrelated traces.
1372
1373 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1374 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1375 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1376 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1377 connection property.
1378
1379 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1380 persistency file.
4c1f03ef
MA
1381
1382 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1383 Refactor common code. Improve debug message.
1384 (tramp-maybe-open-connection)
1385 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1386 connection buffer too early.
1387
1388 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1389 from `tramp-smb-actions-with-acl'.
1390 (tramp-smb-actions-set-acl): New defconst.
1391 (tramp-smb-handle-copy-directory)
1392 (tramp-smb-action-get-acl): New defun, renamed from
1393 `tramp-smb-action-with-acl'.
1394 (tramp-smb-action-set-acl): New defun.
1395 (tramp-smb-handle-set-file-acl): Rewrite.
1396
642eb8b6
GM
13972013-10-17 Glenn Morris <rgm@gnu.org>
1398
1399 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1400
85527ff3
SM
14012013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1402
921c1d62
SM
1403 * skeleton.el (skeleton-newline): Remove.
1404 (skeleton-internal-1): Use (insert "\n") instead.
1405
e333fb10
SM
1406 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1407 let-bindings.
1408
85527ff3
SM
1409 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1410 forward-sexp-function while we redo its job (bug#15613).
1411
c8722a97
JB
14122013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1413
1414 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1415 represented by lists.
1416
7a550bbb
GM
14172013-10-16 Glenn Morris <rgm@gnu.org>
1418
1419 * tmm.el (tmm--history): New dynamic variable.
1420 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1421
f19da8ad
MA
14222013-10-16 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1425 (tramp-smb-errors): Add error messages.
1426 (tramp-smb-actions-with-acl): New defconst.
1427 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1428 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1429 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1430 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1431 (tramp-smb-get-stat-capability): Fix tests.
1432
a24b9961
DK
14332013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1434
1435 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1436 (bug#15580).
1437
62ad85e6
GM
14382013-10-16 Glenn Morris <rgm@gnu.org>
1439
0283d6b0
GM
1440 * ansi-color.el (ansi-color-drop-regexp):
1441 Add 1J, 1K, 2K. (Bug#15617)
1442
012e2f9f
GM
1443 * files.el (hack-local-variables--warned-lexical): New.
1444 (hack-local-variables):
1445 Warn about misplaced lexical-binding. (Bug#15616)
1446
62ad85e6
GM
1447 * net/eww.el (eww-render): Always set eww-current-url,
1448 and update header line. (Bug#15622)
1449 (eww-display-html): ... Rather than just doing it here.
1450
6456c0ea
EZ
14512013-10-15 Eli Zaretskii <eliz@gnu.org>
1452
1453 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1454 menu navigations commands.
1455
c2de5588
DK
14562013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1457
1458 * progmodes/subword.el (subword-capitalize): Be careful when
1459 the search for [[:alpha:]] fails (bug#15580).
1460
ccd4a783
EZ
14612013-10-14 Eli Zaretskii <eliz@gnu.org>
1462
1463 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1464 to commands that scroll the menu.
1465
1eda1d8d
DG
14662013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1467
c2de5588
DK
1468 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1469 Handle methods ending with `?' and `!'.
1eda1d8d 1470
e70181b8
AM
14712013-10-14 Akinori MUSHA <knu@iDaemons.org>
1472
1473 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1474 `japanese-cp932' to `cp932' to fix the problem where saving a
1475 source file written in Shift_JIS twice would end up having
1476 `coding: japanese-cp932' which Ruby could not recognize.
1477 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1478 in `ruby-encoding-map'.
1479 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1480 doesn't need to be explicitly declared in magic comment.
1481 (ruby-encoding-map): Add type declaration for better customize UI.
1482
9148ee92
GM
14832013-10-13 Glenn Morris <rgm@gnu.org>
1484
a5d38e34
GM
1485 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1486 Occur buffers are read-only. http://bugs.debian.org/720775
1487
9148ee92
GM
1488 * emacs-lisp/authors.el (authors-fixed-entries):
1489 Comment out old alpha stuff.
1490
a9ba094b
DG
14912013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1492
1493 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1494 to `after-save-hook' instead of `before-save-hook'.
1495 (ruby-mode-set-encoding): Use the value of coding system used to
1496 write the file. Call `basic-save-buffer-1' after modifying the
1497 buffer.
1498
7a068717
AM
14992013-10-13 Alan Mackenzie <acm@muc.de>
1500
1501 Fix indentation/fontification of Java enum with
1502 "implements"/generic.
1503
c2de5588
DK
1504 * progmodes/cc-engine.el (c-backward-over-enum-header):
1505 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1506 (c-inside-bracelist-p): Uses new function above.
1507 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1508 function above.
1509 (c-font-lock-enum-tail): Uses new function above.
1510
85b64f02
KH
15112013-10-13 Kenichi Handa <handa@gnu.org>
1512
1513 * international/mule-cmds.el (select-safe-coding-system): Remove a
1514 superfluous condition in chekcing whether a coding system is safe
1515 or not.
1516
fc7f501b
OK
15172013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1518
1519 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1520
fdcb2049
AP
15212013-10-13 Andreas Politz <politza@hochschule-trier.de>
1522
1523 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1524
8c106d17
GM
15252013-10-13 Glenn Morris <rgm@gnu.org>
1526
feab892d
GM
1527 * menu-bar.el (menu-bar-update-buffers):
1528 Unify Buffers menu prompt string. (Bug#15576)
1529
b22d0686
GM
1530 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1531
8c106d17
GM
1532 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1533 Add some entries.
1534 (authors-fixed-entries): Use accented form of name.
1535
1b12c797
SM
15362013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1537
650fa7bf 1538 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1539 method calls (bug#15594).
650fa7bf
SM
1540 (ruby-smie--args-separator-p): New function.
1541 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1542 recognize paren-free method calls.
1543
1b12c797
SM
1544 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1545 internals of universal-argument.
1546
029619c8
EZ
15472013-10-11 Eli Zaretskii <eliz@gnu.org>
1548
1549 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1550 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1551 dropped menu on second mouse click on the menu bar.
029619c8 1552
dd070019
SM
15532013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1556 (explicit-shell-file-name): Declare.
1557 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1558 (sh-completion-at-point-function): New function.
1559 (sh-mode): Use it.
1560 (sh-smie--keyword-p): Remove unused argument.
1561 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1562 vars.
1563 (sh-set-shell): Always setup SMIE, even if we use the
1564 old indentation code.
1565
0922b826
DG
15662013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1567
b68e2926
DG
1568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1569 cases of ? and =.
1570 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1571 predicate would return nil are almost non-existent.
1572 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1573
0922b826
DG
1574 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1575 cache also after commands that modify the buffer but don't move
1576 point.
1577
ee041f2d
SM
15782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * env.el (substitute-env-in-file-name): New function.
1581 (substitute-env-vars): Extend the meaning of the optional arg.
1582
a5dab159
EZ
15832013-10-10 Eli Zaretskii <eliz@gnu.org>
1584
1585 * term/w32-win.el (dynamic-library-alist): Define separate lists
1586 of GIF DLLs for versions before and after 5.0.0 of giflib.
1587 (Bug#15531)
1588
db138698
JT
15892013-10-10 João Távora <joaotavora@gmail.com>
1590
1591 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1592 not locked, use last revision and current source as
1593 defaults. (Bug#15569)
1594
2f6e161e
MY
15952013-10-10 Masatake YAMATO <yamato@redhat.com>
1596
1597 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1598 menu-bar is hidden.
1599
6c8413fc
MR
16002013-10-10 Martin Rudalics <rudalics@gmx.at>
1601
1602 * window.el (pop-to-buffer-same-window): Fix doc-string.
1603 (Bug#15492)
1604
20832de0
SM
16052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1608
c6e8ae77
AC
16092013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1610
1611 * calendar/icalendar.el (icalendar-import-file):
1612 Fix interactive spec. (Bug#15482)
1613
9db13baf
GM
16142013-10-10 Glenn Morris <rgm@gnu.org>
1615
9271e90e
GM
1616 * desktop.el (desktop-save): Default to saving in .emacs.d,
1617 since PWD is no longer in desktop-path by default. (Bug#15319)
1618
9db13baf
GM
1619 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1620 now that text mode has a menu with the same entry.
1621 (menu-bar-text-mode-auto-fill): Remove now unused func.
1622 * textmodes/text-mode.el (text-mode-map):
1623 Use auto-fill help text from menu-bar.el.
1624
a0be396a 16252013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1626
1627 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1628
2edcd3c7
JL
16292013-10-09 Juri Linkov <juri@jurta.org>
1630
1631 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1632 instead of this-command-keys. Add universal-argument-more and
1633 universal-argument-minus to the list of prefix commands. (Bug#15568)
1634
574411d0
GM
16352013-10-09 Glenn Morris <rgm@gnu.org>
1636
14afa541
GM
1637 * vc/vc-svn.el (vc-svn-create-repo):
1638 Expand paths in file://... url. (Bug#15446)
1639
574411d0
GM
1640 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1641 Add some entries.
1642 (authors): Remove unused local variables.
1643
79804536
SM
16442013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * profiler.el: Create a more coherent calltree from partial backtraces.
1647 (profiler-format): Hide the tail with `invisible' so that C-s can still
1648 find the hidden elements.
1649 (profiler-calltree-depth): Don't recurse so enthusiastically.
1650 (profiler-function-equal): New hash-table-test.
1651 (profiler-calltree-build-unified): New function.
1652 (profiler-calltree-build): Use it.
1653 (profiler-report-make-name-part): Indent the calltree less.
1654 (profiler-report-mode): Add visibility specs for profiler-format.
1655 (profiler-report-expand-entry, profiler-report-toggle-entry):
1656 Expand the whole subtree when provided with a prefix arg.
1657
238150c8
DG
16582013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1659
1660 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1661 iuwu-mod token.
1662 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1663 hanging iuwu-mod token.
1664 (ruby-smie--forward-token): Do not include a dot after a token in
1665 that token.
1666 (ruby-smie--backward-token): Likewise.
1667
b0949cc4
JL
16682013-10-08 Juri Linkov <juri@jurta.org>
1669
1670 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1671 to isearch-other-control-char.
1672 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1673 and isearch-post-command-hook to post-command-hook.
1674 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1675 and isearch-post-command-hook from post-command-hook.
1676 (isearch-unread-key-sequence)
1677 (isearch-reread-key-sequence-naturally)
1678 (isearch-lookup-scroll-key, isearch-other-control-char)
1679 (isearch-other-meta-char): Remove functions.
1680 (isearch-pre-command-hook, isearch-post-command-hook):
1681 New functions based on isearch-other-meta-char rewritten
1682 relying on the new behavior of overriding-terminal-local-map
1683 that does not replace the local keymaps any more. (Bug#15200)
1684
4ed77415
EZ
16852013-10-08 Eli Zaretskii <eliz@gnu.org>
1686
1687 Support menus on text-mode terminals.
1688 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1689 functionality.
1690
1691 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1692
c2de5588
DK
1693 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1694 Move here from mouse.el.
4ed77415
EZ
1695 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1696 and arrow keys.
1697 (tty-menu-navigation-map): New map for TTY menu navigation.
1698
1699 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1700
1701 * frame.el (display-mouse-p): Report text-mode mouse as available
1702 on w32.
1703 (display-popup-menus-p): Report availability if mouse is
1704 available; don't condition on window-system.
1705
1706 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1707 (tty-menu-selected-face): New faces.
1708
b7d5bd82
TL
17092013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1710
06286513
SM
1711 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1712 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1713 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1714 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1715 New constants.
1716 (lisp-mode-variables): New `elisp' argument.
1717 (emacs-lisp-mode): Use it.
1718 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1719 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1720
b7d5bd82
TL
1721 * indent.el: Use lexical-binding.
1722 (indent-region): Add progress reporter.
1723 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1724 last step.
1725 (indent--next-tab-stop): New function to implement this behavior.
1726 (tab-to-tab-stop, move-to-tab-stop): Use it.
1727
17282013-10-08 Teemu Likonen <tlikonen@iki.fi>
1729
1730 * indent.el (indent-rigidly--current-indentation): New function.
1731 (indent-rigidly-map): New var.
1732 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1733
5ea75d23
BG
17342013-10-08 Bastien Guerry <bzg@gnu.org>
1735
1736 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1737
cc5da1ec
SM
17382013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1739
8ffa1a0b
SM
1740 * progmodes/perl-mode.el: Use lexical-binding.
1741 Remove redundant :group args.
1742 (perl-nochange): Change default to be closer to other major modes's
1743 standard behavior.
1744 (perl-indent-line): Don't consider text on current line as a
1745 valid beginning of function from which to indent.
1746
f2223371
SM
1747 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1748 with more than one argument (bug#15538).
1749
44256060
SM
1750 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1751
cc5da1ec
SM
1752 * vc/pcvs.el: Use lexical-binding.
1753 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1754 environment of `eval'.
1755 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1756 than a list of expressions. Adjust callers.
1757 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1758
0ea1599d
DG
17592013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1760
1761 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1762 case of the dot in a chained method call being on the following line.
0ea1599d 1763
da3e5ebb
SM
17642013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1765
2abb4e65
SM
1766 * electric.el (electric-indent-inhibit): New var.
1767 (electric-indent-post-self-insert-function): Use it.
1768 * progmodes/python.el (python-mode): Set it.
1769
d2e0e795
SM
1770 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1771 open braces.
1772
1773 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1774
bdc6b4c8
SM
1775 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1776 (css-mode): Use electric-indent-chars.
1777
da3e5ebb
SM
1778 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1779 (font-lock-beg, font-lock-end): Move before first use.
1780 (nxml-mode): Use syntax-propertize-function.
1781 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1782 (nxml-extend-after-change-region): Remove.
1783 * nxml/xmltok.el: Use lexical-binding.
1784 (xmltok-save): Use `declare'.
1785 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1786 * nxml/nxml-util.el: Use lexical-binding.
1787 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1788 Use `declare'.
1789 * nxml/nxml-ns.el: Use lexical-binding.
1790 (nxml-ns-save): Use `declare'.
1791 (nxml-ns-prefixes-for): Avoid add-to-list.
1792 * nxml/rng-match.el: Use lexical-binding.
1793 (rng--ipattern): Use cl-defstruct.
1794 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1795 (rng-cons-group-after, rng-subst-group-after)
1796 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1797 Use closures instead of `(lambda...).
1798
f8f91d5d
MA
17992013-10-07 Michael Albinus <michael.albinus@gmx.de>
1800
1801 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1802 of BEG and END.
1803
da3e5ebb
SM
1804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1805 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1806 (tramp-gvfs-handle-insert-file-contents): Remove function.
1807
da3e5ebb
SM
1808 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1809 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1810
1811 * net/trampver.el: Update release number.
1812
7ccae3b1
SM
18132013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1814
55ca2c0d
SM
1815 * progmodes/compile.el (compilation-parse-errors):
1816 Use compilation--put-prop.
1817 (compilation--ensure-parse): Check compilation-multiline.
1818
731fc3ae
SM
1819 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1820
da3e5ebb
SM
1821 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1822 lexical-binding.
a5833280 1823
2e7ba2c2
SM
1824 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1825
7ccae3b1
SM
1826 * progmodes/ruby-mode.el: Fix recently added tests.
1827 (ruby-smie-grammar): Add - and +.
1828 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1829 (ruby-smie--backward-id): New functions.
1830 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1831 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1832 any more.
1833
85698d63
LL
18342013-10-07 Leo Liu <sdl.web@gmail.com>
1835
1836 * register.el (register-preview-delay)
1837 (register-preview-functions): New variables.
1838 (register-read-with-preview, register-preview)
1839 (register-describe-oneline): New functions.
1840 (point-to-register, window-configuration-to-register)
1841 (frame-configuration-to-register, jump-to-register)
1842 (number-to-register, view-register, insert-register)
1843 (copy-to-register, append-to-register, prepend-to-register)
1844 (copy-rectangle-to-register): Use register-read-with-preview to
1845 read register. (Bug#15525)
1846
3986af6c
DS
18472013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1848
1849 * net/network-stream.el (network-stream-open-starttls): Don't add
1850 --insecure if it's already present, because that gnutls-cli
1851 rejects getting that parameter twice.
1852
5cd9cda9
DG
18532013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1854
1855 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1856 keyword, too.
1857
da9ea6d9
DG
18582013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * newcomment.el (comment-use-global-state): Change default value
1861 to t, mark obsolete (Bug#15251).
1862 (comment-beginning): In addition to `comment-to-syntax', check the
1863 value of `comment-use-global-state'.
1864
34d1a133
SM
18652013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1868 (ruby-comment-column): Follow the global default, by default.
1869 (ruby-smie-grammar): Add assignment syntax.
1870 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1871 open-paren, a comma, or a \.
1872 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1873 and line continuations.
1874 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1875 followed by implicit semi-colons. Add rule for string concatenation
1876 and for indentation at BOB.
1877 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1878
1879 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1880 calling next-sexp, since next-token may have skipped chars which
1881 next-sexp doesn't know should be skipped!
1882
6f6ab820
LL
18832013-10-05 Leo Liu <sdl.web@gmail.com>
1884
34d1a133
SM
1885 * progmodes/octave.el (octave-send-region):
1886 Call compilation-forget-errors.
6f6ab820 1887
34ca0f4c
XF
18882013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1889
1890 * vc/vc-svn.el (vc-svn-find-admin-dir):
1891 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1892 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1893 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1894 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1895
a27c1b72
SM
18962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1899
258ab3bc
SM
19002013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * subr.el (read-passwd): Hide chars even when called within a context
1903 where after-change-functions is disabled (bug#15501).
1904 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1905 until we removed ourself from overriding-terminal-local-map.
1906
939fb29c
LL
19072013-10-04 Leo Liu <sdl.web@gmail.com>
1908
258ab3bc
SM
1909 * progmodes/octave.el (inferior-octave-mode):
1910 Call compilation-forget-errors.
939fb29c 1911
63bd7f35
XF
19122013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1913
1914 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1915
9e6229fa
MA
19162013-10-04 Michael Albinus <michael.albinus@gmx.de>
1917
1918 * net/secrets.el (secrets-create-collection): Add optional
1919 argument ALIAS. Use proper Label keyword. Append ALIAS as
1920 dbus-call-method argument. (Bug#15516)
1921
1dab32a3
LL
19222013-10-04 Leo Liu <sdl.web@gmail.com>
1923
1924 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1925 (inferior-octave-compilation-font-lock-keywords): New variables.
1926 (compilation-error-regexp-alist)
1927 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1928 (inferior-octave-mode): Use compilation-shell-minor-mode.
1929
6cad7ba3
JS
19302013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1931
1932 * minibuffer.el (completion--replace): Be careful that `end' might be
1933 a marker.
1934
acbadd00
DU
19352013-10-03 Daiki Ueno <ueno@gnu.org>
1936
1937 Add support for package signature checking.
1938 * emacs-lisp/package.el (url-http-file-exists-p)
1939 (epg-make-context, epg-context-set-home-directory)
1940 (epg-verify-string, epg-context-result-for)
1941 (epg-signature-status, epg-signature-to-string)
1942 (epg-check-configuration, epg-configuration)
1943 (epg-import-keys-from-file): Declare.
1944 (package-check-signature): New user option.
1945 (package-unsigned-archives): New user option.
1946 (package-desc): Add `signed' field.
1947 (package-load-descriptor): Set `signed' field if .signed file exists.
1948 (package--archive-file-exists-p): New function.
1949 (package--check-signature): New function.
1950 (package-install-from-archive): Check package signature.
1951 (package--download-one-archive): Check archive signature.
1952 (package-delete): Remove .signed file.
1953 (package-import-keyring): New command.
1954 (package-refresh-contents): Import default keyring.
1955 (package-desc-status): Add "unsigned" status.
1956 (describe-package-1, package-menu--print-info)
1957 (package-menu-mark-delete, package-menu--find-upgrades)
1958 (package-menu--status-predicate): Support "unsigned" status.
1959
adf2aa61
SM
19602013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1963 the new compilation scheme using the new byte-codes.
1964
1965 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1966 (byte-pophandler): New byte codes.
1967 (byte-goto-ops): Adjust accordingly.
1968 (byte-compile--use-old-handlers): New var.
1969 (byte-compile-catch): Use new byte codes depending on
1970 byte-compile--use-old-handlers.
1971 (byte-compile-condition-case--old): Rename from
1972 byte-compile-condition-case.
1973 (byte-compile-condition-case--new): New function.
1974 (byte-compile-condition-case): New function that dispatches depending
1975 on byte-compile--use-old-handlers.
1976 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1977 when we can.
1978
1979 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1980 Optimize under `condition-case' and `catch' if
1981 byte-compile--use-old-handlers is nil.
1982 (disassemble-offset): Handle new bytecodes.
1983
328a8179
SM
19842013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * subr.el (error): Use `declare'.
1987 (decode-char, encode-char): Use advertised-calling-convention instead
1988 of the docstring to discourage use of the `restriction' arg.
1989
15a1e936
DU
19902013-10-03 Daiki Ueno <ueno@gnu.org>
1991
1992 * epg.el (epg-verify-file): Add a comment saying that it does not
1993 notify verification error as a return value nor a signal.
1994 (epg-verify-string): Ditto.
1995
376f862a
KR
19962013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1997
1998 * progmodes/compile.el (compilation-start): Try globbing the arg to
1999 `cd' (bug#15417).
2000
a2f93a5f
MA
20012013-10-02 Michael Albinus <michael.albinus@gmx.de>
2002
2003 Sync with Tramp 2.2.8.
2004
2005 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2006 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2007 * net/trampver.el: Update release number.
2008
0daa0804
JD
20092013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2010
2011 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2012 and default-process-coding-system for darwin only.
2013
abd1ae34
SM
20142013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2017
be4e325d
MH
20182013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2019
2020 * vc/vc-git.el (vc-git-grep): Disable pager.
2021
e9155c4a
DG
20222013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2023
494e898b
DG
2024 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2025 Use :url instead of :homepage, as per
2026 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2027
e9155c4a
DG
2028 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2029 non-nil, use `syntax-ppss' (Bug#15251).
2030
481a8e0f
RS
20312013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2032
be4e325d
MH
2033 * progmodes/octave.el (inferior-octave-startup-file):
2034 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2035
056453c6
DG
20362013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2037
be4e325d
MH
2038 * emacs-lisp/package.el (package-desc-from-define):
2039 Accept additional arguments as plist, convert them to an alist and store
2040 them in the `extras' slot.
056453c6
DG
2041 (package-generate-description-file): Convert extras alist back to
2042 plist and append to the `define-package' form arguments.
2043 (package--alist-to-plist): New function.
2044 (package--ac-desc): Add `extras' slot.
2045 (package--add-to-archive-contents): Check if the archive-contents
2046 vector is long enough, and if it is, pass its `extras' slot value
2047 to `package-desc-create'.
2048 (package-buffer-info): Call `lm-homepage', pass the returned value
2049 to `package-desc-from-define'.
2050 (describe-package-1): Render the homepage button (Bug#13291).
2051
be4e325d
MH
2052 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2053 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2054
832966e5
JD
20552013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2056
2057 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2058 and default-process-coding-system to utf-8-unix (Bug#15402).
2059
6cfe977d
XF
20602013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2061
2062 * subr.el (looking-back): Do not recommend using looking-back.
2063
38de11bd
AM
20642013-09-28 Alan Mackenzie <acm@muc.de>
2065
2066 Fix indentation/fontification of Java enum with "implements".
2067
2068 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2069 regexp which matches "implements", etc., in Java.
2070 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2071 specifier clauses coming after "enum".
2072 * progmodes/cc-fonts.el (c-font-lock-declarations)
2073 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2074 after "enum".
2075
1610938f
JD
20762013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2077
2078 * faces.el (region): Change ns_selection_color to
2079 ns_selection_fg_color, add ns_selection_bg_color.
2080
e090f499
LL
20812013-09-28 Leo Liu <sdl.web@gmail.com>
2082
4d2e94d1
LL
2083 * progmodes/octave.el (inferior-octave-completion-table)
2084 (inferior-octave-completion-at-point): Minor tweaks.
2085
e090f499
LL
2086 * textmodes/ispell.el (ispell-lookup-words): Rename from
2087 lookup-words. (Bug#15460)
2088 (lookup-words): Obsolete.
2089 (ispell-complete-word, ispell-command-loop): All uses changed.
2090
7e138a62
RS
20912013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2092
2093 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2094 (octave-mode-menu): Add octave-send-buffer.
2095 (octave-send-buffer): New function.
2096
5af5ed08
RS
20972013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2098
2099 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2100 octave-lookfor.
2101 (octave-mode-menu): Add octave-lookfor.
2102 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2103 octave-lookfor.
2104 (octave-lookfor): New function.
2105
3b7b2692
SM
21062013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * emacs-lisp/cl-macs.el:
2109 (cl--loop-destr-temps): Remove.
2110 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2111 its convention.
2112 (cl--loop-set-iterator-function): New function.
2113 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2114 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2115 Bind `it' with `let' instead of substituting it with `cl-subst'.
2116 (cl--unused-var-p): New function.
2117 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2118 Eliminate some unused variable warnings (bug#15326).
2119
529fb53f
TH
21202013-09-27 Tassilo Horn <tsdh@gnu.org>
2121
2122 * doc-view.el (doc-view-scale-reset): Rename from
2123 `doc-view-reset-zoom-level'.
2124 (doc-view-scale-adjust): New command.
2125 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2126 `doc-view-scale-adjust'.
2127
0550c95a
TH
21282013-09-26 Tassilo Horn <tsdh@gnu.org>
2129
2130 * doc-view.el (doc-view-reset-zoom-level): New command.
2131 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2132 zoom commands (bug#15466).
2133
6950f152
KH
21342013-09-26 Kenichi Handa <handa@gnu.org>
2135
2136 * international/quail.el (quail-help): Make it not a command.
2137
39587580
LL
21382013-09-26 Leo Liu <sdl.web@gmail.com>
2139
2140 * minibuffer.el (completion-all-sorted-completions): Make args
2141 optional as they are.
2142
00578659
DC
21432013-09-25 Daniel Colascione <dancol@dancol.org>
2144
2145 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2146 specs are and that they're not evaluated.
2147
0c173878
SS
21482013-09-24 Sam Steingold <sds@gnu.org>
2149
2150 * midnight.el (clean-buffer-list-kill-regexps)
2151 (clean-buffer-list-kill-buffer-names): Update for the new Man
2152 buffer naming which includes the object name.
2153
84998447
SM
21542013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2157 (eshell-parse-command, eshell-parse-pipeline): Use it since
2158 eshell-separate-commands requires a dynamic scoped var.
2159 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2160
33215353
LL
21612013-09-23 Leo Liu <sdl.web@gmail.com>
2162
2163 * autoinsert.el (auto-insert-alist): Make the value of
2164 lexical-binding match its file setting.
2165
57b16162
JB
21662013-09-23 Juanma Barranquero <lekktu@gmail.com>
2167
c8af4e67
JB
2168 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2169
57b16162
JB
2170 * autoarg.el (autoarg-kp-digit-argument):
2171 * electric.el (Electric-command-loop):
2172 * kmacro.el (kmacro-step-edit-insert):
2173 Do not set universal-argument-num-events.
2174
7186ba60
LL
21752013-09-22 Leo Liu <sdl.web@gmail.com>
2176
2177 * files.el (interpreter-mode-alist): Add octave.
2178
ece15004
AM
21792013-09-21 Alan Mackenzie <acm@muc.de>
2180
2181 C++: fontify identifier in declaration following "public:" correctly.
2182 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2183 to match "public", etc.
2184 (c-decl-prefix-re): Add ":" into the C++ value.
2185 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2186 bit. Add a check for a ":" preceded by "public", etc.
2187
75d83e22
EZ
21882013-09-21 Eli Zaretskii <eliz@gnu.org>
2189
2190 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2191 recognized by GDB 7.5 and later.
2192
d052d3bd
XF
21932013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2194
2195 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2196
31dca772
R
21972013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * subr.el (internal--call-interactively): New const.
2200 (called-interactively-p): Use it (bug#3984).
2201
98ccf24e
XF
22022013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2203
2204 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2205 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2206 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2207
c39cc7d1
SM
22082013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2211 (eshell-ls-orig-insert-directory): Remove.
2212 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2213 (eshell-ls-use-in-dired): Use advice-add/remove.
2214 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2215 Add `orig-fun' arg for use in :around advice.
2216 Make it check (redundantly) eshell-ls-use-in-dired.
2217
9a0289a2
GM
22182013-09-19 Glenn Morris <rgm@gnu.org>
2219
a2c501b8
GM
2220 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2221
c440407a
GM
2222 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2223
9a0289a2
GM
2224 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2225
85e05915
MA
22262013-09-19 Michael Albinus <michael.albinus@gmx.de>
2227
2228 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2229 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2230 (tramp-get-remote-python): New defuns.
2231 (tramp-get-remote-uid-with-perl)
2232 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2233 contributed by yary <not.com@gmail.com> (tiny change).
2234 (tramp-get-remote-uid-with-python)
2235 (tramp-get-remote-gid-with-python): New defuns. Python code
2236 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2237 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2238
ce503312
GM
22392013-09-19 Glenn Morris <rgm@gnu.org>
2240
f7544773
GM
2241 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2242
72fd2877
GM
2243 * eshell/em-unix.el (eshell-remove-entries):
2244 Rename argument to avoid name-clash with global `top-level'.
2245
336b5a56
GM
2246 * eshell/esh-proc.el (eshell-kill-process-function):
2247 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2248 (eshell-reset-after-proc): Remove unused arg `proc'.
2249
57a3a53d
GM
2250 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2251 (directory-files-and-attributes): Mark unused arg.
2252
3261d4af
GM
2253 * eshell/em-unix.el (eshell-remove-entries):
2254 Remove unused arg `path'. Update callers.
2255
8e51b5d0
GM
2256 * eshell/em-hist.el (eshell-hist-parse-arguments):
2257 Remove unused arg `silent'. Update callers.
2258
ce503312
GM
2259 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2260 Fix (f)boundp mix-up.
2261
2262 * eshell/em-smart.el (eshell-smart-scroll-window)
2263 (eshell-disable-after-change):
336b5a56 2264 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2265
ee3ce8a7
AM
22662013-09-18 Alan Mackenzie <acm@muc.de>
2267
2268 Fix fontification of type when followed by "const".
2269 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2270 "known" types from fontification.
2271
ec9177ba
GM
22722013-09-18 Glenn Morris <rgm@gnu.org>
2273
7bb3e768
GM
2274 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2275 (chart-face-list): Drop Emacsen without display-color-p.
2276
5148da15
GM
2277 * net/eww.el (libxml-parse-html-region): Declare.
2278 (eww-display-html): Explicit error if no libxml2 support.
2279
2f68e157
GM
2280 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2281
9019d095
GM
2282 * image.el (image-type-from-buffer, image-multi-frame-p):
2283 Remove --without-x warning/error.
67645389 2284
5f30349b 2285 * mouse.el (mouse-yank-primary):
45069b2e 2286 * term.el (term-mouse-paste):
5f30349b
GM
2287 Reorder to silence --without-x compilation.
2288
cd8edbbe
GM
2289 * mpc.el (doc-view-mode): Silence --without-x compilation.
2290
8a78544e
GM
2291 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2292 Silence --without-x compilation.
2293
12679bfd
GM
2294 * progmodes/gud.el (gud-find-file, gud-mode):
2295 Silence --without-x compilation.
2296 (tooltip-mode): Declare.
30810a05 2297
f0047cb9
GM
2298 * wdired.el (dired-backup-overwrite): Remove declaration.
2299 (wdired-mode-map): Add doc string.
2300
e740f9d2
GM
2301 * custom.el (x-get-resource): Declare.
2302
92d77c89
GM
2303 * eshell/em-glob.el (ange-cache):
2304 * eshell/em-unix.el (ange-cache): Declare.
2305
76e69577
GM
2306 * faces.el (x-display-list, x-open-connection, x-get-resource):
2307 Declare.
7e58af4b
GM
2308
2309 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2310 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2311 Declare.
76e69577 2312
4bd4c0af 2313 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2314
ffb82dbd
GM
2315 * net/gnutls.el (gnutls-log-level): Declare.
2316
986ed135
GM
2317 * net/shr.el (image-size, image-animate): Declare.
2318
e740f9d2
GM
2319 * simple.el (font-info): Declare.
2320
d2f3e9f8
GM
2321 * subr.el (x-popup-dialog): Declare.
2322
047a1a4c
GM
2323 * term/common-win.el (x-select-enable-primary)
2324 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2325 Declare.
2326
f4a1d572
GM
2327 * term/ns-win.el (x-handle-args): Declare.
2328
e843de77
GM
2329 * term/x-win.el (x-select-enable-clipboard): Declare.
2330
5fa89513
GM
2331 * term/w32-win.el (create-default-fontset): Declare.
2332
38702b5b
GM
2333 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2334 Declare.
2335
e740f9d2
GM
2336 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2337 (fit-frame-to-buffer): Explicit error if --without-x.
2338 (mouse-autoselect-window-select): Silence compiler.
2339
49a053fc
GM
2340 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2341
2342 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2343 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2344 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2345 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2346 Remove unused local variables.
2347
2348 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2349
ec9177ba
GM
2350 * textmodes/two-column.el: Make 2C-split work for --without-x.
2351 (scroll-bar-columns): Autoload.
2352 (top-level): Require fringe when compiling.
2353
9f25cb77
LL
23542013-09-18 Leo Liu <sdl.web@gmail.com>
2355
2356 * subr.el (add-hook): Robustify to handle closure as well.
2357
2b42da98
GM
23582013-09-17 Glenn Morris <rgm@gnu.org>
2359
2360 * simple.el (messages-buffer-mode-map): Unbind "g".
2361
e8b66a6a
SM
23622013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2363
9c0ad4f7
SM
2364 * help-mode.el (help-mode-finish): Use derived-mode-p.
2365 Remove obsolete highlighting.
2366
7a806dfb
SM
2367 * play/life.el (life-mode): Use define-derived-mode. Derive from
2368 special-mode.
2369 (life): Let-bind inhibit-read-only.
2370 (life-setup): Avoid `setq'. Use `life-mode'.
2371
96dbf5a8
SM
2372 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2373 which should not be needed any more.
2374 (package-menu-refresh, package-menu-describe-package): Use user-error.
2375
e8b66a6a
SM
2376 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2377 (eshell-post-rewrite-command-hook): Make obsolete.
2378 (eshell-parse-command): Simplify.
2379 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2380 (eshell--cmd): Declare.
2381 (eshell-parse-pipeline): Remove unused var `final-p'.
2382 Pass a dynvar to eshell-post-rewrite-command-hook.
2383 Implement the new eshell-post-rewrite-command-function.
2384 (eshell-invoke-directly): Remove unused arg `input'.
2385 * eshell/esh-io.el (eshell-io-initialize):
2386 Use eshell-post-rewrite-command-function (bug#15399).
2387 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2388 adjust to new calling convention.
2389 (eshell-create-handles): Rename args to avoid clashing with dynvar
2390 `standard-output'.
2391
90582f05
GM
23922013-09-17 Glenn Morris <rgm@gnu.org>
2393
2394 * simple.el (messages-buffer-mode): New major mode.
2395 (messages-buffer): New function.
2396 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2397 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2398 (ert-run-test): Use `messages-buffer' function.
90582f05 2399 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2400 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2401 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2402
39eb0cb5 24032013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2404
2405 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2406
1f1e06e2
SM
2407 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2408
70568a90
SM
24092013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2410
504a0381
SM
2411 * icomplete.el (icomplete-in-buffer): New var.
2412 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2413 vars and replace them with functions.
2414 (icomplete-minibuffer-setup): Adjust accordingly.
2415 (icomplete--completion-table, icomplete--completion-predicate)
2416 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2417 New functions.
2418 (icomplete-forward-completions, icomplete-backward-completions)
2419 (icomplete-simple-completing-p, icomplete-exhibit)
2420 (icomplete-completions): Use them.
2421 (icomplete--in-region-buffer): New var.
2422 (icomplete--in-region-setup): New function.
2423 (icomplete-mode): Use it.
2424
70568a90
SM
2425 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2426 (bug#15379).
2427 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2428 return args and options.
2429 (eshell-eval-using-options): Use the new return value of
2430 eshell--do-opts to set the options's vars in their scope.
2431 (eshell--set-option): Rename from eshell-set-option.
2432 Add arg `opt-vals'.
2433 (eshell--process-option): Rename from eshell-process-option.
2434 Add arg `opt-vals'.
2435 (eshell--process-args): Use an `opt-vals' alist to store the options's
2436 values during their processing and return them additionally to the
2437 remaining args.
2438
578c21bc
DG
24392013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2440
2441 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2442 continuation character an operator, as far as indentation is
2443 concerned (Bug#15369).
2444
c089653d
MR
24452013-09-15 Martin Rudalics <rudalics@gmx.at>
2446
2447 * window.el (window--state-put-2): Don't process buffer state
2448 when buffer doesn't exist any more (Bug#15382).
2449
1e53bb4b
GM
24502013-09-15 Glenn Morris <rgm@gnu.org>
2451
30753242
GM
2452 * eshell/em-unix.el (eshell/rm):
2453 Make -f ignore missing files. (Bug#15373)
2454
1e53bb4b
GM
2455 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2456 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2457 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2458
0d8863b3
GM
24592013-09-14 Glenn Morris <rgm@gnu.org>
2460
2461 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2462
d3fc6549
GM
24632013-09-13 Glenn Morris <rgm@gnu.org>
2464
2465 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2466 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2467
fcd42c11
DA
24682013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2469
2470 * frame.el (x-focus-frame): Mark as declared in frame.c.
2471
7830899f
SM
24722013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * ls-lisp.el: Use advice-add.
2475 (original-insert-directory): Remove.
2476 (ls-lisp--insert-directory): Rename from insert-directory; add
2477 `orig-fun' argument.
2478 (insert-directory): Advise.
2479
84387cd2
EZ
24802013-09-13 Eli Zaretskii <eliz@gnu.org>
2481
2482 * term.el (term-emulate-terminal): Decode the command string
2483 before passing it to term-command-hook. (Bug#15337)
2484
35ffc6ba
GM
24852013-09-13 Glenn Morris <rgm@gnu.org>
2486
5c3f9bcc
GM
2487 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2488
2ada368a
GM
2489 * eshell/esh-ext.el (eshell-search-path): Declare.
2490
fcef2e13
GM
2491 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2492 Otherwise an error occurs if eshell-dirs module not loaded.
2493
35ffc6ba
GM
2494 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2495
35c3d36e
MA
24962013-09-13 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2499 `tramp-check-proper-host'. Check for a valid method name.
2500
2501 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2502 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2503 * net/tramp-sh.el (tramp-maybe-open-connection):
2504 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2505
2506 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2507 also for hash values.
2508
ae5e4c48
SM
25092013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2510
379add74
SM
2511 * term/ns-win.el (parameters): Don't declare as dynamic.
2512 (before-make-frame-hook): Don't add ineffective function.
2513
ae5e4c48
SM
2514 * eshell/*.el: Use lexical-binding (bug#15231).
2515
b5623270
KH
25162013-09-12 Kenichi Handa <handa@gnu.org>
2517
ae5e4c48 2518 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2519
30213927
GM
25202013-09-12 Glenn Morris <rgm@gnu.org>
2521
be94d713 2522 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2523 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2524
44915370
GM
2525 * subr.el (do-after-load-evaluation): Also give compiler warnings
2526 when obsolete files are used (except by obsolete files).
2527
a6ae021f
GM
2528 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2529 in the status output, assume `filename' is the first. (Bug#15322)
2530
40e64f0c
GM
2531 * vc/vc.el (vc-deduce-fileset): Doc fix.
2532
16d9f896
GM
2533 * calc/calc-help.el (Info-goto-node):
2534 * progmodes/cperl-mode.el (Info-find-node):
2535 * vc/ediff.el (Info-goto-node): Update declarations.
2536
dea01c6e
GM
2537 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2538
759880bf 2539 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2540 (vc-bzr-pull): Require vc-dispatcher.
2541 * vc/vc-git.el (vc-compilation-mode): Declare.
2542 (vc-git-pull): Require vc-dispatcher.
2543
08d66420
GM
2544 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2545
30b626e9
GM
2546 * progmodes/octave.el (help-button-action): Declare.
2547
8c05cb10
GM
2548 * shell.el (shell-directory-tracker): Output error as a message
2549 rather than just returning it as a string.
2550 (shell-process-pushd): Remove useless use of message.
2551
30213927
GM
2552 * dframe.el (dframe-timer-fn):
2553 * files.el (dir-locals-read-from-file):
2554 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2555 (mpc-format):
2556 * reveal.el (reveal-post-command):
2557 * saveplace.el (load-save-place-alist-from-file):
2558 * shell.el (shell-resync-dirs):
2559 * w32-common-fns.el (x-get-selection-value):
2560 * emacs-lisp/copyright.el (copyright-find-copyright):
2561 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2562 * emulation/tpu-edt.el (tpu-copy-keyfile):
2563 * play/bubbles.el (bubbles--mark-neighbourhood):
2564 * progmodes/executable.el
2565 (executable-make-buffer-file-executable-if-script-p):
2566 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2567
d3b049e6
SM
25682013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2569
170266d0
SM
2570 Cleanup Eshell to rely less on dynamic scoping.
2571 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2572 last-value, and ext-command here. Bind `args' closer to `body'.
2573 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2574 (eshell--args): Declare new dynamic var.
2575 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2576 last-value, and ext-command. Pass `args' to `body'.
2577 (eshell-process-args): Bind eshell--args.
2578 (eshell-set-option): Use eshell--args.
2579 * eshell/eshell.el (eshell): Use derived-mode-p.
2580 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2581 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2582 (eshell-glob-function): Declare.
2583 * eshell/esh-util.el: Require cl-lib.
2584 (eshell-read-hosts-file): Avoid add-to-list.
2585 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2586 `err'.
2587 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2588 Declare.
2589 (eshell/diff): Remove unused var `err'.
2590 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2591 `killflag'.
2592 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2593 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2594 first use.
2595 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2596 Move declaration before first use.
2597 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2598 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2599 rely on cl-return.
2600
56834f3b
GM
26012013-09-12 Glenn Morris <rgm@gnu.org>
2602
2603 * term/ns-win.el (global-map): Remove binding for ispell-next,
2604 deleted 1999-05-29. (Bug#15357)
2605
5c91a2b8
GM
26062013-09-11 Glenn Morris <rgm@gnu.org>
2607
da712f22
GM
2608 * echistory.el (electric-command-history): Remove call to deleted func.
2609
512e4cdc
GM
2610 * play/landmark.el (landmark-mode): Fix typos.
2611
d3506ca5
GM
2612 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2613 Check cvs-sort-ignore-file is bound.
2614
5c91a2b8
GM
2615 * savehist.el: No need for cl when compiling on Emacs.
2616
feeff482
SM
26172013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2618
656bd483
SM
2619 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2620 (bug#15338).
d3b049e6
SM
2621 (eshell-self-insert-command, eshell-send-invisible):
2622 Remove unused argument.
656bd483
SM
2623 (eshell-handle-control-codes): Remove unused var `orig'.
2624 Avoid delete-backward-char.
2625
feeff482
SM
2626 * files.el (set-auto-mode): Simplify a bit further.
2627
2a08047a
GM
26282013-09-11 Glenn Morris <rgm@gnu.org>
2629
2630 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2631 (set-auto-mode): Don't regexp-quote elements.
2632 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2633 * progmodes/cc-mode.el (interpreter-mode-alist):
2634 * progmodes/ruby-mode.el (interpreter-mode-alist):
2635 Revert previous change.
2636
34675540
SM
26372013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2638
1b3b87df
SM
2639 * play/snake.el (snake-mode):
2640 * play/mpuz.el (mpuz-mode):
2641 * play/landmark.el (lm-mode):
2642 * play/blackbox.el (blackbox-mode):
2643 * play/5x5.el (5x5-mode):
2644 * obsolete/options.el (Edit-options-mode):
2645 * net/quickurl.el (quickurl-list-mode):
2646 * net/newst-treeview.el (newsticker-treeview-mode):
2647 * mail/rmailsum.el (rmail-summary-mode):
2648 * mail/mspools.el (mspools-mode):
2649 * locate.el (locate-mode):
2650 * ibuffer.el (ibuffer-mode):
2651 * emulation/ws-mode.el (wordstar-mode):
2652 * emacs-lisp/debug.el (debugger-mode):
2653 * array.el (array-mode):
2654 * net/eudc.el (eudc-mode): Use define-derived-mode.
2655 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2656 Move initialization into declaration.
2657 (mairix-searches-mode): Use define-derived-mode.
2658 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2659 (eudc-edit-hotlist): Use dolist.
2660 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2661 (Man-mode): Use define-derived-mode.
2662 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2663 (Info-edit-mode): Use define-derived-mode.
2664 (Info-cease-edit): Use Info-mode.
2665 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2666 into declaration.
2667 (eshell-mode): Use define-derived-mode.
2668 * chistory.el (command-history-mode-map): Rename from
2669 command-history-map.
2670 (command-history-mode): Use define-derived-mode.
da712f22 2671 (Command-history-setup): Remove function.
1b3b87df
SM
2672 * calc/calc.el (calc-trail-mode-map): New var.
2673 (calc-trail-mode): Use define-derived-mode.
2674 (calc-trail-buffer): Set calc-main-buffer manually.
2675 * bookmark.el (bookmark-insert-annotation): New function.
2676 (bookmark-edit-annotation): Use it.
2677 (bookmark-edit-annotation-mode): Make it a proper major mode.
2678 (bookmark-send-edited-annotation): Use derived-mode-p.
2679 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2680 closer to its ideal place. Use \' to match EOS.
2681
34675540
SM
2682 * profiler.el (profiler-calltree-find): Use function-equal.
2683
6a5c15d9
GM
26842013-09-10 Glenn Morris <rgm@gnu.org>
2685
1af4c220
GM
2686 * files.el (interpreter-mode-alist): Convert to regexps.
2687 (set-auto-mode): Adapt for this. (Bug#15306)
2688 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2689 Comment out unused variable.
2690 * progmodes/cc-mode.el (interpreter-mode-alist):
2691 * progmodes/python.el (interpreter-mode-alist):
2692 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2693 * progmodes/sh-script.el (sh-set-shell):
2694 No longer use interpreter-mode-alist to get list of shells.
2695
6a5c15d9
GM
2696 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2697
8c27f5ff
SM
26982013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2699
02ef6c1a 2700 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2701 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2702 Bind switch-frame explicitly. Replace universal-argument-minus with
2703 a conditional binding.
2704 (universal-argument-num-events, saved-overriding-map): Remove.
2705 (restore-overriding-map): Remove.
2706 (universal-argument--mode): Rename from save&set-overriding-map,
2707 and rewrite.
2708 (universal-argument, universal-argument-more, negative-argument)
2709 (digit-argument): Adjust accordingly.
2710 (universal-argument-minus): Remove.
2711 (universal-argument-other-key): Remove.
2712
8c27f5ff
SM
2713 * subr.el (with-demoted-errors): Add `format' argument.
2714
6480194c
MA
27152013-09-10 Michael Albinus <michael.albinus@gmx.de>
2716
2717 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2718 `tramp-cleanup-connection'.
2719
2720 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2721 parameters KEEP-DEBUG and KEEP-PASSWORD.
2722
2723 * net/tramp.el (tramp-file-name-handler):
2724 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2725 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2726 (tramp-maybe-open-connection):
8c27f5ff
SM
2727 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2728 Use `tramp-cleanup-connection'.
6480194c 2729
8c27f5ff
SM
2730 * net/tramp-sh.el (tramp-maybe-open-connection):
2731 Catch 'uname-changed inside the progress reporter.
6480194c 2732
e5e916d8
GM
27332013-09-10 Glenn Morris <rgm@gnu.org>
2734
9a2c9b47
GM
2735 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2736
e5e916d8
GM
2737 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2738 returns "alternate access method" in mode (eg "-rw-r--r--.").
2739
144e38fe
GM
27402013-09-08 Glenn Morris <rgm@gnu.org>
2741
2742 * saveplace.el (load-save-place-alist-from-file):
2743 Demote errors. (Bug#15305)
2744
af9ff9e8
MA
27452013-09-08 Michael Albinus <michael.albinus@gmx.de>
2746
2747 Improve compatibility with older Emacsen, and XEmacs.
2748
2749 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2750 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2751 (with-tramp-progress-reporter): Do not let-bind `result'.
2752 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2753 (tramp-handle-make-auto-save-file-name): New function, moved from
2754 tramp-sh.el.
2755
2756 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2757 for `make-auto-save-file-name'.
8c27f5ff
SM
2758 (tramp-adb--gnu-switches-to-ash):
2759 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2760
2761 * net/tramp-cache.el (tramp-cache-print): Call
2762 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2763
2764 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2765 bound. It isn't for XEmacs.
2766
8c27f5ff
SM
2767 * net/tramp-compat.el (tramp-compat-copy-file):
2768 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2769 (tramp-compat-replace-regexp-in-string): New defun.
2770
2771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2772 for `make-auto-save-file-name'.
2773 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2774 `copy-file'.
2775 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2776 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2777 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2778
8c27f5ff
SM
2779 * net/tramp-gw.el (tramp-gw-open-network-stream):
2780 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2781
8c27f5ff
SM
2782 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2783 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2784 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2785 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2786 (tramp-sh-file-inotifywait-process-filter):
2787 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2788 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2789
2790 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2791 for `make-auto-save-file-name'.
8c27f5ff
SM
2792 (tramp-smb-handle-copy-directory):
2793 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2794 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2795 (tramp-smb-handle-copy-file): Improve error message.
2796 (tramp-smb-handle-rename-file): Rename directly only in case
2797 `newname' does not exist yet. This is a restriction of smbclient.
2798 (tramp-smb-maybe-open-connection): Rerun the function only when
2799 `auth-sources' is non-nil.
2800
0ca754d0
KH
28012013-09-08 Kenichi Handa <handa@gnu.org>
2802
2803 * international/characters.el: Set category "^" (Combining) for
2804 more characters.
2805
e8dd0787
AM
28062013-09-07 Alan Mackenzie <acm@muc.de>
2807
2808 Correctly fontify Java class constructors.
2809 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2810 in Java Mode.
2811 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2812 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2813 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2814 "typeless" declaration there.
2815
f2f248e7
RW
28162013-09-07 Roland Winkler <winkler@gnu.org>
2817
2818 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2819 field subtitle for entry type book.
2820
67982e2b
SM
28212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * minibuffer.el: Make minibuffer-complete call completion-in-region
2824 rather than other way around.
2825 (completion--some, completion-pcm--find-all-completions):
2826 Don't delay signals when debugging.
2827 (minibuffer-completion-contents): Beware fields within the
2828 minibuffer contents.
2829 (completion-all-sorted-completions): Use defvar-local.
2830 (completion--do-completion, completion--cache-all-sorted-completions)
2831 (completion-all-sorted-completions, minibuffer-force-complete):
2832 Add args `beg' and `end'.
2833 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2834 (minibuffer-complete): Use completion-in-region.
2835 (completion-complete-and-exit): New fun, extracted from
2836 minibuffer-complete-and-exit.
2837 (minibuffer-complete-and-exit): Use it.
2838 (completion--complete-and-exit): Rename from
2839 minibuffer--complete-and-exit.
2840 (completion-in-region--single-word): New function, extracted from
2841 minibuffer-complete-word.
2842 (minibuffer-complete-word): Use it.
2843 (display-completion-list): Make `common-substring' argument obsolete.
2844 (completion--in-region): Call completion--in-region-1 instead of
2845 minibuffer-complete.
2846 (completion-help-at-point): Pass boundaries to
2847 minibuffer-completion-help as args rather than via an overlay.
2848 (completion-pcm--string->pattern): Use `any-delim'.
2849 (completion-pcm--optimize-pattern): New function.
2850 (completion-pcm--pattern->regex): Handle `any-delim'.
2851 * icomplete.el (icomplete-forward-completions)
2852 (icomplete-backward-completions, icomplete-completions):
2853 Adjust calls to completion-all-sorted-completions and
2854 completion--cache-all-sorted-completions.
2855 (icomplete-with-completion-tables): Default to t.
2856 * emacs-lisp/crm.el (crm--current-element): Rename from
2857 crm--select-current-element. Don't put an overlay but return the
2858 boundaries instead.
2859 (crm--completion-command): Take two new args to bind to the boundaries.
2860 (crm-completion-help): Adjust accordingly.
2861 (crm-complete): Use completion-in-region.
2862 (crm-complete-word): Use completion-in-region--single-word.
2863 (crm-complete-and-exit): Use completion-complete-and-exit.
2864
e17d94a5
SM
28652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2868 than dynamically.
2869
96727100
JL
28702013-09-06 Juri Linkov <juri@jurta.org>
2871
2872 * info.el (Info-display-images-node): When image file doesn't exist
2873 display text version of the image if it's provided in the Info file.
2874 Otherwise, display the location of missing image from SRC attribute.
2875 Add help-echo text property from ALT attribute. (Bug#15279)
2876
86cf7329
SM
28772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2880 (edit-abbrevs-mode): Use define-derived-mode.
2881
2882 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2883 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2884 that it's defined.
2885 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2886 Use define-derived-mode.
2887
2888 * epg.el (epg-start-encrypt): Minor CSE simplification.
2889
816244a2
WX
28902013-09-06 William Xu <william.xwl@gmail.com>
2891
2892 * arc-mode.el: Add support for 7za (bug#15264).
2893 (archive-7z-program): New var.
2894 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2895 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2896 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2897
1486fa31
MA
28982013-09-06 Michael Albinus <michael.albinus@gmx.de>
2899
2900 Remove URL syntax.
2901
2902 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2903 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2904 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2905 (tramp-postfix-host-format, tramp-file-name-regexp)
2906 (tramp-completion-file-name-regexp)
2907 (tramp-completion-dissect-file-name)
2908 (tramp-handle-substitute-in-file-name): Remove 'url case.
2909 (tramp-file-name-regexp-url)
2910 (tramp-completion-file-name-regexp-url): Remove constants.
2911
39785324
GM
29122013-09-06 Glenn Morris <rgm@gnu.org>
2913
2914 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2915
1f896cb7
DG
29162013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2917
2918 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2919 keywords" below "here-doc beginnings" (Bug#15270).
2920
c0458e0b
SM
29212013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * subr.el (pop): Use `car-safe'.
2924 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2925 to detect unused `pop' return value.
2926
2927 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2928 var `block-regexp'.
2929 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2930 (python-fill-string): Remove unused var `marker'.
2931 (python-skeleton-add-menu-items): Remove unused var `items'.
2932
2933 * international/mule-cmds.el: Require CL.
2934 (find-coding-systems-for-charsets): Avoid add-to-list.
2935 (sanitize-coding-system-list): New function, extracted from
2936 select-safe-coding-system-interactively.
2937 (select-safe-coding-system-interactively): Use it.
2938 (read-input-method-name): Accept symbols for `default'.
2939
2940 * emacs-lisp/advice.el (defadvice): Add indent rule.
2941
6c42fc3e
DH
29422013-09-05 Daniel Hackney <dan@haxney.org>
2943
2944 * dired-x.el:
2945 * net/ange-ftp.el:
2946 * net/browse-url.el:
2947 * net/dbus.el:
2948 * net/eudc.el:
2949 * net/eudcb-ldap.el:
2950 * net/eww.el:
2951 * net/imap.el:
2952 * printing.el:
2953 * vc/ediff-diff.el:
2954 * vc/ediff-init.el:
2955 * vc/ediff-merg.el:
2956 * vc/ediff-mult.el:
2957 * vc/ediff-util.el:
2958 * vc/ediff-wind.el:
2959 * vc/ediff.el:
2960 * vc/emerge.el:
2961 * vc/pcvs.el:
2962 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2963 byte compiler. Remove some unused let-bound variables.
2964
4c528aab
SM
29652013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2968 a "ref-cell", since it gets better optimized (bug#14883).
2969
bd15c390
GM
29702013-09-05 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/cc-awk.el (c-forward-sws): Declare.
2973
1c3ac2e5
GM
29742013-09-04 Glenn Morris <rgm@gnu.org>
2975
2976 * generic-x.el [rul-generic-mode]: Require cc-mode.
2977 (c++-mode-syntax-table): Declare.
2978 (rul-generic-mode-syntax-table): Init in the defvar.
2979
52b1cc79
SM
29802013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2981
c828af56
SM
2982 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2983 (vc-do-command, vc-set-async-update):
2984 * vc/vc-mtn.el (vc-mtn-dir-status):
2985 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2986 (vc-hg-pull, vc-hg-merge-branch):
2987 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2988 (vc-git-merge-branch):
2989 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2990 (vc-cvs-dir-status-files):
2991 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2992 (vc-bzr-dir-status-files):
2993 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2994 * vc/vc-annotate.el: Use lexical-binding.
2995 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2996 (vc-sentinel-movepoint): Declare.
2997 (vc-annotate): Don't use `goto-line'.
2998 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2999 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3000 (vc-sentinel-movepoint): Declare.
3001 * vc/vc-svn.el: Use lexical-binding.
3002 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3003 * vc/vc-sccs.el:
3004 * vc/vc-rcs.el: Use lexical-binding.
3005
abae272c
SM
3006 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3007 `deleted'. Don't drop errors silently.
3008
52b1cc79
SM
3009 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3010
63191d9f
XF
30112013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3012
3013 * vc/vc.el (vc-ignore): Rewrite.
3014 (vc-default-ignore): New function.
3015 (vc-default-ignore-completion-table): Use find-ignore-file.
3016
3017 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3018 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3019 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3020 Remove. Most code moved to vc.el.
3021
9d3f707c
SM
30222013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3023
abae272c 3024 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3025 * net/tramp-smb.el (tramp-smb-get-file-entries):
3026 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3027 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3028
fde38d49
SM
3029 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3030 Update call to it.
3031 (eww-change-select): Remove unused var `properties'.
3032 (eww-make-unique-file-name): Remove unused var `base'.
3033
3034 * finder.el (finder-compile-keywords): Don't mess with windows.
3035
84032db7
SM
3036 * calculator.el (calculator-funcall): Fix typo in last change.
3037
724f5e41
SM
3038 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3039
14b511d4
SM
3040 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3041 <pkg>-autoloads.el file stop us.
3042
9d3f707c 3043 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3044 warnings, and factor out common code.
9d3f707c 3045
88527bc0
DG
30462013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3047
3048 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3049 two-character operators and whether the character preceding them
3050 changes their meaning (Bug#15208).
3051
96edb677
FEG
30522013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3053
3054 Format code sent to Python shell for robustness.
9d3f707c
SM
3055 * progmodes/python.el (python-shell-buffer-substring):
3056 New function.
96edb677
FEG
3057 (python-shell-send-region, python-shell-send-buffer): Use it.
3058
95beaef3
MA
30592013-09-02 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3062 * net/tramp.el (tramp-user-error): ... here.
3063 (tramp-find-method, tramp-check-proper-host)
3064 (tramp-dissect-file-name, tramp-debug-message)
3065 (tramp-handle-shell-command):
3066 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3067 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3068
3069 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3070
f167c27b
MR
30712013-09-02 Martin Rudalics <rudalics@gmx.at>
3072
3073 * avoid.el (mouse-avoidance-point-position)
3074 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3075 returns nil.
3076
cd16c5f1
FEG
30772013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3078
3079 * progmodes/python.el (python-shell-completion-get-completions):
3080 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3081 (python-nav-if-name-main): New command.
cd16c5f1 3082
e73c3a0d
GM
30832013-09-01 Glenn Morris <rgm@gnu.org>
3084
f8ccce03
GM
3085 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3086 Avoid leading space in $wins. Otherwise the sed command used by
3087 eg compile-main ends up containing "/*.el". (Bug#15170)
3088
e73c3a0d
GM
3089 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3090
415f808e
GM
30912013-08-30 Glenn Morris <rgm@gnu.org>
3092
3093 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3094 Fix is-this-a-directory logic. (Bug#15220)
3095
f069bba8
SM
30962013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3097
112798c1
SM
3098 * textmodes/css-mode.el: Use SMIE.
3099 (css-smie-grammar): New var.
3100 (css-smie--forward-token, css-smie--backward-token)
3101 (css-smie-rules): New functions.
3102 (css-mode): Use them.
3103 (css-navigation-syntax-table): Remove var.
3104 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3105 (css-indent-calculate, css-indent-line): Remove functions.
3106
3107 Misc changes to reduce use of `(lambda...); and other cleanups.
3108 * cus-edit.el: Use lexical-binding.
3109 (customize-push-and-save, customize-apropos)
3110 (custom-buffer-create-internal): Use closures.
3111 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3112 * progmodes/ada-xref.el: Use setq.
3113 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3114 * dframe.el: Use lexical-binding.
3115 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3116 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3117 * descr-text.el: Use lexical-binding.
3118 (describe-text-widget, describe-text-sexp, describe-property-list):
3119 Use closures.
3120 * comint.el (comint-history-isearch-push-state): Use a closure.
3121 * calculator.el: Use lexical-binding.
3122 (calculator-number-to-string): Make it work with lexical-binding.
3123 (calculator-funcall): Same and use cl-letf.
3124
2da4c3ab
SM
3125 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3126 (lisp--company-doc-string, lisp--company-location): New functions.
3127 (lisp-completion-at-point): Use them to improve Company support.
3128
f069bba8
SM
3129 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3130 params of lambda expressions.
3131 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3132 (ruby-smie--opening-pipe-p): New function.
3133 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3134 symbols and matched |...| for formal params.
3135 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3136 from being treated as hanging. Handle "rescue".
3137
6758b6a8
GM
31382013-08-29 Glenn Morris <rgm@gnu.org>
3139
3140 * progmodes/cc-engine.el (c-pull-open-brace):
3141 Move definition before use.
3142
e8dfd197
SM
31432013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3146 are immutable. Don't use `unsafe' any more.
3147 (cl--defsubst-expand): Don't substitute at the same time as keeping
3148 a residual unused let-binding. Don't use `unsafe' any more.
3149
cc585c96
GM
31502013-08-29 Glenn Morris <rgm@gnu.org>
3151
ba579ea6
GM
3152 * calendar/cal-china.el (calendar-chinese-year-cache):
3153 Recenter on 2015.
3154
8201a87e
GM
3155 * nxml/nxml-util.el (nxml-debug-clear-inside):
3156 Use cl-loop rather than loop.
3157
6ee877c7
GM
3158 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3159
cc585c96
GM
3160 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3161
27be8d39
GM
31622013-08-28 Glenn Morris <rgm@gnu.org>
3163
397440a1
GM
3164 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3165
2bb762d4
GM
3166 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3167
27be8d39
GM
3168 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3169
2d69b99e
SM
31702013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3171
f663baa7
SM
3172 * simple.el (repeat-complex-command--called-interactively-skip):
3173 New function.
3174 (repeat-complex-command): Use it (bug#14136).
3175
dd4f8b74
SM
3176 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3177 (c-define-abbrev-table): Add `doc' argument.
3178 (c-mode-abbrev-table, c++-mode-abbrev-table)
3179 (objc-mode-abbrev-table, java-mode-abbrev-table)
3180 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3181 (awk-mode-abbrev-table): Use it.
3182 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3183 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3184 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3185 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3186 Move initialization into the declaration; and remove any
3187 autoload cookie.
3188
b58969f7
SM
3189 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3190 and dynamic let binding.
3191
4021d6a6
SM
3192 * vc/smerge-mode.el: Remove redundant :group args.
3193
2d69b99e
SM
3194 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3195 to load-path.
3196
274919fd
JL
31972013-08-28 Juri Linkov <juri@jurta.org>
3198
3199 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3200 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3201 (isearch-other-meta-char): Handle an undefined shifted printing
3202 character by downshifting it. (Bug#15200)
3203
121f8c95
JL
32042013-08-28 Juri Linkov <juri@jurta.org>
3205
3206 * isearch.el (isearch-search): Change regexp error message for
3207 non-regexp searches. (Bug#15166)
3208
50b13cde
PE
32092013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3210
3211 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3212 for portability to hosts where /bin/sh has problems.
3213
95888bca
SM
32142013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3217
bbe558f1
JL
32182013-08-27 Juri Linkov <juri@jurta.org>
3219
3220 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3221 in the keyboard macro. (Bug#15126)
3222
26f98a7d
JL
32232013-08-27 Juri Linkov <juri@jurta.org>
3224
3225 * isearch.el (isearch-quote-char): Comment out converting unibyte
3226 to multibyte, thus syncing with its `quoted-insert' counterpart.
3227 (Bug#15166)
3228
7c97d35e
MR
32292013-08-27 Martin Rudalics <rudalics@gmx.at>
3230
3231 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3232 argument in call of get-largest-window (Bug#15185).
3233 Reported by Stephen Leake.
7c97d35e 3234
a0b5606e 32352013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3236
3237 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3238
9e89d835
SM
32392013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3242 from a matcher-function unless there's no more matches (bug#15161).
3243
78fc2530
MA
32442013-08-26 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * minibuffer.el: Revert change from 2013-08-20.
3247
3248 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3249 with text property `tramp-default', if appropriate.
3250 (tramp-check-proper-host): New defun.
3251 (tramp-dissect-file-name): Do not check hostname. Revert change
3252 of 2013-03-18.
3253 (tramp-backtrace): Make VEC-OR-PROC optional.
3254
3255 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3256 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3257 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3258 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3259 Apply `tramp-check-proper-host'.
78fc2530 3260
edca97cd
TH
32612013-08-26 Tassilo Horn <tsdh@gnu.org>
3262
3263 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3264 lambda expression in order to have `describe-variable' display it.
3265
df54bcbd
MA
32662013-08-26 Michael Albinus <michael.albinus@gmx.de>
3267
3268 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3269 BUF can be optional. (Bug#15186)
3270
eed99101
XF
32712013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3272
3273 * progmodes/flymake.el (flymake-get-real-file-name-function):
3274 Fix broken customization. (Bug#15184)
3275
b5eb9035
AM
32762013-08-25 Alan Mackenzie <acm@muc.de>
3277
8a51e842
AM
3278 Improve indentation of bracelists defined by macros (without "=").
3279
3280 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3281 expansion begins with "{", regard it as bracelist when it doesn't
3282 contain a ";".
3283
869455d4
AM
3284 Parse C++ inher-intro when there's a template split over 2 lines.
3285
3286 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3287 rigorously the search for "class" etc. followed by ":".
3288
3289 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3290 random languages a regexp which never matches rather than nil.
3291
b5eb9035
AM
3292 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3293
3294 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3295 (c-awk-regexp-one-line-possibly-open-char-list-re)
3296 (c-awk-one-line-possibly-open-regexp-re)
3297 (c-awk-one-line-non-syn-ws*-re): Remove.
3298 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3299 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3300 (c-awk-space*-unclosed-regexp-/-re): New constants.
3301 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3302 aren't regexp delimiters.
3303
3304 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3305 handling for a rare situation in AWK Mode involving unterminated
3306 strings/regexps.
3307
61611d54
GM
33082013-08-23 Glenn Morris <rgm@gnu.org>
3309
2d85dc34
GM
3310 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3311
cb8d2612
GM
3312 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3313
bb35f42f
GM
3314 * files.el (create-file-buffer): If the result would begin with
3315 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3316
b9808e77
SM
33172013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3318
e3a66363
SM
3319 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3320 text-properties (bug#15155).
3321
b9808e77
SM
3322 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3323 exist any more.
3324 (calc-keypad-redraw): Remove unused var `pad'.
3325 (calc-keypad-press): Remove unused var `menu'.
3326
7fd5f65e
MR
33272013-08-23 Martin Rudalics <rudalics@gmx.at>
3328
b9808e77
SM
3329 * window.el (display-buffer-pop-up-frame):
3330 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3331 use it as the new frame's buffer (Bug#15133).
3332
8352b530
SM
33332013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * calendar/timeclock.el: Minor cleanups.
3336 (timeclock-ask-before-exiting, timeclock-use-display-time):
3337 Use `symbol'.
3338 (timeclock-modeline-display): Define as alias before the
3339 actual definition.
3340 (timeclock-mode-line-display): Use define-minor-mode.
3341 (timeclock-day-list-template): Make it a function, add an argument.
3342 (timeclock-day-list-required, timeclock-day-list-length)
3343 (timeclock-day-list-debt, timeclock-day-list-span)
3344 (timeclock-day-list-break): Adjust calls accordingly.
3345
9f7b1925
SM
33462013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3349 Use read--expression so that completion works again.
3350
6e50e983
SS
33512013-08-21 Sam Steingold <sds@gnu.org>
3352
3353 Add rudimentary inferior shell interaction
3354 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3355 (sh-set-shell): Reset it.
9f7b1925
SM
3356 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3357 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3358
dbb0d350
SM
33592013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * align.el: Use lexical-binding.
3362 (align-region): Simplify accordingly.
3363
c88586a9
MA
33642013-08-20 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3367
3368 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3369 `non-essential' up.
3370
f95527c8
MA
33712013-08-17 Michael Albinus <michael.albinus@gmx.de>
3372
3373 * net/tramp.el:
3374 * net/tramp-adb.el:
3375 * net/tramp-cmds.el:
3376 * net/tramp-ftp.el:
3377 * net/tramp-gvfs.el:
3378 * net/tramp-gw.el:
3379 * net/tramp-sh.el: Don't wrap external variable declarations by
3380 `eval-when-compile'.
3381
4b5fe4ee
LMI
33822013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3383
3384 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3385 now that Emacs supports ImageMagick animations.
3386
13c366c9
MA
33872013-08-16 Michael Albinus <michael.albinus@gmx.de>
3388
3389 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3390 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3391
3dfc5cd6
MR
33922013-08-16 Martin Rudalics <rudalics@gmx.at>
3393
3394 * window.el (mouse-autoselect-window-select): Do autoselect when
3395 mouse pointer is on margin.
3396
4bbb4381
WP
33972013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3398
3399 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3400
3a2ddc2d
GM
34012013-08-16 Glenn Morris <rgm@gnu.org>
3402
e8bedf5a
GM
3403 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3404 Handle "Remote Directory" response of some clients. (Bug#15058)
3405
58c4682f
GM
3406 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3407 Tweak warning. (Bug#14926)
3408
57953f49
GM
3409 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3410 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3411
3a2ddc2d
GM
3412 * image-mode.el (image-mode-map): Add menu items to reverse,
3413 increase, decrease, reset animation speed.
3414 (image--set-speed, image-increase-speed, image-decrease-speed)
3415 (image-reverse-speed, image-reset-speed): New functions.
3416 (image-mode-map): Add bindings for speed commands.
3417
3418 * image.el (image-animate-get-speed, image-animate-set-speed):
3419 New functions.
3420 (image-animate-timeout): Respect image :speed property.
3421
10fa0ed3
SM
34222013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3425 previous line (bug#15101).
3426 (debugger-eval-expression, debugger-record-expression):
3427 Use read--expression (bug#15102).
3428
5d89d9d2
MA
34292013-08-15 Michael Albinus <michael.albinus@gmx.de>
3430
3431 Remove byte compiler warnings, visible when compiling with
3432 `byte-compile-force-lexical-warnings' set to t.
3433
3434 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3435 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3436 (tramp-handle-unhandled-file-name-directory)
3437 (tramp-handle-file-notify-add-watch, tramp-action-login)
3438 (tramp-action-succeed, tramp-action-permission-denied)
3439 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3440 arguments with "_".
3441
3442 * net/tramp-adb.el (tramp-adb-parse-device-names)
3443 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3444 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3445 (tramp-adb-handle-file-truename): Remove unused arguments.
3446
3447 * net/tramp-cache.el (tramp-flush-directory-property)
3448 (tramp-flush-connection-property, tramp-list-connections)
3449 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3450
10fa0ed3
SM
3451 * net/tramp-compat.el (tramp-compat-make-temp-file):
3452 Rename FILENAME to F.
5d89d9d2
MA
3453
3454 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3455 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3456 (tramp-zeroconf-parse-workstation-device-names)
3457 (tramp-zeroconf-parse-webdav-device-names)
3458 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3459
3460 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3461 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3462
3463 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3464 arguments.
3465 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3466 (tramp-sh-handle-insert-file-contents-literally)
3467 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3468 with "_".
3469 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3470 Remove unused variables.
3471
3472 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3473 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3474 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3475
3476 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3477 Make them a defconst.
3478 (tramp-uuencode-region): Remove unused variable.
3479
62f33bae
JB
34802013-08-14 Juanma Barranquero <lekktu@gmail.com>
3481
3482 * frameset.el (frameset--prop-setter): New function.
3483 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3484 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3485 parameter was already set in FILTERED. Doc fix.
3486 (frameset--record-minibuffer-relationships): Allow saving a
3487 minibufferless frame without its corresponding minibuffer frame.
3488 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3489 frame, if the frame id matches.
3490 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3491 frames before orphaned ones.
3492 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3493
c660a885
MR
34942013-08-14 Martin Rudalics <rudalics@gmx.at>
3495
3496 * window.el (window-make-atom): Don't overwrite parameter
3497 already present.
3498 (display-buffer-in-atom-window): Handle special case where we
3499 split an already atomic window.
3500 (window--major-non-side-window, display-buffer-in-side-window)
3501 (window--side-check): Ignore minibuffer window when walking
3502 window tree.
3503 (window-deletable-p): Return 'frame only if no other frame uses
3504 our minibuffer window.
3505 (record-window-buffer): Run buffer-list-update-hook.
3506 (split-window): Make sure window--check-frame won't destroy an
3507 existing atomic window in case the new window gets nested
3508 inside.
3509 (display-buffer-at-bottom): Ignore minibuffer window when
3510 walking window tree. Don't split a side window.
3511 (pop-to-buffer): Don't set-buffer here, the select-window call
3512 should do that.
3513 (mouse-autoselect-window-select): Autoselect only if we are in the
3514 text portion of the window.
3515
8259030d
LMI
35162013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3517
21c58ae2
LMI
3518 * net/shr.el (shr-parse-image-data): New function to grab both the
3519 data itself and the Content-Type.
3520 (shr-put-image): Use it.
3521
3522 * net/eww.el (eww-display-image): Ditto.
3523
8259030d
LMI
3524 * image.el (image-content-type-suffixes): New variable.
3525
ad756449
FEG
35262013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3527
3528 * progmodes/python.el (python-imenu--build-tree)
3529 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3530
f73f4ce6
XF
35312013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3532
3533 * simple.el (backward-word): Mention the optional argument.
3534
1f585e65
SM
35352013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * frameset.el (frameset--make): Rename constructor from make-frameset.
3538 (frameset-p, frameset-valid-p): Don't autoload.
3539 (frameset-valid-p): Use normal accessors.
3540
af1c6c84
GM
35412013-08-13 Glenn Morris <rgm@gnu.org>
3542
55e47f95
GM
3543 * progmodes/compile.el (compile-command): Tweak example in doc.
3544 * obsolete/scribe.el (scribe-mode):
3545 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3546
f0024d8c
GM
3547 * mail/feedmail.el (feedmail-confirm-outgoing)
3548 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3549
3550 * cus-start.el (truncate-partial-width-windows): Fix type.
3551
3552 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3553
af1c6c84
GM
3554 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3555
5514cc4c
SM
35562013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * emacs-lisp/timer.el (timer--time-setter): New function.
3559 (timer--time): Use it as gv-setter.
3560
3561 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3562 setter is not a symbol.
3563
7997a2f1
GJ
35642013-08-12 Grégoire Jadi <daimrod@gmail.com>
3565
3566 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3567 if sending fails. This makes debugging easier.
3568
01f1a9ab
JB
35692013-08-12 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3572 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3573 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3574
594a4307
EZ
35752013-08-12 Eli Zaretskii <eliz@gnu.org>
3576
3577 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3578
7a22490f 35792013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3580
3581 * format.el (format-annotate-function):
3582 Handle read-only text properties in the source. (Bug#14887)
3583
3e41a054
LMI
35842013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
5514cc4c
SM
3586 * net/eww.el (eww-display-html): Ignore coding system errors.
3587 One web site uses "utf-8lias" as the coding system.
3e41a054 3588
7ec326db
JB
35892013-08-11 Juanma Barranquero <lekktu@gmail.com>
3590
3591 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3592
5660113b
JB
35932013-08-10 Juanma Barranquero <lekktu@gmail.com>
3594
9a4ebc74
JB
3595 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3596 (tutorial--detailed-help): Remove unused local variables.
3597 (tutorial--save-tutorial-to): Use ignore-errors.
3598 (help-with-tutorial): Use looking-at-p.
3599
3600 * view.el (view-buffer-other-window, view-buffer-other-frame):
3601 Mark unused arguments.
3602
3603 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3604 (woman-select-symbol-fonts, woman, woman-find-file)
3605 (woman-insert-file-contents, woman-non-underline-faces):
3606 Use string-match-p.
3607 (woman1-unquote): Move declaration.
3608
3609 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3610 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3611 argument. Remove unused local variable.
3612 (xml-parse-elem-type): Use string-match-p.
3613 (xml-substitute-numeric-entities): Use ignore-errors.
3614
45fdb482
JB
3615 * calculator.el (calculator): Mark unused argument.
3616 (calculator-paste, calculator-quit, calculator-integer-p):
3617 Use ignore-errors.
3618 (calculator-string-to-number, calculator-decimal, calculator-exp)
3619 (calculator-op-or-exp): Use string-match-p.
3620
3621 * dired.el (dired-buffer-more-recently-used-p): Declare.
3622 (dired-insert-set-properties, dired-insert-old-subdirs):
3623 Use ignore-errors.
3624
3625 * dired-aux.el (dired-compress): Use ignore-errors.
3626 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3627 (dired-do-async-shell-command, dired-do-shell-command)
3628 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3629 (dired-insert-subdir-validate): Use string-match-p.
3630 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3631 (dired-add-entry): Use string-match-p, looking-at-p.
3632 (dired-insert-subdir-newpos): Remove unused local variable.
3633
3634 * filenotify.el (file-notify-callback): Remove unused local variable.
3635
3636 * filesets.el (filesets-error): Mark unused argument.
3637 (filesets-which-command-p, filesets-filter-dir-names)
3638 (filesets-directory-files, filesets-get-external-viewer)
3639 (filesets-ingroup-get-data): Use string-match-p.
3640
3641 * find-file.el (ff-other-file-name, ff-other-file-name)
3642 (ff-find-the-other-file, ff-cc-hh-converter):
3643 Remove unused local variables.
3644 (ff-get-file-name): Use string-match-p.
3645 (ff-all-dirs-under): Use ignore-errors.
3646
3647 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3648 (follow-select-if-visible): Remove unused local variable.
3649
3650 * forms.el (read-file-filter): Move declaration.
3651 (forms--make-format, forms--make-parser, forms-insert-record):
3652 Quote function with #'.
3653 (forms--update): Use string-match-p. Quote function with #'.
3654
3655 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3656 (help-make-xrefs): Use looking-at-p.
3657 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3658
3659 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3660 (ibuffer-confirm-operation-on): Use string-match-p.
3661
3662 * msb.el (msb-item-handler, msb-dired-item-handler):
3663 Mark unused arguments.
3664
3665 * ses.el (ses-decode-cell-symbol)
3666 (ses-kill-override): Remove unused local variable.
3667 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3668 (ses-load): Use ignore-errors, looking-at-p.
3669 (ses-jump-safe): Use ignore-errors.
3670 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3671
3672 * tabify.el (untabify, tabify): Mark unused arguments.
3673
3674 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3675 Mark unused argument.
3676 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3677 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3678
c880af52
JB
3679 * emacs-lisp/timer.el (timer--time): Define setter with
3680 gv-define-setter to avoid deprecation warning.
3681
5660113b 3682 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3683 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3684 (cmpl-statistics-block): Remove (body was commented out).
3685 All callers changed.
3686 (add-completions-from-buffer, load-completions-from-file):
3687 Remove unused variables.
3688
156aab80
JB
36892013-08-09 Juanma Barranquero <lekktu@gmail.com>
3690
5c5dee78
JB
3691 * filecache.el (file-cache-delete-file-list):
3692 Print message only when told so.
3693 (file-cache-files-matching): Use #' in mapconcat argument.
3694
156aab80
JB
3695 * ffap.el (ffap-url-at-point): Fix reference to variable
3696 thing-at-point-default-mail-uri-scheme.
3697
ad9dcd70
SM
36982013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3699
54bd972f
SM
3700 * subr.el (define-error): New function.
3701 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3702 error-file-not-found and define with define-error.
3703 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3704 and define with define-error.
3705 * userlock.el (file-locked, file-supersession):
3706 * simple.el (mark-inactive):
3707 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3708 * progmodes/ada-mode.el (ada-mode-errors):
3709 * play/life.el (life-extinct):
3710 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3711 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3712 * nxml/rng-util.el (rng-error):
3713 * nxml/rng-uri.el (rng-uri-error):
3714 * nxml/rng-match.el (rng-compile-error):
3715 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3716 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3717 * nxml/nxml-rap.el (nxml-scan-error):
3718 * nxml/nxml-outln.el (nxml-outline-error):
3719 * net/soap-client.el (soap-error):
3720 * net/gnutls.el (gnutls-error):
3721 * net/ange-ftp.el (ftp-error):
3722 * mpc.el (mpc-proc-error):
3723 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3724 (json-number-format, json-string-escape, json-string-format)
3725 (json-key-format, json-object-format):
3726 * jka-compr.el (compression-error):
3727 * international/quail.el (quail-error):
3728 * international/kkc.el (kkc-error):
3729 * emacs-lisp/ert.el (ert-test-failed):
3730 * calc/calc.el (calc-error, inexact-result, math-overflow)
3731 (math-underflow):
3732 * bookmark.el (bookmark-error-no-filename):
3733 * epg.el (epg-error): Define with define-error.
3734
0ea9e53a
SM
3735 * time.el (display-time-event-handler)
3736 (display-time-next-load-average): Don't call sit-for since it seems
3737 unnecessary (bug#15045).
3738
b0429158
SM
3739 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3740 Use #' instead of ' to quote functions.
3741 (checkdoc-output-mode): Use setq-local.
3742 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3743 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3744 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3745 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3746 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3747 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3748 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3749 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3750
ad9dcd70
SM
3751 * ido.el (ido-completion-help): Fix up compiler warning.
3752
77187e6f
JB
37532013-08-09 Juanma Barranquero <lekktu@gmail.com>
3754
3755 * frameset.el (frameset-p): Add autoload cookie.
3756 (frameset--jump-to-register): New function, based on code moved from
3757 register.el.
3758 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3759
3760 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3761 (frameset-restore, frameset-save, frameset-session-filter-alist):
3762 Remove declarations.
3763 (register-alist): Doc fix.
3764 (frameset-to-register): Move to frameset.el.
3765 (jump-to-register, describe-register-1): Remove frameset-specific code.
3766
9d3aa82c
JB
37672013-08-08 Juanma Barranquero <lekktu@gmail.com>
3768
3769 * allout-widgets.el (allout-widgets-pre-command-business)
3770 (allout-widgets-post-command-business)
3771 (allout-widgets-after-change-handler)
3772 (allout-decorate-item-and-context, allout-set-boundary-marker)
3773 (allout-body-modification-handler)
3774 (allout-graphics-modification-handler): Mark ignored arguments.
3775 (allout-widgets-post-command-business)
3776 (allout-widgets-exposure-change-processor)
3777 (allout-widgets-exposure-undo-processor)
3778 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3779 (allout-parse-item-at-point, allout-decorate-item-guides)
3780 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3781 * allout.el (epa-passphrase-callback-function): Declare.
3782 (allout-overlay-insert-in-front-handler)
3783 (allout-overlay-interior-modification-handler)
3784 (allout-isearch-end-handler, allout-chart-siblings)
3785 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3786 (allout-yank-processing, allout-process-exposed)
3787 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3788 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3789 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3790 (lisp-indent-defform): Mark ignored arguments.
3791 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3792 (calculate-lisp-indent): Remove unused variables.
3793 * international/characters.el (indian-2-column, arabic-2-column)
3794 (tibetan): Mark ignored arguments.
3795 (use-cjk-char-width-table): Mark ignored arguments.
3796 Remove unused variables.
3797 * international/fontset.el (build-default-fontset-data)
3798 (x-compose-font-name, create-fontset-from-fontset-spec):
3799 Mark ignored arguments.
3800 (fontset-plain-name): Remove unused variables.
3801 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3802 (keyboard-coding-system): Mark ignored arguments.
3803 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3804 * help.el (resize-temp-buffer-window):
3805 * window.el (display-buffer-in-major-side-window)
3806 (display-buffer-in-side-window, display-buffer-in-previous-window):
3807 Remove unused variables.
3808 * isearch.el (isearch-forward-symbol):
3809 * version.el (emacs-bzr-version-bzr):
3810 * international/mule-cmds.el (current-language-environment):
3811 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3812 (x-handle-display):
3813 * term/pc-win.el (x-list-fonts, x-display-planes)
3814 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3815 (x-server-version, x-display-screens, x-display-mm-height)
3816 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3817 (x-selection-owner-p, x-own-selection-internal)
3818 (x-disown-selection-internal, x-get-selection-internal)
3819 (msdos-initialize-window-system):
3820 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3821 * term/x-win.el (x-handle-no-bitmap-icon):
3822 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3823 (vc-default-find-file-hook, vc-default-extra-menu):
3824 Mark ignored arguments.
3825
0ca3f70e
SM
38262013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3829 break-condition in the context of the debugged code (bug#12685).
3830
74c5d24c
CS
38312013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3832
3833 * comint.el:
3834 Do not use an overlay to highlight the last prompt. (Bug#14744)
3835 (comint-mode): Make comint-last-prompt buffer local.
3836 (comint-last-prompt): New variable.
3837 (comint-last-prompt-overlay): Remove. Superseded by
3838 comint-last-prompt.
0ca3f70e
SM
3839 (comint-snapshot-last-prompt, comint-output-filter):
3840 Use comint-last-prompt.
74c5d24c 3841
c03c02ee
JB
38422013-08-08 Juanma Barranquero <lekktu@gmail.com>
3843
a3738d20 3844 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3845 (frameset-save): Check validity of the resulting frameset.
3846
04263d23
XF
38472013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3848
3849 * ido.el (ido-record-command): Add doc string.
3850
76c5e5ab
JB
38512013-08-08 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * frameset.el (frameset): Do not disable creation of the default
3854 frameset-p predicate. Doc fix.
3855 (frameset-valid-p): New function, copied from the old predicate-p.
3856 Add additional checks.
3857 (frameset-restore): Check with frameset-valid-p.
3858 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3859 (frameset-name, frameset-description, frameset-properties)
3860 (frameset-states): Add docstring.
f9dbf1cb
JB
3861 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3862 (frameset-filter-alist): Doc fixes.
76c5e5ab 3863
bd0c3c0b
JB
38642013-08-08 Juanma Barranquero <lekktu@gmail.com>
3865
3866 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3867
c735544c
SM
38682013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3871 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3872 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3873 (byte-compile-normal-call): Remove obsolescence check.
3874
2805a651
JB
38752013-08-08 Juanma Barranquero <lekktu@gmail.com>
3876
3677ffeb
JB
3877 * frameset.el (frameset-restore): Doc fix.
3878
2805a651
JB
3879 * register.el (frameset-frame-id, frameset-frame-with-id)
3880 (frameset-p, frameset-restore, frameset-save): Declare.
3881 (register-alist): Document framesets.
3882 (frameset-session-filter-alist): Declare.
3883 (frameset-to-register): New function.
3884 (jump-to-register): Implement jumping to framesets. Doc fix.
3885 (describe-register-1): Describe framesets.
3886
3887 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3888
a912c016
JB
38892013-08-07 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3892 Use lexical-binding.
3893
3894 * frameset.el (frameset): Use type vector, not list (incompatible
3895 change). Do not declare a new constructor, use the default one.
3896 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3897 `name' and `description', respectively, and add read-only slot
3898 `timestamp'. Doc fixes.
3899 (frameset-copy, frameset-persistent-filter-alist)
3900 (frameset-filter-alist, frameset-switch-to-gui-p)
3901 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3902 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3903 (frameset-filter-iconified, frameset-keep-original-display-p):
3904 Doc fixes.
3905 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3906 Rename from frameset-filter-(save|restore)-param. All callers changed.
3907 Doc fix.
3908 (frameset-p): Adapt to change to vector and be more thorough.
3909 Change arg name to OBJECT. Doc fix.
3910 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3911 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3912 All callers changed.
3913 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3914 All callers changed.
3915 (frameset--record-minibuffer-relationships): Rename from
3916 frameset--process-minibuffer-frames. All callers changed.
3917 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3918 Use new default constructor (again). Doc fix.
3919 (frameset--find-frame-if): Rename from `frameset--find-frame.
3920 All callers changed.
3921 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3922 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3923 Doc fix.
3924 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3925 PARAMETERS and WINDOW-STATE, respectively.
3926 (frameset-restore): Add new keyword argument PREDICATE.
3927 Reset frameset--target-display to nil. Doc fix.
3928
bb41480a
SM
39292013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3930
f001e98e
SM
3931 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3932 (bat-mode): Use it.
3933 (bat-mode-syntax-table): Mark \n as end-of-comment.
3934 (bat-font-lock-keywords): Remove comment rule.
3935
7679edb1
SM
3936 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3937 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3938
bb41480a
SM
3939 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3940 (byte-compile-callargs-warn): Use `push'.
3941 (byte-compile-arglist-warn): Ignore higher-order "calls".
3942 (byte-compile-file-form-autoload): Use `pcase'.
3943 (byte-compile-function-form): If quoting a symbol, check that it exists.
3944
cdc1ebb9
EZ
39452013-08-07 Eli Zaretskii <eliz@gnu.org>
3946
3947 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3948 and add a few popular commands found in batch files.
3949 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3950 (dos-mode): Doc fixes.
3951
312b1740
SM
39522013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3955 (dos-mode): Use setq-local. Add space after "rem".
3956 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3957 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3958
400a3178
AM
39592013-08-07 Arni Magnusson <arnima@hafro.is>
3960
3961 * progmodes/dos.el: New file.
3962 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3963 dos-mode.
3964
3b5c03d3
GM
39652013-08-06 Glenn Morris <rgm@gnu.org>
3966
3967 * calendar/calendar.el: Add new faces, and day-header-array.
3968 (calendar-weekday-header, calendar-weekend-header)
3969 (calendar-month-header): New faces.
3970 (calendar-day-header-construct): New function.
3971 (calendar-day-header-width): Also :set calendar-day-header-array.
3972 (calendar-american-month-header, calendar-european-month-header)
3973 (calendar-iso-month-header): Use calendar- faces.
3974 (calendar-generate-month):
3975 Use calendar-day-header-array for day headers; apply faces to them.
3976 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3977 (calendar-abbrev-construct): Add optional maxlen argument.
3978 (calendar-day-name-array): Doc fix.
3979 (calendar-day-name-array, calendar-abbrev-length)
3980 (calendar-day-abbrev-array):
3981 Also :set calendar-day-header-array, and maybe redraw.
3982 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3983 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3984 (calendar-day-name): Add option to use header array.
3985
ec6a2d7a
LMI
39862013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3987
3988 * net/shr.el (shr-render-td): Remove debugging.
3989 (shr-render-td): Make width computation consistent by defaulting
3990 all zero-width columns to 10 characters. This may not be optimal,
3991 but it's at least consistent.
2122cb6d
LMI
3992 (shr-make-table-1): Redo last change to fix the real problem in
3993 colspan handling.
ec6a2d7a 3994
ed4fd9c5
DA
39952013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3996
0ca3f70e
SM
3997 * files.el (cache-long-line-scans):
3998 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3999
64e22afe
JB
40002013-08-06 Juanma Barranquero <lekktu@gmail.com>
4001
024b38fc
JB
4002 * frameset.el (frameset, frameset-filter-alist)
4003 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4004 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4005 (frameset-compute-pos): Rename from frameset--compute-pos,
4006 and add docstring.
4007 (frameset-move-onscreen): Use frameset-compute-pos.
4008 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4009
64e22afe
JB
4010 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4011 Fix typos in docstrings.
4012
c8c2aca8
DA
40132013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4014
4015 * frame.el (get-other-frame): Tiny cleanup.
4016
1d237bba
JB
40172013-08-06 Juanma Barranquero <lekktu@gmail.com>
4018
8951efef
JB
4019 * vc/vc.el (vc-default-ignore-completion-table):
4020 Silence byte-compiler warning.
4021
307764cc
JB
4022 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4023 slot , which can indeed be nil.
4024 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4025 Move entry for `left' from persistent to live filter alist.
4026 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4027 Doc fixes.
4028 (frameset-filter-params): When restoring a frame, copy items added to
4029 `filtered', to avoid unwittingly modifying the original parameters.
4030 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4031 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4032
1d237bba
JB
4033 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4034 to use looking-at-p instead of looking-at. (Bug#15028)
4035
dc6c0eda
SM
40362013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 Revert introduction of isearch-filter-predicates (bug#14714).
4039 Rely on add-function instead.
4040 * isearch.el (isearch-filter-predicates): Rename it back to
4041 isearch-filter-predicate.
4042 (isearch-message-prefix): Use advice-function-mapc and advice
4043 properties to get the isearch-message-prefix.
4044 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4045 instead of run-hook-with-args-until-failure.
4046 (isearch-filter-visible): Not obsolete any more.
4047 * loadup.el: Preload nadvice.
4048 * replace.el (perform-replace): Revert to funcall
4049 instead of run-hook-with-args-until-failure.
4050 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4051 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4052 dired-isearch-filenames-toggle; make it into a proper minor mode.
4053 Use add/remove-function.
4054 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4055 Call the minor-mode rather than add/remove-hook.
4056 (dired-isearch-filter-filenames):
4057 Remove isearch-message-prefix property.
4058 * info.el (Info--search-loop): New function, extracted from Info-search.
4059 Funcall isearch-filter-predicate instead of
4060 run-hook-with-args-until-failure isearch-filter-predicates.
4061 (Info-search): Use it.
4062 (Info-mode): Use isearch-filter-predicate instead of
4063 isearch-filter-predicates.
4064
290d5b58
DA
40652013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4066
4067 Do not call to `selected-window' where it is assumed by default.
4068 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4069 `window-hscroll', `window-width', `window-height', `window-buffer',
4070 `window-frame', `window-start', `window-point', `next-window'
4071 and `window-display-table'.
4072 * abbrev.el (abbrev--default-expand):
4073 * bs.el (bs--show-with-configuration):
4074 * buff-menu.el (Buffer-menu-mouse-select):
4075 * calc/calc.el (calc):
4076 * calendar/calendar.el (calendar-generate-window):
4077 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4078 (diary-make-entry):
4079 * comint.el (send-invisible, comint-dynamic-complete-filename)
4080 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4081 * completion.el (complete):
4082 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4083 * disp-table.el (describe-current-display-table):
4084 * doc-view.el (doc-view-insert-image):
4085 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4086 * ehelp.el (with-electric-help):
4087 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4088 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4089 * emacs-lisp/helper.el (Helper-help-scroller):
4090 * emulation/cua-base.el (cua--post-command-handler-1):
4091 * eshell/esh-mode.el (eshell-output-filter):
4092 * ffap.el (ffap-gnus-wrapper):
4093 * help-macro.el (make-help-screen):
4094 * hilit-chg.el (highlight-compare-buffers):
4095 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4096 * hl-line.el (global-hl-line-highlight):
4097 * icomplete.el (icomplete-simple-completing-p):
4098 * isearch.el (isearch-done):
4099 * jit-lock.el (jit-lock-stealth-fontify):
4100 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4101 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4102 * mpc.el (mpc-tagbrowser, mpc):
4103 * net/rcirc.el (rcirc-any-buffer):
4104 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4105 * play/landmark.el (landmark-max-width, landmark-max-height):
4106 * play/zone.el (zone):
4107 * progmodes/compile.el (compilation-goto-locus):
4108 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4109 * progmodes/etags.el (find-tag-other-window):
4110 * progmodes/fortran.el (fortran-column-ruler):
4111 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4112 * progmodes/verilog-mode.el (verilog-point-text):
4113 * reposition.el (reposition-window):
4114 * rot13.el (toggle-rot13-mode):
4115 * server.el (server-switch-buffer):
4116 * shell.el (shell-dynamic-complete-command)
4117 (shell-dynamic-complete-environment-variable):
4118 * simple.el (insert-buffer, set-selective-display)
4119 (delete-completion-window):
4120 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4121 (speedbar-recenter):
4122 * startup.el (fancy-splash-head):
4123 * textmodes/ispell.el (ispell-command-loop):
4124 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4125 * tutorial.el (help-with-tutorial):
4126 * vc/add-log.el (add-change-log-entry):
4127 * vc/compare-w.el (compare-windows):
4128 * vc/ediff-help.el (ediff-indent-help-message):
4129 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4130 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4131 (ediff-setup-control-frame):
4132 * vc/emerge.el (emerge-position-region):
4133 * vc/pcvs-util.el (cvs-bury-buffer):
4134 * window.el (walk-windows, mouse-autoselect-window-select):
4135 * winner.el (winner-set-conf, winner-undo): Related users changed.
4136
38276e01
JB
41372013-08-05 Juanma Barranquero <lekktu@gmail.com>
4138
4139 * frameset.el (frameset--set-id): Doc fix.
4140 (frameset-frame-id, frameset-frame-id-equal-p)
4141 (frameset-locate-frame-id): New functions.
4142 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4143 (frameset-restore): Use them.
4144
12b4c0ea
DA
41452013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4146
4147 Do not call to `selected-frame' where it is assumed by default.
4148 Affected functions are `raise-frame', `redraw-frame',
4149 `frame-first-window', `frame-terminal' and `delete-frame'.
4150 * calendar/appt.el (appt-disp-window):
4151 * epg.el (epg-wait-for-completion):
4152 * follow.el (follow-delete-other-windows-and-split)
4153 (follow-avoid-tail-recenter):
4154 * international/mule.el (set-terminal-coding-system):
4155 * mail/rmail.el (rmail-mail-return):
4156 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4157 * progmodes/f90.el (f90-add-imenu-menu):
4158 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4159 * server.el (server-switch-buffer):
4160 * simple.el (delete-completion-window):
4161 * talk.el (talk):
4162 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4163 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4164 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4165 * vc/ediff.el (ediff-documentation): Related users changed.
4166 * frame.el (selected-terminal): Remove the leftover.
4167
17f25e76
GM
41682013-08-05 Glenn Morris <rgm@gnu.org>
4169
4170 * calendar/calendar.el (calendar-generate-month):
4171 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4172 (calendar-generate-month, calendar-font-lock-keywords):
4173 Fix for calendar-day-header-width > length of any day name.
17f25e76 4174
063233c3
JB
41752013-08-05 Juanma Barranquero <lekktu@gmail.com>
4176
4177 * desktop.el (desktop-clear): Use new name of sort predicate.
4178
4179 * frameset.el (frameset): Add docstring. Move :version property to its
4180 own `version' slot.
4181 (frameset-copy): Rename from copy-frameset.
4182 (frameset-p): Check more thoroughly.
4183 (frameset-prop): Do not check for :version, which is no longer a prop.
4184 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4185 Use new :never value instead of t.
4186 (frameset-filter-alist): Expand and clarify docstring.
4187 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4188 (frameset-filter-minibuffer, frameset-filter-save-param)
4189 (frameset-filter-restore-param, frameset-filter-iconified):
4190 Add pointer to docstring of frameset-filter-alist.
4191 (frameset-filter-params): Rename filter values to be more meaningful:
4192 :never instead of t, and reverse the meanings of :save and :restore.
4193 (frameset--process-minibuffer-frames): Clarify error message.
4194 (frameset-save): Avoid unnecessary and confusing call to framep.
4195 Use new BOA constructor for framesets.
4196 (frameset--reuse-list): Doc fix.
4197 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4198 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4199 (frameset-minibufferless-first-p): Doc fix.
4200 Rename from frameset-sort-frames-for-deletion.
4201 (frameset-restore): Doc fixes. Use new function names.
4202 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4203
d5671a82
JB
42042013-08-04 Juanma Barranquero <lekktu@gmail.com>
4205
4206 * desktop.el (desktop-restore-forces-onscreen)
4207 (desktop-restore-reuses-frames): Document :keyword constant values.
4208 (desktop-filter-parameters-alist): Remove, now identical to
4209 frameset-filter-alist.
4210 (desktop--filter-tty*): Remove, moved to frameset.el.
4211 (desktop-save-frameset, desktop-restore-frameset):
4212 Do not pass :filters argument.
4213
4214 * frameset.el (frameset-live-filter-alist)
4215 (frameset-persistent-filter-alist): New variables.
4216 (frameset-filter-alist): Use them. Add autoload cookie.
4217 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4218 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4219 `frameset--id' (it's supposed to be internal to frameset.el).
4220 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4221 (frameset--initial-params): New function.
4222 (frameset--get-frame): Use it. Doc fix.
4223 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4224 Accept :all, not 'all.
4225 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4226 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4227 with fbound symbols. Fix frame id matching, and remove matching ids if
4228 the frame being restored is deleted. Obey :delete.
4229
671d5c16
SM
42302013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * subr.el (macrop): New function.
4233 (text-clone--maintaining): New var.
4234 (text-clone--maintain): Rename from text-clone-maintain. Use it
4235 instead of inhibit-modification-hooks.
4236
4237 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4238 a proxy, so as handle autoloads and redefinitions of the target.
4239 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4240
4241 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4242 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4243 (pcase--mutually-exclusive-p): New function.
4244 (pcase--split-consp): Use it.
4245 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4246 mutually exclusive with the current predicate.
4247
4248 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4249 (edebug-macrop): Remove. Use `macrop' instead.
4250 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4251 (ad-macro-p):
4252 * eshell/esh-cmd.el (eshell-macrop):
4253 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4254
1d44e9dc
SM
42552013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4256
4257 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4258 (advice-mapc): New function, using it.
4259 (advice-function-member-p): New function.
4260 (advice--normalize): Store the cdr in advice--saved-rewrite since
4261 that's the part that will be changed.
4262 (advice--symbol-function): New function.
4263 (advice-remove): Handle removal before the function is defined.
4264 Adjust to new advice--saved-rewrite.
4265 (advice-member-p): Use advice-function-member-p and
4266 advice--symbol-function.
4267
5414a283
JB
42682013-08-04 Juanma Barranquero <lekktu@gmail.com>
4269
51d30f2c
JB
4270 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4271 (frameset-filter-minibuffer): Doc fix.
4272 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4273 (frameset--set-id, frameset--process-minibuffer-frames)
4274 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4275 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4276
5414a283
JB
4277 * desktop.el (desktop-clear): Only delete frames when called
4278 interactively and desktop-restore-frames is non-nil. Doc fix.
4279 (desktop-read): Set desktop-saved-frameset to nil.
4280
ab419665
XF
42812013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4282
4283 * vc/vc.el (vc-ignore): Rewrite.
4284 (vc-default-ignore-completion-table):
4285 (vc--read-lines):
4286 (vc--add-line, vc--remove-regexp): New functions.
4287
4288 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4289 (vc-svn-ignore-completion-table): New function.
4290
4291 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4292 (vc-hg-ignore-completion-table):
4293 (vc-hg-find-ignore-file): New functions.
4294
4295 * vc/vc-git.el (vc-git-ignore): Rewrite.
4296 (vc-git-ignore-completion-table):
4297 (vc-git-find-ignore-file): New functions.
4298
4299 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4300
4301 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4302 (vc-bzr-ignore-completion-table):
4303 (vc-bzr-find-ignore-file): New functions.
4304
2613dea2
JB
43052013-08-03 Juanma Barranquero <lekktu@gmail.com>
4306
4307 * frameset.el (frameset-prop): New function and setter.
4308 (frameset-save): Do not modify frame list passed by the caller.
4309
9c959872
SM
43102013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4313
a104f656
SM
43142013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4315
70122acf
SM
4316 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4317 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4318
a104f656
SM
4319 * custom.el (custom-initialize-default, custom-initialize-set)
4320 (custom-initialize-reset, custom-initialize-changed): Affect the
4321 toplevel-default-value (bug#6275, bug#14586).
4322 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4323 for bug#6275.
4324
f078d570
JB
43252013-08-02 Juanma Barranquero <lekktu@gmail.com>
4326
185e3b5a
JB
4327 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4328 Add cl-def* expressions.
4329
f078d570
JB
4330 * frameset.el (frameset-filter-params): Fix order of arguments.
4331
9421876d
JB
43322013-08-02 Juanma Barranquero <lekktu@gmail.com>
4333
4334 Move code related to saving frames to frameset.el.
4335 * desktop.el: Require frameset.
4336 (desktop-restore-frames): Doc fix.
4337 (desktop-restore-reuses-frames): Rename from
4338 desktop-restoring-reuses-frames.
4339 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4340 (desktop-clear): Clear frames too.
4341 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4342 (desktop--filter-tty*, desktop-save, desktop-read):
4343 Use frameset functions.
4344 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4345 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4346 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4347 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4348 (desktop--process-minibuffer-frames, desktop-save-frames)
4349 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4350 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4351 (desktop--sort-states, desktop-restoring-frames-p)
4352 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4353 (desktop-restoring-frameset-p, desktop-restore-frameset)
4354 (desktop--check-dont-save, desktop-save-frameset): New functions.
4355 (desktop--app-id): New constant.
4356 (desktop-first-buffer, desktop-buffer-ok-count)
4357 (desktop-buffer-fail-count): Move before first use.
4358 * frameset.el: New file.
4359
76dc5996
SM
43602013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * files.el: Use lexical-binding.
4363 (dir-locals-read-from-file): Remove unused `err' variable.
4364 (hack-dir-local-variables--warned-coding): New var.
4365 (hack-dir-local-variables): Use it to avoid repeated warnings.
4366 (make-backup-file-name--default-function): New function.
4367 (make-backup-file-name-function): Use it as default.
4368 (buffer-stale--default-function): New function.
4369 (buffer-stale-function): Use it as default.
4370 (revert-buffer-insert-file-contents--default-function): New function.
4371 (revert-buffer-insert-file-contents-function): Use it as default.
4372 (insert-directory): Avoid add-to-list.
4373
4374 * autorevert.el (auto-revert-handler): Simplify.
4375 Use buffer-stale--default-function.
4376
06d36e2b
TH
43772013-08-01 Tassilo Horn <tsdh@gnu.org>
4378
5f648ab4
TH
4379 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4380
06d36e2b
TH
4381 * whitespace.el (whitespace-ensure-local-variables): New function.
4382 (whitespace-cleanup-region): Call it.
4383 (whitespace-turn-on): Call it.
4384
a43dc424
MA
43852013-08-01 Michael Albinus <michael.albinus@gmx.de>
4386
4387 Complete file name handlers.
4388
4389 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4390 (tramp-handle-verify-visited-file-modtime)
4391 (tramp-handle-file-notify-rm-watch): New functions.
4392 (tramp-call-process): Do not bind `default-directory'.
4393
44e18199
JB
4394 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4395 Order alphabetically.
a43dc424
MA
4396 [access-file, add-name-to-file, dired-call-process]:
4397 [dired-compress-file, file-acl, file-notify-rm-watch]:
4398 [file-ownership-preserved-p, file-selinux-context]:
4399 [make-directory-internal, make-symbolic-link, set-file-acl]:
4400 [set-file-selinux-context, set-visited-file-modtime]:
4401 [verify-visited-file-modtime]: Add handler.
4402 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4403
4404 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4405 [file-notify-add-watch, file-notify-rm-watch]:
4406 [set-file-times, set-visited-file-modtime]:
4407 [verify-visited-file-modtime]: Add handler.
4408 (with-tramp-gvfs-error-message)
4409 (tramp-gvfs-handle-set-visited-file-modtime)
4410 (tramp-gvfs-fuse-file-name): Remove.
4411 (tramp-gvfs-handle-file-notify-add-watch)
4412 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4413 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4414
44e18199
JB
4415 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4416 Order alphabetically.
a43dc424
MA
4417 [file-notify-rm-watch ]: Use default Tramp handler.
4418 [executable-find]: Remove private handler.
4419 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4420 `default-directory'.
4421 (tramp-sh-handle-executable-find)
4422 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4423 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4424 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4425 Do not use `format' in `tramp-message'.
4426
4427 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4428 [file-notify-rm-watch, set-visited-file-modtime]:
4429 [verify-visited-file-modtime]: Add handler.
4430 (tramp-smb-call-winexe): Do not bind `default-directory'.
4431
7188b515
XF
44322013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4433
4434 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4435
2412ee1a
DG
44362013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4437
4438 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4439 use it.
4440 (log-view-diff-changeset): Same.
4441 (log-view-diff-common): Call backend command `previous-revision'
4442 to find out the previous revision, in both cases. Swap the
4443 variables `to' and `fr', so that `fr' usually refers to the
4444 earlier revision (Bug#14989).
4445
5002a754
KRC
44462013-07-31 Kan-Ru Chen <kanru@kanru.info>
4447
4448 * ibuf-ext.el (ibuffer-filter-by-filename):
4449 Make it work with dired buffers too.
4450
44e18199 44512013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4452
4453 * emacs-lisp/re-builder.el (reb-color-display-p):
4454 * files.el (save-buffers-kill-terminal):
4455 * net/browse-url.el (browse-url):
4456 * server.el (server-save-buffers-kill-terminal):
4457 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4458 Prefer nil to selected-frame for the first arg of frame-parameter.
4459
aeca3fbb
XF
44602013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4461
4462 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4463
158bc55c
SB
44642013-07-30 Stephen Berman <stephen.berman@gmx.net>
4465
4466 * minibuffer.el (completion--twq-all): Try and preserve each
4467 completion's case choice (bug#14907).
4468
d50fceab
LMI
44692013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4470
ac38e731
LMI
4471 * net/network-stream.el (open-network-stream): Mention the new
4472 :nogreeting parameter.
4473 (network-stream-open-starttls): Use the :nogreeting parameter
4474 (bug#14938).
4475
1211de50
LMI
4476 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4477
997798bf
LMI
4478 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4479 more natural than popping.
4480
d50fceab 4481 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4482 (shr-urlify): Highlight under mouse.
d50fceab 4483
5c09de04
XF
44842013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4485
207d1d04
XF
4486 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4487
4488 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4489
5c09de04
XF
4490 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4491 buffer for output.
4492
3cd51eaa
XF
4493 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4494 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4495
44e18199 4496 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4497 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4498
4499 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4500
4501 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4502 buffer for output.
4503
35a89bdd
EZ
45042013-07-29 Eli Zaretskii <eliz@gnu.org>
4505
4506 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4507 initial frame is minibuffer-less. (Bug#14841)
4508
78822e94
MA
45092013-07-29 Michael Albinus <michael.albinus@gmx.de>
4510
4511 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4512 option.
4513
4514 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4515 (tramp-maybe-open-connection): Use it.
4516
9503c190
JB
45172013-07-28 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4520 minimal set of parameters passed when creating a frame, because
4521 the minibuffer status of a frame cannot be changed later.
4522
d5a845b4
SB
45232013-07-28 Stephen Berman <stephen.berman@gmx.net>
4524
4525 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4526 replace-regexp-in-string and inadvertent omissions in previous change.
4527 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4528 name of filtered items buffer.
d5a845b4 4529
ddeffb17
JB
45302013-07-28 Juanma Barranquero <lekktu@gmail.com>
4531
4532 * desktop.el: Optionally force offscreen frames back onscreen.
4533 (desktop-restoring-reuses-frames): New option.
4534 (desktop--compute-pos, desktop--move-onscreen): New functions.
4535 (desktop--make-frame): Use desktop--move-onscreen.
4536
f5950f7a
AM
45372013-07-27 Alan Mackenzie <acm@muc.de>
4538
4539 Fontify a Java generic method as a function.
4540 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4541 value to t.
4542
ae43b66a
SB
45432013-07-27 Stephen Berman <stephen.berman@gmx.net>
4544
4545 * calendar/todo-mode.el: Add command to rename todo files.
4546 (todo-rename-file): New command.
4547 (todo-key-bindings-t): Add key binding for it. Change the
4548 bindings of todo-filter-regexp-items(-multifile) to use `x'
4549 instead of `r', since the latter is better suited to the new
4550 renaming command.
4551
5ab78d3d
AM
45522013-07-27 Alan Mackenzie <acm@muc.de>
4553
4554 Make Java try-with-resources statement parse properly.
4555 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4556 (c-block-stmt-1-2-key): New language constants/variables.
4557 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4558 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4559 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4560 with c-block-stmt-1-2-key.
5ab78d3d 4561
d85c4d50
JB
45622013-07-27 Juanma Barranquero <lekktu@gmail.com>
4563
4564 * desktop.el (desktop--make-frame): Apply most frame parameters after
4565 creating the frame to force (partially or totally) offscreen frames to
4566 be restored as such.
4567
e4c467f9
XF
45682013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4569
4570 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4571 (Bug#14948)
e4c467f9 4572
7ced0d04
SM
45732013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4576 `base' arg of backtrace-frame.
4577
fec92060
EZ
45782013-07-26 Eli Zaretskii <eliz@gnu.org>
4579
4580 * simple.el (list-processes): Doc fix.
4581
d58d31fb
JB
45822013-07-26 Juanma Barranquero <lekktu@gmail.com>
4583
4584 * desktop.el (desktop--select-frame):
d85c4d50 4585 Try harder to reuse existing frames.
d58d31fb 4586
53ff3e77
SM
45872013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4590 (edebug-eval): Use backtrace-eval.
4591 (edebug--display, edebug--recursive-edit): Don't let-bind the
4592 edebug-outer-* vars that keep track of variables we locally let-bind.
4593 (edebug-outside-excursion): Don't restore outside values of locally
4594 let-bound vars.
4595 (edebug--display): Use user-error.
4596 (cl-lexical-debug, cl-debug-env): Remove.
4597
045f7a53
JB
45982013-07-26 Juanma Barranquero <lekktu@gmail.com>
4599
4600 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4601 are restored to be sure that they are visible before deleting any
4602 remaining ones.
4603
59070b32
MM
46042013-07-26 Matthias Meulien <orontee@gmail.com>
4605
742a3501
XF
4606 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4607 vc-print-root-log. (Bug#14948)
59070b32 4608
b1fb3596
RS
46092013-07-26 Richard Stallman <rms@gnu.org>
4610
4611 Add aliases for encrypting mail.
4612 * epa.el (epa-mail-aliases): New option.
4613 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4614 Bind inhibit-read-only so read-only text doesn't ruin everything.
4615 (epa-mail-default-recipients): New subroutine broken out.
4616 Handle epa-mail-aliases.
4617
56ea7291
SM
46182013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 Add support for lexical variables to the debugger's `e' command.
4621 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4622 vars, except for debugger-outer-match-data.
4623 (debugger-frame-number): Move check for "on a function call" from
4624 callers into it. Add `skip-base' argument.
4625 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4626 (debugger-env-macro): Only reset the state stored in non-variables,
4627 i.e. current-buffer and match-data.
4628 (debugger-eval-expression): Rewrite using backtrace-eval.
4629 * subr.el (internal--called-interactively-p--get-frame): Remove.
4630 (called-interactively-p):
4631 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4632 `base' arg of backtrace-frame instead.
4633
15ac32d5
GM
46342013-07-26 Glenn Morris <rgm@gnu.org>
4635
8358a09d
GM
4636 * align.el (align-regexp): Doc fix. (Bug#14857)
4637 (align-region): Explicit error if subexpression missing/does not match.
4638
15ac32d5
GM
4639 * simple.el (global-visual-line-mode):
4640 Do not duplicate the mode lighter. (Bug#14858)
4641
f47ad11b
MR
46422013-07-25 Martin Rudalics <rudalics@gmx.at>
4643
4644 * window.el (display-buffer): In display-buffer bind
4645 split-window-keep-point to t, bug#14829.
4646
02530987
JB
46472013-07-25 Juanma Barranquero <lekktu@gmail.com>
4648
4649 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4650 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4651 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4652 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4653 Change accordingly.
f63ebeb5
JB
4654 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4655 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4656
6ccb9cab 46572013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4658
6ccb9cab 4659 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4660
cb3a56d2
JB
46612013-07-25 Juanma Barranquero <lekktu@gmail.com>
4662
4663 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4664 parameter to modify-frame-parameters if the value has not changed;
4665 this is a workaround for bug#14949.
4666 (desktop--make-frame): On cl-delete-if call, check parameter name,
4667 not full parameter.
4668
7aa7fff0
XF
46692013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4670
4671 * vc/vc.el (vc-ignore): New function.
4672
4673 * vc/vc-svn.el (vc-svn-ignore): New function.
4674
4675 * vc/vc-hg.el (vc-hg-ignore): New function.
4676
4677 * vc/vc-git.el (vc-git-ignore): New function.
4678
4679 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4680 (vc-dir-ignore): New function.
4681
4682 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4683 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4684
4685 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4686
4687 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4688
889acc5c
JB
46892013-07-24 Juanma Barranquero <lekktu@gmail.com>
4690
4691 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4692 (desktop-restore-frames): Warn when deleting an existing frame failed.
4693
86c40970
GM
46942013-07-24 Glenn Morris <rgm@gnu.org>
4695
4696 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4697
d5d3c58a
MA
46982013-07-24 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * filenotify.el (file-notify-supported-p):
4701 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4702 Remove functions.
4703
4704 * autorevert.el (auto-revert-use-notify):
4705 (auto-revert-notify-add-watch):
4706 * net/tramp.el (tramp-file-name-for-operation):
4707 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4708 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4709 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4710 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4711 Remove `file-notify-supported-p' entry.
4712
d100084b
GM
47132013-07-24 Glenn Morris <rgm@gnu.org>
4714
4715 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4716 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4717
ac93e56b
SM
47182013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4719
249eea30
SM
4720 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4721 checked with memq (bug#14935).
4722
ac93e56b
SM
4723 * files.el (revert-buffer-function): Use a non-nil default.
4724 (revert-buffer-preserve-modes): Declare var to
4725 provide access to the `preserve-modes' argument.
4726 (revert-buffer): Let-bind it.
4727 (revert-buffer--default): New function, extracted from revert-buffer.
4728
2cdeb903
SM
47292013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * lpr.el: Signal print errors more prominently.
4732 (print-region-function): Don't default to nil.
4733 (lpr-print-region): New function, extracted from print-region-1.
4734 Check lpr's return value and signal an error in case of problem.
4735 (print-region-1): Use it.
4736 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4737 versions instead.
4738 (ps-printer-name): Default to nil.
4739 (ps-printer-name-option): Default to lpr-printer-switch.
4740 (ps-print-region-function): Don't default to nil.
4741 (ps-postscript-code-directory): Simplify default.
4742 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4743 (ps-string-list, ps-eval-switch, ps-flatten-list)
4744 (ps-flatten-list-1): Remove.
4745 (ps-multibyte-buffer): Avoid setq.
4746 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4747 (print-region-function, ps-print-region-function): Don't set them here.
4748
73600831
XF
47492013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4750
0e55c076
XF
4751 * ido.el (ido-fractionp):
4752 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4753 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4754 (ido-max-directory-size, ido-max-dir-file-cache)
4755 (ido-decorations): Doc fix.
4756
73600831
XF
4757 * ansi-color.el: Fix old URL.
4758
3d012865
MM
47592013-07-23 Michael R. Mauger <michael@mauger.com>
4760
e903c210 4761 * progmodes/sql.el: Version 3.3
3d012865
MM
4762 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4763 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4764 (sql-interactive-remove-continuation-prompt): Rewrite, use
4765 functions above. Fix continuation prompt and complete output line
4766 handling.
4767 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4768 redirected output buffer.
4769 (sql-mode): Restore deleted code (Bug#13591).
4770
da77a2e2
JB
47712013-07-23 Juanma Barranquero <lekktu@gmail.com>
4772
4773 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4774
80ff0c71
MA
47752013-07-23 Michael Albinus <michael.albinus@gmx.de>
4776
4777 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4778
4779 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4780 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4781 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4782
b61d71e4
JB
47832013-07-23 Juanma Barranquero <lekktu@gmail.com>
4784
4785 * desktop.el (desktop-clear): Simplify; remove useless checks
4786 against invalid buffer names.
4787 (desktop-list*): Use cl-list*.
4788 (desktop-buffer-info, desktop-create-buffer): Simplify.
4789
c3512092
LL
47902013-07-23 Leo Liu <sdl.web@gmail.com>
4791
4792 * bookmark.el (bookmark-make-record): Restore NAME as a default
4793 value. (Bug#14933)
4794
0ac26976
SM
47952013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4796
7d22ce18
SM
4797 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4798 extracted from autoload--insert-text.
4799 (autoload--insert-text): Remove.
4800 (autoload--print-cookie-text): New function, extracted from
4801 autoload--insert-cookie-text.
4802 (autoload--insert-cookie-text): Remove.
4803 (autoload-generate-file-autoloads): Adjust calls accordingly.
4804
9b2607e8
SM
4805 * winner.el (winner-hook-installed-p): Remove.
4806 (winner-mode): Simplify accordingly.
4807
c43a8618
SM
4808 * subr.el (add-to-list): Fix compiler-macro when `append' is
4809 not constant. Don't use `cl-member' for the base case.
4810
0ac26976
SM
4811 * progmodes/subword.el: Fix boundary case (bug#13758).
4812 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4813 own group.
4814 (subword-backward-regexp): Make it a constant.
4815 (subword-forward-internal): Don't treat a trailing capital as the
4816 beginning of a word.
4817
6874724a
AR
48182013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4819
4820 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4821 global value of tabulated-list-revert-hook (bug#14930).
4822
70f1b5e8
JB
48232013-07-22 Juanma Barranquero <lekktu@gmail.com>
4824
a1c80d9d
JB
4825 * desktop.el: Require 'cl-lib.
4826 (desktop-before-saving-frames-functions): New hook.
4827 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4828 for frames being saved. Rename from desktop--save-minibuffer-frames.
4829 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4830 Do not save frames with non-nil `desktop-dont-save' parameter.
4831 Filter out deleted frames.
a1c80d9d
JB
4832 (desktop--find-frame): Use cl-find-if.
4833 (desktop--select-frame): Use cl-(first|second|third) to access values
4834 of desktop-mini.
4835 (desktop--make-frame): Use cl-delete-if.
4836 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4837 (desktop-restore-frames): Use cl-(first|second|third) to access values
4838 of desktop-mini. Look for visible frame at the end, not while
4839 restoring frames.
4840
70f1b5e8
JB
4841 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4842 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4843 Use string-match-p, looking-at-p (bug#14927).
4844
728dc3cc
JB
48452013-07-21 Juanma Barranquero <lekktu@gmail.com>
4846
56bc453c
JB
4847 * desktop.el (desktop-saved-frame-states):
4848 Rename from desktop--saved-states; all users changed.
4849 (desktop-save-frames): Rename from desktop--save-frames.
4850 Do not save state to desktop file.
4851 (desktop-save): Save desktop-saved-frame-states to desktop file
4852 and reset to nil.
4853 (desktop-restoring-frames-p): New function.
4854 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4855 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4856 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4857
728dc3cc
JB
4858 * desktop.el: Correctly restore iconified frames.
4859 (desktop--filter-iconified-position): New function.
4860 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4861
862f1c9c
GM
48622013-07-20 Glenn Morris <rgm@gnu.org>
4863
c4074c9f
GM
4864 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4865 Let `message' do the formatting.
4866 (def-gdb-preempt-display-buffer): Add explicit format.
4867
d828e5f9
GM
4868 * image-dired.el (image-dired-track-original-file):
4869 Use with-current-buffer.
4870 (image-dired-track-thumbnail): Use with-current-buffer.
4871 Avoid changing point of wrong window.
4872
862f1c9c
GM
4873 * image-dired.el (image-dired-track-original-file):
4874 Avoid changing point of wrong window. (Bug#14909)
4875
f0398ec1 48762013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4877
4878 * progmodes/gdb-mi.el (gdb-done-or-error):
4879 Guard against "%" in gdb output. (Bug#14127)
4880
1451928f
AS
48812013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4882
763a086d
JB
4883 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4884 (Bug#14826)
f7a03897 4885
1451928f
AS
4886 * international/mule.el (coding-system-iso-2022-flags): Fix last
4887 change.
4888
99107004
KH
48892013-07-20 Kenichi Handa <handa@gnu.org>
4890
763a086d
JB
4891 * international/mule.el (coding-system-iso-2022-flags):
4892 Add `8-bit-level-4'. (Bug#8522)
99107004 4893
48494e06
LMI
48942013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4895
8ba8eec5
LMI
4896 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4897 (bug#14815).
4898
dfbc66e3
LMI
4899 * net/eww.el (eww-process-text-input): Allow inputting when the
4900 point is at the start of the line, as the properties aren't
4901 front-sticky.
4902
48494e06
LMI
4903 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4904 degenerate widths.
4905
77c92cb9
RS
49062013-07-19 Richard Stallman <rms@gnu.org>
4907
aec7da77
RS
4908 * epa.el (epa-popup-info-window): Doc fix.
4909
77c92cb9
RS
4910 * subr.el (split-string): New arg TRIM.
4911
945c5bb1
JB
49122013-07-18 Juanma Barranquero <lekktu@gmail.com>
4913
4914 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4915 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4916
e06ec67f
MA
49172013-07-18 Michael Albinus <michael.albinus@gmx.de>
4918
c7064f05 4919 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4920 `file-notify-support'. Do not autoload. Adapt all uses.
4921 (file-notify-supported-p): New defun.
4922
c7064f05
JB
4923 * autorevert.el (auto-revert-use-notify):
4924 Use `file-notify-supported-p' instead of `file-notify-support'.
4925 Adapt docstring.
e06ec67f
MA
4926 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4927
4928 * net/tramp.el (tramp-file-name-for-operation):
4929 Add `file-notify-supported-p'.
4930
4931 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4932 New defun.
4933 (tramp-sh-file-name-handler-alist): Add it as handler for
4934 `file-notify-supported-p '.
4935
4936 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4937 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4938 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4939 Add `ignore' as handler for `file-notify-*' functions.
4940
5dc8a629
EZ
49412013-07-17 Eli Zaretskii <eliz@gnu.org>
4942
4943 * simple.el (line-move-partial, line-move): Don't start vscroll or
4944 scroll-up if the current line is not taller than the window.
4945 (Bug#14881)
4946
77aea2fb
DG
49472013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4948
4949 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4950 highlight question marks in the method names as strings.
ac72c08d
DG
4951 (ruby-block-beg-keywords): Inline.
4952 (ruby-font-lock-keyword-beg-re): Extract from
4953 `ruby-font-lock-keywords'.
77aea2fb 4954
18c26d81
JD
49552013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4956
4957 * frame.el (blink-cursor-blinks): New defcustom.
4958 (blink-cursor-blinks-done): New defvar.
4959 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4960 (blink-cursor-timer-function): Check if number of blinks has been
4961 done on X and NS.
4962 (blink-cursor-suspend, blink-cursor-check): New defuns.
4963
da48522e
GM
49642013-07-15 Glenn Morris <rgm@gnu.org>
4965
4966 * edmacro.el (edmacro-format-keys): Fix previous change.
4967
0463c1ef
PE
49682013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4969
4970 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4971 The hack didn't work outside English locales anyway.
4972
b43f6451
JB
49732013-07-15 Juanma Barranquero <lekktu@gmail.com>
4974
4975 * simple.el (define-alternatives): Rename from alternatives-define,
4976 per RMS' suggestion.
4977
b958c0ad
JB
49782013-07-14 Juanma Barranquero <lekktu@gmail.com>
4979
4980 * desktop.el (desktop-restore-frames): Change default to t.
4981 (desktop-restore-in-current-display): Now offer more options.
4982 (desktop-restoring-reuses-frames): New customization option.
4983 (desktop--saved-states): Doc fix.
4984 (desktop-filter-parameters-alist): New variable, renamed and expanded
4985 from desktop--excluded-frame-parameters.
4986 (desktop--target-display): New variable.
4987 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4988 (desktop--filter-tty*, desktop--filter-*-color)
4989 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4990 (desktop--filter-save-desktop-parm)
4991 (desktop-restore-in-original-display-p): New functions.
4992 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4993 (desktop--save-minibuffer-frames): New function, inspired by a similar
4994 function from Martin Rudalics.
4995 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4996 (desktop--restore-in-this-display-p): Remove.
4997 (desktop--find-frame): Rename from desktop--find-frame-in-display
4998 and add predicate argument.
4999 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5000 (desktop--reuse-list): New variable.
5001 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5002 New functions.
5003 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5004
f6dd8b36
MA
50052013-07-14 Michael Albinus <michael.albinus@gmx.de>
5006
5007 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5008
2ce3c565
DG
50092013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5010
763a086d
JB
5011 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5012 Highlight conversion methods on Kernel.
2ce3c565 5013
2cdb7698
AM
50142013-07-13 Alan Mackenzie <acm@muc.de>
5015
5016 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5017 and comment it out. This out-commenting enables certain C++
5018 declarations to be parsed correctly.
5019
1a67b811
EZ
50202013-07-13 Eli Zaretskii <eliz@gnu.org>
5021
1b796d6b
EZ
5022 * international/mule.el (define-coding-system): Doc fix.
5023
1a67b811
EZ
5024 * simple.el (default-font-height): Don't call font-info if the
5025 frame's default font didn't change since the frame was created.
5026 (Bug#14838)
5027
58fbe886
LL
50282013-07-13 Leo Liu <sdl.web@gmail.com>
5029
5030 * ido.el (ido-read-file-name): Guard against non-symbol value.
5031
1f0480d4
FEG
50322013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5033
5034 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5035 in nested defuns.
5036
97ead0e5
LL
50372013-07-13 Leo Liu <sdl.web@gmail.com>
5038
5039 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5040 ido-set-matches call. (Bug#6852)
5041
0880a952
DG
50422013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5043
5044 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5045 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5046 Ruby 2.0.
5047 (ruby-font-lock-keywords): Distinguish calls to functions with
5048 module-like names from module references. Highlight character
5049 literals.
5050
a7d8babb
SDJ
50512013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5052
5053 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5054 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5055
acfcc8c5
JB
50562013-07-12 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * desktop.el (desktop--v2s): Remove unused local variable.
5059 (desktop-save-buffer): Make defvar-local; adjust docstring.
5060 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5061 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5062
051f2775
AS
50632013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5064
5065 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5066
f24e7572
GM
50672013-07-12 Eli Zaretskii <eliz@gnu.org>
5068
5069 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5070 (Bug#14842)
5071
539a920c
GM
50722013-07-12 Glenn Morris <rgm@gnu.org>
5073
5074 * doc-view.el: Require cl-lib at runtime too.
5075 (doc-view-remove-if): Remove.
5076 (doc-view-search-next-match, doc-view-search-previous-match):
5077 Use cl-remove-if.
5078
5079 * edmacro.el: Require cl-lib at runtime too.
5080 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5081 (edmacro-mismatch, edmacro-subseq): Remove.
5082
5083 * shadowfile.el: Require cl-lib.
5084 (shadow-remove-if): Remove.
5085 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5086 Use cl-remove-if.
5087
5088 * wid-edit.el: Require cl-lib.
5089 (widget-choose): Use cl-remove-if.
5090 (widget-remove-if): Remove.
5091
5092 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5093 (ebrowse-delete-if-not): Remove.
5094 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5095 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5096 Use cl-delete-if-not.
5097
1048af7c
JB
50982013-07-12 Juanma Barranquero <lekktu@gmail.com>
5099
5100 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5101 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5102
6c0674ee
LL
51032013-07-12 Leo Liu <sdl.web@gmail.com>
5104
5105 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5106
a19b3c2d
GM
51072013-07-11 Glenn Morris <rgm@gnu.org>
5108
4582a01c
GM
5109 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5110 (edebug-gensym-index, edebug-gensym):
5111 Remove reimplementation of cl-gensym.
5112 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5113
5114 * thumbs.el: Require cl-lib at run-time too.
5115 (thumbs-gensym-counter, thumbs-gensym):
5116 Remove reimplementation of cl-gensym.
5117 (thumbs-temp-file): Use cl-gensym.
5118
a19b3c2d
GM
5119 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5120 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5121 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5122 (ert--union, ert--gensym-counter, ert--gensym-counter)
5123 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5124 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5125 (ert-make-test-unbound, ert--expand-should-1)
5126 (ert--expand-should, ert--should-error-handle-error)
5127 (should-error, ert--explain-equal-rec)
5128 (ert--plist-difference-explanation, ert-select-tests)
5129 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5130 Use cl-lib functions rather than reimplementations.
5131
88f6a933
MA
51322013-07-11 Michael Albinus <michael.albinus@gmx.de>
5133
5134 * net/tramp.el (tramp-methods): Extend docstring.
5135 (tramp-connection-timeout): New defcustom.
5136 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5137 (with-tramp-progress-reporter): Simplify.
5138 (tramp-process-actions): Improve messages.
5139
5140 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5141 * net/tramp-sh.el (tramp-maybe-open-connection):
5142 Use `tramp-connection-timeout'.
5143 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5144 (Bug#14808)
5145
a43d577e
LL
51462013-07-11 Leo Liu <sdl.web@gmail.com>
5147
5148 * ido.el (ido-read-file-name): Conform to the requirements of
5149 read-file-name. (Bug#11861)
5150 (ido-read-directory-name): Conform to the requirements of
5151 read-directory-name.
5152
d77974bf
JB
51532013-07-11 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * subr.el (delay-warning): New function.
5156
35cb8a3e
EZ
51572013-07-10 Eli Zaretskii <eliz@gnu.org>
5158
5159 * simple.el (default-line-height): New function.
5160 (line-move-partial, line-move): Use it instead of computing the
5161 line height inline.
5162 (line-move-partial): Always compute ROWH. If the last line is
5163 partially-visible, but its text is completely visible, allow
5164 cursor to enter such a partially-visible line.
5165
525c5c77
MA
51662013-07-10 Michael Albinus <michael.albinus@gmx.de>
5167
5168 Improve error messages. (Bug#14808)
5169
5170 * net/tramp.el (tramp-current-connection): New defvar, moved from
5171 tramp-sh.el.
0ac26976 5172 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5173 needed anymore.
0ac26976
SM
5174 (tramp-error-with-buffer): Show message in minibuffer.
5175 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5176 (with-tramp-progress-reporter): Improve messages.
5177 (tramp-process-actions): Use progress reporter. Delete process in
5178 case of error. Improve messages.
5179
763a086d
JB
5180 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5181 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5182 (tramp-current-connection): Remove.
525c5c77
MA
5183 (tramp-maybe-open-connection): The car of
5184 `tramp-current-connection' are the first 3 slots of the vector.
5185
c7a4d368
TZ
51862013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5187
5188 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5189 inside continued strings.
5190
954b166e
PE
51912013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5192
5193 Timestamp fixes for undo (Bug#14824).
5194 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5195
56973319
LL
51962013-07-10 Leo Liu <sdl.web@gmail.com>
5197
5198 * files.el (require-final-newline): Allow safe local value.
5199 (Bug#14834)
5200
5550a72c
LL
52012013-07-09 Leo Liu <sdl.web@gmail.com>
5202
5203 * ido.el (ido-read-directory-name): Handle fallback.
5204 (ido-read-file-name): Update DIR to ido-current-directory.
5205 (Bug#1516)
c28b9050 5206 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5207
70c46b28
DG
52082013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5209
5210 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5211 "autoload". Remove "warn lower camel case" section, previously
5212 commented out. Highlight negation char. Do not highlight the
5213 target in singleton method definitions.
5214
0b64b838
SM
52152013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5216
7fd72e2c
SM
5217 * faces.el (tty-setup-hook): Declare the hook.
5218
0b64b838
SM
5219 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5220 and detect when a guard/pred depends on local vars (bug#14773).
5221 (pcase--u1): Adjust caller.
5222
ab49d60b
EZ
52232013-07-08 Eli Zaretskii <eliz@gnu.org>
5224
5225 * simple.el (line-move-partial, line-move): Account for
5226 line-spacing.
701d79aa
EZ
5227 (line-move-partial): Avoid setting vscroll when the last
5228 partially-visible line in window is of default height.
ab49d60b 5229
2d756ae0
LMI
52302013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5231
5232 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5233 been used a while.
5234
ed095bd7
JB
52352013-07-07 Juanma Barranquero <lekktu@gmail.com>
5236
5237 * subr.el (read-quoted-char): Remove unused local variable `char'.
5238
f1e6674b
MK
52392013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5240
584ee3fc
GM
5241 * ediff.el (ediff-version): Version update.
5242 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5243 (ediff-merge-with-ancestor-command, ediff-directories-command)
5244 (ediff-directories3-command, ediff-merge-directories-command)
5245 (ediff-merge-directories-with-ancestor-command): New functions.
5246 All are command-line interfaces to ediff: to facilitate calling
5247 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5248
5249 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5250 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5251
584ee3fc
GM
5252 * viper.el (viper-version): Version update.
5253 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5254
584ee3fc
GM
52552013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5258 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5259 (viper-intercept-ESC-key): Simplify.
5260 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5261 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5262 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5263 (viper-setup-ESC-to-escape): New functions.
5264 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5265 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5266
9aff9b38
EZ
52672013-07-07 Eli Zaretskii <eliz@gnu.org>
5268
5165d44a
JB
5269 * simple.el (default-font-height, window-screen-lines):
5270 New functions.
9aff9b38
EZ
5271 (line-move, line-move-partial): Use them instead of
5272 frame-char-height and window-text-height. This makes scrolling
5273 text smoother when the buffer's default face uses a font that is
5274 different from the frame's default font.
5275
1afb1d07
JD
52762013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5277
5278 * files.el (write-file): Do not display confirm dialog for NS,
5279 it does its own dialog, which can't be cancelled (Bug#14578).
5280
23de972a
EZ
52812013-07-06 Eli Zaretskii <eliz@gnu.org>
5282
5283 * simple.el (line-move-partial): Adjust the row returned by
5284 posn-at-point for the current window-vscroll. (Bug#14567)
5285
54a42486
MA
52862013-07-06 Michael Albinus <michael.albinus@gmx.de>
5287
5288 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5289 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5290 spaces.
5291
34ada5f4
MR
52922013-07-06 Martin Rudalics <rudalics@gmx.at>
5293
5294 * window.el (window-state-put-stale-windows): New variable.
5295 (window--state-put-2): Save list of windows without matching buffer.
5296 (window-state-put): Remove "bufferless" windows if possible.
5297
11e03d89
JB
52982013-07-06 Juanma Barranquero <lekktu@gmail.com>
5299
5300 * simple.el (alternatives-define): Remove leftover :group keyword.
5301 Tweak docstring.
5302
3504a4be
LL
53032013-07-06 Leo Liu <sdl.web@gmail.com>
5304
5305 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5306 (ido-enable-virtual-buffers): New variable.
5307 (ido-buffer-internal, ido-toggle-virtual-buffers)
5308 (ido-make-buffer-list): Use it.
5309 (ido-exhibit): Support turning on and off virtual buffers
5310 automatically.
5311
61e56e2c
JB
53122013-07-06 Juanma Barranquero <lekktu@gmail.com>
5313
5314 * simple.el (alternatives-define): New macro.
5315
321e1a9c
SM
53162013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * subr.el (read-quoted-char): Use read-key.
5319 (sit-for): Let read-event decode tty input (bug#14782).
5320
d610f6dd
SB
53212013-07-05 Stephen Berman <stephen.berman@gmx.net>
5322
5323 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5324 mode command and externally. Fix various related bugs.
5325 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5326 (todo-delete-file): New command.
5327 (todo-check-file): New function.
5328 (todo-show): Handle external deletion of the file we're trying to
5329 show (bug#14688). Replace called-interactively-p by an optional
5330 prefix argument to avoid problematic interaction with catch form
5331 when byte compiled (bug#14702).
5332 (todo-quit): Handle external deletion of the archive's todo file.
5333 Make sure the buffer that was visiting the archive file is still
5334 live before trying to bury it.
5335 (todo-category-completions): Handle external deletion of any
5336 category completion files.
5337 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5338 of todo files, in case of external deletion.
5339 (todo-add-file): Replace unnecessary setq by let-binding.
5340 (todo-find-archive): Check whether there are any archives.
5341 Replace unnecessary setq by let-binding.
5342 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5343 archive buffer whether or not the archive already exists.
5344 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5345 check if the archive is new; if it is, update list of archives.
5346 (todo-default-todo-file): Allow nil to be a valid value for when
5347 there are no todo files.
5348 (todo-reevaluate-default-file-defcustom): Use corrected definition
5349 of todo-default-todo-file.
5350 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5351 (todo-delete-category, todo-show-categories-table)
5352 (todo-category-number): Clarify comment.
5353 (todo-filter-items): Clarify documentation string.
5354 (todo-show-current-file, todo-display-as-todo-file)
5355 (todo-reset-and-enable-done-separator): Tweak documentation string.
5356 (todo-done-separator): Make separator length window-width, since
5357 bug#2749 is now fixed.
5358
ddbdfd6f
MA
53592013-07-05 Michael Albinus <michael.albinus@gmx.de>
5360
321e1a9c
SM
5361 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5362 Support both "gvfs-monitor-dir" and "inotifywait".
5363 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5364 `tramp-sh-file-notify-process-filter'.
5365 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5366 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5367
96eb829a
LL
53682013-07-05 Leo Liu <sdl.web@gmail.com>
5369
5370 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5371
cf13177e
YM
53722013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5373
5374 * frame.el (display-pixel-height, display-pixel-width)
5375 (display-mm-height, display-mm-width): Mention behavior on
5376 multi-monitor setups in docstrings.
5377 (w32-display-monitor-attributes-list): Declare function.
5378 (display-monitor-attributes-list): Use it.
5379
864c58ca
MA
53802013-07-04 Michael Albinus <michael.albinus@gmx.de>
5381
5382 * filenotify.el: New package.
5383
5384 * autorevert.el (top): Require filenotify.el.
5385 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5386 instead.
5387 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5388 (auto-revert-notify-handler): Use `file-notify-*' functions.
5389
5390 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5391
321e1a9c
SM
5392 * net/tramp.el (tramp-file-name-for-operation):
5393 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5394
5395 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5396 for `file-notify-add-watch' and `file-notify-rm-watch'.
5397 (tramp-process-sentinel): Improve trace.
5398 (tramp-sh-handle-file-notify-add-watch)
5399 (tramp-sh-file-notify-process-filter)
5400 (tramp-sh-handle-file-notify-rm-watch)
5401 (tramp-get-remote-inotifywait): New defuns.
5402
96673afe
JL
54032013-07-03 Juri Linkov <juri@jurta.org>
5404
5405 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5406 call of `occur-read-primary-args' to interactive spec.
5407
5408 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5409 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5410
924494f4
MM
54112013-07-03 Matthias Meulien <orontee@gmail.com>
5412
5413 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5414 `Buffer-menu-multi-occur'. Add it to the menu.
5415 (Buffer-menu-mode): Document it in docstring.
5416 (Buffer-menu-multi-occur): New command. (Bug#14673)
5417
56f75efc
DG
54182013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5419
5420 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5421 keywords and built-ins.
5422
9b057d61
GM
54232013-07-03 Glenn Morris <rgm@gnu.org>
5424
208dee4d
GM
5425 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5426
9b057d61
GM
5427 Make info-xref checks case-sensitive by default
5428 * info.el (Info-find-node, Info-find-in-tag-table)
5429 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5430 Add option for exact case matching of nodes.
5431 * info-xref.el (info-xref): New custom group.
5432 (info-xref-case-fold): New option.
5433 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5434
e01aa29c
LL
54352013-07-03 Leo Liu <sdl.web@gmail.com>
5436
5437 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5438
3086ca2e
DG
54392013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5440
5441 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5442 middle of block statement initially, lower the depth. Remove
5443 FIXME comment, not longer valid. Remove middle of block statement
5444 detection, no need to do that anymore since we've been using
5445 `ruby-parse-region' here.
5446
a3b49114
JD
54472013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5448
5449 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5450
08e5c823 54512013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5452
5453 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5454
2addf922
JB
54552013-07-01 Juanma Barranquero <lekktu@gmail.com>
5456
5457 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5458 (desktop-restore-in-current-display): New customization option.
5459 (desktop--excluded-frame-parameters): Add `font'.
5460 (desktop--save-frames): Rename from desktop--save-windows.
5461 (desktop--restore-in-this-display-p): New function.
5462 (desktop--make-full-frame): Remove unwanted width/height from
5463 full(width|height) frames.
5464 (desktop--restore-frames): Rename from desktop--restore-windows.
5465 Obey desktop-restore-current-display. Do not delete old frames or
5466 select a new frame unless we were able to restore at least one frame.
5467
ef099a94
MN
54682013-06-30 Michal Nazarewicz <mina86@mina86.com>
5469
5470 * files.el (find-file-noselect): Simplify conditional expression.
5471
5472 * remember.el (remember-append-to-file):
5473 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5474
5475 Add `remember-notes' function to store random notes across Emacs
5476 restarts.
5477 * remember.el (remember-data-file): Add :set callback to affect
5478 notes buffer (if any).
5479 (remember-notes): New command.
5480 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5481 New defcustoms for the `remember-notes' function.
5482 (remember-notes-save-and-bury-buffer): New command.
5483 (remember-notes-mode-map): New variable.
5484 (remember-mode): New minor mode.
5485 (remember-notes--kill-buffer-query): New function.
5486 * startup.el (initial-buffer-choice): Add notes to custom type.
5487
0865d506
EZ
54882013-06-30 Eli Zaretskii <eliz@gnu.org>
5489
0ba54312
EZ
5490 * bindings.el (right-char, left-char): Don't call sit-for, this is
5491 no longer needed. Use arithmetic comparison only for numerical
5492 arguments.
5493
ef099a94
MN
5494 * international/mule-cmds.el (select-safe-coding-system):
5495 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5496
2fae38e5
LMI
54972013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5498
5499 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5500 progression on degenerate tables.
ef099a94 5501 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5502
a47cbd64
JB
55032013-06-30 Juanma Barranquero <lekktu@gmail.com>
5504
5505 Some fixes and improvements for desktop frame restoration.
5506 It is still experimental and disabled by default.
5507 * desktop.el (desktop--save-windows): Put the selected frame at
5508 the head of the list.
5509 (desktop--make-full-frame): New function.
5510 (desktop--restore-windows): Try to re-select the frame that was
5511 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5512 just show an error message and continue. Set up maximized frames
5513 so they have default non-maximized dimensions.
a47cbd64 5514
6dbafa30
DG
55152013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5516
ef099a94
MN
5517 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5518 Don't start heredoc inside a string or comment.
6dbafa30 5519
4c672a0f
EZ
55202013-06-29 Eli Zaretskii <eliz@gnu.org>
5521
5522 * bindings.el (visual-order-cursor-movement): New defcustom.
5523 (right-char, left-char): Provide visual-order cursor motion by
5524 calling move-point-visually. Update the doc strings.
5525
50960f36
KH
55262013-06-28 Kenichi Handa <handa@gnu.org>
5527
5528 * international/mule.el (define-coding-system): New coding system
5529 properties :inhibit-null-byte-detection,
5530 :inhibit-iso-escape-detection, and :prefer-utf-8.
5531 (set-buffer-file-coding-system): If :charset-list property of
5532 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5533 appropriate for setting.
5534
c1ea3abf
JB
5535 * international/mule-cmds.el (select-safe-coding-system):
5536 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5537 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5538
5539 * international/mule-conf.el (prefer-utf-8): New coding system.
5540 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5541 files.
5542
75dbaf9d
IK
55432013-06-28 Ivan Kanis <ivan@kanis.fr>
5544
eadb6068
IK
5545 * net/shr.el (shr-render-region): New function.
5546
75dbaf9d
IK
5547 * net/eww.el: Autoload `eww-browse-url'.
5548
9ea5cf9f
DG
55492013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5550
c1ea3abf
JB
5551 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5552 Adapt to `package-desc-version' being a list.
5553 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5554 archive element.
5555
39c0e36f
JB
55562013-06-27 Juanma Barranquero <lekktu@gmail.com>
5557
5558 New experimental feature to save&restore window and frame setup.
5559 * desktop.el (desktop-save-windows): New defcustom.
5560 (desktop--saved-states): New var.
5561 (desktop--excluded-frame-parameters): New defconst.
5562 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5563 (desktop--restore-windows, desktop--save-windows): New functions.
5564 (desktop-save): Call `desktop--save-windows'.
5565 (desktop-read): Call `desktop--restore-windows'.
5566
7f13406b
LMI
55672013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5568
ef099a94 5569 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5570
1e072639
SB
55712013-06-27 Stephen Berman <stephen.berman@gmx.net>
5572
5573 * info.el (Info-try-follow-nearest-node): Move search for footnote
5574 above search for node name to prevent missing a footnote (bug#14717).
5575
f3e2cbde
SB
55762013-06-27 Stephen Berman <stephen.berman@gmx.net>
5577
5578 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5579
99906aa0
LL
55802013-06-27 Leo Liu <sdl.web@gmail.com>
5581
5582 * net/eww.el (eww-read-bookmarks): Check file size.
5583
539f75f4
SM
55842013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5587 advice--pending if newdef is nil or an autoload (bug#13820).
5588 (advice-mapc): New function.
5589
843571cb
LMI
55902013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5591
5592 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5593 probably.
23a75d7f 5594 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5595 (eww-add-bookmark): New command.
5596 (eww-bookmark-mode): New mode and commands.
a285ce99 5597 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5598 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5599
f2136e1e
GM
56002013-06-26 Glenn Morris <rgm@gnu.org>
5601
eab35f39
GM
5602 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5603 (hfy-size): Handle ttys. (Bug#14668)
5604
f2136e1e
GM
5605 * info-xref.el: Update for Texinfo 5 change in *note format.
5606 (info-xref-node-re, info-xref-note-re): New constants.
5607 (info-xref-check-buffer): Use info-xref-note-re.
5608
a49ff80c
SM
56092013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5610
a343d218
SM
5611 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5612
a49ff80c
SM
5613 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5614 nil terminate the loop (bug#14718).
5615
8308f184
LMI
56162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5617
5618 * net/eww.el: Rework history traversal. When going forward/back,
5619 put these actions into the history, too, so that they can be
5620 replayed.
26bf2b82 5621 (eww-render): Move the history reset to the correct buffer.
8308f184 5622
ec64c273
JL
56232013-06-25 Juri Linkov <juri@jurta.org>
5624
5625 * files-x.el (modify-dir-local-variable): Change the header comment
5626 in the file with directory local variables. (Bug#14692)
5627
e080a9d7
JL
5628 * files-x.el (read-file-local-variable-value): Add `default'.
5629 (Bug#14710)
5630
bfbc93a1
IK
56312013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5632
5633 * net/eww.el (eww-make-unique-file-name): Create a unique file
5634 name before saving to entering `y' accidentally asynchronously.
5635
56362013-06-25 Ivan Kanis <ivan@kanis.fr>
5637
5638 * net/eww.el (eww-download): New command and keystroke.
5639
16f74f10
LMI
56402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5641
a49ff80c 5642 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5643
5644 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5645 be more consistent with Info and dired.
5646
5647 * net/eww.el (eww-mode-map): Ditto.
5648
12059709
SM
56492013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5652 packages from archives.
5653 (package-archive-contents): Change format; include obsolete packages.
5654 (package-desc): Use `dir' to mark builtin packages.
5655 (package--from-builtin): Set the `dir' field to `builtin'.
5656 (generated-autoload-file, version-control): Declare.
5657 (package-compute-transaction): Change first arg and return value to be
5658 lists of package-descs. Adjust to new package-archive-contents format.
5659 (package--add-to-archive-contents): Adjust to new
5660 package-archive-contents format.
5661 (package-download-transaction): Arg is now a list of package-descs.
5662 (package-install): If `pkg' is a package name, pass it as
5663 a requirement, so it is subject to the usual (e.g. disabled) checks.
5664 (describe-package): Accept package-desc as well.
5665 (describe-package-1): Describe a specific package-desc. Add links to
5666 other package-descs for the same package name.
5667 (package-menu-describe-package): Pass the actual package-desc.
5668 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5669 works correctly.
5670 (package-desc-status): New function.
5671 (package-menu--refresh): New function, extracted
5672 from package-menu--generate.
5673 (package-menu--generate): Use it.
5674 (package-delete): Update package-alist.
5675 (package-menu-execute): Don't call package-initialize.
5676
5677 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5678 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5679 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5680 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5681 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5682 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5683
8bbdea0f
MR
56842013-06-25 Martin Rudalics <rudalics@gmx.at>
5685
5686 * window.el (window--state-get-1): Workaround for bug#14527.
5687 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5688
e82b0991
LMI
56892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5690
5691 * net/eww.el (eww-back-url): Implement the history by stashing all
5692 the data into a list.
d3f0f918 5693 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5694
c763842b
SM
56952013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5698 for values and use read--expression for expressions (bug#14710).
5699 (read-file-local-variable): Avoid setq.
5700 (read-file-local-variable-mode): Use minor-mode-list.
5701
bceff189
RW
57022013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5703
864c58ca 5704 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5705 for DOI URLs.
5706
45f431c6
RW
57072013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5708
864c58ca 5709 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5710 Update imenu-support when dialect changes.
5711
f42d8237
LL
57122013-06-25 Leo Liu <sdl.web@gmail.com>
5713
5714 * ido.el (ido-read-internal): Allow forward slash on windows.
5715
be549ce6
LMI
57162013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5717
5718 * net/eww.el (eww): Start of strings is \\`, not ^.
5719
71d4c19d
IK
57202013-06-24 Ivan Kanis <ivan@kanis.fr>
5721
5196f88a
IK
5722 * net/shr.el (shr-browse-url): Fix interactive spec.
5723
71d4c19d
IK
5724 * net/eww.el (eww): Add a trailing slash to domain names.
5725
ae36ca55
JB
57262013-06-24 Juanma Barranquero <lekktu@gmail.com>
5727
5728 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5729
0ebd92a3
LMI
57302013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5731
bdaa086b
LMI
5732 * net/shr.el (shr-browse-url): Use an external browser if given a
5733 prefix.
5734
c763842b 5735 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5736
b89fc156
IK
57372013-06-24 Ivan Kanis <ivan@kanis.fr>
5738
5739 * net/eww.el (eww): Work more correctly for file: URLs.
5740 (eww-detect-charset): Allow quoted charsets.
5741 (eww-yank-page-url): New command and keystroke.
5742
18eb4bca
DU
57432013-06-24 Daiki Ueno <ueno@gnu.org>
5744
5745 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5746 file name of gpg executable.
5747 (epg-context-program): New function.
5748 (epg-context-home-directory): New function.
5749 (epg-context-set-program): New function.
5750 (epg-context-set-home-directory): New function.
5751 (epg--start): Use `epg-context-program' instead of
5752 'epg-gpg-program'.
5753 (epg--list-keys-1): Likewise.
5754
6c6268c8
LL
57552013-06-24 Leo Liu <sdl.web@gmail.com>
5756
5757 * ido.el (ido-read-internal): Fix bug#14620.
5758
5e400cb3
JB
57592013-06-23 Juanma Barranquero <lekktu@gmail.com>
5760
5761 * faces.el (face-documentation): Simplify.
5762 (read-face-attribute, tty-find-type, x-resolve-font-name):
5763 Use `string-match-p'.
5764 (list-faces-display): Use `string-match-p'. Simplify.
5765 (face-spec-recalc): Check face to avoid face alias loops.
5766 (read-color): Use `string-match-p' and non-capturing parenthesis.
5767
f3f9606c
LMI
57682013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5769
5770 * net/shr.el (shr-rescale-image): Use the new
5771 :max-width/:max-height functionality.
5772
a3ca09b9
IK
57732013-06-23 Ivan Kanis <ivan@kanis.fr>
5774
5775 * net/eww.el (eww-search-prefix): New variable.
5776 (eww): Use it.
f865b474
IK
5777 (eww-external-browser): New variable.
5778 (eww-mode-map): New keystroke.
5779 (eww-browse-with-external-browser): New command.
a3ca09b9 5780
e854cfc7
IK
5781 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5782
18bb9e21
JB
57832013-06-23 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5786 Don't skip aligning the next header field when padding is 0;
5787 otherwise, field width is not respected unless the title is as
5788 wide as the field.
5789
5b165ade
SM
57902013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * emacs-lisp/package.el (package-el-version): Remove.
5793 (package-process-define-package): Fix inf-loop.
5794 (package-install): Allow symbols as arguments again.
5795
12adebe9
DG
57962013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5797
5798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5799 add some more keyword-like methods.
5800 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5801
388573ee
JB
58022013-06-22 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * bs.el (bs-buffer-show-mark): Make defvar-local.
5805 (bs-mode): Use setq-local.
5806
5807 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5808 (emacs-lock--try-unlocking): Make defvar-local.
5809
4582a01c 58102013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5811
2663dd23
GM
5812 * play/cookie1.el (cookie-apropos): Minor simplification.
5813
3d94f3ad
GM
5814 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5815
f72e2fdb
DG
58162013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5817
5818 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5819 `regexp-opt', it breaks the build during dumping.
5820
73eab938
DG
58212013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5822
c763842b
SM
5823 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5824 Highlight keyword-like methods on Kernel and Module with
73eab938 5825 font-lock-builtin-face.
5cf8176d
DG
5826 (auto-mode-alist): Consolidate different entries into one regexp
5827 and add more *file-s.
73eab938 5828
d26255f6
SB
58292013-06-21 Stephen Berman <stephen.berman@gmx.net>
5830
5831 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5832
5833 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5834 (diary-entry): Use it in the action of this button type instead of
5835 diary-goto-entry.
5836
5837 * calendar/todo-mode.el: New version.
5838 (todo-add-category): Append new category to end of file and give
5839 it the highest number, instead of putting it at the beginning and
5840 giving it 0. Incorporate noninteractive functionality.
5841 (todo-forward-category): Adapt to 1-based category numbering.
5842 Allow skipping over archived categories.
5843 (todo-backward-category): Derive from todo-forward-category.
5844 (todo-backward-item, todo-forward-item): Make noninteractive and
5845 delegate interactive part to new commands. Make sensitive to done items.
5846 (todo-categories): Make value an alist of category names and
5847 vectors of item counts.
5848 (todo-category-beg): Make a defconst.
5849 (todo-category-number): Use 1 instead of 0 as initial value.
5850 (todo-category-select): Make sensitive to overlays, optional item
5851 highlighting and done items.
5852 (todo-delete-item): Make sensitive to overlays and marked and done items.
5853 (todo-edit-item): Make sensitive to overlays and editing of
5854 date/time header optional. Add format checks.
5855 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5856 no-op if point is not on an item. Advertise using todo-edit-quit.
5857 (todo-edit-mode): Make sensitive to new format, font-locking, and
5858 multiple todo files.
5859 (todo-insert-item, todo-insert-item-here): Derive from
5860 todo-basic-insert-item and extend functionality.
5861 (todo-item-end, todo-item-start): Make sensitive to done items.
5862 (todo-item-string): Don't return text properties. Restore point.
5863 (todo-jump-to-category): Make sensitive to multiple todo files and
5864 todo archives. Use extended category completion.
5865 (todo-lower-item, todo-raise-item): Rename to *-priority and
5866 derive from todo-set-item-priority.
5867 (todo-mode): Derive from special-mode. Make sensitive to new
5868 format, font-locking and multiple todo files. Make read-only.
5869 (todo-mode-map): Don't suppress digit keys, so they can supply
5870 prefix arguments. Add many new key bindings.
5871 (todo-prefix): Insert as an overlay instead of file text.
5872 Change semantics from diary date expression to purely visual mark.
5873 (todo-print): Rename to todo-print-buffer. Make buffer display
5874 features printable. Remove option to restrict number of items
5875 printed. Add option to print to file.
5876 (todo-print-function): Rename to todo-print-buffer-function.
5877 (todo-quit): Extend to handle exiting new todo modes.
5878 (todo-remove-item): Make sensitive to overlays.
5879 (todo-save): Extend to buffers of filtered items.
5880 (todo-show): Make sensitive to done items, multiple todo files and
5881 new todo modes. Offer to convert legacy todo file before creating
5882 first new todo file.
5883 (todo-show-priorities): Rename to todo-top-priorities.
5884 Change semantics of value 0.
5885 (todo-top-priorities): Rename to todo-filter-top-priorities,
5886 derive from todo-filter-items and extend functionality.
5887 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5888 and extend functionality to other types of filtered items.
5889 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5890 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5891 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5892 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5893 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5894 (todo-edit-mode-hook, todo-entry-prefix-function)
5895 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5896 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5897 (todo-initials, todo-insert-threshold, todo-item-string-start)
5898 (todo-line-string, todo-menu, todo-mode-hook)
5899 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5900 (todo-print-priorities, todo-remove-separator)
5901 (todo-save-top-priorities-too, todo-string-count-lines)
5902 (todo-string-multiline-p, todo-time-string-format)
5903 (todo-tmp-buffer-name): Remove.
5904 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5905 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5906 (todo-edit-category-diary-inclusion)
5907 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5908 (todo-edit-file, todo-edit-item-date-day)
5909 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5910 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5911 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5912 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5913 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5914 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5915 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5916 (todo-filter-top-priorities-multifile, todo-find-archive)
5917 (todo-find-filtered-items-file, todo-go-to-source-item)
5918 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5919 (todo-jump-to-archive-category, todo-lower-category)
5920 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5921 (todo-move-category, todo-move-item, todo-next-button)
5922 (todo-next-item, todo-padded-string, todo-powerset)
5923 (todo-previous-button, todo-previous-item)
5924 (todo-print-buffer-to-file, todo-raise-category)
5925 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5926 (todo-set-category-number, todo-set-item-priority)
5927 (todo-set-top-priorities-in-category)
5928 (todo-set-top-priorities-in-file, todo-show-categories-table)
5929 (todo-sort-categories-alphabetically-or-numerically)
5930 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5931 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5932 (todo-toggle-item-header, todo-toggle-item-highlighting)
5933 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5934 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5935 (todo-unarchive-items, todo-unmark-category): New commands.
5936 (todo-absolute-file-name, todo-add-to-buffer-list)
5937 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5938 (todo-basic-insert-item, todo-category-completions)
5939 (todo-category-number, todo-category-string-matcher-1)
5940 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5941 (todo-check-format, todo-clear-matches)
5942 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5943 (todo-current-category, todo-date-string-matcher)
5944 (todo-define-insertion-command, todo-diary-expired-matcher)
5945 (todo-diary-goto-entry, todo-diary-item-p)
5946 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5947 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5948 (todo-done-item-section-p, todo-done-separator)
5949 (todo-done-string-matcher, todo-files, todo-filter-items)
5950 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5951 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5952 (todo-insert-category-line, todo-insert-item-from-calendar)
5953 (todo-insert-sort-button, todo-insert-with-overlays)
5954 (todo-insertion-command-name, todo-insertion-key-bindings)
5955 (todo-label-to-key, todo-longest-category-name-length)
5956 (todo-make-categories-list, todo-mode-external-set)
5957 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5958 (todo-modes-set-3, todo-multiple-filter-files)
5959 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5960 (todo-read-category, todo-read-date, todo-read-dayname)
5961 (todo-read-file-name, todo-read-time)
5962 (todo-reevaluate-category-completions-files-defcustom)
5963 (todo-reevaluate-default-file-defcustom)
5964 (todo-reevaluate-filelist-defcustoms)
5965 (todo-reevaluate-filter-files-defcustom)
5966 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5967 (todo-reset-done-separator, todo-reset-done-separator-string)
5968 (todo-reset-done-string, todo-reset-global-current-todo-file)
5969 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5970 (todo-reset-prefix, todo-set-categories)
5971 (todo-set-date-from-calendar, todo-set-show-current-file)
5972 (todo-set-top-priorities, todo-short-file-name)
5973 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5974 (todo-total-item-counts, todo-update-buffer-list)
5975 (todo-update-categories-display, todo-update-categories-sexp)
5976 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5977 New functions.
5978 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5979 New major modes.
5980 (todo-categories, todo-display, todo-edit, todo-faces)
5981 (todo-filtered): New defgroups.
5982 (todo-archived-only, todo-button, todo-category-string, todo-date)
5983 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5984 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5985 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5986 (todo-add-item-if-new-category, todo-always-add-time-string)
5987 (todo-categories-align, todo-categories-archived-label)
5988 (todo-categories-category-label, todo-categories-diary-label)
5989 (todo-categories-done-label, todo-categories-number-separator)
5990 (todo-categories-todo-label, todo-categories-totals-label)
5991 (todo-category-completions-files, todo-completion-ignore-case)
5992 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5993 (todo-done-separator-string, todo-done-string)
5994 (todo-files-function, todo-filter-done-items, todo-filter-files)
5995 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5996 (todo-initial-category, todo-initial-file, todo-item-mark)
5997 (todo-legacy-date-time-regexp, todo-mode-line-function)
5998 (todo-nondiary-marker, todo-number-prefix)
5999 (todo-print-buffer-function, todo-show-current-file)
6000 (todo-show-done-only, todo-show-first, todo-show-with-done)
6001 (todo-skip-archived-categories, todo-top-priorities-overrides)
6002 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6003 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6004 New defcustoms.
6005 (todo-category-done, todo-date-pattern, todo-date-string-start)
6006 (todo-diary-items-buffer, todo-done-string-start)
6007 (todo-filtered-items-buffer, todo-item-start)
6008 (todo-month-abbrev-array, todo-month-name-array)
6009 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6010 (todo-top-priorities-buffer): New defconsts.
6011 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6012 (todo-categories-with-marks, todo-category-string-face)
6013 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6014 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6015 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6016 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6017 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6018 (todo-font-lock-keywords, todo-global-current-todo-file)
6019 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6020 (todo-insertion-commands-args)
6021 (todo-insertion-commands-args-genlist)
6022 (todo-insertion-commands-names, todo-insertion-map)
6023 (todo-key-bindings-t, todo-key-bindings-t+a)
6024 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6025 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6026 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6027 (todo-visited): New variables.
6028
cad5d1cb
GM
60292013-06-21 Glenn Morris <rgm@gnu.org>
6030
6031 * play/cookie1.el (cookie-apropos): Add optional display argument.
6032 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6033 (psychoanalyze-pinhead): Use cookie-doctor.
6034
9e277302
JB
60352013-06-21 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * emacs-lisp/package.el (tar-get-file-descriptor)
6038 (tar--extract): Declare.
6039
c5b0993e
EW
60402013-06-21 Eduard Wiebe <usenet@pusto.de>
6041
6042 Extend flymake's warning predicate to be a function (bug#14217).
6043 * progmodes/flymake.el (flymake-warning-predicate): New.
6044 (flymake-parse-line): Use it.
6045 (flymake-warning-re): Make obsolete alias to
6046 `flymake-warning-predicate'.
6047
a7d2d465
SM
60482013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6051 (package-obsolete-list): Remove.
6052 (package-activate): Remove min-version argument. Add `force' argument.
6053 Adjust to new package-alist format.
6054 (package-mark-obsolete): Remove.
6055 (package-unpack): Force reload of the package's autoloads.
6056 (package-installed-p): Check builtins if the installed package is not
6057 recent enough.
6058 (package-initialize): Don't reset package-obsolete-list.
6059 Don't specify which package version to activate.
6060 (package-process-define-package, describe-package-1)
6061 (package-menu--generate): Adjust to new package-alist format.
6062
cedf5c9d
JB
60632013-06-21 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * allout-widgets.el (allout-widgets-mode-off)
6066 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6067 (allout-widgets-post-command-business)
6068 (allout-widgets-after-copy-or-kill-function)
6069 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6070 (allout-decorate-item-and-context)
6071 (allout-graphics-modification-handler): Fix typos in docstrings.
6072 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6073
6074 * cmuscheme.el (scheme-start-file): Doc fix.
6075 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6076 (scheme-input-filter): Use `string-match-p'.
6077
6078 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6079
6080 * dired-x.el: Use Dired consistently in docstrings.
6081
6082 * dired.el: Use Dired consistently in docstrings.
6083 (dired-readin, dired-mode): Use `setq-local'.
6084 (dired-switches-alist): Make defvar-local.
6085 (dired-buffers-for-dir): Use `zerop'.
6086 (dired-safe-switches-p, dired-switches-escape-p)
6087 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6088 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6089 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6090 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6091 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6092 (dired-toggle-marks, dired-mark-files-containing-regexp)
6093 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6094 (dired-flag-auto-save-files, dired-flag-backup-files):
6095 Use `looking-at-p'.
6096 (dired-mark-files-regexp, dired-build-subdir-alist):
6097 Use `string-match-p', `looking-at-p'.
6098
6099 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6100 (direct-print-region-helper): Use `string-match-p'.
6101
aed838b5
LL
61022013-06-21 Leo Liu <sdl.web@gmail.com>
6103
cedf5c9d
JB
6104 * comint.el (comint-redirect-results-list-from-process):
6105 Fix infinite loop.
aed838b5 6106
d80a808f
LMI
61072013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6108
6109 * net/eww.el (eww-update-header-line-format): Quote % characters.
6110
e7a526e3
GM
61112013-06-21 Glenn Morris <rgm@gnu.org>
6112
6113 * play/cookie1.el (cookie): New custom group.
6114 (cookie-file): New option.
6115 (cookie-check-file): New function.
6116 (cookie): Make it interactive. Make start and end messages optional.
6117 Interactively, display the result. Default to cookie-file.
6118 (cookie-insert): Default to cookie-file.
6119 (cookie-snarf): Make start and end messages optional.
6120 Default to cookie-file. Use with-temp-buffer.
6121 (cookie-read): Rename from read-cookie.
6122 Make start and end messages optional. Default to cookie-file.
6123 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6124 Do not autoload it.
e7a526e3
GM
6125 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6126 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6127
62efb35e
LL
61282013-06-21 Leo Liu <sdl.web@gmail.com>
6129
6130 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6131
21e3f963
GM
61322013-06-21 Glenn Morris <rgm@gnu.org>
6133
6134 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6135
fd846ab4
SM
61362013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6137 Daniel Hackney <dan@haxney.org>
6138
6139 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6140 Consolidate the single-file vs tarball code.
6141 (package-desc-suffix): New function.
6142 (package-desc-full-name): Don't bother inlining it.
6143 (package-load-descriptor): Return the new package-desc.
6144 (package-mark-obsolete): Remove unused arg `package'.
6145 (package-unpack): Make it work for single files as well.
6146 Make it update package-alist.
6147 (package--make-autoloads-and-stuff): Rename from
6148 package--make-autoloads-and-compile. Don't compile any more.
6149 (package--compile): New function.
6150 (package-generate-description-file): New function, extracted from
6151 package-unpack-single.
6152 (package-unpack-single): Remove.
6153 (package--with-work-buffer): Add indentation and debugging info.
6154 (package-download-single): Remove.
6155 (package-install-from-archive): Rename from package-download-tar, make
6156 it take a pkg-desc, and make it work for single files as well.
6157 (package-download-transaction): Simplify.
6158 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6159 external tar program.
6160 (package-install-from-buffer): Remove `pkg-desc' argument.
6161 Use package-tar-file-info for tar-mode buffers.
6162 (package-install-file): Simplify accordingly.
6163 (package-archive-base): Change to take a pkg-desc.
6164 * tar-mode.el (tar--check-descriptor): New function, extracted from
6165 tar-get-descriptor.
6166 (tar-get-descriptor): Use it.
6167 (tar-get-file-descriptor): New function.
6168 (tar--extract): New function, extracted from tar-extract.
6169 (tar--extract): Use it.
6170 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6171 case the summary uses non-ascii. Adjust to new calling convention of
6172 package-tar-file-info.
6173
b7deae5e
LL
61742013-06-21 Leo Liu <sdl.web@gmail.com>
6175
fd846ab4
SM
6176 * comint.el (comint-redirect-results-list-from-process):
6177 Fix random delay. (Bug#14681)
b7deae5e 6178
7a65a0b2
JB
61792013-06-21 Juanma Barranquero <lekktu@gmail.com>
6180
6181 * profiler.el (profiler-format-number): Use log, not log10.
6182
1493c2af
JB
61832013-06-20 Juanma Barranquero <lekktu@gmail.com>
6184
6185 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6186
aff6371e
SM
61872013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6190 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6191 yet available.
6192 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6193 (AUTOGENEL): ... here.
6194 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6195 (cl--defsubst-expand): Use it.
6196
89561f72
PE
61972013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6198
6199 * subr.el (log10): Move here from C code, and declare as obsolete.
6200 All uses of (log10 X) replaced with (log X 10).
6201
47199123
JB
62022013-06-20 Juanma Barranquero <lekktu@gmail.com>
6203
6204 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6205 Declare with `defvar-local'.
6206 (tabulated-list-use-header-line, tabulated-list-entries)
6207 (tabulated-list-padding, tabulated-list-printer)
6208 (tabulated-list-sort-key): Declare with `defvar-local'.
6209 (tabulated-list-init-header, tabulated-list-print-fake-header):
6210 Use `setq-local'.
6211
4a172eab
MA
62122013-06-20 Michael Albinus <michael.albinus@gmx.de>
6213
47199123
JB
6214 * arc-mode.el (archive-mode): Add `archive-write-file' to
6215 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6216
5fc0acc0
JB
62172013-06-20 Juanma Barranquero <lekktu@gmail.com>
6218
d5b27848
JB
6219 * cus-edit.el (custom-commands): Fix typos.
6220 (custom-display): Fix tooltip text.
6221 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6222 Fix typos in docstrings.
6223 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6224 (custom-unlispify-menu-entry, custom-magic-value-create)
6225 (custom-add-see-also, custom-group-value-create): Use ?\s.
6226 (custom-guess-type, customize-apropos, editable-field)
6227 (custom-face-value-create): Use `string-match-p'.
6228 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6229
6230 * custom.el (custom-load-symbol): Use `string-match-p'.
6231
a5c581d8
JB
6232 * ansi-color.el: Convert to lexical binding.
6233 (ansi-colors): Fix URL.
6234 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6235 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6236 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6237
970ad972
G
62382013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6239
6240 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6241
6242 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6243
62442013-06-19 Tom Tromey <tromey@redhat.com>
6245
6246 * net/eww.el (eww-top-url): Remove.
6247 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6248 (eww-render): Set new variables. Don't set eww-top-url.
6249 (eww-handle-link): Handle "prev", "home", and "contents".
6250 Downcase the rel text.
6251 (eww-top-url): Choose best top URL.
6252
62532013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254
6255 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6256 relying in widget.el. Using widget.el leads to too many
6257 user interface inconsistencies.
6258 (eww-self-insert): Implement entering commands in text fields.
6259 (eww-process-text-input): New function to make text input field editing
6260 work.
6261 (eww-submit): Rewrite to use the new-style form methods.
6262 (eww-select-display): Display the correct selected item.
6263 (eww-change-select): Implement changing the select value.
6264 (eww-toggle-checkbox): Implement radio/checkboxes.
6265 (eww-update-field): Fix compilation error.
6266 (eww-tag-textarea): Implement <textarea>.
6267
6268 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6269 we don't shadow mode-specific bindings.
6270
6271 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6272 nothing to push.
6273
6274 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6275
4582a01c 62762013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6277
6278 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6279
15b263dc
MA
62802013-06-19 Michael Albinus <michael.albinus@gmx.de>
6281
6282 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6283 not needed.
6284
6285 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6286
8f5297f7
LMI
62872013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6288
6289 * net/browse-url.el (browse-url-browser-function):
6290 `eww-browse-url' has the right calling signature, `eww' does not.
6291
011c4552
GM
62922013-06-19 Glenn Morris <rgm@gnu.org>
6293
2285bd27
GM
6294 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6295 Only eval autoloaded macros.
6296 (byte-compile-autoload): Only give the macro warning for macros.
6297
1d653303
GM
6298 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6299 (ps-underlined-faces): Declare.
6300
bdd779ec
GM
6301 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6302 (speedbar-add-supported-extension): Declare.
6303
011c4552
GM
6304 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6305 Don't include a date stamp in the header of the generated file;
6306 it leads to needless differences between output files.
6307
e59dfb0e
MA
63082013-06-19 Michael Albinus <michael.albinus@gmx.de>
6309
c763842b
SM
6310 * net/secrets.el (secrets-struct-secret-content-type):
6311 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6312 Some servers do not offer introspection.
e59dfb0e 6313
102626e2
SM
63142013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * electric.el (electric-pair-mode): Improve interaction with
6317 electric-layout-mode.
6318 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6319 (electric-pair-syntax): Use text-mode-syntax-table in comments
6320 and strings.
6321 (electric-pair--insert): New function.
6322 (electric-pair-post-self-insert-function): Use it and
6323 electric--after-char-pos.
6324
ad528125
LL
63252013-06-19 Leo Liu <sdl.web@gmail.com>
6326
6327 * progmodes/octave.el (octave-help): Fix regexp.
6328
924d6997
G
63292013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6330
6331 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6332 (shr-table-horizontal-line): Allow nil as a value, and change the
6333 default.
6334 (shr-insert-table-ruler): Respect the nil value.
6335
63362013-06-18 Tom Tromey <tromey@barimba>
6337
6338 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6339 New defvars.
6340 (eww-open-file): New defun.
6341 (eww-render): Initialize new variables.
6342 (eww-display-html): Handle "link" and "a".
6343 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6344 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6345 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6346 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6347 New defuns.
924d6997 6348
d1bbba4f
DG
63492013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6350
6351 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6352 Distinguish ternary operator tokens from slash symbol and slash
6353 char literal.
6354
14dd22d2
JB
63552013-06-18 Juanma Barranquero <lekktu@gmail.com>
6356
6357 Convert symbol prettification into minor mode and global minor mode.
6358
6359 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6360 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6361 (prettify-symbols--keywords): Rename from
6362 `prog-prettify-symbols-alist' and make a local defvar.
6363 (prettify-symbols--compose-symbol): Rename from
6364 `prog--prettify-font-lock-compose-symbol'.
6365 (prettify-symbols--make-keywords): Rename from
6366 `prog-prettify-font-lock-symbols-keywords' and simplify.
6367 (prog-prettify-install): Remove.
6368 (prettify-symbols-mode): New minor mode, based on
6369 `prog-prettify-install'.
6370 (turn-on-prettify-symbols-mode): New function.
6371 (global-prettify-symbols-mode): New globalized minor mode.
6372
6373 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6374 * progmodes/cfengine.el (cfengine3-mode):
6375 * progmodes/perl-mode.el (perl-mode): Don't call
6376 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6377
292c880c
JL
63782013-06-18 Juri Linkov <juri@jurta.org>
6379
6380 * files-x.el (modify-file-local-variable-message): New function.
6381 (modify-file-local-variable)
6382 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6383 and call `modify-file-local-variable-message' when it's non-nil.
6384 (add-file-local-variable, delete-file-local-variable)
6385 (add-file-local-variable-prop-line)
6386 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6387 and use it. (Bug#9820)
6388
0950aa27
JL
63892013-06-18 Juri Linkov <juri@jurta.org>
6390
6391 * emulation/vi.el (vi-shell-op):
6392 * emulation/vip.el (vip-execute-com, ex-command):
6393 * emulation/viper-cmd.el (viper-exec-bang):
6394 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6395 the call of `shell-command-on-region'. (Bug#14637)
6396
6397 * simple.el (shell-command-on-region): Doc fix.
6398
8fbcca16
SM
63992013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6402 (bug#14633).
6403
dd7426ea
GM
64042013-06-18 Glenn Morris <rgm@gnu.org>
6405
4ba54f7d
GM
6406 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6407
dd7426ea
GM
6408 * newcomment.el (comment-search-forward, comment-search-backward):
6409 Doc fix. (Bug#14376)
6410
58aa805b
JB
64112013-06-18 Juanma Barranquero <lekktu@gmail.com>
6412
6413 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6414 (buffer-face-mode-invoke): Doc fix.
6415
9a08a617
MM
64162013-06-18 Matthias Meulien <orontee@gmail.com>
6417
6418 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6419 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6420
f2f426ca
GM
64212013-06-18 Glenn Morris <rgm@gnu.org>
6422
9445f99b
GM
6423 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6424 Replace obsolete function generic-make-keywords with its expansion.
6425
e0df2d14
GM
6426 * progmodes/python.el (ffap-alist): Declare.
6427
f2f426ca
GM
6428 * textmodes/reftex.el (bibtex-mode-map): Declare.
6429
f7f9a720
SM
64302013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6433 (package-unpack, package-unpack-single): Return the pkg-dir.
6434 (package-download-transaction): Use it to update package-alist.
6435
57ff04e0
LMI
64362013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437
6438 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6439 possible choice.
6440
c048c022
JL
64412013-06-17 Juri Linkov <juri@jurta.org>
6442
6443 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6444
b5bcaee5
DG
64452013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6446
a020afb9
JB
6447 * emacs-lisp/package.el (package-load-descriptor):
6448 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6449 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6450
551e07e5
JB
64512013-06-17 Juanma Barranquero <lekktu@gmail.com>
6452
6453 * startup.el (command-line): Expand package name returned by
6454 `package--description-file' (bug#14639).
6455
d363bffb
DG
64562013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6457
6458 * emacs-lisp/package.el (package-load-descriptor): Do not call
6459 `emacs-lisp-mode', just use its syntax table.
6460
f612933b
JB
64612013-06-17 Juanma Barranquero <lekktu@gmail.com>
6462
6463 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6464 `font-lock-extra-managed-props' if any prettifying keyword is added.
6465 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6466 (prog-mode): Use `setq-local'.
6467
db3b7db5
SM
64682013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * international/characters.el (standard-case-table): Set syntax of ?»
6471 and ?« to punctuation.
6472
f3d674df
JB
64732013-06-16 Juanma Barranquero <lekktu@gmail.com>
6474
6475 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6476 Save relevant match data before calling `syntax-ppss' (bug#14595).
6477
31489a32
JL
64782013-06-15 Juri Linkov <juri@jurta.org>
6479
6480 * files-x.el (modify-file-local-variable-prop-line): Add local
6481 variables to the end of the existing comment on the first line.
6482 Use `file-auto-mode-skip' to skip interpreter magic line,
6483 and also skip XML declaration.
6484
66bd25ab
SM
64852013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * startup.el (package--builtin-versions): New var.
6488 (package-subdirectory-regexp): Remove.
6489 (package--description-file): Hard code its value instead.
6490
6491 * emacs-lisp/package.el: Don't activate packages older than builtin.
6492 (package-obsolete-list): Rename from package-obsolete-alist, and make
6493 it into a simple list of package-desc.
6494 (package-strip-version): Remove.
6495 (package-built-in-p): Use package--builtin-versions.
6496 (package-mark-obsolete): Simplify.
6497 (package-process-define-package): Mark it obsolete if older than the
6498 builtin version.
6499 (package-handle-response): Use line-end-position.
6500 (package-read-archive-contents, package--download-one-archive):
6501 Simplify.
6502 (package--add-to-archive-contents): Skip if older than the builtin or
6503 installed version.
6504 (package-menu-describe-package): Fix last change.
6505 (package-list-unversioned): New var.
6506 (package-menu--generate): Use it.
6507
6508 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6509 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6510 (autoload-builtin-package-versions): New variable.
6511 (autoload-generate-file-autoloads): Use them.
6512 Remove the list of autoloaded functions/macros from the
6513 (autoload...) comments.
6514
6515 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6516
9583ec36
EZ
65172013-06-15 Eli Zaretskii <eliz@gnu.org>
6518
6519 * simple.el (line-move-partial): Don't jump to the next screen
6520 line as soon as it becomes visible. Instead, continue enlarging
6521 the vscroll until the portion of a tall screen line that's left on
6522 display is about the height of the frame's default font.
6523 (Bug#14567)
6524
f0100d8a
GM
65252013-06-15 Glenn Morris <rgm@gnu.org>
6526
b86a85ca
GM
6527 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6528 compilation-error-regexp-alist void, or local while let-bound.
6529
f0100d8a
GM
6530 * progmodes/make-mode.el (makefile-mode-syntax-table):
6531 Treat "=" as punctuation. (Bug#14614)
6532
05e7ce90
JB
65332013-06-15 Juanma Barranquero <lekktu@gmail.com>
6534
6535 * help-fns.el (describe-variable):
6536 Add extra line for permanent-local variables.
6537
12e5e86e
SH
65382013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6539
6540 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6541 Add export, import, library. (Bug#9164)
6542 (library): Set indent function.
6543
230dcbaf
GM
65442013-06-14 Glenn Morris <rgm@gnu.org>
6545
6546 * term/xterm.el (xterm--query):
6547 Stop after first matching handler. (Bug#14615)
6548
e36b2d20 65492013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6550
6551 Add support for dired in saveplace.
6552 * dired.el (dired-initial-position-hook): New variable.
6553 (dired-initial-position): Call hook to place cursor position.
6554 * saveplace.el (save-place-to-alist): Add dired position.
6555 (save-place-dired-hook): New function.
6556
0b31660d
SM
65572013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6558
bf1e6ae8
SM
6559 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6560 through a symbol rather than letrec.
6561
1b8dff23
SM
6562 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6563 (package-desc): Add `dir' field.
6564 (package-desc-full-name): New function.
6565 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6566 (package-maybe-load-descriptor): Remove.
6567 (package-load-all-descriptors): Just call package-load-descriptor.
6568 (package--disabled-p): New function.
6569 (package-desc-vers, package-desc-doc): Remove aliases.
6570 (package--dir): Remove function.
6571 (package-activate): Check if a package is disabled.
6572 (package-process-define-package): New function, extracted from
6573 define-package.
6574 (define-package): Turn into a place holder.
6575 (package-unpack-single, package-tar-file-info):
6576 Use package--description-file.
6577 (package-compute-transaction): Use package--disabled-p.
6578 (package-download-transaction): Don't call
6579 package-maybe-load-descriptor since they're all loaded anyway.
6580 (package-install): Change argument to be a pkg-desc.
6581 (package-delete): Use a single pkg-desc argument.
6582 (describe-package-1): Use package-desc-dir instead of package--dir.
6583 Use package-desc property instead of package-symbol.
6584 (package-install-button-action): Adjust accordingly.
6585 (package--push): Rewrite.
6586 (package-menu--print-info): Adjust accordingly. Change the ID format
6587 to be a pkg-desc.
6588 (package-menu-describe-package, package-menu-get-status)
6589 (package-menu--find-upgrades, package-menu-mark-upgrades)
6590 (package-menu-execute, package-menu--name-predicate):
6591 Adjust accordingly.
6592 * startup.el (package--description-file): New function.
6593 (command-line): Use it.
6594 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6595 Use package-desc-version.
6596
0b31660d
SM
6597 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6598 (byte-compile-preprocess): Use it.
6599 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6600 can't quite recognize.
6601 (byte-compile-add-to-list): Remove.
6602 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6603 (cconv-closure-convert): Add assertion.
6604
6605 * emacs-lisp/map-ynp.el: Use lexical-binding.
6606 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6607 Factor out some repeated code.
6608
de0503df
SM
66092013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * subr.el (with-eval-after-load): New macro.
6612 (eval-after-load): Allow form to be a function.
6613 take advantage of lexical-binding.
6614 (do-after-load-evaluation): Use dolist and adjust to new format.
6615 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6616
bc5c8c5a
JL
66172013-06-13 Juri Linkov <juri@jurta.org>
6618
6619 * replace.el (perform-replace): Display "symbol " and other search
6620 modes from `isearch-message-prefix' in the *Help* buffer.
6621
6622 * isearch.el (isearch-query-replace): Add " symbol" and other
6623 possible search modes from `isearch-message-prefix' to the prompt.
6624 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6625 when reading a regexp to collect.
6626
a22289f7
JL
66272013-06-13 Juri Linkov <juri@jurta.org>
6628
6629 * isearch.el (word-search-regexp): Match whitespace if the search
6630 string begins or ends in whitespace. The LAX arg is applied to
6631 both ends of the search string. Use `regexp-quote' and explicit
6632 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6633 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6634 boundaries are replaced with symbol boundaries, and characters
6635 between symbols match non-word non-symbol syntax. (Bug#14602)
6636
cb89acab
JL
66372013-06-13 Juri Linkov <juri@jurta.org>
6638
6639 * isearch.el (isearch-del-char): Don't exceed the length of
6640 `isearch-string' by the prefix arg. (Bug#14563)
6641
6e8cfc81
JL
66422013-06-13 Juri Linkov <juri@jurta.org>
6643
6644 * isearch.el (isearch-yank-word, isearch-yank-line)
6645 (isearch-char-by-name, isearch-quote-char)
6646 (isearch-printing-char, isearch-process-search-char):
6647 Add optional count prefix arg. (Bug#14563)
6648
6649 * international/isearch-x.el
6650 (isearch-process-search-multibyte-characters):
6651 Add optional count prefix arg.
6652
c23d55f4
VS
66532013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6656 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6657 lexical-binding.
6658
66592013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6660
6661 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6662
ba947bc4
GM
66632013-06-13 Glenn Morris <rgm@gnu.org>
6664
8baeb37a
GM
6665 * startup.el (tty-handle-args):
6666 Don't just discard "--" and anything after. (Bug#14608)
6667
ba947bc4
GM
6668 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6669
9abefce4
MA
66702013-06-13 Michael Albinus <michael.albinus@gmx.de>
6671
6672 Implement changes in Secret Service API. Make it backward compatible.
6673 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6674 (secrets-create-item): Use it. Prefix properties with interface.
6675
5755011f
MH
66762013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6677
6678 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6679 (term-emulate-terminal): Respect term-suppress-hard-newline.
6680
1261d2da
S
66812013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6682
6683 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6684 Only remove a `thumb-file' overlay. (Bug#14548)
6685
868490bb
GJ
66862013-06-12 Grégoire Jadi <daimrod@gmail.com>
6687
6688 * mail/reporter.el (reporter-submit-bug-report):
6689 Handle missing package-name. (Bug#14600)
6690
79d7167f
TH
66912013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6692
6693 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6694 (reftex-citation-prompt, reftex-default-bibliography)
6695 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6696 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6697 (reftex-bib-sort-author, reftex-bib-sort-year)
6698 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6699 (reftex-extract-bib-entries-from-thebibliography)
6700 (reftex-get-bibkey-default, reftex-get-bib-names)
6701 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6702 (reftex-format-bib-entry, reftex-parse-bibitem)
6703 (reftex-format-bibitem, reftex-do-citation)
6704 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6705 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6706 (reftex-insert-bib-matches, reftex-format-citation)
6707 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6708 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6709 existing comments into docstrings.
6710
5f9dbd7a
XF
67112013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6712
6713 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6714
94df41ab
AS
67152013-06-12 Andreas Schwab <schwab@suse.de>
6716
6717 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6718 for auto-save files.
6719
a7f3fecc
GM
67202013-06-12 Glenn Morris <rgm@gnu.org>
6721
001809f6
GM
6722 * ido.el (ido-delete-ignored-files): Remove.
6723 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6724 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6725
834b5ded
EL
67262013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6727
08c73ed2
EL
6728 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6729
834b5ded
EL
6730 * ido.el (ido-delete-ignored-files): New function,
6731 split from ido-make-file-list-1.
6732 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6733 (ido-make-file-list-1): Use ido-delete-ignored-files.
6734
daabf15a
LL
67352013-06-12 Leo Liu <sdl.web@gmail.com>
6736
6737 * progmodes/octave.el (inferior-octave-startup)
6738 (inferior-octave-completion-table)
6739 (inferior-octave-track-window-width-change)
6740 (octave-eldoc-function-signatures, octave-help)
6741 (octave-find-definition): Use single quoted strings.
6742 (inferior-octave-startup-args): Change default value.
6743 (inferior-octave-startup): Do not hard code "-i" and
6744 "--no-line-editing".
6745 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6746 (inferior-octave-directory-tracker): Use it.
6747 (octave-goto-function-definition): Robustify.
6748 (octave-help): Support highlighting operators in 'See also'.
6749 (octave-find-definition): Find subfunctions only in Octave mode.
6750
cf4e5178
SM
67512013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * help-fns.el (help-fns--compiler-macro): If the handler function is
6754 named, then put a link to it.
6755 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6756 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6757 (cl-typep): Use it.
6758 (cl-eval-when): Simplify debug spec.
6759 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6760 compiler-macro function instead of setting `compiler-macro-file'.
6761
99c81280 67622013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6763
6764 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6765 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6766
f56be016
SM
67672013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6768 Daniel Hackney <dan@haxney.org>
6769
6770 First part of Daniel Hackney's patch to package.el.
6771 * emacs-lisp/package.el: Use defstruct.
6772 (package-desc): New, main struct.
6773 (package--bi-desc, package--ac-desc): New structs, used to describe the
6774 format in external files.
6775 (package-desc-vers): Replace with package-desc-version accessor.
6776 (package-desc-doc): Replace with package-desc-summary accessor.
6777 (package-activate-1): Remove `package' arg since the pkg-vec now
6778 includes the name.
6779 (define-package): Use package-desc-from-define.
6780 (package-unpack-single): Change file-name arg to be a symbol.
6781 (package--add-to-archive-contents): Use package-desc-create and new
6782 accessor functions to package--ac-desc.
6783 (package-buffer-info, package-tar-file-info): Return a package-desc.
6784 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6785 arg to be a package-desc.
6786 (package-install-file): Adjust accordingly. Use \' to match EOS.
6787 (package--from-builtin): New function.
6788 (describe-package-1, package-menu--generate): Use it.
6789 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6790 (package-generate-autoloads): Idem and return the name of the file.
6791 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6792 Change pkg-info arg to be a package-desc.
6793 Use package-make-ac-desc.
6794 (package-upload-file): Use \' to match EOS.
6795 * finder.el (finder-compile-keywords): Use package-make-builtin.
6796
31119d63
SM
67972013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6798
931a2762
SM
6799 * vc/vc.el (vc-deduce-fileset): Change error message.
6800 (vc-read-backend): New function.
6801 (vc-next-action): Use it.
6802
5a3eb0c6
SM
6803 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6804
e3eb1bb7
SM
6805 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6806 (prolog-font-lock-keywords): Use regexp-opt instead.
6807 Don't manually highlight strings.
6808 (prolog-mode-variables): Simplify comment-start-skip.
6809 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6810
31119d63
SM
6811 * emacs-lisp/generic.el (generic--normalise-comments)
6812 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6813 (generic-mode-set-comments): Use them.
6814 (generic-bracket-support): Use setq-local.
6815 (generic-make-keywords-list): Declare obsolete.
6816
7de135d0
GM
68172013-06-11 Glenn Morris <rgm@gnu.org>
6818
6819 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6820 Prettify after setting font-lock-defaults. (Bug#14574)
6821
fa6bc6fd
JB
68222013-06-11 Juanma Barranquero <lekktu@gmail.com>
6823
6824 * replace.el (query-replace, occur-read-regexp-defaults-function)
6825 (replace-search):
6826 * subr.el (declare-function, number-sequence, local-set-key)
6827 (substitute-key-definition, locate-user-emacs-file)
6828 (with-silent-modifications, split-string, eval-after-load):
6829 Fix typos, remove unneeded backslashes and reflow some docstrings.
6830
cf1f9b9a
SM
68312013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6834 default for Elisp files.
6835
56602a4b
GM
68362013-06-11 Glenn Morris <rgm@gnu.org>
6837
6838 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6839 although define-derived-mode was doing this anyway. (Bug#14583)
6840
30ae0b2c
JB
68412013-06-10 Juanma Barranquero <lekktu@gmail.com>
6842
6843 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6844 Fix make-variable-buffer-local call to refer to the correct variable.
6845
fa472906
AG
68462013-06-10 Aidan Gauland <aidalgol@amuri.net>
6847
6848 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6849 (eshell-visual-subcommands, eshell-visual-options):
6850 Add summary line to docstrings. Add cross-references.
fa472906 6851
ff4871b9
GM
68522013-06-10 Glenn Morris <rgm@gnu.org>
6853
6854 * epa.el (epa-read-file-name): New function. (Bug#14510)
6855 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6856
04fcf1b0
AG
68572013-06-09 Aidan Gauland <aidalgol@amuri.net>
6858
6859 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6860 output redirection to be ignored with visual commands.
6861
88b00caa
AG
68622013-06-09 Aidan Gauland <aidalgol@amuri.net>
6863
6864 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6865 (eshell-term-initialize): Move long lambda to separate function
6866 eshell-visual-command-p.
e7b41c4c
JB
6867 * eshell/em-dirs.el (eshell-dirs-initialise):
6868 * eshell/em-script.el (eshell-script-initialize):
6869 Add missing #' to lambda.
88b00caa 6870
fda74125
LL
68712013-06-08 Leo Liu <sdl.web@gmail.com>
6872
6873 * progmodes/octave.el (octave-add-log-current-defun): New function.
6874 (octave-mode): Set add-log-current-defun-function.
6875 (octave-goto-function-definition): Do not move point if not found.
6876 (octave-find-definition): Enhance to try subfunctions first.
6877
467f3b33
GM
68782013-06-08 Glenn Morris <rgm@gnu.org>
6879
6880 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6881 (byte-compile-backward-char, byte-compile-backward-word):
6882 Improve previous change, to handle non-explicit nil.
6883
544badc3
SM
68842013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6887 (smie--opener/closer-at-point): New function.
6888 (smie--matching-block-data): Use it. Don't match from right after an
6889 opener or right before a closer. Obey smie-blink-matching-inners.
6890 Don't signal a mismatch for repeated inners like "switch..case..case".
6891
a175bf33
LL
68922013-06-07 Leo Liu <sdl.web@gmail.com>
6893
6894 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6895 to t. (Bug#14303)
ce8209d4
LL
6896 (octave-function-header-regexp): Fix. (Bug#14570)
6897 (octave-help-mode-finish-hook, octave-help-mode-finish):
6898 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6899
6900 * newcomment.el (comment-search-backward): Revert last change.
6901 (Bug#14434)
6902
6903 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6904
a822acff
EZ
69052013-06-07 Eli Zaretskii <eliz@gnu.org>
6906
6907 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6908 through xargs, to avoid failure due to MS-Windows limitations on
6909 command-line length.
6910
961166f5
GM
69112013-06-06 Glenn Morris <rgm@gnu.org>
6912
d0341459
GM
6913 * font-lock.el (lisp-font-lock-keywords-2):
6914 Treat user-error like error.
6915
961166f5
GM
6916 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6917 (byte-compile-backward-char, byte-compile-backward-word):
6918 Handle explicit nil arguments. (Bug#14565)
6919
80fa505f
AM
69202013-06-05 Alan Mackenzie <acm@muc.de>
6921
6922 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6923 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6924 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6925 (Bug#9706)
80fa505f 6926
fccdc796
SM
69272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * autorevert.el (auto-revert-notify-handler): Use memq.
6930 Hide assertion failure.
6931
6932 * skeleton.el: Use cl-lib.
6933 (skeleton-further-elements): Use defvar-local.
6934 (skeleton-insert): Use cl-progv.
6935
9bfff84b
TZ
69362013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6937
6938 * progmodes/prog-mode.el (prog-prettify-symbols)
6939 (prog-prettify-install): Update docstrings.
6940
55577e7c
SM
69412013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * simple.el: Move all the prog-mode code to prog-mode.el.
6944 * progmodes/prog-mode.el: New file.
6945 * loadup.el: Add prog-mode.el.
6946
8fc57765
TZ
69472013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6948
6949 * simple.el (prog-prettify-symbols): Add version.
6950 (prog-prettify-install): Add convenience function to prettify symbols.
6951
6952 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6953 (perl--augmented-font-lock-keywords-1)
6954 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6955 variables and use it.
6956
6957 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6958 (cfengine3-mode): Remove unneeded variable and use it.
6959
6960 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6961 (lisp--augmented-font-lock-keywords-1)
6962 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6963 Remove unneeded variables and use it.
6964
650645d5 69652013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6966
6967 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6968 to point when opening the connection. (Bug#14380)
28f5da6d 6969
781b4af6
SM
69702013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * subr.el (load-history-regexp, load-history-filename-element)
6973 (eval-after-load, after-load-functions, do-after-load-evaluation)
6974 (eval-next-after-load, display-delayed-warnings)
6975 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6976 definition of save-match-data.
6977 (overriding-local-map): Remove accidental obsolescence declaration.
6978
6979 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6980
3ca0d0b4
TZ
69812013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6982
6983 Generalize symbol prettify support to prog-mode and implement it
6984 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6985 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6986 (prog--prettify-font-lock-compose-symbol)
6987 (prog-prettify-font-lock-symbols-keywords): New variables and
6988 functions to support symbol prettification.
6989 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6990 (lisp--augmented-font-lock-keywords-1)
6991 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6992 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6993 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6994 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6995 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6996 * progmodes/perl-mode.el (perl-prettify-symbols)
6997 (perl--font-lock-compose-symbol)
6998 (perl--font-lock-symbols-keywords): Move to prog-mode.
6999 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7000 (perl-font-lock-keywords-1)
7001 (perl-font-lock-keywords-2): Remove explicit prettify support.
7002 (perl--augmented-font-lock-keywords)
7003 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7004 (perl--augmented-font-lock-keywords-2, perl-mode):
7005 Implement prettify support.
3ca0d0b4 7006
976cb066
LL
70072013-06-05 Leo Liu <sdl.web@gmail.com>
7008
7009 Re-implement smie matching block highlight using
7010 show-paren-data-function. (Bug#14395)
7011 * emacs-lisp/smie.el (smie-matching-block-highlight)
7012 (smie--highlight-matching-block-overlay)
7013 (smie--highlight-matching-block-lastpos)
7014 (smie-highlight-matching-block)
7015 (smie-highlight-matching-block-mode): Remove.
7016 (smie--matching-block-data-cache): New variable.
7017 (smie--matching-block-data): New function.
7018 (smie-setup): Use smie--matching-block-data for
7019 show-paren-data-function.
7020
7021 * progmodes/octave.el (octave-mode-menu): Fix.
7022 (octave-find-definition): Skip garbage lines.
7023
208d0342
SM
70242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 Fix compilation error with simultaneous dynamic+lexical scoping.
7027 Add warning when a defvar appears after the first let-binding.
7028 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7029 (byte-compile-close-variables): Initialize it.
7030 (byte-compile--declare-var): New function.
7031 (byte-compile-file-form-defvar)
7032 (byte-compile-file-form-define-abbrev-table)
7033 (byte-compile-file-form-custom-declare-variable): Use it.
7034 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7035 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7036 (byte-compile-bind): Handle dynamic bindings that shadow
7037 lexical bindings.
7038 (byte-compile-unbind): Make arg non-optional.
7039 (byte-compile-let): Simplify.
7040 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7041 (cconv--analyse-function, cconv-analyse-form): Populate it.
7042 Protect byte-compile-bound-variables to limit the scope of defvars.
7043 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7044 Remove unneeded rule for `declare'.
7045
7046 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7047 so as to avoid depending on cl-adjoin at run-time.
7048 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7049
7050 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7051 (macroexp--warn-and-return): Use it.
7052
1ac2891e
GM
70532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * lisp/subr.el: Convert to lexical binding.
7056 (overriding-local-map): Make obsolete.
7057 (add-to-list): Doc fix. Add compiler macro.
7058 (read-key): Swap values of local maps.
7059
2587b005
LL
70602013-06-05 Leo Liu <sdl.web@gmail.com>
7061
7062 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7063
f1da3c88
LL
70642013-06-04 Leo Liu <sdl.web@gmail.com>
7065
7066 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7067 (compilation-auto-jump): Suppress the "Mark set" message to give
7068 way to exit message.
7069
3caa391f
AM
70702013-06-04 Alan Mackenzie <acm@muc.de>
7071
7072 Remove faulty optimisation from indentation calculation.
7073 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7074 search limit based on 2000 characters back from indent-point.
7075
068922a2
TH
70762013-06-03 Tassilo Horn <tsdh@gnu.org>
7077
7078 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7079
1f8fdd53
SM
70802013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7081
bbcc4d97
SM
7082 * emacs-lisp/lisp.el: Use lexical-binding.
7083 (lisp--local-variables-1, lisp--local-variables): New functions.
7084 (lisp--local-variables-completion-table): New var.
208d0342 7085 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7086
1f8fdd53
SM
7087 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7088 eagerly (bug#14422).
7089
c9628c79
MA
70902013-06-03 Michael Albinus <michael.albinus@gmx.de>
7091
7092 * autorevert.el (auto-revert-notify-enabled)
7093 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7094 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7095 (auto-revert-notify-handler): Handle also gfilenotify.
7096
e7b41c4c 7097 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7098 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7099 Remove.
c9628c79 7100
e5e4a942
JL
71012013-06-03 Juri Linkov <juri@jurta.org>
7102
7103 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7104 `M-s h .'. (Bug#14427)
7105
7106 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7107 command `hi-lock-face-symbol-at-point'.
7108 (hi-lock-face-symbol-at-point): New command.
7109 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7110 (hi-lock-menu): Add `highlight-symbol-at-point'.
7111 (hi-lock-mode): Doc fix.
7112
7113 * isearch.el (isearch-forward-symbol-at-point): New command.
7114 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7115 (isearch-highlight-regexp): Add a regexp which matches
7116 words/symbols for word/symbol mode.
7117
7118 * subr.el (find-tag-default-bounds): New function with the body
7119 mostly moved from `find-tag-default'.
7120 (find-tag-default): Move most code to `find-tag-default-bounds',
7121 call it and apply `buffer-substring-no-properties' afterwards.
7122
26b3353a
TH
71232013-06-03 Tassilo Horn <tsdh@gnu.org>
7124
781b4af6
SM
7125 * eshell/em-term.el (eshell-term-initialize):
7126 Use `cl-intersection' rather than `intersection'.
26b3353a 7127
51b60f53
XF
71282013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7129
fe054b63 7130 * vc/log-view.el: Doc fix.
d3ffe17c 7131 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7132
a0eb10b3 71332013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7134
7135 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7136 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7137 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7138 (eieio-unbound, eieio-default-superclass)
7139 (eieio--define-field-accessors, method-static, method-before)
7140 (method-primary, method-after, method-num-lists)
7141 (method-generic-before, method-generic-primary)
7142 (method-generic-after, method-num-slots)
7143 (eieio-specialized-key-to-generic-key)
7144 (eieio--check-type, class-v, class-p)
7145 (eieio-class-name, define-obsolete-function-alias)
7146 (eieio-class-parents-fast, eieio-class-children-fast)
7147 (same-class-fast-p, class-constructor, generic-p)
7148 (generic-primary-only-p, generic-primary-only-one-p)
7149 (class-option-assoc, class-option, eieio-object-p)
7150 (class-abstract-p, class-method-invocation-order)
7151 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7152 (eieio-class-un-autoload, eieio-defclass)
7153 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7154 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7155 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7156 (eieio-defgeneric-reset-generic-form)
7157 (eieio-defgeneric-form-primary-only)
7158 (eieio-defgeneric-reset-generic-form-primary-only)
7159 (eieio-defgeneric-form-primary-only-one)
7160 (eieio-defgeneric-reset-generic-form-primary-only-one)
7161 (eieio-unbind-method-implementations)
7162 (eieio--defmethod, eieio--typep)
7163 (eieio-perform-slot-validation, eieio-validate-slot-value)
7164 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7165 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7166 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7167 (eieio-slot-name-index, eieio-class-slot-name-index)
7168 (eieio-set-defaults, eieio-initarg-to-attribute)
7169 (eieio-attribute-to-initarg, eieio-c3-candidate)
7170 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7171 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7172 (eieio-class-precedence-list, eieio-generic-call-methodname)
7173 (eieio-generic-call-arglst, eieio-generic-call-key)
7174 (eieio-generic-call-next-method-list)
7175 (eieio-pre-method-execution-functions, eieio-generic-call)
7176 (eieio-generic-call-primary-only, eieiomt-method-list)
7177 (eieiomt-optimizing-obarray, eieiomt-install)
7178 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7179 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7180 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7181 (defclass): Remove `eval-and-compile' from macro.
7182 (call-next-method, shared-initialize): Instead of using
7183 `scoped-class' variable, use new eieio--scoped-class, and
7184 eieio--with-scoped-class.
7185 (initialize-instance): Rename local variable 'scoped-class' to
7186 'this-class' to remove ambiguitity from old global.
7187
7188 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7189 eieio.el.
4f405069
JB
7190 (eieio--scoped-class-stack): New variable.
7191 (eieio--scoped-class): New fcn.
890f7890
DE
7192 (eieio--with-scoped-class): New scoping macro.
7193 (eieio-defclass): Use pushnew instead of add-to-list.
7194 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7195 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7196 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7197 `scoped-class' variable, use new eieio--scoped-class, and
7198 eieio--with-scoped-class.
7199
7200 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7201
d105b0e2
TH
72022013-06-02 Tassilo Horn <tsdh@gnu.org>
7203
7204 * eshell/esh-ext.el (eshell-external-command): Pass args to
7205 `eshell-find-interpreter'.
7206 (eshell-find-interpreter): Add new second parameter ARGS.
7207
7208 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7209 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7210
7211 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7212 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7213
7214 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7215 (eshell-visual-options): New defcustom.
7216 (eshell-escape-control-x): Adapt docstring.
7217 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7218 `eshell-visual-options' in addition to `eshell-visual-commands'.
7219 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7220
f46305c8 72212013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7222
7223 * progmodes/python.el (python-indent-block-enders): Add break,
7224 continue and raise keywords.
7225
d870df21
GM
72262013-06-01 Glenn Morris <rgm@gnu.org>
7227
9133b82e
GM
7228 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7229
02c992ec 7230 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7231 * progmodes/cc-cmds.el (delete-forward-p):
7232 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7233 * progmodes/cc-engine.el (buffer-syntactic-context):
7234 * progmodes/cc-fonts.el (face-property-instance):
7235 * progmodes/cc-mode.el (set-keymap-parents):
7236 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7237 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7238 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7239 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7240 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7241
31e7b090
GM
7242 * progmodes/cc-vars.el (other): Emacs has this widget since
7243 at least 21.1, so don't (re)define it.
7244
d870df21
GM
7245 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7246 Replace the obsolete alias pcomplete-arg-quote-list.
7247
c75c93c7
LL
72482013-06-01 Leo Liu <sdl.web@gmail.com>
7249
7250 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7251 punctuation syntax.
7252 (inferior-octave-minimal-columns)
7253 (inferior-octave-last-column-width): New variables.
7254 (inferior-octave-track-window-width-change): New function.
7255 (inferior-octave-mode): Adjust column width so that Octave output,
7256 for example from 'ls', can fit into the window nicely.
7257
973d1e12
DG
72582013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7259
7260 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7261 Highlight expansions inside regexp literals.
7262
0888c286
GM
72632013-05-31 Glenn Morris <rgm@gnu.org>
7264
e26aac1f
GM
7265 * obsolete/sym-comp.el (symbol-complete):
7266 Replace obsolete completion-annotate-function.
7267
0888c286
GM
7268 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7269
19bb8e62
DG
72702013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7271
781b4af6
SM
7272 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7273 New function, checks if point is inside a literal that allows
19bb8e62
DG
7274 expression expansion.
7275 (ruby-syntax-propertize-expansion): Use it.
7276 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7277 around the body.
7278
01dea85f
JL
72792013-05-30 Juri Linkov <juri@jurta.org>
7280
7281 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7282 to "\M-si".
7283 (isearch-invisible): New variable.
7284 (isearch-forward): Doc fix.
7285 (isearch-mode): Set `isearch-invisible'
7286 to the value of `search-invisible'.
7287 (isearch-toggle-case-fold): Doc fix.
7288 (isearch-toggle-invisible): New command.
7289 (isearch-query-replace): Let-bind `search-invisible'
7290 to the value of `isearch-invisible'.
7291 (isearch-search): Use `isearch-invisible' instead of
7292 `search-invisible'. Let-bind `search-invisible'
7293 to the value of `isearch-invisible'. (Bug#11378)
7294
ab1bdce5
JL
72952013-05-30 Juri Linkov <juri@jurta.org>
7296
7297 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7298 call when `query-flag' is nil and `search-invisible' is non-nil.
7299 (Bug#11746)
7300
d6d236e2
GM
73012013-05-30 Glenn Morris <rgm@gnu.org>
7302
8accd027
GM
7303 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7304
2a8bed1c
GM
7305 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7306 (cc-require): Suppress spurious "noruntime" warnings.
7307 (cc-require-when-compile): Use fboundp, for sake of compiler.
7308
d6d236e2
GM
7309 * progmodes/cc-mode.el: Move load of cc-vars before that of
7310 cc-langs (which in turn loads cc-vars), to quieten compiler.
7311
9190b35b
SM
73122013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * paren.el: Simplify the code.
7315 (show-paren-mode): Always start the timer.
7316 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7317 (show-paren--overlay, show-paren--overlay-1): Rename from
7318 show-paren-overlay and show-paren-overlay-1, and initialize to an
7319 overlay rather than to nil.
7320 (show-paren-function): Misc cleanup and simplifications.
7321
4f8d1cf6
SM
73222013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * paren.el (show-paren-data-function): New hook.
7325 (show-paren--default): New function, extracted from show-paren-function.
7326 (show-paren-function): Use show-paren-data-function.
7327
02d844b5
GM
73282013-05-30 Glenn Morris <rgm@gnu.org>
7329
d209d4a9
GM
7330 * ielm.el (ielm-map, ielm-complete-symbol):
7331 Use completion-at-point rather than obsolete functions.
7332 (inferior-emacs-lisp-mode): Doc fix.
7333 Set completion-at-point-functions, rather than
7334 comint-dynamic-complete-functions.
7335
2082faa6
GM
7336 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7337 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7338 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7339
dd8620de
GM
7340 * image.el (image-animated-p): Tweak definition.
7341
ceca95b1
GM
7342 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7343 (rlogin-process-connection-type): Tweak default. Add set-after.
7344 (rlogin-host): Doc fix.
7345 (rlogin): Tweak prompt.
7346 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7347
ee9f1acc
GM
7348 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7349 * progmodes/tcl.el (inferior-tcl-mode-map):
7350 Use completion-at-point rather than obsolete alias.
7351
45ce222e
GM
7352 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7353
02d844b5
GM
7354 * minibuffer.el (read-file-name-completion-ignore-case):
7355 Move before completion--in-region, for eager macro expansion.
7356
ac44d6c1
JL
73572013-05-29 Juri Linkov <juri@jurta.org>
7358
7359 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7360 for total count of matching lines. Add `global-matches' for total
7361 count of matches. Rename `matches' to `lines' for count of
7362 matching lines. Add `matches' for count of matches.
7363 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7364 to `prev-line' for line number of prev match endpt.
7365 Increment `matches' for every match. Print the number of
7366 matching lines in the header.
7367 (occur-context-lines): Rename `lines' to `curr-line'.
7368 Rename `prev-lines' to `prev-line'. (Bug#14017)
7369
3c9c9d38
JL
73702013-05-29 Juri Linkov <juri@jurta.org>
7371
7372 * replace.el (perform-replace): Add `skip-read-only-count',
7373 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7374 Increment them for corresponding conditions and report the number
7375 of skipped occurrences in the final message. (Bug#11746)
7376 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7377 (replace-string, replace-regexp): Doc fix.
7378
33e249a2
SM
73792013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7380
8e399682
SM
7381 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7382
33e249a2 7383 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7384 prog-mode-map (bug#14504).
33e249a2 7385
f236dd84
LL
73862013-05-29 Leo Liu <sdl.web@gmail.com>
7387
7388 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7389 (octave-help): Small simplification.
7390
7391 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7392 off the highlight first.
7393
3694d13f
GM
73942013-05-29 Glenn Morris <rgm@gnu.org>
7395
03983bdc
GM
7396 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7397 Handle idlwave-last-system-routine-info-cons-cell being nil.
7398
bc74a74a
GM
7399 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7400 (idlwave-write-paths): Simplify via with-temp-buffer.
7401
8b394200
GM
7402 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7403 * emulation/cua-rect.el: Also load cua-base at run time.
7404
3694d13f
GM
7405 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7406 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7407 (cperl-imenu-on-info): Require imenu.
7408
336d7284
AM
74092013-05-28 Alan Mackenzie <acm@muc.de>
7410
7411 Handle "capitalised keywords" correctly.
33e249a2 7412 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7413
cb29c582
AG
74142013-05-28 Aidan Gauland <aidalgol@amuri.net>
7415
781b4af6 7416 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7417
690e44b2
GM
74182013-05-28 Glenn Morris <rgm@gnu.org>
7419
e658d75c
GM
7420 * vc/vc-arch.el (vc-exec-after): Declare.
7421 (vc-switches): Autoload.
7422 * vc/vc-bzr.el: No need to require vc when compiling.
7423 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7424 (vc-resynch-buffer, vc-dir-refresh): Declare.
7425 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7426 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7427 (vc-resynch-buffer): Declare.
7428 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7429 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7430 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7431 (grep-read-regexp, grep-read-files, grep-expand-template)
7432 (vc-dir-refresh): Declare.
7433 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7434 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7435 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7436 * vc/vc-mtn.el (vc-exec-after): Declare.
7437 (vc-switches): Autoload.
7438 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7439 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7440 (vc-file-tree-walk): Declare.
712b9732
GM
7441 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7442 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7443 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7444 * vc/vc-svn.el (vc-exec-after): Declare.
7445 (vc-switches, vc-setup-buffer): Autoload.
7446 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7447 Autoload.
7448 (vc-resynch-buffer): Declare.
7449
98e87fb3
GM
7450 * obsolete/fast-lock.el (byte-compile-warnings):
7451 Don't warn about obsolete features in this obsolete file.
7452
f5379553
GM
7453 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7454 Move definition before use.
7455
7a20ef83
GM
7456 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7457 (dun-unix-verbs): Remove dun-zippy.
7458 (dun-zippy): Remove function.
7459
690e44b2
GM
7460 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7461
3a52ccf7
JL
74622013-05-27 Juri Linkov <juri@jurta.org>
7463
7464 * replace.el (replace-search): New function with code moved out
7465 from `perform-replace'.
7466 (replace-highlight, replace-dehighlight): Move function definitions
7467 up closer to `replace-search'. (Bug#11746)
7468
d289938a
JL
74692013-05-27 Juri Linkov <juri@jurta.org>
7470
7471 * replace.el (perform-replace): Ignore invisible matches.
7472 In addition to checking `query-replace-skip-read-only', also
7473 filter out matches by calling `run-hook-with-args-until-failure'
7474 on `isearch-filter-predicates', and also check `search-invisible'
7475 for t or call `isearch-range-invisible'.
7476 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7477
66fc57e3
JL
74782013-05-27 Juri Linkov <juri@jurta.org>
7479
7480 * isearch.el (isearch-filter-predicates): Rename from
7481 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7482 (isearch-message-prefix): Display text from the property
7483 `isearch-message-prefix' of the currently active filters.
7484 (isearch-search): Don't compare `isearch-filter-predicate' with
7485 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7486 on `isearch-filter-predicates'. Also check `search-invisible' for t
7487 or call `isearch-range-invisible'.
7488 (isearch-filter-visible): Make obsolete.
7489 (isearch-lazy-highlight-search):
7490 Call `run-hook-with-args-until-failure' on
7491 `isearch-filter-predicates' and use `isearch-range-invisible'.
7492
7493 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7494 `isearch-filter-predicates' instead of `funcall'ing
7495 `isearch-filter-predicate'.
7496 (Info-mode): Set `Info-isearch-filter' to
7497 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7498
7499 * dired-aux.el (dired-isearch-filter-predicate-orig):
7500 Remove variable.
7501 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7502 (dired-isearch-filenames-end): Add and remove
7503 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7504 instead of changing the value of `isearch-filter-predicate'.
7505 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7506 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7507 Put property `isearch-message-prefix' to "filename " on
7508 `dired-isearch-filter-filenames'.
7509
7510 * wdired.el (wdired-change-to-wdired-mode):
7511 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7512 locally instead of changing `isearch-filter-predicate'.
7513 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7514
f1a60a0f
DG
75152013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7516
7517 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7518 return the commit hash (Bug#14459). Also set the
7519 `vc-git-detached' property.
7520 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7521 (vc-git-mode-line-string): Use the same help-echo format whether
7522 in detached mode or not, because we know the actual revision now.
7523 When in detached mode, shorten the revision to 7 chars.
7524
7f17cc40
SM
75252013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * emacs-lisp/easy-mmode.el (define-minor-mode):
7528 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7529 mode hook and provide a docstring.
7530
25c8401c
AM
75312013-05-27 Alan Mackenzie <acm@muc.de>
7532
7533 Remove spurious syntax-table text properties inserted by C-y.
7534 * progmodes/cc-mode.el (c-after-change): Also clear hard
7535 syntax-table property with value nil.
7536
dde84790
MA
75372013-05-27 Michael Albinus <michael.albinus@gmx.de>
7538
7539 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7540 when reading the events; the buffer layout shall not be changed.
7541
837fd9af
LL
75422013-05-27 Leo Liu <sdl.web@gmail.com>
7543
7544 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7545 New variable.
7546 (inferior-octave-directory-tracker): Automatically re-sync
7547 default-directory.
7548 (octave-help): Improve handling of 'See also'.
7549
4fd996b3
SM
75502013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7551
416f1802
SM
7552 * doc-view.el: Minor naming convention tweaks.
7553 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7554
4fd996b3
SM
7555 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7556 even if there's no `display' property yet (bug#14435).
7557
a052ef3b
EZ
75582013-05-25 Eli Zaretskii <eliz@gnu.org>
7559
4fd996b3 7560 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7561
7562 * Makefile.in (custom-deps, finder-data, autoloads)
7563 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7564 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7565 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7566
c9023370
SM
75672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7570 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7571 Don't burp at EOB.
c9023370 7572
24d699fa
LL
75732013-05-25 Leo Liu <sdl.web@gmail.com>
7574
7575 * comint.el (comint-previous-matching-input): Do not flood the
7576 *Messages* buffer with trivial messages.
7577
17e5c0cc
SM
75782013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * progmodes/flymake.el (flymake-nop): Don't return a string.
7581 (flymake-set-at): Fix typo.
7582
7583 * simple.el (read--expression): New function, extracted from
7584 eval-expression. Set completion-at-point-functions (bug#14465).
7585 (eval-expression, eval-minibuffer): Use it.
7586
5d028165
XF
75872013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7588
7589 * progmodes/flymake.el (flymake-save-buffer-in-file)
7590 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7591 (flymake-selected-frame, flymake-log, flymake-ins-after)
7592 (flymake-set-at, flymake-get-buildfile-from-cache)
7593 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7594 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7595 Refine the doc string.
7596 (flymake-get-file-name-mode-and-masks): Reformat.
7597 (flymake-get-real-file-name-function): Fix a minor bug.
7598
7a1d7ba7
JL
75992013-05-24 Juri Linkov <juri@jurta.org>
7600
7601 * progmodes/grep.el (grep-mode-font-lock-keywords):
7602 Support =linenumber= format used by git-grep for lines with
7603 function names. (Bug#13549)
7604
650cff3d
SM
76052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7608 0 after a semi-colon; it works better for smie-auto-fill.
7609 (octave--indent-new-comment-line): New function.
7610 (octave-indent-new-comment-line): Use it (indirectly).
7611 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7612 modify comment-line-break-function.
7613
7614 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7615 (smie-setup): Use add-function to set it.
7616
9631677d
SS
76172013-05-24 Sam Steingold <sds@gnu.org>
7618
7619 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7620 argument (before the `interactive' argument).
7621
50105835
SM
76222013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * image-mode.el (image-mode-winprops): Add winprops to
7625 image-mode-winprops-alist before running
7626 image-mode-new-window-functions.
7627 * doc-view.el (doc-view-new-window-function): Don't delay
7628 doc-view-goto-page via timers (bug#14435).
7629
57b9823e
TH
76302013-05-24 Tassilo Horn <tsdh@gnu.org>
7631
7632 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7633 (doc-view-desktop-save-buffer): New function.
7634 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7635 (desktop-buffer-mode-handlers):
7636 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7637 handler.
7638 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7639 `desktop-save-buffer' function.
7640
91aafa16
MA
76412013-05-24 Michael Albinus <michael.albinus@gmx.de>
7642
7643 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7644 (tramp-gvfs-file-name-handler): Raise a user error when
7645 `tramp-gvfs-enabled' is nil.
7646 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7647 Do not raise a user error when loading package. (Bug#14447)
7648
ec076379
MA
7649 * net/xesam.el: Move to obsolete/.
7650
db785726
GM
76512013-05-24 Glenn Morris <rgm@gnu.org>
7652
af5c7606
GM
7653 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7654
e5d1916a
GM
7655 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7656
ded62b08
GM
7657 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7658 (Info-find-node, Man-getpage-in-background): Declare.
7659
9e614a3f
GM
7660 * mail/unrmail.el (unrmail):
7661 Replace obsolete detect-coding-with-priority.
7662
892f8ca3
GM
7663 * net/socks.el (socks-split-string): Use this rather than split-string.
7664 (socks-nslookup-host): Update for above change.
7665 (dynamic-choice, s5-dynamic-choice-match)
7666 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7667 Comment out unused code.
7668
3c291973
GM
7669 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7670 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7671 (gud-tooltip-echo-area): Make obsolete.
7672 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7673
43cc956b
GM
7674 * progmodes/js.el (js--optimize-arglist): Declare.
7675
dab49a3b
GM
7676 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7677
36b9d085
GM
7678 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7679 (ediff-window-C): Declare.
7680
e354ae76
GM
7681 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7682 Tweak requires to silence compiler.
7683
b8e57bf4
GM
7684 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7685 (he-search-string, he-tried-table, he-expand-list)
7686 (he-init-string, he-string-member, he-substitute-string)
7687 (he-reset-string): Declare.
7688
db785726
GM
7689 * obsolete/options.el (list-options): Use custom-variable-p,
7690 rather than obsolete alias.
7691
b3531901
SS
76922013-05-23 Sam Steingold <sds@gnu.org>
7693
7694 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7695 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7696 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7697
bdda4c66
SM
76982013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * emacs-lisp/smie.el (smie-indent-forward-token)
7701 (smie-indent-backward-token): Handle string tokens (bug#14381).
7702
c43d45f9
TH
77032013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7704
fe1eb856
RS
7705 * ielm.el (ielm-menu): New menu.
7706 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7707
fe1eb856
RS
77082013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7709
7710 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7711 Fix deactivate action.
7712
7713 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7714 Add cleveref macros.
074dd971 7715
c43d45f9
TH
7716 * lisp/textmodes/reftex-parse.el
7717 (reftex-locate-bibliography-files): Accept options for
7718 bibliography commands.
7719 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7720 Add addbibresource. Basic Biblatex support.
7721
7764286e
MA
77222013-05-23 Michael Albinus <michael.albinus@gmx.de>
7723
7724 * net/tramp-gvfs.el (top):
7725 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7726 when loading package. (Bug#14447)
7727
d361bc10
GM
77282013-05-23 Glenn Morris <rgm@gnu.org>
7729
8fa23984
GM
7730 * progmodes/js.el: No need to load comint when compiling.
7731 (ring-insert, comint-send-string, comint-send-input)
7732 (comint-last-input-end, ido-chop): Declare.
7733
a5c7df1a
GM
7734 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7735 * vc/ediff-mult.el: Adjust requires.
7736 (ediff-directories-internal, ediff-directory-revisions-internal)
7737 (ediff-patch-file-internal): Declare.
7738 * vc/ediff-ptch.el: Adjust requires.
7739 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7740 (ediff-find-file): Autoload.
7741 * vc/ediff-util.el: No need to load ediff when compiling.
7742 (ediff-regions-internal): Declare.
7743 * vc/ediff-wind.el: Adjust requires.
7744 (ediff-compute-toolbar-width): Define when compiling.
7745 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7746 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7747 (dired-get-filename, dired-get-marked-files)
7748 (ediff-last-dir-patch, ediff-patch-default-directory)
7749 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7750 (ediff-patch-buffer-internal): Declare.
7751
e2aec513
GM
7752 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7753 (ispell-process, ispell-buffer-local-words, lm-summary)
7754 (lm-section-start, lm-section-end): Declare.
7755 (checkdoc-ispell-init): Simplify.
7756
e68bbd7c
GM
7757 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7758 (he-string-member, he-reset-string, he-substitute-string): Declare.
7759
7efe0991
GM
7760 * eshell/em-ls.el: Adjust requires.
7761 (eshell-glob-regexp): Declare.
f87b1284
GM
7762 * eshell/em-tramp.el: Adjust requires.
7763 (eshell-parse-command): Autoload.
7764 * eshell/em-xtra.el: Adjust requires.
7765 (eshell-parse-command): Autoload.
7766 * eshell/esh-ext.el: Adjust requires.
7767 (eshell-parse-command, eshell-close-handles): Autoload.
7768 * eshell/esh-io.el: Adjust requires.
7769 (eshell-output-filter): Autoload.
7770 * eshell/esh-util.el: No need to load tramp when compiling.
7771 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7772 Declare.
7773 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7774 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7775 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7776 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7777 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7778 * eshell/esh-opt.el, eshell/esh-proc.el:
7779 * eshell/esh-var.el: Adjust requires.
7780 * eshell/eshell.el: Do not require esh-util twice.
7781 (eshell-add-input-to-history): Declare.
7782 (eshell-command): Check history module is active before using it.
7783
d361bc10
GM
7784 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7785
85d090a9
LL
77862013-05-22 Leo Liu <sdl.web@gmail.com>
7787
7788 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7789
5d0acd9d
MA
77902013-05-22 Michael Albinus <michael.albinus@gmx.de>
7791
7792 * autorevert.el (auto-revert-notify-add-watch)
7793 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7794 it indicates changes in file modification time.
7795
0cdffd7d
GM
77962013-05-22 Glenn Morris <rgm@gnu.org>
7797
ca5995ec
GM
7798 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7799 Always delete the autoloaded function from the noruntime and
7800 unresolved functions lists.
7801
6450907e
GM
7802 * allout.el: No need to load epa, epg, overlay when compiling.
7803 (epg-context-set-passphrase-callback, epg-list-keys)
7804 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7805 (epg-key-user-id-list): Declare.
7806
9c6906f6
GM
7807 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7808 (viper-set-parsing-style-toggling-macro)
7809 (viper-set-emacs-state-searchstyle-macros):
7810 Use called-interactively-p on Emacs.
7811 (viper-looking-back): Make it an obsolete alias. Update callers.
7812 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7813 Use looking-back rather than viper-looking-back.
7814 (viper-tmp-insert-at-eob, viper-enlarge-region)
7815 (viper-read-string-with-history, viper-register-to-point)
7816 (viper-append-to-register, viper-change-state-to-vi)
7817 (viper-backward-char-carefully, viper-forward-char-carefully)
7818 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7819 (viper-change-state-to-emacs): Declare.
7820 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7821 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7822 * emulation/viper-mous.el: Do not load viper-cmd.
7823 (viper-backward-char-carefully, viper-forward-char-carefully)
7824 (viper-forward-word, viper-adjust-window): Declare.
7825
5f70c169
GM
7826 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7827
b1b7f300
GM
7828 * progmodes/idlw-help.el (idlwave-help-fontify):
7829 Use called-interactively-p.
7830
f6ebbb46
GM
7831 * term/w32console.el (w32-get-console-codepage)
7832 (w32-get-console-output-codepage): Declare.
7833
0cdffd7d
GM
7834 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7835 Remove unnecessary declarations.
7836 (dframe-message): Doc fix.
7837
7838 * info.el (dframe-select-attached-frame, dframe-current-frame):
7839 Declare.
7840
7841 * speedbar.el (speedbar-message): Make it an obsolete alias.
7842 Update all callers.
7843 (speedbar-with-attached-buffer)
7844 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7845 (speedbar-with-writable): Use backquote.
7846 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7847 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7848 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7849 rather than speedbar- aliases.
7850 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7851 (speedbar-make-specialized-keymap, speedbar-insert-button)
7852 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7853 (speedbar-do-function-pointer): Declare.
7854 (rmail-speedbar-button, rmail-speedbar-find-file)
7855 (rmail-speedbar-move-message):
7856 Use dframe-with-attached-buffer rather than speedbar- alias.
7857 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7858 (dframe-message, speedbar-make-specialized-keymap)
7859 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7860 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7861 (speedbar-insert-button, dframe-select-attached-frame)
7862 (dframe-maybee-jump-to-attached-frame)
7863 (speedbar-change-initial-expansion-list)
7864 (speedbar-previously-used-expansion-list-name): Declare.
7865 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7866 Use dframe-message, dframe-with-attached-buffer rather than
7867 speedbar- aliases.
7868 (gud-sentinel): Silence compiler.
7869 * progmodes/vhdl-mode.el (speedbar-refresh)
7870 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7871 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7872 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7873 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7874 (speedbar-file-lists, speedbar-make-tag-line)
7875 (speedbar-line-directory, speedbar-goto-this-file)
7876 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7877 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7878 (speedbar-make-button, speedbar-reset-scanners)
7879 (speedbar-files-item-info, speedbar-line-text)
7880 (speedbar-find-file-in-frame, speedbar-set-timer)
7881 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7882 (speedbar-with-writable): Do not (re)define it.
7883 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7884 rather than speedbar- alias.
7885
ee44b62a
LL
78862013-05-21 Leo Liu <sdl.web@gmail.com>
7887
7888 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7889 menu items.
7890 (octave-mode): Tweak fill-nobreak-predicate.
7891 (inferior-octave-startup): Check process to avoid infinite loop.
7892 (inferior-octave): Pop to buffer first to show abornmal process
7893 exit information.
7894
640f050f
GM
78952013-05-21 Glenn Morris <rgm@gnu.org>
7896
79458038
GM
7897 * printing.el (pr-menu-bar): Define when compiling.
7898
9cc3e83f
LL
78992013-05-21 Leo Liu <sdl.web@gmail.com>
7900
7901 * progmodes/octave.el (octave-auto-fill): Remove.
7902 (octave-indent-new-comment-line): Improve.
7903 (octave-mode): Use auto fill mode through
4f405069 7904 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7905 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7906 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7907 (octave-help): Show parent directory.
7908
f440830d
GM
79092013-05-21 Glenn Morris <rgm@gnu.org>
7910
7911 * files.el (dired-unmark):
7912 * progmodes/gud.el (gdb-input): Update declarations.
7913
7914 * calculator.el (electric, ehelp): No need to load when compiling.
7915 (Electric-command-loop, electric-describe-mode): Declare.
7916
7917 * doc-view.el (doc-view-current-converter-processes): Move before use.
7918
7919 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7920 Move MODE-set-explicitly definition before use.
7921
7922 * international/mule-diag.el (mule-diag):
7923 Don't use obsolete window-system-version.
7924
7925 * mail/feedmail.el (smtpmail): No need to load when compiling.
7926 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7927
7928 * mail/mail-utils.el (rfc822): No need to load when compiling.
7929 (rfc822-addresses): Autoload it.
7930 (mail-strip-quoted-names): Trivial simplification.
7931
7932 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7933 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7934
7935 * net/snmp-mode.el (tempo): Don't duplicate requires.
7936
7937 * progmodes/prolog.el (info): No need to load when compiling.
7938 (comint): Require before shell requires it.
7939 (Info-goto-node): Autoload it.
7940 (Info-follow-nearest-node): Declare.
7941 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7942
7943 * textmodes/artist.el (picture-mode-exit): Declare.
7944
7945 * textmodes/reftex-parse.el (reftex-parse-from-file):
7946 Trivial rewrite so the compiler can parse it better.
7947
b4da2cbb
LL
79482013-05-20 Leo Liu <sdl.web@gmail.com>
7949
7950 * progmodes/octave.el (octave-help-mode-map)
7951 (octave-help-mode-finish-hook): New variables.
7952 (octave-help-mode, octave-help-mode-finish): New functions.
7953 (octave-help): Use octave-help-mode.
7954
33c0f65b
GM
79552013-05-20 Glenn Morris <rgm@gnu.org>
7956
7957 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7958
1a0a0a8a
DG
79592013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7960
7961 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7962 start at point, so that expansion starting right after opening
7963 slash in a regexp is recognized.
7964 (ruby-syntax-before-regexp-re): New defvar, extracted from
7965 ruby-syntax-propertize-function. Since the value of this regexp
7966 is looked up at runtime now, we should be able to turn
7967 `ruby-syntax-methods-before-regexp' into a defcustom later.
7968 (ruby-syntax-propertize-function): Split regexp matching into two
7969 parts, for opening and closing slashes. That allows us to skip
7970 over string interpolations and support multiline regexps.
7971 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7972 for them, which calls `ruby-syntax-propertize-expansion'.
7973 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7974 call to `ruby-syntax-propertize-function'.
7975 (ruby-syntax-propertize-expansion): Extracted from
7976 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7977 (ruby-syntax-propertize-percent-literal): Leave point right after
7978 the percent symbol, so that the expression expansion rule can
7979 propertize the contents.
462388b6
DG
7980 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7981 heredoc openers.
7982 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7983
c1a6c0a4
JL
79842013-05-18 Juri Linkov <juri@jurta.org>
7985
7986 * man.el (Man-default-man-entry): Remove `-' from the end
7987 of the default value. (Bug#14400)
7988
8051fccd
GM
79892013-05-18 Glenn Morris <rgm@gnu.org>
7990
7991 * comint.el (comint-password-prompt-regexp):
7992 Allow "password for XXX" where XXX contains colons (eg https://...).
7993
5e80b74f
LL
79942013-05-18 Leo Liu <sdl.web@gmail.com>
7995
7996 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7997 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7998 (octave-source-directories): Don't check process.
7999 (octave-source-directories, octave-find-definition): Doc fix.
8000
521a54c5
GM
80012013-05-18 Glenn Morris <rgm@gnu.org>
8002
86a94b05
GM
8003 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8004 Remove backspace/delete bindings. (Bug#14392)
8005
521a54c5
GM
8006 * cus-dep.el (custom-make-dependencies): Sort the output.
8007 (custom-versions-load-alist): Convert comment to doc.
8008
42caeb89
LL
80092013-05-17 Leo Liu <sdl.web@gmail.com>
8010
8011 * newcomment.el (comment-search-backward): Stricter in finding
8012 comment start. (Bug#14303)
8013
8014 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8015 (octave-comment-start-skip): Properly anchored.
8016
e219dd97
LL
80172013-05-17 Leo Liu <sdl.web@gmail.com>
8018
fe1eb856
RS
8019 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8020 Clean up when turned off. (Bug#14395)
e219dd97
LL
8021 (smie--highlight-matching-block-overlay): No longer buffer-local.
8022 (smie-highlight-matching-block): Adjust.
8023
dc5dcb4b
PE
80242013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8025
8026 Doc string fix for "nanoseconds" (Bug#14406).
8027 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8028 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8029
1db165f0
JB
80302013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8031
8032 * calc/calc-units.el (math-extract-units): Preserve powers
8033 of units.
8034
c7a8fcac
LL
80352013-05-17 Leo Liu <sdl.web@gmail.com>
8036
8037 * subr.el (delete-consecutive-dups): New function.
8038 * ido.el (ido-set-matches-1): Use it.
8039 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8040 * ido.el (ido-remove-consecutive-dups): Remove.
8041
f678b18a
SM
80422013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8045 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8046 regexp-opt's `words'.
8047
ebfe68e8
LL
80482013-05-16 Leo Liu <sdl.web@gmail.com>
8049
8050 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8051 (smie--highlight-matching-block-overlay)
8052 (smie--highlight-matching-block-lastpos)
8053 (smie--highlight-matching-block-timer): New variables.
8054 (smie-highlight-matching-block): New function.
8055 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8056 (smie-setup): Conditionally enable smie-blink-matching-open.
8057
bc8bc17d
WS
80582013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8059
8060 Sync with upstream verilog-mode r840.
8061 * progmodes/verilog-mode.el (verilog-mode-version)
8062 (verilog-mode-release-date): Update.
8063 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8064 (verilog-sig-tieoff): Fix string error on
8065 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8066 (verilog-read-decls): Fix parameters confusing
8067 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8068
df065a0b
EZ
80692013-05-16 Eli Zaretskii <eliz@gnu.org>
8070
8071 * subr.el (reveal-filename): New function.
8072
8073 * loadup.el: Compute Emacs executable versions on MS-Windows,
8074 where executables have the .exe extension. Add a hard link
8075 emacs-XX.YY.ZZ.exe on MS-Windows.
8076
8077 * Makefile.in (XARGS_LIMIT): New variable.
8078 (custom-deps, finder-data, autoloads)
8079 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8080 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8081 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8082 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8083
2d4bf34b
LL
80842013-05-16 Leo Liu <sdl.web@gmail.com>
8085
8086 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8087 (octave-mode-menu, octave-mode-map): Remove its uses.
8088
6b9c2d85
RZ
80892013-05-16 Reto Zimmermann <reto@gnu.org>
8090
8091 Sync with upstream vhdl mode v3.34.2.
8092 * progmodes/vhdl-mode.el: Use `push' throughout.
8093 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8094 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8095 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8096 (vhdl-actual-generic-name): New option to derive actual generic name.
8097 (vhdl-port-paste-signals): Replace formal by actual generics.
8098 (vhdl-beautify): New name for old group vhdl-align. Update users.
8099 (vhdl-beautify-options): New option.
8100 (vhdl-last-input-event): New compat alias. Use throughout.
8101 (vhdl-goto-line): Replace user level function `goto-line'.
8102 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8103 vhdl-fix-statement-buffer.
8104 (vhdl-create-mode-menu): Add some entries.
8105 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8106 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8107 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8108 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8109 to force statements on one line.
8110 (vhdl-remove-trailing-spaces-region):
8111 New, split from vhdl-remove-trailing-spaces.
8112 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8113 Respect vhdl-beautify-options.
8114 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8115 (vhdl-update-sensitivity-list): Not add with index if exists without.
8116 Not include array index with signal. Ignore keywords in comments.
8117 (vhdl-get-visible-signals): Regexp tweaks.
8118 (vhdl-template-component-inst): Handle empty library.
8119 (vhdl-template-type): Add template for 'enum' type.
8120 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8121 Use vhdl-replace-string.
8122 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8123 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8124 (vhdl-speedbar-initialize): Update for above name change.
8125 (vhdl-compose-wire-components): Fix in handling of constants.
8126 (vhdl-error-regexp-emacs-alist): New variable.
8127 (vhdl-error-regexp-add-emacs): New function;
8128 adds support for new compile.el (Emacs 22+)
8129 (vhdl-generate-makefile-1): Change target order for single lib. units.
8130 Allow use of absolute file names.
8131
9df4ec5e
LL
81322013-05-16 Leo Liu <sdl.web@gmail.com>
8133
8134 * simple.el (prog-indent-sexp): Indent enclosing defun.
8135
f5ba00a6
GM
81362013-05-15 Glenn Morris <rgm@gnu.org>
8137
ed8be7ff
GM
8138 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8139 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8140 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8141 (whitespace-highlight): Move to whitespace group.
8142
8143 * comint.el (comint-source):
8144 * pcmpl-linux.el (pcmpl-linux):
8145 * shell.el (shell-faces):
8146 * eshell/esh-opt.el (eshell-opt):
8147 * international/ccl.el (ccl): Remove empty custom groups.
8148
8149 * completion.el (dynamic-completion-mode):
8150 * jit-lock.el (jit-lock-debug-mode):
8151 * minibuffer.el (completion-in-region-mode):
8152 * type-break.el (type-break-mode-line-message-mode)
8153 (type-break-query-mode):
8154 * emulation/tpu-edt.el (tpu-edt-mode):
8155 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8156 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8157 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8158
8159 * term/xterm.el (xterm): Change parent group to terminals.
8160
8161 * master.el (master): Remove empty custom group.
8162 (master-mode): Remove unused :group argument.
8163 * textmodes/refill.el (refill): Remove empty custom group.
8164 (refill-mode): Remove unused :group argument.
8165
8166 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8167
82a7c41b
GM
8168 * cus-dep.el: Provide a feature.
8169 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8170 Don't mistakenly ignore files whose basenames match a basename
8171 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8172 Add a fallback method for getting :group.
f5ba00a6 8173
6d65486d
JL
81742013-05-15 Juri Linkov <juri@jurta.org>
8175
da547b32
JL
8176 * isearch.el (isearch-char-by-name): Rename from
8177 `isearch-insert-char-by-name'. Doc fix.
8178 (isearch-forward): Mention `isearch-char-by-name' in
8179 the docstring. (Bug#13348)
8180
6d65486d
JL
8181 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8182 `exit-minibuffer' instead of
8183 `isearch-nonincremental-exit-minibuffer'.
8184 (isearch-edit-string): Remove mention of
8185 `isearch-nonincremental-exit-minibuffer' from docstring.
8186 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8187 (isearch-forward-exit-minibuffer)
8188 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8189
c9990474
SM
81902013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8191
6e911150
SM
8192 * loadup.el: Just use unversioned DOC.
8193
c9990474
SM
8194 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8195 literals as extending to EOB.
8196 (nxml-last-fontify-end): Remove unused variable.
8197 (nxml-after-change1): Use with-silent-modifications.
8198 (nxml-extend-after-change-region): Simplify.
8199 (nxml-extend-after-change-region1): Remove function.
8200 (nxml-after-change1): Don't adjust for dependent regions.
8201 (nxml-fontify-matcher): Simplify.
8202 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8203 (xmltok-add-dependent): Remove function.
8204 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8205 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8206 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8207 unclosed <[[, <?, comment, and other literals as extending to EOB.
8208 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8209 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8210 Remove functions.
8211 (rng-do-some-validation-1): Don't mark dependent regions.
8212 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8213 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8214 (nxml-clear-dependent-regions): Remove functions.
8215 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8216 (nxml-ensure-scan-up-to-date):
8217 Don't clear&mark dependent regions.
8218
e3772e98
LL
82192013-05-15 Leo Liu <sdl.web@gmail.com>
8220
c9990474
SM
8221 * progmodes/octave.el (octave-goto-function-definition):
8222 Improve and fix callers.
e3772e98 8223
5ac2eb34
SM
82242013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8225
c46c57b0
SM
8226 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8227 the setter (bug#14387).
8228
5ac2eb34
SM
8229 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8230 surrounding group (bug#14402).
8231
180ed218
JL
82322013-05-14 Juri Linkov <juri@jurta.org>
8233
8234 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8235 (Bug#14390)
8236
0ac0fecb
GM
82372013-05-14 Glenn Morris <rgm@gnu.org>
8238
8239 * progmodes/f90.el (f90-imenu-generic-expression):
8240 Fix typo in 2013-05-08 change. (Bug#14402)
8241
2e78e6a7
JPG
82422013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8243
5ac2eb34
SM
8244 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8245 Remove signals for which replies are never received.
2e78e6a7 8246
53267cca
JPG
82472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8248
8249 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8250 (gdb-handler-alist, gdb-handler-number): Remove variables.
8251 (gdb-handler-list): New variable.
8252 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8253 (gdb-pending-handler-p, gdb-handle-reply)
8254 (gdb-remove-all-pending-triggers): New functions.
8255 (gdb-discard-unordered-replies): New defcustom.
8256 (gdb-handler): New defstruct.
8257 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8258 instead of gdb-pending-triggers. Update docstring.
8259 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8260 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8261 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8262 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8263 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8264 (gdb-frame-handler): Pending triggers are now automatically managed.
8265 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8266 Remove argument.
8267 (gdb-input): Automatically handles pending triggers. Update docstring.
8268 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8269 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8270 Update comments.
8271 (gdb-done-or-error): Now use gdb-handle-reply.
8272
d04ce803
JPG
82732013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8274
8275 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8276 gdb-debug-log.
8277
0114073a
GM
82782013-05-14 Glenn Morris <rgm@gnu.org>
8279
8280 * subr.el (user-emacs-directory-warning): New option.
8281 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8282
4d25fd7e
LL
82832013-05-14 Leo Liu <sdl.web@gmail.com>
8284
8285 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8286 during redisplay.
8287 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8288 (octave-font-lock-texinfo-comment): Fix invalid search bound
8289 error: wrong side of point.
4d25fd7e 8290
27c8b6eb
GM
82912013-05-14 Glenn Morris <rgm@gnu.org>
8292
61aaeb01
GM
8293 * progmodes/flymake.el (flymake-xml-program): New option.
8294 (flymake-xml-init): Use it.
8295
5bf90bc5
GM
8296 * term/xterm.el: Provide a feature.
8297
8298 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8299
f4c7dfd2
GM
83002013-05-13 Glenn Morris <rgm@gnu.org>
8301
8302 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8303 Add compat aliases as a hack workaround. (Bug#14384)
8304
2aeb3a1d
LL
83052013-05-13 Leo Liu <sdl.web@gmail.com>
8306
b0e069c2
LL
8307 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8308 ###, and %!.
f5a9432f
LL
8309 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8310 C-M-q.
b0e069c2
LL
8311 (octave-comment-start-skip): Include %!.
8312 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8313
30ea8374
LL
83142013-05-12 Leo Liu <sdl.web@gmail.com>
8315
8316 * progmodes/octave.el (inferior-octave-startup): Store the value
8317 of __octave_srcdir__ for octave-source-directories.
8318 (inferior-octave-check-process): New function refactored out of
8319 inferior-octave-send-list-and-digest.
8320 (octave-source-directories)
8321 (octave-find-definition-filename-function): New variables.
8322 (octave-source-directories)
8323 (octave-find-definition-default-filename): New functions.
8324 (octave-find-definition): Improve to find functions implemented in C++.
8325
472a3834
GM
83262013-05-12 Glenn Morris <rgm@gnu.org>
8327
8328 * calendar/diary-lib.el (diary-outlook-format-1):
8329 Don't include dayname in the output. (Bug#14349)
8330
3191b52f
GM
83312013-05-11 Glenn Morris <rgm@gnu.org>
8332
0060ac73
GM
8333 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8334
3191b52f
GM
8335 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8336 Treat cc-provide like provide.
8337
e065ba74
KR
83382013-05-11 Kevin Ryde <user42@zip.com.au>
8339
8340 * cus-dep.el (custom-make-dependencies):
8341 Use generated-autoload-load-name for the sake of files such
8342 such cedet/semantic/bovine/c.el, where the base file name
8343 is not in load-path. (Bug#5277)
8344
36f84c37
GM
83452013-05-11 Glenn Morris <rgm@gnu.org>
8346
8347 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8348 Provide features.
8349
c8730c3a
LL
83502013-05-11 Leo Liu <sdl.web@gmail.com>
8351
8352 * progmodes/octave.el (octave-indent-comment): Improve.
8353 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8354 (octave-eldoc-function-signatures, octave-eldoc-function):
8355 New functions.
c8730c3a
LL
8356 (octave-mode, inferior-octave-mode): Add eldoc support.
8357
212e29f2
RS
83582013-05-11 Richard Stallman <rms@gnu.org>
8359
8360 * epa.el (epa-decrypt-file): Take output file name as argument
8361 and read it using `interactive'.
8362
083fe0d7
LL
83632013-05-11 Leo Liu <sdl.web@gmail.com>
8364
8365 * progmodes/octave.el (octave-beginning-of-line)
8366 (octave-end-of-line): Check before using up-list because it jumps
8367 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8368 (octave-indent-comment): New function.
8369 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8370 (octave-begin-keywords, octave-end-keywords)
8371 (octave-reserved-words, octave-smie-bnf-table)
8372 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8373
8582e4c4
GM
83742013-05-11 Glenn Morris <rgm@gnu.org>
8375
f20def1f
GM
8376 * faces.el (internal-face-x-get-resource):
8377 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8378 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8379 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8380 Fix declarations.
f20def1f 8381
445f95e2
GM
8382 * calc/calc-menu.el: Make it loadable in isolation.
8383
8384 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8385 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8386 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8387 (eudc-bbdb-query-internal): Require 'bbdb.
8388
99fb2756
GM
8389 * lpr.el (lpr-headers-switches):
8390 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8391
8392 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8393
0da7ad96
GM
8394 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8395
8582e4c4
GM
8396 * term.el (term-set-escape-char): Make it idempotent.
8397
f71c50d0
LL
83982013-05-10 Leo Liu <sdl.web@gmail.com>
8399
5ac2eb34
SM
8400 * progmodes/octave.el (inferior-octave-completion-table):
8401 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8402 completion due to bug#11906.
8403 (octave-beginning-of-defun): Re-write to be more general.
8404
d5837773
GM
84052013-05-10 Glenn Morris <rgm@gnu.org>
8406
8407 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8408
027c0f75
SM
84092013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * comint.el (comint-redirect-send-command-to-process): Use :around
8412 rather than :override for comint-redirect-filter.
8413 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8414 Call it instead of comint-redirect-original-filter-function (which
8415 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8416
4465bfb4
JD
84172013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8418
8419 * frame.el (display-monitor-attributes-list): Add NS case.
8420 (ns-display-monitor-attributes-list): Declare.
8421
2d809ffa 84222013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8423
8424 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8425
e54eeb9b
GM
84262013-05-09 Glenn Morris <rgm@gnu.org>
8427
56cd351d
GM
8428 * international/fontset.el (vertical-centering-font-regexp):
8429 Set standard-value.
8430
d84b6108
GM
8431 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8432
a931698a
GM
8433 * bookmark.el (bookmark-search-delay):
8434 * cus-start.el (vertical-centering-font-regexp):
8435 * ps-mule.el (ps-mule-font-info-database-default):
8436 * ps-print.el (ps-default-fg, ps-default-bg):
8437 * type-break.el (type-break-good-break-interval):
8438 * whitespace.el (whitespace-indentation-regexp)
8439 (whitespace-space-after-tab-regexp):
8440 * emacs-lisp/testcover.el (testcover-1value-functions)
8441 (testcover-noreturn-functions, testcover-progn-functions)
8442 (testcover-prog1-functions):
8443 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8444 * eshell/em-glob.el (eshell-glob-translate-alist):
8445 * play/tetris.el (tetris-tty-colors):
8446 * progmodes/cpp.el (cpp-face-default-list):
8447 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8448 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8449 (idlwave-help-browser-generic-args):
8450 * progmodes/make-mode.el (makefile-special-targets-list):
8451 * progmodes/python.el (python-shell-virtualenv-path):
8452 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8453 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8454 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8455 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8456 * textmodes/reftex-vars.el (reftex-format-label-function):
8457 * textmodes/remember.el (remember-diary-file): Fix custom types.
8458
e54eeb9b
GM
8459 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8460 Add :version.
8461
455851dd
LL
84622013-05-09 Leo Liu <sdl.web@gmail.com>
8463
8464 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8465 Restore file completion. (Bug#14300)
455851dd
LL
8466 (inferior-octave-startup): Fix incorrect highlighting for the
8467 first prompt.
8468
a9e4425b
SM
84692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * progmodes/ruby-mode.el: First cut at SMIE support.
8472 (ruby-use-smie): New var.
8473 (ruby-smie-grammar): New constant.
8474 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8475 (ruby-smie--forward-token, ruby-smie--backward-token)
8476 (ruby-smie-rules): New functions.
8477 (ruby-mode-variables): Setup SMIE if applicable.
8478
060ca408
EZ
84792013-05-08 Eli Zaretskii <eliz@gnu.org>
8480
8481 * simple.el (line-move-visual): Signal beginning/end of buffer
8482 only if vertical-motion moved less than it was requested. Avoids
8483 silly incorrect error messages when there are display strings with
8484 multiple newlines at EOL.
8485
1d5963cc
SM
84862013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8489 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8490 (prolog-char-quote-workaround):
8491 * progmodes/cperl-mode.el (cperl-under-as-char):
8492 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8493 Mark as obsolete.
8494 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8495 their declaration.
8496 (vhdl-mode-syntax-table-init): Remove.
8497
c9990474
SM
8498 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8499 last change.
1d5963cc
SM
8500
8501 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8502 syntax for "_".
8503 (ld-script-font-lock-keywords):
8504 Change regexps to use things like \_< and \_>.
8505
8506 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8507 Change all regexps to use things like \_< and \_>.
8508
8509 * progmodes/autoconf.el (autoconf-definition-regexp)
8510 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8511 Handle a _ with symbol syntax.
8512 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8513
c9990474
SM
8514 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8515 Consolidate declaration.
1d5963cc
SM
8516 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8517 the declaration.
8518 (ada-create-syntax-table): Remove.
8519 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8520 already has the right syntax nowadays.
8521 (ada-goto-next-word): Don't change the syntax of "_".
8522
8523 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8524 with-wrapper-hook.
8525
72d3cfca
SS
85262013-05-08 Sam Steingold <sds@gnu.org>
8527
8528 * thingatpt.el (thing-at-point): Accept optional second argument
8529 NO-PROPERTIES to strip the text properties from the return value.
8530 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8531 to `thing-at-point' instead of stripping the properties ourselves.
8532 Also, when `thing-at-point' fails to find a url, prepend "http://"
8533 to the filename at point on the assumption that the user is
8534 pointing at something like gnu.org/gnu.
8535
5cb15713
JB
85362013-05-08 Juanma Barranquero <lekktu@gmail.com>
8537
8538 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8539 * faces.el (crm-separator):
8540 Silence byte-compiler.
8541
8542 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8543 (tool-bar-map): Remove unneeded defvars.
8544
ea78b95b
LL
85452013-05-08 Leo Liu <sdl.web@gmail.com>
8546
8547 Re-work a fix for bug#10994 based on Le Wang's patch.
8548 * ido.el (ido-remove-consecutive-dups): New helper.
8549 (ido-completing-read): Use it.
8550 (ido-chop): Revert fix for bug#10994.
8551
dc7466df
AS
85522013-05-08 Adam Spiers <emacs@adamspiers.org>
8553
8554 * cus-edit.el (custom-save-variables):
8555 Pretty-print long values. (Bug#14187)
8556
9ecf672a
GM
85572013-05-08 Glenn Morris <rgm@gnu.org>
8558
8559 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8560 (m4-mode-syntax-table): Init in the defvar.
8561 (m4-mode-abbrev-table): Let define-derived-mode define it.
8562
3f555be8
TT
85632013-05-08 Tom Tromey <tromey@redhat.com>
8564
8565 * progmodes/m4-mode.el (m4-mode-syntax-table):
8566 Do not treat "_" as word constituent. (Bug#14167)
8567
7cc8ae06
GM
85682013-05-07 Glenn Morris <rgm@gnu.org>
8569
4f58bc06
GM
8570 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8571 Remove explicit eshell-isearch-cancel-map.
8572
7cc8ae06
GM
8573 * progmodes/f90.el (f90-smart-end-names): New option.
8574 (f90-smart-end): Doc fix.
8575 (f90-end-block-optional-name): New constant.
8576 (f90-block-match): Respect f90-smart-end-names.
8577
ceb57e59
SM
85782013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8581 about implicit semi-colons (bug#14218).
8582
4e3f9230
YM
85832013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8584
8585 * frame.el (display-monitor-attributes-list)
8586 (frame-monitor-attributes): New functions.
8587
203a5572
LL
85882013-05-06 Leo Liu <sdl.web@gmail.com>
8589
8590 * progmodes/octave.el (octave-syntax-propertize-function): Change
8591 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8592 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8593 (octave-completion-at-point): Rename from
203a5572
LL
8594 octave-completion-at-point-function.
8595 (inferior-octave-directory-tracker): Robustify.
8596 (octave-text-functions): Remove and fix its uses. No such things
8597 any more.
8598
ee6cff99
SM
85992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/trace.el (trace--display-buffer): New function.
8602 (trace-make-advice): Use it.
8603
32985194
JL
86042013-05-06 Juri Linkov <juri@jurta.org>
8605
8606 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8607 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8608 Doc fix.
8609 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8610 in the help string. (Bug#12985)
8611
a1c700de
KD
86122013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8613
8614 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8615
c67c0839
SM
86162013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8617
323885fd
SM
8618 * progmodes/perl-mode.el: Add support for here documents.
8619 (perl-syntax-propertize-function): Match here-doc markers.
8620 (perl-syntax-propertize-special-constructs): Find their end.
8621 (perl-imenu-generic-expression): Use [:alnum:].
8622
c67c0839
SM
8623 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8624 (advice--add-function): Refresh the advice if already present
8625 (bug#14317).
8626
d491e7a8
IA
86272013-05-06 Ivan Andrus <darthandrus@gmail.com>
8628
8629 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8630
ddf9925e
GM
86312013-05-06 Glenn Morris <rgm@gnu.org>
8632
7cc3af27
GM
8633 * w32-fns.el (w32-charset-info-alist): Declare.
8634
16e343d6
GM
8635 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8636 of its defcustom properties.
8637 (eshell-cmpl-initialize): No need to load pcomplete.
8638
7d889a47
GM
8639 * generic-x.el: No need to require comint when compiling.
8640
ddf9925e
GM
8641 * net/eudc-export.el: Make it loadable without bbdb.
8642 (top-level): Use require rather than load-library.
8643 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8644 (eudc-batch-export-records-to-bbdb)
8645 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8646 Require bbdb.
8647
1e2c18df
SM
86482013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8651 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8652 some tweaks, instead.
8653
02502a5f
LL
86542013-05-05 Leo Liu <sdl.web@gmail.com>
8655
8656 * progmodes/octave.el (octave-font-lock-keywords)
8657 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8658 (inferior-octave-send-list-and-digest): Improve error message.
8659 (octave-mode, inferior-octave-mode): Use setq-local.
8660 (octave-help): Set info-lookup-mode.
8661
0dc04f42
RS
86622013-05-05 Richard Stallman <rms@gnu.org>
8663
6c54491c
RS
8664 * vc/compare-w.el (compare-windows-whitespace):
8665 Treat no-break space as whitespace.
8666
0dc04f42
RS
8667 * mail/rmailsum.el (rmail-summary-rmail-update):
8668 Detect empty summary and don't change selected message.
8669 (rmail-summary-goto-msg): Likewise.
8670
df8f35df
RS
8671 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8672 Doc fixes, rename args.
8673
5356e1a3
AM
86742013-05-05 Alan Mackenzie <acm@muc.de>
8675
8676 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8677
d44014cb
JL
86782013-05-05 Juri Linkov <juri@jurta.org>
8679
8680 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8681 to not add the length of the summary segment to the return value.
8682 (Bug#14125)
8683
c129b51f
LL
86842013-05-05 Leo Liu <sdl.web@gmail.com>
8685
8686 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8687 (inferior-octave-output-filter): Remove.
8688 (octave-send-region, inferior-octave-startup): Fix callers.
8689 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8690 (octave-binary-file-extensions): New user variable.
8691 (octave-find-definition): Confirm if opening binary files.
8692 (octave-help-file): Use octave-find-definition to get the binary
8693 confirmation.
8694 (octave-help): Adjust for octave-help-file change.
8695
aa7dab97
SM
86962013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8699 Merge the two entries that handle function definitions.
8700 (pascal--syntax-propertize): New const.
8701 (pascal-mode): Use it. Use setq-local.
8702
fd3a9a6b
GM
87032013-05-04 Glenn Morris <rgm@gnu.org>
8704
8705 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8706 (diary-from-outlook): Respect diary-from-outlook-function.
8707
30c7e542
SM
87082013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8711 Move the declaration from C.
8712 (read-minibuffer, eval-minibuffer): Move from C.
8713 (completion-setup-function): Avoid minibuffer-completion-contents.
8714
b54f978b
LL
87152013-05-03 Leo Liu <sdl.web@gmail.com>
8716
8717 * progmodes/octave.el (octave-font-lock-keywords): Do not
8718 dehighlight 'end' in comments or strings.
30c7e542
SM
8719 (octave-completing-read, octave-goto-function-definition):
8720 New helpers.
d4d0f9b3
LL
8721 (octave-help-buffer): New user variable.
8722 (octave-help-file, octave-help-function): New button types.
8723 (octave-help): New command and bind it to C-h ;.
8724 (octave-find-definition): New command and bind it to M-.
d74a1581 8725 (user-error): Alias to error if not defined.
b54f978b 8726
27135018
LL
87272013-05-02 Leo Liu <sdl.web@gmail.com>
8728
8729 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8730 for \. (bug#14332)
8731 (octave-font-lock-keywords): Include [ and {.
8732
0d634d3a
LL
87332013-05-02 Leo Liu <sdl.web@gmail.com>
8734
8735 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8736 (inferior-octave): Remove calling comint-mode and return the buffer.
8737 (inferior-octave-startup): Cosmetic changes.
8738
b4c8295e
LL
87392013-05-02 Leo Liu <sdl.web@gmail.com>
8740
30c7e542
SM
8741 * progmodes/octave.el (octave-syntax-propertize-function):
8742 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8743
f12ad6ec
GM
87442013-05-02 Glenn Morris <rgm@gnu.org>
8745
8746 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8747 * desktop.el (vc-dir-mode): Just autoload it here.
8748
30cac1e0
AM
87492013-05-02 Alan Mackenzie <acm@muc.de>
8750
8751 Eliminate variable c-standard-font-lock-fontify-region-function.
8752 * progmodes/cc-mode.el
8753 (c-standard-font-lock-fontify-region-function): Remove.
8754 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8755
d8ef28b1
LL
87562013-05-01 Leo Liu <sdl.web@gmail.com>
8757
2640d52e 8758 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8759 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8760 variables were removed from Octave in 2007.
d8ef28b1
LL
8761 (inferior-octave-startup): Fix uses.
8762 (comint-line-beginning-position): Remove compatibility code for
8763 emacs 21.
8764
ac63ec89
JL
87652013-05-01 Juri Linkov <juri@jurta.org>
8766
8767 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8768
9e9be37c
JL
87692013-05-01 Juri Linkov <juri@jurta.org>
8770
8771 * comint.el (comint-previous-matching-input): Don't print message
8772 "History item: %d" when `isearch-mode' is active.
8773 (comint-history-isearch-message): Print message "History item: %d"
8774 when `comint-input-ring-index' is not empty and this function is
8775 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8776
9b92c13b
LL
87772013-05-01 Leo Liu <sdl.web@gmail.com>
8778
8779 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8780 definitions. Use completion-at-point to insert keywords.
8781 (octave-abbrev-start): Remove.
8782 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8783
b12d33d7
LL
87842013-04-30 Leo Liu <sdl.web@gmail.com>
8785
8786 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8787 change.
8788
3d1c39fa
AM
87892013-04-30 Alan Mackenzie <acm@muc.de>
8790
8791 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8792 * progmodes/cc-engine.el (c-back-over-member-initializers):
8793 new function.
3d1c39fa
AM
8794 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8795 (most) member init lists.
8796
5147fc17
RS
87972013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8798
8799 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8800 variable.
8801
5b78d7fc
LL
88022013-04-30 Leo Liu <sdl.web@gmail.com>
8803
8804 * progmodes/octave.el (octave-variables): Remove. No builtin
8805 variables any more. All converted to functions.
8806 (octave-font-lock-keywords, octave-completion-at-point-function):
8807 Fix uses.
8808 (octave-font-lock-texinfo-comment): New user variable.
8809 (octave-texinfo-font-lock-keywords): New variable for texinfo
8810 comment block.
8811 (octave-function-comment-block): New face.
8812 (octave-font-lock-texinfo-comment): New function.
8813 (octave-mode): Font lock texinfo comment block.
8814
38d8527b
LL
88152013-04-29 Leo Liu <sdl.web@gmail.com>
8816
8817 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8818 indexing expression.
8819 (octave-continuation-string): Do not use \.
8820 (inferior-octave-complete-impossible): Remove.
8821 (inferior-octave-completion-table)
8822 (inferior-octave-completion-at-point): Remove its uses.
8823 (inferior-octave-startup): completion_matches was introduced to
8824 Octave in 1996 so safe to assume it.
8825 (octave-function-file-comment): Improve to follow how Octave does it.
8826 (octave-update-function-file-comment): Tweak.
8827
2ec12cb0
LL
88282013-04-29 Leo Liu <sdl.web@gmail.com>
8829
8830 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8831 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8832 (octave-function-file-comment): Fix typo.
8833 (octave-sync-function-file-names): Use read-char-choice.
8834
6eaed048
JB
88352013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8836
8837 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8838 to t for the less important warnings.
8839
3ffa2d4f
DH
88402013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8841
8842 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8843
685c9501
GM
88442013-04-27 Glenn Morris <rgm@gnu.org>
8845
8846 * vc/log-view.el (log-view-current-entry):
8847 Treat "---" separator lines as part of the following rev. (Bug#14169)
8848
0208ede7
JL
88492013-04-27 Juri Linkov <juri@jurta.org>
8850
8851 * subr.el (read-number): Doc fix about using it by interactive
8852 code letter `n'. (Bug#14254)
8853
5db9dace
JL
88542013-04-27 Juri Linkov <juri@jurta.org>
8855
8856 * desktop.el (desktop-auto-save-timeout): New option.
8857 (desktop-file-checksum): New variable.
8858 (desktop-save): Add optional arg `auto-save' and don't auto-save
8859 if nothing changed.
8860 (desktop-auto-save-timer): New variable.
8861 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8862 (after-init-hook): Call `desktop-auto-save-set-timer'.
8863 Suggested by Reuben Thomas <rrt@sc3d.org> in
8864 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8865
b7260dd4
LL
88662013-04-27 Leo Liu <sdl.web@gmail.com>
8867
8868 * progmodes/octave.el (octave-function-file-p)
8869 (octave-skip-comment-forward, octave-function-file-comment)
8870 (octave-update-function-file-comment): New functions.
8871 (octave-mode-map): Bind C-c ; to
8872 octave-update-function-file-comment.
8873 (octave-mode-menu): Add octave-update-function-file-comment.
8874 (octave-mode, inferior-octave-mode): Fix doc-string.
8875 (octave-insert-defun): Conform to Octave's coding convention.
8876 (Bug#14285)
8877
8878 * files.el (basic-save-buffer): Don't let errors in
8879 before-save-hook prevent saving buffer.
8880
c46da669
RW
88812013-04-20 Roland Winkler <winkler@gnu.org>
8882
8883 * faces.el (read-face-name): Use completing-read if arg multiple
8884 is nil.
8885
a81ee1eb
IL
88862013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8887
8888 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8889 displayed, move point to after the totals line.
8890 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8891 for the details.
8892
4fac34ce
SM
88932013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8896 Add current dir to the load-path.
8897 (package-generate-autoloads): Don't rely on
8898 autoload-ensure-default-file.
8899
f6bfc063
RT
89002013-04-26 Reuben Thomas <rrt@sc3d.org>
8901
d40ab5cf
BG
8902 * textmodes/remember.el (remember-store-in-files): Document that
8903 the file name format is passed to `format-time-string'.
f6bfc063 8904
e55d3b04
LL
89052013-04-26 Leo Liu <sdl.web@gmail.com>
8906
8907 * progmodes/octave.el (octave-sync-function-file-names): New function.
8908 (octave-mode): Use it in before-save-hook.
8909
e53052d3
SM
89102013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8911
140ef50c
SM
8912 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8913 (bug#14274).
8914
e53052d3
SM
8915 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8916 \n and comment, even if it's not an implicit ; (bug#14218).
8917
af80458d 89182013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8919
8920 * subr.el (read-number): Once more use `read' rather than
8921 `string-to-number', to trap non-numeric input. (Bug#14254)
8922
af80458d 89232013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8924
8925 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8926 Use `syntax-multiline' text property consistently instead of
8a621d53 8927 `font-lock-multiline'. (Bug#14237)
70203c2e 8928
e6ea1f6c
GM
89292013-04-26 Glenn Morris <rgm@gnu.org>
8930
8931 * emacs-lisp/shadow.el (list-load-path-shadows):
8932 No longer necessary to check for duplicate simple.el, since
8933 2012-07-07 change to init_lread to not include installation lisp
8934 directories in load-path when running uninstalled. (Bug#14270)
8935
070ccca4
LL
89362013-04-26 Leo Liu <sdl.web@gmail.com>
8937
8938 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8939 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8940 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8941 octave-in-string-or-comment-p.
8942 (octave-in-comment-p, octave-in-string-p)
8943 (octave-in-string-or-comment-p): Replace defsubst with defun.
8944
9d1c5fb6
PE
89452013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8946
8947 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8948
c034abda
BG
89492013-04-25 Bastien Guerry <bzg@gnu.org>
8950
8951 * textmodes/remember.el (remember-data-directory)
8952 (remember-directory-file-name-format): Fix custom types.
8953
584ea277
LL
89542013-04-25 Leo Liu <sdl.web@gmail.com>
8955
e53052d3
SM
8956 * progmodes/octave.el (octave-completion-at-point-function):
8957 Make use of inferior octave process.
584ea277
LL
8958 (octave-initialize-completions): Remove.
8959 (inferior-octave-completion-table): New function.
8960 (inferior-octave-completion-at-point): Use it.
8961 (octave-completion-alist): Remove.
8962
1693b06a
SM
89632013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8966 (opascal-mode-syntax-table): New var.
8967 (opascal-literal-kind, opascal-is-literal-end)
8968 (opascal-literal-token-at): Rewrite.
8969 (opascal--literal-start-re, opascal-font-lock-keywords)
8970 (opascal--syntax-propertize): New constants.
8971 (opascal-font-lock-defaults): Adjust.
8972 (opascal-mode): Use them. Set comment-<foo> variables as well.
8973 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8974 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8975 (delphi-other-face, opascal-other-face): Remove face variables.
8976 (opascal-save-state): Remove macro.
8977 (opascal-fontifying-progress-step): Remove constant.
8978 (opascal--ignore-changes): Remove var.
8979 (opascal-set-token-property, opascal-parse-next-literal)
8980 (opascal-is-stable-literal, opascal-complete-literal)
8981 (opascal-is-literal-start, opascal-face-of)
8982 (opascal-parse-region, opascal-parse-region-until-stable)
8983 (opascal-fontify-region, opascal-after-change)
8984 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8985 (opascal-debug-parse-region, opascal-debug-parse-window)
8986 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8987 (opascal-debug-fontify-buffer): Remove.
8988 (opascal-debug-mode-map): Adjust accordingly.
8989
be64c05d
LL
89902013-04-25 Leo Liu <sdl.web@gmail.com>
8991
8992 Merge octave-mod.el and octave-inf.el into octave.el with some
8993 cleanups.
8994 * progmodes/octave.el: New file renamed from octave-mod.el.
8995 * progmodes/octave-inf.el: Merged into octave.el.
8996 * progmodes/octave-mod.el: Renamed to octave.el.
8997
d79d37bd
TH
89982013-04-25 Tassilo Horn <tsdh@gnu.org>
8999
9000 * textmodes/reftex-vars.el
9001 (reftex-label-ignored-macros-and-environments): New defcustom.
9002
9003 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9004
ced3fc5d
SM
90052013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9008 (smie-indent-keyword): Improve the check to ensure that the next
9009 comment is really on the same line.
9010 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9011
9012 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9013 semi-colons if the line is not otherwise empty (bug#14218).
9014
1c141dad
GM
90152013-04-25 Glenn Morris <rgm@gnu.org>
9016
9017 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9018
5058062a
SM
90192013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * progmodes/opascal.el (opascal-set-token-property): Rename from
9022 opascal-set-text-properties and only set `token' (bug#14134).
9023 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9024 (opascal-literal-text-properties): Remove.
9025 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9026 Adjust callers.
9027
5db9dace 90282013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9029
9030 * textmodes/remember.el (remember-handler-functions): Add an
9031 option for a new handler `remember-store-in-files'.
9032 (remember-data-directory, remember-directory-file-name-format):
9033 New options.
9034 (remember-store-in-files): New function to store remember notes
9035 as separate files within a directory.
9036
4391916c
MH
90372013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9038
9039 * progmodes/compile.el (compilation-next-error-function):
9040 Pass "formats" to compilation-find-file (bug#11777).
9041
bb7cdf58
GM
90422013-04-24 Glenn Morris <rgm@gnu.org>
9043
3b8fe752 9044 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9045 * vc/vc-hg.el (vc-hg-print-log):
9046 * vc/vc-svn.el (vc-svn-print-log):
9047 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9048
bb7cdf58
GM
9049 * vc/vc-bzr.el (vc-bzr-print-log):
9050 * vc/vc-cvs.el (vc-cvs-print-log):
9051 * vc/vc-git.el (vc-git-print-log):
9052 * vc/vc-hg.el (vc-hg-print-log):
9053 * vc/vc-mtn.el (vc-mtn-print-log):
9054 * vc/vc-rcs.el (vc-rcs-print-log):
9055 * vc/vc-sccs.el (vc-sccs-print-log):
9056 * vc/vc-svn.el (vc-svn-print-log):
9057 * vc/vc.el (vc-print-log-internal): Doc fixes.
9058
b46a056e
GM
90592013-04-23 Glenn Morris <rgm@gnu.org>
9060
9061 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9062 Remove venerable code attempting to avoid substitute-command-keys.
9063
0aecf718
TH
90642013-04-23 Tassilo Horn <tsdh@gnu.org>
9065
4391916c
MH
9066 * textmodes/reftex-vars.el (reftex-label-regexps):
9067 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9068
117f94cf
SM
90692013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9070
4391916c 9071 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9072 Use lexical-binding.
9073 (jit-lock-force-redisplay): Use markers, check buffer's continued
9074 existence and beware narrowed buffers.
9075 (jit-lock-fontify-now): Adjust call accordingly.
9076
1d829c64
SM
90772013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9080 to avoid misleading the user.
9081
72d548a9
LL
90822013-04-22 Leo Liu <sdl.web@gmail.com>
9083
9084 * info-look.el: Prefer latex2e.info. (Bug#14240)
9085
d0853629
MA
90862013-04-22 Michael Albinus <michael.albinus@gmx.de>
9087
9088 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9089
9090 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9091 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9092 (tramp-set-completion-function, tramp-parse-putty):
9093 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9094 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9095 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9096 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9097 (tramp-call-local-coding-command): Use `tramp-call-process'
9098 instead of `tramp-compat-call-process'.
9099
9100 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9101 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9102 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9103 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9104 (tramp-maybe-send-script): Check for Perl binary.
9105 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9106
38cc0210
DU
91072013-04-22 Daiki Ueno <ueno@gnu.org>
9108
9109 * epg.el (epg-context-pinentry-mode): New function.
9110 (epg-context-set-pinentry-mode): New function.
9111 (epg--start): Pass --pinentry-mode option to gpg command.
9112
cc641ee1
XF
91132013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9114
02d844b5 9115 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9116 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9117 `completion-at-point'. (Bug#13774)
5d4e5c31 9118
cc641ee1
XF
9119 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9120 default key binding for `describe-distribution' has been moved to
9121 `C-h C-o'. (Bug#13970)
9122
1b42ee43
GM
91232013-04-21 Glenn Morris <rgm@gnu.org>
9124
9125 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9126 Add doc strings.
9127 (vc-print-log): Clarify interactive prompt.
9128
a6d63d97
GM
91292013-04-20 Glenn Morris <rgm@gnu.org>
9130
9131 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9132 No longer include timestamp etc information.
9133
d7f5c16f
RW
91342013-04-20 Roland Winkler <winkler@gnu.org>
9135
9136 * faces.el (read-face-name): Bug fix, return just one face if arg
9137 multiple is nil. (Bug#14209)
9138
bcd7a0a4
SM
91392013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9142 (remove-function): Autoload.
9143
9144 * comint.el (comint-redirect-original-filter-function): Remove.
9145 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9146 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9147 (vc-cvs-annotate-command):
bcd7a0a4
SM
9148 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9149 * progmodes/prolog.el (prolog-consult-compile):
9150 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9151 Use add/remove-function instead.
9152 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9153 (gud-tooltip-process-output, gud-tooltip-tips):
9154 Use add/remove-function instead.
9155 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9156 (scheme-interaction-mode, exit-scheme-interaction-mode):
9157 Use add/remove-function instead.
9158
9159 * vc/vc-dispatcher.el: Use lexical-binding.
9160 (vc--process-sentinel): Rename from vc-process-sentinel.
9161 Change last arg to be the code to run. Don't use vc-previous-sentinel
9162 and vc-sentinel-commands any more.
9163 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9164 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9165
e36b2d20 91662013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9167
bcd7a0a4 9168 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9169 Handle function names with a single character. (Bug#14111)
4d3268ba 9170
781b4af6 91712013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9172
9173 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9174 for subroutines defined in an eval (bug#14182).
9175
7d688336
TV
91762013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9177
9178 * bookmark.el (bookmark-completing-read): Improve handling of empty
9179 string (bug#14176).
9180
31dcede0
SM
91812013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9182
9183 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9184
adc31213
FEG
91852013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9186
9187 New faster Imenu implementation (bug#14058).
9188 * progmodes/python.el:
9189 (python-imenu-prev-index-position):
9190 (python-imenu-format-item-label-function)
9191 (python-imenu-format-parent-item-label-function)
9192 (python-imenu-format-parent-item-jump-label-function):
9193 New vars.
9194 (python-imenu-format-item-label)
9195 (python-imenu-format-parent-item-label)
9196 (python-imenu-format-parent-item-jump-label)
9197 (python-imenu--put-parent, python-imenu--build-tree)
9198 (python-imenu-create-index, python-imenu-create-flat-index)
9199 (python-util-popn): New functions.
9200 (python-mode): Set imenu-create-index-function to
9201 python-imenu-create-index.
9202
cdca8255
SM
92032013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * winner.el (winner-active-region): Use region-active-p, activate-mark
9206 and deactivate-mark (bug#14225).
9207
9208 * simple.el (deactivate-mark): Don't inline it.
9209
beb42340
MA
92102013-04-18 Michael Albinus <michael.albinus@gmx.de>
9211
9212 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9213
fc7f4d7e
TH
92142013-04-18 Tassilo Horn <tsdh@gnu.org>
9215
9216 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9217 file extensions from the archive-mode entry in order to prefer
9218 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9219
29f47822
LL
92202013-04-18 Leo Liu <sdl.web@gmail.com>
9221
9222 * bindings.el (help-event-list): Add ?\?.
9223
d36ed1c8
SM
92242013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * subr.el (with-wrapper-hook): Declare obsolete.
9227 * simple.el (filter-buffer-substring-function): New hook.
9228 (filter-buffer-substring): Use it.
9229 (filter-buffer-substring-functions): Mark obsolete.
9230 * minibuffer.el (completion-in-region-function): New hook.
9231 (completion-in-region): Use it.
9232 (completion-in-region-functions): Mark obsolete.
9233 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9234 * abbrev.el (abbrev-expand-function): New hook.
9235 (expand-abbrev): Use it.
9236 (abbrev-expand-functions): Mark obsolete.
9237 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9238 and :filter-return.
9239
04754d36
FEG
92402013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9241
9242 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9243 and do not care about match data.
9244
dd8791e9
SM
92452013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9248 completion tables when completing error conditions and
9249 `declare' arguments.
9250 (lisp-complete-symbol, field-complete): Mark as obsolete.
9251 (check-parens): Unmatched parens are user errors.
9252 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9253
ffe54a13
AM
92542013-04-17 Michal Nazarewicz <mina86@mina86.com>
9255
dd8791e9
SM
9256 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9257 command changed buffer (ie. `flyspell-pre-buffer' is not current
9258 buffer), which prevents making decisions based on invalid value of
9259 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9260 cause an error when `flyspell-pre-point' was nil after switching
9261 buffers.
9262 (flyspell-post-command-hook): No longer needs to change buffers when
9263 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9264
ec7e39f2
AM
92652013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9266
9267 * textmodes/ispell.el (ispell-add-per-file-word-list):
9268 Fix `flyspell-correct-word-before-point' error when accepting
9269 words and `coment-padding' is an integer by using
9270 `comment-normalize-vars' (Bug #14214).
9271
083850a6
FEG
92722013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9273
9274 New defun movement commands.
9275 * progmodes/python.el (python-nav--syntactically)
9276 (python-nav--forward-defun, python-nav-backward-defun)
9277 (python-nav-forward-defun): New functions.
9278
619ed6e1
FEG
92792013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9280
9281 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9282 (python-syntax-context): Use named compiler-macro for backwards
9283 compatibility with Emacs 24.x.
9284
7a1beb6c
LL
92852013-04-17 Leo Liu <sdl.web@gmail.com>
9286
9287 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9288 octave-hide-process-buffer.
9289
2d3fa3e5
SM
92902013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9293 (bug#14216).
9294
7ce5be54
JPG
92952013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9296
9297 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9298 Fix adjustment of offset when receiving incomplete responses from GDB
9299 (bug#14129).
9300
351edece
SM
93012013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9304 python-mode-abbrev-table.
9305 (python-skeleton-define): Adjust accordingly.
9306 (python-mode-abbrev-table): New table that inherits from it so that
9307 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9308
9309 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9310 (abbrev-symbol): Use it.
9311 (abbrev--before-point): Use it since we already handle inheritance.
9312
613f9481
LL
93132013-04-16 Leo Liu <sdl.web@gmail.com>
9314
9315 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9316 binding to info-lookup-symbol.
9317
51646b62
JB
93182013-04-16 Juanma Barranquero <lekktu@gmail.com>
9319
9320 * minibuffer.el (completion--twq-all):
9321 * term/ns-win.el (ns-initialize-window-system):
9322 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9323
efb3f01d
SM
93242013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9325
36c0a301
SM
9326 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9327 global bindings.
9328
efb3f01d
SM
9329 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9330
fb549d64
DG
93312013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9332
9333 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9334 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9335 to nil.
9336 (ruby-end-of-defun): Remove the unused arg, change the docstring
9337 to reflect that this function is only used as the value of
9338 `end-of-defun-function'.
9339 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9340 to reflect an earlier change that beginning/end-of-defun functions
9341 jump between methods in a class definition, as well as top-level
9342 functions.
9343
21e8fe2f
SM
93442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9345
9346 * minibuffer.el (minibuffer-complete): Don't just scroll
9347 a *Completions* that's been iconified.
9348 (minibuffer-force-complete): Make sure repetitions do cycle when going
9349 through completion-in-region -> minibuffer-complete.
9350
20e527d0
AM
93512013-04-15 Alan Mackenzie <acm@muc.de>
9352
9353 Correct the placement of c-cpp-delimiters when there're #s not at
9354 col 0.
9355
9356 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9357 place a submatch around the #.
21e8fe2f
SM
9358 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9359 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9360 on the #, not BOL.
9361
dabefae5
SM
93622013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9363
9364 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9365 (advice--member-p): New arg `name'.
9366 (advice--add-function, advice-member-p): Use it (bug#14202).
9367
85c9ab64
AM
93682013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9369
9370 Reformulate java imenu-generic-expression.
9371 The old expression contained ill formed regexps.
9372
9373 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9374 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9375 (cc-imenu-java-method-arg-regexp): New defconsts.
9376 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9377 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9378 handling of spaces in the regexp.
9379
0f821d99
AM
93802013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9381
9382 * textmodes/ispell.el (ispell-command-loop): Remove
9383 flyspell highlight of a word when ispell accepts it (bug #14178).
9384
eb922adf
MA
93852013-04-15 Michael Albinus <michael.albinus@gmx.de>
9386
9387 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9388 uses code from the previous `ange-ftp-run-real-handler'.
9389 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9390 only in case that function exist. This is needed for proper
9391 unloading of Tramp.
9392
4d9a0979
TH
93932013-04-15 Tassilo Horn <tsdh@gnu.org>
9394
9395 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9396
9397 * textmodes/reftex.el (reftex-compile-variables): Use it.
9398
a829b0dc
SM
93992013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9400
91e8293c
SM
9401 * files.el (normal-mode): Only use default major-mode if no other mode
9402 was specified.
9403
830aed4d
SM
9404 * emacs-lisp/trace.el (trace-values): New function.
9405
a829b0dc
SM
9406 * files.el: Allow : in local variables (bug#14089).
9407 (hack-local-variable-regexp): New var.
9408 (hack-local-variables-prop-line, hack-local-variables): Use it.
9409
7ae9f0fb
RW
94102013-04-13 Roland Winkler <winkler@gnu.org>
9411
9412 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9413 data before it gets modified by bibtex-beginning-of-entry.
9414
6646e848
RW
94152013-04-13 Roland Winkler <winkler@gnu.org>
9416
9417 * textmodes/bibtex.el (bibtex-url): Doc fix.
9418
94192013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9420
9421 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9422 does not visit a BibTeX file, exclude it from the list of buffers
9423 returned by bibtex-initialize.
9424
0aa3616e
SB
94252013-04-13 Stephen Berman <stephen.berman@gmx.net>
9426
9427 * window.el (split-window): Remove interactive form, since as a
9428 command this function is a special case of split-window-below.
9429 Correct doc string.
9430
011cddd6
RW
94312013-04-12 Roland Winkler <winkler@gnu.org>
9432
9433 * faces.el (read-face-name): Do not override value of arg default.
9434 Allow single faces and strings as default values. Remove those
9435 elements from return value that are not faces.
9436 (describe-face): Simplify.
9437 (face-at-point): New optional args thing and multiple so that this
9438 function can provide the same functionality previously provided by
9439 read-face-name.
9440 (make-face-bold, make-face-unbold, make-face-italic)
9441 (make-face-unitalic, make-face-bold-italic, invert-face)
9442 (modify-face, read-face-and-attribute): Use face-at-point.
9443
9444 * cus-edit.el (customize-face, customize-face-other-window)
9445 * cus-theme.el (custom-theme-add-face)
9446 * face-remap.el (buffer-face-set)
9447 * facemenu.el (facemenu-set-face): Use face-at-point.
9448
f24e0036
MA
94492013-04-12 Michael Albinus <michael.albinus@gmx.de>
9450
9451 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9452
da3cda2d
TH
94532013-04-10 Tassilo Horn <tsdh@gnu.org>
9454
9455 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9456 off leading { and trailing } from field values.
9457
15e54145
SM
94582013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9459
78ce603d
SM
9460 * emacs-lisp/timer.el (timer--check): New function.
9461 (timer--time, timer-set-function, timer-event-handler): Use it.
9462 (timer-set-idle-time): Simplify.
9463 (timer--activate): CSE.
9464 (timer-event-handler): Give more info in error message.
9465 (internal-timer-start-idle): New function, moved from C.
9466
15e54145
SM
9467 * mpc.el (mpc-proc): Add `restart' argument.
9468 (mpc-proc-cmd): Use it.
9469 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9470 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9471 less often.
9472
7144c627
MY
94732013-04-10 Masatake YAMATO <yamato@redhat.com>
9474
9475 * progmodes/sh-script.el: Implement `sh-mode' own
9476 `add-log-current-defun-function' (bug#14112).
9477 (sh-current-defun-name): New function.
9478 (sh-mode): Use the function.
9479
b39792eb
BG
94802013-04-09 Bastien Guerry <bzg@gnu.org>
9481
9482 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9483
8acdeb71
SM
94842013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9485
6fcdab68
SM
9486 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9487
8acdeb71
SM
9488 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9489 timer (bug#14156).
9490
e3e7b504
NF
94912013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9492
9493 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9494 declaration.
9495
201bb296
LL
94962013-04-07 Leo Liu <sdl.web@gmail.com>
9497
9498 * pcmpl-x.el: New file.
9499
ebb19708
DA
95002013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9501
9502 Do not set x-display-name until X connection is established.
9503 This is needed to prevent from weird situation described at
9504 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9505 * frame.el (make-frame): Set x-display-name after call to
9506 window system initialization function, not before.
9507 * term/x-win.el (x-initialize-window-system): Add optional
9508 display argument and use it.
9509 * term/w32-win.el (w32-initialize-window-system):
9510 * term/ns-win.el (ns-initialize-window-system):
9511 * term/pc-win.el (msdos-initialize-window-system):
9512 Add compatible optional display argument.
9513
33bb237a
EZ
95142013-04-06 Eli Zaretskii <eliz@gnu.org>
9515
9516 * files.el (normal-backup-enable-predicate): On MS-Windows and
9517 MS-DOS compare truenames of temporary-file-directory and of the
9518 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9519 don't fail comparison by compare-strings. Also, compare file
9520 names case-insensitively on MS-Windows and MS-DOS.
9521
134abf1f
SM
95222013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9525 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9526
d695cb94
DG
95272013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9528
e3e7b504
NF
9529 * whitespace.el (whitespace-color-on, whitespace-color-off):
9530 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9531
f4ad7ea1 95322013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9533
9534 * ispell.el (ispell-set-spellchecker-params):
9535 Really set `ispell-args' for all equivs.
9536
632556e4
SM
95372013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * ido.el (ido-completions): Use extra elements of ido-decorations
9540 (bug#14143).
9541 (ido-decorations): Update docstring.
9542
2a417372
MA
95432013-04-05 Michael Albinus <michael.albinus@gmx.de>
9544
9545 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9546 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9547 nil during initialization, in order not to miss changes since the
9548 file was opened. (Bug#14140)
9549
fc164b0c
LL
95502013-04-05 Leo Liu <sdl.web@gmail.com>
9551
9552 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9553
0ccecc08
JB
95542013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9555
9556 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9557
51af1aa2
GM
95582013-04-04 Glenn Morris <rgm@gnu.org>
9559
9560 * electric.el (electric-pair-inhibit-predicate): Add :version.
9561
b208ebc6
SM
95622013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9565 when a package is required several times (bug#14082).
9566
f3d3eaf0
RW
95672013-04-04 Roland Winkler <winkler@gnu.org>
9568
9569 * faces.el (read-face-name): Behave as promised by the docstring.
9570 Assume that arg default is a list of faces.
9571 (describe-face): Call read-face-name with list of default faces.
9572
2575da50
TV
95732013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9574
9575 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9576 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9577 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9578 the header.
9579 (bookmark-exit-hook-internal): Save even if list is empty.
9580
397703b4
YH
95812013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9582
9583 * emacs-lisp/package.el (package-pinned-packages): New var.
9584 (package--add-to-archive-contents): Obey it (bug#14118).
9585
691e26ae
AM
95862013-04-03 Alan Mackenzie <acm@muc.de>
9587
8a621d53
JB
9588 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9589 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9590
9591 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9592 parameter `not-in-delimiter'. Handle being inside comment opener.
9593 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9594 character in case we're typing a '*' after a '/'.
9595 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9596 instead by passing the parameter to c-state-pp-to-literal.
9597
9598 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9599 for elt. 7 of a parse state.
9600
4b725a70
PE
96012013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9602
9603 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9604 * international/latin1-disp.el, international/mule-util.el:
9605 * language/cyril-util.el, language/european.el, language/ind-util.el:
9606 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9607 * language/tibetan.el, language/viet-util.el:
9608 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9609
15c579f0
SM
96102013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9613 (electric-pair-post-self-insert-function): Use it.
9614 (electric-pair-default-inhibit): New function, extracted from
9615 electric-pair-post-self-insert-function.
9616
a77e2924
RW
96172013-03-31 Roland Winkler <winkler@gnu.org>
9618
9619 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9620
2bd8a4a8
SM
96212013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9624
8d3655be 96252013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9626
9627 Un-indent after "pass" and "return" statements (Bug#13888)
9628 * progmodes/python.el (python-indent-block-enders): New var.
9629 (python-indent-calculate-indentation): Use it.
9630
8d3655be 96312013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9632
9633 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9634 defun. Defining it as defalias could introduce too eager
9635 byte-compiler optimization. (Bug#14030)
9636
8d3655be 96372013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9638
9639 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9640
0b1619da
LL
96412013-03-30 Leo Liu <sdl.web@gmail.com>
9642
9643 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9644 (kmacro-execute-from-register): Pass the keyboard macro to
9645 kmacro-call-macro or repeating won't work correctly.
9646
0b938190
TZ
96472013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9648
9649 * progmodes/subword.el: Back to using `forward-symbol'.
9650
9651 * subr.el (forward-whitespace, forward-symbol)
9652 (forward-same-syntax): Move from thingatpt.el.
9653
35710234
LL
96542013-03-29 Leo Liu <sdl.web@gmail.com>
9655
9656 * kmacro.el (kmacro-to-register): New command.
9657 (kmacro-execute-from-register): New function.
9658 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9659
efc0bb73
SM
96602013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * mpc.el: Use defvar-local and setq-local.
9663 (mpc--proc-connect): Connection failures are not bugs.
9664 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9665 (mpc-volume-map): Bind to the up-events.
9666
75a2f981
TZ
96672013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9668
9669 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9670 instead of `forward-symbol'.
9671
17c781d1
SM
96722013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9675 (edebug--recursive-edit): Use it.
9676 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9677 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9678
f67bfbcf
LL
96792013-03-28 Leo Liu <sdl.web@gmail.com>
9680
9681 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9682
b59f639d
EZ
96832013-03-27 Eli Zaretskii <eliz@gnu.org>
9684
9685 * facemenu.el (list-colors-callback): New defvar.
9686 (list-colors-redisplay): New function.
9687 (list-colors-display): Install list-colors-redisplay as the
9688 revert-buffer-function. (Bug#14063)
9689
f557c1b1
SM
96902013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9691
b1da2957
SM
9692 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9693 and suffixes don't overlap (bug#14061).
9694
f557c1b1
SM
9695 * case-table.el: Use lexical-binding.
9696 (case-table-get-table): New function.
9697 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9698
002668e1
TZ
96992013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9700
9701 * progmodes/subword.el: Add `superword-mode' to do word motion
9702 over symbol_words (parallels and leverages `subword-mode' which
9703 does word motion inside MixedCaseWords).
9704
73572c72
AG
97052013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9706
78b8f320 9707 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9708 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9709
69b2c07e
SM
97102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9713 Change return value to be a sexp. Delay `get-buffer' to after
9714 restoring the desktop (bug#13951).
9715
08bb5ee2
LL
97162013-03-26 Leo Liu <sdl.web@gmail.com>
9717
9718 * register.el: Move semantic tag handling back to
9719 cedet/semantic/senator.el. (Bug#14052)
9720
8d4c974e
SM
97212013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9724 into the prompt either (bug#13963).
9725
b234d92c
SM
97262013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9729 part of "(error-foo)".
9730
ddfa3cb4
JL
97312013-03-24 Juri Linkov <juri@jurta.org>
9732
9733 * replace.el (list-matching-lines-prefix-face): New defcustom.
9734 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9735 `occur-engine' if `face-differs-from-default-p' returns t.
9736 (occur-engine): Add `,' inside backquote construct to evaluate
9737 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9738 Pass `prefix-face' to the functions `occur-context-lines' and
9739 `occur-engine-add-prefix'.
9740 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9741 `prefix-face' and propertize the prefix with `prefix-face'.
9742 (Bug#14017)
9743
7b0e2f85
LL
97442013-03-24 Leo Liu <sdl.web@gmail.com>
9745
9746 * nxml/rng-valid.el (rng-validate-while-idle)
9747 (rng-validate-quick-while-idle): Guard against deleted buffer.
9748 (Bug#13999)
9749
9750 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9751 is the last entry in kill-buffer-hook.
9752
9753 * files.el (kill-buffer-hook): Doc fix.
9754
b3082f49
DG
97552013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9756
b234d92c
SM
9757 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9758 Make it safe-local.
bde73d27 9759
b3082f49
DG
9760 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9761
a320a2db
LL
97622013-03-23 Leo Liu <sdl.web@gmail.com>
9763
7e74b0fb
LL
9764 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9765 Remove.
9766
9767 * nxml/rng-valid.el (rng-validate-mode)
9768 (rng-after-change-function, rng-do-some-validation):
9769 * nxml/rng-maint.el (rng-validate-buffer):
9770 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9771 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9772 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9773 (nxml-extend-after-change-region): Use with-silent-modifications.
9774
a320a2db
LL
9775 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9776 timer-idle-list.
9777
9778 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9779 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9780 timer-idle-list. (Bug#13999)
9781
e38e6780
JL
97822013-03-23 Juri Linkov <juri@jurta.org>
9783
9784 * info.el (info-index-match): New face.
9785 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9786 main pattern and add text properties with the new face to matches
9787 in index entries relative to the beginning of the index entry.
9788 (Bug#14015)
9789
e8cc7880
DE
97902013-03-21 Eric Ludlam <zappo@gnu.org>
9791
9792 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9793 Inhibit read only while inserting objects.
9794
9bb0d822
TZ
97952013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9796
9797 * progmodes/cfengine.el: Update docs to mention
9798 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9799 symbol motion. Remove "_" from the word syntax.
9800
aa703640
TZ
98012013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9802
9803 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9804 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9805
afff09d0
JL
98062013-03-20 Juri Linkov <juri@jurta.org>
9807
9808 * info.el (Info-next-reference-or-link)
9809 (Info-prev-reference-or-link): New functions.
9810 (Info-next-reference, Info-prev-reference): Use them.
9811 (Info-try-follow-nearest-node): Handle footnote navigation.
9812 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9813
9a1ff164
SM
98142013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9817 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9818
2667d15d
PE
98192013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9820
9821 Suppress unnecessary non-ASCII chatter during build process.
9822 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9823 (batch-skkdic-convert): Suppress most of the chatter.
9824 It's not needed so much now that machines are faster,
9825 and its non-ASCII component was confusing; see Dmitry Gutov in
9826 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9827
438b0579
LL
98282013-03-20 Leo Liu <sdl.web@gmail.com>
9829
9830 * ido.el (ido-chop): Fix bug#10994.
9831
c128ab07
DG
98322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9833
9834 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9835 Remove vars.
9a1ff164
SM
9836 (whitespace-color-on, whitespace-color-off):
9837 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9838
0e6008c5
SM
98392013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9842 remapping in mode-line.
9843 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9844
627b52b0
DG
98452013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9846
9847 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9848 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9849 (whitespace-font-lock-keywords): Change description.
9850 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9851 the constructed keywords instead.
9852 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9853
50c3a20b
LL
98542013-03-19 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/compile.el (compilation-display-error): New command.
9857 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9858 C-o. (Bug#13992)
9859
2aa2157b
PE
98602013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9861
9862 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9863
e477dbfa
JD
98642013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9865
9866 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9867
64ab82d1
MA
98682013-03-18 Michael Albinus <michael.albinus@gmx.de>
9869
9870 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9871
9872 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9873 * net/tramp-gvfs.el (top):
9874 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9875 (tramp-handle-shell-command): Use it.
9876 (tramp-dissect-file-name): Raise an error when hostname is a
9877 method name, and neither method nor user is specified.
9878
9879 * net/trampver.el: Update release number.
9880
33cef733
LL
98812013-03-18 Leo Liu <sdl.web@gmail.com>
9882
9883 Make sure eldoc can be turned off properly.
9884 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9885 eldoc-mode.
9886 (eldoc-display-message-p): Revert last change.
9887 (eldoc-display-message-no-interference-p)
9888 (eldoc-print-current-symbol-info): Tweak.
9889
2167b7b2
TH
98902013-03-18 Tassilo Horn <tsdh@gnu.org>
9891
9892 * doc-view.el (doc-view-new-window-function): Check the new window
9893 overlay's display property instead the char property of the
9894 buffer's first char. Use `with-selected-window' instead of
9895 `save-window-excursion' with `select-window'.
9896 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9897 display property instead the char property of the buffer's first char.
2167b7b2 9898
982efbcd
PE
98992013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9900
9901 Automate the build of ja-dic.el (Bug#13984).
9902 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9903 from the input, rather than assume that it's been done for us by the
9904 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9905 the current date into a ja-dic.el comment, as that complicates
9906 regression testing.
9907
2fcc7665
SM
99082013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * whitespace.el: Fix double evaluation.
9911 (whitespace-space, whitespace-hspace, whitespace-tab)
9912 (whitespace-newline, whitespace-trailing, whitespace-line)
9913 (whitespace-space-before-tab, whitespace-indentation)
9914 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9915 obsolete defvars.
9916 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9917 (whitespace-color-on): Use a single font-lock-add-keywords call.
9918 Fix double-evaluation of face variables.
9919
67c0a6e6
MA
99202013-03-17 Michael Albinus <michael.albinus@gmx.de>
9921
2fcc7665
SM
9922 * net/tramp-adb.el (tramp-adb-parse-device-names):
9923 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9924 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9925
69489f1d
LL
99262013-03-17 Leo Liu <sdl.web@gmail.com>
9927
9928 Extend eldoc to display info in the mode-line. (Bug#13978)
9929 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9930 (eldoc-mode-line-string): New variable.
9931 (eldoc-minibuffer-message): New function.
9932 (eldoc-message-function): New variable.
9933 (eldoc-message): Use it.
9934 (eldoc-display-message-p)
2fcc7665
SM
9935 (eldoc-display-message-no-interference-p):
9936 Support eldoc-post-insert-mode.
69489f1d
LL
9937
9938 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9939 (eval-expression): Run it.
9940
9c44569e
RW
99412013-03-17 Roland Winkler <winkler@gnu.org>
9942
9943 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9944 strings in the list of return values.
9945
327f1f6f
JB
99462013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9947
9948 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9949 radix before checking for HMS forms.
9950
67ed8fcd
LL
99512013-03-16 Leo Liu <sdl.web@gmail.com>
9952
9953 * progmodes/scheme.el: Add indentation and font-locking for λ.
9954 (Bug#13975)
9955
78be8b64 99562013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9957
9958 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9959 token before point (bug#13942).
9960
78be8b64 99612013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9962
95b43468 9963 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9964
98e775e6
EZ
99652013-03-16 Eli Zaretskii <eliz@gnu.org>
9966
9967 * startup.el (command-line-normalize-file-name): Fix handling of
9968 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9969 <xfq.free@gmail.com> in
9970 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9971
2edd6029
MA
99722013-03-15 Michael Albinus <michael.albinus@gmx.de>
9973
9974 Sync with Tramp 2.2.7.
9975
9976 * net/trampver.el: Update release number.
9977
d35f5864
TH
99782013-03-14 Tassilo Horn <tsdh@gnu.org>
9979
e903c210 9980 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9981 (doc-view-insert-image): Don't modify overlay associated to
9982 non-live windows, and implement horizontal centering of image in
9983 case it's smaller than the window.
9984 (doc-view-new-window-function): Force redisplay of new windows on
9985 doc-view buffers.
d35f5864 9986
1c4a85ed
KF
99872013-03-13 Karl Fogel <kfogel@red-bean.com>
9988
9989 * saveplace.el (save-place-alist-to-file): Don't sort
9990 `save-place-alist', just pretty-print it (bug#13882).
9991
85b66a21
MA
99922013-03-13 Michael Albinus <michael.albinus@gmx.de>
9993
a020afb9
JB
9994 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9995 Check whether `default-file-name-coding-system' is bound.
9996 It isn't in XEmacs.
85b66a21 9997
175600da
SM
99982013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9999
e7f7cb1a
SM
10000 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10001 backquotes for `obsolete' (bug#13929).
10002
175600da
SM
10003 * international/mule.el (find-auto-coding): Include file name in
10004 obsolescence warning (bug#13922).
10005
ca68a22e
TZ
100062013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10007
10008 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10009 for CFEngine 3-specific indentation.
10010 (cfengine3-indent-line): Use it. Fix up category regex.
10011 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10012
940e5099
SM
100132013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * type-break.el (type-break-file-name):
10016 * textmodes/remember.el (remember-data-file):
10017 * strokes.el (strokes-file):
10018 * shadowfile.el (shadow-initialize):
10019 * saveplace.el (save-place-file):
10020 * ps-bdf.el (bdf-cache-file):
10021 * progmodes/idlwave.el (idlwave-config-directory):
10022 * net/quickurl.el (quickurl-url-file):
10023 * international/kkc.el (kkc-init-file-name):
10024 * ido.el (ido-save-directory-list-file):
10025 * emulation/viper.el (viper-custom-file-name):
10026 * emulation/vip.el (vip-startup-file):
10027 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10028 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10029
cc725808
PE
100302013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10031
10032 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10033 * language/thai-word.el: Switch to UTF-8.
10034
a020afb9 10035See ChangeLog.16 for earlier changes.
e3d51b27
MR
10036
10037;; Local Variables:
10038;; coding: utf-8
e3d51b27
MR
10039;; End:
10040
ab422c4d 10041 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10042
10043 This file is part of GNU Emacs.
10044
10045 GNU Emacs is free software: you can redistribute it and/or modify
10046 it under the terms of the GNU General Public License as published by
10047 the Free Software Foundation, either version 3 of the License, or
10048 (at your option) any later version.
10049
10050 GNU Emacs is distributed in the hope that it will be useful,
10051 but WITHOUT ANY WARRANTY; without even the implied warranty of
10052 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10053 GNU General Public License for more details.
10054
10055 You should have received a copy of the GNU General Public License
10056 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.