lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Replace LWSPs with `&nbsp...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e47112ee
TZ
12013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
2
3 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4 (eww-add-bookmark): ask confirmation when add to bookmarks
5 (eww-quit): ask confirmation before quitting eww
6
0e2c793f
EZ
72013-11-26 Eli Zaretskii <eliz@gnu.org>
8
9 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
10 reading output from Diff on MS-Windows and MS-DOS.
11
447bdcb8
BB
122013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
13
14 * emacs-lisp/helpers.el (string-reverse): New function.
15
5fbf6856
MA
162013-11-26 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
19 names on MS Windows, like "/[::1]:".
20
21 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
22 SWITCHES.
23
624780f0
GM
242013-11-26 Glenn Morris <rgm@gnu.org>
25
0bf3f0fa
GM
26 * progmodes/python.el (python-indent-guess-indent-offset):
27 Avoid corner-case error. (Bug#15975)
28
624780f0
GM
29 Preload leim-list.el. (Bug#4789)
30 * loadup.el: Load leim-list.el when found.
31 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
32
4301875e 332013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
34
35 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
36
4301875e
BB
37 * emacs-lisp/helpers.el (string-join): New function.
38
f0ffd77d 392013-11-25 Sebastian Wiesner <lunaryorn@gmail.com>
2bb3a748
BB
40
41 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
42 Mark as obsolete and replace it with a symbol property.
43 (byte-compile-form): Use new 'interactive-only property.
44 * comint.el, files.el, replace.el, simple.el:
45 Apply new 'interactive-only properly.
46
00139435
MR
472013-11-25 Martin Rudalics <rudalics@gmx.at>
48
49 * window.el (display-buffer-at-bottom): Make sure that
50 split-window-sensibly creates the new window on bottom
51 (Bug#15961).
52
5f5b128d
DK
532013-11-23 David Kastrup <dak@gnu.org>
54
55 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
56 on the conflict markers when available.
57 (smerge--get-marker): New function.
58 (smerge-end-re, smerge-base-re): Add subgroup.
59
623891e5
SM
602013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * frame.el (handle-focus-in, handle-focus-out): Add missing
63 interactive spec.
64
05ca27d8
MA
652013-11-25 Michael Albinus <michael.albinus@gmx.de>
66
67 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
68 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
69
511fa0d3
SM
702013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
71
e82ad66c
SM
72 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
73 (gomoku--last-pos): New var.
74 (gomoku--intangible-chars): New const.
75 (gomoku--intangible): New function.
76 (gomoku-mode): Use it. Derive from special-mode.
77 (gomoku-move-up): Adjust line count.
78 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
79 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
80 Simplify accordingly.
81
511fa0d3
SM
82 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
83 Remove blink-cursor code.
84 (blink-cursor-timer-function, blink-cursor-suspend):
85 Don't special-case GUIs.
86 (blink-cursor-mode): Use focus-in/out-hook.
87
6f20dd03
DG
882013-11-25 Dmitry Gutov <dgutov@yandex.ru>
89
90 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
91 work when annotation is invisible (Bug#13886).
92
431dec31 932013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
94
95 * json.el (json-alist-p): Only return non-nil if the alist has
96 simple keys (Bug#13518).
97
431dec31 982013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
99
100 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
101 when control-statement is the first statement in a buffer (Bug#15956).
102
ee4f0261
DG
1032013-11-24 Dmitry Gutov <dgutov@yandex.ru>
104
105 * imenu.el (imenu-generic-skip-comments-and-strings):
106 New option (Bug#15560).
107 (imenu--generic-function): Use it.
108
c484f866
JS
1092013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
110
111 * minibuffer.el (completion--in-region-1): Scroll the correct
112 window. (Bug#13898)
113
41ce6f70
BB
1142013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
115
b55aea38
BB
116 * emacs-lisp/helpers.el: Add some string helpers.
117 (string-trim-left): Removes leading whitespace.
118 (string-trim-right): Removes trailing whitespace.
119 (string-trim): Removes leading and trailing whitespace.
120
41ce6f70
BB
121 * subr.el (string-suffix-p): New function.
122
3cfb6af3
GM
1232013-11-23 Glenn Morris <rgm@gnu.org>
124
125 * progmodes/python.el (python-shell-send-file):
126 Add option to delete file when done. (Bug#15647)
127 (python-shell-send-string, python-shell-send-region): Use it.
128
c27924b7
IS
1292013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
130
e1b01c7f
IS
131 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
132 to set buffer-read-only to t, never to nil. (Bug#15938)
133
c27924b7
IS
134 * textmodes/tex-mode.el (latex-noindent-environments):
135 Add safe-local-variable property. (Bug#15936)
136
17e0445b
GM
1372013-11-23 Glenn Morris <rgm@gnu.org>
138
92f78ea3
GM
139 * textmodes/enriched.el (enriched-mode): Doc fix.
140 * emacs-lisp/authors.el (authors-renamed-files-alist):
141 Add enriched.doc -> enriched.txt.
142
17e0445b
GM
143 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
144
965bb23a
LL
1452013-11-22 Leo Liu <sdl.web@gmail.com>
146
147 * progmodes/octave.el (inferior-octave-startup): Spit out error
148 message.
149
d19ffd64
BB
1502013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
151
152 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
153 Improve docstring.
15ba2182
BB
154 Add :version.
155 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 156
7a7567d2
LL
1572013-11-22 Leo Liu <sdl.web@gmail.com>
158
159 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
160 (Bug#15076)
8c09f64b
LL
161 (octave-help-mode): Adapt to change to help-mode-finish to use
162 derived-mode-p on 2013-09-17.
163 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 164 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 165
724bc265
LL
1662013-11-22 Leo Liu <sdl.web@gmail.com>
167
168 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
169 (inferior-octave-startup, inferior-octave-check-process)
170 (inferior-octave-track-window-width-change)
171 (octave-completion-at-point, octave-eldoc-function): Use it.
172 (octave-kill-process): Provide confirmation. (Bug#10564)
173
38637cca
LL
1742013-11-21 Leo Liu <sdl.web@gmail.com>
175
511fa0d3
SM
176 * progmodes/octave.el (octave-mode, inferior-octave-mode):
177 Fix obsolete variable comment-use-global-state.
38637cca 178
06e752b4
RS
1792013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
180
511fa0d3
SM
181 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
182 Add `octave-source-file'.
06e752b4
RS
183 (octave-source-file): New function. (Bug#15935)
184
604ede6c
TZ
1852013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
186
187 * net/eww.el (eww-local-regex): New variable.
188 (eww): Use it to detect localhost and similar.
189
b6ffa04a
LL
1902013-11-21 Leo Liu <sdl.web@gmail.com>
191
192 Add completion for command `ag'.
2021a200
LL
193 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
194 (pcomplete/ag): New function.
195 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 196
d1a6bccc
SM
1972013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
200 (bug#14646).
201 (make-obsolete): Remove interactive spec.
202
2df10228
GM
2032013-11-21 Glenn Morris <rgm@gnu.org>
204
205 * startup.el (command-line-1): Use path-separator with -L.
206
86fd16b6
TZ
2072013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
208
209 * emacs-lisp/package.el (describe-package-1): Add package archive
210 to shown fields.
211
7a12a42b
BB
2122013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
213
214 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
215 Change default to "# encoding: %s" to differentiate it from the
216 default Ruby encoding comment template.
217
dc7e8c17 2182013-11-20 era eriksson <era+emacsbugs@iki.fi>
219
220 * ses.el (ses-mode): Doc fix. (Bug#14748)
221
f0cfa5fe
LL
2222013-11-20 Leo Liu <sdl.web@gmail.com>
223
224 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
225
826dc7b6
DN
2262013-11-19 Dan Nicolaescu <dann@gnu.org>
227
228 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
229 when rebase or bisect are in progress.
230
a6e3a5d5
XF
2312013-11-19 Xue Fuqiao <xfq.free@gmail.com>
232
233 * filenotify.el (file-notify-add-watch): Doc fix.
234
f130cb76
LL
2352013-11-19 Leo Liu <sdl.web@gmail.com>
236
e0855d7d
LL
237 * obsolete/rcompile.el: Mark obsolete.
238
f130cb76 239 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
240 (compilation-goto-locus, compilation-find-file):
241 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
242 (Bug#13594)
243
244 * window.el (display-buffer-alist, display-buffer): Document the
245 new parameter no-display-ok.
246
1f35d401
SM
2472013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
248
25158c76
SM
249 * electric.el (electric-indent-mode-map): Remove.
250 (electric-indent-mode): Change the global-map instead (bug#15915).
251
252 * textmodes/text-mode.el (paragraph-indent-minor-mode):
253 Use add-function.
1f35d401 254
9bc67baa
SM
2552013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
256
986545b5
SM
257 * emacs-lisp/nadvice.el (remove-function): Align with
258 add-function's behavior.
259
9bc67baa
SM
260 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
261 (gdb--string-regexp): New constant.
262 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
263 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
264 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
265 submatch 1.
266 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
267 Adjust use accordingly.
268 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
269
56cd894e
AS
2702013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
271
272 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
273 interpolation curlies (Bug#15914).
274
014690de
JB
2752013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
276
277 * calc/calc.el (calc-context-sensitive-enter): New variable.
278 (calc-enter): Use `calc-context-sensitive-enter'.
279
7e26a6c3
TZ
2802013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
281
282 * progmodes/cfengine.el: Version bump.
283 (cfengine-cf-promises): New defcustom to locate cf-promises.
284 (cfengine3-vartypes): Add new "data" type.
285 (cfengine3--current-word): New function to get current name-like
286 word or its bounds.
287 (cfengine3--current-function): New function to look up a CFEngine
288 function's definition.
289 (cfengine3-format-function-docstring): New function.
290 (cfengine3-make-syntax-cache): New function.
291 (cfengine3-documentation-function): New function: ElDoc glue.
292 (cfengine3-completion-function): New function: completion glue.
293 (cfengine3-mode): Set `compile-command',
294 `eldoc-documentation-function', and add to
295 `completion-at-point-functions'.
296
355204dd
MA
2972013-11-16 Michael Albinus <michael.albinus@gmx.de>
298
299 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
300 `tramp-current-connection'.
301
43cebc23
DG
3022013-11-15 Dmitry Gutov <dgutov@yandex.ru>
303
304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
305 nil/self/true/false with "end of symbol".
306
a3fed6ff
BB
3072013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
308
309 * subr.el (version-regexp-alist): Fix a typo.
310
e675b3e4
MA
3112013-11-15 Michael Albinus <michael.albinus@gmx.de>
312
313 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
314 "en_US.utf8" and "LC_CTYPE" to "".
315 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
316 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
317
a1f03e89
LL
3182013-11-15 Leo Liu <sdl.web@gmail.com>
319
320 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
321
5d9d9451
SM
3222013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
323
58362662
CS
324 * progmodes/gud.el (ctl-x-map):
325 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
326 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
327
6c1bf086
BB
3282013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
329
0d5363c4
BB
330 * subr.el (version-regexp-alist):
331 Recognize hg, svn and darcs versions as snapshot versions.
332
4e9fc48c
BB
333 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
334 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
335 (ruby--encoding-comment-required-p): Extract from
336 `ruby-mode-set-encoding'.
337 (ruby-mode-set-encoding): Add the ability to always insert an
338 utf-8 encoding comment. Fix and simplify coding comment update
339 logic.
6c1bf086 340
2f7e72f8
MA
3412013-11-14 Michael Albinus <michael.albinus@gmx.de>
342
343 * net/tramp-gvfs.el (top): Run init code only when
344 `tramp-gvfs-enabled' is not nil.
345 (tramp-gvfs-enabled): Check also :system bus.
346
0f137a73
SM
3472013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 Sync with upstream verilog-mode revision 78e66ba.
350 * progmodes/verilog-mode.el (verilog-end-of-defun)
351 (verilog-type-completion, verilog-get-list): Remove unused funcs.
352 (verilog-get-end-of-defun): Remove unused argument.
353 (verilog-comment-depth): Remove unused local `e'.
354 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
355 Don't pass arg to verilog-get-end-of-defun.
356
1c276bdd
GM
3572013-11-14 Glenn Morris <rgm@gnu.org>
358
359 * obsolete/assoc.el (aget): Prefix dynamic variable.
360
361 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
362
ff6ec81d
SM
3632013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * widget.el, hfy-cmap.el: Remove bogus package version number.
366
75f777b6
GM
3672013-11-13 Glenn Morris <rgm@gnu.org>
368
1d43dba1
GM
369 * replace.el (replace-eval-replacement):
370 Try to give more helpful error message. (Bug#15836)
371
ff4b7bd5
GM
372 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
373 (archive-7z-update): Avoid custom type mismatches.
374
75f777b6
GM
375 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
376
11151a06
MA
3772013-11-13 Michael Albinus <michael.albinus@gmx.de>
378
e675b3e4 379 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
380 address can be empty.
381
382 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
383 Accept nil SWITCHES.
384 (tramp-gvfs-handle-write-region): Implement APPEND.
385
7b08f97e
DG
3862013-11-12 Dmitry Gutov <dgutov@yandex.ru>
387
388 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
389 binary "|" operator and closing block args delimiter.
390 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
391 (ruby-smie--implicit-semi-p): Not after "|" operator.
392 (ruby-smie--closing-pipe-p): New function.
393 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
394 (ruby-smie-rules): Indent after "|".
395
f201cf3a
GM
3962013-11-12 Glenn Morris <rgm@gnu.org>
397
398 * ps-print.el (ps-face-attribute-list):
399 Handle anonymous faces. (Bug#15827)
400
e6f759f9
MR
4012013-11-12 Martin Rudalics <rudalics@gmx.at>
402
403 * window.el (display-buffer-other-frame): Fix doc-string.
404 (Bug#15868)
405
ecda65d4
SM
4062013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * subr.el (force-mode-line-update): Delete, move to buffer.c.
409
7ce8fcc3
MA
4102013-11-11 Michael Albinus <michael.albinus@gmx.de>
411
412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
413 (tramp-sh-handle-file-local-copy): Don't write a message when
414 saving temporary files.
415
416 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
417 both directories are remote.
418 (tramp-smb-handle-directory-files): Do not return double entries.
419 Do not expand full file names.
420 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
421 (tramp-smb-handle-write-region): Implement APPEND.
422 (tramp-smb-get-stat-capability): Fix a stupid bug.
423
7818df11
SM
4242013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
427
608c2085
NT
4282013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
429
430 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
431 throwing error over malformed let/let* (bug#15814).
432
122a7e46
SM
4332013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * iswitchb.el (iswitchb-mode): Mark obsolete.
436
766284d9
GM
4372013-11-11 Glenn Morris <rgm@gnu.org>
438
439 * international/uni-bidi.el, international/uni-category.el:
440 * international/uni-name.el, international/uni-numeric.el:
441 Regenerate for Unicode 6.3.0.
442
7072a4e9
MA
4432013-11-10 Michael Albinus <michael.albinus@gmx.de>
444
445 * net/tramp.el (tramp-methods):
446 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
447 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
448
c9df215b
AS
4492013-11-09 Andreas Schwab <schwab@linux-m68k.org>
450
608c2085
NT
451 * progmodes/sh-script.el (sh-font-lock-keywords-var):
452 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 453
fa47d796
DG
4542013-11-09 Dmitry Gutov <dgutov@yandex.ru>
455
456 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 457 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
458 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
459 (ispell-complete-word): Call `ispell-lookup-words' with the value
460 independent of `ispell-look-p'.
461
1629a329
DG
4622013-11-08 Dmitry Gutov <dgutov@yandex.ru>
463
464 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
465 Not after "||".
466 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
467 their parent.
468
ad16897c
SM
4692013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
472 (ruby-font-lock-keywords): Use backquote.
473
ffa2df72
DG
4742013-11-08 Dmitry Gutov <dgutov@yandex.ru>
475
476 * progmodes/ruby-mode.el (ruby-smie--forward-token)
477 (ruby-smie--backward-token): Only consider full-string matches.
478
5b97b4c0
JD
4792013-11-08 Jan Djärv <jan.h.d@swipnet.se>
480
481 * faces.el (describe-face): Add distant-foreground.
482
71731c03
BB
4832013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
484
4e9fc48c
BB
485 * progmodes/ruby-mode.el: Improve encoding comment handling.
486 (ruby-encoding-magic-comment-style): New option.
487 (ruby-custom-encoding-magic-comment-template): New option.
488 (ruby--insert-coding-comment, ruby--detect-encoding): New
489 functions extracted from `ruby-mode-set-encoding'.
490 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
491 to control the style of the auto-inserted encoding comment.
71731c03 492
da3b328d
DG
4932013-11-08 Dmitry Gutov <dgutov@yandex.ru>
494
ad16897c
SM
495 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
496 Use `smie-backward-sexp' with token argument.
da3b328d 497
1606c2d3
MA
4982013-11-08 Michael Albinus <michael.albinus@gmx.de>
499
500 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
501 Remove instrumentation code.
502
b0f4c320
GM
5032013-11-08 Glenn Morris <rgm@gnu.org>
504
505 * progmodes/autoconf.el (autoconf-mode):
506 Tweak comment-start-skip. (Bug#15822)
507
43668fb1
SM
5082013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
511 at bobp (bug#15826).
512 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
513
daddb3fd
DH
5142013-11-08 Darren Hoo <darren.hoo@gmail.com>
515
516 * man.el (Man-start-calling): New macro, extracted from
517 Man-getpage-in-background.
518 (Man-getpage-in-background): Use it.
519 (Man-update-manpage): New command.
520 (Man-mode-map): Bind it.
521
1f923923
DG
5222013-11-08 Dmitry Gutov <dgutov@yandex.ru>
523
524 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
525 of "and", "or", "&&" and "||".
526 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
527 argument. Prohibit opening curly brace because it could only be a
528 block opener in that position.
daddb3fd
DH
529 (ruby-smie--forward-token, ruby-smie--backward-token):
530 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
531 arguments.
532 (ruby-smie--indent-to-stmt): New function, seeks the end of
533 previous statement or beginning of buffer.
534 (ruby-smie-rules): Use it.
535 (ruby-smie-rules): Check if there's a ":" before a curly block
536 opener candidate; if there is, it's a hash.
537
3220d527
SM
5382013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
541 (cl--block-wrapper): Fix last accidental change.
542
1eb1f9e0
MA
5432013-11-07 Michael Albinus <michael.albinus@gmx.de>
544
545 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
546 Instrument, in order to hunt failure on hydra.
547
e6e4db3c
NT
5482013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
549
550 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
551 malformed bindings form (bug#15814).
552
b420ccfc
DG
5532013-11-07 Dmitry Gutov <dgutov@yandex.ru>
554
555 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
556 "." compared to " @ ". This incidentally fixes some indentation
557 examples with "do".
e6e4db3c 558 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
559 (ruby-smie-grammar): New tokens: "and" and "or".
560 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
561 Exclude "and" and "or". Remove "do" in order to work around token
562 priorities.
563 (ruby-smie-rules): Add all infix tokens. Handle the case of
564 beginning-of-buffer.
b420ccfc 565
6b4ac03e
GM
5662013-11-06 Glenn Morris <rgm@gnu.org>
567
568 * Makefile.in (setwins_almost, setwins_for_subdirs):
569 Avoid accidental matches.
570
5ca114d1
SM
5712013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * menu-bar.el (popup-menu): Use key-binding.
574
f72552bd
EZ
5752013-11-06 Eli Zaretskii <eliz@gnu.org>
576
577 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
578 menus, support also the menus produced by minor modes.
579 (Bug#15817)
580
5d5c701e
LL
5812013-11-06 Leo Liu <sdl.web@gmail.com>
582
583 * thingatpt.el (thing-at-point-looking-at): Add optional arg
584 DISTANCE to bound the search. All uses changed. (Bug#15808)
585
0a8b75e2
GM
5862013-11-06 Glenn Morris <rgm@gnu.org>
587
588 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
589 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
590 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 591
a35287ea
SM
5922013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
593
feca4e2d
SM
594 * electric.el (electric-indent-just-newline): New command.
595 (electric-indent-mode-map): New keymap.
596 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
597 Re-add :group which weren't redundant.
598
a35287ea
SM
599 * electric.el (electric-indent-local-mode): New minor mode.
600 (electric-indent-functions-without-reindent): New var.
601 (electric-indent-post-self-insert-function): Use it.
602 * emacs-lisp/gv.el (buffer-local-value): Add setter.
603
375761b2
EZ
6042013-11-05 Eli Zaretskii <eliz@gnu.org>
605
9a6ad735
EZ
606 * international/quail.el (quail-help): Be more explicit about the
607 meaning of the labels shown on the keys. (Bug#15800)
608
375761b2
EZ
609 * startup.el (normal-top-level): Load the subdirs.el files before
610 setting the locale environment. (Bug#15805)
611
520a6e4a
SM
6122013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
613
0acfafef
SM
614 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
615 via arguments so as to get the right ones (bug#15418).
616
520a6e4a
SM
617 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
618
15826261
MA
6192013-11-05 Michael Albinus <michael.albinus@gmx.de>
620
621 Fix problems found while writing a test suite.
622
623 * net/tramp-compat.el (tramp-compat-load): New defun.
624 * net/tramp.el (tramp-handle-load): Use it.
625
626 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
627 "(numberp ok-if-already-exists)" correctly.
628
d35f31a4
XF
6292013-11-05 Xue Fuqiao <xfq.free@gmail.com>
630
631 * international/characters.el (glyphless-char-display-control):
632 Add usage note.
633
ae93bc74
BB
6342013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
635
520a6e4a
SM
636 * progmodes/python.el (python-mode):
637 * progmodes/scheme.el (scheme-mode):
638 * progmodes/prolog.el (prolog-mode):
639 * progmodes/ruby-mode.el (ruby-mode):
640 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
641 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 642
0ade65b5
SM
6432013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
644
a0d5f7a4
SM
645 * rect.el (rectangle--highlight-for-redisplay):
646 * emacs-lisp/smie.el (smie--next-indent-change):
647 Use buffer-chars-modified-tick.
648
c93f3f5c
SM
649 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
650
0ade65b5
SM
651 * electric.el (electric-indent-post-self-insert-function):
652 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
653
ef9dd188
HE
6542013-11-04 Helmut Eller <eller.helmut@gmail.com>
655
656 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
657
306e7308
NT
6582013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
659
660 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
661 (bug#15786).
662
e5afbcac
SM
6632013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
664
1d01ad41
SM
665 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
666
e5afbcac
SM
667 * progmodes/python.el: Fix up last change.
668 (python-shell--save-temp-file): New function.
669 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
670 `string' comes from the current buffer.
671 (python-shell-send-string-no-output): Remove `msg' arg.
672 (python--use-fake-loc): New var.
673 (python-shell-buffer-substring): Obey it. Try to compensate for the
674 extra coding line added by python-shell--save-temp-file.
675 (python-shell-send-region): Use python-shell--save-temp-file and
676 python-shell-send-file directly. Add `nomain' argument.
677 (python-shell-send-buffer): Use python-shell-send-region.
678 (python-electric-pair-string-delimiter): New function.
679 (python-mode): Use it.
680
d0065ff1
EZ
6812013-11-04 Eli Zaretskii <eliz@gnu.org>
682
683 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
684 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
685 environment and decoding all of the default-directory's to here
686 from command-line.
687 (command-line): Decode also argv[0].
688
689 * loadup.el: Error out if default-directory is a multibyte string
690 when we are dumping.
691
692 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
693
7397c587
TZ
6942013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
695
696 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
697 (package-menu--print-info, package-menu--archive-predicate):
698 Add Archive column to package list.
7397c587 699
b27cc9fc
MA
7002013-11-04 Michael Albinus <michael.albinus@gmx.de>
701
702 Fix problems found while writing a test suite.
703
704 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
705 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
706 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
707 to nil when running original file name handler. Otherwise,
708 there are problems with constructs like "$$FOO".
709
710 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
711 for `localname'.
712
d8c4f18a
BB
7132013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
714
7b530552
BB
715 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
716
717 * subr.el (version<, version<=, version=):
718 Update docstrings with information for snapshot versions.
719
d8c4f18a
BB
720 * helpers.el: New library for misc helper functions.
721 (hash-table-keys): New function returning a list of hash keys.
722 (hash-table-values): New function returning a list of hash values.
723
dca01b09
DG
7242013-11-04 Dmitry Gutov <dgutov@yandex.ru>
725
726 * progmodes/ruby-mode.el (ruby-smie--forward-token)
727 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
728
0a749fa0
MN
7292013-11-04 Michal Nazarewicz <mina86@mina86.com>
730
731 * textmodes/fill.el (fill-single-char-nobreak-p): New function
732 checking whether point is after a 1-letter word.
733
7342013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
735
736 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
737 Don't infloop when expanding region over `multiline' syntax-type that
738 begins a line (bug#15778).
739
4aca7145
SM
7402013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
743 Make it into a proper minor mode.
744 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
745 (rectangle-mark-mode-map): New keymap.
746 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
747
a0833f62
GM
7482013-11-04 Glenn Morris <rgm@gnu.org>
749
750 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
751
e61845c1
SM
7522013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
755 (ruby-smie-rules): Use smie-rule-parent instead.
756
757 * emacs-lisp/smie.el (smie-rule-parent): Always call
758 smie-indent-virtual rather than only for hanging tokens.
759 (smie--next-indent-change): New helper command.
760
62942f89
GM
7612013-11-03 Glenn Morris <rgm@gnu.org>
762
763 * Makefile.in (abs_srcdir): Remove.
764 (emacs): Unset EMACSLOADPATH.
765
b0b9e592
GM
7662013-11-02 Glenn Morris <rgm@gnu.org>
767
18ba6a33 768 * Makefile.in (EMACS): Use a relative filename.
8061810d 769 (abs_top_builddir): Remove.
18ba6a33
GM
770 (custom-deps, finder-data, autoloads): Use --chdir.
771
6a8b929e
GM
772 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
773
c617f3d0
GM
774 Use relative filenames in TAGS files.
775 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
776 (lisptagsfiles4, TAGS): Use relative file names.
777 (TAGS-LISP): Remove.
778 (maintainer-clean): No more TAGS-LISP file.
779
b0b9e592
GM
780 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
781 (lisptagsfiles4): Use absolute filenames again.
782 (TAGS, TAGS-LISP): Not everything needs to run in one line.
783 Remove all *loaddefs files, not just the first. Remove esh-groups.
784 (maintainer-clean): Delete TAGS, TAGS-LISP.
785
d1c0ea6a
BB
7862013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
787
e61845c1
SM
788 * emacs-lisp/package.el (package-version-join):
789 Recognize snapshot versions.
d1c0ea6a 790
684d71c6
BB
7912013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
792
793 * subr.el (version-regexp-alist): Add support for snapshot versions.
794
3d42b968
DG
7952013-11-02 Dmitry Gutov <dgutov@yandex.ru>
796
e61845c1
SM
797 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
798 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
799 skip over our direct parent if it's an assignment token..
800 (ruby-smie-rules): Use it.
801
7ffd3721
DG
8022013-11-02 Dmitry Gutov <dgutov@yandex.ru>
803
804 * progmodes/ruby-mode.el Use `syntax-propertize-function'
805 unconditionally. Remove now unnecessary forward declarations.
806 Remove XEmacs-specific setup.
807 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
808 (ruby-font-lock-syntactic-keywords)
809 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
810 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
811 (ruby-here-doc-end-syntax): Remove.
812 (ruby-mode): Don't check whether `syntax-propertize-rules' is
813 defined as function.
814
a3996a2e
BB
8152013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
816
817 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
818
6f9260e8
BB
8192013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
820
821 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
822 table and abbrev table, `define-derived-mode' does that for us
823 anyway.
824
6014de84
GM
8252013-11-01 Glenn Morris <rgm@gnu.org>
826
827 * Makefile.in: Remove manual mh-e dependencies (writing .elc
828 files is atomic for some time, so no parallel compilation issues).
829
3c334c14
JD
8302013-11-01 Jan Djärv <jan.h.d@swipnet.se>
831
832 * faces.el (face-x-resources): Add :distant-foreground.
833 (region): Use :distant-foreground for gtk and ns.
834
9bc236c8
TH
8352013-11-01 Tassilo Horn <tsdh@gnu.org>
836
5246583b 837 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
838 BibTeX.
839 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
840 (reftex-locate-bibliography-files): Us it.
841
d14c81ee
CB
8422013-11-01 Claudio Bley <claudio.bley@googlemail.com>
843
0e7690de
CB
844 * image.el (image-type-header-regexps): Fix the 'pbm' part to
845 allow comments in pbm files.
846
d14c81ee
CB
847 * term/w32-win.el (dynamic-library-alist): Support newer versions
848 of libjpeg starting with v7: look only for the DLL from the
849 version against which Emacs was built.
ac1bf374 850 Support versions of libpng beyond 1.4.x.
019c8218 851 Support libtiff v4.x.
d14c81ee 852
983d0df5
BB
8532013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
854
855 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
856 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
857 Add property :safe.
858 (ruby-deep-arglist): Add property :type.
859
47f58d85
GM
8602013-10-31 Glenn Morris <rgm@gnu.org>
861
862 * Makefile.in (custom-deps, finder-data): No need to setq the target
863 variables, we are in the right directory and the defaults work fine.
864
4f85b479
GM
8652013-10-30 Glenn Morris <rgm@gnu.org>
866
ca7dd4cd
GM
867 * Makefile.in (autoloads): Do not use abs_lisp.
868
4f85b479
GM
869 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
870 `newline' does not respect `standard-output', so use `princ'.
871
cf59e41c
AA
8722013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
873
874 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
875 * buff-menu.el (Buffer-menu--unmark): New function.
876 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
877
74cf04fb
GM
8782013-10-30 Glenn Morris <rgm@gnu.org>
879
b040b60e
GM
880 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
881
f53d3815
GM
882 * emacs-lisp/package.el (lm-homepage): Declare.
883
5413d873
GM
884 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
885 Fix doc typos.
886
cecedb36
GM
887 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
888
74cf04fb
GM
889 * Makefile.in (finder-data, autoloads, update-subdirs)
890 (compile-main, compile-clean, compile-always, bootstrap-clean):
891 Check return value of cd.
892 (compile-calc): Remove.
893
195ee2f0
SM
8942013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
895
ae4002ce
SM
896 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
897
898 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
899 (byte-compile-and-folded): New function.
900 (=, <, >, <=, >=): Use it.
901
902 * dos-w32.el (minibuffer-history-case-insensitive-variables)
903 (path-separator, null-device, buffer-file-coding-system)
904 (lpr-headers-switches): Check system-type before modifying them.
905 (find-buffer-file-type-coding-system): Mark obsolete.
906 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
907 find-file-not-found-set-buffer-file-coding-system.
908 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
909 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
910 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
911 (w32-direct-print-region-helper, w32-direct-print-region-function)
912 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
913 * startup.el (normal-top-level-add-subdirs-to-load-path):
914 * ps-print.el (ps-print-region-function):
915 * lpr.el (print-region-function): Use new name.
916
53b39e89
SM
917 * subr.el (custom-declare-variable-early): Remove function.
918 (custom-declare-variable-list): Remove var.
919 (error, user-error): Remove `while' loop.
920 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
921 (user-emacs-directory-warning, locate-user-emacs-file):
922 Move to files.el.
923 * simple.el (read-quoted-char-radix, read-quoted-char):
924 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
925 Move from subr.el.
926 * custom.el (custom-declare-variable-list): Don't process
927 custom-declare-variable-list.
928
195ee2f0
SM
929 * progmodes/python.el (python-shell-get-buffer): New function.
930 (python-shell-get-process): Use it.
931 (python-shell-send-string): Always use utf-8 and add a cookie to tell
932 Python which encoding was used. Don't split-string since we only care
933 about the first line. Return the temp-file, if applicable.
934 (python-shell-send-region): Tell compile.el how to turn locations in
935 the temp-file into locations in the source buffer.
936
7e3561ee
SM
9372013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
938
4c9797cb
SM
939 * subr.el (undefined): Add missing behavior from the C code for
940 unbound keys.
941
3472b6c6
SM
942 * rect.el: Use lexical-binding. Add new rectangular region support.
943 (rectangle-mark): New command.
944 (rectangle--region): New var.
945 (deactivate-mark-hook): Reset rectangle--region.
946 (rectangle--extract-region, rectangle--insert-for-yank)
947 (rectangle--highlight-for-redisplay)
948 (rectangle--unhighlight-for-redisplay): New functions.
949 (region-extract-function, redisplay-unhighlight-region-function)
950 (redisplay-highlight-region-function): Use them to handle
951 rectangular region.
952 * simple.el (region-extract-function): New var.
953 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
954 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
955 (kill-region): Replace obsolete `yank-handler' arg with `region'.
956 (copy-region-as-kill, kill-ring-save): Add `region' argument.
957 (redisplay-unhighlight-region-function)
958 (redisplay-highlight-region-function): New vars.
959 (redisplay--update-region-highlight): New function.
960 (pre-redisplay-function): Use it.
961 (exchange-point-and-mark): Don't deactivate the mark before
962 reactivate-it anyway.
963 * comint.el (comint-kill-region): Remove yank-handler argument.
964 * delsel.el (delete-backward-char, backward-delete-char-untabify)
965 (delete-char): Remove property, since it's now part of their
966 default behavior.
967 (self-insert-iso): Remove property since this command doesn't exist.
968
7e3561ee
SM
969 * emacs-lisp/package.el (package--download-one-archive)
970 (describe-package-1): Don't query the user about final newline.
971
b9bef71f
DC
9722013-10-29 Daniel Colascione <dancol@dancol.org>
973
974 * net/tramp.el (tramp-methods): Document new functionality.
975 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
976 tramp-hostname-checker if method provides one instead of scanning
977 argument list for "%h" to decide hostname acceptability.
978
4efc33f0
MA
9792013-10-28 Michael Albinus <michael.albinus@gmx.de>
980
981 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
982 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
983 Handle COPY-CONTENTS. (Bug#15737)
984
ed42a877
DU
9852013-10-28 Daiki Ueno <ueno@gnu.org>
986
987 * epa-file.el
7e3561ee
SM
988 (epa-file-cache-passphrase-for-symmetric-encryption):
989 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 990
18c9f8a2
XF
9912013-10-27 Xue Fuqiao <xfq.free@gmail.com>
992
7a4bc7be
XF
993 * image.el (defimage):
994 (image-load-path): Doc fixes.
18c9f8a2 995
b1e8e010
AM
9962013-10-27 Alan Mackenzie <acm@muc.de>
997
998 Indent statements in macros following "##" correctly.
7e3561ee
SM
999 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1000 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1001
73d40d1e 10022013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1003
1004 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1005
c8c605ac
DG
10062013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1007
1008 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1009 after `=' is probably a new expression.
1010
ca7e59d4
RS
10112013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1012
1013 * man.el (man-imenu-title): New option.
1014 (Man-mode-map): Add menu. (Bug#15722)
1015 (Man-mode): Add imenu to menu.
1016
bae91342
DG
10172013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1018
1019 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1020 specific in what the first arg can be: a non-keyword word,
1021 string/regexp/percent literal opener, opening paren, or unary
1022 operator followed directly by word.
1023
eb89dc14
SM
10242013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1027 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1028 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1029 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1030 Remove vars, they do not apply any more.
1031 (prolog-mode-abbrev-table): Remove redundant declaration.
1032 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1033 (prolog-use-smie): Remove.
1034 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1035 supported by prolog-electric-if-then-else-flag.
1036 (prolog-mode-variables, prolog-menu): Use setq-local.
1037 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1038 Remove binding to `Backspace' since this key doesn't exist anyway.
1039 Remove bindings for electric self-inserting keys.
1040 (prog-mode): Assume it's defined.
1041 (prolog-post-self-insert): New function.
1042 (prolog-mode): Use it.
1043 (prolog-indent-line, prolog-indent-level)
1044 (prolog-find-indent-of-matching-paren)
1045 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1046 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1047 (prolog-goto-next-paren, prolog-in-string-or-comment)
1048 (prolog-tokenize, prolog-inside-mline-comment)
1049 (prolog-find-start-of-mline-comment): Remove functions.
1050 (prolog-find-unmatched-paren, prolog-clause-end)
1051 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1052 (prolog-electric--if-then-else): Rename from
1053 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1054 (prolog-tokenize-searchkey): Remove const.
1055 (prolog-clause-info): Use forward-sexp.
1056 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1057 (prolog-electric-if-then-else): Remove commands.
1058 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1059 for use in post-self-insert-hook.
1060 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1061 for use in post-self-insert-hook.
1062 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1063 for use in post-self-insert-hook.
1064 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1065 adapt it for use in post-self-insert-hook.
1066
3dab0a83
MA
10672013-10-25 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * emacs-lisp/ert.el (ert-run-tests-interactively):
1070 Use `completing-read'. (Bug#9756)
1071
fbfd0e1d
EZ
10722013-10-25 Eli Zaretskii <eliz@gnu.org>
1073
1074 * simple.el (line-move): Call line-move-1 instead of
1075 line-move-visual when the current window hscroll is zero, but
1076 temporary-goal-column indicates we will need to hscroll as result
1077 of the movement. (Bug#15712)
1078
963ce636
DG
10792013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1080
1081 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1082 capitalization. Use :visible instead of :active.
1083 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1084 commands that are used with SMIE.
1085 (ruby-do-end-to-brace): Insert space after `{'.
1086
a0be396a
JA
10872013-10-25 John Anthony <john@jo.hnanthony.com>
1088
f73754c9
JA
1089 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1090
1091 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1092
f5bf77df
GM
10932013-10-25 Glenn Morris <rgm@gnu.org>
1094
1095 * vc/vc.el (vc-print-log): Don't use a working revision unless
1096 one was explicitly specified. (Bug#15322)
1097
37241f62
SM
10982013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * subr.el (add-to-list): Preserve return value in compiler-macro
1101 (bug#15692).
1102
6408a65d
RS
11032013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1104
1105 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1106 result. Ask user to retry using '-all' flag. (Bug#15701)
1107
71e3276b
SM
11082013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * emacs-lisp/smie.el: New smie-config system.
1111 (smie-config): New defcustom.
1112 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1113 (smie-config-guess, smie-config-save): New commands.
1114 (smie-config--mode-local, smie-config--buffer-local)
1115 (smie-config--trace, smie-config--modefuns): New vars.
1116 (smie-config--advice, smie-config--mode-hook)
1117 (smie-config--setter, smie-config-local, smie-config--get-trace)
1118 (smie-config--guess-value, smie-config--guess): New functions.
1119 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1120 text properties. Treat "string fence" syntax like string syntax.
1121
1122 * progmodes/sh-script.el (sh-use-smie): Change default.
1123 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1124 (sh-var-value): Simplify by CSE.
1125 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1126 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1127 is used.
1128 (sh-guess-basic-offset): Use cl-incf.
1129 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1130
60db713e
HE
11312013-10-24 Helmut Eller <eller.helmut@gmail.com>
1132
1133 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1134 (bug#15699).
1135
8b251df6
GM
11362013-10-24 Glenn Morris <rgm@gnu.org>
1137
1138 * Makefile.in (abs_top_srcdir): Remove.
1139 (update-subdirs): Use relative path to update-subdirs.
1140
6be0e22b
EZ
11412013-10-24 Eli Zaretskii <eliz@gnu.org>
1142
1143 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1144 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1145 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1146 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1147
50b5b857
MA
11482013-10-24 Michael Albinus <michael.albinus@gmx.de>
1149
1150 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1151 (ert-test-skipped): New error.
1152 (ert-skip, ert-stats-skipped): New defuns.
1153 (ert--skip-unless): New macro.
1154 (ert-test-skipped): New struct.
1155 (ert--run-test-debugger, ert-test-result-type-p)
1156 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1157 (ert--stats-set-test-and-result, ert-char-for-test-result)
1158 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1159 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1160 Handle skipped tests. (Bug#9803)
50b5b857 1161
6f317c2f
GM
11622013-10-24 Glenn Morris <rgm@gnu.org>
1163
e43817c1
GM
1164 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1165
6f317c2f
GM
1166 * Makefile.in (abs_top_srcdir): New, set by configure.
1167 (update-subdirs): Correct build-aux location.
1168
369bbf71
DG
11692013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1170
8297b2cf
DG
1171 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1172 value, whether we could auto-deduce `backend', or not.
1173
369bbf71
DG
1174 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1175 with parameters" example. Simplify the "is it block or is it
1176 hash" check, but also make it more thorough.
1177
d5f1282f
MF
11782013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1179
1180 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1181
bc4aaa31
SM
11822013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1183
03d44565
SM
1184 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1185 { if it is hanging.
1186
bc4aaa31
SM
1187 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1188 :before ";".
1189
f493ff19
JB
11902013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1191
1192 * progmodes/compile.el (compilation-directory-matcher)
1193 (compilation-page-delimiter):
1194 Support GNU Make-4.0 directory quoting. (Bug#15678)
1195
c744a3b9
LL
11962013-10-23 Leo Liu <sdl.web@gmail.com>
1197
1198 * ido.el (ido-tidy): Handle read-only text.
1199
b8e3b0a9
GM
12002013-10-23 Glenn Morris <rgm@gnu.org>
1201
1202 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1203 (emacs, compile, compile-always):
1204 Quote entities that might contain whitespace.
1205 (custom-deps, finder-data, autoloads): Use abs_lisp.
1206 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1207 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1208 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1209
ee4282cd
DG
12102013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1211
bc4aaa31
SM
1212 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1213 Use `following-char'.
7790a270 1214
ee4282cd 12152013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1216
1217 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1218 * progmodes/ruby-mode.el (ruby-smie-rules):
1219 Remove corresponding workaround. Fix indentation rule of ";" so it
1220 also applies when ";" is the parent.
1221
d40a46d7
XF
12222013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1223
1224 * frame.el (display-screens, display-pixel-height)
1225 (display-pixel-width, display-mm-width, display-backing-store)
1226 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1227 (display-visual-class, display-monitor-attributes-list):
1228 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1229
a0f143c9
MG
12302013-10-22 Michael Gauland <mikelygee@amuri.net>
1231
1232 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1233 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1234
18cacc39
DG
12352013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1236
1237 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1238 TODO. Add "." after " @ ".
1239 (ruby-smie--at-dot-call): New function. Checks if point at method
1240 call with explicit target.
1241 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1242 to the method name tokens when it precedes them.
1243 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1244 (ruby-smie-rules): Add rule for indentation before and after "."
1245 token.
1246
df74c4be
SM
12472013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1248
c6dab55f
SM
1249 * textmodes/remember.el (remember-diary-extract-entries):
1250 Avoid add-to-list.
1251
df74c4be
SM
1252 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1253 an instruction.
1254
8c1ae481
DG
12552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1256
cfef16c0
DG
1257 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1258 (ruby-smie--implicit-semi-p): Add new operator chars.
1259
8c1ae481
DG
1260 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1261 `smie-down-list'.
1262 (ruby-smie--args-separator-p): Check that there's no newline
1263 between method call and its arguments.
1264
87756ca9
AM
12652013-10-20 Alan Mackenzie <acm@muc.de>
1266
1267 Allow comma separated lists after Java "implements".
1268
df74c4be
SM
1269 * progmodes/cc-engine.el (c-backward-over-enum-header):
1270 Parse commas.
87756ca9
AM
1271 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1272 from a "disallowed" list in enum fontification.
1273
c25f8957
JB
12742013-10-20 Johan Bockgård <bojohan@gnu.org>
1275
df74c4be 1276 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1277
c25f8957
JB
1278 * progmodes/verilog-mode.el (verilog-mode): Don't set
1279 comment-indent-function globally.
1280
aca5fcdc
JD
12812013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1282
5f161884
JD
1283 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1284 Move Info menu item creation to ns-win.el.
1285
1286 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1287 in menu bar.
1288
aca5fcdc
JD
1289 * menu-bar.el: Move GNUStep specific menus...
1290
1291 * term/ns-win.el (ns-initialize-window-system): ... to here.
1292
914b7f98
SM
12932013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * simple.el (newline): Only run post-self-insert-hook when
1296 called interactively.
1297
846ffe77
JB
12982013-10-19 Johan Bockgård <bojohan@gnu.org>
1299
1300 * icomplete.el (icomplete-with-completion-tables): Add :version.
1301
033f22dd
AM
13022013-10-19 Alan Mackenzie <acm@muc.de>
1303
1304 Fix fontification bugs with constructors and const.
1305
1306 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1307 CASE 2) Remove the check for the absence of a suffix construct
1308 after a function declaration with only types (no identifiers) in
1309 the parentheses. Also, accept a function declaration with just a
1310 type inside the parentheses, if this type can be positively
1311 recognised as such, or if a prefix keyword like "explicit" nails
1312 down the construct as a declaration.
1313
58ce0cfc
EZ
13142013-10-19 Eli Zaretskii <eliz@gnu.org>
1315
1316 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1317 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1318 the problem whereby selecting a menu item that leads to a
1319 minibuffer prompt moves the cursor out of the minibuffer window,
1320 making it hard to type at the prompt. Suggested by Stefan Monnier
1321 <monnier@iro.umontreal.ca>.
1322
50e28e7d
JD
13232013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1324
1325 * menu-bar.el: Don't make Services menu.
1326
7deed4bf
RS
13272013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1328
1329 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1330 (ffap-alist): Use ffap-c++-mode for c++-mode.
1331 (ffap-c++-path): New variable.
1332 (ffap-c++-mode): New function.
1333
7bcb455b
JVJ
13342013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1335
1336 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1337
f0ff1cd5
MA
13382013-10-18 Michael Albinus <michael.albinus@gmx.de>
1339
1340 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1341 introduced on 2013-09-08, which results in an infinite loop
1342 requesting a password.
1343
d64da4b7
GM
13442013-10-18 Glenn Morris <rgm@gnu.org>
1345
1346 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1347
ea89ff08
WS
13482013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1349
1350 Sync with upstream verilog-mode revision 1a6ecec7.
1351 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1352 (verilog-mode-release-date): Remove.
1353 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1354 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1355 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1356 (verilog-auto-tieoff-ignore-regexp)
1357 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1358 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1359 (verilog-signals-with, verilog-dir-cache-preserving)
1360 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1361 Doc fixes.
1362 (verilog-case-fold): New option, to control case folding in
1363 regexp searches, bug597.
1364 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1365 (verilog-string-match-fold, verilog-in-paren-count)
1366 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1367 (verilog-at-close-struct-p): New functions.
1368 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1369 (verilog-forward-sexp, verilog-set-auto-endcomments):
1370 (verilog-leap-to-case-head): Handle "unique0" case.
1371 (verilog-in-constraint-re): New constant.
1372 (verilog-keywords, verilog-type-font-keywords):
1373 Add some SystemVerilog 1800-2012 keywords.
1374 (verilog-label-be): Remove unimplemented argument, bug669.
1375 (verilog-batch-execute-func): When batch expanding clear
1376 create-lockfiles to prevent spurious user locks when a file ends
1377 up not changing.
1378 (verilog-calculate-indent, verilog-calc-1)
1379 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1380 (verilog-do-indent): Fix indentation of nested constraints
1381 and structures.
1382 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1383 (verilog-auto-inst-param): Use verilog-string-match-fold.
1384 (verilog-read-inst-module-matcher):
1385 Fix AUTOINST on gate primitives with #1.
1386 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1387 Reads all user-defined typed variables.
1388 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1389 (verilog-signals-matching-regexp)
1390 (verilog-signals-not-matching-regexp, verilog-auto):
1391 Respect verilog-case-fold.
1392 (verilog-diff-report): Fix line count.
1393 (verilog-auto-assign-modport): Remove unused local `modi'.
1394 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1395 better handle multidimensional arrays.
1396 Fix packed array ports misadding bit index in AUTOINST, bug637.
1397 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1398 to not double-declare existing outputs and inputs, respectively.
1399 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1400 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1401 (verilog-sk-uvm-component): New skeleton.
1402 (verilog-submit-bug-report): Add verilog-case-fold,
1403 remove verilog-mode-release-date.
1404
ef566920
BR
14052013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1406
1407 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1408 as before.
1409
29df8a0b
RT
14102013-10-18 Reuben Thomas <rrt@sc3d.org>
1411
1412 * textmodes/remember.el (remember): set buffer-offer-save in
1413 remember buffers (bug#13566).
1414
04a19a79
DC
14152013-10-18 Daniel Colascione <dancol@dancol.org>
1416
1417 When evaluating forms in ielm, direct standard output to ielm
1418 buffer. Add new ielm-return-for-effect command. Remove trailing
1419 whitespace throughout.
1420
1421 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1422 (ielm-return-for-effect): New command.
1423 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1424 (ielm-eval-input): Accept optional `for-effect' parameter.
1425 Bind `standard-output' to stream we create using
04a19a79
DC
1426 `ielm-standard-output-impl'. Suppress printing result when
1427 `for-effect'.
1428 (ielm-standard-output-impl): New function.
1429 (inferior-emacs-lisp-mode): Explain new features in documentation.
1430
4c1f03ef
MA
14312013-10-17 Michael Albinus <michael.albinus@gmx.de>
1432
1433 Code cleanup.
1434
1435 * net/tramp.el (tramp-debug-message): Do not check for connection
1436 buffer.
1437 (tramp-message): Use "vector" connection property.
1438
1439 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1440 (tramp-equal-remote, tramp-eshell-directory-change)
1441 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1442 (tramp-adb-handle-rename-file)
1443 * net/tramp-cmds.el (tramp-list-remote-buffers)
1444 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1445 * net/tramp-compat.el (tramp-compat-process-running-p)
1446 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1447 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1448 (tramp-gvfs-handle-rename-file)
1449 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1450 (tramp-set-file-uid-gid)
1451 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1452 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1453 of `file-remote-p'.
1454
1455 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1456 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1457 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1458 (tramp-gw-open-network-stream): Suppress unrelated traces.
1459
1460 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1461 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1464 connection property.
1465
1466 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1467 persistency file.
4c1f03ef
MA
1468
1469 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1470 Refactor common code. Improve debug message.
1471 (tramp-maybe-open-connection)
1472 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1473 connection buffer too early.
1474
1475 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1476 from `tramp-smb-actions-with-acl'.
1477 (tramp-smb-actions-set-acl): New defconst.
1478 (tramp-smb-handle-copy-directory)
1479 (tramp-smb-action-get-acl): New defun, renamed from
1480 `tramp-smb-action-with-acl'.
1481 (tramp-smb-action-set-acl): New defun.
1482 (tramp-smb-handle-set-file-acl): Rewrite.
1483
642eb8b6
GM
14842013-10-17 Glenn Morris <rgm@gnu.org>
1485
1486 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1487
85527ff3
SM
14882013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1489
921c1d62
SM
1490 * skeleton.el (skeleton-newline): Remove.
1491 (skeleton-internal-1): Use (insert "\n") instead.
1492
e333fb10
SM
1493 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1494 let-bindings.
1495
85527ff3
SM
1496 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1497 forward-sexp-function while we redo its job (bug#15613).
1498
c8722a97
JB
14992013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1500
1501 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1502 represented by lists.
1503
7a550bbb
GM
15042013-10-16 Glenn Morris <rgm@gnu.org>
1505
1506 * tmm.el (tmm--history): New dynamic variable.
1507 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1508
f19da8ad
MA
15092013-10-16 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1512 (tramp-smb-errors): Add error messages.
1513 (tramp-smb-actions-with-acl): New defconst.
1514 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1515 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1516 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1517 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1518 (tramp-smb-get-stat-capability): Fix tests.
1519
a24b9961
DK
15202013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1521
1522 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1523 (bug#15580).
1524
62ad85e6
GM
15252013-10-16 Glenn Morris <rgm@gnu.org>
1526
0283d6b0
GM
1527 * ansi-color.el (ansi-color-drop-regexp):
1528 Add 1J, 1K, 2K. (Bug#15617)
1529
012e2f9f
GM
1530 * files.el (hack-local-variables--warned-lexical): New.
1531 (hack-local-variables):
1532 Warn about misplaced lexical-binding. (Bug#15616)
1533
62ad85e6
GM
1534 * net/eww.el (eww-render): Always set eww-current-url,
1535 and update header line. (Bug#15622)
1536 (eww-display-html): ... Rather than just doing it here.
1537
6456c0ea
EZ
15382013-10-15 Eli Zaretskii <eliz@gnu.org>
1539
1540 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1541 menu navigations commands.
1542
c2de5588
DK
15432013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1544
1545 * progmodes/subword.el (subword-capitalize): Be careful when
1546 the search for [[:alpha:]] fails (bug#15580).
1547
ccd4a783
EZ
15482013-10-14 Eli Zaretskii <eliz@gnu.org>
1549
1550 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1551 to commands that scroll the menu.
1552
1eda1d8d
DG
15532013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1554
c2de5588
DK
1555 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1556 Handle methods ending with `?' and `!'.
1eda1d8d 1557
e70181b8
AM
15582013-10-14 Akinori MUSHA <knu@iDaemons.org>
1559
1560 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1561 `japanese-cp932' to `cp932' to fix the problem where saving a
1562 source file written in Shift_JIS twice would end up having
1563 `coding: japanese-cp932' which Ruby could not recognize.
1564 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1565 in `ruby-encoding-map'.
1566 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1567 doesn't need to be explicitly declared in magic comment.
1568 (ruby-encoding-map): Add type declaration for better customize UI.
1569
9148ee92
GM
15702013-10-13 Glenn Morris <rgm@gnu.org>
1571
a5d38e34
GM
1572 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1573 Occur buffers are read-only. http://bugs.debian.org/720775
1574
9148ee92
GM
1575 * emacs-lisp/authors.el (authors-fixed-entries):
1576 Comment out old alpha stuff.
1577
a9ba094b
DG
15782013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1579
1580 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1581 to `after-save-hook' instead of `before-save-hook'.
1582 (ruby-mode-set-encoding): Use the value of coding system used to
1583 write the file. Call `basic-save-buffer-1' after modifying the
1584 buffer.
1585
7a068717
AM
15862013-10-13 Alan Mackenzie <acm@muc.de>
1587
1588 Fix indentation/fontification of Java enum with
1589 "implements"/generic.
1590
c2de5588
DK
1591 * progmodes/cc-engine.el (c-backward-over-enum-header):
1592 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1593 (c-inside-bracelist-p): Uses new function above.
1594 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1595 function above.
1596 (c-font-lock-enum-tail): Uses new function above.
1597
85b64f02
KH
15982013-10-13 Kenichi Handa <handa@gnu.org>
1599
1600 * international/mule-cmds.el (select-safe-coding-system): Remove a
1601 superfluous condition in chekcing whether a coding system is safe
1602 or not.
1603
fc7f501b
OK
16042013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1605
1606 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1607
fdcb2049
AP
16082013-10-13 Andreas Politz <politza@hochschule-trier.de>
1609
1610 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1611
8c106d17
GM
16122013-10-13 Glenn Morris <rgm@gnu.org>
1613
feab892d
GM
1614 * menu-bar.el (menu-bar-update-buffers):
1615 Unify Buffers menu prompt string. (Bug#15576)
1616
b22d0686
GM
1617 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1618
8c106d17
GM
1619 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1620 Add some entries.
1621 (authors-fixed-entries): Use accented form of name.
1622
1b12c797
SM
16232013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1624
650fa7bf 1625 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1626 method calls (bug#15594).
650fa7bf
SM
1627 (ruby-smie--args-separator-p): New function.
1628 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1629 recognize paren-free method calls.
1630
1b12c797
SM
1631 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1632 internals of universal-argument.
1633
029619c8
EZ
16342013-10-11 Eli Zaretskii <eliz@gnu.org>
1635
1636 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1637 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1638 dropped menu on second mouse click on the menu bar.
029619c8 1639
dd070019
SM
16402013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1643 (explicit-shell-file-name): Declare.
1644 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1645 (sh-completion-at-point-function): New function.
1646 (sh-mode): Use it.
1647 (sh-smie--keyword-p): Remove unused argument.
1648 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1649 vars.
1650 (sh-set-shell): Always setup SMIE, even if we use the
1651 old indentation code.
1652
0922b826
DG
16532013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1654
b68e2926
DG
1655 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1656 cases of ? and =.
1657 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1658 predicate would return nil are almost non-existent.
1659 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1660
0922b826
DG
1661 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1662 cache also after commands that modify the buffer but don't move
1663 point.
1664
ee041f2d
SM
16652013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * env.el (substitute-env-in-file-name): New function.
1668 (substitute-env-vars): Extend the meaning of the optional arg.
1669
a5dab159
EZ
16702013-10-10 Eli Zaretskii <eliz@gnu.org>
1671
1672 * term/w32-win.el (dynamic-library-alist): Define separate lists
1673 of GIF DLLs for versions before and after 5.0.0 of giflib.
1674 (Bug#15531)
1675
db138698
JT
16762013-10-10 João Távora <joaotavora@gmail.com>
1677
1678 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1679 not locked, use last revision and current source as
1680 defaults. (Bug#15569)
1681
2f6e161e
MY
16822013-10-10 Masatake YAMATO <yamato@redhat.com>
1683
1684 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1685 menu-bar is hidden.
1686
6c8413fc
MR
16872013-10-10 Martin Rudalics <rudalics@gmx.at>
1688
1689 * window.el (pop-to-buffer-same-window): Fix doc-string.
1690 (Bug#15492)
1691
20832de0
SM
16922013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1695
c6e8ae77
AC
16962013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1697
1698 * calendar/icalendar.el (icalendar-import-file):
1699 Fix interactive spec. (Bug#15482)
1700
9db13baf
GM
17012013-10-10 Glenn Morris <rgm@gnu.org>
1702
9271e90e
GM
1703 * desktop.el (desktop-save): Default to saving in .emacs.d,
1704 since PWD is no longer in desktop-path by default. (Bug#15319)
1705
9db13baf
GM
1706 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1707 now that text mode has a menu with the same entry.
1708 (menu-bar-text-mode-auto-fill): Remove now unused func.
1709 * textmodes/text-mode.el (text-mode-map):
1710 Use auto-fill help text from menu-bar.el.
1711
a0be396a 17122013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1713
1714 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1715
2edcd3c7
JL
17162013-10-09 Juri Linkov <juri@jurta.org>
1717
1718 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1719 instead of this-command-keys. Add universal-argument-more and
1720 universal-argument-minus to the list of prefix commands. (Bug#15568)
1721
574411d0
GM
17222013-10-09 Glenn Morris <rgm@gnu.org>
1723
14afa541
GM
1724 * vc/vc-svn.el (vc-svn-create-repo):
1725 Expand paths in file://... url. (Bug#15446)
1726
574411d0
GM
1727 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1728 Add some entries.
1729 (authors): Remove unused local variables.
1730
79804536
SM
17312013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * profiler.el: Create a more coherent calltree from partial backtraces.
1734 (profiler-format): Hide the tail with `invisible' so that C-s can still
1735 find the hidden elements.
1736 (profiler-calltree-depth): Don't recurse so enthusiastically.
1737 (profiler-function-equal): New hash-table-test.
1738 (profiler-calltree-build-unified): New function.
1739 (profiler-calltree-build): Use it.
1740 (profiler-report-make-name-part): Indent the calltree less.
1741 (profiler-report-mode): Add visibility specs for profiler-format.
1742 (profiler-report-expand-entry, profiler-report-toggle-entry):
1743 Expand the whole subtree when provided with a prefix arg.
1744
238150c8
DG
17452013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1746
1747 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1748 iuwu-mod token.
1749 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1750 hanging iuwu-mod token.
1751 (ruby-smie--forward-token): Do not include a dot after a token in
1752 that token.
1753 (ruby-smie--backward-token): Likewise.
1754
b0949cc4
JL
17552013-10-08 Juri Linkov <juri@jurta.org>
1756
1757 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1758 to isearch-other-control-char.
1759 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1760 and isearch-post-command-hook to post-command-hook.
1761 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1762 and isearch-post-command-hook from post-command-hook.
1763 (isearch-unread-key-sequence)
1764 (isearch-reread-key-sequence-naturally)
1765 (isearch-lookup-scroll-key, isearch-other-control-char)
1766 (isearch-other-meta-char): Remove functions.
1767 (isearch-pre-command-hook, isearch-post-command-hook):
1768 New functions based on isearch-other-meta-char rewritten
1769 relying on the new behavior of overriding-terminal-local-map
1770 that does not replace the local keymaps any more. (Bug#15200)
1771
4ed77415
EZ
17722013-10-08 Eli Zaretskii <eliz@gnu.org>
1773
1774 Support menus on text-mode terminals.
1775 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1776 functionality.
1777
1778 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1779
c2de5588
DK
1780 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1781 Move here from mouse.el.
4ed77415
EZ
1782 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1783 and arrow keys.
1784 (tty-menu-navigation-map): New map for TTY menu navigation.
1785
1786 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1787
1788 * frame.el (display-mouse-p): Report text-mode mouse as available
1789 on w32.
1790 (display-popup-menus-p): Report availability if mouse is
1791 available; don't condition on window-system.
1792
1793 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1794 (tty-menu-selected-face): New faces.
1795
b7d5bd82
TL
17962013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1797
06286513
SM
1798 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1799 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1800 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1801 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1802 New constants.
1803 (lisp-mode-variables): New `elisp' argument.
1804 (emacs-lisp-mode): Use it.
1805 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1806 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1807
b7d5bd82
TL
1808 * indent.el: Use lexical-binding.
1809 (indent-region): Add progress reporter.
1810 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1811 last step.
1812 (indent--next-tab-stop): New function to implement this behavior.
1813 (tab-to-tab-stop, move-to-tab-stop): Use it.
1814
18152013-10-08 Teemu Likonen <tlikonen@iki.fi>
1816
1817 * indent.el (indent-rigidly--current-indentation): New function.
1818 (indent-rigidly-map): New var.
1819 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1820
5ea75d23
BG
18212013-10-08 Bastien Guerry <bzg@gnu.org>
1822
1823 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1824
cc5da1ec
SM
18252013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1826
8ffa1a0b
SM
1827 * progmodes/perl-mode.el: Use lexical-binding.
1828 Remove redundant :group args.
1829 (perl-nochange): Change default to be closer to other major modes's
1830 standard behavior.
1831 (perl-indent-line): Don't consider text on current line as a
1832 valid beginning of function from which to indent.
1833
f2223371
SM
1834 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1835 with more than one argument (bug#15538).
1836
44256060
SM
1837 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1838
cc5da1ec
SM
1839 * vc/pcvs.el: Use lexical-binding.
1840 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1841 environment of `eval'.
1842 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1843 than a list of expressions. Adjust callers.
1844 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1845
0ea1599d
DG
18462013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1847
1848 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1849 case of the dot in a chained method call being on the following line.
0ea1599d 1850
da3e5ebb
SM
18512013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1852
2abb4e65
SM
1853 * electric.el (electric-indent-inhibit): New var.
1854 (electric-indent-post-self-insert-function): Use it.
1855 * progmodes/python.el (python-mode): Set it.
1856
d2e0e795
SM
1857 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1858 open braces.
1859
1860 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1861
bdc6b4c8
SM
1862 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1863 (css-mode): Use electric-indent-chars.
1864
da3e5ebb
SM
1865 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1866 (font-lock-beg, font-lock-end): Move before first use.
1867 (nxml-mode): Use syntax-propertize-function.
1868 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1869 (nxml-extend-after-change-region): Remove.
1870 * nxml/xmltok.el: Use lexical-binding.
1871 (xmltok-save): Use `declare'.
1872 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1873 * nxml/nxml-util.el: Use lexical-binding.
1874 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1875 Use `declare'.
1876 * nxml/nxml-ns.el: Use lexical-binding.
1877 (nxml-ns-save): Use `declare'.
1878 (nxml-ns-prefixes-for): Avoid add-to-list.
1879 * nxml/rng-match.el: Use lexical-binding.
1880 (rng--ipattern): Use cl-defstruct.
1881 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1882 (rng-cons-group-after, rng-subst-group-after)
1883 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1884 Use closures instead of `(lambda...).
1885
f8f91d5d
MA
18862013-10-07 Michael Albinus <michael.albinus@gmx.de>
1887
1888 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1889 of BEG and END.
1890
da3e5ebb
SM
1891 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1892 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1893 (tramp-gvfs-handle-insert-file-contents): Remove function.
1894
da3e5ebb
SM
1895 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1896 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1897
1898 * net/trampver.el: Update release number.
1899
7ccae3b1
SM
19002013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1901
55ca2c0d
SM
1902 * progmodes/compile.el (compilation-parse-errors):
1903 Use compilation--put-prop.
1904 (compilation--ensure-parse): Check compilation-multiline.
1905
731fc3ae
SM
1906 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1907
da3e5ebb
SM
1908 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1909 lexical-binding.
a5833280 1910
2e7ba2c2
SM
1911 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1912
7ccae3b1
SM
1913 * progmodes/ruby-mode.el: Fix recently added tests.
1914 (ruby-smie-grammar): Add - and +.
1915 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1916 (ruby-smie--backward-id): New functions.
1917 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1918 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1919 any more.
1920
85698d63
LL
19212013-10-07 Leo Liu <sdl.web@gmail.com>
1922
1923 * register.el (register-preview-delay)
1924 (register-preview-functions): New variables.
1925 (register-read-with-preview, register-preview)
1926 (register-describe-oneline): New functions.
1927 (point-to-register, window-configuration-to-register)
1928 (frame-configuration-to-register, jump-to-register)
1929 (number-to-register, view-register, insert-register)
1930 (copy-to-register, append-to-register, prepend-to-register)
1931 (copy-rectangle-to-register): Use register-read-with-preview to
1932 read register. (Bug#15525)
1933
3986af6c
DS
19342013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1935
1936 * net/network-stream.el (network-stream-open-starttls): Don't add
1937 --insecure if it's already present, because that gnutls-cli
1938 rejects getting that parameter twice.
1939
5cd9cda9
DG
19402013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1941
1942 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1943 keyword, too.
1944
da9ea6d9
DG
19452013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1946
1947 * newcomment.el (comment-use-global-state): Change default value
1948 to t, mark obsolete (Bug#15251).
1949 (comment-beginning): In addition to `comment-to-syntax', check the
1950 value of `comment-use-global-state'.
1951
34d1a133
SM
19522013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1955 (ruby-comment-column): Follow the global default, by default.
1956 (ruby-smie-grammar): Add assignment syntax.
1957 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1958 open-paren, a comma, or a \.
1959 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1960 and line continuations.
1961 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1962 followed by implicit semi-colons. Add rule for string concatenation
1963 and for indentation at BOB.
1964 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1965
1966 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1967 calling next-sexp, since next-token may have skipped chars which
1968 next-sexp doesn't know should be skipped!
1969
6f6ab820
LL
19702013-10-05 Leo Liu <sdl.web@gmail.com>
1971
34d1a133
SM
1972 * progmodes/octave.el (octave-send-region):
1973 Call compilation-forget-errors.
6f6ab820 1974
34ca0f4c
XF
19752013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1976
1977 * vc/vc-svn.el (vc-svn-find-admin-dir):
1978 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1979 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1980 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1981 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1982
a27c1b72
SM
19832013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1986
258ab3bc
SM
19872013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * subr.el (read-passwd): Hide chars even when called within a context
1990 where after-change-functions is disabled (bug#15501).
1991 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1992 until we removed ourself from overriding-terminal-local-map.
1993
939fb29c
LL
19942013-10-04 Leo Liu <sdl.web@gmail.com>
1995
258ab3bc
SM
1996 * progmodes/octave.el (inferior-octave-mode):
1997 Call compilation-forget-errors.
939fb29c 1998
63bd7f35
XF
19992013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2000
2001 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2002
9e6229fa
MA
20032013-10-04 Michael Albinus <michael.albinus@gmx.de>
2004
2005 * net/secrets.el (secrets-create-collection): Add optional
2006 argument ALIAS. Use proper Label keyword. Append ALIAS as
2007 dbus-call-method argument. (Bug#15516)
2008
1dab32a3
LL
20092013-10-04 Leo Liu <sdl.web@gmail.com>
2010
2011 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2012 (inferior-octave-compilation-font-lock-keywords): New variables.
2013 (compilation-error-regexp-alist)
2014 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2015 (inferior-octave-mode): Use compilation-shell-minor-mode.
2016
6cad7ba3
JS
20172013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2018
2019 * minibuffer.el (completion--replace): Be careful that `end' might be
2020 a marker.
2021
acbadd00
DU
20222013-10-03 Daiki Ueno <ueno@gnu.org>
2023
2024 Add support for package signature checking.
2025 * emacs-lisp/package.el (url-http-file-exists-p)
2026 (epg-make-context, epg-context-set-home-directory)
2027 (epg-verify-string, epg-context-result-for)
2028 (epg-signature-status, epg-signature-to-string)
2029 (epg-check-configuration, epg-configuration)
2030 (epg-import-keys-from-file): Declare.
2031 (package-check-signature): New user option.
2032 (package-unsigned-archives): New user option.
2033 (package-desc): Add `signed' field.
2034 (package-load-descriptor): Set `signed' field if .signed file exists.
2035 (package--archive-file-exists-p): New function.
2036 (package--check-signature): New function.
2037 (package-install-from-archive): Check package signature.
2038 (package--download-one-archive): Check archive signature.
2039 (package-delete): Remove .signed file.
2040 (package-import-keyring): New command.
2041 (package-refresh-contents): Import default keyring.
2042 (package-desc-status): Add "unsigned" status.
2043 (describe-package-1, package-menu--print-info)
2044 (package-menu-mark-delete, package-menu--find-upgrades)
2045 (package-menu--status-predicate): Support "unsigned" status.
2046
adf2aa61
SM
20472013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2050 the new compilation scheme using the new byte-codes.
2051
2052 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2053 (byte-pophandler): New byte codes.
2054 (byte-goto-ops): Adjust accordingly.
2055 (byte-compile--use-old-handlers): New var.
2056 (byte-compile-catch): Use new byte codes depending on
2057 byte-compile--use-old-handlers.
2058 (byte-compile-condition-case--old): Rename from
2059 byte-compile-condition-case.
2060 (byte-compile-condition-case--new): New function.
2061 (byte-compile-condition-case): New function that dispatches depending
2062 on byte-compile--use-old-handlers.
2063 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2064 when we can.
2065
2066 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2067 Optimize under `condition-case' and `catch' if
2068 byte-compile--use-old-handlers is nil.
2069 (disassemble-offset): Handle new bytecodes.
2070
328a8179
SM
20712013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * subr.el (error): Use `declare'.
2074 (decode-char, encode-char): Use advertised-calling-convention instead
2075 of the docstring to discourage use of the `restriction' arg.
2076
15a1e936
DU
20772013-10-03 Daiki Ueno <ueno@gnu.org>
2078
2079 * epg.el (epg-verify-file): Add a comment saying that it does not
2080 notify verification error as a return value nor a signal.
2081 (epg-verify-string): Ditto.
2082
376f862a
KR
20832013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2084
2085 * progmodes/compile.el (compilation-start): Try globbing the arg to
2086 `cd' (bug#15417).
2087
a2f93a5f
MA
20882013-10-02 Michael Albinus <michael.albinus@gmx.de>
2089
2090 Sync with Tramp 2.2.8.
2091
2092 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2093 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2094 * net/trampver.el: Update release number.
2095
0daa0804
JD
20962013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2097
2098 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2099 and default-process-coding-system for darwin only.
2100
abd1ae34
SM
21012013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2104
be4e325d
MH
21052013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2106
2107 * vc/vc-git.el (vc-git-grep): Disable pager.
2108
e9155c4a
DG
21092013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2110
494e898b
DG
2111 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2112 Use :url instead of :homepage, as per
2113 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2114
e9155c4a
DG
2115 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2116 non-nil, use `syntax-ppss' (Bug#15251).
2117
481a8e0f
RS
21182013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2119
be4e325d
MH
2120 * progmodes/octave.el (inferior-octave-startup-file):
2121 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2122
056453c6
DG
21232013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2124
be4e325d
MH
2125 * emacs-lisp/package.el (package-desc-from-define):
2126 Accept additional arguments as plist, convert them to an alist and store
2127 them in the `extras' slot.
056453c6
DG
2128 (package-generate-description-file): Convert extras alist back to
2129 plist and append to the `define-package' form arguments.
2130 (package--alist-to-plist): New function.
2131 (package--ac-desc): Add `extras' slot.
2132 (package--add-to-archive-contents): Check if the archive-contents
2133 vector is long enough, and if it is, pass its `extras' slot value
2134 to `package-desc-create'.
2135 (package-buffer-info): Call `lm-homepage', pass the returned value
2136 to `package-desc-from-define'.
2137 (describe-package-1): Render the homepage button (Bug#13291).
2138
be4e325d
MH
2139 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2140 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2141
832966e5
JD
21422013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2143
2144 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2145 and default-process-coding-system to utf-8-unix (Bug#15402).
2146
6cfe977d
XF
21472013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2148
2149 * subr.el (looking-back): Do not recommend using looking-back.
2150
38de11bd
AM
21512013-09-28 Alan Mackenzie <acm@muc.de>
2152
2153 Fix indentation/fontification of Java enum with "implements".
2154
2155 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2156 regexp which matches "implements", etc., in Java.
2157 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2158 specifier clauses coming after "enum".
2159 * progmodes/cc-fonts.el (c-font-lock-declarations)
2160 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2161 after "enum".
2162
1610938f
JD
21632013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2164
2165 * faces.el (region): Change ns_selection_color to
2166 ns_selection_fg_color, add ns_selection_bg_color.
2167
e090f499
LL
21682013-09-28 Leo Liu <sdl.web@gmail.com>
2169
4d2e94d1
LL
2170 * progmodes/octave.el (inferior-octave-completion-table)
2171 (inferior-octave-completion-at-point): Minor tweaks.
2172
e090f499
LL
2173 * textmodes/ispell.el (ispell-lookup-words): Rename from
2174 lookup-words. (Bug#15460)
2175 (lookup-words): Obsolete.
2176 (ispell-complete-word, ispell-command-loop): All uses changed.
2177
7e138a62
RS
21782013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2179
2180 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2181 (octave-mode-menu): Add octave-send-buffer.
2182 (octave-send-buffer): New function.
2183
5af5ed08
RS
21842013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2185
2186 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2187 octave-lookfor.
2188 (octave-mode-menu): Add octave-lookfor.
2189 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2190 octave-lookfor.
2191 (octave-lookfor): New function.
2192
3b7b2692
SM
21932013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * emacs-lisp/cl-macs.el:
2196 (cl--loop-destr-temps): Remove.
2197 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2198 its convention.
2199 (cl--loop-set-iterator-function): New function.
2200 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2201 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2202 Bind `it' with `let' instead of substituting it with `cl-subst'.
2203 (cl--unused-var-p): New function.
2204 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2205 Eliminate some unused variable warnings (bug#15326).
2206
529fb53f
TH
22072013-09-27 Tassilo Horn <tsdh@gnu.org>
2208
2209 * doc-view.el (doc-view-scale-reset): Rename from
2210 `doc-view-reset-zoom-level'.
2211 (doc-view-scale-adjust): New command.
2212 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2213 `doc-view-scale-adjust'.
2214
0550c95a
TH
22152013-09-26 Tassilo Horn <tsdh@gnu.org>
2216
2217 * doc-view.el (doc-view-reset-zoom-level): New command.
2218 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2219 zoom commands (bug#15466).
2220
6950f152
KH
22212013-09-26 Kenichi Handa <handa@gnu.org>
2222
2223 * international/quail.el (quail-help): Make it not a command.
2224
39587580
LL
22252013-09-26 Leo Liu <sdl.web@gmail.com>
2226
2227 * minibuffer.el (completion-all-sorted-completions): Make args
2228 optional as they are.
2229
00578659
DC
22302013-09-25 Daniel Colascione <dancol@dancol.org>
2231
2232 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2233 specs are and that they're not evaluated.
2234
0c173878
SS
22352013-09-24 Sam Steingold <sds@gnu.org>
2236
2237 * midnight.el (clean-buffer-list-kill-regexps)
2238 (clean-buffer-list-kill-buffer-names): Update for the new Man
2239 buffer naming which includes the object name.
2240
84998447
SM
22412013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2244 (eshell-parse-command, eshell-parse-pipeline): Use it since
2245 eshell-separate-commands requires a dynamic scoped var.
2246 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2247
33215353
LL
22482013-09-23 Leo Liu <sdl.web@gmail.com>
2249
2250 * autoinsert.el (auto-insert-alist): Make the value of
2251 lexical-binding match its file setting.
2252
57b16162
JB
22532013-09-23 Juanma Barranquero <lekktu@gmail.com>
2254
c8af4e67
JB
2255 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2256
57b16162
JB
2257 * autoarg.el (autoarg-kp-digit-argument):
2258 * electric.el (Electric-command-loop):
2259 * kmacro.el (kmacro-step-edit-insert):
2260 Do not set universal-argument-num-events.
2261
7186ba60
LL
22622013-09-22 Leo Liu <sdl.web@gmail.com>
2263
2264 * files.el (interpreter-mode-alist): Add octave.
2265
ece15004
AM
22662013-09-21 Alan Mackenzie <acm@muc.de>
2267
2268 C++: fontify identifier in declaration following "public:" correctly.
2269 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2270 to match "public", etc.
2271 (c-decl-prefix-re): Add ":" into the C++ value.
2272 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2273 bit. Add a check for a ":" preceded by "public", etc.
2274
75d83e22
EZ
22752013-09-21 Eli Zaretskii <eliz@gnu.org>
2276
2277 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2278 recognized by GDB 7.5 and later.
2279
d052d3bd
XF
22802013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2281
2282 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2283
31dca772
R
22842013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * subr.el (internal--call-interactively): New const.
2287 (called-interactively-p): Use it (bug#3984).
2288
98ccf24e
XF
22892013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2290
2291 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2292 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2293 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2294
c39cc7d1
SM
22952013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2298 (eshell-ls-orig-insert-directory): Remove.
2299 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2300 (eshell-ls-use-in-dired): Use advice-add/remove.
2301 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2302 Add `orig-fun' arg for use in :around advice.
2303 Make it check (redundantly) eshell-ls-use-in-dired.
2304
9a0289a2
GM
23052013-09-19 Glenn Morris <rgm@gnu.org>
2306
a2c501b8
GM
2307 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2308
c440407a
GM
2309 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2310
9a0289a2
GM
2311 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2312
85e05915
MA
23132013-09-19 Michael Albinus <michael.albinus@gmx.de>
2314
2315 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2316 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2317 (tramp-get-remote-python): New defuns.
2318 (tramp-get-remote-uid-with-perl)
2319 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2320 contributed by yary <not.com@gmail.com> (tiny change).
2321 (tramp-get-remote-uid-with-python)
2322 (tramp-get-remote-gid-with-python): New defuns. Python code
2323 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2324 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2325
ce503312
GM
23262013-09-19 Glenn Morris <rgm@gnu.org>
2327
f7544773
GM
2328 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2329
72fd2877
GM
2330 * eshell/em-unix.el (eshell-remove-entries):
2331 Rename argument to avoid name-clash with global `top-level'.
2332
336b5a56
GM
2333 * eshell/esh-proc.el (eshell-kill-process-function):
2334 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2335 (eshell-reset-after-proc): Remove unused arg `proc'.
2336
57a3a53d
GM
2337 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2338 (directory-files-and-attributes): Mark unused arg.
2339
3261d4af
GM
2340 * eshell/em-unix.el (eshell-remove-entries):
2341 Remove unused arg `path'. Update callers.
2342
8e51b5d0
GM
2343 * eshell/em-hist.el (eshell-hist-parse-arguments):
2344 Remove unused arg `silent'. Update callers.
2345
ce503312
GM
2346 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2347 Fix (f)boundp mix-up.
2348
2349 * eshell/em-smart.el (eshell-smart-scroll-window)
2350 (eshell-disable-after-change):
336b5a56 2351 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2352
ee3ce8a7
AM
23532013-09-18 Alan Mackenzie <acm@muc.de>
2354
2355 Fix fontification of type when followed by "const".
2356 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2357 "known" types from fontification.
2358
ec9177ba
GM
23592013-09-18 Glenn Morris <rgm@gnu.org>
2360
7bb3e768
GM
2361 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2362 (chart-face-list): Drop Emacsen without display-color-p.
2363
5148da15
GM
2364 * net/eww.el (libxml-parse-html-region): Declare.
2365 (eww-display-html): Explicit error if no libxml2 support.
2366
2f68e157
GM
2367 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2368
9019d095
GM
2369 * image.el (image-type-from-buffer, image-multi-frame-p):
2370 Remove --without-x warning/error.
67645389 2371
5f30349b 2372 * mouse.el (mouse-yank-primary):
45069b2e 2373 * term.el (term-mouse-paste):
5f30349b
GM
2374 Reorder to silence --without-x compilation.
2375
cd8edbbe
GM
2376 * mpc.el (doc-view-mode): Silence --without-x compilation.
2377
8a78544e
GM
2378 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2379 Silence --without-x compilation.
2380
12679bfd
GM
2381 * progmodes/gud.el (gud-find-file, gud-mode):
2382 Silence --without-x compilation.
2383 (tooltip-mode): Declare.
30810a05 2384
f0047cb9
GM
2385 * wdired.el (dired-backup-overwrite): Remove declaration.
2386 (wdired-mode-map): Add doc string.
2387
e740f9d2
GM
2388 * custom.el (x-get-resource): Declare.
2389
92d77c89
GM
2390 * eshell/em-glob.el (ange-cache):
2391 * eshell/em-unix.el (ange-cache): Declare.
2392
76e69577
GM
2393 * faces.el (x-display-list, x-open-connection, x-get-resource):
2394 Declare.
7e58af4b
GM
2395
2396 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2397 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2398 Declare.
76e69577 2399
4bd4c0af 2400 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2401
ffb82dbd
GM
2402 * net/gnutls.el (gnutls-log-level): Declare.
2403
986ed135
GM
2404 * net/shr.el (image-size, image-animate): Declare.
2405
e740f9d2
GM
2406 * simple.el (font-info): Declare.
2407
d2f3e9f8
GM
2408 * subr.el (x-popup-dialog): Declare.
2409
047a1a4c
GM
2410 * term/common-win.el (x-select-enable-primary)
2411 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2412 Declare.
2413
f4a1d572
GM
2414 * term/ns-win.el (x-handle-args): Declare.
2415
e843de77
GM
2416 * term/x-win.el (x-select-enable-clipboard): Declare.
2417
5fa89513
GM
2418 * term/w32-win.el (create-default-fontset): Declare.
2419
38702b5b
GM
2420 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2421 Declare.
2422
e740f9d2
GM
2423 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2424 (fit-frame-to-buffer): Explicit error if --without-x.
2425 (mouse-autoselect-window-select): Silence compiler.
2426
49a053fc
GM
2427 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2428
2429 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2430 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2431 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2432 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2433 Remove unused local variables.
2434
2435 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2436
ec9177ba
GM
2437 * textmodes/two-column.el: Make 2C-split work for --without-x.
2438 (scroll-bar-columns): Autoload.
2439 (top-level): Require fringe when compiling.
2440
9f25cb77
LL
24412013-09-18 Leo Liu <sdl.web@gmail.com>
2442
2443 * subr.el (add-hook): Robustify to handle closure as well.
2444
2b42da98
GM
24452013-09-17 Glenn Morris <rgm@gnu.org>
2446
2447 * simple.el (messages-buffer-mode-map): Unbind "g".
2448
e8b66a6a
SM
24492013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2450
9c0ad4f7
SM
2451 * help-mode.el (help-mode-finish): Use derived-mode-p.
2452 Remove obsolete highlighting.
2453
7a806dfb
SM
2454 * play/life.el (life-mode): Use define-derived-mode. Derive from
2455 special-mode.
2456 (life): Let-bind inhibit-read-only.
2457 (life-setup): Avoid `setq'. Use `life-mode'.
2458
96dbf5a8
SM
2459 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2460 which should not be needed any more.
2461 (package-menu-refresh, package-menu-describe-package): Use user-error.
2462
e8b66a6a
SM
2463 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2464 (eshell-post-rewrite-command-hook): Make obsolete.
2465 (eshell-parse-command): Simplify.
2466 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2467 (eshell--cmd): Declare.
2468 (eshell-parse-pipeline): Remove unused var `final-p'.
2469 Pass a dynvar to eshell-post-rewrite-command-hook.
2470 Implement the new eshell-post-rewrite-command-function.
2471 (eshell-invoke-directly): Remove unused arg `input'.
2472 * eshell/esh-io.el (eshell-io-initialize):
2473 Use eshell-post-rewrite-command-function (bug#15399).
2474 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2475 adjust to new calling convention.
2476 (eshell-create-handles): Rename args to avoid clashing with dynvar
2477 `standard-output'.
2478
90582f05
GM
24792013-09-17 Glenn Morris <rgm@gnu.org>
2480
2481 * simple.el (messages-buffer-mode): New major mode.
2482 (messages-buffer): New function.
2483 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2484 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2485 (ert-run-test): Use `messages-buffer' function.
90582f05 2486 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2487 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2488 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2489
39eb0cb5 24902013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2491
2492 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2493
1f1e06e2
SM
2494 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2495
70568a90
SM
24962013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2497
504a0381
SM
2498 * icomplete.el (icomplete-in-buffer): New var.
2499 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2500 vars and replace them with functions.
2501 (icomplete-minibuffer-setup): Adjust accordingly.
2502 (icomplete--completion-table, icomplete--completion-predicate)
2503 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2504 New functions.
2505 (icomplete-forward-completions, icomplete-backward-completions)
2506 (icomplete-simple-completing-p, icomplete-exhibit)
2507 (icomplete-completions): Use them.
2508 (icomplete--in-region-buffer): New var.
2509 (icomplete--in-region-setup): New function.
2510 (icomplete-mode): Use it.
2511
70568a90
SM
2512 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2513 (bug#15379).
2514 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2515 return args and options.
2516 (eshell-eval-using-options): Use the new return value of
2517 eshell--do-opts to set the options's vars in their scope.
2518 (eshell--set-option): Rename from eshell-set-option.
2519 Add arg `opt-vals'.
2520 (eshell--process-option): Rename from eshell-process-option.
2521 Add arg `opt-vals'.
2522 (eshell--process-args): Use an `opt-vals' alist to store the options's
2523 values during their processing and return them additionally to the
2524 remaining args.
2525
578c21bc
DG
25262013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2529 continuation character an operator, as far as indentation is
2530 concerned (Bug#15369).
2531
c089653d
MR
25322013-09-15 Martin Rudalics <rudalics@gmx.at>
2533
2534 * window.el (window--state-put-2): Don't process buffer state
2535 when buffer doesn't exist any more (Bug#15382).
2536
1e53bb4b
GM
25372013-09-15 Glenn Morris <rgm@gnu.org>
2538
30753242
GM
2539 * eshell/em-unix.el (eshell/rm):
2540 Make -f ignore missing files. (Bug#15373)
2541
1e53bb4b
GM
2542 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2543 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2544 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2545
0d8863b3
GM
25462013-09-14 Glenn Morris <rgm@gnu.org>
2547
2548 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2549
d3fc6549
GM
25502013-09-13 Glenn Morris <rgm@gnu.org>
2551
2552 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2553 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2554
fcd42c11
DA
25552013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2556
2557 * frame.el (x-focus-frame): Mark as declared in frame.c.
2558
7830899f
SM
25592013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * ls-lisp.el: Use advice-add.
2562 (original-insert-directory): Remove.
2563 (ls-lisp--insert-directory): Rename from insert-directory; add
2564 `orig-fun' argument.
2565 (insert-directory): Advise.
2566
84387cd2
EZ
25672013-09-13 Eli Zaretskii <eliz@gnu.org>
2568
2569 * term.el (term-emulate-terminal): Decode the command string
2570 before passing it to term-command-hook. (Bug#15337)
2571
35ffc6ba
GM
25722013-09-13 Glenn Morris <rgm@gnu.org>
2573
5c3f9bcc
GM
2574 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2575
2ada368a
GM
2576 * eshell/esh-ext.el (eshell-search-path): Declare.
2577
fcef2e13
GM
2578 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2579 Otherwise an error occurs if eshell-dirs module not loaded.
2580
35ffc6ba
GM
2581 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2582
35c3d36e
MA
25832013-09-13 Michael Albinus <michael.albinus@gmx.de>
2584
2585 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2586 `tramp-check-proper-host'. Check for a valid method name.
2587
2588 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2589 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2590 * net/tramp-sh.el (tramp-maybe-open-connection):
2591 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2592
2593 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2594 also for hash values.
2595
ae5e4c48
SM
25962013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2597
379add74
SM
2598 * term/ns-win.el (parameters): Don't declare as dynamic.
2599 (before-make-frame-hook): Don't add ineffective function.
2600
ae5e4c48
SM
2601 * eshell/*.el: Use lexical-binding (bug#15231).
2602
b5623270
KH
26032013-09-12 Kenichi Handa <handa@gnu.org>
2604
ae5e4c48 2605 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2606
30213927
GM
26072013-09-12 Glenn Morris <rgm@gnu.org>
2608
be94d713 2609 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2610 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2611
44915370
GM
2612 * subr.el (do-after-load-evaluation): Also give compiler warnings
2613 when obsolete files are used (except by obsolete files).
2614
a6ae021f
GM
2615 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2616 in the status output, assume `filename' is the first. (Bug#15322)
2617
40e64f0c
GM
2618 * vc/vc.el (vc-deduce-fileset): Doc fix.
2619
16d9f896
GM
2620 * calc/calc-help.el (Info-goto-node):
2621 * progmodes/cperl-mode.el (Info-find-node):
2622 * vc/ediff.el (Info-goto-node): Update declarations.
2623
dea01c6e
GM
2624 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2625
759880bf 2626 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2627 (vc-bzr-pull): Require vc-dispatcher.
2628 * vc/vc-git.el (vc-compilation-mode): Declare.
2629 (vc-git-pull): Require vc-dispatcher.
2630
08d66420
GM
2631 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2632
30b626e9
GM
2633 * progmodes/octave.el (help-button-action): Declare.
2634
8c05cb10
GM
2635 * shell.el (shell-directory-tracker): Output error as a message
2636 rather than just returning it as a string.
2637 (shell-process-pushd): Remove useless use of message.
2638
30213927
GM
2639 * dframe.el (dframe-timer-fn):
2640 * files.el (dir-locals-read-from-file):
2641 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2642 (mpc-format):
2643 * reveal.el (reveal-post-command):
2644 * saveplace.el (load-save-place-alist-from-file):
2645 * shell.el (shell-resync-dirs):
2646 * w32-common-fns.el (x-get-selection-value):
2647 * emacs-lisp/copyright.el (copyright-find-copyright):
2648 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2649 * emulation/tpu-edt.el (tpu-copy-keyfile):
2650 * play/bubbles.el (bubbles--mark-neighbourhood):
2651 * progmodes/executable.el
2652 (executable-make-buffer-file-executable-if-script-p):
2653 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2654
d3b049e6
SM
26552013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2656
170266d0
SM
2657 Cleanup Eshell to rely less on dynamic scoping.
2658 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2659 last-value, and ext-command here. Bind `args' closer to `body'.
2660 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2661 (eshell--args): Declare new dynamic var.
2662 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2663 last-value, and ext-command. Pass `args' to `body'.
2664 (eshell-process-args): Bind eshell--args.
2665 (eshell-set-option): Use eshell--args.
2666 * eshell/eshell.el (eshell): Use derived-mode-p.
2667 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2668 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2669 (eshell-glob-function): Declare.
2670 * eshell/esh-util.el: Require cl-lib.
2671 (eshell-read-hosts-file): Avoid add-to-list.
2672 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2673 `err'.
2674 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2675 Declare.
2676 (eshell/diff): Remove unused var `err'.
2677 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2678 `killflag'.
2679 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2680 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2681 first use.
2682 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2683 Move declaration before first use.
2684 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2685 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2686 rely on cl-return.
2687
56834f3b
GM
26882013-09-12 Glenn Morris <rgm@gnu.org>
2689
2690 * term/ns-win.el (global-map): Remove binding for ispell-next,
2691 deleted 1999-05-29. (Bug#15357)
2692
5c91a2b8
GM
26932013-09-11 Glenn Morris <rgm@gnu.org>
2694
da712f22
GM
2695 * echistory.el (electric-command-history): Remove call to deleted func.
2696
512e4cdc
GM
2697 * play/landmark.el (landmark-mode): Fix typos.
2698
d3506ca5
GM
2699 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2700 Check cvs-sort-ignore-file is bound.
2701
5c91a2b8
GM
2702 * savehist.el: No need for cl when compiling on Emacs.
2703
feeff482
SM
27042013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2705
656bd483
SM
2706 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2707 (bug#15338).
d3b049e6
SM
2708 (eshell-self-insert-command, eshell-send-invisible):
2709 Remove unused argument.
656bd483
SM
2710 (eshell-handle-control-codes): Remove unused var `orig'.
2711 Avoid delete-backward-char.
2712
feeff482
SM
2713 * files.el (set-auto-mode): Simplify a bit further.
2714
2a08047a
GM
27152013-09-11 Glenn Morris <rgm@gnu.org>
2716
2717 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2718 (set-auto-mode): Don't regexp-quote elements.
2719 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2720 * progmodes/cc-mode.el (interpreter-mode-alist):
2721 * progmodes/ruby-mode.el (interpreter-mode-alist):
2722 Revert previous change.
2723
34675540
SM
27242013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2725
1b3b87df
SM
2726 * play/snake.el (snake-mode):
2727 * play/mpuz.el (mpuz-mode):
2728 * play/landmark.el (lm-mode):
2729 * play/blackbox.el (blackbox-mode):
2730 * play/5x5.el (5x5-mode):
2731 * obsolete/options.el (Edit-options-mode):
2732 * net/quickurl.el (quickurl-list-mode):
2733 * net/newst-treeview.el (newsticker-treeview-mode):
2734 * mail/rmailsum.el (rmail-summary-mode):
2735 * mail/mspools.el (mspools-mode):
2736 * locate.el (locate-mode):
2737 * ibuffer.el (ibuffer-mode):
2738 * emulation/ws-mode.el (wordstar-mode):
2739 * emacs-lisp/debug.el (debugger-mode):
2740 * array.el (array-mode):
2741 * net/eudc.el (eudc-mode): Use define-derived-mode.
2742 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2743 Move initialization into declaration.
2744 (mairix-searches-mode): Use define-derived-mode.
2745 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2746 (eudc-edit-hotlist): Use dolist.
2747 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2748 (Man-mode): Use define-derived-mode.
2749 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2750 (Info-edit-mode): Use define-derived-mode.
2751 (Info-cease-edit): Use Info-mode.
2752 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2753 into declaration.
2754 (eshell-mode): Use define-derived-mode.
2755 * chistory.el (command-history-mode-map): Rename from
2756 command-history-map.
2757 (command-history-mode): Use define-derived-mode.
da712f22 2758 (Command-history-setup): Remove function.
1b3b87df
SM
2759 * calc/calc.el (calc-trail-mode-map): New var.
2760 (calc-trail-mode): Use define-derived-mode.
2761 (calc-trail-buffer): Set calc-main-buffer manually.
2762 * bookmark.el (bookmark-insert-annotation): New function.
2763 (bookmark-edit-annotation): Use it.
2764 (bookmark-edit-annotation-mode): Make it a proper major mode.
2765 (bookmark-send-edited-annotation): Use derived-mode-p.
2766 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2767 closer to its ideal place. Use \' to match EOS.
2768
34675540
SM
2769 * profiler.el (profiler-calltree-find): Use function-equal.
2770
6a5c15d9
GM
27712013-09-10 Glenn Morris <rgm@gnu.org>
2772
1af4c220
GM
2773 * files.el (interpreter-mode-alist): Convert to regexps.
2774 (set-auto-mode): Adapt for this. (Bug#15306)
2775 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2776 Comment out unused variable.
2777 * progmodes/cc-mode.el (interpreter-mode-alist):
2778 * progmodes/python.el (interpreter-mode-alist):
2779 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2780 * progmodes/sh-script.el (sh-set-shell):
2781 No longer use interpreter-mode-alist to get list of shells.
2782
6a5c15d9
GM
2783 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2784
8c27f5ff
SM
27852013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2786
02ef6c1a 2787 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2788 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2789 Bind switch-frame explicitly. Replace universal-argument-minus with
2790 a conditional binding.
2791 (universal-argument-num-events, saved-overriding-map): Remove.
2792 (restore-overriding-map): Remove.
2793 (universal-argument--mode): Rename from save&set-overriding-map,
2794 and rewrite.
2795 (universal-argument, universal-argument-more, negative-argument)
2796 (digit-argument): Adjust accordingly.
2797 (universal-argument-minus): Remove.
2798 (universal-argument-other-key): Remove.
2799
8c27f5ff
SM
2800 * subr.el (with-demoted-errors): Add `format' argument.
2801
6480194c
MA
28022013-09-10 Michael Albinus <michael.albinus@gmx.de>
2803
2804 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2805 `tramp-cleanup-connection'.
2806
2807 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2808 parameters KEEP-DEBUG and KEEP-PASSWORD.
2809
2810 * net/tramp.el (tramp-file-name-handler):
2811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2812 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2813 (tramp-maybe-open-connection):
8c27f5ff
SM
2814 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2815 Use `tramp-cleanup-connection'.
6480194c 2816
8c27f5ff
SM
2817 * net/tramp-sh.el (tramp-maybe-open-connection):
2818 Catch 'uname-changed inside the progress reporter.
6480194c 2819
e5e916d8
GM
28202013-09-10 Glenn Morris <rgm@gnu.org>
2821
9a2c9b47
GM
2822 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2823
e5e916d8
GM
2824 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2825 returns "alternate access method" in mode (eg "-rw-r--r--.").
2826
144e38fe
GM
28272013-09-08 Glenn Morris <rgm@gnu.org>
2828
2829 * saveplace.el (load-save-place-alist-from-file):
2830 Demote errors. (Bug#15305)
2831
af9ff9e8
MA
28322013-09-08 Michael Albinus <michael.albinus@gmx.de>
2833
2834 Improve compatibility with older Emacsen, and XEmacs.
2835
2836 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2837 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2838 (with-tramp-progress-reporter): Do not let-bind `result'.
2839 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2840 (tramp-handle-make-auto-save-file-name): New function, moved from
2841 tramp-sh.el.
2842
2843 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2844 for `make-auto-save-file-name'.
8c27f5ff
SM
2845 (tramp-adb--gnu-switches-to-ash):
2846 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2847
2848 * net/tramp-cache.el (tramp-cache-print): Call
2849 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2850
2851 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2852 bound. It isn't for XEmacs.
2853
8c27f5ff
SM
2854 * net/tramp-compat.el (tramp-compat-copy-file):
2855 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2856 (tramp-compat-replace-regexp-in-string): New defun.
2857
2858 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2859 for `make-auto-save-file-name'.
2860 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2861 `copy-file'.
2862 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2863 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2864 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2865
8c27f5ff
SM
2866 * net/tramp-gw.el (tramp-gw-open-network-stream):
2867 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2868
8c27f5ff
SM
2869 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2870 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2871 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2872 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2873 (tramp-sh-file-inotifywait-process-filter):
2874 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2875 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2876
2877 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2878 for `make-auto-save-file-name'.
8c27f5ff
SM
2879 (tramp-smb-handle-copy-directory):
2880 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2881 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2882 (tramp-smb-handle-copy-file): Improve error message.
2883 (tramp-smb-handle-rename-file): Rename directly only in case
2884 `newname' does not exist yet. This is a restriction of smbclient.
2885 (tramp-smb-maybe-open-connection): Rerun the function only when
2886 `auth-sources' is non-nil.
2887
0ca754d0
KH
28882013-09-08 Kenichi Handa <handa@gnu.org>
2889
2890 * international/characters.el: Set category "^" (Combining) for
2891 more characters.
2892
e8dd0787
AM
28932013-09-07 Alan Mackenzie <acm@muc.de>
2894
2895 Correctly fontify Java class constructors.
2896 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2897 in Java Mode.
2898 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2899 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2900 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2901 "typeless" declaration there.
2902
f2f248e7
RW
29032013-09-07 Roland Winkler <winkler@gnu.org>
2904
2905 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2906 field subtitle for entry type book.
2907
67982e2b
SM
29082013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * minibuffer.el: Make minibuffer-complete call completion-in-region
2911 rather than other way around.
2912 (completion--some, completion-pcm--find-all-completions):
2913 Don't delay signals when debugging.
2914 (minibuffer-completion-contents): Beware fields within the
2915 minibuffer contents.
2916 (completion-all-sorted-completions): Use defvar-local.
2917 (completion--do-completion, completion--cache-all-sorted-completions)
2918 (completion-all-sorted-completions, minibuffer-force-complete):
2919 Add args `beg' and `end'.
2920 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2921 (minibuffer-complete): Use completion-in-region.
2922 (completion-complete-and-exit): New fun, extracted from
2923 minibuffer-complete-and-exit.
2924 (minibuffer-complete-and-exit): Use it.
2925 (completion--complete-and-exit): Rename from
2926 minibuffer--complete-and-exit.
2927 (completion-in-region--single-word): New function, extracted from
2928 minibuffer-complete-word.
2929 (minibuffer-complete-word): Use it.
2930 (display-completion-list): Make `common-substring' argument obsolete.
2931 (completion--in-region): Call completion--in-region-1 instead of
2932 minibuffer-complete.
2933 (completion-help-at-point): Pass boundaries to
2934 minibuffer-completion-help as args rather than via an overlay.
2935 (completion-pcm--string->pattern): Use `any-delim'.
2936 (completion-pcm--optimize-pattern): New function.
2937 (completion-pcm--pattern->regex): Handle `any-delim'.
2938 * icomplete.el (icomplete-forward-completions)
2939 (icomplete-backward-completions, icomplete-completions):
2940 Adjust calls to completion-all-sorted-completions and
2941 completion--cache-all-sorted-completions.
2942 (icomplete-with-completion-tables): Default to t.
2943 * emacs-lisp/crm.el (crm--current-element): Rename from
2944 crm--select-current-element. Don't put an overlay but return the
2945 boundaries instead.
2946 (crm--completion-command): Take two new args to bind to the boundaries.
2947 (crm-completion-help): Adjust accordingly.
2948 (crm-complete): Use completion-in-region.
2949 (crm-complete-word): Use completion-in-region--single-word.
2950 (crm-complete-and-exit): Use completion-complete-and-exit.
2951
e17d94a5
SM
29522013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2955 than dynamically.
2956
96727100
JL
29572013-09-06 Juri Linkov <juri@jurta.org>
2958
2959 * info.el (Info-display-images-node): When image file doesn't exist
2960 display text version of the image if it's provided in the Info file.
2961 Otherwise, display the location of missing image from SRC attribute.
2962 Add help-echo text property from ALT attribute. (Bug#15279)
2963
86cf7329
SM
29642013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2967 (edit-abbrevs-mode): Use define-derived-mode.
2968
2969 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2970 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2971 that it's defined.
2972 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2973 Use define-derived-mode.
2974
2975 * epg.el (epg-start-encrypt): Minor CSE simplification.
2976
816244a2
WX
29772013-09-06 William Xu <william.xwl@gmail.com>
2978
2979 * arc-mode.el: Add support for 7za (bug#15264).
2980 (archive-7z-program): New var.
2981 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2982 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2983 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2984
1486fa31
MA
29852013-09-06 Michael Albinus <michael.albinus@gmx.de>
2986
2987 Remove URL syntax.
2988
2989 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2990 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2991 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2992 (tramp-postfix-host-format, tramp-file-name-regexp)
2993 (tramp-completion-file-name-regexp)
2994 (tramp-completion-dissect-file-name)
2995 (tramp-handle-substitute-in-file-name): Remove 'url case.
2996 (tramp-file-name-regexp-url)
2997 (tramp-completion-file-name-regexp-url): Remove constants.
2998
39785324
GM
29992013-09-06 Glenn Morris <rgm@gnu.org>
3000
3001 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3002
1f896cb7
DG
30032013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3004
3005 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3006 keywords" below "here-doc beginnings" (Bug#15270).
3007
c0458e0b
SM
30082013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * subr.el (pop): Use `car-safe'.
3011 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3012 to detect unused `pop' return value.
3013
3014 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3015 var `block-regexp'.
3016 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3017 (python-fill-string): Remove unused var `marker'.
3018 (python-skeleton-add-menu-items): Remove unused var `items'.
3019
3020 * international/mule-cmds.el: Require CL.
3021 (find-coding-systems-for-charsets): Avoid add-to-list.
3022 (sanitize-coding-system-list): New function, extracted from
3023 select-safe-coding-system-interactively.
3024 (select-safe-coding-system-interactively): Use it.
3025 (read-input-method-name): Accept symbols for `default'.
3026
3027 * emacs-lisp/advice.el (defadvice): Add indent rule.
3028
6c42fc3e
DH
30292013-09-05 Daniel Hackney <dan@haxney.org>
3030
3031 * dired-x.el:
3032 * net/ange-ftp.el:
3033 * net/browse-url.el:
3034 * net/dbus.el:
3035 * net/eudc.el:
3036 * net/eudcb-ldap.el:
3037 * net/eww.el:
3038 * net/imap.el:
3039 * printing.el:
3040 * vc/ediff-diff.el:
3041 * vc/ediff-init.el:
3042 * vc/ediff-merg.el:
3043 * vc/ediff-mult.el:
3044 * vc/ediff-util.el:
3045 * vc/ediff-wind.el:
3046 * vc/ediff.el:
3047 * vc/emerge.el:
3048 * vc/pcvs.el:
3049 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3050 byte compiler. Remove some unused let-bound variables.
3051
4c528aab
SM
30522013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3055 a "ref-cell", since it gets better optimized (bug#14883).
3056
bd15c390
GM
30572013-09-05 Glenn Morris <rgm@gnu.org>
3058
3059 * progmodes/cc-awk.el (c-forward-sws): Declare.
3060
1c3ac2e5
GM
30612013-09-04 Glenn Morris <rgm@gnu.org>
3062
3063 * generic-x.el [rul-generic-mode]: Require cc-mode.
3064 (c++-mode-syntax-table): Declare.
3065 (rul-generic-mode-syntax-table): Init in the defvar.
3066
52b1cc79
SM
30672013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3068
c828af56
SM
3069 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3070 (vc-do-command, vc-set-async-update):
3071 * vc/vc-mtn.el (vc-mtn-dir-status):
3072 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3073 (vc-hg-pull, vc-hg-merge-branch):
3074 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3075 (vc-git-merge-branch):
3076 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3077 (vc-cvs-dir-status-files):
3078 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3079 (vc-bzr-dir-status-files):
3080 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3081 * vc/vc-annotate.el: Use lexical-binding.
3082 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3083 (vc-sentinel-movepoint): Declare.
3084 (vc-annotate): Don't use `goto-line'.
3085 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3086 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3087 (vc-sentinel-movepoint): Declare.
3088 * vc/vc-svn.el: Use lexical-binding.
3089 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3090 * vc/vc-sccs.el:
3091 * vc/vc-rcs.el: Use lexical-binding.
3092
abae272c
SM
3093 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3094 `deleted'. Don't drop errors silently.
3095
52b1cc79
SM
3096 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3097
63191d9f
XF
30982013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3099
3100 * vc/vc.el (vc-ignore): Rewrite.
3101 (vc-default-ignore): New function.
3102 (vc-default-ignore-completion-table): Use find-ignore-file.
3103
3104 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3105 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3106 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3107 Remove. Most code moved to vc.el.
3108
9d3f707c
SM
31092013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3110
abae272c 3111 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3112 * net/tramp-smb.el (tramp-smb-get-file-entries):
3113 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3114 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3115
fde38d49
SM
3116 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3117 Update call to it.
3118 (eww-change-select): Remove unused var `properties'.
3119 (eww-make-unique-file-name): Remove unused var `base'.
3120
3121 * finder.el (finder-compile-keywords): Don't mess with windows.
3122
84032db7
SM
3123 * calculator.el (calculator-funcall): Fix typo in last change.
3124
724f5e41
SM
3125 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3126
14b511d4
SM
3127 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3128 <pkg>-autoloads.el file stop us.
3129
9d3f707c 3130 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3131 warnings, and factor out common code.
9d3f707c 3132
88527bc0
DG
31332013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3134
3135 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3136 two-character operators and whether the character preceding them
3137 changes their meaning (Bug#15208).
3138
96edb677
FEG
31392013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3140
3141 Format code sent to Python shell for robustness.
9d3f707c
SM
3142 * progmodes/python.el (python-shell-buffer-substring):
3143 New function.
96edb677
FEG
3144 (python-shell-send-region, python-shell-send-buffer): Use it.
3145
95beaef3
MA
31462013-09-02 Michael Albinus <michael.albinus@gmx.de>
3147
3148 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3149 * net/tramp.el (tramp-user-error): ... here.
3150 (tramp-find-method, tramp-check-proper-host)
3151 (tramp-dissect-file-name, tramp-debug-message)
3152 (tramp-handle-shell-command):
3153 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3155
3156 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3157
f167c27b
MR
31582013-09-02 Martin Rudalics <rudalics@gmx.at>
3159
3160 * avoid.el (mouse-avoidance-point-position)
3161 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3162 returns nil.
3163
cd16c5f1
FEG
31642013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3165
3166 * progmodes/python.el (python-shell-completion-get-completions):
3167 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3168 (python-nav-if-name-main): New command.
cd16c5f1 3169
e73c3a0d
GM
31702013-09-01 Glenn Morris <rgm@gnu.org>
3171
f8ccce03
GM
3172 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3173 Avoid leading space in $wins. Otherwise the sed command used by
3174 eg compile-main ends up containing "/*.el". (Bug#15170)
3175
e73c3a0d
GM
3176 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3177
415f808e
GM
31782013-08-30 Glenn Morris <rgm@gnu.org>
3179
3180 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3181 Fix is-this-a-directory logic. (Bug#15220)
3182
f069bba8
SM
31832013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3184
112798c1
SM
3185 * textmodes/css-mode.el: Use SMIE.
3186 (css-smie-grammar): New var.
3187 (css-smie--forward-token, css-smie--backward-token)
3188 (css-smie-rules): New functions.
3189 (css-mode): Use them.
3190 (css-navigation-syntax-table): Remove var.
3191 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3192 (css-indent-calculate, css-indent-line): Remove functions.
3193
3194 Misc changes to reduce use of `(lambda...); and other cleanups.
3195 * cus-edit.el: Use lexical-binding.
3196 (customize-push-and-save, customize-apropos)
3197 (custom-buffer-create-internal): Use closures.
3198 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3199 * progmodes/ada-xref.el: Use setq.
3200 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3201 * dframe.el: Use lexical-binding.
3202 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3203 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3204 * descr-text.el: Use lexical-binding.
3205 (describe-text-widget, describe-text-sexp, describe-property-list):
3206 Use closures.
3207 * comint.el (comint-history-isearch-push-state): Use a closure.
3208 * calculator.el: Use lexical-binding.
3209 (calculator-number-to-string): Make it work with lexical-binding.
3210 (calculator-funcall): Same and use cl-letf.
3211
2da4c3ab
SM
3212 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3213 (lisp--company-doc-string, lisp--company-location): New functions.
3214 (lisp-completion-at-point): Use them to improve Company support.
3215
f069bba8
SM
3216 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3217 params of lambda expressions.
3218 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3219 (ruby-smie--opening-pipe-p): New function.
3220 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3221 symbols and matched |...| for formal params.
3222 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3223 from being treated as hanging. Handle "rescue".
3224
6758b6a8
GM
32252013-08-29 Glenn Morris <rgm@gnu.org>
3226
3227 * progmodes/cc-engine.el (c-pull-open-brace):
3228 Move definition before use.
3229
e8dfd197
SM
32302013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3233 are immutable. Don't use `unsafe' any more.
3234 (cl--defsubst-expand): Don't substitute at the same time as keeping
3235 a residual unused let-binding. Don't use `unsafe' any more.
3236
cc585c96
GM
32372013-08-29 Glenn Morris <rgm@gnu.org>
3238
ba579ea6
GM
3239 * calendar/cal-china.el (calendar-chinese-year-cache):
3240 Recenter on 2015.
3241
8201a87e
GM
3242 * nxml/nxml-util.el (nxml-debug-clear-inside):
3243 Use cl-loop rather than loop.
3244
6ee877c7
GM
3245 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3246
cc585c96
GM
3247 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3248
27be8d39
GM
32492013-08-28 Glenn Morris <rgm@gnu.org>
3250
397440a1
GM
3251 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3252
2bb762d4
GM
3253 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3254
27be8d39
GM
3255 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3256
2d69b99e
SM
32572013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3258
f663baa7
SM
3259 * simple.el (repeat-complex-command--called-interactively-skip):
3260 New function.
3261 (repeat-complex-command): Use it (bug#14136).
3262
dd4f8b74
SM
3263 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3264 (c-define-abbrev-table): Add `doc' argument.
3265 (c-mode-abbrev-table, c++-mode-abbrev-table)
3266 (objc-mode-abbrev-table, java-mode-abbrev-table)
3267 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3268 (awk-mode-abbrev-table): Use it.
3269 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3270 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3271 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3272 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3273 Move initialization into the declaration; and remove any
3274 autoload cookie.
3275
b58969f7
SM
3276 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3277 and dynamic let binding.
3278
4021d6a6
SM
3279 * vc/smerge-mode.el: Remove redundant :group args.
3280
2d69b99e
SM
3281 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3282 to load-path.
3283
274919fd
JL
32842013-08-28 Juri Linkov <juri@jurta.org>
3285
3286 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3287 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3288 (isearch-other-meta-char): Handle an undefined shifted printing
3289 character by downshifting it. (Bug#15200)
3290
121f8c95
JL
32912013-08-28 Juri Linkov <juri@jurta.org>
3292
3293 * isearch.el (isearch-search): Change regexp error message for
3294 non-regexp searches. (Bug#15166)
3295
50b13cde
PE
32962013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3297
3298 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3299 for portability to hosts where /bin/sh has problems.
3300
95888bca
SM
33012013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3304
bbe558f1
JL
33052013-08-27 Juri Linkov <juri@jurta.org>
3306
3307 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3308 in the keyboard macro. (Bug#15126)
3309
26f98a7d
JL
33102013-08-27 Juri Linkov <juri@jurta.org>
3311
3312 * isearch.el (isearch-quote-char): Comment out converting unibyte
3313 to multibyte, thus syncing with its `quoted-insert' counterpart.
3314 (Bug#15166)
3315
7c97d35e
MR
33162013-08-27 Martin Rudalics <rudalics@gmx.at>
3317
3318 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3319 argument in call of get-largest-window (Bug#15185).
3320 Reported by Stephen Leake.
7c97d35e 3321
a0b5606e 33222013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3323
3324 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3325
9e89d835
SM
33262013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3329 from a matcher-function unless there's no more matches (bug#15161).
3330
78fc2530
MA
33312013-08-26 Michael Albinus <michael.albinus@gmx.de>
3332
3333 * minibuffer.el: Revert change from 2013-08-20.
3334
3335 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3336 with text property `tramp-default', if appropriate.
3337 (tramp-check-proper-host): New defun.
3338 (tramp-dissect-file-name): Do not check hostname. Revert change
3339 of 2013-03-18.
3340 (tramp-backtrace): Make VEC-OR-PROC optional.
3341
3342 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3343 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3344 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3345 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3346 Apply `tramp-check-proper-host'.
78fc2530 3347
edca97cd
TH
33482013-08-26 Tassilo Horn <tsdh@gnu.org>
3349
3350 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3351 lambda expression in order to have `describe-variable' display it.
3352
df54bcbd
MA
33532013-08-26 Michael Albinus <michael.albinus@gmx.de>
3354
3355 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3356 BUF can be optional. (Bug#15186)
3357
eed99101
XF
33582013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3359
3360 * progmodes/flymake.el (flymake-get-real-file-name-function):
3361 Fix broken customization. (Bug#15184)
3362
b5eb9035
AM
33632013-08-25 Alan Mackenzie <acm@muc.de>
3364
8a51e842
AM
3365 Improve indentation of bracelists defined by macros (without "=").
3366
3367 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3368 expansion begins with "{", regard it as bracelist when it doesn't
3369 contain a ";".
3370
869455d4
AM
3371 Parse C++ inher-intro when there's a template split over 2 lines.
3372
3373 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3374 rigorously the search for "class" etc. followed by ":".
3375
3376 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3377 random languages a regexp which never matches rather than nil.
3378
b5eb9035
AM
3379 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3380
3381 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3382 (c-awk-regexp-one-line-possibly-open-char-list-re)
3383 (c-awk-one-line-possibly-open-regexp-re)
3384 (c-awk-one-line-non-syn-ws*-re): Remove.
3385 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3386 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3387 (c-awk-space*-unclosed-regexp-/-re): New constants.
3388 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3389 aren't regexp delimiters.
3390
3391 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3392 handling for a rare situation in AWK Mode involving unterminated
3393 strings/regexps.
3394
61611d54
GM
33952013-08-23 Glenn Morris <rgm@gnu.org>
3396
2d85dc34
GM
3397 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3398
cb8d2612
GM
3399 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3400
bb35f42f
GM
3401 * files.el (create-file-buffer): If the result would begin with
3402 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3403
b9808e77
SM
34042013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3405
e3a66363
SM
3406 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3407 text-properties (bug#15155).
3408
b9808e77
SM
3409 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3410 exist any more.
3411 (calc-keypad-redraw): Remove unused var `pad'.
3412 (calc-keypad-press): Remove unused var `menu'.
3413
7fd5f65e
MR
34142013-08-23 Martin Rudalics <rudalics@gmx.at>
3415
b9808e77
SM
3416 * window.el (display-buffer-pop-up-frame):
3417 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3418 use it as the new frame's buffer (Bug#15133).
3419
8352b530
SM
34202013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * calendar/timeclock.el: Minor cleanups.
3423 (timeclock-ask-before-exiting, timeclock-use-display-time):
3424 Use `symbol'.
3425 (timeclock-modeline-display): Define as alias before the
3426 actual definition.
3427 (timeclock-mode-line-display): Use define-minor-mode.
3428 (timeclock-day-list-template): Make it a function, add an argument.
3429 (timeclock-day-list-required, timeclock-day-list-length)
3430 (timeclock-day-list-debt, timeclock-day-list-span)
3431 (timeclock-day-list-break): Adjust calls accordingly.
3432
9f7b1925
SM
34332013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3434
3435 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3436 Use read--expression so that completion works again.
3437
6e50e983
SS
34382013-08-21 Sam Steingold <sds@gnu.org>
3439
3440 Add rudimentary inferior shell interaction
3441 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3442 (sh-set-shell): Reset it.
9f7b1925
SM
3443 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3444 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3445
dbb0d350
SM
34462013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * align.el: Use lexical-binding.
3449 (align-region): Simplify accordingly.
3450
c88586a9
MA
34512013-08-20 Michael Albinus <michael.albinus@gmx.de>
3452
3453 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3454
3455 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3456 `non-essential' up.
3457
f95527c8
MA
34582013-08-17 Michael Albinus <michael.albinus@gmx.de>
3459
3460 * net/tramp.el:
3461 * net/tramp-adb.el:
3462 * net/tramp-cmds.el:
3463 * net/tramp-ftp.el:
3464 * net/tramp-gvfs.el:
3465 * net/tramp-gw.el:
3466 * net/tramp-sh.el: Don't wrap external variable declarations by
3467 `eval-when-compile'.
3468
4b5fe4ee
LMI
34692013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3470
3471 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3472 now that Emacs supports ImageMagick animations.
3473
13c366c9
MA
34742013-08-16 Michael Albinus <michael.albinus@gmx.de>
3475
3476 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3477 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3478
3dfc5cd6
MR
34792013-08-16 Martin Rudalics <rudalics@gmx.at>
3480
3481 * window.el (mouse-autoselect-window-select): Do autoselect when
3482 mouse pointer is on margin.
3483
4bbb4381
WP
34842013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3485
3486 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3487
3a2ddc2d
GM
34882013-08-16 Glenn Morris <rgm@gnu.org>
3489
e8bedf5a
GM
3490 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3491 Handle "Remote Directory" response of some clients. (Bug#15058)
3492
58c4682f
GM
3493 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3494 Tweak warning. (Bug#14926)
3495
57953f49
GM
3496 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3497 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3498
3a2ddc2d
GM
3499 * image-mode.el (image-mode-map): Add menu items to reverse,
3500 increase, decrease, reset animation speed.
3501 (image--set-speed, image-increase-speed, image-decrease-speed)
3502 (image-reverse-speed, image-reset-speed): New functions.
3503 (image-mode-map): Add bindings for speed commands.
3504
3505 * image.el (image-animate-get-speed, image-animate-set-speed):
3506 New functions.
3507 (image-animate-timeout): Respect image :speed property.
3508
10fa0ed3
SM
35092013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3512 previous line (bug#15101).
3513 (debugger-eval-expression, debugger-record-expression):
3514 Use read--expression (bug#15102).
3515
5d89d9d2
MA
35162013-08-15 Michael Albinus <michael.albinus@gmx.de>
3517
3518 Remove byte compiler warnings, visible when compiling with
3519 `byte-compile-force-lexical-warnings' set to t.
3520
3521 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3522 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3523 (tramp-handle-unhandled-file-name-directory)
3524 (tramp-handle-file-notify-add-watch, tramp-action-login)
3525 (tramp-action-succeed, tramp-action-permission-denied)
3526 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3527 arguments with "_".
3528
3529 * net/tramp-adb.el (tramp-adb-parse-device-names)
3530 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3531 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3532 (tramp-adb-handle-file-truename): Remove unused arguments.
3533
3534 * net/tramp-cache.el (tramp-flush-directory-property)
3535 (tramp-flush-connection-property, tramp-list-connections)
3536 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3537
10fa0ed3
SM
3538 * net/tramp-compat.el (tramp-compat-make-temp-file):
3539 Rename FILENAME to F.
5d89d9d2
MA
3540
3541 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3542 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3543 (tramp-zeroconf-parse-workstation-device-names)
3544 (tramp-zeroconf-parse-webdav-device-names)
3545 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3546
3547 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3548 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3549
3550 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3551 arguments.
3552 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3553 (tramp-sh-handle-insert-file-contents-literally)
3554 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3555 with "_".
3556 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3557 Remove unused variables.
3558
3559 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3560 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3561 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3562
3563 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3564 Make them a defconst.
3565 (tramp-uuencode-region): Remove unused variable.
3566
62f33bae
JB
35672013-08-14 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * frameset.el (frameset--prop-setter): New function.
3570 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3571 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3572 parameter was already set in FILTERED. Doc fix.
3573 (frameset--record-minibuffer-relationships): Allow saving a
3574 minibufferless frame without its corresponding minibuffer frame.
3575 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3576 frame, if the frame id matches.
3577 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3578 frames before orphaned ones.
3579 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3580
c660a885
MR
35812013-08-14 Martin Rudalics <rudalics@gmx.at>
3582
3583 * window.el (window-make-atom): Don't overwrite parameter
3584 already present.
3585 (display-buffer-in-atom-window): Handle special case where we
3586 split an already atomic window.
3587 (window--major-non-side-window, display-buffer-in-side-window)
3588 (window--side-check): Ignore minibuffer window when walking
3589 window tree.
3590 (window-deletable-p): Return 'frame only if no other frame uses
3591 our minibuffer window.
3592 (record-window-buffer): Run buffer-list-update-hook.
3593 (split-window): Make sure window--check-frame won't destroy an
3594 existing atomic window in case the new window gets nested
3595 inside.
3596 (display-buffer-at-bottom): Ignore minibuffer window when
3597 walking window tree. Don't split a side window.
3598 (pop-to-buffer): Don't set-buffer here, the select-window call
3599 should do that.
3600 (mouse-autoselect-window-select): Autoselect only if we are in the
3601 text portion of the window.
3602
8259030d
LMI
36032013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3604
21c58ae2
LMI
3605 * net/shr.el (shr-parse-image-data): New function to grab both the
3606 data itself and the Content-Type.
3607 (shr-put-image): Use it.
3608
3609 * net/eww.el (eww-display-image): Ditto.
3610
8259030d
LMI
3611 * image.el (image-content-type-suffixes): New variable.
3612
ad756449
FEG
36132013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3614
3615 * progmodes/python.el (python-imenu--build-tree)
3616 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3617
f73f4ce6
XF
36182013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3619
3620 * simple.el (backward-word): Mention the optional argument.
3621
1f585e65
SM
36222013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * frameset.el (frameset--make): Rename constructor from make-frameset.
3625 (frameset-p, frameset-valid-p): Don't autoload.
3626 (frameset-valid-p): Use normal accessors.
3627
af1c6c84
GM
36282013-08-13 Glenn Morris <rgm@gnu.org>
3629
55e47f95
GM
3630 * progmodes/compile.el (compile-command): Tweak example in doc.
3631 * obsolete/scribe.el (scribe-mode):
3632 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3633
f0024d8c
GM
3634 * mail/feedmail.el (feedmail-confirm-outgoing)
3635 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3636
3637 * cus-start.el (truncate-partial-width-windows): Fix type.
3638
3639 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3640
af1c6c84
GM
3641 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3642
5514cc4c
SM
36432013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * emacs-lisp/timer.el (timer--time-setter): New function.
3646 (timer--time): Use it as gv-setter.
3647
3648 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3649 setter is not a symbol.
3650
7997a2f1
GJ
36512013-08-12 Grégoire Jadi <daimrod@gmail.com>
3652
3653 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3654 if sending fails. This makes debugging easier.
3655
01f1a9ab
JB
36562013-08-12 Juanma Barranquero <lekktu@gmail.com>
3657
3658 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3659 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3660 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3661
594a4307
EZ
36622013-08-12 Eli Zaretskii <eliz@gnu.org>
3663
3664 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3665
7a22490f 36662013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3667
3668 * format.el (format-annotate-function):
3669 Handle read-only text properties in the source. (Bug#14887)
3670
3e41a054
LMI
36712013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3672
5514cc4c
SM
3673 * net/eww.el (eww-display-html): Ignore coding system errors.
3674 One web site uses "utf-8lias" as the coding system.
3e41a054 3675
7ec326db
JB
36762013-08-11 Juanma Barranquero <lekktu@gmail.com>
3677
3678 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3679
5660113b
JB
36802013-08-10 Juanma Barranquero <lekktu@gmail.com>
3681
9a4ebc74
JB
3682 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3683 (tutorial--detailed-help): Remove unused local variables.
3684 (tutorial--save-tutorial-to): Use ignore-errors.
3685 (help-with-tutorial): Use looking-at-p.
3686
3687 * view.el (view-buffer-other-window, view-buffer-other-frame):
3688 Mark unused arguments.
3689
3690 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3691 (woman-select-symbol-fonts, woman, woman-find-file)
3692 (woman-insert-file-contents, woman-non-underline-faces):
3693 Use string-match-p.
3694 (woman1-unquote): Move declaration.
3695
3696 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3697 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3698 argument. Remove unused local variable.
3699 (xml-parse-elem-type): Use string-match-p.
3700 (xml-substitute-numeric-entities): Use ignore-errors.
3701
45fdb482
JB
3702 * calculator.el (calculator): Mark unused argument.
3703 (calculator-paste, calculator-quit, calculator-integer-p):
3704 Use ignore-errors.
3705 (calculator-string-to-number, calculator-decimal, calculator-exp)
3706 (calculator-op-or-exp): Use string-match-p.
3707
3708 * dired.el (dired-buffer-more-recently-used-p): Declare.
3709 (dired-insert-set-properties, dired-insert-old-subdirs):
3710 Use ignore-errors.
3711
3712 * dired-aux.el (dired-compress): Use ignore-errors.
3713 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3714 (dired-do-async-shell-command, dired-do-shell-command)
3715 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3716 (dired-insert-subdir-validate): Use string-match-p.
3717 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3718 (dired-add-entry): Use string-match-p, looking-at-p.
3719 (dired-insert-subdir-newpos): Remove unused local variable.
3720
3721 * filenotify.el (file-notify-callback): Remove unused local variable.
3722
3723 * filesets.el (filesets-error): Mark unused argument.
3724 (filesets-which-command-p, filesets-filter-dir-names)
3725 (filesets-directory-files, filesets-get-external-viewer)
3726 (filesets-ingroup-get-data): Use string-match-p.
3727
3728 * find-file.el (ff-other-file-name, ff-other-file-name)
3729 (ff-find-the-other-file, ff-cc-hh-converter):
3730 Remove unused local variables.
3731 (ff-get-file-name): Use string-match-p.
3732 (ff-all-dirs-under): Use ignore-errors.
3733
3734 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3735 (follow-select-if-visible): Remove unused local variable.
3736
3737 * forms.el (read-file-filter): Move declaration.
3738 (forms--make-format, forms--make-parser, forms-insert-record):
3739 Quote function with #'.
3740 (forms--update): Use string-match-p. Quote function with #'.
3741
3742 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3743 (help-make-xrefs): Use looking-at-p.
3744 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3745
3746 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3747 (ibuffer-confirm-operation-on): Use string-match-p.
3748
3749 * msb.el (msb-item-handler, msb-dired-item-handler):
3750 Mark unused arguments.
3751
3752 * ses.el (ses-decode-cell-symbol)
3753 (ses-kill-override): Remove unused local variable.
3754 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3755 (ses-load): Use ignore-errors, looking-at-p.
3756 (ses-jump-safe): Use ignore-errors.
3757 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3758
3759 * tabify.el (untabify, tabify): Mark unused arguments.
3760
3761 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3762 Mark unused argument.
3763 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3764 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3765
c880af52
JB
3766 * emacs-lisp/timer.el (timer--time): Define setter with
3767 gv-define-setter to avoid deprecation warning.
3768
5660113b 3769 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3770 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3771 (cmpl-statistics-block): Remove (body was commented out).
3772 All callers changed.
3773 (add-completions-from-buffer, load-completions-from-file):
3774 Remove unused variables.
3775
156aab80
JB
37762013-08-09 Juanma Barranquero <lekktu@gmail.com>
3777
5c5dee78
JB
3778 * filecache.el (file-cache-delete-file-list):
3779 Print message only when told so.
3780 (file-cache-files-matching): Use #' in mapconcat argument.
3781
156aab80
JB
3782 * ffap.el (ffap-url-at-point): Fix reference to variable
3783 thing-at-point-default-mail-uri-scheme.
3784
ad9dcd70
SM
37852013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3786
54bd972f
SM
3787 * subr.el (define-error): New function.
3788 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3789 error-file-not-found and define with define-error.
3790 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3791 and define with define-error.
3792 * userlock.el (file-locked, file-supersession):
3793 * simple.el (mark-inactive):
3794 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3795 * progmodes/ada-mode.el (ada-mode-errors):
3796 * play/life.el (life-extinct):
3797 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3798 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3799 * nxml/rng-util.el (rng-error):
3800 * nxml/rng-uri.el (rng-uri-error):
3801 * nxml/rng-match.el (rng-compile-error):
3802 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3803 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3804 * nxml/nxml-rap.el (nxml-scan-error):
3805 * nxml/nxml-outln.el (nxml-outline-error):
3806 * net/soap-client.el (soap-error):
3807 * net/gnutls.el (gnutls-error):
3808 * net/ange-ftp.el (ftp-error):
3809 * mpc.el (mpc-proc-error):
3810 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3811 (json-number-format, json-string-escape, json-string-format)
3812 (json-key-format, json-object-format):
3813 * jka-compr.el (compression-error):
3814 * international/quail.el (quail-error):
3815 * international/kkc.el (kkc-error):
3816 * emacs-lisp/ert.el (ert-test-failed):
3817 * calc/calc.el (calc-error, inexact-result, math-overflow)
3818 (math-underflow):
3819 * bookmark.el (bookmark-error-no-filename):
3820 * epg.el (epg-error): Define with define-error.
3821
0ea9e53a
SM
3822 * time.el (display-time-event-handler)
3823 (display-time-next-load-average): Don't call sit-for since it seems
3824 unnecessary (bug#15045).
3825
b0429158
SM
3826 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3827 Use #' instead of ' to quote functions.
3828 (checkdoc-output-mode): Use setq-local.
3829 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3830 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3831 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3832 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3833 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3834 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3835 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3836 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3837
ad9dcd70
SM
3838 * ido.el (ido-completion-help): Fix up compiler warning.
3839
77187e6f
JB
38402013-08-09 Juanma Barranquero <lekktu@gmail.com>
3841
3842 * frameset.el (frameset-p): Add autoload cookie.
3843 (frameset--jump-to-register): New function, based on code moved from
3844 register.el.
3845 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3846
3847 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3848 (frameset-restore, frameset-save, frameset-session-filter-alist):
3849 Remove declarations.
3850 (register-alist): Doc fix.
3851 (frameset-to-register): Move to frameset.el.
3852 (jump-to-register, describe-register-1): Remove frameset-specific code.
3853
9d3aa82c
JB
38542013-08-08 Juanma Barranquero <lekktu@gmail.com>
3855
3856 * allout-widgets.el (allout-widgets-pre-command-business)
3857 (allout-widgets-post-command-business)
3858 (allout-widgets-after-change-handler)
3859 (allout-decorate-item-and-context, allout-set-boundary-marker)
3860 (allout-body-modification-handler)
3861 (allout-graphics-modification-handler): Mark ignored arguments.
3862 (allout-widgets-post-command-business)
3863 (allout-widgets-exposure-change-processor)
3864 (allout-widgets-exposure-undo-processor)
3865 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3866 (allout-parse-item-at-point, allout-decorate-item-guides)
3867 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3868 * allout.el (epa-passphrase-callback-function): Declare.
3869 (allout-overlay-insert-in-front-handler)
3870 (allout-overlay-interior-modification-handler)
3871 (allout-isearch-end-handler, allout-chart-siblings)
3872 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3873 (allout-yank-processing, allout-process-exposed)
3874 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3875 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3876 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3877 (lisp-indent-defform): Mark ignored arguments.
3878 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3879 (calculate-lisp-indent): Remove unused variables.
3880 * international/characters.el (indian-2-column, arabic-2-column)
3881 (tibetan): Mark ignored arguments.
3882 (use-cjk-char-width-table): Mark ignored arguments.
3883 Remove unused variables.
3884 * international/fontset.el (build-default-fontset-data)
3885 (x-compose-font-name, create-fontset-from-fontset-spec):
3886 Mark ignored arguments.
3887 (fontset-plain-name): Remove unused variables.
3888 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3889 (keyboard-coding-system): Mark ignored arguments.
3890 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3891 * help.el (resize-temp-buffer-window):
3892 * window.el (display-buffer-in-major-side-window)
3893 (display-buffer-in-side-window, display-buffer-in-previous-window):
3894 Remove unused variables.
3895 * isearch.el (isearch-forward-symbol):
3896 * version.el (emacs-bzr-version-bzr):
3897 * international/mule-cmds.el (current-language-environment):
3898 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3899 (x-handle-display):
3900 * term/pc-win.el (x-list-fonts, x-display-planes)
3901 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3902 (x-server-version, x-display-screens, x-display-mm-height)
3903 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3904 (x-selection-owner-p, x-own-selection-internal)
3905 (x-disown-selection-internal, x-get-selection-internal)
3906 (msdos-initialize-window-system):
3907 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3908 * term/x-win.el (x-handle-no-bitmap-icon):
3909 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3910 (vc-default-find-file-hook, vc-default-extra-menu):
3911 Mark ignored arguments.
3912
0ca3f70e
SM
39132013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3916 break-condition in the context of the debugged code (bug#12685).
3917
74c5d24c
CS
39182013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3919
3920 * comint.el:
3921 Do not use an overlay to highlight the last prompt. (Bug#14744)
3922 (comint-mode): Make comint-last-prompt buffer local.
3923 (comint-last-prompt): New variable.
3924 (comint-last-prompt-overlay): Remove. Superseded by
3925 comint-last-prompt.
0ca3f70e
SM
3926 (comint-snapshot-last-prompt, comint-output-filter):
3927 Use comint-last-prompt.
74c5d24c 3928
c03c02ee
JB
39292013-08-08 Juanma Barranquero <lekktu@gmail.com>
3930
a3738d20 3931 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3932 (frameset-save): Check validity of the resulting frameset.
3933
04263d23
XF
39342013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3935
3936 * ido.el (ido-record-command): Add doc string.
3937
76c5e5ab
JB
39382013-08-08 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * frameset.el (frameset): Do not disable creation of the default
3941 frameset-p predicate. Doc fix.
3942 (frameset-valid-p): New function, copied from the old predicate-p.
3943 Add additional checks.
3944 (frameset-restore): Check with frameset-valid-p.
3945 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3946 (frameset-name, frameset-description, frameset-properties)
3947 (frameset-states): Add docstring.
f9dbf1cb
JB
3948 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3949 (frameset-filter-alist): Doc fixes.
76c5e5ab 3950
bd0c3c0b
JB
39512013-08-08 Juanma Barranquero <lekktu@gmail.com>
3952
3953 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3954
c735544c
SM
39552013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3958 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3959 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3960 (byte-compile-normal-call): Remove obsolescence check.
3961
2805a651
JB
39622013-08-08 Juanma Barranquero <lekktu@gmail.com>
3963
3677ffeb
JB
3964 * frameset.el (frameset-restore): Doc fix.
3965
2805a651
JB
3966 * register.el (frameset-frame-id, frameset-frame-with-id)
3967 (frameset-p, frameset-restore, frameset-save): Declare.
3968 (register-alist): Document framesets.
3969 (frameset-session-filter-alist): Declare.
3970 (frameset-to-register): New function.
3971 (jump-to-register): Implement jumping to framesets. Doc fix.
3972 (describe-register-1): Describe framesets.
3973
3974 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3975
a912c016
JB
39762013-08-07 Juanma Barranquero <lekktu@gmail.com>
3977
3978 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3979 Use lexical-binding.
3980
3981 * frameset.el (frameset): Use type vector, not list (incompatible
3982 change). Do not declare a new constructor, use the default one.
3983 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3984 `name' and `description', respectively, and add read-only slot
3985 `timestamp'. Doc fixes.
3986 (frameset-copy, frameset-persistent-filter-alist)
3987 (frameset-filter-alist, frameset-switch-to-gui-p)
3988 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3989 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3990 (frameset-filter-iconified, frameset-keep-original-display-p):
3991 Doc fixes.
3992 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3993 Rename from frameset-filter-(save|restore)-param. All callers changed.
3994 Doc fix.
3995 (frameset-p): Adapt to change to vector and be more thorough.
3996 Change arg name to OBJECT. Doc fix.
3997 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3998 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3999 All callers changed.
4000 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4001 All callers changed.
4002 (frameset--record-minibuffer-relationships): Rename from
4003 frameset--process-minibuffer-frames. All callers changed.
4004 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4005 Use new default constructor (again). Doc fix.
4006 (frameset--find-frame-if): Rename from `frameset--find-frame.
4007 All callers changed.
4008 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4009 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4010 Doc fix.
4011 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4012 PARAMETERS and WINDOW-STATE, respectively.
4013 (frameset-restore): Add new keyword argument PREDICATE.
4014 Reset frameset--target-display to nil. Doc fix.
4015
bb41480a
SM
40162013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4017
f001e98e
SM
4018 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4019 (bat-mode): Use it.
4020 (bat-mode-syntax-table): Mark \n as end-of-comment.
4021 (bat-font-lock-keywords): Remove comment rule.
4022
7679edb1
SM
4023 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4024 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4025
bb41480a
SM
4026 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4027 (byte-compile-callargs-warn): Use `push'.
4028 (byte-compile-arglist-warn): Ignore higher-order "calls".
4029 (byte-compile-file-form-autoload): Use `pcase'.
4030 (byte-compile-function-form): If quoting a symbol, check that it exists.
4031
cdc1ebb9
EZ
40322013-08-07 Eli Zaretskii <eliz@gnu.org>
4033
4034 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4035 and add a few popular commands found in batch files.
4036 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4037 (dos-mode): Doc fixes.
4038
312b1740
SM
40392013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4042 (dos-mode): Use setq-local. Add space after "rem".
4043 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4044 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4045
400a3178
AM
40462013-08-07 Arni Magnusson <arnima@hafro.is>
4047
4048 * progmodes/dos.el: New file.
4049 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4050 dos-mode.
4051
3b5c03d3
GM
40522013-08-06 Glenn Morris <rgm@gnu.org>
4053
4054 * calendar/calendar.el: Add new faces, and day-header-array.
4055 (calendar-weekday-header, calendar-weekend-header)
4056 (calendar-month-header): New faces.
4057 (calendar-day-header-construct): New function.
4058 (calendar-day-header-width): Also :set calendar-day-header-array.
4059 (calendar-american-month-header, calendar-european-month-header)
4060 (calendar-iso-month-header): Use calendar- faces.
4061 (calendar-generate-month):
4062 Use calendar-day-header-array for day headers; apply faces to them.
4063 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4064 (calendar-abbrev-construct): Add optional maxlen argument.
4065 (calendar-day-name-array): Doc fix.
4066 (calendar-day-name-array, calendar-abbrev-length)
4067 (calendar-day-abbrev-array):
4068 Also :set calendar-day-header-array, and maybe redraw.
4069 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4070 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4071 (calendar-day-name): Add option to use header array.
4072
ec6a2d7a
LMI
40732013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4074
4075 * net/shr.el (shr-render-td): Remove debugging.
4076 (shr-render-td): Make width computation consistent by defaulting
4077 all zero-width columns to 10 characters. This may not be optimal,
4078 but it's at least consistent.
2122cb6d
LMI
4079 (shr-make-table-1): Redo last change to fix the real problem in
4080 colspan handling.
ec6a2d7a 4081
ed4fd9c5
DA
40822013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4083
0ca3f70e
SM
4084 * files.el (cache-long-line-scans):
4085 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4086
64e22afe
JB
40872013-08-06 Juanma Barranquero <lekktu@gmail.com>
4088
024b38fc
JB
4089 * frameset.el (frameset, frameset-filter-alist)
4090 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4091 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4092 (frameset-compute-pos): Rename from frameset--compute-pos,
4093 and add docstring.
4094 (frameset-move-onscreen): Use frameset-compute-pos.
4095 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4096
64e22afe
JB
4097 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4098 Fix typos in docstrings.
4099
c8c2aca8
DA
41002013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4101
4102 * frame.el (get-other-frame): Tiny cleanup.
4103
1d237bba
JB
41042013-08-06 Juanma Barranquero <lekktu@gmail.com>
4105
8951efef
JB
4106 * vc/vc.el (vc-default-ignore-completion-table):
4107 Silence byte-compiler warning.
4108
307764cc
JB
4109 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4110 slot , which can indeed be nil.
4111 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4112 Move entry for `left' from persistent to live filter alist.
4113 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4114 Doc fixes.
4115 (frameset-filter-params): When restoring a frame, copy items added to
4116 `filtered', to avoid unwittingly modifying the original parameters.
4117 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4118 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4119
1d237bba
JB
4120 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4121 to use looking-at-p instead of looking-at. (Bug#15028)
4122
dc6c0eda
SM
41232013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 Revert introduction of isearch-filter-predicates (bug#14714).
4126 Rely on add-function instead.
4127 * isearch.el (isearch-filter-predicates): Rename it back to
4128 isearch-filter-predicate.
4129 (isearch-message-prefix): Use advice-function-mapc and advice
4130 properties to get the isearch-message-prefix.
4131 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4132 instead of run-hook-with-args-until-failure.
4133 (isearch-filter-visible): Not obsolete any more.
4134 * loadup.el: Preload nadvice.
4135 * replace.el (perform-replace): Revert to funcall
4136 instead of run-hook-with-args-until-failure.
4137 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4138 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4139 dired-isearch-filenames-toggle; make it into a proper minor mode.
4140 Use add/remove-function.
4141 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4142 Call the minor-mode rather than add/remove-hook.
4143 (dired-isearch-filter-filenames):
4144 Remove isearch-message-prefix property.
4145 * info.el (Info--search-loop): New function, extracted from Info-search.
4146 Funcall isearch-filter-predicate instead of
4147 run-hook-with-args-until-failure isearch-filter-predicates.
4148 (Info-search): Use it.
4149 (Info-mode): Use isearch-filter-predicate instead of
4150 isearch-filter-predicates.
4151
290d5b58
DA
41522013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4153
4154 Do not call to `selected-window' where it is assumed by default.
4155 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4156 `window-hscroll', `window-width', `window-height', `window-buffer',
4157 `window-frame', `window-start', `window-point', `next-window'
4158 and `window-display-table'.
4159 * abbrev.el (abbrev--default-expand):
4160 * bs.el (bs--show-with-configuration):
4161 * buff-menu.el (Buffer-menu-mouse-select):
4162 * calc/calc.el (calc):
4163 * calendar/calendar.el (calendar-generate-window):
4164 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4165 (diary-make-entry):
4166 * comint.el (send-invisible, comint-dynamic-complete-filename)
4167 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4168 * completion.el (complete):
4169 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4170 * disp-table.el (describe-current-display-table):
4171 * doc-view.el (doc-view-insert-image):
4172 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4173 * ehelp.el (with-electric-help):
4174 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4175 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4176 * emacs-lisp/helper.el (Helper-help-scroller):
4177 * emulation/cua-base.el (cua--post-command-handler-1):
4178 * eshell/esh-mode.el (eshell-output-filter):
4179 * ffap.el (ffap-gnus-wrapper):
4180 * help-macro.el (make-help-screen):
4181 * hilit-chg.el (highlight-compare-buffers):
4182 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4183 * hl-line.el (global-hl-line-highlight):
4184 * icomplete.el (icomplete-simple-completing-p):
4185 * isearch.el (isearch-done):
4186 * jit-lock.el (jit-lock-stealth-fontify):
4187 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4188 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4189 * mpc.el (mpc-tagbrowser, mpc):
4190 * net/rcirc.el (rcirc-any-buffer):
4191 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4192 * play/landmark.el (landmark-max-width, landmark-max-height):
4193 * play/zone.el (zone):
4194 * progmodes/compile.el (compilation-goto-locus):
4195 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4196 * progmodes/etags.el (find-tag-other-window):
4197 * progmodes/fortran.el (fortran-column-ruler):
4198 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4199 * progmodes/verilog-mode.el (verilog-point-text):
4200 * reposition.el (reposition-window):
4201 * rot13.el (toggle-rot13-mode):
4202 * server.el (server-switch-buffer):
4203 * shell.el (shell-dynamic-complete-command)
4204 (shell-dynamic-complete-environment-variable):
4205 * simple.el (insert-buffer, set-selective-display)
4206 (delete-completion-window):
4207 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4208 (speedbar-recenter):
4209 * startup.el (fancy-splash-head):
4210 * textmodes/ispell.el (ispell-command-loop):
4211 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4212 * tutorial.el (help-with-tutorial):
4213 * vc/add-log.el (add-change-log-entry):
4214 * vc/compare-w.el (compare-windows):
4215 * vc/ediff-help.el (ediff-indent-help-message):
4216 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4217 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4218 (ediff-setup-control-frame):
4219 * vc/emerge.el (emerge-position-region):
4220 * vc/pcvs-util.el (cvs-bury-buffer):
4221 * window.el (walk-windows, mouse-autoselect-window-select):
4222 * winner.el (winner-set-conf, winner-undo): Related users changed.
4223
38276e01
JB
42242013-08-05 Juanma Barranquero <lekktu@gmail.com>
4225
4226 * frameset.el (frameset--set-id): Doc fix.
4227 (frameset-frame-id, frameset-frame-id-equal-p)
4228 (frameset-locate-frame-id): New functions.
4229 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4230 (frameset-restore): Use them.
4231
12b4c0ea
DA
42322013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4233
4234 Do not call to `selected-frame' where it is assumed by default.
4235 Affected functions are `raise-frame', `redraw-frame',
4236 `frame-first-window', `frame-terminal' and `delete-frame'.
4237 * calendar/appt.el (appt-disp-window):
4238 * epg.el (epg-wait-for-completion):
4239 * follow.el (follow-delete-other-windows-and-split)
4240 (follow-avoid-tail-recenter):
4241 * international/mule.el (set-terminal-coding-system):
4242 * mail/rmail.el (rmail-mail-return):
4243 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4244 * progmodes/f90.el (f90-add-imenu-menu):
4245 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4246 * server.el (server-switch-buffer):
4247 * simple.el (delete-completion-window):
4248 * talk.el (talk):
4249 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4250 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4251 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4252 * vc/ediff.el (ediff-documentation): Related users changed.
4253 * frame.el (selected-terminal): Remove the leftover.
4254
17f25e76
GM
42552013-08-05 Glenn Morris <rgm@gnu.org>
4256
4257 * calendar/calendar.el (calendar-generate-month):
4258 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4259 (calendar-generate-month, calendar-font-lock-keywords):
4260 Fix for calendar-day-header-width > length of any day name.
17f25e76 4261
063233c3
JB
42622013-08-05 Juanma Barranquero <lekktu@gmail.com>
4263
4264 * desktop.el (desktop-clear): Use new name of sort predicate.
4265
4266 * frameset.el (frameset): Add docstring. Move :version property to its
4267 own `version' slot.
4268 (frameset-copy): Rename from copy-frameset.
4269 (frameset-p): Check more thoroughly.
4270 (frameset-prop): Do not check for :version, which is no longer a prop.
4271 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4272 Use new :never value instead of t.
4273 (frameset-filter-alist): Expand and clarify docstring.
4274 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4275 (frameset-filter-minibuffer, frameset-filter-save-param)
4276 (frameset-filter-restore-param, frameset-filter-iconified):
4277 Add pointer to docstring of frameset-filter-alist.
4278 (frameset-filter-params): Rename filter values to be more meaningful:
4279 :never instead of t, and reverse the meanings of :save and :restore.
4280 (frameset--process-minibuffer-frames): Clarify error message.
4281 (frameset-save): Avoid unnecessary and confusing call to framep.
4282 Use new BOA constructor for framesets.
4283 (frameset--reuse-list): Doc fix.
4284 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4285 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4286 (frameset-minibufferless-first-p): Doc fix.
4287 Rename from frameset-sort-frames-for-deletion.
4288 (frameset-restore): Doc fixes. Use new function names.
4289 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4290
d5671a82
JB
42912013-08-04 Juanma Barranquero <lekktu@gmail.com>
4292
4293 * desktop.el (desktop-restore-forces-onscreen)
4294 (desktop-restore-reuses-frames): Document :keyword constant values.
4295 (desktop-filter-parameters-alist): Remove, now identical to
4296 frameset-filter-alist.
4297 (desktop--filter-tty*): Remove, moved to frameset.el.
4298 (desktop-save-frameset, desktop-restore-frameset):
4299 Do not pass :filters argument.
4300
4301 * frameset.el (frameset-live-filter-alist)
4302 (frameset-persistent-filter-alist): New variables.
4303 (frameset-filter-alist): Use them. Add autoload cookie.
4304 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4305 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4306 `frameset--id' (it's supposed to be internal to frameset.el).
4307 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4308 (frameset--initial-params): New function.
4309 (frameset--get-frame): Use it. Doc fix.
4310 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4311 Accept :all, not 'all.
4312 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4313 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4314 with fbound symbols. Fix frame id matching, and remove matching ids if
4315 the frame being restored is deleted. Obey :delete.
4316
671d5c16
SM
43172013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * subr.el (macrop): New function.
4320 (text-clone--maintaining): New var.
4321 (text-clone--maintain): Rename from text-clone-maintain. Use it
4322 instead of inhibit-modification-hooks.
4323
4324 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4325 a proxy, so as handle autoloads and redefinitions of the target.
4326 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4327
4328 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4329 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4330 (pcase--mutually-exclusive-p): New function.
4331 (pcase--split-consp): Use it.
4332 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4333 mutually exclusive with the current predicate.
4334
4335 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4336 (edebug-macrop): Remove. Use `macrop' instead.
4337 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4338 (ad-macro-p):
4339 * eshell/esh-cmd.el (eshell-macrop):
4340 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4341
1d44e9dc
SM
43422013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4345 (advice-mapc): New function, using it.
4346 (advice-function-member-p): New function.
4347 (advice--normalize): Store the cdr in advice--saved-rewrite since
4348 that's the part that will be changed.
4349 (advice--symbol-function): New function.
4350 (advice-remove): Handle removal before the function is defined.
4351 Adjust to new advice--saved-rewrite.
4352 (advice-member-p): Use advice-function-member-p and
4353 advice--symbol-function.
4354
5414a283
JB
43552013-08-04 Juanma Barranquero <lekktu@gmail.com>
4356
51d30f2c
JB
4357 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4358 (frameset-filter-minibuffer): Doc fix.
4359 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4360 (frameset--set-id, frameset--process-minibuffer-frames)
4361 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4362 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4363
5414a283
JB
4364 * desktop.el (desktop-clear): Only delete frames when called
4365 interactively and desktop-restore-frames is non-nil. Doc fix.
4366 (desktop-read): Set desktop-saved-frameset to nil.
4367
ab419665
XF
43682013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4369
4370 * vc/vc.el (vc-ignore): Rewrite.
4371 (vc-default-ignore-completion-table):
4372 (vc--read-lines):
4373 (vc--add-line, vc--remove-regexp): New functions.
4374
4375 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4376 (vc-svn-ignore-completion-table): New function.
4377
4378 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4379 (vc-hg-ignore-completion-table):
4380 (vc-hg-find-ignore-file): New functions.
4381
4382 * vc/vc-git.el (vc-git-ignore): Rewrite.
4383 (vc-git-ignore-completion-table):
4384 (vc-git-find-ignore-file): New functions.
4385
4386 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4387
4388 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4389 (vc-bzr-ignore-completion-table):
4390 (vc-bzr-find-ignore-file): New functions.
4391
2613dea2
JB
43922013-08-03 Juanma Barranquero <lekktu@gmail.com>
4393
4394 * frameset.el (frameset-prop): New function and setter.
4395 (frameset-save): Do not modify frame list passed by the caller.
4396
9c959872
SM
43972013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4400
a104f656
SM
44012013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4402
70122acf
SM
4403 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4404 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4405
a104f656
SM
4406 * custom.el (custom-initialize-default, custom-initialize-set)
4407 (custom-initialize-reset, custom-initialize-changed): Affect the
4408 toplevel-default-value (bug#6275, bug#14586).
4409 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4410 for bug#6275.
4411
f078d570
JB
44122013-08-02 Juanma Barranquero <lekktu@gmail.com>
4413
185e3b5a
JB
4414 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4415 Add cl-def* expressions.
4416
f078d570
JB
4417 * frameset.el (frameset-filter-params): Fix order of arguments.
4418
9421876d
JB
44192013-08-02 Juanma Barranquero <lekktu@gmail.com>
4420
4421 Move code related to saving frames to frameset.el.
4422 * desktop.el: Require frameset.
4423 (desktop-restore-frames): Doc fix.
4424 (desktop-restore-reuses-frames): Rename from
4425 desktop-restoring-reuses-frames.
4426 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4427 (desktop-clear): Clear frames too.
4428 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4429 (desktop--filter-tty*, desktop-save, desktop-read):
4430 Use frameset functions.
4431 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4432 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4433 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4434 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4435 (desktop--process-minibuffer-frames, desktop-save-frames)
4436 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4437 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4438 (desktop--sort-states, desktop-restoring-frames-p)
4439 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4440 (desktop-restoring-frameset-p, desktop-restore-frameset)
4441 (desktop--check-dont-save, desktop-save-frameset): New functions.
4442 (desktop--app-id): New constant.
4443 (desktop-first-buffer, desktop-buffer-ok-count)
4444 (desktop-buffer-fail-count): Move before first use.
4445 * frameset.el: New file.
4446
76dc5996
SM
44472013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4448
4449 * files.el: Use lexical-binding.
4450 (dir-locals-read-from-file): Remove unused `err' variable.
4451 (hack-dir-local-variables--warned-coding): New var.
4452 (hack-dir-local-variables): Use it to avoid repeated warnings.
4453 (make-backup-file-name--default-function): New function.
4454 (make-backup-file-name-function): Use it as default.
4455 (buffer-stale--default-function): New function.
4456 (buffer-stale-function): Use it as default.
4457 (revert-buffer-insert-file-contents--default-function): New function.
4458 (revert-buffer-insert-file-contents-function): Use it as default.
4459 (insert-directory): Avoid add-to-list.
4460
4461 * autorevert.el (auto-revert-handler): Simplify.
4462 Use buffer-stale--default-function.
4463
06d36e2b
TH
44642013-08-01 Tassilo Horn <tsdh@gnu.org>
4465
5f648ab4
TH
4466 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4467
06d36e2b
TH
4468 * whitespace.el (whitespace-ensure-local-variables): New function.
4469 (whitespace-cleanup-region): Call it.
4470 (whitespace-turn-on): Call it.
4471
a43dc424
MA
44722013-08-01 Michael Albinus <michael.albinus@gmx.de>
4473
4474 Complete file name handlers.
4475
4476 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4477 (tramp-handle-verify-visited-file-modtime)
4478 (tramp-handle-file-notify-rm-watch): New functions.
4479 (tramp-call-process): Do not bind `default-directory'.
4480
44e18199
JB
4481 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4482 Order alphabetically.
a43dc424
MA
4483 [access-file, add-name-to-file, dired-call-process]:
4484 [dired-compress-file, file-acl, file-notify-rm-watch]:
4485 [file-ownership-preserved-p, file-selinux-context]:
4486 [make-directory-internal, make-symbolic-link, set-file-acl]:
4487 [set-file-selinux-context, set-visited-file-modtime]:
4488 [verify-visited-file-modtime]: Add handler.
4489 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4490
4491 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4492 [file-notify-add-watch, file-notify-rm-watch]:
4493 [set-file-times, set-visited-file-modtime]:
4494 [verify-visited-file-modtime]: Add handler.
4495 (with-tramp-gvfs-error-message)
4496 (tramp-gvfs-handle-set-visited-file-modtime)
4497 (tramp-gvfs-fuse-file-name): Remove.
4498 (tramp-gvfs-handle-file-notify-add-watch)
4499 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4500 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4501
44e18199
JB
4502 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4503 Order alphabetically.
a43dc424
MA
4504 [file-notify-rm-watch ]: Use default Tramp handler.
4505 [executable-find]: Remove private handler.
4506 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4507 `default-directory'.
4508 (tramp-sh-handle-executable-find)
4509 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4510 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4511 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4512 Do not use `format' in `tramp-message'.
4513
4514 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4515 [file-notify-rm-watch, set-visited-file-modtime]:
4516 [verify-visited-file-modtime]: Add handler.
4517 (tramp-smb-call-winexe): Do not bind `default-directory'.
4518
7188b515
XF
45192013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4520
4521 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4522
2412ee1a
DG
45232013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4524
4525 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4526 use it.
4527 (log-view-diff-changeset): Same.
4528 (log-view-diff-common): Call backend command `previous-revision'
4529 to find out the previous revision, in both cases. Swap the
4530 variables `to' and `fr', so that `fr' usually refers to the
4531 earlier revision (Bug#14989).
4532
5002a754
KRC
45332013-07-31 Kan-Ru Chen <kanru@kanru.info>
4534
4535 * ibuf-ext.el (ibuffer-filter-by-filename):
4536 Make it work with dired buffers too.
4537
44e18199 45382013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4539
4540 * emacs-lisp/re-builder.el (reb-color-display-p):
4541 * files.el (save-buffers-kill-terminal):
4542 * net/browse-url.el (browse-url):
4543 * server.el (server-save-buffers-kill-terminal):
4544 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4545 Prefer nil to selected-frame for the first arg of frame-parameter.
4546
aeca3fbb
XF
45472013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4548
4549 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4550
158bc55c
SB
45512013-07-30 Stephen Berman <stephen.berman@gmx.net>
4552
4553 * minibuffer.el (completion--twq-all): Try and preserve each
4554 completion's case choice (bug#14907).
4555
d50fceab
LMI
45562013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4557
ac38e731
LMI
4558 * net/network-stream.el (open-network-stream): Mention the new
4559 :nogreeting parameter.
4560 (network-stream-open-starttls): Use the :nogreeting parameter
4561 (bug#14938).
4562
1211de50
LMI
4563 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4564
997798bf
LMI
4565 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4566 more natural than popping.
4567
d50fceab 4568 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4569 (shr-urlify): Highlight under mouse.
d50fceab 4570
5c09de04
XF
45712013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4572
207d1d04
XF
4573 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4574
4575 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4576
5c09de04
XF
4577 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4578 buffer for output.
4579
3cd51eaa
XF
4580 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4581 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4582
44e18199 4583 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4584 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4585
4586 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4587
4588 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4589 buffer for output.
4590
35a89bdd
EZ
45912013-07-29 Eli Zaretskii <eliz@gnu.org>
4592
4593 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4594 initial frame is minibuffer-less. (Bug#14841)
4595
78822e94
MA
45962013-07-29 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4599 option.
4600
4601 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4602 (tramp-maybe-open-connection): Use it.
4603
9503c190
JB
46042013-07-28 Juanma Barranquero <lekktu@gmail.com>
4605
4606 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4607 minimal set of parameters passed when creating a frame, because
4608 the minibuffer status of a frame cannot be changed later.
4609
d5a845b4
SB
46102013-07-28 Stephen Berman <stephen.berman@gmx.net>
4611
4612 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4613 replace-regexp-in-string and inadvertent omissions in previous change.
4614 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4615 name of filtered items buffer.
d5a845b4 4616
ddeffb17
JB
46172013-07-28 Juanma Barranquero <lekktu@gmail.com>
4618
4619 * desktop.el: Optionally force offscreen frames back onscreen.
4620 (desktop-restoring-reuses-frames): New option.
4621 (desktop--compute-pos, desktop--move-onscreen): New functions.
4622 (desktop--make-frame): Use desktop--move-onscreen.
4623
f5950f7a
AM
46242013-07-27 Alan Mackenzie <acm@muc.de>
4625
4626 Fontify a Java generic method as a function.
4627 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4628 value to t.
4629
ae43b66a
SB
46302013-07-27 Stephen Berman <stephen.berman@gmx.net>
4631
4632 * calendar/todo-mode.el: Add command to rename todo files.
4633 (todo-rename-file): New command.
4634 (todo-key-bindings-t): Add key binding for it. Change the
4635 bindings of todo-filter-regexp-items(-multifile) to use `x'
4636 instead of `r', since the latter is better suited to the new
4637 renaming command.
4638
5ab78d3d
AM
46392013-07-27 Alan Mackenzie <acm@muc.de>
4640
4641 Make Java try-with-resources statement parse properly.
4642 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4643 (c-block-stmt-1-2-key): New language constants/variables.
4644 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4645 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4646 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4647 with c-block-stmt-1-2-key.
5ab78d3d 4648
d85c4d50
JB
46492013-07-27 Juanma Barranquero <lekktu@gmail.com>
4650
4651 * desktop.el (desktop--make-frame): Apply most frame parameters after
4652 creating the frame to force (partially or totally) offscreen frames to
4653 be restored as such.
4654
e4c467f9
XF
46552013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4656
4657 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4658 (Bug#14948)
e4c467f9 4659
7ced0d04
SM
46602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4663 `base' arg of backtrace-frame.
4664
fec92060
EZ
46652013-07-26 Eli Zaretskii <eliz@gnu.org>
4666
4667 * simple.el (list-processes): Doc fix.
4668
d58d31fb
JB
46692013-07-26 Juanma Barranquero <lekktu@gmail.com>
4670
4671 * desktop.el (desktop--select-frame):
d85c4d50 4672 Try harder to reuse existing frames.
d58d31fb 4673
53ff3e77
SM
46742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4677 (edebug-eval): Use backtrace-eval.
4678 (edebug--display, edebug--recursive-edit): Don't let-bind the
4679 edebug-outer-* vars that keep track of variables we locally let-bind.
4680 (edebug-outside-excursion): Don't restore outside values of locally
4681 let-bound vars.
4682 (edebug--display): Use user-error.
4683 (cl-lexical-debug, cl-debug-env): Remove.
4684
045f7a53
JB
46852013-07-26 Juanma Barranquero <lekktu@gmail.com>
4686
4687 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4688 are restored to be sure that they are visible before deleting any
4689 remaining ones.
4690
59070b32
MM
46912013-07-26 Matthias Meulien <orontee@gmail.com>
4692
742a3501
XF
4693 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4694 vc-print-root-log. (Bug#14948)
59070b32 4695
b1fb3596
RS
46962013-07-26 Richard Stallman <rms@gnu.org>
4697
4698 Add aliases for encrypting mail.
4699 * epa.el (epa-mail-aliases): New option.
4700 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4701 Bind inhibit-read-only so read-only text doesn't ruin everything.
4702 (epa-mail-default-recipients): New subroutine broken out.
4703 Handle epa-mail-aliases.
4704
56ea7291
SM
47052013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 Add support for lexical variables to the debugger's `e' command.
4708 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4709 vars, except for debugger-outer-match-data.
4710 (debugger-frame-number): Move check for "on a function call" from
4711 callers into it. Add `skip-base' argument.
4712 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4713 (debugger-env-macro): Only reset the state stored in non-variables,
4714 i.e. current-buffer and match-data.
4715 (debugger-eval-expression): Rewrite using backtrace-eval.
4716 * subr.el (internal--called-interactively-p--get-frame): Remove.
4717 (called-interactively-p):
4718 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4719 `base' arg of backtrace-frame instead.
4720
15ac32d5
GM
47212013-07-26 Glenn Morris <rgm@gnu.org>
4722
8358a09d
GM
4723 * align.el (align-regexp): Doc fix. (Bug#14857)
4724 (align-region): Explicit error if subexpression missing/does not match.
4725
15ac32d5
GM
4726 * simple.el (global-visual-line-mode):
4727 Do not duplicate the mode lighter. (Bug#14858)
4728
f47ad11b
MR
47292013-07-25 Martin Rudalics <rudalics@gmx.at>
4730
4731 * window.el (display-buffer): In display-buffer bind
4732 split-window-keep-point to t, bug#14829.
4733
02530987
JB
47342013-07-25 Juanma Barranquero <lekktu@gmail.com>
4735
4736 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4737 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4738 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4739 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4740 Change accordingly.
f63ebeb5
JB
4741 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4742 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4743
6ccb9cab 47442013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4745
6ccb9cab 4746 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4747
cb3a56d2
JB
47482013-07-25 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4751 parameter to modify-frame-parameters if the value has not changed;
4752 this is a workaround for bug#14949.
4753 (desktop--make-frame): On cl-delete-if call, check parameter name,
4754 not full parameter.
4755
7aa7fff0
XF
47562013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4757
4758 * vc/vc.el (vc-ignore): New function.
4759
4760 * vc/vc-svn.el (vc-svn-ignore): New function.
4761
4762 * vc/vc-hg.el (vc-hg-ignore): New function.
4763
4764 * vc/vc-git.el (vc-git-ignore): New function.
4765
4766 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4767 (vc-dir-ignore): New function.
4768
4769 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4770 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4771
4772 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4773
4774 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4775
889acc5c
JB
47762013-07-24 Juanma Barranquero <lekktu@gmail.com>
4777
4778 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4779 (desktop-restore-frames): Warn when deleting an existing frame failed.
4780
86c40970
GM
47812013-07-24 Glenn Morris <rgm@gnu.org>
4782
4783 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4784
d5d3c58a
MA
47852013-07-24 Michael Albinus <michael.albinus@gmx.de>
4786
4787 * filenotify.el (file-notify-supported-p):
4788 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4789 Remove functions.
4790
4791 * autorevert.el (auto-revert-use-notify):
4792 (auto-revert-notify-add-watch):
4793 * net/tramp.el (tramp-file-name-for-operation):
4794 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4795 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4796 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4797 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4798 Remove `file-notify-supported-p' entry.
4799
d100084b
GM
48002013-07-24 Glenn Morris <rgm@gnu.org>
4801
4802 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4803 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4804
ac93e56b
SM
48052013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4806
249eea30
SM
4807 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4808 checked with memq (bug#14935).
4809
ac93e56b
SM
4810 * files.el (revert-buffer-function): Use a non-nil default.
4811 (revert-buffer-preserve-modes): Declare var to
4812 provide access to the `preserve-modes' argument.
4813 (revert-buffer): Let-bind it.
4814 (revert-buffer--default): New function, extracted from revert-buffer.
4815
2cdeb903
SM
48162013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * lpr.el: Signal print errors more prominently.
4819 (print-region-function): Don't default to nil.
4820 (lpr-print-region): New function, extracted from print-region-1.
4821 Check lpr's return value and signal an error in case of problem.
4822 (print-region-1): Use it.
4823 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4824 versions instead.
4825 (ps-printer-name): Default to nil.
4826 (ps-printer-name-option): Default to lpr-printer-switch.
4827 (ps-print-region-function): Don't default to nil.
4828 (ps-postscript-code-directory): Simplify default.
4829 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4830 (ps-string-list, ps-eval-switch, ps-flatten-list)
4831 (ps-flatten-list-1): Remove.
4832 (ps-multibyte-buffer): Avoid setq.
4833 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4834 (print-region-function, ps-print-region-function): Don't set them here.
4835
73600831
XF
48362013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4837
0e55c076
XF
4838 * ido.el (ido-fractionp):
4839 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4840 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4841 (ido-max-directory-size, ido-max-dir-file-cache)
4842 (ido-decorations): Doc fix.
4843
73600831
XF
4844 * ansi-color.el: Fix old URL.
4845
3d012865
MM
48462013-07-23 Michael R. Mauger <michael@mauger.com>
4847
e903c210 4848 * progmodes/sql.el: Version 3.3
3d012865
MM
4849 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4850 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4851 (sql-interactive-remove-continuation-prompt): Rewrite, use
4852 functions above. Fix continuation prompt and complete output line
4853 handling.
4854 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4855 redirected output buffer.
4856 (sql-mode): Restore deleted code (Bug#13591).
4857
da77a2e2
JB
48582013-07-23 Juanma Barranquero <lekktu@gmail.com>
4859
4860 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4861
80ff0c71
MA
48622013-07-23 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4865
4866 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4868 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4869
b61d71e4
JB
48702013-07-23 Juanma Barranquero <lekktu@gmail.com>
4871
4872 * desktop.el (desktop-clear): Simplify; remove useless checks
4873 against invalid buffer names.
4874 (desktop-list*): Use cl-list*.
4875 (desktop-buffer-info, desktop-create-buffer): Simplify.
4876
c3512092
LL
48772013-07-23 Leo Liu <sdl.web@gmail.com>
4878
4879 * bookmark.el (bookmark-make-record): Restore NAME as a default
4880 value. (Bug#14933)
4881
0ac26976
SM
48822013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4883
7d22ce18
SM
4884 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4885 extracted from autoload--insert-text.
4886 (autoload--insert-text): Remove.
4887 (autoload--print-cookie-text): New function, extracted from
4888 autoload--insert-cookie-text.
4889 (autoload--insert-cookie-text): Remove.
4890 (autoload-generate-file-autoloads): Adjust calls accordingly.
4891
9b2607e8
SM
4892 * winner.el (winner-hook-installed-p): Remove.
4893 (winner-mode): Simplify accordingly.
4894
c43a8618
SM
4895 * subr.el (add-to-list): Fix compiler-macro when `append' is
4896 not constant. Don't use `cl-member' for the base case.
4897
0ac26976
SM
4898 * progmodes/subword.el: Fix boundary case (bug#13758).
4899 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4900 own group.
4901 (subword-backward-regexp): Make it a constant.
4902 (subword-forward-internal): Don't treat a trailing capital as the
4903 beginning of a word.
4904
6874724a
AR
49052013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4906
4907 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4908 global value of tabulated-list-revert-hook (bug#14930).
4909
70f1b5e8
JB
49102013-07-22 Juanma Barranquero <lekktu@gmail.com>
4911
a1c80d9d
JB
4912 * desktop.el: Require 'cl-lib.
4913 (desktop-before-saving-frames-functions): New hook.
4914 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4915 for frames being saved. Rename from desktop--save-minibuffer-frames.
4916 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4917 Do not save frames with non-nil `desktop-dont-save' parameter.
4918 Filter out deleted frames.
a1c80d9d
JB
4919 (desktop--find-frame): Use cl-find-if.
4920 (desktop--select-frame): Use cl-(first|second|third) to access values
4921 of desktop-mini.
4922 (desktop--make-frame): Use cl-delete-if.
4923 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4924 (desktop-restore-frames): Use cl-(first|second|third) to access values
4925 of desktop-mini. Look for visible frame at the end, not while
4926 restoring frames.
4927
70f1b5e8
JB
4928 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4929 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4930 Use string-match-p, looking-at-p (bug#14927).
4931
728dc3cc
JB
49322013-07-21 Juanma Barranquero <lekktu@gmail.com>
4933
56bc453c
JB
4934 * desktop.el (desktop-saved-frame-states):
4935 Rename from desktop--saved-states; all users changed.
4936 (desktop-save-frames): Rename from desktop--save-frames.
4937 Do not save state to desktop file.
4938 (desktop-save): Save desktop-saved-frame-states to desktop file
4939 and reset to nil.
4940 (desktop-restoring-frames-p): New function.
4941 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4942 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4943 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4944
728dc3cc
JB
4945 * desktop.el: Correctly restore iconified frames.
4946 (desktop--filter-iconified-position): New function.
4947 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4948
862f1c9c
GM
49492013-07-20 Glenn Morris <rgm@gnu.org>
4950
c4074c9f
GM
4951 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4952 Let `message' do the formatting.
4953 (def-gdb-preempt-display-buffer): Add explicit format.
4954
d828e5f9
GM
4955 * image-dired.el (image-dired-track-original-file):
4956 Use with-current-buffer.
4957 (image-dired-track-thumbnail): Use with-current-buffer.
4958 Avoid changing point of wrong window.
4959
862f1c9c
GM
4960 * image-dired.el (image-dired-track-original-file):
4961 Avoid changing point of wrong window. (Bug#14909)
4962
f0398ec1 49632013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4964
4965 * progmodes/gdb-mi.el (gdb-done-or-error):
4966 Guard against "%" in gdb output. (Bug#14127)
4967
1451928f
AS
49682013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4969
763a086d
JB
4970 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4971 (Bug#14826)
f7a03897 4972
1451928f
AS
4973 * international/mule.el (coding-system-iso-2022-flags): Fix last
4974 change.
4975
99107004
KH
49762013-07-20 Kenichi Handa <handa@gnu.org>
4977
763a086d
JB
4978 * international/mule.el (coding-system-iso-2022-flags):
4979 Add `8-bit-level-4'. (Bug#8522)
99107004 4980
48494e06
LMI
49812013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4982
8ba8eec5
LMI
4983 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4984 (bug#14815).
4985
dfbc66e3
LMI
4986 * net/eww.el (eww-process-text-input): Allow inputting when the
4987 point is at the start of the line, as the properties aren't
4988 front-sticky.
4989
48494e06
LMI
4990 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4991 degenerate widths.
4992
77c92cb9
RS
49932013-07-19 Richard Stallman <rms@gnu.org>
4994
aec7da77
RS
4995 * epa.el (epa-popup-info-window): Doc fix.
4996
77c92cb9
RS
4997 * subr.el (split-string): New arg TRIM.
4998
945c5bb1
JB
49992013-07-18 Juanma Barranquero <lekktu@gmail.com>
5000
5001 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5002 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5003
e06ec67f
MA
50042013-07-18 Michael Albinus <michael.albinus@gmx.de>
5005
c7064f05 5006 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5007 `file-notify-support'. Do not autoload. Adapt all uses.
5008 (file-notify-supported-p): New defun.
5009
c7064f05
JB
5010 * autorevert.el (auto-revert-use-notify):
5011 Use `file-notify-supported-p' instead of `file-notify-support'.
5012 Adapt docstring.
e06ec67f
MA
5013 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5014
5015 * net/tramp.el (tramp-file-name-for-operation):
5016 Add `file-notify-supported-p'.
5017
5018 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5019 New defun.
5020 (tramp-sh-file-name-handler-alist): Add it as handler for
5021 `file-notify-supported-p '.
5022
5023 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5024 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5026 Add `ignore' as handler for `file-notify-*' functions.
5027
5dc8a629
EZ
50282013-07-17 Eli Zaretskii <eliz@gnu.org>
5029
5030 * simple.el (line-move-partial, line-move): Don't start vscroll or
5031 scroll-up if the current line is not taller than the window.
5032 (Bug#14881)
5033
77aea2fb
DG
50342013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5035
5036 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5037 highlight question marks in the method names as strings.
ac72c08d
DG
5038 (ruby-block-beg-keywords): Inline.
5039 (ruby-font-lock-keyword-beg-re): Extract from
5040 `ruby-font-lock-keywords'.
77aea2fb 5041
18c26d81
JD
50422013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5043
5044 * frame.el (blink-cursor-blinks): New defcustom.
5045 (blink-cursor-blinks-done): New defvar.
5046 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5047 (blink-cursor-timer-function): Check if number of blinks has been
5048 done on X and NS.
5049 (blink-cursor-suspend, blink-cursor-check): New defuns.
5050
da48522e
GM
50512013-07-15 Glenn Morris <rgm@gnu.org>
5052
5053 * edmacro.el (edmacro-format-keys): Fix previous change.
5054
0463c1ef
PE
50552013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5056
5057 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5058 The hack didn't work outside English locales anyway.
5059
b43f6451
JB
50602013-07-15 Juanma Barranquero <lekktu@gmail.com>
5061
5062 * simple.el (define-alternatives): Rename from alternatives-define,
5063 per RMS' suggestion.
5064
b958c0ad
JB
50652013-07-14 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * desktop.el (desktop-restore-frames): Change default to t.
5068 (desktop-restore-in-current-display): Now offer more options.
5069 (desktop-restoring-reuses-frames): New customization option.
5070 (desktop--saved-states): Doc fix.
5071 (desktop-filter-parameters-alist): New variable, renamed and expanded
5072 from desktop--excluded-frame-parameters.
5073 (desktop--target-display): New variable.
5074 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5075 (desktop--filter-tty*, desktop--filter-*-color)
5076 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5077 (desktop--filter-save-desktop-parm)
5078 (desktop-restore-in-original-display-p): New functions.
5079 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5080 (desktop--save-minibuffer-frames): New function, inspired by a similar
5081 function from Martin Rudalics.
5082 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5083 (desktop--restore-in-this-display-p): Remove.
5084 (desktop--find-frame): Rename from desktop--find-frame-in-display
5085 and add predicate argument.
5086 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5087 (desktop--reuse-list): New variable.
5088 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5089 New functions.
5090 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5091
f6dd8b36
MA
50922013-07-14 Michael Albinus <michael.albinus@gmx.de>
5093
5094 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5095
2ce3c565
DG
50962013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5097
763a086d
JB
5098 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5099 Highlight conversion methods on Kernel.
2ce3c565 5100
2cdb7698
AM
51012013-07-13 Alan Mackenzie <acm@muc.de>
5102
5103 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5104 and comment it out. This out-commenting enables certain C++
5105 declarations to be parsed correctly.
5106
1a67b811
EZ
51072013-07-13 Eli Zaretskii <eliz@gnu.org>
5108
1b796d6b
EZ
5109 * international/mule.el (define-coding-system): Doc fix.
5110
1a67b811
EZ
5111 * simple.el (default-font-height): Don't call font-info if the
5112 frame's default font didn't change since the frame was created.
5113 (Bug#14838)
5114
58fbe886
LL
51152013-07-13 Leo Liu <sdl.web@gmail.com>
5116
5117 * ido.el (ido-read-file-name): Guard against non-symbol value.
5118
1f0480d4
FEG
51192013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5120
5121 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5122 in nested defuns.
5123
97ead0e5
LL
51242013-07-13 Leo Liu <sdl.web@gmail.com>
5125
5126 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5127 ido-set-matches call. (Bug#6852)
5128
0880a952
DG
51292013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5130
5131 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5132 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5133 Ruby 2.0.
5134 (ruby-font-lock-keywords): Distinguish calls to functions with
5135 module-like names from module references. Highlight character
5136 literals.
5137
a7d8babb
SDJ
51382013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5139
5140 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5141 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5142
acfcc8c5
JB
51432013-07-12 Juanma Barranquero <lekktu@gmail.com>
5144
5145 * desktop.el (desktop--v2s): Remove unused local variable.
5146 (desktop-save-buffer): Make defvar-local; adjust docstring.
5147 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5148 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5149
051f2775
AS
51502013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5151
5152 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5153
f24e7572
GM
51542013-07-12 Eli Zaretskii <eliz@gnu.org>
5155
5156 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5157 (Bug#14842)
5158
539a920c
GM
51592013-07-12 Glenn Morris <rgm@gnu.org>
5160
5161 * doc-view.el: Require cl-lib at runtime too.
5162 (doc-view-remove-if): Remove.
5163 (doc-view-search-next-match, doc-view-search-previous-match):
5164 Use cl-remove-if.
5165
5166 * edmacro.el: Require cl-lib at runtime too.
5167 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5168 (edmacro-mismatch, edmacro-subseq): Remove.
5169
5170 * shadowfile.el: Require cl-lib.
5171 (shadow-remove-if): Remove.
5172 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5173 Use cl-remove-if.
5174
5175 * wid-edit.el: Require cl-lib.
5176 (widget-choose): Use cl-remove-if.
5177 (widget-remove-if): Remove.
5178
5179 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5180 (ebrowse-delete-if-not): Remove.
5181 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5182 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5183 Use cl-delete-if-not.
5184
1048af7c
JB
51852013-07-12 Juanma Barranquero <lekktu@gmail.com>
5186
5187 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5188 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5189
6c0674ee
LL
51902013-07-12 Leo Liu <sdl.web@gmail.com>
5191
5192 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5193
a19b3c2d
GM
51942013-07-11 Glenn Morris <rgm@gnu.org>
5195
4582a01c
GM
5196 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5197 (edebug-gensym-index, edebug-gensym):
5198 Remove reimplementation of cl-gensym.
5199 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5200
5201 * thumbs.el: Require cl-lib at run-time too.
5202 (thumbs-gensym-counter, thumbs-gensym):
5203 Remove reimplementation of cl-gensym.
5204 (thumbs-temp-file): Use cl-gensym.
5205
a19b3c2d
GM
5206 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5207 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5208 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5209 (ert--union, ert--gensym-counter, ert--gensym-counter)
5210 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5211 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5212 (ert-make-test-unbound, ert--expand-should-1)
5213 (ert--expand-should, ert--should-error-handle-error)
5214 (should-error, ert--explain-equal-rec)
5215 (ert--plist-difference-explanation, ert-select-tests)
5216 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5217 Use cl-lib functions rather than reimplementations.
5218
88f6a933
MA
52192013-07-11 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp.el (tramp-methods): Extend docstring.
5222 (tramp-connection-timeout): New defcustom.
5223 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5224 (with-tramp-progress-reporter): Simplify.
5225 (tramp-process-actions): Improve messages.
5226
5227 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5228 * net/tramp-sh.el (tramp-maybe-open-connection):
5229 Use `tramp-connection-timeout'.
5230 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5231 (Bug#14808)
5232
a43d577e
LL
52332013-07-11 Leo Liu <sdl.web@gmail.com>
5234
5235 * ido.el (ido-read-file-name): Conform to the requirements of
5236 read-file-name. (Bug#11861)
5237 (ido-read-directory-name): Conform to the requirements of
5238 read-directory-name.
5239
d77974bf
JB
52402013-07-11 Juanma Barranquero <lekktu@gmail.com>
5241
5242 * subr.el (delay-warning): New function.
5243
35cb8a3e
EZ
52442013-07-10 Eli Zaretskii <eliz@gnu.org>
5245
5246 * simple.el (default-line-height): New function.
5247 (line-move-partial, line-move): Use it instead of computing the
5248 line height inline.
5249 (line-move-partial): Always compute ROWH. If the last line is
5250 partially-visible, but its text is completely visible, allow
5251 cursor to enter such a partially-visible line.
5252
525c5c77
MA
52532013-07-10 Michael Albinus <michael.albinus@gmx.de>
5254
5255 Improve error messages. (Bug#14808)
5256
5257 * net/tramp.el (tramp-current-connection): New defvar, moved from
5258 tramp-sh.el.
0ac26976 5259 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5260 needed anymore.
0ac26976
SM
5261 (tramp-error-with-buffer): Show message in minibuffer.
5262 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5263 (with-tramp-progress-reporter): Improve messages.
5264 (tramp-process-actions): Use progress reporter. Delete process in
5265 case of error. Improve messages.
5266
763a086d
JB
5267 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5268 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5269 (tramp-current-connection): Remove.
525c5c77
MA
5270 (tramp-maybe-open-connection): The car of
5271 `tramp-current-connection' are the first 3 slots of the vector.
5272
c7a4d368
TZ
52732013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5274
5275 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5276 inside continued strings.
5277
954b166e
PE
52782013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5279
5280 Timestamp fixes for undo (Bug#14824).
5281 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5282
56973319
LL
52832013-07-10 Leo Liu <sdl.web@gmail.com>
5284
5285 * files.el (require-final-newline): Allow safe local value.
5286 (Bug#14834)
5287
5550a72c
LL
52882013-07-09 Leo Liu <sdl.web@gmail.com>
5289
5290 * ido.el (ido-read-directory-name): Handle fallback.
5291 (ido-read-file-name): Update DIR to ido-current-directory.
5292 (Bug#1516)
c28b9050 5293 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5294
70c46b28
DG
52952013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5296
5297 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5298 "autoload". Remove "warn lower camel case" section, previously
5299 commented out. Highlight negation char. Do not highlight the
5300 target in singleton method definitions.
5301
0b64b838
SM
53022013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5303
7fd72e2c
SM
5304 * faces.el (tty-setup-hook): Declare the hook.
5305
0b64b838
SM
5306 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5307 and detect when a guard/pred depends on local vars (bug#14773).
5308 (pcase--u1): Adjust caller.
5309
ab49d60b
EZ
53102013-07-08 Eli Zaretskii <eliz@gnu.org>
5311
5312 * simple.el (line-move-partial, line-move): Account for
5313 line-spacing.
701d79aa
EZ
5314 (line-move-partial): Avoid setting vscroll when the last
5315 partially-visible line in window is of default height.
ab49d60b 5316
2d756ae0
LMI
53172013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5318
5319 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5320 been used a while.
5321
ed095bd7
JB
53222013-07-07 Juanma Barranquero <lekktu@gmail.com>
5323
5324 * subr.el (read-quoted-char): Remove unused local variable `char'.
5325
f1e6674b
MK
53262013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5327
584ee3fc
GM
5328 * ediff.el (ediff-version): Version update.
5329 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5330 (ediff-merge-with-ancestor-command, ediff-directories-command)
5331 (ediff-directories3-command, ediff-merge-directories-command)
5332 (ediff-merge-directories-with-ancestor-command): New functions.
5333 All are command-line interfaces to ediff: to facilitate calling
5334 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5335
5336 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5337 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5338
584ee3fc
GM
5339 * viper.el (viper-version): Version update.
5340 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5341
584ee3fc
GM
53422013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5345 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5346 (viper-intercept-ESC-key): Simplify.
5347 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5348 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5349 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5350 (viper-setup-ESC-to-escape): New functions.
5351 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5352 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5353
9aff9b38
EZ
53542013-07-07 Eli Zaretskii <eliz@gnu.org>
5355
5165d44a
JB
5356 * simple.el (default-font-height, window-screen-lines):
5357 New functions.
9aff9b38
EZ
5358 (line-move, line-move-partial): Use them instead of
5359 frame-char-height and window-text-height. This makes scrolling
5360 text smoother when the buffer's default face uses a font that is
5361 different from the frame's default font.
5362
1afb1d07
JD
53632013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5364
5365 * files.el (write-file): Do not display confirm dialog for NS,
5366 it does its own dialog, which can't be cancelled (Bug#14578).
5367
23de972a
EZ
53682013-07-06 Eli Zaretskii <eliz@gnu.org>
5369
5370 * simple.el (line-move-partial): Adjust the row returned by
5371 posn-at-point for the current window-vscroll. (Bug#14567)
5372
54a42486
MA
53732013-07-06 Michael Albinus <michael.albinus@gmx.de>
5374
5375 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5376 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5377 spaces.
5378
34ada5f4
MR
53792013-07-06 Martin Rudalics <rudalics@gmx.at>
5380
5381 * window.el (window-state-put-stale-windows): New variable.
5382 (window--state-put-2): Save list of windows without matching buffer.
5383 (window-state-put): Remove "bufferless" windows if possible.
5384
11e03d89
JB
53852013-07-06 Juanma Barranquero <lekktu@gmail.com>
5386
5387 * simple.el (alternatives-define): Remove leftover :group keyword.
5388 Tweak docstring.
5389
3504a4be
LL
53902013-07-06 Leo Liu <sdl.web@gmail.com>
5391
5392 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5393 (ido-enable-virtual-buffers): New variable.
5394 (ido-buffer-internal, ido-toggle-virtual-buffers)
5395 (ido-make-buffer-list): Use it.
5396 (ido-exhibit): Support turning on and off virtual buffers
5397 automatically.
5398
61e56e2c
JB
53992013-07-06 Juanma Barranquero <lekktu@gmail.com>
5400
5401 * simple.el (alternatives-define): New macro.
5402
321e1a9c
SM
54032013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * subr.el (read-quoted-char): Use read-key.
5406 (sit-for): Let read-event decode tty input (bug#14782).
5407
d610f6dd
SB
54082013-07-05 Stephen Berman <stephen.berman@gmx.net>
5409
5410 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5411 mode command and externally. Fix various related bugs.
5412 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5413 (todo-delete-file): New command.
5414 (todo-check-file): New function.
5415 (todo-show): Handle external deletion of the file we're trying to
5416 show (bug#14688). Replace called-interactively-p by an optional
5417 prefix argument to avoid problematic interaction with catch form
5418 when byte compiled (bug#14702).
5419 (todo-quit): Handle external deletion of the archive's todo file.
5420 Make sure the buffer that was visiting the archive file is still
5421 live before trying to bury it.
5422 (todo-category-completions): Handle external deletion of any
5423 category completion files.
5424 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5425 of todo files, in case of external deletion.
5426 (todo-add-file): Replace unnecessary setq by let-binding.
5427 (todo-find-archive): Check whether there are any archives.
5428 Replace unnecessary setq by let-binding.
5429 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5430 archive buffer whether or not the archive already exists.
5431 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5432 check if the archive is new; if it is, update list of archives.
5433 (todo-default-todo-file): Allow nil to be a valid value for when
5434 there are no todo files.
5435 (todo-reevaluate-default-file-defcustom): Use corrected definition
5436 of todo-default-todo-file.
5437 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5438 (todo-delete-category, todo-show-categories-table)
5439 (todo-category-number): Clarify comment.
5440 (todo-filter-items): Clarify documentation string.
5441 (todo-show-current-file, todo-display-as-todo-file)
5442 (todo-reset-and-enable-done-separator): Tweak documentation string.
5443 (todo-done-separator): Make separator length window-width, since
5444 bug#2749 is now fixed.
5445
ddbdfd6f
MA
54462013-07-05 Michael Albinus <michael.albinus@gmx.de>
5447
321e1a9c
SM
5448 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5449 Support both "gvfs-monitor-dir" and "inotifywait".
5450 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5451 `tramp-sh-file-notify-process-filter'.
5452 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5453 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5454
96eb829a
LL
54552013-07-05 Leo Liu <sdl.web@gmail.com>
5456
5457 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5458
cf13177e
YM
54592013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5460
5461 * frame.el (display-pixel-height, display-pixel-width)
5462 (display-mm-height, display-mm-width): Mention behavior on
5463 multi-monitor setups in docstrings.
5464 (w32-display-monitor-attributes-list): Declare function.
5465 (display-monitor-attributes-list): Use it.
5466
864c58ca
MA
54672013-07-04 Michael Albinus <michael.albinus@gmx.de>
5468
5469 * filenotify.el: New package.
5470
5471 * autorevert.el (top): Require filenotify.el.
5472 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5473 instead.
5474 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5475 (auto-revert-notify-handler): Use `file-notify-*' functions.
5476
5477 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5478
321e1a9c
SM
5479 * net/tramp.el (tramp-file-name-for-operation):
5480 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5481
5482 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5483 for `file-notify-add-watch' and `file-notify-rm-watch'.
5484 (tramp-process-sentinel): Improve trace.
5485 (tramp-sh-handle-file-notify-add-watch)
5486 (tramp-sh-file-notify-process-filter)
5487 (tramp-sh-handle-file-notify-rm-watch)
5488 (tramp-get-remote-inotifywait): New defuns.
5489
96673afe
JL
54902013-07-03 Juri Linkov <juri@jurta.org>
5491
5492 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5493 call of `occur-read-primary-args' to interactive spec.
5494
5495 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5496 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5497
924494f4
MM
54982013-07-03 Matthias Meulien <orontee@gmail.com>
5499
5500 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5501 `Buffer-menu-multi-occur'. Add it to the menu.
5502 (Buffer-menu-mode): Document it in docstring.
5503 (Buffer-menu-multi-occur): New command. (Bug#14673)
5504
56f75efc
DG
55052013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5506
5507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5508 keywords and built-ins.
5509
9b057d61
GM
55102013-07-03 Glenn Morris <rgm@gnu.org>
5511
208dee4d
GM
5512 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5513
9b057d61
GM
5514 Make info-xref checks case-sensitive by default
5515 * info.el (Info-find-node, Info-find-in-tag-table)
5516 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5517 Add option for exact case matching of nodes.
5518 * info-xref.el (info-xref): New custom group.
5519 (info-xref-case-fold): New option.
5520 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5521
e01aa29c
LL
55222013-07-03 Leo Liu <sdl.web@gmail.com>
5523
5524 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5525
3086ca2e
DG
55262013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5527
5528 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5529 middle of block statement initially, lower the depth. Remove
5530 FIXME comment, not longer valid. Remove middle of block statement
5531 detection, no need to do that anymore since we've been using
5532 `ruby-parse-region' here.
5533
a3b49114
JD
55342013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5535
5536 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5537
08e5c823 55382013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5539
5540 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5541
2addf922
JB
55422013-07-01 Juanma Barranquero <lekktu@gmail.com>
5543
5544 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5545 (desktop-restore-in-current-display): New customization option.
5546 (desktop--excluded-frame-parameters): Add `font'.
5547 (desktop--save-frames): Rename from desktop--save-windows.
5548 (desktop--restore-in-this-display-p): New function.
5549 (desktop--make-full-frame): Remove unwanted width/height from
5550 full(width|height) frames.
5551 (desktop--restore-frames): Rename from desktop--restore-windows.
5552 Obey desktop-restore-current-display. Do not delete old frames or
5553 select a new frame unless we were able to restore at least one frame.
5554
ef099a94
MN
55552013-06-30 Michal Nazarewicz <mina86@mina86.com>
5556
5557 * files.el (find-file-noselect): Simplify conditional expression.
5558
5559 * remember.el (remember-append-to-file):
5560 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5561
5562 Add `remember-notes' function to store random notes across Emacs
5563 restarts.
5564 * remember.el (remember-data-file): Add :set callback to affect
5565 notes buffer (if any).
5566 (remember-notes): New command.
5567 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5568 New defcustoms for the `remember-notes' function.
5569 (remember-notes-save-and-bury-buffer): New command.
5570 (remember-notes-mode-map): New variable.
5571 (remember-mode): New minor mode.
5572 (remember-notes--kill-buffer-query): New function.
5573 * startup.el (initial-buffer-choice): Add notes to custom type.
5574
0865d506
EZ
55752013-06-30 Eli Zaretskii <eliz@gnu.org>
5576
0ba54312
EZ
5577 * bindings.el (right-char, left-char): Don't call sit-for, this is
5578 no longer needed. Use arithmetic comparison only for numerical
5579 arguments.
5580
ef099a94
MN
5581 * international/mule-cmds.el (select-safe-coding-system):
5582 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5583
2fae38e5
LMI
55842013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5585
5586 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5587 progression on degenerate tables.
ef099a94 5588 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5589
a47cbd64
JB
55902013-06-30 Juanma Barranquero <lekktu@gmail.com>
5591
5592 Some fixes and improvements for desktop frame restoration.
5593 It is still experimental and disabled by default.
5594 * desktop.el (desktop--save-windows): Put the selected frame at
5595 the head of the list.
5596 (desktop--make-full-frame): New function.
5597 (desktop--restore-windows): Try to re-select the frame that was
5598 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5599 just show an error message and continue. Set up maximized frames
5600 so they have default non-maximized dimensions.
a47cbd64 5601
6dbafa30
DG
56022013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5603
ef099a94
MN
5604 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5605 Don't start heredoc inside a string or comment.
6dbafa30 5606
4c672a0f
EZ
56072013-06-29 Eli Zaretskii <eliz@gnu.org>
5608
5609 * bindings.el (visual-order-cursor-movement): New defcustom.
5610 (right-char, left-char): Provide visual-order cursor motion by
5611 calling move-point-visually. Update the doc strings.
5612
50960f36
KH
56132013-06-28 Kenichi Handa <handa@gnu.org>
5614
5615 * international/mule.el (define-coding-system): New coding system
5616 properties :inhibit-null-byte-detection,
5617 :inhibit-iso-escape-detection, and :prefer-utf-8.
5618 (set-buffer-file-coding-system): If :charset-list property of
5619 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5620 appropriate for setting.
5621
c1ea3abf
JB
5622 * international/mule-cmds.el (select-safe-coding-system):
5623 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5624 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5625
5626 * international/mule-conf.el (prefer-utf-8): New coding system.
5627 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5628 files.
5629
75dbaf9d
IK
56302013-06-28 Ivan Kanis <ivan@kanis.fr>
5631
eadb6068
IK
5632 * net/shr.el (shr-render-region): New function.
5633
75dbaf9d
IK
5634 * net/eww.el: Autoload `eww-browse-url'.
5635
9ea5cf9f
DG
56362013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5637
c1ea3abf
JB
5638 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5639 Adapt to `package-desc-version' being a list.
5640 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5641 archive element.
5642
39c0e36f
JB
56432013-06-27 Juanma Barranquero <lekktu@gmail.com>
5644
5645 New experimental feature to save&restore window and frame setup.
5646 * desktop.el (desktop-save-windows): New defcustom.
5647 (desktop--saved-states): New var.
5648 (desktop--excluded-frame-parameters): New defconst.
5649 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5650 (desktop--restore-windows, desktop--save-windows): New functions.
5651 (desktop-save): Call `desktop--save-windows'.
5652 (desktop-read): Call `desktop--restore-windows'.
5653
7f13406b
LMI
56542013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5655
ef099a94 5656 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5657
1e072639
SB
56582013-06-27 Stephen Berman <stephen.berman@gmx.net>
5659
5660 * info.el (Info-try-follow-nearest-node): Move search for footnote
5661 above search for node name to prevent missing a footnote (bug#14717).
5662
f3e2cbde
SB
56632013-06-27 Stephen Berman <stephen.berman@gmx.net>
5664
5665 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5666
99906aa0
LL
56672013-06-27 Leo Liu <sdl.web@gmail.com>
5668
5669 * net/eww.el (eww-read-bookmarks): Check file size.
5670
539f75f4
SM
56712013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5674 advice--pending if newdef is nil or an autoload (bug#13820).
5675 (advice-mapc): New function.
5676
843571cb
LMI
56772013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5678
5679 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5680 probably.
23a75d7f 5681 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5682 (eww-add-bookmark): New command.
5683 (eww-bookmark-mode): New mode and commands.
a285ce99 5684 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5685 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5686
f2136e1e
GM
56872013-06-26 Glenn Morris <rgm@gnu.org>
5688
eab35f39
GM
5689 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5690 (hfy-size): Handle ttys. (Bug#14668)
5691
f2136e1e
GM
5692 * info-xref.el: Update for Texinfo 5 change in *note format.
5693 (info-xref-node-re, info-xref-note-re): New constants.
5694 (info-xref-check-buffer): Use info-xref-note-re.
5695
a49ff80c
SM
56962013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5697
a343d218
SM
5698 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5699
a49ff80c
SM
5700 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5701 nil terminate the loop (bug#14718).
5702
8308f184
LMI
57032013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5704
5705 * net/eww.el: Rework history traversal. When going forward/back,
5706 put these actions into the history, too, so that they can be
5707 replayed.
26bf2b82 5708 (eww-render): Move the history reset to the correct buffer.
8308f184 5709
ec64c273
JL
57102013-06-25 Juri Linkov <juri@jurta.org>
5711
5712 * files-x.el (modify-dir-local-variable): Change the header comment
5713 in the file with directory local variables. (Bug#14692)
5714
e080a9d7
JL
5715 * files-x.el (read-file-local-variable-value): Add `default'.
5716 (Bug#14710)
5717
bfbc93a1
IK
57182013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5719
5720 * net/eww.el (eww-make-unique-file-name): Create a unique file
5721 name before saving to entering `y' accidentally asynchronously.
5722
57232013-06-25 Ivan Kanis <ivan@kanis.fr>
5724
5725 * net/eww.el (eww-download): New command and keystroke.
5726
16f74f10
LMI
57272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5728
a49ff80c 5729 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5730
5731 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5732 be more consistent with Info and dired.
5733
5734 * net/eww.el (eww-mode-map): Ditto.
5735
12059709
SM
57362013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5739 packages from archives.
5740 (package-archive-contents): Change format; include obsolete packages.
5741 (package-desc): Use `dir' to mark builtin packages.
5742 (package--from-builtin): Set the `dir' field to `builtin'.
5743 (generated-autoload-file, version-control): Declare.
5744 (package-compute-transaction): Change first arg and return value to be
5745 lists of package-descs. Adjust to new package-archive-contents format.
5746 (package--add-to-archive-contents): Adjust to new
5747 package-archive-contents format.
5748 (package-download-transaction): Arg is now a list of package-descs.
5749 (package-install): If `pkg' is a package name, pass it as
5750 a requirement, so it is subject to the usual (e.g. disabled) checks.
5751 (describe-package): Accept package-desc as well.
5752 (describe-package-1): Describe a specific package-desc. Add links to
5753 other package-descs for the same package name.
5754 (package-menu-describe-package): Pass the actual package-desc.
5755 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5756 works correctly.
5757 (package-desc-status): New function.
5758 (package-menu--refresh): New function, extracted
5759 from package-menu--generate.
5760 (package-menu--generate): Use it.
5761 (package-delete): Update package-alist.
5762 (package-menu-execute): Don't call package-initialize.
5763
5764 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5765 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5766 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5767 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5768 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5769 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5770
8bbdea0f
MR
57712013-06-25 Martin Rudalics <rudalics@gmx.at>
5772
5773 * window.el (window--state-get-1): Workaround for bug#14527.
5774 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5775
e82b0991
LMI
57762013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5777
5778 * net/eww.el (eww-back-url): Implement the history by stashing all
5779 the data into a list.
d3f0f918 5780 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5781
c763842b
SM
57822013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5785 for values and use read--expression for expressions (bug#14710).
5786 (read-file-local-variable): Avoid setq.
5787 (read-file-local-variable-mode): Use minor-mode-list.
5788
bceff189
RW
57892013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5790
864c58ca 5791 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5792 for DOI URLs.
5793
45f431c6
RW
57942013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5795
864c58ca 5796 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5797 Update imenu-support when dialect changes.
5798
f42d8237
LL
57992013-06-25 Leo Liu <sdl.web@gmail.com>
5800
5801 * ido.el (ido-read-internal): Allow forward slash on windows.
5802
be549ce6
LMI
58032013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5804
5805 * net/eww.el (eww): Start of strings is \\`, not ^.
5806
71d4c19d
IK
58072013-06-24 Ivan Kanis <ivan@kanis.fr>
5808
5196f88a
IK
5809 * net/shr.el (shr-browse-url): Fix interactive spec.
5810
71d4c19d
IK
5811 * net/eww.el (eww): Add a trailing slash to domain names.
5812
ae36ca55
JB
58132013-06-24 Juanma Barranquero <lekktu@gmail.com>
5814
5815 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5816
0ebd92a3
LMI
58172013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5818
bdaa086b
LMI
5819 * net/shr.el (shr-browse-url): Use an external browser if given a
5820 prefix.
5821
c763842b 5822 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5823
b89fc156
IK
58242013-06-24 Ivan Kanis <ivan@kanis.fr>
5825
5826 * net/eww.el (eww): Work more correctly for file: URLs.
5827 (eww-detect-charset): Allow quoted charsets.
5828 (eww-yank-page-url): New command and keystroke.
5829
18eb4bca
DU
58302013-06-24 Daiki Ueno <ueno@gnu.org>
5831
5832 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5833 file name of gpg executable.
5834 (epg-context-program): New function.
5835 (epg-context-home-directory): New function.
5836 (epg-context-set-program): New function.
5837 (epg-context-set-home-directory): New function.
5838 (epg--start): Use `epg-context-program' instead of
5839 'epg-gpg-program'.
5840 (epg--list-keys-1): Likewise.
5841
6c6268c8
LL
58422013-06-24 Leo Liu <sdl.web@gmail.com>
5843
5844 * ido.el (ido-read-internal): Fix bug#14620.
5845
5e400cb3
JB
58462013-06-23 Juanma Barranquero <lekktu@gmail.com>
5847
5848 * faces.el (face-documentation): Simplify.
5849 (read-face-attribute, tty-find-type, x-resolve-font-name):
5850 Use `string-match-p'.
5851 (list-faces-display): Use `string-match-p'. Simplify.
5852 (face-spec-recalc): Check face to avoid face alias loops.
5853 (read-color): Use `string-match-p' and non-capturing parenthesis.
5854
f3f9606c
LMI
58552013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856
5857 * net/shr.el (shr-rescale-image): Use the new
5858 :max-width/:max-height functionality.
5859
a3ca09b9
IK
58602013-06-23 Ivan Kanis <ivan@kanis.fr>
5861
5862 * net/eww.el (eww-search-prefix): New variable.
5863 (eww): Use it.
f865b474
IK
5864 (eww-external-browser): New variable.
5865 (eww-mode-map): New keystroke.
5866 (eww-browse-with-external-browser): New command.
a3ca09b9 5867
e854cfc7
IK
5868 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5869
18bb9e21
JB
58702013-06-23 Juanma Barranquero <lekktu@gmail.com>
5871
5872 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5873 Don't skip aligning the next header field when padding is 0;
5874 otherwise, field width is not respected unless the title is as
5875 wide as the field.
5876
5b165ade
SM
58772013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * emacs-lisp/package.el (package-el-version): Remove.
5880 (package-process-define-package): Fix inf-loop.
5881 (package-install): Allow symbols as arguments again.
5882
12adebe9
DG
58832013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5884
5885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5886 add some more keyword-like methods.
5887 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5888
388573ee
JB
58892013-06-22 Juanma Barranquero <lekktu@gmail.com>
5890
5891 * bs.el (bs-buffer-show-mark): Make defvar-local.
5892 (bs-mode): Use setq-local.
5893
5894 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5895 (emacs-lock--try-unlocking): Make defvar-local.
5896
4582a01c 58972013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5898
2663dd23
GM
5899 * play/cookie1.el (cookie-apropos): Minor simplification.
5900
3d94f3ad
GM
5901 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5902
f72e2fdb
DG
59032013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5904
5905 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5906 `regexp-opt', it breaks the build during dumping.
5907
73eab938
DG
59082013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5909
c763842b
SM
5910 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5911 Highlight keyword-like methods on Kernel and Module with
73eab938 5912 font-lock-builtin-face.
5cf8176d
DG
5913 (auto-mode-alist): Consolidate different entries into one regexp
5914 and add more *file-s.
73eab938 5915
d26255f6
SB
59162013-06-21 Stephen Berman <stephen.berman@gmx.net>
5917
5918 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5919
5920 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5921 (diary-entry): Use it in the action of this button type instead of
5922 diary-goto-entry.
5923
5924 * calendar/todo-mode.el: New version.
5925 (todo-add-category): Append new category to end of file and give
5926 it the highest number, instead of putting it at the beginning and
5927 giving it 0. Incorporate noninteractive functionality.
5928 (todo-forward-category): Adapt to 1-based category numbering.
5929 Allow skipping over archived categories.
5930 (todo-backward-category): Derive from todo-forward-category.
5931 (todo-backward-item, todo-forward-item): Make noninteractive and
5932 delegate interactive part to new commands. Make sensitive to done items.
5933 (todo-categories): Make value an alist of category names and
5934 vectors of item counts.
5935 (todo-category-beg): Make a defconst.
5936 (todo-category-number): Use 1 instead of 0 as initial value.
5937 (todo-category-select): Make sensitive to overlays, optional item
5938 highlighting and done items.
5939 (todo-delete-item): Make sensitive to overlays and marked and done items.
5940 (todo-edit-item): Make sensitive to overlays and editing of
5941 date/time header optional. Add format checks.
5942 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5943 no-op if point is not on an item. Advertise using todo-edit-quit.
5944 (todo-edit-mode): Make sensitive to new format, font-locking, and
5945 multiple todo files.
5946 (todo-insert-item, todo-insert-item-here): Derive from
5947 todo-basic-insert-item and extend functionality.
5948 (todo-item-end, todo-item-start): Make sensitive to done items.
5949 (todo-item-string): Don't return text properties. Restore point.
5950 (todo-jump-to-category): Make sensitive to multiple todo files and
5951 todo archives. Use extended category completion.
5952 (todo-lower-item, todo-raise-item): Rename to *-priority and
5953 derive from todo-set-item-priority.
5954 (todo-mode): Derive from special-mode. Make sensitive to new
5955 format, font-locking and multiple todo files. Make read-only.
5956 (todo-mode-map): Don't suppress digit keys, so they can supply
5957 prefix arguments. Add many new key bindings.
5958 (todo-prefix): Insert as an overlay instead of file text.
5959 Change semantics from diary date expression to purely visual mark.
5960 (todo-print): Rename to todo-print-buffer. Make buffer display
5961 features printable. Remove option to restrict number of items
5962 printed. Add option to print to file.
5963 (todo-print-function): Rename to todo-print-buffer-function.
5964 (todo-quit): Extend to handle exiting new todo modes.
5965 (todo-remove-item): Make sensitive to overlays.
5966 (todo-save): Extend to buffers of filtered items.
5967 (todo-show): Make sensitive to done items, multiple todo files and
5968 new todo modes. Offer to convert legacy todo file before creating
5969 first new todo file.
5970 (todo-show-priorities): Rename to todo-top-priorities.
5971 Change semantics of value 0.
5972 (todo-top-priorities): Rename to todo-filter-top-priorities,
5973 derive from todo-filter-items and extend functionality.
5974 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5975 and extend functionality to other types of filtered items.
5976 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5977 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5978 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5979 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5980 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5981 (todo-edit-mode-hook, todo-entry-prefix-function)
5982 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5983 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5984 (todo-initials, todo-insert-threshold, todo-item-string-start)
5985 (todo-line-string, todo-menu, todo-mode-hook)
5986 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5987 (todo-print-priorities, todo-remove-separator)
5988 (todo-save-top-priorities-too, todo-string-count-lines)
5989 (todo-string-multiline-p, todo-time-string-format)
5990 (todo-tmp-buffer-name): Remove.
5991 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5992 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5993 (todo-edit-category-diary-inclusion)
5994 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5995 (todo-edit-file, todo-edit-item-date-day)
5996 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5997 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5998 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5999 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6000 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6001 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6002 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6003 (todo-filter-top-priorities-multifile, todo-find-archive)
6004 (todo-find-filtered-items-file, todo-go-to-source-item)
6005 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6006 (todo-jump-to-archive-category, todo-lower-category)
6007 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6008 (todo-move-category, todo-move-item, todo-next-button)
6009 (todo-next-item, todo-padded-string, todo-powerset)
6010 (todo-previous-button, todo-previous-item)
6011 (todo-print-buffer-to-file, todo-raise-category)
6012 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6013 (todo-set-category-number, todo-set-item-priority)
6014 (todo-set-top-priorities-in-category)
6015 (todo-set-top-priorities-in-file, todo-show-categories-table)
6016 (todo-sort-categories-alphabetically-or-numerically)
6017 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6018 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6019 (todo-toggle-item-header, todo-toggle-item-highlighting)
6020 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6021 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6022 (todo-unarchive-items, todo-unmark-category): New commands.
6023 (todo-absolute-file-name, todo-add-to-buffer-list)
6024 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6025 (todo-basic-insert-item, todo-category-completions)
6026 (todo-category-number, todo-category-string-matcher-1)
6027 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6028 (todo-check-format, todo-clear-matches)
6029 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6030 (todo-current-category, todo-date-string-matcher)
6031 (todo-define-insertion-command, todo-diary-expired-matcher)
6032 (todo-diary-goto-entry, todo-diary-item-p)
6033 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6034 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6035 (todo-done-item-section-p, todo-done-separator)
6036 (todo-done-string-matcher, todo-files, todo-filter-items)
6037 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6038 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6039 (todo-insert-category-line, todo-insert-item-from-calendar)
6040 (todo-insert-sort-button, todo-insert-with-overlays)
6041 (todo-insertion-command-name, todo-insertion-key-bindings)
6042 (todo-label-to-key, todo-longest-category-name-length)
6043 (todo-make-categories-list, todo-mode-external-set)
6044 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6045 (todo-modes-set-3, todo-multiple-filter-files)
6046 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6047 (todo-read-category, todo-read-date, todo-read-dayname)
6048 (todo-read-file-name, todo-read-time)
6049 (todo-reevaluate-category-completions-files-defcustom)
6050 (todo-reevaluate-default-file-defcustom)
6051 (todo-reevaluate-filelist-defcustoms)
6052 (todo-reevaluate-filter-files-defcustom)
6053 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6054 (todo-reset-done-separator, todo-reset-done-separator-string)
6055 (todo-reset-done-string, todo-reset-global-current-todo-file)
6056 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6057 (todo-reset-prefix, todo-set-categories)
6058 (todo-set-date-from-calendar, todo-set-show-current-file)
6059 (todo-set-top-priorities, todo-short-file-name)
6060 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6061 (todo-total-item-counts, todo-update-buffer-list)
6062 (todo-update-categories-display, todo-update-categories-sexp)
6063 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6064 New functions.
6065 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6066 New major modes.
6067 (todo-categories, todo-display, todo-edit, todo-faces)
6068 (todo-filtered): New defgroups.
6069 (todo-archived-only, todo-button, todo-category-string, todo-date)
6070 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6071 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6072 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6073 (todo-add-item-if-new-category, todo-always-add-time-string)
6074 (todo-categories-align, todo-categories-archived-label)
6075 (todo-categories-category-label, todo-categories-diary-label)
6076 (todo-categories-done-label, todo-categories-number-separator)
6077 (todo-categories-todo-label, todo-categories-totals-label)
6078 (todo-category-completions-files, todo-completion-ignore-case)
6079 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6080 (todo-done-separator-string, todo-done-string)
6081 (todo-files-function, todo-filter-done-items, todo-filter-files)
6082 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6083 (todo-initial-category, todo-initial-file, todo-item-mark)
6084 (todo-legacy-date-time-regexp, todo-mode-line-function)
6085 (todo-nondiary-marker, todo-number-prefix)
6086 (todo-print-buffer-function, todo-show-current-file)
6087 (todo-show-done-only, todo-show-first, todo-show-with-done)
6088 (todo-skip-archived-categories, todo-top-priorities-overrides)
6089 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6090 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6091 New defcustoms.
6092 (todo-category-done, todo-date-pattern, todo-date-string-start)
6093 (todo-diary-items-buffer, todo-done-string-start)
6094 (todo-filtered-items-buffer, todo-item-start)
6095 (todo-month-abbrev-array, todo-month-name-array)
6096 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6097 (todo-top-priorities-buffer): New defconsts.
6098 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6099 (todo-categories-with-marks, todo-category-string-face)
6100 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6101 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6102 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6103 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6104 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6105 (todo-font-lock-keywords, todo-global-current-todo-file)
6106 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6107 (todo-insertion-commands-args)
6108 (todo-insertion-commands-args-genlist)
6109 (todo-insertion-commands-names, todo-insertion-map)
6110 (todo-key-bindings-t, todo-key-bindings-t+a)
6111 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6112 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6113 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6114 (todo-visited): New variables.
6115
cad5d1cb
GM
61162013-06-21 Glenn Morris <rgm@gnu.org>
6117
6118 * play/cookie1.el (cookie-apropos): Add optional display argument.
6119 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6120 (psychoanalyze-pinhead): Use cookie-doctor.
6121
9e277302
JB
61222013-06-21 Juanma Barranquero <lekktu@gmail.com>
6123
6124 * emacs-lisp/package.el (tar-get-file-descriptor)
6125 (tar--extract): Declare.
6126
c5b0993e
EW
61272013-06-21 Eduard Wiebe <usenet@pusto.de>
6128
6129 Extend flymake's warning predicate to be a function (bug#14217).
6130 * progmodes/flymake.el (flymake-warning-predicate): New.
6131 (flymake-parse-line): Use it.
6132 (flymake-warning-re): Make obsolete alias to
6133 `flymake-warning-predicate'.
6134
a7d2d465
SM
61352013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6138 (package-obsolete-list): Remove.
6139 (package-activate): Remove min-version argument. Add `force' argument.
6140 Adjust to new package-alist format.
6141 (package-mark-obsolete): Remove.
6142 (package-unpack): Force reload of the package's autoloads.
6143 (package-installed-p): Check builtins if the installed package is not
6144 recent enough.
6145 (package-initialize): Don't reset package-obsolete-list.
6146 Don't specify which package version to activate.
6147 (package-process-define-package, describe-package-1)
6148 (package-menu--generate): Adjust to new package-alist format.
6149
cedf5c9d
JB
61502013-06-21 Juanma Barranquero <lekktu@gmail.com>
6151
6152 * allout-widgets.el (allout-widgets-mode-off)
6153 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6154 (allout-widgets-post-command-business)
6155 (allout-widgets-after-copy-or-kill-function)
6156 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6157 (allout-decorate-item-and-context)
6158 (allout-graphics-modification-handler): Fix typos in docstrings.
6159 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6160
6161 * cmuscheme.el (scheme-start-file): Doc fix.
6162 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6163 (scheme-input-filter): Use `string-match-p'.
6164
6165 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6166
6167 * dired-x.el: Use Dired consistently in docstrings.
6168
6169 * dired.el: Use Dired consistently in docstrings.
6170 (dired-readin, dired-mode): Use `setq-local'.
6171 (dired-switches-alist): Make defvar-local.
6172 (dired-buffers-for-dir): Use `zerop'.
6173 (dired-safe-switches-p, dired-switches-escape-p)
6174 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6175 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6176 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6177 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6178 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6179 (dired-toggle-marks, dired-mark-files-containing-regexp)
6180 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6181 (dired-flag-auto-save-files, dired-flag-backup-files):
6182 Use `looking-at-p'.
6183 (dired-mark-files-regexp, dired-build-subdir-alist):
6184 Use `string-match-p', `looking-at-p'.
6185
6186 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6187 (direct-print-region-helper): Use `string-match-p'.
6188
aed838b5
LL
61892013-06-21 Leo Liu <sdl.web@gmail.com>
6190
cedf5c9d
JB
6191 * comint.el (comint-redirect-results-list-from-process):
6192 Fix infinite loop.
aed838b5 6193
d80a808f
LMI
61942013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195
6196 * net/eww.el (eww-update-header-line-format): Quote % characters.
6197
e7a526e3
GM
61982013-06-21 Glenn Morris <rgm@gnu.org>
6199
6200 * play/cookie1.el (cookie): New custom group.
6201 (cookie-file): New option.
6202 (cookie-check-file): New function.
6203 (cookie): Make it interactive. Make start and end messages optional.
6204 Interactively, display the result. Default to cookie-file.
6205 (cookie-insert): Default to cookie-file.
6206 (cookie-snarf): Make start and end messages optional.
6207 Default to cookie-file. Use with-temp-buffer.
6208 (cookie-read): Rename from read-cookie.
6209 Make start and end messages optional. Default to cookie-file.
6210 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6211 Do not autoload it.
e7a526e3
GM
6212 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6213 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6214
62efb35e
LL
62152013-06-21 Leo Liu <sdl.web@gmail.com>
6216
6217 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6218
21e3f963
GM
62192013-06-21 Glenn Morris <rgm@gnu.org>
6220
6221 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6222
fd846ab4
SM
62232013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6224 Daniel Hackney <dan@haxney.org>
6225
6226 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6227 Consolidate the single-file vs tarball code.
6228 (package-desc-suffix): New function.
6229 (package-desc-full-name): Don't bother inlining it.
6230 (package-load-descriptor): Return the new package-desc.
6231 (package-mark-obsolete): Remove unused arg `package'.
6232 (package-unpack): Make it work for single files as well.
6233 Make it update package-alist.
6234 (package--make-autoloads-and-stuff): Rename from
6235 package--make-autoloads-and-compile. Don't compile any more.
6236 (package--compile): New function.
6237 (package-generate-description-file): New function, extracted from
6238 package-unpack-single.
6239 (package-unpack-single): Remove.
6240 (package--with-work-buffer): Add indentation and debugging info.
6241 (package-download-single): Remove.
6242 (package-install-from-archive): Rename from package-download-tar, make
6243 it take a pkg-desc, and make it work for single files as well.
6244 (package-download-transaction): Simplify.
6245 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6246 external tar program.
6247 (package-install-from-buffer): Remove `pkg-desc' argument.
6248 Use package-tar-file-info for tar-mode buffers.
6249 (package-install-file): Simplify accordingly.
6250 (package-archive-base): Change to take a pkg-desc.
6251 * tar-mode.el (tar--check-descriptor): New function, extracted from
6252 tar-get-descriptor.
6253 (tar-get-descriptor): Use it.
6254 (tar-get-file-descriptor): New function.
6255 (tar--extract): New function, extracted from tar-extract.
6256 (tar--extract): Use it.
6257 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6258 case the summary uses non-ascii. Adjust to new calling convention of
6259 package-tar-file-info.
6260
b7deae5e
LL
62612013-06-21 Leo Liu <sdl.web@gmail.com>
6262
fd846ab4
SM
6263 * comint.el (comint-redirect-results-list-from-process):
6264 Fix random delay. (Bug#14681)
b7deae5e 6265
7a65a0b2
JB
62662013-06-21 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * profiler.el (profiler-format-number): Use log, not log10.
6269
1493c2af
JB
62702013-06-20 Juanma Barranquero <lekktu@gmail.com>
6271
6272 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6273
aff6371e
SM
62742013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6277 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6278 yet available.
6279 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6280 (AUTOGENEL): ... here.
6281 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6282 (cl--defsubst-expand): Use it.
6283
89561f72
PE
62842013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6285
6286 * subr.el (log10): Move here from C code, and declare as obsolete.
6287 All uses of (log10 X) replaced with (log X 10).
6288
47199123
JB
62892013-06-20 Juanma Barranquero <lekktu@gmail.com>
6290
6291 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6292 Declare with `defvar-local'.
6293 (tabulated-list-use-header-line, tabulated-list-entries)
6294 (tabulated-list-padding, tabulated-list-printer)
6295 (tabulated-list-sort-key): Declare with `defvar-local'.
6296 (tabulated-list-init-header, tabulated-list-print-fake-header):
6297 Use `setq-local'.
6298
4a172eab
MA
62992013-06-20 Michael Albinus <michael.albinus@gmx.de>
6300
47199123
JB
6301 * arc-mode.el (archive-mode): Add `archive-write-file' to
6302 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6303
5fc0acc0
JB
63042013-06-20 Juanma Barranquero <lekktu@gmail.com>
6305
d5b27848
JB
6306 * cus-edit.el (custom-commands): Fix typos.
6307 (custom-display): Fix tooltip text.
6308 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6309 Fix typos in docstrings.
6310 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6311 (custom-unlispify-menu-entry, custom-magic-value-create)
6312 (custom-add-see-also, custom-group-value-create): Use ?\s.
6313 (custom-guess-type, customize-apropos, editable-field)
6314 (custom-face-value-create): Use `string-match-p'.
6315 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6316
6317 * custom.el (custom-load-symbol): Use `string-match-p'.
6318
a5c581d8
JB
6319 * ansi-color.el: Convert to lexical binding.
6320 (ansi-colors): Fix URL.
6321 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6322 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6323 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6324
970ad972
G
63252013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6326
6327 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6328
6329 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6330
63312013-06-19 Tom Tromey <tromey@redhat.com>
6332
6333 * net/eww.el (eww-top-url): Remove.
6334 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6335 (eww-render): Set new variables. Don't set eww-top-url.
6336 (eww-handle-link): Handle "prev", "home", and "contents".
6337 Downcase the rel text.
6338 (eww-top-url): Choose best top URL.
6339
63402013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6341
6342 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6343 relying in widget.el. Using widget.el leads to too many
6344 user interface inconsistencies.
6345 (eww-self-insert): Implement entering commands in text fields.
6346 (eww-process-text-input): New function to make text input field editing
6347 work.
6348 (eww-submit): Rewrite to use the new-style form methods.
6349 (eww-select-display): Display the correct selected item.
6350 (eww-change-select): Implement changing the select value.
6351 (eww-toggle-checkbox): Implement radio/checkboxes.
6352 (eww-update-field): Fix compilation error.
6353 (eww-tag-textarea): Implement <textarea>.
6354
6355 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6356 we don't shadow mode-specific bindings.
6357
6358 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6359 nothing to push.
6360
6361 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6362
4582a01c 63632013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6364
6365 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6366
15b263dc
MA
63672013-06-19 Michael Albinus <michael.albinus@gmx.de>
6368
6369 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6370 not needed.
6371
6372 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6373
8f5297f7
LMI
63742013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6375
6376 * net/browse-url.el (browse-url-browser-function):
6377 `eww-browse-url' has the right calling signature, `eww' does not.
6378
011c4552
GM
63792013-06-19 Glenn Morris <rgm@gnu.org>
6380
2285bd27
GM
6381 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6382 Only eval autoloaded macros.
6383 (byte-compile-autoload): Only give the macro warning for macros.
6384
1d653303
GM
6385 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6386 (ps-underlined-faces): Declare.
6387
bdd779ec
GM
6388 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6389 (speedbar-add-supported-extension): Declare.
6390
011c4552
GM
6391 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6392 Don't include a date stamp in the header of the generated file;
6393 it leads to needless differences between output files.
6394
e59dfb0e
MA
63952013-06-19 Michael Albinus <michael.albinus@gmx.de>
6396
c763842b
SM
6397 * net/secrets.el (secrets-struct-secret-content-type):
6398 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6399 Some servers do not offer introspection.
e59dfb0e 6400
102626e2
SM
64012013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * electric.el (electric-pair-mode): Improve interaction with
6404 electric-layout-mode.
6405 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6406 (electric-pair-syntax): Use text-mode-syntax-table in comments
6407 and strings.
6408 (electric-pair--insert): New function.
6409 (electric-pair-post-self-insert-function): Use it and
6410 electric--after-char-pos.
6411
ad528125
LL
64122013-06-19 Leo Liu <sdl.web@gmail.com>
6413
6414 * progmodes/octave.el (octave-help): Fix regexp.
6415
924d6997
G
64162013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417
6418 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6419 (shr-table-horizontal-line): Allow nil as a value, and change the
6420 default.
6421 (shr-insert-table-ruler): Respect the nil value.
6422
64232013-06-18 Tom Tromey <tromey@barimba>
6424
6425 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6426 New defvars.
6427 (eww-open-file): New defun.
6428 (eww-render): Initialize new variables.
6429 (eww-display-html): Handle "link" and "a".
6430 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6431 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6432 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6433 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6434 New defuns.
924d6997 6435
d1bbba4f
DG
64362013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6437
6438 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6439 Distinguish ternary operator tokens from slash symbol and slash
6440 char literal.
6441
14dd22d2
JB
64422013-06-18 Juanma Barranquero <lekktu@gmail.com>
6443
6444 Convert symbol prettification into minor mode and global minor mode.
6445
6446 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6447 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6448 (prettify-symbols--keywords): Rename from
6449 `prog-prettify-symbols-alist' and make a local defvar.
6450 (prettify-symbols--compose-symbol): Rename from
6451 `prog--prettify-font-lock-compose-symbol'.
6452 (prettify-symbols--make-keywords): Rename from
6453 `prog-prettify-font-lock-symbols-keywords' and simplify.
6454 (prog-prettify-install): Remove.
6455 (prettify-symbols-mode): New minor mode, based on
6456 `prog-prettify-install'.
6457 (turn-on-prettify-symbols-mode): New function.
6458 (global-prettify-symbols-mode): New globalized minor mode.
6459
6460 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6461 * progmodes/cfengine.el (cfengine3-mode):
6462 * progmodes/perl-mode.el (perl-mode): Don't call
6463 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6464
292c880c
JL
64652013-06-18 Juri Linkov <juri@jurta.org>
6466
6467 * files-x.el (modify-file-local-variable-message): New function.
6468 (modify-file-local-variable)
6469 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6470 and call `modify-file-local-variable-message' when it's non-nil.
6471 (add-file-local-variable, delete-file-local-variable)
6472 (add-file-local-variable-prop-line)
6473 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6474 and use it. (Bug#9820)
6475
0950aa27
JL
64762013-06-18 Juri Linkov <juri@jurta.org>
6477
6478 * emulation/vi.el (vi-shell-op):
6479 * emulation/vip.el (vip-execute-com, ex-command):
6480 * emulation/viper-cmd.el (viper-exec-bang):
6481 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6482 the call of `shell-command-on-region'. (Bug#14637)
6483
6484 * simple.el (shell-command-on-region): Doc fix.
6485
8fbcca16
SM
64862013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6489 (bug#14633).
6490
dd7426ea
GM
64912013-06-18 Glenn Morris <rgm@gnu.org>
6492
4ba54f7d
GM
6493 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6494
dd7426ea
GM
6495 * newcomment.el (comment-search-forward, comment-search-backward):
6496 Doc fix. (Bug#14376)
6497
58aa805b
JB
64982013-06-18 Juanma Barranquero <lekktu@gmail.com>
6499
6500 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6501 (buffer-face-mode-invoke): Doc fix.
6502
9a08a617
MM
65032013-06-18 Matthias Meulien <orontee@gmail.com>
6504
6505 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6506 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6507
f2f426ca
GM
65082013-06-18 Glenn Morris <rgm@gnu.org>
6509
9445f99b
GM
6510 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6511 Replace obsolete function generic-make-keywords with its expansion.
6512
e0df2d14
GM
6513 * progmodes/python.el (ffap-alist): Declare.
6514
f2f426ca
GM
6515 * textmodes/reftex.el (bibtex-mode-map): Declare.
6516
f7f9a720
SM
65172013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6520 (package-unpack, package-unpack-single): Return the pkg-dir.
6521 (package-download-transaction): Use it to update package-alist.
6522
57ff04e0
LMI
65232013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6524
6525 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6526 possible choice.
6527
c048c022
JL
65282013-06-17 Juri Linkov <juri@jurta.org>
6529
6530 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6531
b5bcaee5
DG
65322013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6533
a020afb9
JB
6534 * emacs-lisp/package.el (package-load-descriptor):
6535 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6536 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6537
551e07e5
JB
65382013-06-17 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * startup.el (command-line): Expand package name returned by
6541 `package--description-file' (bug#14639).
6542
d363bffb
DG
65432013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6544
6545 * emacs-lisp/package.el (package-load-descriptor): Do not call
6546 `emacs-lisp-mode', just use its syntax table.
6547
f612933b
JB
65482013-06-17 Juanma Barranquero <lekktu@gmail.com>
6549
6550 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6551 `font-lock-extra-managed-props' if any prettifying keyword is added.
6552 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6553 (prog-mode): Use `setq-local'.
6554
db3b7db5
SM
65552013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * international/characters.el (standard-case-table): Set syntax of ?»
6558 and ?« to punctuation.
6559
f3d674df
JB
65602013-06-16 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6563 Save relevant match data before calling `syntax-ppss' (bug#14595).
6564
31489a32
JL
65652013-06-15 Juri Linkov <juri@jurta.org>
6566
6567 * files-x.el (modify-file-local-variable-prop-line): Add local
6568 variables to the end of the existing comment on the first line.
6569 Use `file-auto-mode-skip' to skip interpreter magic line,
6570 and also skip XML declaration.
6571
66bd25ab
SM
65722013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * startup.el (package--builtin-versions): New var.
6575 (package-subdirectory-regexp): Remove.
6576 (package--description-file): Hard code its value instead.
6577
6578 * emacs-lisp/package.el: Don't activate packages older than builtin.
6579 (package-obsolete-list): Rename from package-obsolete-alist, and make
6580 it into a simple list of package-desc.
6581 (package-strip-version): Remove.
6582 (package-built-in-p): Use package--builtin-versions.
6583 (package-mark-obsolete): Simplify.
6584 (package-process-define-package): Mark it obsolete if older than the
6585 builtin version.
6586 (package-handle-response): Use line-end-position.
6587 (package-read-archive-contents, package--download-one-archive):
6588 Simplify.
6589 (package--add-to-archive-contents): Skip if older than the builtin or
6590 installed version.
6591 (package-menu-describe-package): Fix last change.
6592 (package-list-unversioned): New var.
6593 (package-menu--generate): Use it.
6594
6595 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6596 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6597 (autoload-builtin-package-versions): New variable.
6598 (autoload-generate-file-autoloads): Use them.
6599 Remove the list of autoloaded functions/macros from the
6600 (autoload...) comments.
6601
6602 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6603
9583ec36
EZ
66042013-06-15 Eli Zaretskii <eliz@gnu.org>
6605
6606 * simple.el (line-move-partial): Don't jump to the next screen
6607 line as soon as it becomes visible. Instead, continue enlarging
6608 the vscroll until the portion of a tall screen line that's left on
6609 display is about the height of the frame's default font.
6610 (Bug#14567)
6611
f0100d8a
GM
66122013-06-15 Glenn Morris <rgm@gnu.org>
6613
b86a85ca
GM
6614 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6615 compilation-error-regexp-alist void, or local while let-bound.
6616
f0100d8a
GM
6617 * progmodes/make-mode.el (makefile-mode-syntax-table):
6618 Treat "=" as punctuation. (Bug#14614)
6619
05e7ce90
JB
66202013-06-15 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * help-fns.el (describe-variable):
6623 Add extra line for permanent-local variables.
6624
12e5e86e
SH
66252013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6626
6627 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6628 Add export, import, library. (Bug#9164)
6629 (library): Set indent function.
6630
230dcbaf
GM
66312013-06-14 Glenn Morris <rgm@gnu.org>
6632
6633 * term/xterm.el (xterm--query):
6634 Stop after first matching handler. (Bug#14615)
6635
e36b2d20 66362013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6637
6638 Add support for dired in saveplace.
6639 * dired.el (dired-initial-position-hook): New variable.
6640 (dired-initial-position): Call hook to place cursor position.
6641 * saveplace.el (save-place-to-alist): Add dired position.
6642 (save-place-dired-hook): New function.
6643
0b31660d
SM
66442013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6645
bf1e6ae8
SM
6646 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6647 through a symbol rather than letrec.
6648
1b8dff23
SM
6649 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6650 (package-desc): Add `dir' field.
6651 (package-desc-full-name): New function.
6652 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6653 (package-maybe-load-descriptor): Remove.
6654 (package-load-all-descriptors): Just call package-load-descriptor.
6655 (package--disabled-p): New function.
6656 (package-desc-vers, package-desc-doc): Remove aliases.
6657 (package--dir): Remove function.
6658 (package-activate): Check if a package is disabled.
6659 (package-process-define-package): New function, extracted from
6660 define-package.
6661 (define-package): Turn into a place holder.
6662 (package-unpack-single, package-tar-file-info):
6663 Use package--description-file.
6664 (package-compute-transaction): Use package--disabled-p.
6665 (package-download-transaction): Don't call
6666 package-maybe-load-descriptor since they're all loaded anyway.
6667 (package-install): Change argument to be a pkg-desc.
6668 (package-delete): Use a single pkg-desc argument.
6669 (describe-package-1): Use package-desc-dir instead of package--dir.
6670 Use package-desc property instead of package-symbol.
6671 (package-install-button-action): Adjust accordingly.
6672 (package--push): Rewrite.
6673 (package-menu--print-info): Adjust accordingly. Change the ID format
6674 to be a pkg-desc.
6675 (package-menu-describe-package, package-menu-get-status)
6676 (package-menu--find-upgrades, package-menu-mark-upgrades)
6677 (package-menu-execute, package-menu--name-predicate):
6678 Adjust accordingly.
6679 * startup.el (package--description-file): New function.
6680 (command-line): Use it.
6681 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6682 Use package-desc-version.
6683
0b31660d
SM
6684 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6685 (byte-compile-preprocess): Use it.
6686 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6687 can't quite recognize.
6688 (byte-compile-add-to-list): Remove.
6689 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6690 (cconv-closure-convert): Add assertion.
6691
6692 * emacs-lisp/map-ynp.el: Use lexical-binding.
6693 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6694 Factor out some repeated code.
6695
de0503df
SM
66962013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * subr.el (with-eval-after-load): New macro.
6699 (eval-after-load): Allow form to be a function.
6700 take advantage of lexical-binding.
6701 (do-after-load-evaluation): Use dolist and adjust to new format.
6702 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6703
bc5c8c5a
JL
67042013-06-13 Juri Linkov <juri@jurta.org>
6705
6706 * replace.el (perform-replace): Display "symbol " and other search
6707 modes from `isearch-message-prefix' in the *Help* buffer.
6708
6709 * isearch.el (isearch-query-replace): Add " symbol" and other
6710 possible search modes from `isearch-message-prefix' to the prompt.
6711 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6712 when reading a regexp to collect.
6713
a22289f7
JL
67142013-06-13 Juri Linkov <juri@jurta.org>
6715
6716 * isearch.el (word-search-regexp): Match whitespace if the search
6717 string begins or ends in whitespace. The LAX arg is applied to
6718 both ends of the search string. Use `regexp-quote' and explicit
6719 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6720 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6721 boundaries are replaced with symbol boundaries, and characters
6722 between symbols match non-word non-symbol syntax. (Bug#14602)
6723
cb89acab
JL
67242013-06-13 Juri Linkov <juri@jurta.org>
6725
6726 * isearch.el (isearch-del-char): Don't exceed the length of
6727 `isearch-string' by the prefix arg. (Bug#14563)
6728
6e8cfc81
JL
67292013-06-13 Juri Linkov <juri@jurta.org>
6730
6731 * isearch.el (isearch-yank-word, isearch-yank-line)
6732 (isearch-char-by-name, isearch-quote-char)
6733 (isearch-printing-char, isearch-process-search-char):
6734 Add optional count prefix arg. (Bug#14563)
6735
6736 * international/isearch-x.el
6737 (isearch-process-search-multibyte-characters):
6738 Add optional count prefix arg.
6739
c23d55f4
VS
67402013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6743 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6744 lexical-binding.
6745
67462013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6747
6748 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6749
ba947bc4
GM
67502013-06-13 Glenn Morris <rgm@gnu.org>
6751
8baeb37a
GM
6752 * startup.el (tty-handle-args):
6753 Don't just discard "--" and anything after. (Bug#14608)
6754
ba947bc4
GM
6755 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6756
9abefce4
MA
67572013-06-13 Michael Albinus <michael.albinus@gmx.de>
6758
6759 Implement changes in Secret Service API. Make it backward compatible.
6760 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6761 (secrets-create-item): Use it. Prefix properties with interface.
6762
5755011f
MH
67632013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6764
6765 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6766 (term-emulate-terminal): Respect term-suppress-hard-newline.
6767
1261d2da
S
67682013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6769
6770 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6771 Only remove a `thumb-file' overlay. (Bug#14548)
6772
868490bb
GJ
67732013-06-12 Grégoire Jadi <daimrod@gmail.com>
6774
6775 * mail/reporter.el (reporter-submit-bug-report):
6776 Handle missing package-name. (Bug#14600)
6777
79d7167f
TH
67782013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6779
6780 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6781 (reftex-citation-prompt, reftex-default-bibliography)
6782 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6783 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6784 (reftex-bib-sort-author, reftex-bib-sort-year)
6785 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6786 (reftex-extract-bib-entries-from-thebibliography)
6787 (reftex-get-bibkey-default, reftex-get-bib-names)
6788 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6789 (reftex-format-bib-entry, reftex-parse-bibitem)
6790 (reftex-format-bibitem, reftex-do-citation)
6791 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6792 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6793 (reftex-insert-bib-matches, reftex-format-citation)
6794 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6795 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6796 existing comments into docstrings.
6797
5f9dbd7a
XF
67982013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6799
6800 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6801
94df41ab
AS
68022013-06-12 Andreas Schwab <schwab@suse.de>
6803
6804 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6805 for auto-save files.
6806
a7f3fecc
GM
68072013-06-12 Glenn Morris <rgm@gnu.org>
6808
001809f6
GM
6809 * ido.el (ido-delete-ignored-files): Remove.
6810 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6811 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6812
834b5ded
EL
68132013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6814
08c73ed2
EL
6815 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6816
834b5ded
EL
6817 * ido.el (ido-delete-ignored-files): New function,
6818 split from ido-make-file-list-1.
6819 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6820 (ido-make-file-list-1): Use ido-delete-ignored-files.
6821
daabf15a
LL
68222013-06-12 Leo Liu <sdl.web@gmail.com>
6823
6824 * progmodes/octave.el (inferior-octave-startup)
6825 (inferior-octave-completion-table)
6826 (inferior-octave-track-window-width-change)
6827 (octave-eldoc-function-signatures, octave-help)
6828 (octave-find-definition): Use single quoted strings.
6829 (inferior-octave-startup-args): Change default value.
6830 (inferior-octave-startup): Do not hard code "-i" and
6831 "--no-line-editing".
6832 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6833 (inferior-octave-directory-tracker): Use it.
6834 (octave-goto-function-definition): Robustify.
6835 (octave-help): Support highlighting operators in 'See also'.
6836 (octave-find-definition): Find subfunctions only in Octave mode.
6837
cf4e5178
SM
68382013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * help-fns.el (help-fns--compiler-macro): If the handler function is
6841 named, then put a link to it.
6842 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6843 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6844 (cl-typep): Use it.
6845 (cl-eval-when): Simplify debug spec.
6846 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6847 compiler-macro function instead of setting `compiler-macro-file'.
6848
99c81280 68492013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6850
6851 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6852 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6853
f56be016
SM
68542013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6855 Daniel Hackney <dan@haxney.org>
6856
6857 First part of Daniel Hackney's patch to package.el.
6858 * emacs-lisp/package.el: Use defstruct.
6859 (package-desc): New, main struct.
6860 (package--bi-desc, package--ac-desc): New structs, used to describe the
6861 format in external files.
6862 (package-desc-vers): Replace with package-desc-version accessor.
6863 (package-desc-doc): Replace with package-desc-summary accessor.
6864 (package-activate-1): Remove `package' arg since the pkg-vec now
6865 includes the name.
6866 (define-package): Use package-desc-from-define.
6867 (package-unpack-single): Change file-name arg to be a symbol.
6868 (package--add-to-archive-contents): Use package-desc-create and new
6869 accessor functions to package--ac-desc.
6870 (package-buffer-info, package-tar-file-info): Return a package-desc.
6871 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6872 arg to be a package-desc.
6873 (package-install-file): Adjust accordingly. Use \' to match EOS.
6874 (package--from-builtin): New function.
6875 (describe-package-1, package-menu--generate): Use it.
6876 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6877 (package-generate-autoloads): Idem and return the name of the file.
6878 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6879 Change pkg-info arg to be a package-desc.
6880 Use package-make-ac-desc.
6881 (package-upload-file): Use \' to match EOS.
6882 * finder.el (finder-compile-keywords): Use package-make-builtin.
6883
31119d63
SM
68842013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6885
931a2762
SM
6886 * vc/vc.el (vc-deduce-fileset): Change error message.
6887 (vc-read-backend): New function.
6888 (vc-next-action): Use it.
6889
5a3eb0c6
SM
6890 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6891
e3eb1bb7
SM
6892 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6893 (prolog-font-lock-keywords): Use regexp-opt instead.
6894 Don't manually highlight strings.
6895 (prolog-mode-variables): Simplify comment-start-skip.
6896 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6897
31119d63
SM
6898 * emacs-lisp/generic.el (generic--normalise-comments)
6899 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6900 (generic-mode-set-comments): Use them.
6901 (generic-bracket-support): Use setq-local.
6902 (generic-make-keywords-list): Declare obsolete.
6903
7de135d0
GM
69042013-06-11 Glenn Morris <rgm@gnu.org>
6905
6906 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6907 Prettify after setting font-lock-defaults. (Bug#14574)
6908
fa6bc6fd
JB
69092013-06-11 Juanma Barranquero <lekktu@gmail.com>
6910
6911 * replace.el (query-replace, occur-read-regexp-defaults-function)
6912 (replace-search):
6913 * subr.el (declare-function, number-sequence, local-set-key)
6914 (substitute-key-definition, locate-user-emacs-file)
6915 (with-silent-modifications, split-string, eval-after-load):
6916 Fix typos, remove unneeded backslashes and reflow some docstrings.
6917
cf1f9b9a
SM
69182013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6921 default for Elisp files.
6922
56602a4b
GM
69232013-06-11 Glenn Morris <rgm@gnu.org>
6924
6925 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6926 although define-derived-mode was doing this anyway. (Bug#14583)
6927
30ae0b2c
JB
69282013-06-10 Juanma Barranquero <lekktu@gmail.com>
6929
6930 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6931 Fix make-variable-buffer-local call to refer to the correct variable.
6932
fa472906
AG
69332013-06-10 Aidan Gauland <aidalgol@amuri.net>
6934
6935 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6936 (eshell-visual-subcommands, eshell-visual-options):
6937 Add summary line to docstrings. Add cross-references.
fa472906 6938
ff4871b9
GM
69392013-06-10 Glenn Morris <rgm@gnu.org>
6940
6941 * epa.el (epa-read-file-name): New function. (Bug#14510)
6942 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6943
04fcf1b0
AG
69442013-06-09 Aidan Gauland <aidalgol@amuri.net>
6945
6946 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6947 output redirection to be ignored with visual commands.
6948
88b00caa
AG
69492013-06-09 Aidan Gauland <aidalgol@amuri.net>
6950
6951 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6952 (eshell-term-initialize): Move long lambda to separate function
6953 eshell-visual-command-p.
e7b41c4c
JB
6954 * eshell/em-dirs.el (eshell-dirs-initialise):
6955 * eshell/em-script.el (eshell-script-initialize):
6956 Add missing #' to lambda.
88b00caa 6957
fda74125
LL
69582013-06-08 Leo Liu <sdl.web@gmail.com>
6959
6960 * progmodes/octave.el (octave-add-log-current-defun): New function.
6961 (octave-mode): Set add-log-current-defun-function.
6962 (octave-goto-function-definition): Do not move point if not found.
6963 (octave-find-definition): Enhance to try subfunctions first.
6964
467f3b33
GM
69652013-06-08 Glenn Morris <rgm@gnu.org>
6966
6967 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6968 (byte-compile-backward-char, byte-compile-backward-word):
6969 Improve previous change, to handle non-explicit nil.
6970
544badc3
SM
69712013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6974 (smie--opener/closer-at-point): New function.
6975 (smie--matching-block-data): Use it. Don't match from right after an
6976 opener or right before a closer. Obey smie-blink-matching-inners.
6977 Don't signal a mismatch for repeated inners like "switch..case..case".
6978
a175bf33
LL
69792013-06-07 Leo Liu <sdl.web@gmail.com>
6980
6981 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6982 to t. (Bug#14303)
ce8209d4
LL
6983 (octave-function-header-regexp): Fix. (Bug#14570)
6984 (octave-help-mode-finish-hook, octave-help-mode-finish):
6985 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6986
6987 * newcomment.el (comment-search-backward): Revert last change.
6988 (Bug#14434)
6989
6990 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6991
a822acff
EZ
69922013-06-07 Eli Zaretskii <eliz@gnu.org>
6993
6994 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6995 through xargs, to avoid failure due to MS-Windows limitations on
6996 command-line length.
6997
961166f5
GM
69982013-06-06 Glenn Morris <rgm@gnu.org>
6999
d0341459
GM
7000 * font-lock.el (lisp-font-lock-keywords-2):
7001 Treat user-error like error.
7002
961166f5
GM
7003 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7004 (byte-compile-backward-char, byte-compile-backward-word):
7005 Handle explicit nil arguments. (Bug#14565)
7006
80fa505f
AM
70072013-06-05 Alan Mackenzie <acm@muc.de>
7008
7009 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7010 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7011 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7012 (Bug#9706)
80fa505f 7013
fccdc796
SM
70142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * autorevert.el (auto-revert-notify-handler): Use memq.
7017 Hide assertion failure.
7018
7019 * skeleton.el: Use cl-lib.
7020 (skeleton-further-elements): Use defvar-local.
7021 (skeleton-insert): Use cl-progv.
7022
9bfff84b
TZ
70232013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7024
7025 * progmodes/prog-mode.el (prog-prettify-symbols)
7026 (prog-prettify-install): Update docstrings.
7027
55577e7c
SM
70282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * simple.el: Move all the prog-mode code to prog-mode.el.
7031 * progmodes/prog-mode.el: New file.
7032 * loadup.el: Add prog-mode.el.
7033
8fc57765
TZ
70342013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7035
7036 * simple.el (prog-prettify-symbols): Add version.
7037 (prog-prettify-install): Add convenience function to prettify symbols.
7038
7039 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7040 (perl--augmented-font-lock-keywords-1)
7041 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7042 variables and use it.
7043
7044 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7045 (cfengine3-mode): Remove unneeded variable and use it.
7046
7047 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7048 (lisp--augmented-font-lock-keywords-1)
7049 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7050 Remove unneeded variables and use it.
7051
650645d5 70522013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7053
7054 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7055 to point when opening the connection. (Bug#14380)
28f5da6d 7056
781b4af6
SM
70572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * subr.el (load-history-regexp, load-history-filename-element)
7060 (eval-after-load, after-load-functions, do-after-load-evaluation)
7061 (eval-next-after-load, display-delayed-warnings)
7062 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7063 definition of save-match-data.
7064 (overriding-local-map): Remove accidental obsolescence declaration.
7065
7066 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7067
3ca0d0b4
TZ
70682013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7069
7070 Generalize symbol prettify support to prog-mode and implement it
7071 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7072 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7073 (prog--prettify-font-lock-compose-symbol)
7074 (prog-prettify-font-lock-symbols-keywords): New variables and
7075 functions to support symbol prettification.
7076 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7077 (lisp--augmented-font-lock-keywords-1)
7078 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7079 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7080 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7081 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7082 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7083 * progmodes/perl-mode.el (perl-prettify-symbols)
7084 (perl--font-lock-compose-symbol)
7085 (perl--font-lock-symbols-keywords): Move to prog-mode.
7086 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7087 (perl-font-lock-keywords-1)
7088 (perl-font-lock-keywords-2): Remove explicit prettify support.
7089 (perl--augmented-font-lock-keywords)
7090 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7091 (perl--augmented-font-lock-keywords-2, perl-mode):
7092 Implement prettify support.
3ca0d0b4 7093
976cb066
LL
70942013-06-05 Leo Liu <sdl.web@gmail.com>
7095
7096 Re-implement smie matching block highlight using
7097 show-paren-data-function. (Bug#14395)
7098 * emacs-lisp/smie.el (smie-matching-block-highlight)
7099 (smie--highlight-matching-block-overlay)
7100 (smie--highlight-matching-block-lastpos)
7101 (smie-highlight-matching-block)
7102 (smie-highlight-matching-block-mode): Remove.
7103 (smie--matching-block-data-cache): New variable.
7104 (smie--matching-block-data): New function.
7105 (smie-setup): Use smie--matching-block-data for
7106 show-paren-data-function.
7107
7108 * progmodes/octave.el (octave-mode-menu): Fix.
7109 (octave-find-definition): Skip garbage lines.
7110
208d0342
SM
71112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 Fix compilation error with simultaneous dynamic+lexical scoping.
7114 Add warning when a defvar appears after the first let-binding.
7115 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7116 (byte-compile-close-variables): Initialize it.
7117 (byte-compile--declare-var): New function.
7118 (byte-compile-file-form-defvar)
7119 (byte-compile-file-form-define-abbrev-table)
7120 (byte-compile-file-form-custom-declare-variable): Use it.
7121 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7122 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7123 (byte-compile-bind): Handle dynamic bindings that shadow
7124 lexical bindings.
7125 (byte-compile-unbind): Make arg non-optional.
7126 (byte-compile-let): Simplify.
7127 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7128 (cconv--analyse-function, cconv-analyse-form): Populate it.
7129 Protect byte-compile-bound-variables to limit the scope of defvars.
7130 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7131 Remove unneeded rule for `declare'.
7132
7133 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7134 so as to avoid depending on cl-adjoin at run-time.
7135 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7136
7137 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7138 (macroexp--warn-and-return): Use it.
7139
1ac2891e
GM
71402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * lisp/subr.el: Convert to lexical binding.
7143 (overriding-local-map): Make obsolete.
7144 (add-to-list): Doc fix. Add compiler macro.
7145 (read-key): Swap values of local maps.
7146
2587b005
LL
71472013-06-05 Leo Liu <sdl.web@gmail.com>
7148
7149 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7150
f1da3c88
LL
71512013-06-04 Leo Liu <sdl.web@gmail.com>
7152
7153 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7154 (compilation-auto-jump): Suppress the "Mark set" message to give
7155 way to exit message.
7156
3caa391f
AM
71572013-06-04 Alan Mackenzie <acm@muc.de>
7158
7159 Remove faulty optimisation from indentation calculation.
7160 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7161 search limit based on 2000 characters back from indent-point.
7162
068922a2
TH
71632013-06-03 Tassilo Horn <tsdh@gnu.org>
7164
7165 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7166
1f8fdd53
SM
71672013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7168
bbcc4d97
SM
7169 * emacs-lisp/lisp.el: Use lexical-binding.
7170 (lisp--local-variables-1, lisp--local-variables): New functions.
7171 (lisp--local-variables-completion-table): New var.
208d0342 7172 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7173
1f8fdd53
SM
7174 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7175 eagerly (bug#14422).
7176
c9628c79
MA
71772013-06-03 Michael Albinus <michael.albinus@gmx.de>
7178
7179 * autorevert.el (auto-revert-notify-enabled)
7180 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7181 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7182 (auto-revert-notify-handler): Handle also gfilenotify.
7183
e7b41c4c 7184 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7185 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7186 Remove.
c9628c79 7187
e5e4a942
JL
71882013-06-03 Juri Linkov <juri@jurta.org>
7189
7190 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7191 `M-s h .'. (Bug#14427)
7192
7193 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7194 command `hi-lock-face-symbol-at-point'.
7195 (hi-lock-face-symbol-at-point): New command.
7196 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7197 (hi-lock-menu): Add `highlight-symbol-at-point'.
7198 (hi-lock-mode): Doc fix.
7199
7200 * isearch.el (isearch-forward-symbol-at-point): New command.
7201 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7202 (isearch-highlight-regexp): Add a regexp which matches
7203 words/symbols for word/symbol mode.
7204
7205 * subr.el (find-tag-default-bounds): New function with the body
7206 mostly moved from `find-tag-default'.
7207 (find-tag-default): Move most code to `find-tag-default-bounds',
7208 call it and apply `buffer-substring-no-properties' afterwards.
7209
26b3353a
TH
72102013-06-03 Tassilo Horn <tsdh@gnu.org>
7211
781b4af6
SM
7212 * eshell/em-term.el (eshell-term-initialize):
7213 Use `cl-intersection' rather than `intersection'.
26b3353a 7214
51b60f53
XF
72152013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7216
fe054b63 7217 * vc/log-view.el: Doc fix.
d3ffe17c 7218 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7219
a0eb10b3 72202013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7221
7222 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7223 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7224 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7225 (eieio-unbound, eieio-default-superclass)
7226 (eieio--define-field-accessors, method-static, method-before)
7227 (method-primary, method-after, method-num-lists)
7228 (method-generic-before, method-generic-primary)
7229 (method-generic-after, method-num-slots)
7230 (eieio-specialized-key-to-generic-key)
7231 (eieio--check-type, class-v, class-p)
7232 (eieio-class-name, define-obsolete-function-alias)
7233 (eieio-class-parents-fast, eieio-class-children-fast)
7234 (same-class-fast-p, class-constructor, generic-p)
7235 (generic-primary-only-p, generic-primary-only-one-p)
7236 (class-option-assoc, class-option, eieio-object-p)
7237 (class-abstract-p, class-method-invocation-order)
7238 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7239 (eieio-class-un-autoload, eieio-defclass)
7240 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7241 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7242 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7243 (eieio-defgeneric-reset-generic-form)
7244 (eieio-defgeneric-form-primary-only)
7245 (eieio-defgeneric-reset-generic-form-primary-only)
7246 (eieio-defgeneric-form-primary-only-one)
7247 (eieio-defgeneric-reset-generic-form-primary-only-one)
7248 (eieio-unbind-method-implementations)
7249 (eieio--defmethod, eieio--typep)
7250 (eieio-perform-slot-validation, eieio-validate-slot-value)
7251 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7252 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7253 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7254 (eieio-slot-name-index, eieio-class-slot-name-index)
7255 (eieio-set-defaults, eieio-initarg-to-attribute)
7256 (eieio-attribute-to-initarg, eieio-c3-candidate)
7257 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7258 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7259 (eieio-class-precedence-list, eieio-generic-call-methodname)
7260 (eieio-generic-call-arglst, eieio-generic-call-key)
7261 (eieio-generic-call-next-method-list)
7262 (eieio-pre-method-execution-functions, eieio-generic-call)
7263 (eieio-generic-call-primary-only, eieiomt-method-list)
7264 (eieiomt-optimizing-obarray, eieiomt-install)
7265 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7266 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7267 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7268 (defclass): Remove `eval-and-compile' from macro.
7269 (call-next-method, shared-initialize): Instead of using
7270 `scoped-class' variable, use new eieio--scoped-class, and
7271 eieio--with-scoped-class.
7272 (initialize-instance): Rename local variable 'scoped-class' to
7273 'this-class' to remove ambiguitity from old global.
7274
7275 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7276 eieio.el.
4f405069
JB
7277 (eieio--scoped-class-stack): New variable.
7278 (eieio--scoped-class): New fcn.
890f7890
DE
7279 (eieio--with-scoped-class): New scoping macro.
7280 (eieio-defclass): Use pushnew instead of add-to-list.
7281 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7282 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7283 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7284 `scoped-class' variable, use new eieio--scoped-class, and
7285 eieio--with-scoped-class.
7286
7287 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7288
d105b0e2
TH
72892013-06-02 Tassilo Horn <tsdh@gnu.org>
7290
7291 * eshell/esh-ext.el (eshell-external-command): Pass args to
7292 `eshell-find-interpreter'.
7293 (eshell-find-interpreter): Add new second parameter ARGS.
7294
7295 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7296 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7297
7298 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7299 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7300
7301 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7302 (eshell-visual-options): New defcustom.
7303 (eshell-escape-control-x): Adapt docstring.
7304 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7305 `eshell-visual-options' in addition to `eshell-visual-commands'.
7306 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7307
f46305c8 73082013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7309
7310 * progmodes/python.el (python-indent-block-enders): Add break,
7311 continue and raise keywords.
7312
d870df21
GM
73132013-06-01 Glenn Morris <rgm@gnu.org>
7314
9133b82e
GM
7315 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7316
02c992ec 7317 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7318 * progmodes/cc-cmds.el (delete-forward-p):
7319 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7320 * progmodes/cc-engine.el (buffer-syntactic-context):
7321 * progmodes/cc-fonts.el (face-property-instance):
7322 * progmodes/cc-mode.el (set-keymap-parents):
7323 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7324 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7325 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7326 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7327 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7328
31e7b090
GM
7329 * progmodes/cc-vars.el (other): Emacs has this widget since
7330 at least 21.1, so don't (re)define it.
7331
d870df21
GM
7332 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7333 Replace the obsolete alias pcomplete-arg-quote-list.
7334
c75c93c7
LL
73352013-06-01 Leo Liu <sdl.web@gmail.com>
7336
7337 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7338 punctuation syntax.
7339 (inferior-octave-minimal-columns)
7340 (inferior-octave-last-column-width): New variables.
7341 (inferior-octave-track-window-width-change): New function.
7342 (inferior-octave-mode): Adjust column width so that Octave output,
7343 for example from 'ls', can fit into the window nicely.
7344
973d1e12
DG
73452013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7346
7347 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7348 Highlight expansions inside regexp literals.
7349
0888c286
GM
73502013-05-31 Glenn Morris <rgm@gnu.org>
7351
e26aac1f
GM
7352 * obsolete/sym-comp.el (symbol-complete):
7353 Replace obsolete completion-annotate-function.
7354
0888c286
GM
7355 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7356
19bb8e62
DG
73572013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7358
781b4af6
SM
7359 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7360 New function, checks if point is inside a literal that allows
19bb8e62
DG
7361 expression expansion.
7362 (ruby-syntax-propertize-expansion): Use it.
7363 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7364 around the body.
7365
01dea85f
JL
73662013-05-30 Juri Linkov <juri@jurta.org>
7367
7368 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7369 to "\M-si".
7370 (isearch-invisible): New variable.
7371 (isearch-forward): Doc fix.
7372 (isearch-mode): Set `isearch-invisible'
7373 to the value of `search-invisible'.
7374 (isearch-toggle-case-fold): Doc fix.
7375 (isearch-toggle-invisible): New command.
7376 (isearch-query-replace): Let-bind `search-invisible'
7377 to the value of `isearch-invisible'.
7378 (isearch-search): Use `isearch-invisible' instead of
7379 `search-invisible'. Let-bind `search-invisible'
7380 to the value of `isearch-invisible'. (Bug#11378)
7381
ab1bdce5
JL
73822013-05-30 Juri Linkov <juri@jurta.org>
7383
7384 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7385 call when `query-flag' is nil and `search-invisible' is non-nil.
7386 (Bug#11746)
7387
d6d236e2
GM
73882013-05-30 Glenn Morris <rgm@gnu.org>
7389
8accd027
GM
7390 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7391
2a8bed1c
GM
7392 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7393 (cc-require): Suppress spurious "noruntime" warnings.
7394 (cc-require-when-compile): Use fboundp, for sake of compiler.
7395
d6d236e2
GM
7396 * progmodes/cc-mode.el: Move load of cc-vars before that of
7397 cc-langs (which in turn loads cc-vars), to quieten compiler.
7398
9190b35b
SM
73992013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * paren.el: Simplify the code.
7402 (show-paren-mode): Always start the timer.
7403 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7404 (show-paren--overlay, show-paren--overlay-1): Rename from
7405 show-paren-overlay and show-paren-overlay-1, and initialize to an
7406 overlay rather than to nil.
7407 (show-paren-function): Misc cleanup and simplifications.
7408
4f8d1cf6
SM
74092013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * paren.el (show-paren-data-function): New hook.
7412 (show-paren--default): New function, extracted from show-paren-function.
7413 (show-paren-function): Use show-paren-data-function.
7414
02d844b5
GM
74152013-05-30 Glenn Morris <rgm@gnu.org>
7416
d209d4a9
GM
7417 * ielm.el (ielm-map, ielm-complete-symbol):
7418 Use completion-at-point rather than obsolete functions.
7419 (inferior-emacs-lisp-mode): Doc fix.
7420 Set completion-at-point-functions, rather than
7421 comint-dynamic-complete-functions.
7422
2082faa6
GM
7423 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7424 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7425 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7426
dd8620de
GM
7427 * image.el (image-animated-p): Tweak definition.
7428
ceca95b1
GM
7429 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7430 (rlogin-process-connection-type): Tweak default. Add set-after.
7431 (rlogin-host): Doc fix.
7432 (rlogin): Tweak prompt.
7433 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7434
ee9f1acc
GM
7435 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7436 * progmodes/tcl.el (inferior-tcl-mode-map):
7437 Use completion-at-point rather than obsolete alias.
7438
45ce222e
GM
7439 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7440
02d844b5
GM
7441 * minibuffer.el (read-file-name-completion-ignore-case):
7442 Move before completion--in-region, for eager macro expansion.
7443
ac44d6c1
JL
74442013-05-29 Juri Linkov <juri@jurta.org>
7445
7446 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7447 for total count of matching lines. Add `global-matches' for total
7448 count of matches. Rename `matches' to `lines' for count of
7449 matching lines. Add `matches' for count of matches.
7450 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7451 to `prev-line' for line number of prev match endpt.
7452 Increment `matches' for every match. Print the number of
7453 matching lines in the header.
7454 (occur-context-lines): Rename `lines' to `curr-line'.
7455 Rename `prev-lines' to `prev-line'. (Bug#14017)
7456
3c9c9d38
JL
74572013-05-29 Juri Linkov <juri@jurta.org>
7458
7459 * replace.el (perform-replace): Add `skip-read-only-count',
7460 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7461 Increment them for corresponding conditions and report the number
7462 of skipped occurrences in the final message. (Bug#11746)
7463 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7464 (replace-string, replace-regexp): Doc fix.
7465
33e249a2
SM
74662013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7467
8e399682
SM
7468 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7469
33e249a2 7470 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7471 prog-mode-map (bug#14504).
33e249a2 7472
f236dd84
LL
74732013-05-29 Leo Liu <sdl.web@gmail.com>
7474
7475 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7476 (octave-help): Small simplification.
7477
7478 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7479 off the highlight first.
7480
3694d13f
GM
74812013-05-29 Glenn Morris <rgm@gnu.org>
7482
03983bdc
GM
7483 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7484 Handle idlwave-last-system-routine-info-cons-cell being nil.
7485
bc74a74a
GM
7486 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7487 (idlwave-write-paths): Simplify via with-temp-buffer.
7488
8b394200
GM
7489 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7490 * emulation/cua-rect.el: Also load cua-base at run time.
7491
3694d13f
GM
7492 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7493 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7494 (cperl-imenu-on-info): Require imenu.
7495
336d7284
AM
74962013-05-28 Alan Mackenzie <acm@muc.de>
7497
7498 Handle "capitalised keywords" correctly.
33e249a2 7499 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7500
cb29c582
AG
75012013-05-28 Aidan Gauland <aidalgol@amuri.net>
7502
781b4af6 7503 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7504
690e44b2
GM
75052013-05-28 Glenn Morris <rgm@gnu.org>
7506
e658d75c
GM
7507 * vc/vc-arch.el (vc-exec-after): Declare.
7508 (vc-switches): Autoload.
7509 * vc/vc-bzr.el: No need to require vc when compiling.
7510 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7511 (vc-resynch-buffer, vc-dir-refresh): Declare.
7512 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7513 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7514 (vc-resynch-buffer): Declare.
7515 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7516 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7517 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7518 (grep-read-regexp, grep-read-files, grep-expand-template)
7519 (vc-dir-refresh): Declare.
7520 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7521 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7522 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7523 * vc/vc-mtn.el (vc-exec-after): Declare.
7524 (vc-switches): Autoload.
7525 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7526 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7527 (vc-file-tree-walk): Declare.
712b9732
GM
7528 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7529 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7530 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7531 * vc/vc-svn.el (vc-exec-after): Declare.
7532 (vc-switches, vc-setup-buffer): Autoload.
7533 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7534 Autoload.
7535 (vc-resynch-buffer): Declare.
7536
98e87fb3
GM
7537 * obsolete/fast-lock.el (byte-compile-warnings):
7538 Don't warn about obsolete features in this obsolete file.
7539
f5379553
GM
7540 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7541 Move definition before use.
7542
7a20ef83
GM
7543 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7544 (dun-unix-verbs): Remove dun-zippy.
7545 (dun-zippy): Remove function.
7546
690e44b2
GM
7547 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7548
3a52ccf7
JL
75492013-05-27 Juri Linkov <juri@jurta.org>
7550
7551 * replace.el (replace-search): New function with code moved out
7552 from `perform-replace'.
7553 (replace-highlight, replace-dehighlight): Move function definitions
7554 up closer to `replace-search'. (Bug#11746)
7555
d289938a
JL
75562013-05-27 Juri Linkov <juri@jurta.org>
7557
7558 * replace.el (perform-replace): Ignore invisible matches.
7559 In addition to checking `query-replace-skip-read-only', also
7560 filter out matches by calling `run-hook-with-args-until-failure'
7561 on `isearch-filter-predicates', and also check `search-invisible'
7562 for t or call `isearch-range-invisible'.
7563 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7564
66fc57e3
JL
75652013-05-27 Juri Linkov <juri@jurta.org>
7566
7567 * isearch.el (isearch-filter-predicates): Rename from
7568 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7569 (isearch-message-prefix): Display text from the property
7570 `isearch-message-prefix' of the currently active filters.
7571 (isearch-search): Don't compare `isearch-filter-predicate' with
7572 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7573 on `isearch-filter-predicates'. Also check `search-invisible' for t
7574 or call `isearch-range-invisible'.
7575 (isearch-filter-visible): Make obsolete.
7576 (isearch-lazy-highlight-search):
7577 Call `run-hook-with-args-until-failure' on
7578 `isearch-filter-predicates' and use `isearch-range-invisible'.
7579
7580 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7581 `isearch-filter-predicates' instead of `funcall'ing
7582 `isearch-filter-predicate'.
7583 (Info-mode): Set `Info-isearch-filter' to
7584 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7585
7586 * dired-aux.el (dired-isearch-filter-predicate-orig):
7587 Remove variable.
7588 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7589 (dired-isearch-filenames-end): Add and remove
7590 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7591 instead of changing the value of `isearch-filter-predicate'.
7592 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7593 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7594 Put property `isearch-message-prefix' to "filename " on
7595 `dired-isearch-filter-filenames'.
7596
7597 * wdired.el (wdired-change-to-wdired-mode):
7598 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7599 locally instead of changing `isearch-filter-predicate'.
7600 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7601
f1a60a0f
DG
76022013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7603
7604 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7605 return the commit hash (Bug#14459). Also set the
7606 `vc-git-detached' property.
7607 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7608 (vc-git-mode-line-string): Use the same help-echo format whether
7609 in detached mode or not, because we know the actual revision now.
7610 When in detached mode, shorten the revision to 7 chars.
7611
7f17cc40
SM
76122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * emacs-lisp/easy-mmode.el (define-minor-mode):
7615 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7616 mode hook and provide a docstring.
7617
25c8401c
AM
76182013-05-27 Alan Mackenzie <acm@muc.de>
7619
7620 Remove spurious syntax-table text properties inserted by C-y.
7621 * progmodes/cc-mode.el (c-after-change): Also clear hard
7622 syntax-table property with value nil.
7623
dde84790
MA
76242013-05-27 Michael Albinus <michael.albinus@gmx.de>
7625
7626 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7627 when reading the events; the buffer layout shall not be changed.
7628
837fd9af
LL
76292013-05-27 Leo Liu <sdl.web@gmail.com>
7630
7631 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7632 New variable.
7633 (inferior-octave-directory-tracker): Automatically re-sync
7634 default-directory.
7635 (octave-help): Improve handling of 'See also'.
7636
4fd996b3
SM
76372013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7638
416f1802
SM
7639 * doc-view.el: Minor naming convention tweaks.
7640 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7641
4fd996b3
SM
7642 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7643 even if there's no `display' property yet (bug#14435).
7644
a052ef3b
EZ
76452013-05-25 Eli Zaretskii <eliz@gnu.org>
7646
4fd996b3 7647 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7648
7649 * Makefile.in (custom-deps, finder-data, autoloads)
7650 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7651 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7652 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7653
c9023370
SM
76542013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7657 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7658 Don't burp at EOB.
c9023370 7659
24d699fa
LL
76602013-05-25 Leo Liu <sdl.web@gmail.com>
7661
7662 * comint.el (comint-previous-matching-input): Do not flood the
7663 *Messages* buffer with trivial messages.
7664
17e5c0cc
SM
76652013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * progmodes/flymake.el (flymake-nop): Don't return a string.
7668 (flymake-set-at): Fix typo.
7669
7670 * simple.el (read--expression): New function, extracted from
7671 eval-expression. Set completion-at-point-functions (bug#14465).
7672 (eval-expression, eval-minibuffer): Use it.
7673
5d028165
XF
76742013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7675
7676 * progmodes/flymake.el (flymake-save-buffer-in-file)
7677 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7678 (flymake-selected-frame, flymake-log, flymake-ins-after)
7679 (flymake-set-at, flymake-get-buildfile-from-cache)
7680 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7681 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7682 Refine the doc string.
7683 (flymake-get-file-name-mode-and-masks): Reformat.
7684 (flymake-get-real-file-name-function): Fix a minor bug.
7685
7a1d7ba7
JL
76862013-05-24 Juri Linkov <juri@jurta.org>
7687
7688 * progmodes/grep.el (grep-mode-font-lock-keywords):
7689 Support =linenumber= format used by git-grep for lines with
7690 function names. (Bug#13549)
7691
650cff3d
SM
76922013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7695 0 after a semi-colon; it works better for smie-auto-fill.
7696 (octave--indent-new-comment-line): New function.
7697 (octave-indent-new-comment-line): Use it (indirectly).
7698 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7699 modify comment-line-break-function.
7700
7701 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7702 (smie-setup): Use add-function to set it.
7703
9631677d
SS
77042013-05-24 Sam Steingold <sds@gnu.org>
7705
7706 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7707 argument (before the `interactive' argument).
7708
50105835
SM
77092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * image-mode.el (image-mode-winprops): Add winprops to
7712 image-mode-winprops-alist before running
7713 image-mode-new-window-functions.
7714 * doc-view.el (doc-view-new-window-function): Don't delay
7715 doc-view-goto-page via timers (bug#14435).
7716
57b9823e
TH
77172013-05-24 Tassilo Horn <tsdh@gnu.org>
7718
7719 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7720 (doc-view-desktop-save-buffer): New function.
7721 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7722 (desktop-buffer-mode-handlers):
7723 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7724 handler.
7725 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7726 `desktop-save-buffer' function.
7727
91aafa16
MA
77282013-05-24 Michael Albinus <michael.albinus@gmx.de>
7729
7730 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7731 (tramp-gvfs-file-name-handler): Raise a user error when
7732 `tramp-gvfs-enabled' is nil.
7733 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7734 Do not raise a user error when loading package. (Bug#14447)
7735
ec076379
MA
7736 * net/xesam.el: Move to obsolete/.
7737
db785726
GM
77382013-05-24 Glenn Morris <rgm@gnu.org>
7739
af5c7606
GM
7740 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7741
e5d1916a
GM
7742 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7743
ded62b08
GM
7744 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7745 (Info-find-node, Man-getpage-in-background): Declare.
7746
9e614a3f
GM
7747 * mail/unrmail.el (unrmail):
7748 Replace obsolete detect-coding-with-priority.
7749
892f8ca3
GM
7750 * net/socks.el (socks-split-string): Use this rather than split-string.
7751 (socks-nslookup-host): Update for above change.
7752 (dynamic-choice, s5-dynamic-choice-match)
7753 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7754 Comment out unused code.
7755
3c291973
GM
7756 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7757 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7758 (gud-tooltip-echo-area): Make obsolete.
7759 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7760
43cc956b
GM
7761 * progmodes/js.el (js--optimize-arglist): Declare.
7762
dab49a3b
GM
7763 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7764
36b9d085
GM
7765 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7766 (ediff-window-C): Declare.
7767
e354ae76
GM
7768 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7769 Tweak requires to silence compiler.
7770
b8e57bf4
GM
7771 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7772 (he-search-string, he-tried-table, he-expand-list)
7773 (he-init-string, he-string-member, he-substitute-string)
7774 (he-reset-string): Declare.
7775
db785726
GM
7776 * obsolete/options.el (list-options): Use custom-variable-p,
7777 rather than obsolete alias.
7778
b3531901
SS
77792013-05-23 Sam Steingold <sds@gnu.org>
7780
7781 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7782 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7783 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7784
bdda4c66
SM
77852013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * emacs-lisp/smie.el (smie-indent-forward-token)
7788 (smie-indent-backward-token): Handle string tokens (bug#14381).
7789
c43d45f9
TH
77902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7791
fe1eb856
RS
7792 * ielm.el (ielm-menu): New menu.
7793 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7794
fe1eb856
RS
77952013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7796
7797 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7798 Fix deactivate action.
7799
7800 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7801 Add cleveref macros.
074dd971 7802
c43d45f9
TH
7803 * lisp/textmodes/reftex-parse.el
7804 (reftex-locate-bibliography-files): Accept options for
7805 bibliography commands.
7806 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7807 Add addbibresource. Basic Biblatex support.
7808
7764286e
MA
78092013-05-23 Michael Albinus <michael.albinus@gmx.de>
7810
7811 * net/tramp-gvfs.el (top):
7812 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7813 when loading package. (Bug#14447)
7814
d361bc10
GM
78152013-05-23 Glenn Morris <rgm@gnu.org>
7816
8fa23984
GM
7817 * progmodes/js.el: No need to load comint when compiling.
7818 (ring-insert, comint-send-string, comint-send-input)
7819 (comint-last-input-end, ido-chop): Declare.
7820
a5c7df1a
GM
7821 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7822 * vc/ediff-mult.el: Adjust requires.
7823 (ediff-directories-internal, ediff-directory-revisions-internal)
7824 (ediff-patch-file-internal): Declare.
7825 * vc/ediff-ptch.el: Adjust requires.
7826 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7827 (ediff-find-file): Autoload.
7828 * vc/ediff-util.el: No need to load ediff when compiling.
7829 (ediff-regions-internal): Declare.
7830 * vc/ediff-wind.el: Adjust requires.
7831 (ediff-compute-toolbar-width): Define when compiling.
7832 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7833 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7834 (dired-get-filename, dired-get-marked-files)
7835 (ediff-last-dir-patch, ediff-patch-default-directory)
7836 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7837 (ediff-patch-buffer-internal): Declare.
7838
e2aec513
GM
7839 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7840 (ispell-process, ispell-buffer-local-words, lm-summary)
7841 (lm-section-start, lm-section-end): Declare.
7842 (checkdoc-ispell-init): Simplify.
7843
e68bbd7c
GM
7844 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7845 (he-string-member, he-reset-string, he-substitute-string): Declare.
7846
7efe0991
GM
7847 * eshell/em-ls.el: Adjust requires.
7848 (eshell-glob-regexp): Declare.
f87b1284
GM
7849 * eshell/em-tramp.el: Adjust requires.
7850 (eshell-parse-command): Autoload.
7851 * eshell/em-xtra.el: Adjust requires.
7852 (eshell-parse-command): Autoload.
7853 * eshell/esh-ext.el: Adjust requires.
7854 (eshell-parse-command, eshell-close-handles): Autoload.
7855 * eshell/esh-io.el: Adjust requires.
7856 (eshell-output-filter): Autoload.
7857 * eshell/esh-util.el: No need to load tramp when compiling.
7858 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7859 Declare.
7860 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7861 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7862 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7863 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7864 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7865 * eshell/esh-opt.el, eshell/esh-proc.el:
7866 * eshell/esh-var.el: Adjust requires.
7867 * eshell/eshell.el: Do not require esh-util twice.
7868 (eshell-add-input-to-history): Declare.
7869 (eshell-command): Check history module is active before using it.
7870
d361bc10
GM
7871 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7872
85d090a9
LL
78732013-05-22 Leo Liu <sdl.web@gmail.com>
7874
7875 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7876
5d0acd9d
MA
78772013-05-22 Michael Albinus <michael.albinus@gmx.de>
7878
7879 * autorevert.el (auto-revert-notify-add-watch)
7880 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7881 it indicates changes in file modification time.
7882
0cdffd7d
GM
78832013-05-22 Glenn Morris <rgm@gnu.org>
7884
ca5995ec
GM
7885 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7886 Always delete the autoloaded function from the noruntime and
7887 unresolved functions lists.
7888
6450907e
GM
7889 * allout.el: No need to load epa, epg, overlay when compiling.
7890 (epg-context-set-passphrase-callback, epg-list-keys)
7891 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7892 (epg-key-user-id-list): Declare.
7893
9c6906f6
GM
7894 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7895 (viper-set-parsing-style-toggling-macro)
7896 (viper-set-emacs-state-searchstyle-macros):
7897 Use called-interactively-p on Emacs.
7898 (viper-looking-back): Make it an obsolete alias. Update callers.
7899 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7900 Use looking-back rather than viper-looking-back.
7901 (viper-tmp-insert-at-eob, viper-enlarge-region)
7902 (viper-read-string-with-history, viper-register-to-point)
7903 (viper-append-to-register, viper-change-state-to-vi)
7904 (viper-backward-char-carefully, viper-forward-char-carefully)
7905 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7906 (viper-change-state-to-emacs): Declare.
7907 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7908 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7909 * emulation/viper-mous.el: Do not load viper-cmd.
7910 (viper-backward-char-carefully, viper-forward-char-carefully)
7911 (viper-forward-word, viper-adjust-window): Declare.
7912
5f70c169
GM
7913 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7914
b1b7f300
GM
7915 * progmodes/idlw-help.el (idlwave-help-fontify):
7916 Use called-interactively-p.
7917
f6ebbb46
GM
7918 * term/w32console.el (w32-get-console-codepage)
7919 (w32-get-console-output-codepage): Declare.
7920
0cdffd7d
GM
7921 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7922 Remove unnecessary declarations.
7923 (dframe-message): Doc fix.
7924
7925 * info.el (dframe-select-attached-frame, dframe-current-frame):
7926 Declare.
7927
7928 * speedbar.el (speedbar-message): Make it an obsolete alias.
7929 Update all callers.
7930 (speedbar-with-attached-buffer)
7931 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7932 (speedbar-with-writable): Use backquote.
7933 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7934 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7935 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7936 rather than speedbar- aliases.
7937 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7938 (speedbar-make-specialized-keymap, speedbar-insert-button)
7939 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7940 (speedbar-do-function-pointer): Declare.
7941 (rmail-speedbar-button, rmail-speedbar-find-file)
7942 (rmail-speedbar-move-message):
7943 Use dframe-with-attached-buffer rather than speedbar- alias.
7944 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7945 (dframe-message, speedbar-make-specialized-keymap)
7946 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7947 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7948 (speedbar-insert-button, dframe-select-attached-frame)
7949 (dframe-maybee-jump-to-attached-frame)
7950 (speedbar-change-initial-expansion-list)
7951 (speedbar-previously-used-expansion-list-name): Declare.
7952 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7953 Use dframe-message, dframe-with-attached-buffer rather than
7954 speedbar- aliases.
7955 (gud-sentinel): Silence compiler.
7956 * progmodes/vhdl-mode.el (speedbar-refresh)
7957 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7958 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7959 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7960 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7961 (speedbar-file-lists, speedbar-make-tag-line)
7962 (speedbar-line-directory, speedbar-goto-this-file)
7963 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7964 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7965 (speedbar-make-button, speedbar-reset-scanners)
7966 (speedbar-files-item-info, speedbar-line-text)
7967 (speedbar-find-file-in-frame, speedbar-set-timer)
7968 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7969 (speedbar-with-writable): Do not (re)define it.
7970 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7971 rather than speedbar- alias.
7972
ee44b62a
LL
79732013-05-21 Leo Liu <sdl.web@gmail.com>
7974
7975 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7976 menu items.
7977 (octave-mode): Tweak fill-nobreak-predicate.
7978 (inferior-octave-startup): Check process to avoid infinite loop.
7979 (inferior-octave): Pop to buffer first to show abornmal process
7980 exit information.
7981
640f050f
GM
79822013-05-21 Glenn Morris <rgm@gnu.org>
7983
79458038
GM
7984 * printing.el (pr-menu-bar): Define when compiling.
7985
9cc3e83f
LL
79862013-05-21 Leo Liu <sdl.web@gmail.com>
7987
7988 * progmodes/octave.el (octave-auto-fill): Remove.
7989 (octave-indent-new-comment-line): Improve.
7990 (octave-mode): Use auto fill mode through
4f405069 7991 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7992 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7993 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7994 (octave-help): Show parent directory.
7995
f440830d
GM
79962013-05-21 Glenn Morris <rgm@gnu.org>
7997
7998 * files.el (dired-unmark):
7999 * progmodes/gud.el (gdb-input): Update declarations.
8000
8001 * calculator.el (electric, ehelp): No need to load when compiling.
8002 (Electric-command-loop, electric-describe-mode): Declare.
8003
8004 * doc-view.el (doc-view-current-converter-processes): Move before use.
8005
8006 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8007 Move MODE-set-explicitly definition before use.
8008
8009 * international/mule-diag.el (mule-diag):
8010 Don't use obsolete window-system-version.
8011
8012 * mail/feedmail.el (smtpmail): No need to load when compiling.
8013 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8014
8015 * mail/mail-utils.el (rfc822): No need to load when compiling.
8016 (rfc822-addresses): Autoload it.
8017 (mail-strip-quoted-names): Trivial simplification.
8018
8019 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8020 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8021
8022 * net/snmp-mode.el (tempo): Don't duplicate requires.
8023
8024 * progmodes/prolog.el (info): No need to load when compiling.
8025 (comint): Require before shell requires it.
8026 (Info-goto-node): Autoload it.
8027 (Info-follow-nearest-node): Declare.
8028 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8029
8030 * textmodes/artist.el (picture-mode-exit): Declare.
8031
8032 * textmodes/reftex-parse.el (reftex-parse-from-file):
8033 Trivial rewrite so the compiler can parse it better.
8034
b4da2cbb
LL
80352013-05-20 Leo Liu <sdl.web@gmail.com>
8036
8037 * progmodes/octave.el (octave-help-mode-map)
8038 (octave-help-mode-finish-hook): New variables.
8039 (octave-help-mode, octave-help-mode-finish): New functions.
8040 (octave-help): Use octave-help-mode.
8041
33c0f65b
GM
80422013-05-20 Glenn Morris <rgm@gnu.org>
8043
8044 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8045
1a0a0a8a
DG
80462013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8047
8048 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8049 start at point, so that expansion starting right after opening
8050 slash in a regexp is recognized.
8051 (ruby-syntax-before-regexp-re): New defvar, extracted from
8052 ruby-syntax-propertize-function. Since the value of this regexp
8053 is looked up at runtime now, we should be able to turn
8054 `ruby-syntax-methods-before-regexp' into a defcustom later.
8055 (ruby-syntax-propertize-function): Split regexp matching into two
8056 parts, for opening and closing slashes. That allows us to skip
8057 over string interpolations and support multiline regexps.
8058 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8059 for them, which calls `ruby-syntax-propertize-expansion'.
8060 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8061 call to `ruby-syntax-propertize-function'.
8062 (ruby-syntax-propertize-expansion): Extracted from
8063 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8064 (ruby-syntax-propertize-percent-literal): Leave point right after
8065 the percent symbol, so that the expression expansion rule can
8066 propertize the contents.
462388b6
DG
8067 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8068 heredoc openers.
8069 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8070
c1a6c0a4
JL
80712013-05-18 Juri Linkov <juri@jurta.org>
8072
8073 * man.el (Man-default-man-entry): Remove `-' from the end
8074 of the default value. (Bug#14400)
8075
8051fccd
GM
80762013-05-18 Glenn Morris <rgm@gnu.org>
8077
8078 * comint.el (comint-password-prompt-regexp):
8079 Allow "password for XXX" where XXX contains colons (eg https://...).
8080
5e80b74f
LL
80812013-05-18 Leo Liu <sdl.web@gmail.com>
8082
8083 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8084 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8085 (octave-source-directories): Don't check process.
8086 (octave-source-directories, octave-find-definition): Doc fix.
8087
521a54c5
GM
80882013-05-18 Glenn Morris <rgm@gnu.org>
8089
86a94b05
GM
8090 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8091 Remove backspace/delete bindings. (Bug#14392)
8092
521a54c5
GM
8093 * cus-dep.el (custom-make-dependencies): Sort the output.
8094 (custom-versions-load-alist): Convert comment to doc.
8095
42caeb89
LL
80962013-05-17 Leo Liu <sdl.web@gmail.com>
8097
8098 * newcomment.el (comment-search-backward): Stricter in finding
8099 comment start. (Bug#14303)
8100
8101 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8102 (octave-comment-start-skip): Properly anchored.
8103
e219dd97
LL
81042013-05-17 Leo Liu <sdl.web@gmail.com>
8105
fe1eb856
RS
8106 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8107 Clean up when turned off. (Bug#14395)
e219dd97
LL
8108 (smie--highlight-matching-block-overlay): No longer buffer-local.
8109 (smie-highlight-matching-block): Adjust.
8110
dc5dcb4b
PE
81112013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8112
8113 Doc string fix for "nanoseconds" (Bug#14406).
8114 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8115 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8116
1db165f0
JB
81172013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8118
8119 * calc/calc-units.el (math-extract-units): Preserve powers
8120 of units.
8121
c7a8fcac
LL
81222013-05-17 Leo Liu <sdl.web@gmail.com>
8123
8124 * subr.el (delete-consecutive-dups): New function.
8125 * ido.el (ido-set-matches-1): Use it.
8126 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8127 * ido.el (ido-remove-consecutive-dups): Remove.
8128
f678b18a
SM
81292013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8132 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8133 regexp-opt's `words'.
8134
ebfe68e8
LL
81352013-05-16 Leo Liu <sdl.web@gmail.com>
8136
8137 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8138 (smie--highlight-matching-block-overlay)
8139 (smie--highlight-matching-block-lastpos)
8140 (smie--highlight-matching-block-timer): New variables.
8141 (smie-highlight-matching-block): New function.
8142 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8143 (smie-setup): Conditionally enable smie-blink-matching-open.
8144
bc8bc17d
WS
81452013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8146
8147 Sync with upstream verilog-mode r840.
8148 * progmodes/verilog-mode.el (verilog-mode-version)
8149 (verilog-mode-release-date): Update.
8150 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8151 (verilog-sig-tieoff): Fix string error on
8152 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8153 (verilog-read-decls): Fix parameters confusing
8154 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8155
df065a0b
EZ
81562013-05-16 Eli Zaretskii <eliz@gnu.org>
8157
8158 * subr.el (reveal-filename): New function.
8159
8160 * loadup.el: Compute Emacs executable versions on MS-Windows,
8161 where executables have the .exe extension. Add a hard link
8162 emacs-XX.YY.ZZ.exe on MS-Windows.
8163
8164 * Makefile.in (XARGS_LIMIT): New variable.
8165 (custom-deps, finder-data, autoloads)
8166 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8167 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8168 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8169 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8170
2d4bf34b
LL
81712013-05-16 Leo Liu <sdl.web@gmail.com>
8172
8173 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8174 (octave-mode-menu, octave-mode-map): Remove its uses.
8175
6b9c2d85
RZ
81762013-05-16 Reto Zimmermann <reto@gnu.org>
8177
8178 Sync with upstream vhdl mode v3.34.2.
8179 * progmodes/vhdl-mode.el: Use `push' throughout.
8180 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8181 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8182 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8183 (vhdl-actual-generic-name): New option to derive actual generic name.
8184 (vhdl-port-paste-signals): Replace formal by actual generics.
8185 (vhdl-beautify): New name for old group vhdl-align. Update users.
8186 (vhdl-beautify-options): New option.
8187 (vhdl-last-input-event): New compat alias. Use throughout.
8188 (vhdl-goto-line): Replace user level function `goto-line'.
8189 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8190 vhdl-fix-statement-buffer.
8191 (vhdl-create-mode-menu): Add some entries.
8192 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8193 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8194 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8195 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8196 to force statements on one line.
8197 (vhdl-remove-trailing-spaces-region):
8198 New, split from vhdl-remove-trailing-spaces.
8199 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8200 Respect vhdl-beautify-options.
8201 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8202 (vhdl-update-sensitivity-list): Not add with index if exists without.
8203 Not include array index with signal. Ignore keywords in comments.
8204 (vhdl-get-visible-signals): Regexp tweaks.
8205 (vhdl-template-component-inst): Handle empty library.
8206 (vhdl-template-type): Add template for 'enum' type.
8207 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8208 Use vhdl-replace-string.
8209 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8210 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8211 (vhdl-speedbar-initialize): Update for above name change.
8212 (vhdl-compose-wire-components): Fix in handling of constants.
8213 (vhdl-error-regexp-emacs-alist): New variable.
8214 (vhdl-error-regexp-add-emacs): New function;
8215 adds support for new compile.el (Emacs 22+)
8216 (vhdl-generate-makefile-1): Change target order for single lib. units.
8217 Allow use of absolute file names.
8218
9df4ec5e
LL
82192013-05-16 Leo Liu <sdl.web@gmail.com>
8220
8221 * simple.el (prog-indent-sexp): Indent enclosing defun.
8222
f5ba00a6
GM
82232013-05-15 Glenn Morris <rgm@gnu.org>
8224
ed8be7ff
GM
8225 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8226 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8227 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8228 (whitespace-highlight): Move to whitespace group.
8229
8230 * comint.el (comint-source):
8231 * pcmpl-linux.el (pcmpl-linux):
8232 * shell.el (shell-faces):
8233 * eshell/esh-opt.el (eshell-opt):
8234 * international/ccl.el (ccl): Remove empty custom groups.
8235
8236 * completion.el (dynamic-completion-mode):
8237 * jit-lock.el (jit-lock-debug-mode):
8238 * minibuffer.el (completion-in-region-mode):
8239 * type-break.el (type-break-mode-line-message-mode)
8240 (type-break-query-mode):
8241 * emulation/tpu-edt.el (tpu-edt-mode):
8242 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8243 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8244 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8245
8246 * term/xterm.el (xterm): Change parent group to terminals.
8247
8248 * master.el (master): Remove empty custom group.
8249 (master-mode): Remove unused :group argument.
8250 * textmodes/refill.el (refill): Remove empty custom group.
8251 (refill-mode): Remove unused :group argument.
8252
8253 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8254
82a7c41b
GM
8255 * cus-dep.el: Provide a feature.
8256 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8257 Don't mistakenly ignore files whose basenames match a basename
8258 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8259 Add a fallback method for getting :group.
f5ba00a6 8260
6d65486d
JL
82612013-05-15 Juri Linkov <juri@jurta.org>
8262
da547b32
JL
8263 * isearch.el (isearch-char-by-name): Rename from
8264 `isearch-insert-char-by-name'. Doc fix.
8265 (isearch-forward): Mention `isearch-char-by-name' in
8266 the docstring. (Bug#13348)
8267
6d65486d
JL
8268 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8269 `exit-minibuffer' instead of
8270 `isearch-nonincremental-exit-minibuffer'.
8271 (isearch-edit-string): Remove mention of
8272 `isearch-nonincremental-exit-minibuffer' from docstring.
8273 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8274 (isearch-forward-exit-minibuffer)
8275 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8276
c9990474
SM
82772013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8278
6e911150
SM
8279 * loadup.el: Just use unversioned DOC.
8280
c9990474
SM
8281 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8282 literals as extending to EOB.
8283 (nxml-last-fontify-end): Remove unused variable.
8284 (nxml-after-change1): Use with-silent-modifications.
8285 (nxml-extend-after-change-region): Simplify.
8286 (nxml-extend-after-change-region1): Remove function.
8287 (nxml-after-change1): Don't adjust for dependent regions.
8288 (nxml-fontify-matcher): Simplify.
8289 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8290 (xmltok-add-dependent): Remove function.
8291 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8292 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8293 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8294 unclosed <[[, <?, comment, and other literals as extending to EOB.
8295 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8296 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8297 Remove functions.
8298 (rng-do-some-validation-1): Don't mark dependent regions.
8299 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8300 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8301 (nxml-clear-dependent-regions): Remove functions.
8302 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8303 (nxml-ensure-scan-up-to-date):
8304 Don't clear&mark dependent regions.
8305
e3772e98
LL
83062013-05-15 Leo Liu <sdl.web@gmail.com>
8307
c9990474
SM
8308 * progmodes/octave.el (octave-goto-function-definition):
8309 Improve and fix callers.
e3772e98 8310
5ac2eb34
SM
83112013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8312
c46c57b0
SM
8313 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8314 the setter (bug#14387).
8315
5ac2eb34
SM
8316 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8317 surrounding group (bug#14402).
8318
180ed218
JL
83192013-05-14 Juri Linkov <juri@jurta.org>
8320
8321 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8322 (Bug#14390)
8323
0ac0fecb
GM
83242013-05-14 Glenn Morris <rgm@gnu.org>
8325
8326 * progmodes/f90.el (f90-imenu-generic-expression):
8327 Fix typo in 2013-05-08 change. (Bug#14402)
8328
2e78e6a7
JPG
83292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8330
5ac2eb34
SM
8331 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8332 Remove signals for which replies are never received.
2e78e6a7 8333
53267cca
JPG
83342013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8335
8336 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8337 (gdb-handler-alist, gdb-handler-number): Remove variables.
8338 (gdb-handler-list): New variable.
8339 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8340 (gdb-pending-handler-p, gdb-handle-reply)
8341 (gdb-remove-all-pending-triggers): New functions.
8342 (gdb-discard-unordered-replies): New defcustom.
8343 (gdb-handler): New defstruct.
8344 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8345 instead of gdb-pending-triggers. Update docstring.
8346 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8347 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8348 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8349 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8350 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8351 (gdb-frame-handler): Pending triggers are now automatically managed.
8352 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8353 Remove argument.
8354 (gdb-input): Automatically handles pending triggers. Update docstring.
8355 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8356 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8357 Update comments.
8358 (gdb-done-or-error): Now use gdb-handle-reply.
8359
d04ce803
JPG
83602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8361
8362 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8363 gdb-debug-log.
8364
0114073a
GM
83652013-05-14 Glenn Morris <rgm@gnu.org>
8366
8367 * subr.el (user-emacs-directory-warning): New option.
8368 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8369
4d25fd7e
LL
83702013-05-14 Leo Liu <sdl.web@gmail.com>
8371
8372 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8373 during redisplay.
8374 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8375 (octave-font-lock-texinfo-comment): Fix invalid search bound
8376 error: wrong side of point.
4d25fd7e 8377
27c8b6eb
GM
83782013-05-14 Glenn Morris <rgm@gnu.org>
8379
61aaeb01
GM
8380 * progmodes/flymake.el (flymake-xml-program): New option.
8381 (flymake-xml-init): Use it.
8382
5bf90bc5
GM
8383 * term/xterm.el: Provide a feature.
8384
8385 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8386
f4c7dfd2
GM
83872013-05-13 Glenn Morris <rgm@gnu.org>
8388
8389 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8390 Add compat aliases as a hack workaround. (Bug#14384)
8391
2aeb3a1d
LL
83922013-05-13 Leo Liu <sdl.web@gmail.com>
8393
b0e069c2
LL
8394 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8395 ###, and %!.
f5a9432f
LL
8396 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8397 C-M-q.
b0e069c2
LL
8398 (octave-comment-start-skip): Include %!.
8399 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8400
30ea8374
LL
84012013-05-12 Leo Liu <sdl.web@gmail.com>
8402
8403 * progmodes/octave.el (inferior-octave-startup): Store the value
8404 of __octave_srcdir__ for octave-source-directories.
8405 (inferior-octave-check-process): New function refactored out of
8406 inferior-octave-send-list-and-digest.
8407 (octave-source-directories)
8408 (octave-find-definition-filename-function): New variables.
8409 (octave-source-directories)
8410 (octave-find-definition-default-filename): New functions.
8411 (octave-find-definition): Improve to find functions implemented in C++.
8412
472a3834
GM
84132013-05-12 Glenn Morris <rgm@gnu.org>
8414
8415 * calendar/diary-lib.el (diary-outlook-format-1):
8416 Don't include dayname in the output. (Bug#14349)
8417
3191b52f
GM
84182013-05-11 Glenn Morris <rgm@gnu.org>
8419
0060ac73
GM
8420 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8421
3191b52f
GM
8422 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8423 Treat cc-provide like provide.
8424
e065ba74
KR
84252013-05-11 Kevin Ryde <user42@zip.com.au>
8426
8427 * cus-dep.el (custom-make-dependencies):
8428 Use generated-autoload-load-name for the sake of files such
8429 such cedet/semantic/bovine/c.el, where the base file name
8430 is not in load-path. (Bug#5277)
8431
36f84c37
GM
84322013-05-11 Glenn Morris <rgm@gnu.org>
8433
8434 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8435 Provide features.
8436
c8730c3a
LL
84372013-05-11 Leo Liu <sdl.web@gmail.com>
8438
8439 * progmodes/octave.el (octave-indent-comment): Improve.
8440 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8441 (octave-eldoc-function-signatures, octave-eldoc-function):
8442 New functions.
c8730c3a
LL
8443 (octave-mode, inferior-octave-mode): Add eldoc support.
8444
212e29f2
RS
84452013-05-11 Richard Stallman <rms@gnu.org>
8446
8447 * epa.el (epa-decrypt-file): Take output file name as argument
8448 and read it using `interactive'.
8449
083fe0d7
LL
84502013-05-11 Leo Liu <sdl.web@gmail.com>
8451
8452 * progmodes/octave.el (octave-beginning-of-line)
8453 (octave-end-of-line): Check before using up-list because it jumps
8454 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8455 (octave-indent-comment): New function.
8456 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8457 (octave-begin-keywords, octave-end-keywords)
8458 (octave-reserved-words, octave-smie-bnf-table)
8459 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8460
8582e4c4
GM
84612013-05-11 Glenn Morris <rgm@gnu.org>
8462
f20def1f
GM
8463 * faces.el (internal-face-x-get-resource):
8464 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8465 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8466 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8467 Fix declarations.
f20def1f 8468
445f95e2
GM
8469 * calc/calc-menu.el: Make it loadable in isolation.
8470
8471 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8472 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8473 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8474 (eudc-bbdb-query-internal): Require 'bbdb.
8475
99fb2756
GM
8476 * lpr.el (lpr-headers-switches):
8477 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8478
8479 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8480
0da7ad96
GM
8481 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8482
8582e4c4
GM
8483 * term.el (term-set-escape-char): Make it idempotent.
8484
f71c50d0
LL
84852013-05-10 Leo Liu <sdl.web@gmail.com>
8486
5ac2eb34
SM
8487 * progmodes/octave.el (inferior-octave-completion-table):
8488 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8489 completion due to bug#11906.
8490 (octave-beginning-of-defun): Re-write to be more general.
8491
d5837773
GM
84922013-05-10 Glenn Morris <rgm@gnu.org>
8493
8494 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8495
027c0f75
SM
84962013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * comint.el (comint-redirect-send-command-to-process): Use :around
8499 rather than :override for comint-redirect-filter.
8500 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8501 Call it instead of comint-redirect-original-filter-function (which
8502 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8503
4465bfb4
JD
85042013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8505
8506 * frame.el (display-monitor-attributes-list): Add NS case.
8507 (ns-display-monitor-attributes-list): Declare.
8508
2d809ffa 85092013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8510
8511 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8512
e54eeb9b
GM
85132013-05-09 Glenn Morris <rgm@gnu.org>
8514
56cd351d
GM
8515 * international/fontset.el (vertical-centering-font-regexp):
8516 Set standard-value.
8517
d84b6108
GM
8518 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8519
a931698a
GM
8520 * bookmark.el (bookmark-search-delay):
8521 * cus-start.el (vertical-centering-font-regexp):
8522 * ps-mule.el (ps-mule-font-info-database-default):
8523 * ps-print.el (ps-default-fg, ps-default-bg):
8524 * type-break.el (type-break-good-break-interval):
8525 * whitespace.el (whitespace-indentation-regexp)
8526 (whitespace-space-after-tab-regexp):
8527 * emacs-lisp/testcover.el (testcover-1value-functions)
8528 (testcover-noreturn-functions, testcover-progn-functions)
8529 (testcover-prog1-functions):
8530 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8531 * eshell/em-glob.el (eshell-glob-translate-alist):
8532 * play/tetris.el (tetris-tty-colors):
8533 * progmodes/cpp.el (cpp-face-default-list):
8534 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8535 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8536 (idlwave-help-browser-generic-args):
8537 * progmodes/make-mode.el (makefile-special-targets-list):
8538 * progmodes/python.el (python-shell-virtualenv-path):
8539 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8540 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8541 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8542 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8543 * textmodes/reftex-vars.el (reftex-format-label-function):
8544 * textmodes/remember.el (remember-diary-file): Fix custom types.
8545
e54eeb9b
GM
8546 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8547 Add :version.
8548
455851dd
LL
85492013-05-09 Leo Liu <sdl.web@gmail.com>
8550
8551 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8552 Restore file completion. (Bug#14300)
455851dd
LL
8553 (inferior-octave-startup): Fix incorrect highlighting for the
8554 first prompt.
8555
a9e4425b
SM
85562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * progmodes/ruby-mode.el: First cut at SMIE support.
8559 (ruby-use-smie): New var.
8560 (ruby-smie-grammar): New constant.
8561 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8562 (ruby-smie--forward-token, ruby-smie--backward-token)
8563 (ruby-smie-rules): New functions.
8564 (ruby-mode-variables): Setup SMIE if applicable.
8565
060ca408
EZ
85662013-05-08 Eli Zaretskii <eliz@gnu.org>
8567
8568 * simple.el (line-move-visual): Signal beginning/end of buffer
8569 only if vertical-motion moved less than it was requested. Avoids
8570 silly incorrect error messages when there are display strings with
8571 multiple newlines at EOL.
8572
1d5963cc
SM
85732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8576 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8577 (prolog-char-quote-workaround):
8578 * progmodes/cperl-mode.el (cperl-under-as-char):
8579 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8580 Mark as obsolete.
8581 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8582 their declaration.
8583 (vhdl-mode-syntax-table-init): Remove.
8584
c9990474
SM
8585 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8586 last change.
1d5963cc
SM
8587
8588 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8589 syntax for "_".
8590 (ld-script-font-lock-keywords):
8591 Change regexps to use things like \_< and \_>.
8592
8593 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8594 Change all regexps to use things like \_< and \_>.
8595
8596 * progmodes/autoconf.el (autoconf-definition-regexp)
8597 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8598 Handle a _ with symbol syntax.
8599 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8600
c9990474
SM
8601 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8602 Consolidate declaration.
1d5963cc
SM
8603 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8604 the declaration.
8605 (ada-create-syntax-table): Remove.
8606 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8607 already has the right syntax nowadays.
8608 (ada-goto-next-word): Don't change the syntax of "_".
8609
8610 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8611 with-wrapper-hook.
8612
72d3cfca
SS
86132013-05-08 Sam Steingold <sds@gnu.org>
8614
8615 * thingatpt.el (thing-at-point): Accept optional second argument
8616 NO-PROPERTIES to strip the text properties from the return value.
8617 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8618 to `thing-at-point' instead of stripping the properties ourselves.
8619 Also, when `thing-at-point' fails to find a url, prepend "http://"
8620 to the filename at point on the assumption that the user is
8621 pointing at something like gnu.org/gnu.
8622
5cb15713
JB
86232013-05-08 Juanma Barranquero <lekktu@gmail.com>
8624
8625 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8626 * faces.el (crm-separator):
8627 Silence byte-compiler.
8628
8629 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8630 (tool-bar-map): Remove unneeded defvars.
8631
ea78b95b
LL
86322013-05-08 Leo Liu <sdl.web@gmail.com>
8633
8634 Re-work a fix for bug#10994 based on Le Wang's patch.
8635 * ido.el (ido-remove-consecutive-dups): New helper.
8636 (ido-completing-read): Use it.
8637 (ido-chop): Revert fix for bug#10994.
8638
dc7466df
AS
86392013-05-08 Adam Spiers <emacs@adamspiers.org>
8640
8641 * cus-edit.el (custom-save-variables):
8642 Pretty-print long values. (Bug#14187)
8643
9ecf672a
GM
86442013-05-08 Glenn Morris <rgm@gnu.org>
8645
8646 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8647 (m4-mode-syntax-table): Init in the defvar.
8648 (m4-mode-abbrev-table): Let define-derived-mode define it.
8649
3f555be8
TT
86502013-05-08 Tom Tromey <tromey@redhat.com>
8651
8652 * progmodes/m4-mode.el (m4-mode-syntax-table):
8653 Do not treat "_" as word constituent. (Bug#14167)
8654
7cc8ae06
GM
86552013-05-07 Glenn Morris <rgm@gnu.org>
8656
4f58bc06
GM
8657 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8658 Remove explicit eshell-isearch-cancel-map.
8659
7cc8ae06
GM
8660 * progmodes/f90.el (f90-smart-end-names): New option.
8661 (f90-smart-end): Doc fix.
8662 (f90-end-block-optional-name): New constant.
8663 (f90-block-match): Respect f90-smart-end-names.
8664
ceb57e59
SM
86652013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8668 about implicit semi-colons (bug#14218).
8669
4e3f9230
YM
86702013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8671
8672 * frame.el (display-monitor-attributes-list)
8673 (frame-monitor-attributes): New functions.
8674
203a5572
LL
86752013-05-06 Leo Liu <sdl.web@gmail.com>
8676
8677 * progmodes/octave.el (octave-syntax-propertize-function): Change
8678 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8679 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8680 (octave-completion-at-point): Rename from
203a5572
LL
8681 octave-completion-at-point-function.
8682 (inferior-octave-directory-tracker): Robustify.
8683 (octave-text-functions): Remove and fix its uses. No such things
8684 any more.
8685
ee6cff99
SM
86862013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * emacs-lisp/trace.el (trace--display-buffer): New function.
8689 (trace-make-advice): Use it.
8690
32985194
JL
86912013-05-06 Juri Linkov <juri@jurta.org>
8692
8693 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8694 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8695 Doc fix.
8696 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8697 in the help string. (Bug#12985)
8698
a1c700de
KD
86992013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8700
8701 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8702
c67c0839
SM
87032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8704
323885fd
SM
8705 * progmodes/perl-mode.el: Add support for here documents.
8706 (perl-syntax-propertize-function): Match here-doc markers.
8707 (perl-syntax-propertize-special-constructs): Find their end.
8708 (perl-imenu-generic-expression): Use [:alnum:].
8709
c67c0839
SM
8710 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8711 (advice--add-function): Refresh the advice if already present
8712 (bug#14317).
8713
d491e7a8
IA
87142013-05-06 Ivan Andrus <darthandrus@gmail.com>
8715
8716 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8717
ddf9925e
GM
87182013-05-06 Glenn Morris <rgm@gnu.org>
8719
7cc3af27
GM
8720 * w32-fns.el (w32-charset-info-alist): Declare.
8721
16e343d6
GM
8722 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8723 of its defcustom properties.
8724 (eshell-cmpl-initialize): No need to load pcomplete.
8725
7d889a47
GM
8726 * generic-x.el: No need to require comint when compiling.
8727
ddf9925e
GM
8728 * net/eudc-export.el: Make it loadable without bbdb.
8729 (top-level): Use require rather than load-library.
8730 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8731 (eudc-batch-export-records-to-bbdb)
8732 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8733 Require bbdb.
8734
1e2c18df
SM
87352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8738 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8739 some tweaks, instead.
8740
02502a5f
LL
87412013-05-05 Leo Liu <sdl.web@gmail.com>
8742
8743 * progmodes/octave.el (octave-font-lock-keywords)
8744 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8745 (inferior-octave-send-list-and-digest): Improve error message.
8746 (octave-mode, inferior-octave-mode): Use setq-local.
8747 (octave-help): Set info-lookup-mode.
8748
0dc04f42
RS
87492013-05-05 Richard Stallman <rms@gnu.org>
8750
6c54491c
RS
8751 * vc/compare-w.el (compare-windows-whitespace):
8752 Treat no-break space as whitespace.
8753
0dc04f42
RS
8754 * mail/rmailsum.el (rmail-summary-rmail-update):
8755 Detect empty summary and don't change selected message.
8756 (rmail-summary-goto-msg): Likewise.
8757
df8f35df
RS
8758 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8759 Doc fixes, rename args.
8760
5356e1a3
AM
87612013-05-05 Alan Mackenzie <acm@muc.de>
8762
8763 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8764
d44014cb
JL
87652013-05-05 Juri Linkov <juri@jurta.org>
8766
8767 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8768 to not add the length of the summary segment to the return value.
8769 (Bug#14125)
8770
c129b51f
LL
87712013-05-05 Leo Liu <sdl.web@gmail.com>
8772
8773 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8774 (inferior-octave-output-filter): Remove.
8775 (octave-send-region, inferior-octave-startup): Fix callers.
8776 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8777 (octave-binary-file-extensions): New user variable.
8778 (octave-find-definition): Confirm if opening binary files.
8779 (octave-help-file): Use octave-find-definition to get the binary
8780 confirmation.
8781 (octave-help): Adjust for octave-help-file change.
8782
aa7dab97
SM
87832013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8786 Merge the two entries that handle function definitions.
8787 (pascal--syntax-propertize): New const.
8788 (pascal-mode): Use it. Use setq-local.
8789
fd3a9a6b
GM
87902013-05-04 Glenn Morris <rgm@gnu.org>
8791
8792 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8793 (diary-from-outlook): Respect diary-from-outlook-function.
8794
30c7e542
SM
87952013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8798 Move the declaration from C.
8799 (read-minibuffer, eval-minibuffer): Move from C.
8800 (completion-setup-function): Avoid minibuffer-completion-contents.
8801
b54f978b
LL
88022013-05-03 Leo Liu <sdl.web@gmail.com>
8803
8804 * progmodes/octave.el (octave-font-lock-keywords): Do not
8805 dehighlight 'end' in comments or strings.
30c7e542
SM
8806 (octave-completing-read, octave-goto-function-definition):
8807 New helpers.
d4d0f9b3
LL
8808 (octave-help-buffer): New user variable.
8809 (octave-help-file, octave-help-function): New button types.
8810 (octave-help): New command and bind it to C-h ;.
8811 (octave-find-definition): New command and bind it to M-.
d74a1581 8812 (user-error): Alias to error if not defined.
b54f978b 8813
27135018
LL
88142013-05-02 Leo Liu <sdl.web@gmail.com>
8815
8816 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8817 for \. (bug#14332)
8818 (octave-font-lock-keywords): Include [ and {.
8819
0d634d3a
LL
88202013-05-02 Leo Liu <sdl.web@gmail.com>
8821
8822 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8823 (inferior-octave): Remove calling comint-mode and return the buffer.
8824 (inferior-octave-startup): Cosmetic changes.
8825
b4c8295e
LL
88262013-05-02 Leo Liu <sdl.web@gmail.com>
8827
30c7e542
SM
8828 * progmodes/octave.el (octave-syntax-propertize-function):
8829 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8830
f12ad6ec
GM
88312013-05-02 Glenn Morris <rgm@gnu.org>
8832
8833 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8834 * desktop.el (vc-dir-mode): Just autoload it here.
8835
30cac1e0
AM
88362013-05-02 Alan Mackenzie <acm@muc.de>
8837
8838 Eliminate variable c-standard-font-lock-fontify-region-function.
8839 * progmodes/cc-mode.el
8840 (c-standard-font-lock-fontify-region-function): Remove.
8841 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8842
d8ef28b1
LL
88432013-05-01 Leo Liu <sdl.web@gmail.com>
8844
2640d52e 8845 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8846 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8847 variables were removed from Octave in 2007.
d8ef28b1
LL
8848 (inferior-octave-startup): Fix uses.
8849 (comint-line-beginning-position): Remove compatibility code for
8850 emacs 21.
8851
ac63ec89
JL
88522013-05-01 Juri Linkov <juri@jurta.org>
8853
8854 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8855
9e9be37c
JL
88562013-05-01 Juri Linkov <juri@jurta.org>
8857
8858 * comint.el (comint-previous-matching-input): Don't print message
8859 "History item: %d" when `isearch-mode' is active.
8860 (comint-history-isearch-message): Print message "History item: %d"
8861 when `comint-input-ring-index' is not empty and this function is
8862 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8863
9b92c13b
LL
88642013-05-01 Leo Liu <sdl.web@gmail.com>
8865
8866 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8867 definitions. Use completion-at-point to insert keywords.
8868 (octave-abbrev-start): Remove.
8869 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8870
b12d33d7
LL
88712013-04-30 Leo Liu <sdl.web@gmail.com>
8872
8873 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8874 change.
8875
3d1c39fa
AM
88762013-04-30 Alan Mackenzie <acm@muc.de>
8877
8878 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8879 * progmodes/cc-engine.el (c-back-over-member-initializers):
8880 new function.
3d1c39fa
AM
8881 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8882 (most) member init lists.
8883
5147fc17
RS
88842013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8885
8886 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8887 variable.
8888
5b78d7fc
LL
88892013-04-30 Leo Liu <sdl.web@gmail.com>
8890
8891 * progmodes/octave.el (octave-variables): Remove. No builtin
8892 variables any more. All converted to functions.
8893 (octave-font-lock-keywords, octave-completion-at-point-function):
8894 Fix uses.
8895 (octave-font-lock-texinfo-comment): New user variable.
8896 (octave-texinfo-font-lock-keywords): New variable for texinfo
8897 comment block.
8898 (octave-function-comment-block): New face.
8899 (octave-font-lock-texinfo-comment): New function.
8900 (octave-mode): Font lock texinfo comment block.
8901
38d8527b
LL
89022013-04-29 Leo Liu <sdl.web@gmail.com>
8903
8904 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8905 indexing expression.
8906 (octave-continuation-string): Do not use \.
8907 (inferior-octave-complete-impossible): Remove.
8908 (inferior-octave-completion-table)
8909 (inferior-octave-completion-at-point): Remove its uses.
8910 (inferior-octave-startup): completion_matches was introduced to
8911 Octave in 1996 so safe to assume it.
8912 (octave-function-file-comment): Improve to follow how Octave does it.
8913 (octave-update-function-file-comment): Tweak.
8914
2ec12cb0
LL
89152013-04-29 Leo Liu <sdl.web@gmail.com>
8916
8917 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8918 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8919 (octave-function-file-comment): Fix typo.
8920 (octave-sync-function-file-names): Use read-char-choice.
8921
6eaed048
JB
89222013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8923
8924 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8925 to t for the less important warnings.
8926
3ffa2d4f
DH
89272013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8928
8929 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8930
685c9501
GM
89312013-04-27 Glenn Morris <rgm@gnu.org>
8932
8933 * vc/log-view.el (log-view-current-entry):
8934 Treat "---" separator lines as part of the following rev. (Bug#14169)
8935
0208ede7
JL
89362013-04-27 Juri Linkov <juri@jurta.org>
8937
8938 * subr.el (read-number): Doc fix about using it by interactive
8939 code letter `n'. (Bug#14254)
8940
5db9dace
JL
89412013-04-27 Juri Linkov <juri@jurta.org>
8942
8943 * desktop.el (desktop-auto-save-timeout): New option.
8944 (desktop-file-checksum): New variable.
8945 (desktop-save): Add optional arg `auto-save' and don't auto-save
8946 if nothing changed.
8947 (desktop-auto-save-timer): New variable.
8948 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8949 (after-init-hook): Call `desktop-auto-save-set-timer'.
8950 Suggested by Reuben Thomas <rrt@sc3d.org> in
8951 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8952
b7260dd4
LL
89532013-04-27 Leo Liu <sdl.web@gmail.com>
8954
8955 * progmodes/octave.el (octave-function-file-p)
8956 (octave-skip-comment-forward, octave-function-file-comment)
8957 (octave-update-function-file-comment): New functions.
8958 (octave-mode-map): Bind C-c ; to
8959 octave-update-function-file-comment.
8960 (octave-mode-menu): Add octave-update-function-file-comment.
8961 (octave-mode, inferior-octave-mode): Fix doc-string.
8962 (octave-insert-defun): Conform to Octave's coding convention.
8963 (Bug#14285)
8964
8965 * files.el (basic-save-buffer): Don't let errors in
8966 before-save-hook prevent saving buffer.
8967
c46da669
RW
89682013-04-20 Roland Winkler <winkler@gnu.org>
8969
8970 * faces.el (read-face-name): Use completing-read if arg multiple
8971 is nil.
8972
a81ee1eb
IL
89732013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8974
8975 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8976 displayed, move point to after the totals line.
8977 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8978 for the details.
8979
4fac34ce
SM
89802013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8983 Add current dir to the load-path.
8984 (package-generate-autoloads): Don't rely on
8985 autoload-ensure-default-file.
8986
f6bfc063
RT
89872013-04-26 Reuben Thomas <rrt@sc3d.org>
8988
d40ab5cf
BG
8989 * textmodes/remember.el (remember-store-in-files): Document that
8990 the file name format is passed to `format-time-string'.
f6bfc063 8991
e55d3b04
LL
89922013-04-26 Leo Liu <sdl.web@gmail.com>
8993
8994 * progmodes/octave.el (octave-sync-function-file-names): New function.
8995 (octave-mode): Use it in before-save-hook.
8996
e53052d3
SM
89972013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8998
140ef50c
SM
8999 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9000 (bug#14274).
9001
e53052d3
SM
9002 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9003 \n and comment, even if it's not an implicit ; (bug#14218).
9004
af80458d 90052013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9006
9007 * subr.el (read-number): Once more use `read' rather than
9008 `string-to-number', to trap non-numeric input. (Bug#14254)
9009
af80458d 90102013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9011
9012 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9013 Use `syntax-multiline' text property consistently instead of
8a621d53 9014 `font-lock-multiline'. (Bug#14237)
70203c2e 9015
e6ea1f6c
GM
90162013-04-26 Glenn Morris <rgm@gnu.org>
9017
9018 * emacs-lisp/shadow.el (list-load-path-shadows):
9019 No longer necessary to check for duplicate simple.el, since
9020 2012-07-07 change to init_lread to not include installation lisp
9021 directories in load-path when running uninstalled. (Bug#14270)
9022
070ccca4
LL
90232013-04-26 Leo Liu <sdl.web@gmail.com>
9024
9025 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9026 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9027 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9028 octave-in-string-or-comment-p.
9029 (octave-in-comment-p, octave-in-string-p)
9030 (octave-in-string-or-comment-p): Replace defsubst with defun.
9031
9d1c5fb6
PE
90322013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9033
9034 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9035
c034abda
BG
90362013-04-25 Bastien Guerry <bzg@gnu.org>
9037
9038 * textmodes/remember.el (remember-data-directory)
9039 (remember-directory-file-name-format): Fix custom types.
9040
584ea277
LL
90412013-04-25 Leo Liu <sdl.web@gmail.com>
9042
e53052d3
SM
9043 * progmodes/octave.el (octave-completion-at-point-function):
9044 Make use of inferior octave process.
584ea277
LL
9045 (octave-initialize-completions): Remove.
9046 (inferior-octave-completion-table): New function.
9047 (inferior-octave-completion-at-point): Use it.
9048 (octave-completion-alist): Remove.
9049
1693b06a
SM
90502013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9053 (opascal-mode-syntax-table): New var.
9054 (opascal-literal-kind, opascal-is-literal-end)
9055 (opascal-literal-token-at): Rewrite.
9056 (opascal--literal-start-re, opascal-font-lock-keywords)
9057 (opascal--syntax-propertize): New constants.
9058 (opascal-font-lock-defaults): Adjust.
9059 (opascal-mode): Use them. Set comment-<foo> variables as well.
9060 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9061 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9062 (delphi-other-face, opascal-other-face): Remove face variables.
9063 (opascal-save-state): Remove macro.
9064 (opascal-fontifying-progress-step): Remove constant.
9065 (opascal--ignore-changes): Remove var.
9066 (opascal-set-token-property, opascal-parse-next-literal)
9067 (opascal-is-stable-literal, opascal-complete-literal)
9068 (opascal-is-literal-start, opascal-face-of)
9069 (opascal-parse-region, opascal-parse-region-until-stable)
9070 (opascal-fontify-region, opascal-after-change)
9071 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9072 (opascal-debug-parse-region, opascal-debug-parse-window)
9073 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9074 (opascal-debug-fontify-buffer): Remove.
9075 (opascal-debug-mode-map): Adjust accordingly.
9076
be64c05d
LL
90772013-04-25 Leo Liu <sdl.web@gmail.com>
9078
9079 Merge octave-mod.el and octave-inf.el into octave.el with some
9080 cleanups.
9081 * progmodes/octave.el: New file renamed from octave-mod.el.
9082 * progmodes/octave-inf.el: Merged into octave.el.
9083 * progmodes/octave-mod.el: Renamed to octave.el.
9084
d79d37bd
TH
90852013-04-25 Tassilo Horn <tsdh@gnu.org>
9086
9087 * textmodes/reftex-vars.el
9088 (reftex-label-ignored-macros-and-environments): New defcustom.
9089
9090 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9091
ced3fc5d
SM
90922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9095 (smie-indent-keyword): Improve the check to ensure that the next
9096 comment is really on the same line.
9097 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9098
9099 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9100 semi-colons if the line is not otherwise empty (bug#14218).
9101
1c141dad
GM
91022013-04-25 Glenn Morris <rgm@gnu.org>
9103
9104 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9105
5058062a
SM
91062013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * progmodes/opascal.el (opascal-set-token-property): Rename from
9109 opascal-set-text-properties and only set `token' (bug#14134).
9110 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9111 (opascal-literal-text-properties): Remove.
9112 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9113 Adjust callers.
9114
5db9dace 91152013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9116
9117 * textmodes/remember.el (remember-handler-functions): Add an
9118 option for a new handler `remember-store-in-files'.
9119 (remember-data-directory, remember-directory-file-name-format):
9120 New options.
9121 (remember-store-in-files): New function to store remember notes
9122 as separate files within a directory.
9123
4391916c
MH
91242013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9125
9126 * progmodes/compile.el (compilation-next-error-function):
9127 Pass "formats" to compilation-find-file (bug#11777).
9128
bb7cdf58
GM
91292013-04-24 Glenn Morris <rgm@gnu.org>
9130
3b8fe752 9131 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9132 * vc/vc-hg.el (vc-hg-print-log):
9133 * vc/vc-svn.el (vc-svn-print-log):
9134 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9135
bb7cdf58
GM
9136 * vc/vc-bzr.el (vc-bzr-print-log):
9137 * vc/vc-cvs.el (vc-cvs-print-log):
9138 * vc/vc-git.el (vc-git-print-log):
9139 * vc/vc-hg.el (vc-hg-print-log):
9140 * vc/vc-mtn.el (vc-mtn-print-log):
9141 * vc/vc-rcs.el (vc-rcs-print-log):
9142 * vc/vc-sccs.el (vc-sccs-print-log):
9143 * vc/vc-svn.el (vc-svn-print-log):
9144 * vc/vc.el (vc-print-log-internal): Doc fixes.
9145
b46a056e
GM
91462013-04-23 Glenn Morris <rgm@gnu.org>
9147
9148 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9149 Remove venerable code attempting to avoid substitute-command-keys.
9150
0aecf718
TH
91512013-04-23 Tassilo Horn <tsdh@gnu.org>
9152
4391916c
MH
9153 * textmodes/reftex-vars.el (reftex-label-regexps):
9154 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9155
117f94cf
SM
91562013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9157
4391916c 9158 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9159 Use lexical-binding.
9160 (jit-lock-force-redisplay): Use markers, check buffer's continued
9161 existence and beware narrowed buffers.
9162 (jit-lock-fontify-now): Adjust call accordingly.
9163
1d829c64
SM
91642013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9167 to avoid misleading the user.
9168
72d548a9
LL
91692013-04-22 Leo Liu <sdl.web@gmail.com>
9170
9171 * info-look.el: Prefer latex2e.info. (Bug#14240)
9172
d0853629
MA
91732013-04-22 Michael Albinus <michael.albinus@gmx.de>
9174
9175 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9176
9177 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9178 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9179 (tramp-set-completion-function, tramp-parse-putty):
9180 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9181 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9182 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9183 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9184 (tramp-call-local-coding-command): Use `tramp-call-process'
9185 instead of `tramp-compat-call-process'.
9186
9187 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9188 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9189 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9190 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9191 (tramp-maybe-send-script): Check for Perl binary.
9192 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9193
38cc0210
DU
91942013-04-22 Daiki Ueno <ueno@gnu.org>
9195
9196 * epg.el (epg-context-pinentry-mode): New function.
9197 (epg-context-set-pinentry-mode): New function.
9198 (epg--start): Pass --pinentry-mode option to gpg command.
9199
cc641ee1
XF
92002013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9201
02d844b5 9202 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9203 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9204 `completion-at-point'. (Bug#13774)
5d4e5c31 9205
cc641ee1
XF
9206 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9207 default key binding for `describe-distribution' has been moved to
9208 `C-h C-o'. (Bug#13970)
9209
1b42ee43
GM
92102013-04-21 Glenn Morris <rgm@gnu.org>
9211
9212 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9213 Add doc strings.
9214 (vc-print-log): Clarify interactive prompt.
9215
a6d63d97
GM
92162013-04-20 Glenn Morris <rgm@gnu.org>
9217
9218 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9219 No longer include timestamp etc information.
9220
d7f5c16f
RW
92212013-04-20 Roland Winkler <winkler@gnu.org>
9222
9223 * faces.el (read-face-name): Bug fix, return just one face if arg
9224 multiple is nil. (Bug#14209)
9225
bcd7a0a4
SM
92262013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9229 (remove-function): Autoload.
9230
9231 * comint.el (comint-redirect-original-filter-function): Remove.
9232 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9233 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9234 (vc-cvs-annotate-command):
bcd7a0a4
SM
9235 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9236 * progmodes/prolog.el (prolog-consult-compile):
9237 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9238 Use add/remove-function instead.
9239 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9240 (gud-tooltip-process-output, gud-tooltip-tips):
9241 Use add/remove-function instead.
9242 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9243 (scheme-interaction-mode, exit-scheme-interaction-mode):
9244 Use add/remove-function instead.
9245
9246 * vc/vc-dispatcher.el: Use lexical-binding.
9247 (vc--process-sentinel): Rename from vc-process-sentinel.
9248 Change last arg to be the code to run. Don't use vc-previous-sentinel
9249 and vc-sentinel-commands any more.
9250 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9251 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9252
e36b2d20 92532013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9254
bcd7a0a4 9255 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9256 Handle function names with a single character. (Bug#14111)
4d3268ba 9257
781b4af6 92582013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9259
9260 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9261 for subroutines defined in an eval (bug#14182).
9262
7d688336
TV
92632013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9264
9265 * bookmark.el (bookmark-completing-read): Improve handling of empty
9266 string (bug#14176).
9267
31dcede0
SM
92682013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9271
adc31213
FEG
92722013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9273
9274 New faster Imenu implementation (bug#14058).
9275 * progmodes/python.el:
9276 (python-imenu-prev-index-position):
9277 (python-imenu-format-item-label-function)
9278 (python-imenu-format-parent-item-label-function)
9279 (python-imenu-format-parent-item-jump-label-function):
9280 New vars.
9281 (python-imenu-format-item-label)
9282 (python-imenu-format-parent-item-label)
9283 (python-imenu-format-parent-item-jump-label)
9284 (python-imenu--put-parent, python-imenu--build-tree)
9285 (python-imenu-create-index, python-imenu-create-flat-index)
9286 (python-util-popn): New functions.
9287 (python-mode): Set imenu-create-index-function to
9288 python-imenu-create-index.
9289
cdca8255
SM
92902013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * winner.el (winner-active-region): Use region-active-p, activate-mark
9293 and deactivate-mark (bug#14225).
9294
9295 * simple.el (deactivate-mark): Don't inline it.
9296
beb42340
MA
92972013-04-18 Michael Albinus <michael.albinus@gmx.de>
9298
9299 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9300
fc7f4d7e
TH
93012013-04-18 Tassilo Horn <tsdh@gnu.org>
9302
9303 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9304 file extensions from the archive-mode entry in order to prefer
9305 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9306
29f47822
LL
93072013-04-18 Leo Liu <sdl.web@gmail.com>
9308
9309 * bindings.el (help-event-list): Add ?\?.
9310
d36ed1c8
SM
93112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * subr.el (with-wrapper-hook): Declare obsolete.
9314 * simple.el (filter-buffer-substring-function): New hook.
9315 (filter-buffer-substring): Use it.
9316 (filter-buffer-substring-functions): Mark obsolete.
9317 * minibuffer.el (completion-in-region-function): New hook.
9318 (completion-in-region): Use it.
9319 (completion-in-region-functions): Mark obsolete.
9320 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9321 * abbrev.el (abbrev-expand-function): New hook.
9322 (expand-abbrev): Use it.
9323 (abbrev-expand-functions): Mark obsolete.
9324 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9325 and :filter-return.
9326
04754d36
FEG
93272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9328
9329 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9330 and do not care about match data.
9331
dd8791e9
SM
93322013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9335 completion tables when completing error conditions and
9336 `declare' arguments.
9337 (lisp-complete-symbol, field-complete): Mark as obsolete.
9338 (check-parens): Unmatched parens are user errors.
9339 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9340
ffe54a13
AM
93412013-04-17 Michal Nazarewicz <mina86@mina86.com>
9342
dd8791e9
SM
9343 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9344 command changed buffer (ie. `flyspell-pre-buffer' is not current
9345 buffer), which prevents making decisions based on invalid value of
9346 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9347 cause an error when `flyspell-pre-point' was nil after switching
9348 buffers.
9349 (flyspell-post-command-hook): No longer needs to change buffers when
9350 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9351
ec7e39f2
AM
93522013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9353
9354 * textmodes/ispell.el (ispell-add-per-file-word-list):
9355 Fix `flyspell-correct-word-before-point' error when accepting
9356 words and `coment-padding' is an integer by using
9357 `comment-normalize-vars' (Bug #14214).
9358
083850a6
FEG
93592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9360
9361 New defun movement commands.
9362 * progmodes/python.el (python-nav--syntactically)
9363 (python-nav--forward-defun, python-nav-backward-defun)
9364 (python-nav-forward-defun): New functions.
9365
619ed6e1
FEG
93662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9367
9368 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9369 (python-syntax-context): Use named compiler-macro for backwards
9370 compatibility with Emacs 24.x.
9371
7a1beb6c
LL
93722013-04-17 Leo Liu <sdl.web@gmail.com>
9373
9374 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9375 octave-hide-process-buffer.
9376
2d3fa3e5
SM
93772013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9380 (bug#14216).
9381
7ce5be54
JPG
93822013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9383
9384 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9385 Fix adjustment of offset when receiving incomplete responses from GDB
9386 (bug#14129).
9387
351edece
SM
93882013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9391 python-mode-abbrev-table.
9392 (python-skeleton-define): Adjust accordingly.
9393 (python-mode-abbrev-table): New table that inherits from it so that
9394 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9395
9396 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9397 (abbrev-symbol): Use it.
9398 (abbrev--before-point): Use it since we already handle inheritance.
9399
613f9481
LL
94002013-04-16 Leo Liu <sdl.web@gmail.com>
9401
9402 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9403 binding to info-lookup-symbol.
9404
51646b62
JB
94052013-04-16 Juanma Barranquero <lekktu@gmail.com>
9406
9407 * minibuffer.el (completion--twq-all):
9408 * term/ns-win.el (ns-initialize-window-system):
9409 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9410
efb3f01d
SM
94112013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9412
36c0a301
SM
9413 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9414 global bindings.
9415
efb3f01d
SM
9416 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9417
fb549d64
DG
94182013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9419
9420 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9421 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9422 to nil.
9423 (ruby-end-of-defun): Remove the unused arg, change the docstring
9424 to reflect that this function is only used as the value of
9425 `end-of-defun-function'.
9426 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9427 to reflect an earlier change that beginning/end-of-defun functions
9428 jump between methods in a class definition, as well as top-level
9429 functions.
9430
21e8fe2f
SM
94312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * minibuffer.el (minibuffer-complete): Don't just scroll
9434 a *Completions* that's been iconified.
9435 (minibuffer-force-complete): Make sure repetitions do cycle when going
9436 through completion-in-region -> minibuffer-complete.
9437
20e527d0
AM
94382013-04-15 Alan Mackenzie <acm@muc.de>
9439
9440 Correct the placement of c-cpp-delimiters when there're #s not at
9441 col 0.
9442
9443 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9444 place a submatch around the #.
21e8fe2f
SM
9445 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9446 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9447 on the #, not BOL.
9448
dabefae5
SM
94492013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9452 (advice--member-p): New arg `name'.
9453 (advice--add-function, advice-member-p): Use it (bug#14202).
9454
85c9ab64
AM
94552013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9456
9457 Reformulate java imenu-generic-expression.
9458 The old expression contained ill formed regexps.
9459
9460 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9461 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9462 (cc-imenu-java-method-arg-regexp): New defconsts.
9463 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9464 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9465 handling of spaces in the regexp.
9466
0f821d99
AM
94672013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9468
9469 * textmodes/ispell.el (ispell-command-loop): Remove
9470 flyspell highlight of a word when ispell accepts it (bug #14178).
9471
eb922adf
MA
94722013-04-15 Michael Albinus <michael.albinus@gmx.de>
9473
9474 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9475 uses code from the previous `ange-ftp-run-real-handler'.
9476 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9477 only in case that function exist. This is needed for proper
9478 unloading of Tramp.
9479
4d9a0979
TH
94802013-04-15 Tassilo Horn <tsdh@gnu.org>
9481
9482 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9483
9484 * textmodes/reftex.el (reftex-compile-variables): Use it.
9485
a829b0dc
SM
94862013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9487
91e8293c
SM
9488 * files.el (normal-mode): Only use default major-mode if no other mode
9489 was specified.
9490
830aed4d
SM
9491 * emacs-lisp/trace.el (trace-values): New function.
9492
a829b0dc
SM
9493 * files.el: Allow : in local variables (bug#14089).
9494 (hack-local-variable-regexp): New var.
9495 (hack-local-variables-prop-line, hack-local-variables): Use it.
9496
7ae9f0fb
RW
94972013-04-13 Roland Winkler <winkler@gnu.org>
9498
9499 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9500 data before it gets modified by bibtex-beginning-of-entry.
9501
6646e848
RW
95022013-04-13 Roland Winkler <winkler@gnu.org>
9503
9504 * textmodes/bibtex.el (bibtex-url): Doc fix.
9505
95062013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9507
9508 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9509 does not visit a BibTeX file, exclude it from the list of buffers
9510 returned by bibtex-initialize.
9511
0aa3616e
SB
95122013-04-13 Stephen Berman <stephen.berman@gmx.net>
9513
9514 * window.el (split-window): Remove interactive form, since as a
9515 command this function is a special case of split-window-below.
9516 Correct doc string.
9517
011cddd6
RW
95182013-04-12 Roland Winkler <winkler@gnu.org>
9519
9520 * faces.el (read-face-name): Do not override value of arg default.
9521 Allow single faces and strings as default values. Remove those
9522 elements from return value that are not faces.
9523 (describe-face): Simplify.
9524 (face-at-point): New optional args thing and multiple so that this
9525 function can provide the same functionality previously provided by
9526 read-face-name.
9527 (make-face-bold, make-face-unbold, make-face-italic)
9528 (make-face-unitalic, make-face-bold-italic, invert-face)
9529 (modify-face, read-face-and-attribute): Use face-at-point.
9530
9531 * cus-edit.el (customize-face, customize-face-other-window)
9532 * cus-theme.el (custom-theme-add-face)
9533 * face-remap.el (buffer-face-set)
9534 * facemenu.el (facemenu-set-face): Use face-at-point.
9535
f24e0036
MA
95362013-04-12 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9539
da3cda2d
TH
95402013-04-10 Tassilo Horn <tsdh@gnu.org>
9541
9542 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9543 off leading { and trailing } from field values.
9544
15e54145
SM
95452013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9546
78ce603d
SM
9547 * emacs-lisp/timer.el (timer--check): New function.
9548 (timer--time, timer-set-function, timer-event-handler): Use it.
9549 (timer-set-idle-time): Simplify.
9550 (timer--activate): CSE.
9551 (timer-event-handler): Give more info in error message.
9552 (internal-timer-start-idle): New function, moved from C.
9553
15e54145
SM
9554 * mpc.el (mpc-proc): Add `restart' argument.
9555 (mpc-proc-cmd): Use it.
9556 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9557 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9558 less often.
9559
7144c627
MY
95602013-04-10 Masatake YAMATO <yamato@redhat.com>
9561
9562 * progmodes/sh-script.el: Implement `sh-mode' own
9563 `add-log-current-defun-function' (bug#14112).
9564 (sh-current-defun-name): New function.
9565 (sh-mode): Use the function.
9566
b39792eb
BG
95672013-04-09 Bastien Guerry <bzg@gnu.org>
9568
9569 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9570
8acdeb71
SM
95712013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9572
6fcdab68
SM
9573 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9574
8acdeb71
SM
9575 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9576 timer (bug#14156).
9577
e3e7b504
NF
95782013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9579
9580 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9581 declaration.
9582
201bb296
LL
95832013-04-07 Leo Liu <sdl.web@gmail.com>
9584
9585 * pcmpl-x.el: New file.
9586
ebb19708
DA
95872013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9588
9589 Do not set x-display-name until X connection is established.
9590 This is needed to prevent from weird situation described at
9591 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9592 * frame.el (make-frame): Set x-display-name after call to
9593 window system initialization function, not before.
9594 * term/x-win.el (x-initialize-window-system): Add optional
9595 display argument and use it.
9596 * term/w32-win.el (w32-initialize-window-system):
9597 * term/ns-win.el (ns-initialize-window-system):
9598 * term/pc-win.el (msdos-initialize-window-system):
9599 Add compatible optional display argument.
9600
33bb237a
EZ
96012013-04-06 Eli Zaretskii <eliz@gnu.org>
9602
9603 * files.el (normal-backup-enable-predicate): On MS-Windows and
9604 MS-DOS compare truenames of temporary-file-directory and of the
9605 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9606 don't fail comparison by compare-strings. Also, compare file
9607 names case-insensitively on MS-Windows and MS-DOS.
9608
134abf1f
SM
96092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9612 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9613
d695cb94
DG
96142013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9615
e3e7b504
NF
9616 * whitespace.el (whitespace-color-on, whitespace-color-off):
9617 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9618
f4ad7ea1 96192013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9620
9621 * ispell.el (ispell-set-spellchecker-params):
9622 Really set `ispell-args' for all equivs.
9623
632556e4
SM
96242013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * ido.el (ido-completions): Use extra elements of ido-decorations
9627 (bug#14143).
9628 (ido-decorations): Update docstring.
9629
2a417372
MA
96302013-04-05 Michael Albinus <michael.albinus@gmx.de>
9631
9632 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9633 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9634 nil during initialization, in order not to miss changes since the
9635 file was opened. (Bug#14140)
9636
fc164b0c
LL
96372013-04-05 Leo Liu <sdl.web@gmail.com>
9638
9639 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9640
0ccecc08
JB
96412013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9642
9643 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9644
51af1aa2
GM
96452013-04-04 Glenn Morris <rgm@gnu.org>
9646
9647 * electric.el (electric-pair-inhibit-predicate): Add :version.
9648
b208ebc6
SM
96492013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9652 when a package is required several times (bug#14082).
9653
f3d3eaf0
RW
96542013-04-04 Roland Winkler <winkler@gnu.org>
9655
9656 * faces.el (read-face-name): Behave as promised by the docstring.
9657 Assume that arg default is a list of faces.
9658 (describe-face): Call read-face-name with list of default faces.
9659
2575da50
TV
96602013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9661
9662 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9663 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9664 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9665 the header.
9666 (bookmark-exit-hook-internal): Save even if list is empty.
9667
397703b4
YH
96682013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9669
9670 * emacs-lisp/package.el (package-pinned-packages): New var.
9671 (package--add-to-archive-contents): Obey it (bug#14118).
9672
691e26ae
AM
96732013-04-03 Alan Mackenzie <acm@muc.de>
9674
8a621d53
JB
9675 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9676 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9677
9678 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9679 parameter `not-in-delimiter'. Handle being inside comment opener.
9680 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9681 character in case we're typing a '*' after a '/'.
9682 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9683 instead by passing the parameter to c-state-pp-to-literal.
9684
9685 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9686 for elt. 7 of a parse state.
9687
4b725a70
PE
96882013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9689
9690 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9691 * international/latin1-disp.el, international/mule-util.el:
9692 * language/cyril-util.el, language/european.el, language/ind-util.el:
9693 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9694 * language/tibetan.el, language/viet-util.el:
9695 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9696
15c579f0
SM
96972013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9700 (electric-pair-post-self-insert-function): Use it.
9701 (electric-pair-default-inhibit): New function, extracted from
9702 electric-pair-post-self-insert-function.
9703
a77e2924
RW
97042013-03-31 Roland Winkler <winkler@gnu.org>
9705
9706 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9707
2bd8a4a8
SM
97082013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9711
8d3655be 97122013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9713
9714 Un-indent after "pass" and "return" statements (Bug#13888)
9715 * progmodes/python.el (python-indent-block-enders): New var.
9716 (python-indent-calculate-indentation): Use it.
9717
8d3655be 97182013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9719
9720 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9721 defun. Defining it as defalias could introduce too eager
9722 byte-compiler optimization. (Bug#14030)
9723
8d3655be 97242013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9725
9726 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9727
0b1619da
LL
97282013-03-30 Leo Liu <sdl.web@gmail.com>
9729
9730 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9731 (kmacro-execute-from-register): Pass the keyboard macro to
9732 kmacro-call-macro or repeating won't work correctly.
9733
0b938190
TZ
97342013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9735
9736 * progmodes/subword.el: Back to using `forward-symbol'.
9737
9738 * subr.el (forward-whitespace, forward-symbol)
9739 (forward-same-syntax): Move from thingatpt.el.
9740
35710234
LL
97412013-03-29 Leo Liu <sdl.web@gmail.com>
9742
9743 * kmacro.el (kmacro-to-register): New command.
9744 (kmacro-execute-from-register): New function.
9745 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9746
efc0bb73
SM
97472013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9748
9749 * mpc.el: Use defvar-local and setq-local.
9750 (mpc--proc-connect): Connection failures are not bugs.
9751 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9752 (mpc-volume-map): Bind to the up-events.
9753
75a2f981
TZ
97542013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9755
9756 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9757 instead of `forward-symbol'.
9758
17c781d1
SM
97592013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9762 (edebug--recursive-edit): Use it.
9763 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9764 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9765
f67bfbcf
LL
97662013-03-28 Leo Liu <sdl.web@gmail.com>
9767
9768 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9769
b59f639d
EZ
97702013-03-27 Eli Zaretskii <eliz@gnu.org>
9771
9772 * facemenu.el (list-colors-callback): New defvar.
9773 (list-colors-redisplay): New function.
9774 (list-colors-display): Install list-colors-redisplay as the
9775 revert-buffer-function. (Bug#14063)
9776
f557c1b1
SM
97772013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9778
b1da2957
SM
9779 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9780 and suffixes don't overlap (bug#14061).
9781
f557c1b1
SM
9782 * case-table.el: Use lexical-binding.
9783 (case-table-get-table): New function.
9784 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9785
002668e1
TZ
97862013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9787
9788 * progmodes/subword.el: Add `superword-mode' to do word motion
9789 over symbol_words (parallels and leverages `subword-mode' which
9790 does word motion inside MixedCaseWords).
9791
73572c72
AG
97922013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9793
78b8f320 9794 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9795 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9796
69b2c07e
SM
97972013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9800 Change return value to be a sexp. Delay `get-buffer' to after
9801 restoring the desktop (bug#13951).
9802
08bb5ee2
LL
98032013-03-26 Leo Liu <sdl.web@gmail.com>
9804
9805 * register.el: Move semantic tag handling back to
9806 cedet/semantic/senator.el. (Bug#14052)
9807
8d4c974e
SM
98082013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9811 into the prompt either (bug#13963).
9812
b234d92c
SM
98132013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9816 part of "(error-foo)".
9817
ddfa3cb4
JL
98182013-03-24 Juri Linkov <juri@jurta.org>
9819
9820 * replace.el (list-matching-lines-prefix-face): New defcustom.
9821 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9822 `occur-engine' if `face-differs-from-default-p' returns t.
9823 (occur-engine): Add `,' inside backquote construct to evaluate
9824 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9825 Pass `prefix-face' to the functions `occur-context-lines' and
9826 `occur-engine-add-prefix'.
9827 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9828 `prefix-face' and propertize the prefix with `prefix-face'.
9829 (Bug#14017)
9830
7b0e2f85
LL
98312013-03-24 Leo Liu <sdl.web@gmail.com>
9832
9833 * nxml/rng-valid.el (rng-validate-while-idle)
9834 (rng-validate-quick-while-idle): Guard against deleted buffer.
9835 (Bug#13999)
9836
9837 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9838 is the last entry in kill-buffer-hook.
9839
9840 * files.el (kill-buffer-hook): Doc fix.
9841
b3082f49
DG
98422013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9843
b234d92c
SM
9844 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9845 Make it safe-local.
bde73d27 9846
b3082f49
DG
9847 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9848
a320a2db
LL
98492013-03-23 Leo Liu <sdl.web@gmail.com>
9850
7e74b0fb
LL
9851 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9852 Remove.
9853
9854 * nxml/rng-valid.el (rng-validate-mode)
9855 (rng-after-change-function, rng-do-some-validation):
9856 * nxml/rng-maint.el (rng-validate-buffer):
9857 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9858 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9859 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9860 (nxml-extend-after-change-region): Use with-silent-modifications.
9861
a320a2db
LL
9862 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9863 timer-idle-list.
9864
9865 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9866 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9867 timer-idle-list. (Bug#13999)
9868
e38e6780
JL
98692013-03-23 Juri Linkov <juri@jurta.org>
9870
9871 * info.el (info-index-match): New face.
9872 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9873 main pattern and add text properties with the new face to matches
9874 in index entries relative to the beginning of the index entry.
9875 (Bug#14015)
9876
e8cc7880
DE
98772013-03-21 Eric Ludlam <zappo@gnu.org>
9878
9879 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9880 Inhibit read only while inserting objects.
9881
9bb0d822
TZ
98822013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9883
9884 * progmodes/cfengine.el: Update docs to mention
9885 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9886 symbol motion. Remove "_" from the word syntax.
9887
aa703640
TZ
98882013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9889
9890 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9891 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9892
afff09d0
JL
98932013-03-20 Juri Linkov <juri@jurta.org>
9894
9895 * info.el (Info-next-reference-or-link)
9896 (Info-prev-reference-or-link): New functions.
9897 (Info-next-reference, Info-prev-reference): Use them.
9898 (Info-try-follow-nearest-node): Handle footnote navigation.
9899 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9900
9a1ff164
SM
99012013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9904 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9905
2667d15d
PE
99062013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9907
9908 Suppress unnecessary non-ASCII chatter during build process.
9909 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9910 (batch-skkdic-convert): Suppress most of the chatter.
9911 It's not needed so much now that machines are faster,
9912 and its non-ASCII component was confusing; see Dmitry Gutov in
9913 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9914
438b0579
LL
99152013-03-20 Leo Liu <sdl.web@gmail.com>
9916
9917 * ido.el (ido-chop): Fix bug#10994.
9918
c128ab07
DG
99192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9920
9921 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9922 Remove vars.
9a1ff164
SM
9923 (whitespace-color-on, whitespace-color-off):
9924 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9925
0e6008c5
SM
99262013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9929 remapping in mode-line.
9930 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9931
627b52b0
DG
99322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9933
9934 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9935 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9936 (whitespace-font-lock-keywords): Change description.
9937 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9938 the constructed keywords instead.
9939 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9940
50c3a20b
LL
99412013-03-19 Leo Liu <sdl.web@gmail.com>
9942
9943 * progmodes/compile.el (compilation-display-error): New command.
9944 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9945 C-o. (Bug#13992)
9946
2aa2157b
PE
99472013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9948
9949 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9950
e477dbfa
JD
99512013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9952
9953 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9954
64ab82d1
MA
99552013-03-18 Michael Albinus <michael.albinus@gmx.de>
9956
9957 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9958
9959 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9960 * net/tramp-gvfs.el (top):
9961 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9962 (tramp-handle-shell-command): Use it.
9963 (tramp-dissect-file-name): Raise an error when hostname is a
9964 method name, and neither method nor user is specified.
9965
9966 * net/trampver.el: Update release number.
9967
33cef733
LL
99682013-03-18 Leo Liu <sdl.web@gmail.com>
9969
9970 Make sure eldoc can be turned off properly.
9971 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9972 eldoc-mode.
9973 (eldoc-display-message-p): Revert last change.
9974 (eldoc-display-message-no-interference-p)
9975 (eldoc-print-current-symbol-info): Tweak.
9976
2167b7b2
TH
99772013-03-18 Tassilo Horn <tsdh@gnu.org>
9978
9979 * doc-view.el (doc-view-new-window-function): Check the new window
9980 overlay's display property instead the char property of the
9981 buffer's first char. Use `with-selected-window' instead of
9982 `save-window-excursion' with `select-window'.
9983 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9984 display property instead the char property of the buffer's first char.
2167b7b2 9985
982efbcd
PE
99862013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9987
9988 Automate the build of ja-dic.el (Bug#13984).
9989 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9990 from the input, rather than assume that it's been done for us by the
9991 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9992 the current date into a ja-dic.el comment, as that complicates
9993 regression testing.
9994
2fcc7665
SM
99952013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * whitespace.el: Fix double evaluation.
9998 (whitespace-space, whitespace-hspace, whitespace-tab)
9999 (whitespace-newline, whitespace-trailing, whitespace-line)
10000 (whitespace-space-before-tab, whitespace-indentation)
10001 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10002 obsolete defvars.
10003 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10004 (whitespace-color-on): Use a single font-lock-add-keywords call.
10005 Fix double-evaluation of face variables.
10006
67c0a6e6
MA
100072013-03-17 Michael Albinus <michael.albinus@gmx.de>
10008
2fcc7665
SM
10009 * net/tramp-adb.el (tramp-adb-parse-device-names):
10010 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10011 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10012
69489f1d
LL
100132013-03-17 Leo Liu <sdl.web@gmail.com>
10014
10015 Extend eldoc to display info in the mode-line. (Bug#13978)
10016 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10017 (eldoc-mode-line-string): New variable.
10018 (eldoc-minibuffer-message): New function.
10019 (eldoc-message-function): New variable.
10020 (eldoc-message): Use it.
10021 (eldoc-display-message-p)
2fcc7665
SM
10022 (eldoc-display-message-no-interference-p):
10023 Support eldoc-post-insert-mode.
69489f1d
LL
10024
10025 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10026 (eval-expression): Run it.
10027
9c44569e
RW
100282013-03-17 Roland Winkler <winkler@gnu.org>
10029
10030 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10031 strings in the list of return values.
10032
327f1f6f
JB
100332013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10034
10035 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10036 radix before checking for HMS forms.
10037
67ed8fcd
LL
100382013-03-16 Leo Liu <sdl.web@gmail.com>
10039
10040 * progmodes/scheme.el: Add indentation and font-locking for λ.
10041 (Bug#13975)
10042
78be8b64 100432013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10044
10045 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10046 token before point (bug#13942).
10047
78be8b64 100482013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10049
95b43468 10050 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10051
98e775e6
EZ
100522013-03-16 Eli Zaretskii <eliz@gnu.org>
10053
10054 * startup.el (command-line-normalize-file-name): Fix handling of
10055 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10056 <xfq.free@gmail.com> in
10057 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10058
2edd6029
MA
100592013-03-15 Michael Albinus <michael.albinus@gmx.de>
10060
10061 Sync with Tramp 2.2.7.
10062
10063 * net/trampver.el: Update release number.
10064
d35f5864
TH
100652013-03-14 Tassilo Horn <tsdh@gnu.org>
10066
e903c210 10067 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10068 (doc-view-insert-image): Don't modify overlay associated to
10069 non-live windows, and implement horizontal centering of image in
10070 case it's smaller than the window.
10071 (doc-view-new-window-function): Force redisplay of new windows on
10072 doc-view buffers.
d35f5864 10073
1c4a85ed
KF
100742013-03-13 Karl Fogel <kfogel@red-bean.com>
10075
10076 * saveplace.el (save-place-alist-to-file): Don't sort
10077 `save-place-alist', just pretty-print it (bug#13882).
10078
85b66a21
MA
100792013-03-13 Michael Albinus <michael.albinus@gmx.de>
10080
a020afb9
JB
10081 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10082 Check whether `default-file-name-coding-system' is bound.
10083 It isn't in XEmacs.
85b66a21 10084
175600da
SM
100852013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10086
e7f7cb1a
SM
10087 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10088 backquotes for `obsolete' (bug#13929).
10089
175600da
SM
10090 * international/mule.el (find-auto-coding): Include file name in
10091 obsolescence warning (bug#13922).
10092
ca68a22e
TZ
100932013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10094
10095 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10096 for CFEngine 3-specific indentation.
10097 (cfengine3-indent-line): Use it. Fix up category regex.
10098 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10099
940e5099
SM
101002013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10101
10102 * type-break.el (type-break-file-name):
10103 * textmodes/remember.el (remember-data-file):
10104 * strokes.el (strokes-file):
10105 * shadowfile.el (shadow-initialize):
10106 * saveplace.el (save-place-file):
10107 * ps-bdf.el (bdf-cache-file):
10108 * progmodes/idlwave.el (idlwave-config-directory):
10109 * net/quickurl.el (quickurl-url-file):
10110 * international/kkc.el (kkc-init-file-name):
10111 * ido.el (ido-save-directory-list-file):
10112 * emulation/viper.el (viper-custom-file-name):
10113 * emulation/vip.el (vip-startup-file):
10114 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10115 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10116
cc725808
PE
101172013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10118
10119 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10120 * language/thai-word.el: Switch to UTF-8.
10121
a020afb9 10122See ChangeLog.16 for earlier changes.
e3d51b27
MR
10123
10124;; Local Variables:
10125;; coding: utf-8
e3d51b27
MR
10126;; End:
10127
ab422c4d 10128 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10129
10130 This file is part of GNU Emacs.
10131
10132 GNU Emacs is free software: you can redistribute it and/or modify
10133 it under the terms of the GNU General Public License as published by
10134 the Free Software Foundation, either version 3 of the License, or
10135 (at your option) any later version.
10136
10137 GNU Emacs is distributed in the hope that it will be useful,
10138 but WITHOUT ANY WARRANTY; without even the implied warranty of
10139 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10140 GNU General Public License for more details.
10141
10142 You should have received a copy of the GNU General Public License
10143 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.